@guardian/feast-multiplatform-library 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/feast-multiplatform-library-library.js +1480 -2426
- package/kotlin/feast-multiplatform-library-library.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +22 -22
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +219 -219
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,29 +13,29 @@
|
|
|
13
13
|
var Pair = kotlin_kotlin.$_$.m9;
|
|
14
14
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.z3;
|
|
15
15
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
|
|
16
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
17
|
+
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
18
|
+
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
19
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
20
|
+
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.c;
|
|
21
|
+
var lazy = kotlin_kotlin.$_$.ga;
|
|
16
22
|
var initMetadataForCompanion = kotlin_kotlin.$_$.s6;
|
|
17
23
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
18
|
-
var
|
|
24
|
+
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
19
25
|
var THROW_CCE = kotlin_kotlin.$_$.o9;
|
|
20
26
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
|
|
21
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
22
27
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
23
28
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
24
|
-
var VOID = kotlin_kotlin.$_$.b;
|
|
25
29
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
|
|
26
30
|
var objectCreate = kotlin_kotlin.$_$.m7;
|
|
27
|
-
var getNumberHashCode = kotlin_kotlin.$_$.n6;
|
|
28
|
-
var equals = kotlin_kotlin.$_$.l6;
|
|
29
|
-
var initMetadataForClass = kotlin_kotlin.$_$.r6;
|
|
30
|
-
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
31
|
-
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
32
31
|
var toString = kotlin_kotlin.$_$.ka;
|
|
33
32
|
var getStringHashCode = kotlin_kotlin.$_$.p6;
|
|
34
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.m6;
|
|
35
|
-
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
36
|
-
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.c;
|
|
37
|
-
var lazy = kotlin_kotlin.$_$.ga;
|
|
38
33
|
var hashCode = kotlin_kotlin.$_$.q6;
|
|
34
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.m6;
|
|
35
|
+
var equals = kotlin_kotlin.$_$.l6;
|
|
36
|
+
var initMetadataForClass = kotlin_kotlin.$_$.r6;
|
|
37
|
+
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
38
|
+
var getNumberHashCode = kotlin_kotlin.$_$.n6;
|
|
39
39
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
40
40
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
|
|
41
41
|
var substring = kotlin_kotlin.$_$.p8;
|
|
@@ -65,46 +65,36 @@
|
|
|
65
65
|
initMetadataForObject(Metric, 'Metric');
|
|
66
66
|
initMetadataForCompanion(Companion);
|
|
67
67
|
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
68
|
-
initMetadataForClass(
|
|
69
|
-
initMetadataForCompanion(Companion_0);
|
|
68
|
+
initMetadataForClass(RecipeV3, 'RecipeV3', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
70
69
|
initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
71
|
-
initMetadataForClass(
|
|
72
|
-
initMetadataForCompanion(Companion_1);
|
|
70
|
+
initMetadataForClass(CommerceCta, 'CommerceCta', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
|
|
73
71
|
initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
74
|
-
initMetadataForClass(
|
|
72
|
+
initMetadataForClass(Image, 'Image', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
|
|
73
|
+
initMetadataForCompanion(Companion_0);
|
|
75
74
|
initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
76
|
-
initMetadataForClass(
|
|
77
|
-
initMetadataForCompanion(
|
|
75
|
+
initMetadataForClass(IngredientsList, 'IngredientsList', IngredientsList, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
|
|
76
|
+
initMetadataForCompanion(Companion_1);
|
|
78
77
|
initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
79
|
-
initMetadataForClass(
|
|
80
|
-
initMetadataForCompanion(
|
|
78
|
+
initMetadataForClass(IngredientItem, 'IngredientItem', IngredientItem, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_3});
|
|
79
|
+
initMetadataForCompanion(Companion_2);
|
|
81
80
|
initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
82
|
-
initMetadataForClass(
|
|
81
|
+
initMetadataForClass(Range, 'Range', Range, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_4});
|
|
82
|
+
initMetadataForCompanion(Companion_3);
|
|
83
83
|
initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
84
|
-
initMetadataForClass(
|
|
85
|
-
initMetadataForCompanion(Companion_4);
|
|
84
|
+
initMetadataForClass(Instruction, 'Instruction', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_5});
|
|
86
85
|
initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
87
|
-
initMetadataForClass(
|
|
88
|
-
initMetadataForCompanion(
|
|
86
|
+
initMetadataForClass(Serves, 'Serves', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
|
|
87
|
+
initMetadataForCompanion(Companion_4);
|
|
89
88
|
initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
90
|
-
initMetadataForClass(
|
|
91
|
-
initMetadataForCompanion(Companion_6);
|
|
92
|
-
initMetadataForObject($serializer_8, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
93
|
-
initMetadataForClass(IngredientsTemplateElement, 'IngredientsTemplateElement', IngredientsTemplateElement, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
|
|
94
|
-
initMetadataForCompanion(Companion_7);
|
|
95
|
-
initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
96
|
-
initMetadataForClass(IngredientsTemplateIngredientsList, 'IngredientsTemplateIngredientsList', IngredientsTemplateIngredientsList, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
|
|
97
|
-
initMetadataForCompanion(Companion_8);
|
|
98
|
-
initMetadataForObject($serializer_10, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
99
|
-
initMetadataForClass(InstructionsTemplateElement, 'InstructionsTemplateElement', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
89
|
+
initMetadataForClass(Timing, 'Timing', Timing, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
|
|
100
90
|
initMetadataForInterface(TemplateElement, 'TemplateElement');
|
|
101
91
|
initMetadataForClass(TemplateConst, 'TemplateConst', VOID, VOID, [TemplateElement]);
|
|
102
|
-
initMetadataForCompanion(
|
|
103
|
-
initMetadataForObject($
|
|
104
|
-
initMetadataForClass(QuantityPlaceholder, 'QuantityPlaceholder', VOID, VOID, [TemplateElement], VOID, VOID, {0: $
|
|
105
|
-
initMetadataForCompanion(
|
|
106
|
-
initMetadataForObject($
|
|
107
|
-
initMetadataForClass(OvenTemperaturePlaceholder, 'OvenTemperaturePlaceholder', OvenTemperaturePlaceholder, VOID, [TemplateElement], VOID, VOID, {0: $
|
|
92
|
+
initMetadataForCompanion(Companion_5);
|
|
93
|
+
initMetadataForObject($serializer_8, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
94
|
+
initMetadataForClass(QuantityPlaceholder, 'QuantityPlaceholder', VOID, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_8});
|
|
95
|
+
initMetadataForCompanion(Companion_6);
|
|
96
|
+
initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
97
|
+
initMetadataForClass(OvenTemperaturePlaceholder, 'OvenTemperaturePlaceholder', OvenTemperaturePlaceholder, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_9});
|
|
108
98
|
initMetadataForClass(ParsedTemplate, 'ParsedTemplate');
|
|
109
99
|
//endregion
|
|
110
100
|
function Imperial() {
|
|
@@ -290,7 +280,7 @@
|
|
|
290
280
|
var _iterator__ex2g4s = tmp0_safe_receiver.h();
|
|
291
281
|
while (_iterator__ex2g4s.i()) {
|
|
292
282
|
var item = _iterator__ex2g4s.j();
|
|
293
|
-
var tmp0_safe_receiver_0 = item.
|
|
283
|
+
var tmp0_safe_receiver_0 = item.e1e_1;
|
|
294
284
|
var tmp_0;
|
|
295
285
|
if (tmp0_safe_receiver_0 == null) {
|
|
296
286
|
tmp_0 = null;
|
|
@@ -301,7 +291,7 @@
|
|
|
301
291
|
var _iterator__ex2g4s_0 = tmp0_safe_receiver_0.h();
|
|
302
292
|
while (_iterator__ex2g4s_0.i()) {
|
|
303
293
|
var item_0 = _iterator__ex2g4s_0.j();
|
|
304
|
-
var tmp0_safe_receiver_1 = item_0.
|
|
294
|
+
var tmp0_safe_receiver_1 = item_0.m1e_1;
|
|
305
295
|
var tmp_1;
|
|
306
296
|
if (tmp0_safe_receiver_1 == null) {
|
|
307
297
|
tmp_1 = null;
|
|
@@ -311,18 +301,18 @@
|
|
|
311
301
|
}
|
|
312
302
|
var tmp1_elvis_lhs = tmp_1;
|
|
313
303
|
var scaledText = tmp1_elvis_lhs == null ? item_0.n1e_1 : tmp1_elvis_lhs;
|
|
314
|
-
var tmp$ret$2 =
|
|
304
|
+
var tmp$ret$2 = item_0.p1e(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
|
|
315
305
|
destination_0.f(tmp$ret$2);
|
|
316
306
|
}
|
|
317
307
|
tmp_0 = destination_0;
|
|
318
308
|
}
|
|
319
|
-
var tmp$ret$5 = new
|
|
309
|
+
var tmp$ret$5 = new IngredientsList(tmp_0, item.f1e_1);
|
|
320
310
|
destination.f(tmp$ret$5);
|
|
321
311
|
}
|
|
322
312
|
tmp = destination;
|
|
323
313
|
}
|
|
324
314
|
var scaledIngredients = tmp;
|
|
325
|
-
var tmp1_safe_receiver = recipe.
|
|
315
|
+
var tmp1_safe_receiver = recipe.u1d_1;
|
|
326
316
|
var tmp_2;
|
|
327
317
|
if (tmp1_safe_receiver == null) {
|
|
328
318
|
tmp_2 = null;
|
|
@@ -333,1338 +323,682 @@
|
|
|
333
323
|
var _iterator__ex2g4s_1 = tmp1_safe_receiver.h();
|
|
334
324
|
while (_iterator__ex2g4s_1.i()) {
|
|
335
325
|
var item_1 = _iterator__ex2g4s_1.j();
|
|
336
|
-
var
|
|
337
|
-
var
|
|
338
|
-
|
|
326
|
+
var tmp0_safe_receiver_2 = item_1.r1e_1;
|
|
327
|
+
var tmp_3;
|
|
328
|
+
if (tmp0_safe_receiver_2 == null) {
|
|
329
|
+
tmp_3 = null;
|
|
330
|
+
} else {
|
|
331
|
+
// Inline function 'kotlin.let' call
|
|
332
|
+
tmp_3 = renderTemplate(parseTemplate(tmp0_safe_receiver_2), factor);
|
|
333
|
+
}
|
|
334
|
+
var description = tmp_3;
|
|
335
|
+
var tmp$ret$10 = item_1.u1e(description == null ? item_1.q1e_1 : description);
|
|
336
|
+
destination_1.f(tmp$ret$10);
|
|
339
337
|
}
|
|
340
338
|
tmp_2 = destination_1;
|
|
341
339
|
}
|
|
342
340
|
var scaledInstructions = tmp_2;
|
|
343
|
-
return
|
|
341
|
+
return recipe.v1e(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
|
|
342
|
+
}
|
|
343
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn() {
|
|
344
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
345
|
+
}
|
|
346
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_0() {
|
|
347
|
+
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
348
|
+
}
|
|
349
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_1() {
|
|
350
|
+
return new ArrayListSerializer($serializer_getInstance_0());
|
|
351
|
+
}
|
|
352
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_2() {
|
|
353
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
354
|
+
}
|
|
355
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_3() {
|
|
356
|
+
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
357
|
+
}
|
|
358
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_4() {
|
|
359
|
+
return new ArrayListSerializer($serializer_getInstance_2());
|
|
360
|
+
}
|
|
361
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_5() {
|
|
362
|
+
return new ArrayListSerializer($serializer_getInstance_5());
|
|
363
|
+
}
|
|
364
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_6() {
|
|
365
|
+
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
366
|
+
}
|
|
367
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_7() {
|
|
368
|
+
return new ArrayListSerializer($serializer_getInstance_6());
|
|
369
|
+
}
|
|
370
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_8() {
|
|
371
|
+
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
372
|
+
}
|
|
373
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_9() {
|
|
374
|
+
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
375
|
+
}
|
|
376
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_10() {
|
|
377
|
+
return new ArrayListSerializer($serializer_getInstance_7());
|
|
378
|
+
}
|
|
379
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11() {
|
|
380
|
+
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
344
381
|
}
|
|
345
382
|
function Companion() {
|
|
383
|
+
Companion_instance = this;
|
|
384
|
+
var tmp = this;
|
|
385
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
386
|
+
var tmp_1 = lazy(tmp_0, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn);
|
|
387
|
+
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
388
|
+
var tmp_3 = lazy(tmp_2, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_0);
|
|
389
|
+
var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
390
|
+
var tmp_5 = lazy(tmp_4, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_1);
|
|
391
|
+
var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
392
|
+
var tmp_7 = lazy(tmp_6, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_2);
|
|
393
|
+
var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
394
|
+
var tmp_9 = lazy(tmp_8, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_3);
|
|
395
|
+
var tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
396
|
+
var tmp_11 = lazy(tmp_10, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_4);
|
|
397
|
+
var tmp_12 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
398
|
+
var tmp_13 = lazy(tmp_12, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_5);
|
|
399
|
+
var tmp_14 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
400
|
+
var tmp_15 = lazy(tmp_14, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_6);
|
|
401
|
+
var tmp_16 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
402
|
+
var tmp_17 = lazy(tmp_16, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_7);
|
|
403
|
+
var tmp_18 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
404
|
+
var tmp_19 = lazy(tmp_18, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_8);
|
|
405
|
+
var tmp_20 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
406
|
+
var tmp_21 = lazy(tmp_20, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_9);
|
|
407
|
+
var tmp_22 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
408
|
+
var tmp_23 = lazy(tmp_22, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_10);
|
|
409
|
+
var tmp_24 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
410
|
+
// Inline function 'kotlin.arrayOf' call
|
|
411
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
412
|
+
// 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];
|
|
346
414
|
}
|
|
347
415
|
var Companion_instance;
|
|
348
416
|
function Companion_getInstance() {
|
|
417
|
+
if (Companion_instance == null)
|
|
418
|
+
new Companion();
|
|
349
419
|
return Companion_instance;
|
|
350
420
|
}
|
|
351
421
|
function $serializer() {
|
|
352
422
|
$serializer_instance = this;
|
|
353
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.
|
|
354
|
-
tmp0_serialDesc.ws('
|
|
355
|
-
tmp0_serialDesc.ws('
|
|
356
|
-
|
|
423
|
+
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;
|
|
357
448
|
}
|
|
358
|
-
protoOf($serializer).
|
|
359
|
-
var tmp0_desc = this.
|
|
449
|
+
protoOf($serializer).y1e = function (encoder, value) {
|
|
450
|
+
var tmp0_desc = this.x1e_1;
|
|
360
451
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
361
|
-
|
|
362
|
-
|
|
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);
|
|
455
|
+
}
|
|
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);
|
|
458
|
+
}
|
|
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);
|
|
461
|
+
}
|
|
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);
|
|
464
|
+
}
|
|
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);
|
|
467
|
+
}
|
|
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);
|
|
470
|
+
}
|
|
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);
|
|
473
|
+
}
|
|
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);
|
|
476
|
+
}
|
|
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);
|
|
363
479
|
}
|
|
364
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
365
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
482
|
+
}
|
|
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);
|
|
485
|
+
}
|
|
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);
|
|
489
|
+
}
|
|
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);
|
|
492
|
+
}
|
|
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);
|
|
495
|
+
}
|
|
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);
|
|
498
|
+
}
|
|
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);
|
|
501
|
+
}
|
|
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);
|
|
504
|
+
}
|
|
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);
|
|
507
|
+
}
|
|
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);
|
|
510
|
+
}
|
|
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);
|
|
513
|
+
}
|
|
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);
|
|
516
|
+
}
|
|
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);
|
|
366
519
|
}
|
|
367
520
|
tmp1_output.ol(tmp0_desc);
|
|
368
521
|
};
|
|
369
522
|
protoOf($serializer).ri = function (encoder, value) {
|
|
370
|
-
return this.
|
|
523
|
+
return this.y1e(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
|
|
371
524
|
};
|
|
372
525
|
protoOf($serializer).si = function (decoder) {
|
|
373
|
-
var tmp0_desc = this.
|
|
526
|
+
var tmp0_desc = this.x1e_1;
|
|
374
527
|
var tmp1_flag = true;
|
|
375
528
|
var tmp2_index = 0;
|
|
376
529
|
var tmp3_bitMask0 = 0;
|
|
377
530
|
var tmp4_local0 = null;
|
|
378
531
|
var tmp5_local1 = null;
|
|
379
|
-
var
|
|
380
|
-
|
|
381
|
-
|
|
532
|
+
var tmp6_local2 = null;
|
|
533
|
+
var tmp7_local3 = null;
|
|
534
|
+
var tmp8_local4 = null;
|
|
535
|
+
var tmp9_local5 = null;
|
|
536
|
+
var tmp10_local6 = null;
|
|
537
|
+
var tmp11_local7 = null;
|
|
538
|
+
var tmp12_local8 = null;
|
|
539
|
+
var tmp13_local9 = null;
|
|
540
|
+
var tmp14_local10 = null;
|
|
541
|
+
var tmp15_local11 = null;
|
|
542
|
+
var tmp16_local12 = null;
|
|
543
|
+
var tmp17_local13 = null;
|
|
544
|
+
var tmp18_local14 = null;
|
|
545
|
+
var tmp19_local15 = null;
|
|
546
|
+
var tmp20_local16 = null;
|
|
547
|
+
var tmp21_local17 = null;
|
|
548
|
+
var tmp22_local18 = null;
|
|
549
|
+
var tmp23_local19 = null;
|
|
550
|
+
var tmp24_local20 = null;
|
|
551
|
+
var tmp25_local21 = null;
|
|
552
|
+
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);
|
|
382
557
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
383
|
-
tmp5_local1 =
|
|
558
|
+
tmp5_local1 = tmp27_input.bm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
|
|
384
559
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
560
|
+
tmp6_local2 = tmp27_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
561
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
562
|
+
tmp7_local3 = tmp27_input.bm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
|
|
563
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
564
|
+
tmp8_local4 = tmp27_input.bm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
|
|
565
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
566
|
+
tmp9_local5 = tmp27_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
567
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
568
|
+
tmp10_local6 = tmp27_input.bm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
|
|
569
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
570
|
+
tmp11_local7 = tmp27_input.bm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
|
|
571
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
572
|
+
tmp12_local8 = tmp27_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
573
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
574
|
+
tmp13_local9 = tmp27_input.bm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
575
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
576
|
+
tmp14_local10 = tmp27_input.bm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
|
|
577
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
578
|
+
tmp15_local11 = tmp27_input.xl(tmp0_desc, 11);
|
|
579
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
580
|
+
tmp16_local12 = tmp27_input.bm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
|
|
581
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
582
|
+
tmp17_local13 = tmp27_input.bm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
|
|
583
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
584
|
+
tmp18_local14 = tmp27_input.bm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
585
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
586
|
+
tmp19_local15 = tmp27_input.bm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
|
|
587
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
588
|
+
tmp20_local16 = tmp27_input.bm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
|
|
589
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
590
|
+
tmp21_local17 = tmp27_input.bm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
|
|
591
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
592
|
+
tmp22_local18 = tmp27_input.bm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
|
|
593
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
594
|
+
tmp23_local19 = tmp27_input.bm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
|
|
595
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
596
|
+
tmp24_local20 = tmp27_input.bm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
|
|
597
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
598
|
+
tmp25_local21 = tmp27_input.bm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
|
|
599
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
600
|
+
tmp26_local22 = tmp27_input.bm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
|
|
601
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
385
602
|
} else
|
|
386
603
|
while (tmp1_flag) {
|
|
387
|
-
tmp2_index =
|
|
604
|
+
tmp2_index = tmp27_input.em(tmp0_desc);
|
|
388
605
|
switch (tmp2_index) {
|
|
389
606
|
case -1:
|
|
390
607
|
tmp1_flag = false;
|
|
391
608
|
break;
|
|
392
609
|
case 0:
|
|
393
|
-
tmp4_local0 =
|
|
610
|
+
tmp4_local0 = tmp27_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
394
611
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
395
612
|
break;
|
|
396
613
|
case 1:
|
|
397
|
-
tmp5_local1 =
|
|
398
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
399
|
-
break;
|
|
400
|
-
default:
|
|
401
|
-
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
tmp6_input.ol(tmp0_desc);
|
|
405
|
-
return RangeClass_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
406
|
-
};
|
|
407
|
-
protoOf($serializer).qi = function () {
|
|
408
|
-
return this.t1e_1;
|
|
409
|
-
};
|
|
410
|
-
protoOf($serializer).ys = function () {
|
|
411
|
-
// Inline function 'kotlin.arrayOf' call
|
|
412
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
413
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
414
|
-
return [get_nullable(DoubleSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance())];
|
|
415
|
-
};
|
|
416
|
-
var $serializer_instance;
|
|
417
|
-
function $serializer_getInstance() {
|
|
418
|
-
if ($serializer_instance == null)
|
|
419
|
-
new $serializer();
|
|
420
|
-
return $serializer_instance;
|
|
421
|
-
}
|
|
422
|
-
function RangeClass_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
|
|
423
|
-
if (!(0 === (0 & seen0))) {
|
|
424
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance().t1e_1);
|
|
425
|
-
}
|
|
426
|
-
if (0 === (seen0 & 1))
|
|
427
|
-
$this.v1e_1 = null;
|
|
428
|
-
else
|
|
429
|
-
$this.v1e_1 = max;
|
|
430
|
-
if (0 === (seen0 & 2))
|
|
431
|
-
$this.w1e_1 = null;
|
|
432
|
-
else
|
|
433
|
-
$this.w1e_1 = min;
|
|
434
|
-
return $this;
|
|
435
|
-
}
|
|
436
|
-
function RangeClass_init_$Create$(seen0, max, min, serializationConstructorMarker) {
|
|
437
|
-
return RangeClass_init_$Init$(seen0, max, min, serializationConstructorMarker, objectCreate(protoOf(RangeClass)));
|
|
438
|
-
}
|
|
439
|
-
function RangeClass(max, min) {
|
|
440
|
-
max = max === VOID ? null : max;
|
|
441
|
-
min = min === VOID ? null : min;
|
|
442
|
-
this.v1e_1 = max;
|
|
443
|
-
this.w1e_1 = min;
|
|
444
|
-
}
|
|
445
|
-
protoOf(RangeClass).toString = function () {
|
|
446
|
-
return 'RangeClass(max=' + this.v1e_1 + ', min=' + this.w1e_1 + ')';
|
|
447
|
-
};
|
|
448
|
-
protoOf(RangeClass).hashCode = function () {
|
|
449
|
-
var result = this.v1e_1 == null ? 0 : getNumberHashCode(this.v1e_1);
|
|
450
|
-
result = imul(result, 31) + (this.w1e_1 == null ? 0 : getNumberHashCode(this.w1e_1)) | 0;
|
|
451
|
-
return result;
|
|
452
|
-
};
|
|
453
|
-
protoOf(RangeClass).equals = function (other) {
|
|
454
|
-
if (this === other)
|
|
455
|
-
return true;
|
|
456
|
-
if (!(other instanceof RangeClass))
|
|
457
|
-
return false;
|
|
458
|
-
if (!equals(this.v1e_1, other.v1e_1))
|
|
459
|
-
return false;
|
|
460
|
-
if (!equals(this.w1e_1, other.w1e_1))
|
|
461
|
-
return false;
|
|
462
|
-
return true;
|
|
463
|
-
};
|
|
464
|
-
function Companion_0() {
|
|
465
|
-
}
|
|
466
|
-
var Companion_instance_0;
|
|
467
|
-
function Companion_getInstance_0() {
|
|
468
|
-
return Companion_instance_0;
|
|
469
|
-
}
|
|
470
|
-
function $serializer_0() {
|
|
471
|
-
$serializer_instance_0 = this;
|
|
472
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsListIngredientsList', this, 8);
|
|
473
|
-
tmp0_serialDesc.ws('amount', true);
|
|
474
|
-
tmp0_serialDesc.ws('ingredientId', true);
|
|
475
|
-
tmp0_serialDesc.ws('name', true);
|
|
476
|
-
tmp0_serialDesc.ws('optional', true);
|
|
477
|
-
tmp0_serialDesc.ws('prefix', true);
|
|
478
|
-
tmp0_serialDesc.ws('suffix', true);
|
|
479
|
-
tmp0_serialDesc.ws('text', true);
|
|
480
|
-
tmp0_serialDesc.ws('unit', true);
|
|
481
|
-
this.x1e_1 = tmp0_serialDesc;
|
|
482
|
-
}
|
|
483
|
-
protoOf($serializer_0).y1e = function (encoder, value) {
|
|
484
|
-
var tmp0_desc = this.x1e_1;
|
|
485
|
-
var tmp1_output = encoder.nl(tmp0_desc);
|
|
486
|
-
if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.z1e_1 == null)) {
|
|
487
|
-
tmp1_output.fn(tmp0_desc, 0, $serializer_getInstance(), value.z1e_1);
|
|
488
|
-
}
|
|
489
|
-
if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.a1f_1 == null)) {
|
|
490
|
-
tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.a1f_1);
|
|
491
|
-
}
|
|
492
|
-
if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.b1f_1 == null)) {
|
|
493
|
-
tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.b1f_1);
|
|
494
|
-
}
|
|
495
|
-
if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.c1f_1 == null)) {
|
|
496
|
-
tmp1_output.fn(tmp0_desc, 3, BooleanSerializer_getInstance(), value.c1f_1);
|
|
497
|
-
}
|
|
498
|
-
if (tmp1_output.jn(tmp0_desc, 4) ? true : !(value.d1f_1 == null)) {
|
|
499
|
-
tmp1_output.fn(tmp0_desc, 4, StringSerializer_getInstance(), value.d1f_1);
|
|
500
|
-
}
|
|
501
|
-
if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.e1f_1 == null)) {
|
|
502
|
-
tmp1_output.fn(tmp0_desc, 5, StringSerializer_getInstance(), value.e1f_1);
|
|
503
|
-
}
|
|
504
|
-
if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.f1f_1 == null)) {
|
|
505
|
-
tmp1_output.fn(tmp0_desc, 6, StringSerializer_getInstance(), value.f1f_1);
|
|
506
|
-
}
|
|
507
|
-
if (tmp1_output.jn(tmp0_desc, 7) ? true : !(value.g1f_1 == null)) {
|
|
508
|
-
tmp1_output.fn(tmp0_desc, 7, StringSerializer_getInstance(), value.g1f_1);
|
|
509
|
-
}
|
|
510
|
-
tmp1_output.ol(tmp0_desc);
|
|
511
|
-
};
|
|
512
|
-
protoOf($serializer_0).ri = function (encoder, value) {
|
|
513
|
-
return this.y1e(encoder, value instanceof IngredientsListIngredientsList ? value : THROW_CCE());
|
|
514
|
-
};
|
|
515
|
-
protoOf($serializer_0).si = function (decoder) {
|
|
516
|
-
var tmp0_desc = this.x1e_1;
|
|
517
|
-
var tmp1_flag = true;
|
|
518
|
-
var tmp2_index = 0;
|
|
519
|
-
var tmp3_bitMask0 = 0;
|
|
520
|
-
var tmp4_local0 = null;
|
|
521
|
-
var tmp5_local1 = null;
|
|
522
|
-
var tmp6_local2 = null;
|
|
523
|
-
var tmp7_local3 = null;
|
|
524
|
-
var tmp8_local4 = null;
|
|
525
|
-
var tmp9_local5 = null;
|
|
526
|
-
var tmp10_local6 = null;
|
|
527
|
-
var tmp11_local7 = null;
|
|
528
|
-
var tmp12_input = decoder.nl(tmp0_desc);
|
|
529
|
-
if (tmp12_input.dm()) {
|
|
530
|
-
tmp4_local0 = tmp12_input.bm(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
|
|
531
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
532
|
-
tmp5_local1 = tmp12_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
533
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
534
|
-
tmp6_local2 = tmp12_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
535
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
536
|
-
tmp7_local3 = tmp12_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
537
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
538
|
-
tmp8_local4 = tmp12_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
539
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
540
|
-
tmp9_local5 = tmp12_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
541
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
542
|
-
tmp10_local6 = tmp12_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
543
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
544
|
-
tmp11_local7 = tmp12_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
545
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
546
|
-
} else
|
|
547
|
-
while (tmp1_flag) {
|
|
548
|
-
tmp2_index = tmp12_input.em(tmp0_desc);
|
|
549
|
-
switch (tmp2_index) {
|
|
550
|
-
case -1:
|
|
551
|
-
tmp1_flag = false;
|
|
552
|
-
break;
|
|
553
|
-
case 0:
|
|
554
|
-
tmp4_local0 = tmp12_input.bm(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
|
|
555
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
556
|
-
break;
|
|
557
|
-
case 1:
|
|
558
|
-
tmp5_local1 = tmp12_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
559
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
560
|
-
break;
|
|
561
|
-
case 2:
|
|
562
|
-
tmp6_local2 = tmp12_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
563
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
564
|
-
break;
|
|
565
|
-
case 3:
|
|
566
|
-
tmp7_local3 = tmp12_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
567
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
568
|
-
break;
|
|
569
|
-
case 4:
|
|
570
|
-
tmp8_local4 = tmp12_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
571
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
572
|
-
break;
|
|
573
|
-
case 5:
|
|
574
|
-
tmp9_local5 = tmp12_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
575
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
576
|
-
break;
|
|
577
|
-
case 6:
|
|
578
|
-
tmp10_local6 = tmp12_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
579
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
580
|
-
break;
|
|
581
|
-
case 7:
|
|
582
|
-
tmp11_local7 = tmp12_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
583
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
584
|
-
break;
|
|
585
|
-
default:
|
|
586
|
-
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
tmp12_input.ol(tmp0_desc);
|
|
590
|
-
return IngredientsListIngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
591
|
-
};
|
|
592
|
-
protoOf($serializer_0).qi = function () {
|
|
593
|
-
return this.x1e_1;
|
|
594
|
-
};
|
|
595
|
-
protoOf($serializer_0).ys = function () {
|
|
596
|
-
// Inline function 'kotlin.arrayOf' call
|
|
597
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
598
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
599
|
-
return [get_nullable($serializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
600
|
-
};
|
|
601
|
-
var $serializer_instance_0;
|
|
602
|
-
function $serializer_getInstance_0() {
|
|
603
|
-
if ($serializer_instance_0 == null)
|
|
604
|
-
new $serializer_0();
|
|
605
|
-
return $serializer_instance_0;
|
|
606
|
-
}
|
|
607
|
-
function IngredientsListIngredientsList_init_$Init$(seen0, amount, ingredientID, name, optional, prefix, suffix, text, unit, serializationConstructorMarker, $this) {
|
|
608
|
-
if (!(0 === (0 & seen0))) {
|
|
609
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_0().x1e_1);
|
|
610
|
-
}
|
|
611
|
-
if (0 === (seen0 & 1))
|
|
612
|
-
$this.z1e_1 = null;
|
|
613
|
-
else
|
|
614
|
-
$this.z1e_1 = amount;
|
|
615
|
-
if (0 === (seen0 & 2))
|
|
616
|
-
$this.a1f_1 = null;
|
|
617
|
-
else
|
|
618
|
-
$this.a1f_1 = ingredientID;
|
|
619
|
-
if (0 === (seen0 & 4))
|
|
620
|
-
$this.b1f_1 = null;
|
|
621
|
-
else
|
|
622
|
-
$this.b1f_1 = name;
|
|
623
|
-
if (0 === (seen0 & 8))
|
|
624
|
-
$this.c1f_1 = null;
|
|
625
|
-
else
|
|
626
|
-
$this.c1f_1 = optional;
|
|
627
|
-
if (0 === (seen0 & 16))
|
|
628
|
-
$this.d1f_1 = null;
|
|
629
|
-
else
|
|
630
|
-
$this.d1f_1 = prefix;
|
|
631
|
-
if (0 === (seen0 & 32))
|
|
632
|
-
$this.e1f_1 = null;
|
|
633
|
-
else
|
|
634
|
-
$this.e1f_1 = suffix;
|
|
635
|
-
if (0 === (seen0 & 64))
|
|
636
|
-
$this.f1f_1 = null;
|
|
637
|
-
else
|
|
638
|
-
$this.f1f_1 = text;
|
|
639
|
-
if (0 === (seen0 & 128))
|
|
640
|
-
$this.g1f_1 = null;
|
|
641
|
-
else
|
|
642
|
-
$this.g1f_1 = unit;
|
|
643
|
-
return $this;
|
|
644
|
-
}
|
|
645
|
-
function IngredientsListIngredientsList_init_$Create$(seen0, amount, ingredientID, name, optional, prefix, suffix, text, unit, serializationConstructorMarker) {
|
|
646
|
-
return IngredientsListIngredientsList_init_$Init$(seen0, amount, ingredientID, name, optional, prefix, suffix, text, unit, serializationConstructorMarker, objectCreate(protoOf(IngredientsListIngredientsList)));
|
|
647
|
-
}
|
|
648
|
-
function IngredientsListIngredientsList(amount, ingredientID, name, optional, prefix, suffix, text, unit) {
|
|
649
|
-
amount = amount === VOID ? null : amount;
|
|
650
|
-
ingredientID = ingredientID === VOID ? null : ingredientID;
|
|
651
|
-
name = name === VOID ? null : name;
|
|
652
|
-
optional = optional === VOID ? null : optional;
|
|
653
|
-
prefix = prefix === VOID ? null : prefix;
|
|
654
|
-
suffix = suffix === VOID ? null : suffix;
|
|
655
|
-
text = text === VOID ? null : text;
|
|
656
|
-
unit = unit === VOID ? null : unit;
|
|
657
|
-
this.z1e_1 = amount;
|
|
658
|
-
this.a1f_1 = ingredientID;
|
|
659
|
-
this.b1f_1 = name;
|
|
660
|
-
this.c1f_1 = optional;
|
|
661
|
-
this.d1f_1 = prefix;
|
|
662
|
-
this.e1f_1 = suffix;
|
|
663
|
-
this.f1f_1 = text;
|
|
664
|
-
this.g1f_1 = unit;
|
|
665
|
-
}
|
|
666
|
-
protoOf(IngredientsListIngredientsList).toString = function () {
|
|
667
|
-
return 'IngredientsListIngredientsList(amount=' + toString(this.z1e_1) + ', ingredientID=' + this.a1f_1 + ', name=' + this.b1f_1 + ', optional=' + this.c1f_1 + ', prefix=' + this.d1f_1 + ', suffix=' + this.e1f_1 + ', text=' + this.f1f_1 + ', unit=' + this.g1f_1 + ')';
|
|
668
|
-
};
|
|
669
|
-
protoOf(IngredientsListIngredientsList).hashCode = function () {
|
|
670
|
-
var result = this.z1e_1 == null ? 0 : this.z1e_1.hashCode();
|
|
671
|
-
result = imul(result, 31) + (this.a1f_1 == null ? 0 : getStringHashCode(this.a1f_1)) | 0;
|
|
672
|
-
result = imul(result, 31) + (this.b1f_1 == null ? 0 : getStringHashCode(this.b1f_1)) | 0;
|
|
673
|
-
result = imul(result, 31) + (this.c1f_1 == null ? 0 : getBooleanHashCode(this.c1f_1)) | 0;
|
|
674
|
-
result = imul(result, 31) + (this.d1f_1 == null ? 0 : getStringHashCode(this.d1f_1)) | 0;
|
|
675
|
-
result = imul(result, 31) + (this.e1f_1 == null ? 0 : getStringHashCode(this.e1f_1)) | 0;
|
|
676
|
-
result = imul(result, 31) + (this.f1f_1 == null ? 0 : getStringHashCode(this.f1f_1)) | 0;
|
|
677
|
-
result = imul(result, 31) + (this.g1f_1 == null ? 0 : getStringHashCode(this.g1f_1)) | 0;
|
|
678
|
-
return result;
|
|
679
|
-
};
|
|
680
|
-
protoOf(IngredientsListIngredientsList).equals = function (other) {
|
|
681
|
-
if (this === other)
|
|
682
|
-
return true;
|
|
683
|
-
if (!(other instanceof IngredientsListIngredientsList))
|
|
684
|
-
return false;
|
|
685
|
-
if (!equals(this.z1e_1, other.z1e_1))
|
|
686
|
-
return false;
|
|
687
|
-
if (!(this.a1f_1 == other.a1f_1))
|
|
688
|
-
return false;
|
|
689
|
-
if (!(this.b1f_1 == other.b1f_1))
|
|
690
|
-
return false;
|
|
691
|
-
if (!(this.c1f_1 == other.c1f_1))
|
|
692
|
-
return false;
|
|
693
|
-
if (!(this.d1f_1 == other.d1f_1))
|
|
694
|
-
return false;
|
|
695
|
-
if (!(this.e1f_1 == other.e1f_1))
|
|
696
|
-
return false;
|
|
697
|
-
if (!(this.f1f_1 == other.f1f_1))
|
|
698
|
-
return false;
|
|
699
|
-
if (!(this.g1f_1 == other.g1f_1))
|
|
700
|
-
return false;
|
|
701
|
-
return true;
|
|
702
|
-
};
|
|
703
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao() {
|
|
704
|
-
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
705
|
-
}
|
|
706
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_0() {
|
|
707
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
708
|
-
}
|
|
709
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_1() {
|
|
710
|
-
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
711
|
-
}
|
|
712
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_2() {
|
|
713
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
714
|
-
}
|
|
715
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_3() {
|
|
716
|
-
return new ArrayListSerializer($serializer_getInstance_3());
|
|
717
|
-
}
|
|
718
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_4() {
|
|
719
|
-
return new ArrayListSerializer($serializer_getInstance_4());
|
|
720
|
-
}
|
|
721
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_5() {
|
|
722
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
723
|
-
}
|
|
724
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_6() {
|
|
725
|
-
return new ArrayListSerializer($serializer_getInstance_5());
|
|
726
|
-
}
|
|
727
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_7() {
|
|
728
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
729
|
-
}
|
|
730
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_8() {
|
|
731
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
732
|
-
}
|
|
733
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_9() {
|
|
734
|
-
return new ArrayListSerializer($serializer_getInstance_6());
|
|
735
|
-
}
|
|
736
|
-
function RecipeV2$Companion$$childSerializers$_anonymous__obtsao_10() {
|
|
737
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
738
|
-
}
|
|
739
|
-
function Companion_1() {
|
|
740
|
-
Companion_instance_1 = this;
|
|
741
|
-
var tmp = this;
|
|
742
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
743
|
-
var tmp_1 = lazy(tmp_0, RecipeV2$Companion$$childSerializers$_anonymous__obtsao);
|
|
744
|
-
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
745
|
-
var tmp_3 = lazy(tmp_2, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_0);
|
|
746
|
-
var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
747
|
-
var tmp_5 = lazy(tmp_4, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_1);
|
|
748
|
-
var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
749
|
-
var tmp_7 = lazy(tmp_6, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_2);
|
|
750
|
-
var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
751
|
-
var tmp_9 = lazy(tmp_8, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_3);
|
|
752
|
-
var tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
753
|
-
var tmp_11 = lazy(tmp_10, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_4);
|
|
754
|
-
var tmp_12 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
755
|
-
var tmp_13 = lazy(tmp_12, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_5);
|
|
756
|
-
var tmp_14 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
757
|
-
var tmp_15 = lazy(tmp_14, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_6);
|
|
758
|
-
var tmp_16 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
759
|
-
var tmp_17 = lazy(tmp_16, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_7);
|
|
760
|
-
var tmp_18 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
761
|
-
var tmp_19 = lazy(tmp_18, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_8);
|
|
762
|
-
var tmp_20 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
763
|
-
var tmp_21 = lazy(tmp_20, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_9);
|
|
764
|
-
var tmp_22 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
765
|
-
// Inline function 'kotlin.arrayOf' call
|
|
766
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
767
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
768
|
-
tmp.h1f_1 = [null, tmp_1, null, tmp_3, null, tmp_5, tmp_7, null, null, null, null, tmp_9, tmp_11, null, tmp_13, tmp_15, tmp_17, tmp_19, tmp_21, null, lazy(tmp_22, RecipeV2$Companion$$childSerializers$_anonymous__obtsao_10), null];
|
|
769
|
-
}
|
|
770
|
-
var Companion_instance_1;
|
|
771
|
-
function Companion_getInstance_1() {
|
|
772
|
-
if (Companion_instance_1 == null)
|
|
773
|
-
new Companion_1();
|
|
774
|
-
return Companion_instance_1;
|
|
775
|
-
}
|
|
776
|
-
function $serializer_1() {
|
|
777
|
-
$serializer_instance_1 = this;
|
|
778
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.RecipeV2', this, 22);
|
|
779
|
-
tmp0_serialDesc.ws('bookCredit', true);
|
|
780
|
-
tmp0_serialDesc.ws('byline', true);
|
|
781
|
-
tmp0_serialDesc.ws('canonicalArticle', true);
|
|
782
|
-
tmp0_serialDesc.ws('celebrationIds', true);
|
|
783
|
-
tmp0_serialDesc.ws('composerId', true);
|
|
784
|
-
tmp0_serialDesc.ws('contributors', true);
|
|
785
|
-
tmp0_serialDesc.ws('cuisineIds', true);
|
|
786
|
-
tmp0_serialDesc.ws('description', true);
|
|
787
|
-
tmp0_serialDesc.ws('difficultyLevel', true);
|
|
788
|
-
tmp0_serialDesc.ws('featuredImage', true);
|
|
789
|
-
tmp0_serialDesc.ws('id', false);
|
|
790
|
-
tmp0_serialDesc.ws('ingredients', true);
|
|
791
|
-
tmp0_serialDesc.ws('instructions', true);
|
|
792
|
-
tmp0_serialDesc.ws('isAppReady', true);
|
|
793
|
-
tmp0_serialDesc.ws('mealTypeIds', true);
|
|
794
|
-
tmp0_serialDesc.ws('serves', true);
|
|
795
|
-
tmp0_serialDesc.ws('suitableForDietIds', true);
|
|
796
|
-
tmp0_serialDesc.ws('techniquesUsedIds', true);
|
|
797
|
-
tmp0_serialDesc.ws('timings', true);
|
|
798
|
-
tmp0_serialDesc.ws('title', true);
|
|
799
|
-
tmp0_serialDesc.ws('utensilsAndApplianceIds', true);
|
|
800
|
-
tmp0_serialDesc.ws('webPublicationDate', true);
|
|
801
|
-
this.i1f_1 = tmp0_serialDesc;
|
|
802
|
-
}
|
|
803
|
-
protoOf($serializer_1).j1f = function (encoder, value) {
|
|
804
|
-
var tmp0_desc = this.i1f_1;
|
|
805
|
-
var tmp1_output = encoder.nl(tmp0_desc);
|
|
806
|
-
var tmp2_cached = Companion_getInstance_1().h1f_1;
|
|
807
|
-
if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.k1f_1 == null)) {
|
|
808
|
-
tmp1_output.fn(tmp0_desc, 0, StringSerializer_getInstance(), value.k1f_1);
|
|
809
|
-
}
|
|
810
|
-
if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.l1f_1 == null)) {
|
|
811
|
-
tmp1_output.fn(tmp0_desc, 1, tmp2_cached[1].t1(), value.l1f_1);
|
|
812
|
-
}
|
|
813
|
-
if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.m1f_1 == null)) {
|
|
814
|
-
tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.m1f_1);
|
|
815
|
-
}
|
|
816
|
-
if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.n1f_1 == null)) {
|
|
817
|
-
tmp1_output.fn(tmp0_desc, 3, tmp2_cached[3].t1(), value.n1f_1);
|
|
818
|
-
}
|
|
819
|
-
if (tmp1_output.jn(tmp0_desc, 4) ? true : !(value.o1f_1 == null)) {
|
|
820
|
-
tmp1_output.fn(tmp0_desc, 4, StringSerializer_getInstance(), value.o1f_1);
|
|
821
|
-
}
|
|
822
|
-
if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.p1f_1 == null)) {
|
|
823
|
-
tmp1_output.fn(tmp0_desc, 5, tmp2_cached[5].t1(), value.p1f_1);
|
|
824
|
-
}
|
|
825
|
-
if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.q1f_1 == null)) {
|
|
826
|
-
tmp1_output.fn(tmp0_desc, 6, tmp2_cached[6].t1(), value.q1f_1);
|
|
827
|
-
}
|
|
828
|
-
if (tmp1_output.jn(tmp0_desc, 7) ? true : !(value.r1f_1 == null)) {
|
|
829
|
-
tmp1_output.fn(tmp0_desc, 7, StringSerializer_getInstance(), value.r1f_1);
|
|
830
|
-
}
|
|
831
|
-
if (tmp1_output.jn(tmp0_desc, 8) ? true : !(value.s1f_1 == null)) {
|
|
832
|
-
tmp1_output.fn(tmp0_desc, 8, StringSerializer_getInstance(), value.s1f_1);
|
|
833
|
-
}
|
|
834
|
-
if (tmp1_output.jn(tmp0_desc, 9) ? true : !(value.t1f_1 == null)) {
|
|
835
|
-
tmp1_output.fn(tmp0_desc, 9, $serializer_getInstance_2(), value.t1f_1);
|
|
836
|
-
}
|
|
837
|
-
tmp1_output.bn(tmp0_desc, 10, value.u1f_1);
|
|
838
|
-
if (tmp1_output.jn(tmp0_desc, 11) ? true : !(value.v1f_1 == null)) {
|
|
839
|
-
tmp1_output.fn(tmp0_desc, 11, tmp2_cached[11].t1(), value.v1f_1);
|
|
840
|
-
}
|
|
841
|
-
if (tmp1_output.jn(tmp0_desc, 12) ? true : !(value.w1f_1 == null)) {
|
|
842
|
-
tmp1_output.fn(tmp0_desc, 12, tmp2_cached[12].t1(), value.w1f_1);
|
|
843
|
-
}
|
|
844
|
-
if (tmp1_output.jn(tmp0_desc, 13) ? true : !(value.x1f_1 == null)) {
|
|
845
|
-
tmp1_output.fn(tmp0_desc, 13, BooleanSerializer_getInstance(), value.x1f_1);
|
|
846
|
-
}
|
|
847
|
-
if (tmp1_output.jn(tmp0_desc, 14) ? true : !(value.y1f_1 == null)) {
|
|
848
|
-
tmp1_output.fn(tmp0_desc, 14, tmp2_cached[14].t1(), value.y1f_1);
|
|
849
|
-
}
|
|
850
|
-
if (tmp1_output.jn(tmp0_desc, 15) ? true : !(value.z1f_1 == null)) {
|
|
851
|
-
tmp1_output.fn(tmp0_desc, 15, tmp2_cached[15].t1(), value.z1f_1);
|
|
852
|
-
}
|
|
853
|
-
if (tmp1_output.jn(tmp0_desc, 16) ? true : !(value.a1g_1 == null)) {
|
|
854
|
-
tmp1_output.fn(tmp0_desc, 16, tmp2_cached[16].t1(), value.a1g_1);
|
|
855
|
-
}
|
|
856
|
-
if (tmp1_output.jn(tmp0_desc, 17) ? true : !(value.b1g_1 == null)) {
|
|
857
|
-
tmp1_output.fn(tmp0_desc, 17, tmp2_cached[17].t1(), value.b1g_1);
|
|
858
|
-
}
|
|
859
|
-
if (tmp1_output.jn(tmp0_desc, 18) ? true : !(value.c1g_1 == null)) {
|
|
860
|
-
tmp1_output.fn(tmp0_desc, 18, tmp2_cached[18].t1(), value.c1g_1);
|
|
861
|
-
}
|
|
862
|
-
if (tmp1_output.jn(tmp0_desc, 19) ? true : !(value.d1g_1 == null)) {
|
|
863
|
-
tmp1_output.fn(tmp0_desc, 19, StringSerializer_getInstance(), value.d1g_1);
|
|
864
|
-
}
|
|
865
|
-
if (tmp1_output.jn(tmp0_desc, 20) ? true : !(value.e1g_1 == null)) {
|
|
866
|
-
tmp1_output.fn(tmp0_desc, 20, tmp2_cached[20].t1(), value.e1g_1);
|
|
867
|
-
}
|
|
868
|
-
if (tmp1_output.jn(tmp0_desc, 21) ? true : !(value.f1g_1 == null)) {
|
|
869
|
-
tmp1_output.fn(tmp0_desc, 21, StringSerializer_getInstance(), value.f1g_1);
|
|
870
|
-
}
|
|
871
|
-
tmp1_output.ol(tmp0_desc);
|
|
872
|
-
};
|
|
873
|
-
protoOf($serializer_1).ri = function (encoder, value) {
|
|
874
|
-
return this.j1f(encoder, value instanceof RecipeV2 ? value : THROW_CCE());
|
|
875
|
-
};
|
|
876
|
-
protoOf($serializer_1).si = function (decoder) {
|
|
877
|
-
var tmp0_desc = this.i1f_1;
|
|
878
|
-
var tmp1_flag = true;
|
|
879
|
-
var tmp2_index = 0;
|
|
880
|
-
var tmp3_bitMask0 = 0;
|
|
881
|
-
var tmp4_local0 = null;
|
|
882
|
-
var tmp5_local1 = null;
|
|
883
|
-
var tmp6_local2 = null;
|
|
884
|
-
var tmp7_local3 = null;
|
|
885
|
-
var tmp8_local4 = null;
|
|
886
|
-
var tmp9_local5 = null;
|
|
887
|
-
var tmp10_local6 = null;
|
|
888
|
-
var tmp11_local7 = null;
|
|
889
|
-
var tmp12_local8 = null;
|
|
890
|
-
var tmp13_local9 = null;
|
|
891
|
-
var tmp14_local10 = null;
|
|
892
|
-
var tmp15_local11 = null;
|
|
893
|
-
var tmp16_local12 = null;
|
|
894
|
-
var tmp17_local13 = null;
|
|
895
|
-
var tmp18_local14 = null;
|
|
896
|
-
var tmp19_local15 = null;
|
|
897
|
-
var tmp20_local16 = null;
|
|
898
|
-
var tmp21_local17 = null;
|
|
899
|
-
var tmp22_local18 = null;
|
|
900
|
-
var tmp23_local19 = null;
|
|
901
|
-
var tmp24_local20 = null;
|
|
902
|
-
var tmp25_local21 = null;
|
|
903
|
-
var tmp26_input = decoder.nl(tmp0_desc);
|
|
904
|
-
var tmp27_cached = Companion_getInstance_1().h1f_1;
|
|
905
|
-
if (tmp26_input.dm()) {
|
|
906
|
-
tmp4_local0 = tmp26_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
907
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
908
|
-
tmp5_local1 = tmp26_input.bm(tmp0_desc, 1, tmp27_cached[1].t1(), tmp5_local1);
|
|
909
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
910
|
-
tmp6_local2 = tmp26_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
911
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
912
|
-
tmp7_local3 = tmp26_input.bm(tmp0_desc, 3, tmp27_cached[3].t1(), tmp7_local3);
|
|
913
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
914
|
-
tmp8_local4 = tmp26_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
915
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
916
|
-
tmp9_local5 = tmp26_input.bm(tmp0_desc, 5, tmp27_cached[5].t1(), tmp9_local5);
|
|
917
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
918
|
-
tmp10_local6 = tmp26_input.bm(tmp0_desc, 6, tmp27_cached[6].t1(), tmp10_local6);
|
|
919
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
920
|
-
tmp11_local7 = tmp26_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
921
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
922
|
-
tmp12_local8 = tmp26_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
923
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
924
|
-
tmp13_local9 = tmp26_input.bm(tmp0_desc, 9, $serializer_getInstance_2(), tmp13_local9);
|
|
925
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
926
|
-
tmp14_local10 = tmp26_input.xl(tmp0_desc, 10);
|
|
927
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
928
|
-
tmp15_local11 = tmp26_input.bm(tmp0_desc, 11, tmp27_cached[11].t1(), tmp15_local11);
|
|
929
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
930
|
-
tmp16_local12 = tmp26_input.bm(tmp0_desc, 12, tmp27_cached[12].t1(), tmp16_local12);
|
|
931
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
932
|
-
tmp17_local13 = tmp26_input.bm(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
933
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
934
|
-
tmp18_local14 = tmp26_input.bm(tmp0_desc, 14, tmp27_cached[14].t1(), tmp18_local14);
|
|
935
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
936
|
-
tmp19_local15 = tmp26_input.bm(tmp0_desc, 15, tmp27_cached[15].t1(), tmp19_local15);
|
|
937
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
938
|
-
tmp20_local16 = tmp26_input.bm(tmp0_desc, 16, tmp27_cached[16].t1(), tmp20_local16);
|
|
939
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
940
|
-
tmp21_local17 = tmp26_input.bm(tmp0_desc, 17, tmp27_cached[17].t1(), tmp21_local17);
|
|
941
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
942
|
-
tmp22_local18 = tmp26_input.bm(tmp0_desc, 18, tmp27_cached[18].t1(), tmp22_local18);
|
|
943
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
944
|
-
tmp23_local19 = tmp26_input.bm(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
|
|
945
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
946
|
-
tmp24_local20 = tmp26_input.bm(tmp0_desc, 20, tmp27_cached[20].t1(), tmp24_local20);
|
|
947
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
948
|
-
tmp25_local21 = tmp26_input.bm(tmp0_desc, 21, StringSerializer_getInstance(), tmp25_local21);
|
|
949
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
950
|
-
} else
|
|
951
|
-
while (tmp1_flag) {
|
|
952
|
-
tmp2_index = tmp26_input.em(tmp0_desc);
|
|
953
|
-
switch (tmp2_index) {
|
|
954
|
-
case -1:
|
|
955
|
-
tmp1_flag = false;
|
|
956
|
-
break;
|
|
957
|
-
case 0:
|
|
958
|
-
tmp4_local0 = tmp26_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
959
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
960
|
-
break;
|
|
961
|
-
case 1:
|
|
962
|
-
tmp5_local1 = tmp26_input.bm(tmp0_desc, 1, tmp27_cached[1].t1(), tmp5_local1);
|
|
963
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
964
|
-
break;
|
|
965
|
-
case 2:
|
|
966
|
-
tmp6_local2 = tmp26_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
967
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
968
|
-
break;
|
|
969
|
-
case 3:
|
|
970
|
-
tmp7_local3 = tmp26_input.bm(tmp0_desc, 3, tmp27_cached[3].t1(), tmp7_local3);
|
|
971
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
972
|
-
break;
|
|
973
|
-
case 4:
|
|
974
|
-
tmp8_local4 = tmp26_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
975
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
976
|
-
break;
|
|
977
|
-
case 5:
|
|
978
|
-
tmp9_local5 = tmp26_input.bm(tmp0_desc, 5, tmp27_cached[5].t1(), tmp9_local5);
|
|
979
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
980
|
-
break;
|
|
981
|
-
case 6:
|
|
982
|
-
tmp10_local6 = tmp26_input.bm(tmp0_desc, 6, tmp27_cached[6].t1(), tmp10_local6);
|
|
983
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
984
|
-
break;
|
|
985
|
-
case 7:
|
|
986
|
-
tmp11_local7 = tmp26_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
987
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
988
|
-
break;
|
|
989
|
-
case 8:
|
|
990
|
-
tmp12_local8 = tmp26_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
991
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
992
|
-
break;
|
|
993
|
-
case 9:
|
|
994
|
-
tmp13_local9 = tmp26_input.bm(tmp0_desc, 9, $serializer_getInstance_2(), tmp13_local9);
|
|
995
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
996
|
-
break;
|
|
997
|
-
case 10:
|
|
998
|
-
tmp14_local10 = tmp26_input.xl(tmp0_desc, 10);
|
|
999
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1000
|
-
break;
|
|
1001
|
-
case 11:
|
|
1002
|
-
tmp15_local11 = tmp26_input.bm(tmp0_desc, 11, tmp27_cached[11].t1(), tmp15_local11);
|
|
1003
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1004
|
-
break;
|
|
1005
|
-
case 12:
|
|
1006
|
-
tmp16_local12 = tmp26_input.bm(tmp0_desc, 12, tmp27_cached[12].t1(), tmp16_local12);
|
|
1007
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1008
|
-
break;
|
|
1009
|
-
case 13:
|
|
1010
|
-
tmp17_local13 = tmp26_input.bm(tmp0_desc, 13, BooleanSerializer_getInstance(), tmp17_local13);
|
|
1011
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
1012
|
-
break;
|
|
1013
|
-
case 14:
|
|
1014
|
-
tmp18_local14 = tmp26_input.bm(tmp0_desc, 14, tmp27_cached[14].t1(), tmp18_local14);
|
|
1015
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
1016
|
-
break;
|
|
1017
|
-
case 15:
|
|
1018
|
-
tmp19_local15 = tmp26_input.bm(tmp0_desc, 15, tmp27_cached[15].t1(), tmp19_local15);
|
|
1019
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
1020
|
-
break;
|
|
1021
|
-
case 16:
|
|
1022
|
-
tmp20_local16 = tmp26_input.bm(tmp0_desc, 16, tmp27_cached[16].t1(), tmp20_local16);
|
|
1023
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
1024
|
-
break;
|
|
1025
|
-
case 17:
|
|
1026
|
-
tmp21_local17 = tmp26_input.bm(tmp0_desc, 17, tmp27_cached[17].t1(), tmp21_local17);
|
|
1027
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
1028
|
-
break;
|
|
1029
|
-
case 18:
|
|
1030
|
-
tmp22_local18 = tmp26_input.bm(tmp0_desc, 18, tmp27_cached[18].t1(), tmp22_local18);
|
|
1031
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
1032
|
-
break;
|
|
1033
|
-
case 19:
|
|
1034
|
-
tmp23_local19 = tmp26_input.bm(tmp0_desc, 19, StringSerializer_getInstance(), tmp23_local19);
|
|
1035
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
1036
|
-
break;
|
|
1037
|
-
case 20:
|
|
1038
|
-
tmp24_local20 = tmp26_input.bm(tmp0_desc, 20, tmp27_cached[20].t1(), tmp24_local20);
|
|
1039
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
1040
|
-
break;
|
|
1041
|
-
case 21:
|
|
1042
|
-
tmp25_local21 = tmp26_input.bm(tmp0_desc, 21, StringSerializer_getInstance(), tmp25_local21);
|
|
1043
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
1044
|
-
break;
|
|
1045
|
-
default:
|
|
1046
|
-
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
tmp26_input.ol(tmp0_desc);
|
|
1050
|
-
return RecipeV2_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, null);
|
|
1051
|
-
};
|
|
1052
|
-
protoOf($serializer_1).qi = function () {
|
|
1053
|
-
return this.i1f_1;
|
|
1054
|
-
};
|
|
1055
|
-
protoOf($serializer_1).ys = function () {
|
|
1056
|
-
var tmp0_cached = Companion_getInstance_1().h1f_1;
|
|
1057
|
-
// Inline function 'kotlin.arrayOf' call
|
|
1058
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1059
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
1060
|
-
return [get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[1].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[3].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[5].t1()), get_nullable(tmp0_cached[6].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_2()), StringSerializer_getInstance(), get_nullable(tmp0_cached[11].t1()), get_nullable(tmp0_cached[12].t1()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[14].t1()), get_nullable(tmp0_cached[15].t1()), get_nullable(tmp0_cached[16].t1()), get_nullable(tmp0_cached[17].t1()), get_nullable(tmp0_cached[18].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[20].t1()), get_nullable(StringSerializer_getInstance())];
|
|
1061
|
-
};
|
|
1062
|
-
var $serializer_instance_1;
|
|
1063
|
-
function $serializer_getInstance_1() {
|
|
1064
|
-
if ($serializer_instance_1 == null)
|
|
1065
|
-
new $serializer_1();
|
|
1066
|
-
return $serializer_instance_1;
|
|
1067
|
-
}
|
|
1068
|
-
function RecipeV2_init_$Init$(seen0, bookCredit, byline, canonicalArticle, celebrationIDS, composerID, contributors, cuisineIDS, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIDS, serves, suitableForDietIDS, techniquesUsedIDS, timings, title, utensilsAndApplianceIDS, webPublicationDate, serializationConstructorMarker, $this) {
|
|
1069
|
-
if (!(1024 === (1024 & seen0))) {
|
|
1070
|
-
throwMissingFieldException(seen0, 1024, $serializer_getInstance_1().i1f_1);
|
|
1071
|
-
}
|
|
1072
|
-
if (0 === (seen0 & 1))
|
|
1073
|
-
$this.k1f_1 = null;
|
|
1074
|
-
else
|
|
1075
|
-
$this.k1f_1 = bookCredit;
|
|
1076
|
-
if (0 === (seen0 & 2))
|
|
1077
|
-
$this.l1f_1 = null;
|
|
1078
|
-
else
|
|
1079
|
-
$this.l1f_1 = byline;
|
|
1080
|
-
if (0 === (seen0 & 4))
|
|
1081
|
-
$this.m1f_1 = null;
|
|
1082
|
-
else
|
|
1083
|
-
$this.m1f_1 = canonicalArticle;
|
|
1084
|
-
if (0 === (seen0 & 8))
|
|
1085
|
-
$this.n1f_1 = null;
|
|
1086
|
-
else
|
|
1087
|
-
$this.n1f_1 = celebrationIDS;
|
|
1088
|
-
if (0 === (seen0 & 16))
|
|
1089
|
-
$this.o1f_1 = null;
|
|
1090
|
-
else
|
|
1091
|
-
$this.o1f_1 = composerID;
|
|
1092
|
-
if (0 === (seen0 & 32))
|
|
1093
|
-
$this.p1f_1 = null;
|
|
1094
|
-
else
|
|
1095
|
-
$this.p1f_1 = contributors;
|
|
1096
|
-
if (0 === (seen0 & 64))
|
|
1097
|
-
$this.q1f_1 = null;
|
|
1098
|
-
else
|
|
1099
|
-
$this.q1f_1 = cuisineIDS;
|
|
1100
|
-
if (0 === (seen0 & 128))
|
|
1101
|
-
$this.r1f_1 = null;
|
|
1102
|
-
else
|
|
1103
|
-
$this.r1f_1 = description;
|
|
1104
|
-
if (0 === (seen0 & 256))
|
|
1105
|
-
$this.s1f_1 = null;
|
|
1106
|
-
else
|
|
1107
|
-
$this.s1f_1 = difficultyLevel;
|
|
1108
|
-
if (0 === (seen0 & 512))
|
|
1109
|
-
$this.t1f_1 = null;
|
|
1110
|
-
else
|
|
1111
|
-
$this.t1f_1 = featuredImage;
|
|
1112
|
-
$this.u1f_1 = id;
|
|
1113
|
-
if (0 === (seen0 & 2048))
|
|
1114
|
-
$this.v1f_1 = null;
|
|
1115
|
-
else
|
|
1116
|
-
$this.v1f_1 = ingredients;
|
|
1117
|
-
if (0 === (seen0 & 4096))
|
|
1118
|
-
$this.w1f_1 = null;
|
|
1119
|
-
else
|
|
1120
|
-
$this.w1f_1 = instructions;
|
|
1121
|
-
if (0 === (seen0 & 8192))
|
|
1122
|
-
$this.x1f_1 = null;
|
|
1123
|
-
else
|
|
1124
|
-
$this.x1f_1 = isAppReady;
|
|
1125
|
-
if (0 === (seen0 & 16384))
|
|
1126
|
-
$this.y1f_1 = null;
|
|
1127
|
-
else
|
|
1128
|
-
$this.y1f_1 = mealTypeIDS;
|
|
1129
|
-
if (0 === (seen0 & 32768))
|
|
1130
|
-
$this.z1f_1 = null;
|
|
1131
|
-
else
|
|
1132
|
-
$this.z1f_1 = serves;
|
|
1133
|
-
if (0 === (seen0 & 65536))
|
|
1134
|
-
$this.a1g_1 = null;
|
|
1135
|
-
else
|
|
1136
|
-
$this.a1g_1 = suitableForDietIDS;
|
|
1137
|
-
if (0 === (seen0 & 131072))
|
|
1138
|
-
$this.b1g_1 = null;
|
|
1139
|
-
else
|
|
1140
|
-
$this.b1g_1 = techniquesUsedIDS;
|
|
1141
|
-
if (0 === (seen0 & 262144))
|
|
1142
|
-
$this.c1g_1 = null;
|
|
1143
|
-
else
|
|
1144
|
-
$this.c1g_1 = timings;
|
|
1145
|
-
if (0 === (seen0 & 524288))
|
|
1146
|
-
$this.d1g_1 = null;
|
|
1147
|
-
else
|
|
1148
|
-
$this.d1g_1 = title;
|
|
1149
|
-
if (0 === (seen0 & 1048576))
|
|
1150
|
-
$this.e1g_1 = null;
|
|
1151
|
-
else
|
|
1152
|
-
$this.e1g_1 = utensilsAndApplianceIDS;
|
|
1153
|
-
if (0 === (seen0 & 2097152))
|
|
1154
|
-
$this.f1g_1 = null;
|
|
1155
|
-
else
|
|
1156
|
-
$this.f1g_1 = webPublicationDate;
|
|
1157
|
-
return $this;
|
|
1158
|
-
}
|
|
1159
|
-
function RecipeV2_init_$Create$(seen0, bookCredit, byline, canonicalArticle, celebrationIDS, composerID, contributors, cuisineIDS, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIDS, serves, suitableForDietIDS, techniquesUsedIDS, timings, title, utensilsAndApplianceIDS, webPublicationDate, serializationConstructorMarker) {
|
|
1160
|
-
return RecipeV2_init_$Init$(seen0, bookCredit, byline, canonicalArticle, celebrationIDS, composerID, contributors, cuisineIDS, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIDS, serves, suitableForDietIDS, techniquesUsedIDS, timings, title, utensilsAndApplianceIDS, webPublicationDate, serializationConstructorMarker, objectCreate(protoOf(RecipeV2)));
|
|
1161
|
-
}
|
|
1162
|
-
function RecipeV2(bookCredit, byline, canonicalArticle, celebrationIDS, composerID, contributors, cuisineIDS, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIDS, serves, suitableForDietIDS, techniquesUsedIDS, timings, title, utensilsAndApplianceIDS, webPublicationDate) {
|
|
1163
|
-
Companion_getInstance_1();
|
|
1164
|
-
bookCredit = bookCredit === VOID ? null : bookCredit;
|
|
1165
|
-
byline = byline === VOID ? null : byline;
|
|
1166
|
-
canonicalArticle = canonicalArticle === VOID ? null : canonicalArticle;
|
|
1167
|
-
celebrationIDS = celebrationIDS === VOID ? null : celebrationIDS;
|
|
1168
|
-
composerID = composerID === VOID ? null : composerID;
|
|
1169
|
-
contributors = contributors === VOID ? null : contributors;
|
|
1170
|
-
cuisineIDS = cuisineIDS === VOID ? null : cuisineIDS;
|
|
1171
|
-
description = description === VOID ? null : description;
|
|
1172
|
-
difficultyLevel = difficultyLevel === VOID ? null : difficultyLevel;
|
|
1173
|
-
featuredImage = featuredImage === VOID ? null : featuredImage;
|
|
1174
|
-
ingredients = ingredients === VOID ? null : ingredients;
|
|
1175
|
-
instructions = instructions === VOID ? null : instructions;
|
|
1176
|
-
isAppReady = isAppReady === VOID ? null : isAppReady;
|
|
1177
|
-
mealTypeIDS = mealTypeIDS === VOID ? null : mealTypeIDS;
|
|
1178
|
-
serves = serves === VOID ? null : serves;
|
|
1179
|
-
suitableForDietIDS = suitableForDietIDS === VOID ? null : suitableForDietIDS;
|
|
1180
|
-
techniquesUsedIDS = techniquesUsedIDS === VOID ? null : techniquesUsedIDS;
|
|
1181
|
-
timings = timings === VOID ? null : timings;
|
|
1182
|
-
title = title === VOID ? null : title;
|
|
1183
|
-
utensilsAndApplianceIDS = utensilsAndApplianceIDS === VOID ? null : utensilsAndApplianceIDS;
|
|
1184
|
-
webPublicationDate = webPublicationDate === VOID ? null : webPublicationDate;
|
|
1185
|
-
this.k1f_1 = bookCredit;
|
|
1186
|
-
this.l1f_1 = byline;
|
|
1187
|
-
this.m1f_1 = canonicalArticle;
|
|
1188
|
-
this.n1f_1 = celebrationIDS;
|
|
1189
|
-
this.o1f_1 = composerID;
|
|
1190
|
-
this.p1f_1 = contributors;
|
|
1191
|
-
this.q1f_1 = cuisineIDS;
|
|
1192
|
-
this.r1f_1 = description;
|
|
1193
|
-
this.s1f_1 = difficultyLevel;
|
|
1194
|
-
this.t1f_1 = featuredImage;
|
|
1195
|
-
this.u1f_1 = id;
|
|
1196
|
-
this.v1f_1 = ingredients;
|
|
1197
|
-
this.w1f_1 = instructions;
|
|
1198
|
-
this.x1f_1 = isAppReady;
|
|
1199
|
-
this.y1f_1 = mealTypeIDS;
|
|
1200
|
-
this.z1f_1 = serves;
|
|
1201
|
-
this.a1g_1 = suitableForDietIDS;
|
|
1202
|
-
this.b1g_1 = techniquesUsedIDS;
|
|
1203
|
-
this.c1g_1 = timings;
|
|
1204
|
-
this.d1g_1 = title;
|
|
1205
|
-
this.e1g_1 = utensilsAndApplianceIDS;
|
|
1206
|
-
this.f1g_1 = webPublicationDate;
|
|
1207
|
-
}
|
|
1208
|
-
protoOf(RecipeV2).toString = function () {
|
|
1209
|
-
return 'RecipeV2(bookCredit=' + this.k1f_1 + ', byline=' + toString(this.l1f_1) + ', canonicalArticle=' + this.m1f_1 + ', celebrationIDS=' + toString(this.n1f_1) + ', composerID=' + this.o1f_1 + ', contributors=' + toString(this.p1f_1) + ', cuisineIDS=' + toString(this.q1f_1) + ', description=' + this.r1f_1 + ', difficultyLevel=' + this.s1f_1 + ', featuredImage=' + toString(this.t1f_1) + ', id=' + this.u1f_1 + ', ingredients=' + toString(this.v1f_1) + ', instructions=' + toString(this.w1f_1) + ', isAppReady=' + this.x1f_1 + ', mealTypeIDS=' + toString(this.y1f_1) + ', serves=' + toString(this.z1f_1) + ', suitableForDietIDS=' + toString(this.a1g_1) + ', techniquesUsedIDS=' + toString(this.b1g_1) + ', timings=' + toString(this.c1g_1) + ', title=' + this.d1g_1 + ', utensilsAndApplianceIDS=' + toString(this.e1g_1) + ', webPublicationDate=' + this.f1g_1 + ')';
|
|
1210
|
-
};
|
|
1211
|
-
protoOf(RecipeV2).hashCode = function () {
|
|
1212
|
-
var result = this.k1f_1 == null ? 0 : getStringHashCode(this.k1f_1);
|
|
1213
|
-
result = imul(result, 31) + (this.l1f_1 == null ? 0 : hashCode(this.l1f_1)) | 0;
|
|
1214
|
-
result = imul(result, 31) + (this.m1f_1 == null ? 0 : getStringHashCode(this.m1f_1)) | 0;
|
|
1215
|
-
result = imul(result, 31) + (this.n1f_1 == null ? 0 : hashCode(this.n1f_1)) | 0;
|
|
1216
|
-
result = imul(result, 31) + (this.o1f_1 == null ? 0 : getStringHashCode(this.o1f_1)) | 0;
|
|
1217
|
-
result = imul(result, 31) + (this.p1f_1 == null ? 0 : hashCode(this.p1f_1)) | 0;
|
|
1218
|
-
result = imul(result, 31) + (this.q1f_1 == null ? 0 : hashCode(this.q1f_1)) | 0;
|
|
1219
|
-
result = imul(result, 31) + (this.r1f_1 == null ? 0 : getStringHashCode(this.r1f_1)) | 0;
|
|
1220
|
-
result = imul(result, 31) + (this.s1f_1 == null ? 0 : getStringHashCode(this.s1f_1)) | 0;
|
|
1221
|
-
result = imul(result, 31) + (this.t1f_1 == null ? 0 : this.t1f_1.hashCode()) | 0;
|
|
1222
|
-
result = imul(result, 31) + getStringHashCode(this.u1f_1) | 0;
|
|
1223
|
-
result = imul(result, 31) + (this.v1f_1 == null ? 0 : hashCode(this.v1f_1)) | 0;
|
|
1224
|
-
result = imul(result, 31) + (this.w1f_1 == null ? 0 : hashCode(this.w1f_1)) | 0;
|
|
1225
|
-
result = imul(result, 31) + (this.x1f_1 == null ? 0 : getBooleanHashCode(this.x1f_1)) | 0;
|
|
1226
|
-
result = imul(result, 31) + (this.y1f_1 == null ? 0 : hashCode(this.y1f_1)) | 0;
|
|
1227
|
-
result = imul(result, 31) + (this.z1f_1 == null ? 0 : hashCode(this.z1f_1)) | 0;
|
|
1228
|
-
result = imul(result, 31) + (this.a1g_1 == null ? 0 : hashCode(this.a1g_1)) | 0;
|
|
1229
|
-
result = imul(result, 31) + (this.b1g_1 == null ? 0 : hashCode(this.b1g_1)) | 0;
|
|
1230
|
-
result = imul(result, 31) + (this.c1g_1 == null ? 0 : hashCode(this.c1g_1)) | 0;
|
|
1231
|
-
result = imul(result, 31) + (this.d1g_1 == null ? 0 : getStringHashCode(this.d1g_1)) | 0;
|
|
1232
|
-
result = imul(result, 31) + (this.e1g_1 == null ? 0 : hashCode(this.e1g_1)) | 0;
|
|
1233
|
-
result = imul(result, 31) + (this.f1g_1 == null ? 0 : getStringHashCode(this.f1g_1)) | 0;
|
|
1234
|
-
return result;
|
|
1235
|
-
};
|
|
1236
|
-
protoOf(RecipeV2).equals = function (other) {
|
|
1237
|
-
if (this === other)
|
|
1238
|
-
return true;
|
|
1239
|
-
if (!(other instanceof RecipeV2))
|
|
1240
|
-
return false;
|
|
1241
|
-
if (!(this.k1f_1 == other.k1f_1))
|
|
1242
|
-
return false;
|
|
1243
|
-
if (!equals(this.l1f_1, other.l1f_1))
|
|
1244
|
-
return false;
|
|
1245
|
-
if (!(this.m1f_1 == other.m1f_1))
|
|
1246
|
-
return false;
|
|
1247
|
-
if (!equals(this.n1f_1, other.n1f_1))
|
|
1248
|
-
return false;
|
|
1249
|
-
if (!(this.o1f_1 == other.o1f_1))
|
|
1250
|
-
return false;
|
|
1251
|
-
if (!equals(this.p1f_1, other.p1f_1))
|
|
1252
|
-
return false;
|
|
1253
|
-
if (!equals(this.q1f_1, other.q1f_1))
|
|
1254
|
-
return false;
|
|
1255
|
-
if (!(this.r1f_1 == other.r1f_1))
|
|
1256
|
-
return false;
|
|
1257
|
-
if (!(this.s1f_1 == other.s1f_1))
|
|
1258
|
-
return false;
|
|
1259
|
-
if (!equals(this.t1f_1, other.t1f_1))
|
|
1260
|
-
return false;
|
|
1261
|
-
if (!(this.u1f_1 === other.u1f_1))
|
|
1262
|
-
return false;
|
|
1263
|
-
if (!equals(this.v1f_1, other.v1f_1))
|
|
1264
|
-
return false;
|
|
1265
|
-
if (!equals(this.w1f_1, other.w1f_1))
|
|
1266
|
-
return false;
|
|
1267
|
-
if (!(this.x1f_1 == other.x1f_1))
|
|
1268
|
-
return false;
|
|
1269
|
-
if (!equals(this.y1f_1, other.y1f_1))
|
|
1270
|
-
return false;
|
|
1271
|
-
if (!equals(this.z1f_1, other.z1f_1))
|
|
1272
|
-
return false;
|
|
1273
|
-
if (!equals(this.a1g_1, other.a1g_1))
|
|
1274
|
-
return false;
|
|
1275
|
-
if (!equals(this.b1g_1, other.b1g_1))
|
|
1276
|
-
return false;
|
|
1277
|
-
if (!equals(this.c1g_1, other.c1g_1))
|
|
1278
|
-
return false;
|
|
1279
|
-
if (!(this.d1g_1 == other.d1g_1))
|
|
1280
|
-
return false;
|
|
1281
|
-
if (!equals(this.e1g_1, other.e1g_1))
|
|
1282
|
-
return false;
|
|
1283
|
-
if (!(this.f1g_1 == other.f1g_1))
|
|
1284
|
-
return false;
|
|
1285
|
-
return true;
|
|
1286
|
-
};
|
|
1287
|
-
function $serializer_2() {
|
|
1288
|
-
$serializer_instance_2 = this;
|
|
1289
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.ImageClass', this, 8);
|
|
1290
|
-
tmp0_serialDesc.ws('caption', true);
|
|
1291
|
-
tmp0_serialDesc.ws('cropId', false);
|
|
1292
|
-
tmp0_serialDesc.ws('imageType', true);
|
|
1293
|
-
tmp0_serialDesc.ws('mediaApiUrl', true);
|
|
1294
|
-
tmp0_serialDesc.ws('mediaId', false);
|
|
1295
|
-
tmp0_serialDesc.ws('photographer', true);
|
|
1296
|
-
tmp0_serialDesc.ws('source', true);
|
|
1297
|
-
tmp0_serialDesc.ws('url', false);
|
|
1298
|
-
this.g1g_1 = tmp0_serialDesc;
|
|
1299
|
-
}
|
|
1300
|
-
protoOf($serializer_2).h1g = function (encoder, value) {
|
|
1301
|
-
var tmp0_desc = this.g1g_1;
|
|
1302
|
-
var tmp1_output = encoder.nl(tmp0_desc);
|
|
1303
|
-
if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.i1g_1 == null)) {
|
|
1304
|
-
tmp1_output.fn(tmp0_desc, 0, StringSerializer_getInstance(), value.i1g_1);
|
|
1305
|
-
}
|
|
1306
|
-
tmp1_output.bn(tmp0_desc, 1, value.j1g_1);
|
|
1307
|
-
if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.k1g_1 == null)) {
|
|
1308
|
-
tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.k1g_1);
|
|
1309
|
-
}
|
|
1310
|
-
if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.l1g_1 == null)) {
|
|
1311
|
-
tmp1_output.fn(tmp0_desc, 3, StringSerializer_getInstance(), value.l1g_1);
|
|
1312
|
-
}
|
|
1313
|
-
tmp1_output.bn(tmp0_desc, 4, value.m1g_1);
|
|
1314
|
-
if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.n1g_1 == null)) {
|
|
1315
|
-
tmp1_output.fn(tmp0_desc, 5, StringSerializer_getInstance(), value.n1g_1);
|
|
1316
|
-
}
|
|
1317
|
-
if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.o1g_1 == null)) {
|
|
1318
|
-
tmp1_output.fn(tmp0_desc, 6, StringSerializer_getInstance(), value.o1g_1);
|
|
1319
|
-
}
|
|
1320
|
-
tmp1_output.bn(tmp0_desc, 7, value.p1g_1);
|
|
1321
|
-
tmp1_output.ol(tmp0_desc);
|
|
1322
|
-
};
|
|
1323
|
-
protoOf($serializer_2).ri = function (encoder, value) {
|
|
1324
|
-
return this.h1g(encoder, value instanceof ImageClass ? value : THROW_CCE());
|
|
1325
|
-
};
|
|
1326
|
-
protoOf($serializer_2).si = function (decoder) {
|
|
1327
|
-
var tmp0_desc = this.g1g_1;
|
|
1328
|
-
var tmp1_flag = true;
|
|
1329
|
-
var tmp2_index = 0;
|
|
1330
|
-
var tmp3_bitMask0 = 0;
|
|
1331
|
-
var tmp4_local0 = null;
|
|
1332
|
-
var tmp5_local1 = null;
|
|
1333
|
-
var tmp6_local2 = null;
|
|
1334
|
-
var tmp7_local3 = null;
|
|
1335
|
-
var tmp8_local4 = null;
|
|
1336
|
-
var tmp9_local5 = null;
|
|
1337
|
-
var tmp10_local6 = null;
|
|
1338
|
-
var tmp11_local7 = null;
|
|
1339
|
-
var tmp12_input = decoder.nl(tmp0_desc);
|
|
1340
|
-
if (tmp12_input.dm()) {
|
|
1341
|
-
tmp4_local0 = tmp12_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1342
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1343
|
-
tmp5_local1 = tmp12_input.xl(tmp0_desc, 1);
|
|
1344
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1345
|
-
tmp6_local2 = tmp12_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1346
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1347
|
-
tmp7_local3 = tmp12_input.bm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
1348
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1349
|
-
tmp8_local4 = tmp12_input.xl(tmp0_desc, 4);
|
|
1350
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1351
|
-
tmp9_local5 = tmp12_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1352
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1353
|
-
tmp10_local6 = tmp12_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1354
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1355
|
-
tmp11_local7 = tmp12_input.xl(tmp0_desc, 7);
|
|
1356
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1357
|
-
} else
|
|
1358
|
-
while (tmp1_flag) {
|
|
1359
|
-
tmp2_index = tmp12_input.em(tmp0_desc);
|
|
1360
|
-
switch (tmp2_index) {
|
|
1361
|
-
case -1:
|
|
1362
|
-
tmp1_flag = false;
|
|
1363
|
-
break;
|
|
1364
|
-
case 0:
|
|
1365
|
-
tmp4_local0 = tmp12_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1366
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1367
|
-
break;
|
|
1368
|
-
case 1:
|
|
1369
|
-
tmp5_local1 = tmp12_input.xl(tmp0_desc, 1);
|
|
614
|
+
tmp5_local1 = tmp27_input.bm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
|
|
1370
615
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1371
616
|
break;
|
|
1372
617
|
case 2:
|
|
1373
|
-
tmp6_local2 =
|
|
618
|
+
tmp6_local2 = tmp27_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1374
619
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1375
620
|
break;
|
|
1376
621
|
case 3:
|
|
1377
|
-
tmp7_local3 =
|
|
622
|
+
tmp7_local3 = tmp27_input.bm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
|
|
1378
623
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1379
624
|
break;
|
|
1380
625
|
case 4:
|
|
1381
|
-
tmp8_local4 =
|
|
626
|
+
tmp8_local4 = tmp27_input.bm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
|
|
1382
627
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1383
628
|
break;
|
|
1384
629
|
case 5:
|
|
1385
|
-
tmp9_local5 =
|
|
630
|
+
tmp9_local5 = tmp27_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1386
631
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1387
632
|
break;
|
|
1388
633
|
case 6:
|
|
1389
|
-
tmp10_local6 =
|
|
634
|
+
tmp10_local6 = tmp27_input.bm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
|
|
1390
635
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1391
636
|
break;
|
|
1392
637
|
case 7:
|
|
1393
|
-
tmp11_local7 =
|
|
638
|
+
tmp11_local7 = tmp27_input.bm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
|
|
1394
639
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1395
640
|
break;
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
$this.m1g_1 = mediaID;
|
|
1436
|
-
if (0 === (seen0 & 32))
|
|
1437
|
-
$this.n1g_1 = null;
|
|
1438
|
-
else
|
|
1439
|
-
$this.n1g_1 = photographer;
|
|
1440
|
-
if (0 === (seen0 & 64))
|
|
1441
|
-
$this.o1g_1 = null;
|
|
1442
|
-
else
|
|
1443
|
-
$this.o1g_1 = source;
|
|
1444
|
-
$this.p1g_1 = url;
|
|
1445
|
-
return $this;
|
|
1446
|
-
}
|
|
1447
|
-
function ImageClass_init_$Create$(seen0, caption, cropID, imageType, mediaAPIURL, mediaID, photographer, source, url, serializationConstructorMarker) {
|
|
1448
|
-
return ImageClass_init_$Init$(seen0, caption, cropID, imageType, mediaAPIURL, mediaID, photographer, source, url, serializationConstructorMarker, objectCreate(protoOf(ImageClass)));
|
|
1449
|
-
}
|
|
1450
|
-
function ImageClass() {
|
|
1451
|
-
}
|
|
1452
|
-
protoOf(ImageClass).toString = function () {
|
|
1453
|
-
return 'ImageClass(caption=' + this.i1g_1 + ', cropID=' + this.j1g_1 + ', imageType=' + this.k1g_1 + ', mediaAPIURL=' + this.l1g_1 + ', mediaID=' + this.m1g_1 + ', photographer=' + this.n1g_1 + ', source=' + this.o1g_1 + ', url=' + this.p1g_1 + ')';
|
|
1454
|
-
};
|
|
1455
|
-
protoOf(ImageClass).hashCode = function () {
|
|
1456
|
-
var result = this.i1g_1 == null ? 0 : getStringHashCode(this.i1g_1);
|
|
1457
|
-
result = imul(result, 31) + getStringHashCode(this.j1g_1) | 0;
|
|
1458
|
-
result = imul(result, 31) + (this.k1g_1 == null ? 0 : getStringHashCode(this.k1g_1)) | 0;
|
|
1459
|
-
result = imul(result, 31) + (this.l1g_1 == null ? 0 : getStringHashCode(this.l1g_1)) | 0;
|
|
1460
|
-
result = imul(result, 31) + getStringHashCode(this.m1g_1) | 0;
|
|
1461
|
-
result = imul(result, 31) + (this.n1g_1 == null ? 0 : getStringHashCode(this.n1g_1)) | 0;
|
|
1462
|
-
result = imul(result, 31) + (this.o1g_1 == null ? 0 : getStringHashCode(this.o1g_1)) | 0;
|
|
1463
|
-
result = imul(result, 31) + getStringHashCode(this.p1g_1) | 0;
|
|
1464
|
-
return result;
|
|
1465
|
-
};
|
|
1466
|
-
protoOf(ImageClass).equals = function (other) {
|
|
1467
|
-
if (this === other)
|
|
1468
|
-
return true;
|
|
1469
|
-
if (!(other instanceof ImageClass))
|
|
1470
|
-
return false;
|
|
1471
|
-
if (!(this.i1g_1 == other.i1g_1))
|
|
1472
|
-
return false;
|
|
1473
|
-
if (!(this.j1g_1 === other.j1g_1))
|
|
1474
|
-
return false;
|
|
1475
|
-
if (!(this.k1g_1 == other.k1g_1))
|
|
1476
|
-
return false;
|
|
1477
|
-
if (!(this.l1g_1 == other.l1g_1))
|
|
1478
|
-
return false;
|
|
1479
|
-
if (!(this.m1g_1 === other.m1g_1))
|
|
1480
|
-
return false;
|
|
1481
|
-
if (!(this.n1g_1 == other.n1g_1))
|
|
1482
|
-
return false;
|
|
1483
|
-
if (!(this.o1g_1 == other.o1g_1))
|
|
1484
|
-
return false;
|
|
1485
|
-
if (!(this.p1g_1 === other.p1g_1))
|
|
1486
|
-
return false;
|
|
1487
|
-
return true;
|
|
1488
|
-
};
|
|
1489
|
-
function IngredientElement$Companion$$childSerializers$_anonymous__4w7loh() {
|
|
1490
|
-
return new ArrayListSerializer($serializer_getInstance_0());
|
|
1491
|
-
}
|
|
1492
|
-
function Companion_2() {
|
|
1493
|
-
Companion_instance_2 = this;
|
|
1494
|
-
var tmp = this;
|
|
1495
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1496
|
-
// Inline function 'kotlin.arrayOf' call
|
|
1497
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1498
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
1499
|
-
tmp.q1g_1 = [lazy(tmp_0, IngredientElement$Companion$$childSerializers$_anonymous__4w7loh), null];
|
|
1500
|
-
}
|
|
1501
|
-
var Companion_instance_2;
|
|
1502
|
-
function Companion_getInstance_2() {
|
|
1503
|
-
if (Companion_instance_2 == null)
|
|
1504
|
-
new Companion_2();
|
|
1505
|
-
return Companion_instance_2;
|
|
1506
|
-
}
|
|
1507
|
-
function $serializer_3() {
|
|
1508
|
-
$serializer_instance_3 = this;
|
|
1509
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientElement', this, 2);
|
|
1510
|
-
tmp0_serialDesc.ws('ingredientsList', true);
|
|
1511
|
-
tmp0_serialDesc.ws('recipeSection', true);
|
|
1512
|
-
this.r1g_1 = tmp0_serialDesc;
|
|
1513
|
-
}
|
|
1514
|
-
protoOf($serializer_3).s1g = function (encoder, value) {
|
|
1515
|
-
var tmp0_desc = this.r1g_1;
|
|
1516
|
-
var tmp1_output = encoder.nl(tmp0_desc);
|
|
1517
|
-
var tmp2_cached = Companion_getInstance_2().q1g_1;
|
|
1518
|
-
if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.t1g_1 == null)) {
|
|
1519
|
-
tmp1_output.fn(tmp0_desc, 0, tmp2_cached[0].t1(), value.t1g_1);
|
|
1520
|
-
}
|
|
1521
|
-
if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.u1g_1 == null)) {
|
|
1522
|
-
tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.u1g_1);
|
|
1523
|
-
}
|
|
1524
|
-
tmp1_output.ol(tmp0_desc);
|
|
1525
|
-
};
|
|
1526
|
-
protoOf($serializer_3).ri = function (encoder, value) {
|
|
1527
|
-
return this.s1g(encoder, value instanceof IngredientElement ? value : THROW_CCE());
|
|
1528
|
-
};
|
|
1529
|
-
protoOf($serializer_3).si = function (decoder) {
|
|
1530
|
-
var tmp0_desc = this.r1g_1;
|
|
1531
|
-
var tmp1_flag = true;
|
|
1532
|
-
var tmp2_index = 0;
|
|
1533
|
-
var tmp3_bitMask0 = 0;
|
|
1534
|
-
var tmp4_local0 = null;
|
|
1535
|
-
var tmp5_local1 = null;
|
|
1536
|
-
var tmp6_input = decoder.nl(tmp0_desc);
|
|
1537
|
-
var tmp7_cached = Companion_getInstance_2().q1g_1;
|
|
1538
|
-
if (tmp6_input.dm()) {
|
|
1539
|
-
tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
|
|
1540
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1541
|
-
tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1542
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1543
|
-
} else
|
|
1544
|
-
while (tmp1_flag) {
|
|
1545
|
-
tmp2_index = tmp6_input.em(tmp0_desc);
|
|
1546
|
-
switch (tmp2_index) {
|
|
1547
|
-
case -1:
|
|
1548
|
-
tmp1_flag = false;
|
|
641
|
+
case 8:
|
|
642
|
+
tmp12_local8 = tmp27_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
643
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
644
|
+
break;
|
|
645
|
+
case 9:
|
|
646
|
+
tmp13_local9 = tmp27_input.bm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
647
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
648
|
+
break;
|
|
649
|
+
case 10:
|
|
650
|
+
tmp14_local10 = tmp27_input.bm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
|
|
651
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
652
|
+
break;
|
|
653
|
+
case 11:
|
|
654
|
+
tmp15_local11 = tmp27_input.xl(tmp0_desc, 11);
|
|
655
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
656
|
+
break;
|
|
657
|
+
case 12:
|
|
658
|
+
tmp16_local12 = tmp27_input.bm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
|
|
659
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
660
|
+
break;
|
|
661
|
+
case 13:
|
|
662
|
+
tmp17_local13 = tmp27_input.bm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
|
|
663
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
664
|
+
break;
|
|
665
|
+
case 14:
|
|
666
|
+
tmp18_local14 = tmp27_input.bm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
667
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
668
|
+
break;
|
|
669
|
+
case 15:
|
|
670
|
+
tmp19_local15 = tmp27_input.bm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
|
|
671
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
672
|
+
break;
|
|
673
|
+
case 16:
|
|
674
|
+
tmp20_local16 = tmp27_input.bm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
|
|
675
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
676
|
+
break;
|
|
677
|
+
case 17:
|
|
678
|
+
tmp21_local17 = tmp27_input.bm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
|
|
679
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
1549
680
|
break;
|
|
1550
|
-
case
|
|
1551
|
-
|
|
1552
|
-
tmp3_bitMask0 = tmp3_bitMask0 |
|
|
681
|
+
case 18:
|
|
682
|
+
tmp22_local18 = tmp27_input.bm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
|
|
683
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
1553
684
|
break;
|
|
1554
|
-
case
|
|
1555
|
-
|
|
1556
|
-
tmp3_bitMask0 = tmp3_bitMask0 |
|
|
685
|
+
case 19:
|
|
686
|
+
tmp23_local19 = tmp27_input.bm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
|
|
687
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
688
|
+
break;
|
|
689
|
+
case 20:
|
|
690
|
+
tmp24_local20 = tmp27_input.bm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
|
|
691
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
692
|
+
break;
|
|
693
|
+
case 21:
|
|
694
|
+
tmp25_local21 = tmp27_input.bm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
|
|
695
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
696
|
+
break;
|
|
697
|
+
case 22:
|
|
698
|
+
tmp26_local22 = tmp27_input.bm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
|
|
699
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
1557
700
|
break;
|
|
1558
701
|
default:
|
|
1559
702
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1560
703
|
}
|
|
1561
704
|
}
|
|
1562
|
-
|
|
1563
|
-
return
|
|
705
|
+
tmp27_input.ol(tmp0_desc);
|
|
706
|
+
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);
|
|
1564
707
|
};
|
|
1565
|
-
protoOf($
|
|
1566
|
-
return this.
|
|
708
|
+
protoOf($serializer).qi = function () {
|
|
709
|
+
return this.x1e_1;
|
|
1567
710
|
};
|
|
1568
|
-
protoOf($
|
|
1569
|
-
var tmp0_cached =
|
|
711
|
+
protoOf($serializer).ys = function () {
|
|
712
|
+
var tmp0_cached = Companion_getInstance().w1e_1;
|
|
1570
713
|
// Inline function 'kotlin.arrayOf' call
|
|
1571
714
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1572
715
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1573
|
-
return [get_nullable(tmp0_cached[
|
|
716
|
+
return [get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[1].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[3].t1()), get_nullable(tmp0_cached[4].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[6].t1()), get_nullable(tmp0_cached[7].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_1()), StringSerializer_getInstance(), get_nullable(tmp0_cached[12].t1()), get_nullable(tmp0_cached[13].t1()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[15].t1()), get_nullable(tmp0_cached[16].t1()), get_nullable(tmp0_cached[17].t1()), get_nullable(tmp0_cached[18].t1()), get_nullable(tmp0_cached[19].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[21].t1()), get_nullable(StringSerializer_getInstance())];
|
|
1574
717
|
};
|
|
1575
|
-
var $
|
|
1576
|
-
function $
|
|
1577
|
-
if ($
|
|
1578
|
-
new $
|
|
1579
|
-
return $
|
|
718
|
+
var $serializer_instance;
|
|
719
|
+
function $serializer_getInstance() {
|
|
720
|
+
if ($serializer_instance == null)
|
|
721
|
+
new $serializer();
|
|
722
|
+
return $serializer_instance;
|
|
1580
723
|
}
|
|
1581
|
-
function
|
|
1582
|
-
if (!(
|
|
1583
|
-
throwMissingFieldException(seen0,
|
|
724
|
+
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
|
+
if (!(2048 === (2048 & seen0))) {
|
|
726
|
+
throwMissingFieldException(seen0, 2048, $serializer_getInstance().x1e_1);
|
|
1584
727
|
}
|
|
1585
728
|
if (0 === (seen0 & 1))
|
|
1586
|
-
$this.
|
|
729
|
+
$this.h1d_1 = null;
|
|
1587
730
|
else
|
|
1588
|
-
$this.
|
|
731
|
+
$this.h1d_1 = bookCredit;
|
|
1589
732
|
if (0 === (seen0 & 2))
|
|
1590
|
-
$this.
|
|
733
|
+
$this.i1d_1 = null;
|
|
734
|
+
else
|
|
735
|
+
$this.i1d_1 = byline;
|
|
736
|
+
if (0 === (seen0 & 4))
|
|
737
|
+
$this.j1d_1 = null;
|
|
738
|
+
else
|
|
739
|
+
$this.j1d_1 = canonicalArticle;
|
|
740
|
+
if (0 === (seen0 & 8))
|
|
741
|
+
$this.k1d_1 = null;
|
|
742
|
+
else
|
|
743
|
+
$this.k1d_1 = celebrationIds;
|
|
744
|
+
if (0 === (seen0 & 16))
|
|
745
|
+
$this.l1d_1 = null;
|
|
746
|
+
else
|
|
747
|
+
$this.l1d_1 = commerceCtas;
|
|
748
|
+
if (0 === (seen0 & 32))
|
|
749
|
+
$this.m1d_1 = null;
|
|
750
|
+
else
|
|
751
|
+
$this.m1d_1 = composerId;
|
|
752
|
+
if (0 === (seen0 & 64))
|
|
753
|
+
$this.n1d_1 = null;
|
|
754
|
+
else
|
|
755
|
+
$this.n1d_1 = contributors;
|
|
756
|
+
if (0 === (seen0 & 128))
|
|
757
|
+
$this.o1d_1 = null;
|
|
758
|
+
else
|
|
759
|
+
$this.o1d_1 = cuisineIds;
|
|
760
|
+
if (0 === (seen0 & 256))
|
|
761
|
+
$this.p1d_1 = null;
|
|
1591
762
|
else
|
|
1592
|
-
$this.
|
|
763
|
+
$this.p1d_1 = description;
|
|
764
|
+
if (0 === (seen0 & 512))
|
|
765
|
+
$this.q1d_1 = null;
|
|
766
|
+
else
|
|
767
|
+
$this.q1d_1 = difficultyLevel;
|
|
768
|
+
if (0 === (seen0 & 1024))
|
|
769
|
+
$this.r1d_1 = null;
|
|
770
|
+
else
|
|
771
|
+
$this.r1d_1 = featuredImage;
|
|
772
|
+
$this.s1d_1 = id;
|
|
773
|
+
if (0 === (seen0 & 4096))
|
|
774
|
+
$this.t1d_1 = null;
|
|
775
|
+
else
|
|
776
|
+
$this.t1d_1 = ingredients;
|
|
777
|
+
if (0 === (seen0 & 8192))
|
|
778
|
+
$this.u1d_1 = null;
|
|
779
|
+
else
|
|
780
|
+
$this.u1d_1 = instructions;
|
|
781
|
+
if (0 === (seen0 & 16384))
|
|
782
|
+
$this.v1d_1 = null;
|
|
783
|
+
else
|
|
784
|
+
$this.v1d_1 = isAppReady;
|
|
785
|
+
if (0 === (seen0 & 32768))
|
|
786
|
+
$this.w1d_1 = null;
|
|
787
|
+
else
|
|
788
|
+
$this.w1d_1 = mealTypeIds;
|
|
789
|
+
if (0 === (seen0 & 65536))
|
|
790
|
+
$this.x1d_1 = null;
|
|
791
|
+
else
|
|
792
|
+
$this.x1d_1 = serves;
|
|
793
|
+
if (0 === (seen0 & 131072))
|
|
794
|
+
$this.y1d_1 = null;
|
|
795
|
+
else
|
|
796
|
+
$this.y1d_1 = suitableForDietIds;
|
|
797
|
+
if (0 === (seen0 & 262144))
|
|
798
|
+
$this.z1d_1 = null;
|
|
799
|
+
else
|
|
800
|
+
$this.z1d_1 = techniquesUsedIds;
|
|
801
|
+
if (0 === (seen0 & 524288))
|
|
802
|
+
$this.a1e_1 = null;
|
|
803
|
+
else
|
|
804
|
+
$this.a1e_1 = timings;
|
|
805
|
+
if (0 === (seen0 & 1048576))
|
|
806
|
+
$this.b1e_1 = null;
|
|
807
|
+
else
|
|
808
|
+
$this.b1e_1 = title;
|
|
809
|
+
if (0 === (seen0 & 2097152))
|
|
810
|
+
$this.c1e_1 = null;
|
|
811
|
+
else
|
|
812
|
+
$this.c1e_1 = utensilsAndApplianceIds;
|
|
813
|
+
if (0 === (seen0 & 4194304))
|
|
814
|
+
$this.d1e_1 = null;
|
|
815
|
+
else
|
|
816
|
+
$this.d1e_1 = webPublicationDate;
|
|
1593
817
|
return $this;
|
|
1594
818
|
}
|
|
1595
|
-
function
|
|
1596
|
-
return
|
|
1597
|
-
}
|
|
1598
|
-
function IngredientElement(ingredientsList, recipeSection) {
|
|
1599
|
-
Companion_getInstance_2();
|
|
1600
|
-
ingredientsList = ingredientsList === VOID ? null : ingredientsList;
|
|
1601
|
-
recipeSection = recipeSection === VOID ? null : recipeSection;
|
|
1602
|
-
this.t1g_1 = ingredientsList;
|
|
1603
|
-
this.u1g_1 = recipeSection;
|
|
819
|
+
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) {
|
|
820
|
+
return 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, objectCreate(protoOf(RecipeV3)));
|
|
1604
821
|
}
|
|
1605
|
-
|
|
1606
|
-
|
|
822
|
+
function RecipeV3(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
|
|
823
|
+
Companion_getInstance();
|
|
824
|
+
bookCredit = bookCredit === VOID ? null : bookCredit;
|
|
825
|
+
byline = byline === VOID ? null : byline;
|
|
826
|
+
canonicalArticle = canonicalArticle === VOID ? null : canonicalArticle;
|
|
827
|
+
celebrationIds = celebrationIds === VOID ? null : celebrationIds;
|
|
828
|
+
commerceCtas = commerceCtas === VOID ? null : commerceCtas;
|
|
829
|
+
composerId = composerId === VOID ? null : composerId;
|
|
830
|
+
contributors = contributors === VOID ? null : contributors;
|
|
831
|
+
cuisineIds = cuisineIds === VOID ? null : cuisineIds;
|
|
832
|
+
description = description === VOID ? null : description;
|
|
833
|
+
difficultyLevel = difficultyLevel === VOID ? null : difficultyLevel;
|
|
834
|
+
featuredImage = featuredImage === VOID ? null : featuredImage;
|
|
835
|
+
ingredients = ingredients === VOID ? null : ingredients;
|
|
836
|
+
instructions = instructions === VOID ? null : instructions;
|
|
837
|
+
isAppReady = isAppReady === VOID ? null : isAppReady;
|
|
838
|
+
mealTypeIds = mealTypeIds === VOID ? null : mealTypeIds;
|
|
839
|
+
serves = serves === VOID ? null : serves;
|
|
840
|
+
suitableForDietIds = suitableForDietIds === VOID ? null : suitableForDietIds;
|
|
841
|
+
techniquesUsedIds = techniquesUsedIds === VOID ? null : techniquesUsedIds;
|
|
842
|
+
timings = timings === VOID ? null : timings;
|
|
843
|
+
title = title === VOID ? null : title;
|
|
844
|
+
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? null : utensilsAndApplianceIds;
|
|
845
|
+
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) {
|
|
871
|
+
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
|
+
};
|
|
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);
|
|
898
|
+
};
|
|
899
|
+
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 + ')';
|
|
1607
901
|
};
|
|
1608
|
-
protoOf(
|
|
1609
|
-
var result = this.
|
|
1610
|
-
result = imul(result, 31) + (this.
|
|
902
|
+
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;
|
|
1611
926
|
return result;
|
|
1612
927
|
};
|
|
1613
|
-
protoOf(
|
|
928
|
+
protoOf(RecipeV3).equals = function (other) {
|
|
1614
929
|
if (this === other)
|
|
1615
930
|
return true;
|
|
1616
|
-
if (!(other instanceof
|
|
931
|
+
if (!(other instanceof RecipeV3))
|
|
932
|
+
return false;
|
|
933
|
+
if (!(this.h1d_1 == other.h1d_1))
|
|
934
|
+
return false;
|
|
935
|
+
if (!equals(this.i1d_1, other.i1d_1))
|
|
936
|
+
return false;
|
|
937
|
+
if (!(this.j1d_1 == other.j1d_1))
|
|
938
|
+
return false;
|
|
939
|
+
if (!equals(this.k1d_1, other.k1d_1))
|
|
940
|
+
return false;
|
|
941
|
+
if (!equals(this.l1d_1, other.l1d_1))
|
|
942
|
+
return false;
|
|
943
|
+
if (!(this.m1d_1 == other.m1d_1))
|
|
944
|
+
return false;
|
|
945
|
+
if (!equals(this.n1d_1, other.n1d_1))
|
|
946
|
+
return false;
|
|
947
|
+
if (!equals(this.o1d_1, other.o1d_1))
|
|
948
|
+
return false;
|
|
949
|
+
if (!(this.p1d_1 == other.p1d_1))
|
|
950
|
+
return false;
|
|
951
|
+
if (!(this.q1d_1 == other.q1d_1))
|
|
952
|
+
return false;
|
|
953
|
+
if (!equals(this.r1d_1, other.r1d_1))
|
|
954
|
+
return false;
|
|
955
|
+
if (!(this.s1d_1 === other.s1d_1))
|
|
956
|
+
return false;
|
|
957
|
+
if (!equals(this.t1d_1, other.t1d_1))
|
|
1617
958
|
return false;
|
|
1618
|
-
if (!equals(this.
|
|
959
|
+
if (!equals(this.u1d_1, other.u1d_1))
|
|
960
|
+
return false;
|
|
961
|
+
if (!(this.v1d_1 == other.v1d_1))
|
|
962
|
+
return false;
|
|
963
|
+
if (!equals(this.w1d_1, other.w1d_1))
|
|
964
|
+
return false;
|
|
965
|
+
if (!equals(this.x1d_1, other.x1d_1))
|
|
966
|
+
return false;
|
|
967
|
+
if (!equals(this.y1d_1, other.y1d_1))
|
|
968
|
+
return false;
|
|
969
|
+
if (!equals(this.z1d_1, other.z1d_1))
|
|
970
|
+
return false;
|
|
971
|
+
if (!equals(this.a1e_1, other.a1e_1))
|
|
972
|
+
return false;
|
|
973
|
+
if (!(this.b1e_1 == other.b1e_1))
|
|
1619
974
|
return false;
|
|
1620
|
-
if (!(this.
|
|
975
|
+
if (!equals(this.c1e_1, other.c1e_1))
|
|
976
|
+
return false;
|
|
977
|
+
if (!(this.d1e_1 == other.d1e_1))
|
|
1621
978
|
return false;
|
|
1622
979
|
return true;
|
|
1623
980
|
};
|
|
1624
|
-
function
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
// Inline function 'kotlin.arrayOf' call
|
|
1632
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1633
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
1634
|
-
tmp.v1g_1 = [null, lazy(tmp_0, InstructionElement$Companion$$childSerializers$_anonymous__fr382k), null];
|
|
1635
|
-
}
|
|
1636
|
-
var Companion_instance_3;
|
|
1637
|
-
function Companion_getInstance_3() {
|
|
1638
|
-
if (Companion_instance_3 == null)
|
|
1639
|
-
new Companion_3();
|
|
1640
|
-
return Companion_instance_3;
|
|
1641
|
-
}
|
|
1642
|
-
function $serializer_4() {
|
|
1643
|
-
$serializer_instance_4 = this;
|
|
1644
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.InstructionElement', this, 3);
|
|
1645
|
-
tmp0_serialDesc.ws('description', false);
|
|
1646
|
-
tmp0_serialDesc.ws('images', true);
|
|
1647
|
-
tmp0_serialDesc.ws('stepNumber', true);
|
|
1648
|
-
this.w1g_1 = tmp0_serialDesc;
|
|
981
|
+
function $serializer_0() {
|
|
982
|
+
$serializer_instance_0 = this;
|
|
983
|
+
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;
|
|
1649
988
|
}
|
|
1650
|
-
protoOf($
|
|
1651
|
-
var tmp0_desc = this.
|
|
989
|
+
protoOf($serializer_0).b1f = function (encoder, value) {
|
|
990
|
+
var tmp0_desc = this.a1f_1;
|
|
1652
991
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
1653
|
-
|
|
1654
|
-
tmp1_output.bn(tmp0_desc,
|
|
1655
|
-
|
|
1656
|
-
tmp1_output.fn(tmp0_desc, 1, tmp2_cached[1].t1(), value.z1g_1);
|
|
1657
|
-
}
|
|
1658
|
-
if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.a1h_1 == null)) {
|
|
1659
|
-
tmp1_output.fn(tmp0_desc, 2, DoubleSerializer_getInstance(), value.a1h_1);
|
|
1660
|
-
}
|
|
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);
|
|
1661
995
|
tmp1_output.ol(tmp0_desc);
|
|
1662
996
|
};
|
|
1663
|
-
protoOf($
|
|
1664
|
-
return this.
|
|
997
|
+
protoOf($serializer_0).ri = function (encoder, value) {
|
|
998
|
+
return this.b1f(encoder, value instanceof CommerceCta ? value : THROW_CCE());
|
|
1665
999
|
};
|
|
1666
|
-
protoOf($
|
|
1667
|
-
var tmp0_desc = this.
|
|
1000
|
+
protoOf($serializer_0).si = function (decoder) {
|
|
1001
|
+
var tmp0_desc = this.a1f_1;
|
|
1668
1002
|
var tmp1_flag = true;
|
|
1669
1003
|
var tmp2_index = 0;
|
|
1670
1004
|
var tmp3_bitMask0 = 0;
|
|
@@ -1672,13 +1006,12 @@
|
|
|
1672
1006
|
var tmp5_local1 = null;
|
|
1673
1007
|
var tmp6_local2 = null;
|
|
1674
1008
|
var tmp7_input = decoder.nl(tmp0_desc);
|
|
1675
|
-
var tmp8_cached = Companion_getInstance_3().v1g_1;
|
|
1676
1009
|
if (tmp7_input.dm()) {
|
|
1677
1010
|
tmp4_local0 = tmp7_input.xl(tmp0_desc, 0);
|
|
1678
1011
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1679
|
-
tmp5_local1 = tmp7_input.
|
|
1012
|
+
tmp5_local1 = tmp7_input.xl(tmp0_desc, 1);
|
|
1680
1013
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1681
|
-
tmp6_local2 = tmp7_input.
|
|
1014
|
+
tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
|
|
1682
1015
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1683
1016
|
} else
|
|
1684
1017
|
while (tmp1_flag) {
|
|
@@ -1692,11 +1025,11 @@
|
|
|
1692
1025
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1693
1026
|
break;
|
|
1694
1027
|
case 1:
|
|
1695
|
-
tmp5_local1 = tmp7_input.
|
|
1028
|
+
tmp5_local1 = tmp7_input.xl(tmp0_desc, 1);
|
|
1696
1029
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1697
1030
|
break;
|
|
1698
1031
|
case 2:
|
|
1699
|
-
tmp6_local2 = tmp7_input.
|
|
1032
|
+
tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
|
|
1700
1033
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1701
1034
|
break;
|
|
1702
1035
|
default:
|
|
@@ -1704,526 +1037,453 @@
|
|
|
1704
1037
|
}
|
|
1705
1038
|
}
|
|
1706
1039
|
tmp7_input.ol(tmp0_desc);
|
|
1707
|
-
return
|
|
1040
|
+
return CommerceCta_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1708
1041
|
};
|
|
1709
|
-
protoOf($
|
|
1710
|
-
return this.
|
|
1042
|
+
protoOf($serializer_0).qi = function () {
|
|
1043
|
+
return this.a1f_1;
|
|
1711
1044
|
};
|
|
1712
|
-
protoOf($
|
|
1713
|
-
var tmp0_cached = Companion_getInstance_3().v1g_1;
|
|
1045
|
+
protoOf($serializer_0).ys = function () {
|
|
1714
1046
|
// Inline function 'kotlin.arrayOf' call
|
|
1715
1047
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1716
1048
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1717
|
-
return [StringSerializer_getInstance(),
|
|
1049
|
+
return [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
1718
1050
|
};
|
|
1719
|
-
var $
|
|
1720
|
-
function $
|
|
1721
|
-
if ($
|
|
1722
|
-
new $
|
|
1723
|
-
return $
|
|
1051
|
+
var $serializer_instance_0;
|
|
1052
|
+
function $serializer_getInstance_0() {
|
|
1053
|
+
if ($serializer_instance_0 == null)
|
|
1054
|
+
new $serializer_0();
|
|
1055
|
+
return $serializer_instance_0;
|
|
1724
1056
|
}
|
|
1725
|
-
function
|
|
1726
|
-
if (!(
|
|
1727
|
-
throwMissingFieldException(seen0,
|
|
1057
|
+
function CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, $this) {
|
|
1058
|
+
if (!(7 === (7 & seen0))) {
|
|
1059
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_0().a1f_1);
|
|
1728
1060
|
}
|
|
1729
|
-
$this.
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
else
|
|
1733
|
-
$this.z1g_1 = images;
|
|
1734
|
-
if (0 === (seen0 & 4))
|
|
1735
|
-
$this.a1h_1 = null;
|
|
1736
|
-
else
|
|
1737
|
-
$this.a1h_1 = stepNumber;
|
|
1061
|
+
$this.c1f_1 = sponsorName;
|
|
1062
|
+
$this.d1f_1 = territory;
|
|
1063
|
+
$this.e1f_1 = url;
|
|
1738
1064
|
return $this;
|
|
1739
1065
|
}
|
|
1740
|
-
function
|
|
1741
|
-
return
|
|
1066
|
+
function CommerceCta_init_$Create$(seen0, sponsorName, territory, url, serializationConstructorMarker) {
|
|
1067
|
+
return CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, objectCreate(protoOf(CommerceCta)));
|
|
1742
1068
|
}
|
|
1743
|
-
function
|
|
1744
|
-
Companion_getInstance_3();
|
|
1745
|
-
images = images === VOID ? null : images;
|
|
1746
|
-
stepNumber = stepNumber === VOID ? null : stepNumber;
|
|
1747
|
-
this.y1g_1 = description;
|
|
1748
|
-
this.z1g_1 = images;
|
|
1749
|
-
this.a1h_1 = stepNumber;
|
|
1069
|
+
function CommerceCta() {
|
|
1750
1070
|
}
|
|
1751
|
-
protoOf(
|
|
1752
|
-
return '
|
|
1071
|
+
protoOf(CommerceCta).toString = function () {
|
|
1072
|
+
return 'CommerceCta(sponsorName=' + this.c1f_1 + ', territory=' + this.d1f_1 + ', url=' + this.e1f_1 + ')';
|
|
1753
1073
|
};
|
|
1754
|
-
protoOf(
|
|
1755
|
-
var result = getStringHashCode(this.
|
|
1756
|
-
result = imul(result, 31) + (this.
|
|
1757
|
-
result = imul(result, 31) + (this.
|
|
1074
|
+
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;
|
|
1758
1078
|
return result;
|
|
1759
1079
|
};
|
|
1760
|
-
protoOf(
|
|
1080
|
+
protoOf(CommerceCta).equals = function (other) {
|
|
1761
1081
|
if (this === other)
|
|
1762
1082
|
return true;
|
|
1763
|
-
if (!(other instanceof
|
|
1083
|
+
if (!(other instanceof CommerceCta))
|
|
1764
1084
|
return false;
|
|
1765
|
-
if (!(this.
|
|
1085
|
+
if (!(this.c1f_1 === other.c1f_1))
|
|
1766
1086
|
return false;
|
|
1767
|
-
if (!
|
|
1087
|
+
if (!(this.d1f_1 === other.d1f_1))
|
|
1768
1088
|
return false;
|
|
1769
|
-
if (!
|
|
1089
|
+
if (!(this.e1f_1 === other.e1f_1))
|
|
1770
1090
|
return false;
|
|
1771
1091
|
return true;
|
|
1772
1092
|
};
|
|
1773
|
-
function $
|
|
1774
|
-
$
|
|
1775
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.
|
|
1776
|
-
tmp0_serialDesc.ws('
|
|
1777
|
-
tmp0_serialDesc.ws('
|
|
1778
|
-
tmp0_serialDesc.ws('
|
|
1779
|
-
|
|
1093
|
+
function $serializer_1() {
|
|
1094
|
+
$serializer_instance_1 = this;
|
|
1095
|
+
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;
|
|
1780
1105
|
}
|
|
1781
|
-
protoOf($
|
|
1782
|
-
var tmp0_desc = this.
|
|
1106
|
+
protoOf($serializer_1).g1f = function (encoder, value) {
|
|
1107
|
+
var tmp0_desc = this.f1f_1;
|
|
1783
1108
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
1784
|
-
if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.
|
|
1785
|
-
tmp1_output.fn(tmp0_desc, 0,
|
|
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);
|
|
1786
1118
|
}
|
|
1787
|
-
|
|
1788
|
-
|
|
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);
|
|
1789
1122
|
}
|
|
1790
|
-
tmp1_output.
|
|
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);
|
|
1791
1127
|
tmp1_output.ol(tmp0_desc);
|
|
1792
1128
|
};
|
|
1793
|
-
protoOf($
|
|
1794
|
-
return this.
|
|
1129
|
+
protoOf($serializer_1).ri = function (encoder, value) {
|
|
1130
|
+
return this.g1f(encoder, value instanceof Image ? value : THROW_CCE());
|
|
1795
1131
|
};
|
|
1796
|
-
protoOf($
|
|
1797
|
-
var tmp0_desc = this.
|
|
1132
|
+
protoOf($serializer_1).si = function (decoder) {
|
|
1133
|
+
var tmp0_desc = this.f1f_1;
|
|
1798
1134
|
var tmp1_flag = true;
|
|
1799
1135
|
var tmp2_index = 0;
|
|
1800
1136
|
var tmp3_bitMask0 = 0;
|
|
1801
1137
|
var tmp4_local0 = null;
|
|
1802
1138
|
var tmp5_local1 = null;
|
|
1803
1139
|
var tmp6_local2 = null;
|
|
1804
|
-
var
|
|
1805
|
-
|
|
1806
|
-
|
|
1140
|
+
var tmp7_local3 = null;
|
|
1141
|
+
var tmp8_local4 = null;
|
|
1142
|
+
var tmp9_local5 = null;
|
|
1143
|
+
var tmp10_local6 = null;
|
|
1144
|
+
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);
|
|
1807
1148
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1808
|
-
tmp5_local1 =
|
|
1149
|
+
tmp5_local1 = tmp12_input.xl(tmp0_desc, 1);
|
|
1809
1150
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1810
|
-
tmp6_local2 =
|
|
1151
|
+
tmp6_local2 = tmp12_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1811
1152
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1153
|
+
tmp7_local3 = tmp12_input.bm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
1154
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1155
|
+
tmp8_local4 = tmp12_input.xl(tmp0_desc, 4);
|
|
1156
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1157
|
+
tmp9_local5 = tmp12_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1158
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1159
|
+
tmp10_local6 = tmp12_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1160
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1161
|
+
tmp11_local7 = tmp12_input.xl(tmp0_desc, 7);
|
|
1162
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1812
1163
|
} else
|
|
1813
1164
|
while (tmp1_flag) {
|
|
1814
|
-
tmp2_index =
|
|
1165
|
+
tmp2_index = tmp12_input.em(tmp0_desc);
|
|
1815
1166
|
switch (tmp2_index) {
|
|
1816
1167
|
case -1:
|
|
1817
1168
|
tmp1_flag = false;
|
|
1818
1169
|
break;
|
|
1819
1170
|
case 0:
|
|
1820
|
-
tmp4_local0 =
|
|
1171
|
+
tmp4_local0 = tmp12_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1821
1172
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1822
1173
|
break;
|
|
1823
1174
|
case 1:
|
|
1824
|
-
tmp5_local1 =
|
|
1175
|
+
tmp5_local1 = tmp12_input.xl(tmp0_desc, 1);
|
|
1825
1176
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1826
1177
|
break;
|
|
1827
1178
|
case 2:
|
|
1828
|
-
tmp6_local2 =
|
|
1179
|
+
tmp6_local2 = tmp12_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1829
1180
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1830
1181
|
break;
|
|
1182
|
+
case 3:
|
|
1183
|
+
tmp7_local3 = tmp12_input.bm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
1184
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1185
|
+
break;
|
|
1186
|
+
case 4:
|
|
1187
|
+
tmp8_local4 = tmp12_input.xl(tmp0_desc, 4);
|
|
1188
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1189
|
+
break;
|
|
1190
|
+
case 5:
|
|
1191
|
+
tmp9_local5 = tmp12_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1192
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1193
|
+
break;
|
|
1194
|
+
case 6:
|
|
1195
|
+
tmp10_local6 = tmp12_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1196
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1197
|
+
break;
|
|
1198
|
+
case 7:
|
|
1199
|
+
tmp11_local7 = tmp12_input.xl(tmp0_desc, 7);
|
|
1200
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1201
|
+
break;
|
|
1831
1202
|
default:
|
|
1832
1203
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1833
1204
|
}
|
|
1834
1205
|
}
|
|
1835
|
-
|
|
1836
|
-
return
|
|
1206
|
+
tmp12_input.ol(tmp0_desc);
|
|
1207
|
+
return Image_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
1837
1208
|
};
|
|
1838
|
-
protoOf($
|
|
1839
|
-
return this.
|
|
1209
|
+
protoOf($serializer_1).qi = function () {
|
|
1210
|
+
return this.f1f_1;
|
|
1840
1211
|
};
|
|
1841
|
-
protoOf($
|
|
1212
|
+
protoOf($serializer_1).ys = function () {
|
|
1842
1213
|
// Inline function 'kotlin.arrayOf' call
|
|
1843
1214
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1844
1215
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1845
|
-
return [get_nullable(
|
|
1216
|
+
return [get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance()];
|
|
1846
1217
|
};
|
|
1847
|
-
var $
|
|
1848
|
-
function $
|
|
1849
|
-
if ($
|
|
1850
|
-
new $
|
|
1851
|
-
return $
|
|
1218
|
+
var $serializer_instance_1;
|
|
1219
|
+
function $serializer_getInstance_1() {
|
|
1220
|
+
if ($serializer_instance_1 == null)
|
|
1221
|
+
new $serializer_1();
|
|
1222
|
+
return $serializer_instance_1;
|
|
1852
1223
|
}
|
|
1853
|
-
function
|
|
1854
|
-
if (!(
|
|
1855
|
-
throwMissingFieldException(seen0,
|
|
1224
|
+
function Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, $this) {
|
|
1225
|
+
if (!(146 === (146 & seen0))) {
|
|
1226
|
+
throwMissingFieldException(seen0, 146, $serializer_getInstance_1().f1f_1);
|
|
1856
1227
|
}
|
|
1857
1228
|
if (0 === (seen0 & 1))
|
|
1858
|
-
$this.
|
|
1229
|
+
$this.h1f_1 = null;
|
|
1859
1230
|
else
|
|
1860
|
-
$this.
|
|
1861
|
-
|
|
1862
|
-
|
|
1231
|
+
$this.h1f_1 = caption;
|
|
1232
|
+
$this.i1f_1 = cropId;
|
|
1233
|
+
if (0 === (seen0 & 4))
|
|
1234
|
+
$this.j1f_1 = null;
|
|
1235
|
+
else
|
|
1236
|
+
$this.j1f_1 = imageType;
|
|
1237
|
+
if (0 === (seen0 & 8))
|
|
1238
|
+
$this.k1f_1 = null;
|
|
1239
|
+
else
|
|
1240
|
+
$this.k1f_1 = mediaApiUrl;
|
|
1241
|
+
$this.l1f_1 = mediaId;
|
|
1242
|
+
if (0 === (seen0 & 32))
|
|
1243
|
+
$this.m1f_1 = null;
|
|
1244
|
+
else
|
|
1245
|
+
$this.m1f_1 = photographer;
|
|
1246
|
+
if (0 === (seen0 & 64))
|
|
1247
|
+
$this.n1f_1 = null;
|
|
1863
1248
|
else
|
|
1864
|
-
$this.
|
|
1865
|
-
$this.
|
|
1249
|
+
$this.n1f_1 = source;
|
|
1250
|
+
$this.o1f_1 = url;
|
|
1866
1251
|
return $this;
|
|
1867
1252
|
}
|
|
1868
|
-
function
|
|
1869
|
-
return
|
|
1253
|
+
function Image_init_$Create$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker) {
|
|
1254
|
+
return Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, objectCreate(protoOf(Image)));
|
|
1870
1255
|
}
|
|
1871
|
-
function
|
|
1256
|
+
function Image() {
|
|
1872
1257
|
}
|
|
1873
|
-
protoOf(
|
|
1874
|
-
return '
|
|
1258
|
+
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 + ')';
|
|
1875
1260
|
};
|
|
1876
|
-
protoOf(
|
|
1877
|
-
var result = this.
|
|
1878
|
-
result = imul(result, 31) +
|
|
1879
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1261
|
+
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;
|
|
1880
1270
|
return result;
|
|
1881
1271
|
};
|
|
1882
|
-
protoOf(
|
|
1272
|
+
protoOf(Image).equals = function (other) {
|
|
1883
1273
|
if (this === other)
|
|
1884
1274
|
return true;
|
|
1885
|
-
if (!(other instanceof
|
|
1275
|
+
if (!(other instanceof Image))
|
|
1276
|
+
return false;
|
|
1277
|
+
if (!(this.h1f_1 == other.h1f_1))
|
|
1278
|
+
return false;
|
|
1279
|
+
if (!(this.i1f_1 === other.i1f_1))
|
|
1280
|
+
return false;
|
|
1281
|
+
if (!(this.j1f_1 == other.j1f_1))
|
|
1282
|
+
return false;
|
|
1283
|
+
if (!(this.k1f_1 == other.k1f_1))
|
|
1886
1284
|
return false;
|
|
1887
|
-
if (!
|
|
1285
|
+
if (!(this.l1f_1 === other.l1f_1))
|
|
1888
1286
|
return false;
|
|
1889
|
-
if (!(this.
|
|
1287
|
+
if (!(this.m1f_1 == other.m1f_1))
|
|
1288
|
+
return false;
|
|
1289
|
+
if (!(this.n1f_1 == other.n1f_1))
|
|
1890
1290
|
return false;
|
|
1891
|
-
if (!(this.
|
|
1291
|
+
if (!(this.o1f_1 === other.o1f_1))
|
|
1892
1292
|
return false;
|
|
1893
1293
|
return true;
|
|
1894
1294
|
};
|
|
1895
|
-
function
|
|
1295
|
+
function IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja() {
|
|
1296
|
+
return new ArrayListSerializer($serializer_getInstance_3());
|
|
1896
1297
|
}
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1298
|
+
function Companion_0() {
|
|
1299
|
+
Companion_instance_0 = this;
|
|
1300
|
+
var tmp = this;
|
|
1301
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1302
|
+
// Inline function 'kotlin.arrayOf' call
|
|
1303
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1304
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1305
|
+
tmp.p1f_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
|
|
1900
1306
|
}
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1307
|
+
var Companion_instance_0;
|
|
1308
|
+
function Companion_getInstance_0() {
|
|
1309
|
+
if (Companion_instance_0 == null)
|
|
1310
|
+
new Companion_0();
|
|
1311
|
+
return Companion_instance_0;
|
|
1312
|
+
}
|
|
1313
|
+
function $serializer_2() {
|
|
1314
|
+
$serializer_instance_2 = this;
|
|
1315
|
+
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;
|
|
1908
1319
|
}
|
|
1909
|
-
protoOf($
|
|
1910
|
-
var tmp0_desc = this.
|
|
1320
|
+
protoOf($serializer_2).r1f = function (encoder, value) {
|
|
1321
|
+
var tmp0_desc = this.q1f_1;
|
|
1911
1322
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
1912
|
-
|
|
1913
|
-
|
|
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);
|
|
1914
1326
|
}
|
|
1915
|
-
if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.
|
|
1916
|
-
tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1917
|
-
}
|
|
1918
|
-
if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.k1h_1 == null)) {
|
|
1919
|
-
tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.k1h_1);
|
|
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);
|
|
1920
1329
|
}
|
|
1921
1330
|
tmp1_output.ol(tmp0_desc);
|
|
1922
1331
|
};
|
|
1923
|
-
protoOf($
|
|
1924
|
-
return this.
|
|
1332
|
+
protoOf($serializer_2).ri = function (encoder, value) {
|
|
1333
|
+
return this.r1f(encoder, value instanceof IngredientsList ? value : THROW_CCE());
|
|
1925
1334
|
};
|
|
1926
|
-
protoOf($
|
|
1927
|
-
var tmp0_desc = this.
|
|
1335
|
+
protoOf($serializer_2).si = function (decoder) {
|
|
1336
|
+
var tmp0_desc = this.q1f_1;
|
|
1928
1337
|
var tmp1_flag = true;
|
|
1929
1338
|
var tmp2_index = 0;
|
|
1930
1339
|
var tmp3_bitMask0 = 0;
|
|
1931
1340
|
var tmp4_local0 = null;
|
|
1932
1341
|
var tmp5_local1 = null;
|
|
1933
|
-
var
|
|
1934
|
-
var
|
|
1935
|
-
if (
|
|
1936
|
-
tmp4_local0 =
|
|
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);
|
|
1937
1346
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1938
|
-
tmp5_local1 =
|
|
1347
|
+
tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1939
1348
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1940
|
-
tmp6_local2 = tmp7_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1941
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1942
1349
|
} else
|
|
1943
1350
|
while (tmp1_flag) {
|
|
1944
|
-
tmp2_index =
|
|
1351
|
+
tmp2_index = tmp6_input.em(tmp0_desc);
|
|
1945
1352
|
switch (tmp2_index) {
|
|
1946
1353
|
case -1:
|
|
1947
1354
|
tmp1_flag = false;
|
|
1948
1355
|
break;
|
|
1949
1356
|
case 0:
|
|
1950
|
-
tmp4_local0 =
|
|
1357
|
+
tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
|
|
1951
1358
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1952
1359
|
break;
|
|
1953
1360
|
case 1:
|
|
1954
|
-
tmp5_local1 =
|
|
1361
|
+
tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1955
1362
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1956
1363
|
break;
|
|
1957
|
-
case 2:
|
|
1958
|
-
tmp6_local2 = tmp7_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1959
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1960
|
-
break;
|
|
1961
1364
|
default:
|
|
1962
1365
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1963
1366
|
}
|
|
1964
1367
|
}
|
|
1965
|
-
|
|
1966
|
-
return
|
|
1368
|
+
tmp6_input.ol(tmp0_desc);
|
|
1369
|
+
return IngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1967
1370
|
};
|
|
1968
|
-
protoOf($
|
|
1969
|
-
return this.
|
|
1371
|
+
protoOf($serializer_2).qi = function () {
|
|
1372
|
+
return this.q1f_1;
|
|
1970
1373
|
};
|
|
1971
|
-
protoOf($
|
|
1374
|
+
protoOf($serializer_2).ys = function () {
|
|
1375
|
+
var tmp0_cached = Companion_getInstance_0().p1f_1;
|
|
1972
1376
|
// Inline function 'kotlin.arrayOf' call
|
|
1973
1377
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1974
1378
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1975
|
-
return [get_nullable(
|
|
1379
|
+
return [get_nullable(tmp0_cached[0].t1()), get_nullable(StringSerializer_getInstance())];
|
|
1976
1380
|
};
|
|
1977
|
-
var $
|
|
1978
|
-
function $
|
|
1979
|
-
if ($
|
|
1980
|
-
new $
|
|
1981
|
-
return $
|
|
1381
|
+
var $serializer_instance_2;
|
|
1382
|
+
function $serializer_getInstance_2() {
|
|
1383
|
+
if ($serializer_instance_2 == null)
|
|
1384
|
+
new $serializer_2();
|
|
1385
|
+
return $serializer_instance_2;
|
|
1982
1386
|
}
|
|
1983
|
-
function
|
|
1387
|
+
function IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, $this) {
|
|
1984
1388
|
if (!(0 === (0 & seen0))) {
|
|
1985
|
-
throwMissingFieldException(seen0, 0, $
|
|
1389
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_2().q1f_1);
|
|
1986
1390
|
}
|
|
1987
1391
|
if (0 === (seen0 & 1))
|
|
1988
|
-
$this.
|
|
1392
|
+
$this.e1e_1 = null;
|
|
1989
1393
|
else
|
|
1990
|
-
$this.
|
|
1394
|
+
$this.e1e_1 = ingredientsList;
|
|
1991
1395
|
if (0 === (seen0 & 2))
|
|
1992
|
-
$this.
|
|
1993
|
-
else
|
|
1994
|
-
$this.j1h_1 = qualifier;
|
|
1995
|
-
if (0 === (seen0 & 4))
|
|
1996
|
-
$this.k1h_1 = null;
|
|
1396
|
+
$this.f1e_1 = null;
|
|
1997
1397
|
else
|
|
1998
|
-
$this.
|
|
1398
|
+
$this.f1e_1 = recipeSection;
|
|
1999
1399
|
return $this;
|
|
2000
1400
|
}
|
|
2001
|
-
function
|
|
2002
|
-
return
|
|
1401
|
+
function IngredientsList_init_$Create$(seen0, ingredientsList, recipeSection, serializationConstructorMarker) {
|
|
1402
|
+
return IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, objectCreate(protoOf(IngredientsList)));
|
|
2003
1403
|
}
|
|
2004
|
-
function
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
this.
|
|
2009
|
-
this.
|
|
2010
|
-
this.k1h_1 = text;
|
|
1404
|
+
function IngredientsList(ingredientsList, recipeSection) {
|
|
1405
|
+
Companion_getInstance_0();
|
|
1406
|
+
ingredientsList = ingredientsList === VOID ? null : ingredientsList;
|
|
1407
|
+
recipeSection = recipeSection === VOID ? null : recipeSection;
|
|
1408
|
+
this.e1e_1 = ingredientsList;
|
|
1409
|
+
this.f1e_1 = recipeSection;
|
|
2011
1410
|
}
|
|
2012
|
-
protoOf(
|
|
2013
|
-
return '
|
|
1411
|
+
protoOf(IngredientsList).toString = function () {
|
|
1412
|
+
return 'IngredientsList(ingredientsList=' + toString(this.e1e_1) + ', recipeSection=' + this.f1e_1 + ')';
|
|
2014
1413
|
};
|
|
2015
|
-
protoOf(
|
|
2016
|
-
var result = this.
|
|
2017
|
-
result = imul(result, 31) + (this.
|
|
2018
|
-
result = imul(result, 31) + (this.k1h_1 == null ? 0 : getStringHashCode(this.k1h_1)) | 0;
|
|
1414
|
+
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;
|
|
2019
1417
|
return result;
|
|
2020
1418
|
};
|
|
2021
|
-
protoOf(
|
|
1419
|
+
protoOf(IngredientsList).equals = function (other) {
|
|
2022
1420
|
if (this === other)
|
|
2023
1421
|
return true;
|
|
2024
|
-
if (!(other instanceof
|
|
1422
|
+
if (!(other instanceof IngredientsList))
|
|
2025
1423
|
return false;
|
|
2026
|
-
if (!equals(this.
|
|
1424
|
+
if (!equals(this.e1e_1, other.e1e_1))
|
|
2027
1425
|
return false;
|
|
2028
|
-
if (!(this.
|
|
2029
|
-
return false;
|
|
2030
|
-
if (!(this.k1h_1 == other.k1h_1))
|
|
1426
|
+
if (!(this.f1e_1 == other.f1e_1))
|
|
2031
1427
|
return false;
|
|
2032
1428
|
return true;
|
|
2033
1429
|
};
|
|
2034
|
-
function
|
|
2035
|
-
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
2036
|
-
}
|
|
2037
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_0() {
|
|
2038
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
2039
|
-
}
|
|
2040
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_1() {
|
|
2041
|
-
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
2042
|
-
}
|
|
2043
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_2() {
|
|
2044
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
2045
|
-
}
|
|
2046
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_3() {
|
|
2047
|
-
return new ArrayListSerializer($serializer_getInstance_3());
|
|
2048
|
-
}
|
|
2049
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_4() {
|
|
2050
|
-
return new ArrayListSerializer($serializer_getInstance_8());
|
|
2051
|
-
}
|
|
2052
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_5() {
|
|
2053
|
-
return new ArrayListSerializer($serializer_getInstance_4());
|
|
2054
|
-
}
|
|
2055
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_6() {
|
|
2056
|
-
return new ArrayListSerializer($serializer_getInstance_10());
|
|
2057
|
-
}
|
|
2058
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_7() {
|
|
2059
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
2060
|
-
}
|
|
2061
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_8() {
|
|
2062
|
-
return new ArrayListSerializer($serializer_getInstance_5());
|
|
2063
|
-
}
|
|
2064
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_9() {
|
|
2065
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
2066
|
-
}
|
|
2067
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_10() {
|
|
2068
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
2069
|
-
}
|
|
2070
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11() {
|
|
2071
|
-
return new ArrayListSerializer($serializer_getInstance_6());
|
|
2072
|
-
}
|
|
2073
|
-
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_12() {
|
|
2074
|
-
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
2075
|
-
}
|
|
2076
|
-
function Companion_5() {
|
|
2077
|
-
Companion_instance_5 = this;
|
|
2078
|
-
var tmp = this;
|
|
2079
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2080
|
-
var tmp_1 = lazy(tmp_0, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn);
|
|
2081
|
-
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2082
|
-
var tmp_3 = lazy(tmp_2, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_0);
|
|
2083
|
-
var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2084
|
-
var tmp_5 = lazy(tmp_4, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_1);
|
|
2085
|
-
var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2086
|
-
var tmp_7 = lazy(tmp_6, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_2);
|
|
2087
|
-
var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2088
|
-
var tmp_9 = lazy(tmp_8, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_3);
|
|
2089
|
-
var tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2090
|
-
var tmp_11 = lazy(tmp_10, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_4);
|
|
2091
|
-
var tmp_12 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2092
|
-
var tmp_13 = lazy(tmp_12, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_5);
|
|
2093
|
-
var tmp_14 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2094
|
-
var tmp_15 = lazy(tmp_14, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_6);
|
|
2095
|
-
var tmp_16 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2096
|
-
var tmp_17 = lazy(tmp_16, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_7);
|
|
2097
|
-
var tmp_18 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2098
|
-
var tmp_19 = lazy(tmp_18, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_8);
|
|
2099
|
-
var tmp_20 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2100
|
-
var tmp_21 = lazy(tmp_20, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_9);
|
|
2101
|
-
var tmp_22 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2102
|
-
var tmp_23 = lazy(tmp_22, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_10);
|
|
2103
|
-
var tmp_24 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2104
|
-
var tmp_25 = lazy(tmp_24, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11);
|
|
2105
|
-
var tmp_26 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2106
|
-
// Inline function 'kotlin.arrayOf' call
|
|
2107
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
2108
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
2109
|
-
tmp.l1h_1 = [null, tmp_1, null, tmp_3, null, tmp_5, tmp_7, null, null, null, null, tmp_9, tmp_11, tmp_13, tmp_15, null, tmp_17, tmp_19, tmp_21, tmp_23, tmp_25, null, lazy(tmp_26, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_12), null];
|
|
2110
|
-
}
|
|
2111
|
-
var Companion_instance_5;
|
|
2112
|
-
function Companion_getInstance_5() {
|
|
2113
|
-
if (Companion_instance_5 == null)
|
|
2114
|
-
new Companion_5();
|
|
2115
|
-
return Companion_instance_5;
|
|
1430
|
+
function Companion_1() {
|
|
2116
1431
|
}
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
tmp0_serialDesc
|
|
2124
|
-
tmp0_serialDesc.ws('
|
|
2125
|
-
tmp0_serialDesc.ws('
|
|
2126
|
-
tmp0_serialDesc.ws('
|
|
2127
|
-
tmp0_serialDesc.ws('
|
|
2128
|
-
tmp0_serialDesc.ws('
|
|
2129
|
-
tmp0_serialDesc.ws('
|
|
2130
|
-
tmp0_serialDesc.ws('
|
|
2131
|
-
tmp0_serialDesc.ws('
|
|
2132
|
-
tmp0_serialDesc.ws('
|
|
2133
|
-
|
|
2134
|
-
tmp0_serialDesc.ws('instructionsTemplate', true);
|
|
2135
|
-
tmp0_serialDesc.ws('isAppReady', true);
|
|
2136
|
-
tmp0_serialDesc.ws('mealTypeIds', true);
|
|
2137
|
-
tmp0_serialDesc.ws('serves', true);
|
|
2138
|
-
tmp0_serialDesc.ws('suitableForDietIds', true);
|
|
2139
|
-
tmp0_serialDesc.ws('techniquesUsedIds', true);
|
|
2140
|
-
tmp0_serialDesc.ws('timings', true);
|
|
2141
|
-
tmp0_serialDesc.ws('title', true);
|
|
2142
|
-
tmp0_serialDesc.ws('utensilsAndApplianceIds', true);
|
|
2143
|
-
tmp0_serialDesc.ws('webPublicationDate', true);
|
|
2144
|
-
this.m1h_1 = tmp0_serialDesc;
|
|
1432
|
+
var Companion_instance_1;
|
|
1433
|
+
function Companion_getInstance_1() {
|
|
1434
|
+
return Companion_instance_1;
|
|
1435
|
+
}
|
|
1436
|
+
function $serializer_3() {
|
|
1437
|
+
$serializer_instance_3 = this;
|
|
1438
|
+
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;
|
|
2145
1449
|
}
|
|
2146
|
-
protoOf($
|
|
2147
|
-
var tmp0_desc = this.
|
|
1450
|
+
protoOf($serializer_3).t1f = function (encoder, value) {
|
|
1451
|
+
var tmp0_desc = this.s1f_1;
|
|
2148
1452
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
tmp1_output.fn(tmp0_desc, 0, StringSerializer_getInstance(), value.h1d_1);
|
|
2152
|
-
}
|
|
2153
|
-
if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.i1d_1 == null)) {
|
|
2154
|
-
tmp1_output.fn(tmp0_desc, 1, tmp2_cached[1].t1(), value.i1d_1);
|
|
2155
|
-
}
|
|
2156
|
-
if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.j1d_1 == null)) {
|
|
2157
|
-
tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.j1d_1);
|
|
2158
|
-
}
|
|
2159
|
-
if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.k1d_1 == null)) {
|
|
2160
|
-
tmp1_output.fn(tmp0_desc, 3, tmp2_cached[3].t1(), value.k1d_1);
|
|
2161
|
-
}
|
|
2162
|
-
if (tmp1_output.jn(tmp0_desc, 4) ? true : !(value.l1d_1 == null)) {
|
|
2163
|
-
tmp1_output.fn(tmp0_desc, 4, StringSerializer_getInstance(), value.l1d_1);
|
|
2164
|
-
}
|
|
2165
|
-
if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.m1d_1 == null)) {
|
|
2166
|
-
tmp1_output.fn(tmp0_desc, 5, tmp2_cached[5].t1(), value.m1d_1);
|
|
2167
|
-
}
|
|
2168
|
-
if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.n1d_1 == null)) {
|
|
2169
|
-
tmp1_output.fn(tmp0_desc, 6, tmp2_cached[6].t1(), value.n1d_1);
|
|
2170
|
-
}
|
|
2171
|
-
if (tmp1_output.jn(tmp0_desc, 7) ? true : !(value.o1d_1 == null)) {
|
|
2172
|
-
tmp1_output.fn(tmp0_desc, 7, StringSerializer_getInstance(), value.o1d_1);
|
|
2173
|
-
}
|
|
2174
|
-
if (tmp1_output.jn(tmp0_desc, 8) ? true : !(value.p1d_1 == null)) {
|
|
2175
|
-
tmp1_output.fn(tmp0_desc, 8, StringSerializer_getInstance(), value.p1d_1);
|
|
2176
|
-
}
|
|
2177
|
-
if (tmp1_output.jn(tmp0_desc, 9) ? true : !(value.q1d_1 == null)) {
|
|
2178
|
-
tmp1_output.fn(tmp0_desc, 9, $serializer_getInstance_2(), value.q1d_1);
|
|
2179
|
-
}
|
|
2180
|
-
tmp1_output.bn(tmp0_desc, 10, value.r1d_1);
|
|
2181
|
-
if (tmp1_output.jn(tmp0_desc, 11) ? true : !(value.s1d_1 == null)) {
|
|
2182
|
-
tmp1_output.fn(tmp0_desc, 11, tmp2_cached[11].t1(), value.s1d_1);
|
|
2183
|
-
}
|
|
2184
|
-
if (tmp1_output.jn(tmp0_desc, 12) ? true : !(value.t1d_1 == null)) {
|
|
2185
|
-
tmp1_output.fn(tmp0_desc, 12, tmp2_cached[12].t1(), value.t1d_1);
|
|
2186
|
-
}
|
|
2187
|
-
if (tmp1_output.jn(tmp0_desc, 13) ? true : !(value.u1d_1 == null)) {
|
|
2188
|
-
tmp1_output.fn(tmp0_desc, 13, tmp2_cached[13].t1(), value.u1d_1);
|
|
2189
|
-
}
|
|
2190
|
-
if (tmp1_output.jn(tmp0_desc, 14) ? true : !(value.v1d_1 == null)) {
|
|
2191
|
-
tmp1_output.fn(tmp0_desc, 14, tmp2_cached[14].t1(), value.v1d_1);
|
|
2192
|
-
}
|
|
2193
|
-
if (tmp1_output.jn(tmp0_desc, 15) ? true : !(value.w1d_1 == null)) {
|
|
2194
|
-
tmp1_output.fn(tmp0_desc, 15, BooleanSerializer_getInstance(), value.w1d_1);
|
|
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);
|
|
2195
1455
|
}
|
|
2196
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2197
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
2198
1458
|
}
|
|
2199
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2200
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
2201
1461
|
}
|
|
2202
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2203
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
2204
1464
|
}
|
|
2205
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2206
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
2207
1467
|
}
|
|
2208
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2209
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
2210
1470
|
}
|
|
2211
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2212
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
2213
1473
|
}
|
|
2214
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2215
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
2216
1476
|
}
|
|
2217
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2218
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
2219
1479
|
}
|
|
2220
1480
|
tmp1_output.ol(tmp0_desc);
|
|
2221
1481
|
};
|
|
2222
|
-
protoOf($
|
|
2223
|
-
return this.
|
|
1482
|
+
protoOf($serializer_3).ri = function (encoder, value) {
|
|
1483
|
+
return this.t1f(encoder, value instanceof IngredientItem ? value : THROW_CCE());
|
|
2224
1484
|
};
|
|
2225
|
-
protoOf($
|
|
2226
|
-
var tmp0_desc = this.
|
|
1485
|
+
protoOf($serializer_3).si = function (decoder) {
|
|
1486
|
+
var tmp0_desc = this.s1f_1;
|
|
2227
1487
|
var tmp1_flag = true;
|
|
2228
1488
|
var tmp2_index = 0;
|
|
2229
1489
|
var tmp3_bitMask0 = 0;
|
|
@@ -2236,873 +1496,664 @@
|
|
|
2236
1496
|
var tmp10_local6 = null;
|
|
2237
1497
|
var tmp11_local7 = null;
|
|
2238
1498
|
var tmp12_local8 = null;
|
|
2239
|
-
var
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
var tmp16_local12 = null;
|
|
2243
|
-
var tmp17_local13 = null;
|
|
2244
|
-
var tmp18_local14 = null;
|
|
2245
|
-
var tmp19_local15 = null;
|
|
2246
|
-
var tmp20_local16 = null;
|
|
2247
|
-
var tmp21_local17 = null;
|
|
2248
|
-
var tmp22_local18 = null;
|
|
2249
|
-
var tmp23_local19 = null;
|
|
2250
|
-
var tmp24_local20 = null;
|
|
2251
|
-
var tmp25_local21 = null;
|
|
2252
|
-
var tmp26_local22 = null;
|
|
2253
|
-
var tmp27_local23 = null;
|
|
2254
|
-
var tmp28_input = decoder.nl(tmp0_desc);
|
|
2255
|
-
var tmp29_cached = Companion_getInstance_5().l1h_1;
|
|
2256
|
-
if (tmp28_input.dm()) {
|
|
2257
|
-
tmp4_local0 = tmp28_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
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);
|
|
2258
1502
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2259
|
-
tmp5_local1 =
|
|
1503
|
+
tmp5_local1 = tmp13_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2260
1504
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2261
|
-
tmp6_local2 =
|
|
1505
|
+
tmp6_local2 = tmp13_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2262
1506
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2263
|
-
tmp7_local3 =
|
|
1507
|
+
tmp7_local3 = tmp13_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2264
1508
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2265
|
-
tmp8_local4 =
|
|
1509
|
+
tmp8_local4 = tmp13_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2266
1510
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2267
|
-
tmp9_local5 =
|
|
1511
|
+
tmp9_local5 = tmp13_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2268
1512
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2269
|
-
tmp10_local6 =
|
|
1513
|
+
tmp10_local6 = tmp13_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2270
1514
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2271
|
-
tmp11_local7 =
|
|
1515
|
+
tmp11_local7 = tmp13_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
2272
1516
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2273
|
-
tmp12_local8 =
|
|
1517
|
+
tmp12_local8 = tmp13_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
2274
1518
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2275
|
-
tmp13_local9 = tmp28_input.bm(tmp0_desc, 9, $serializer_getInstance_2(), tmp13_local9);
|
|
2276
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2277
|
-
tmp14_local10 = tmp28_input.xl(tmp0_desc, 10);
|
|
2278
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2279
|
-
tmp15_local11 = tmp28_input.bm(tmp0_desc, 11, tmp29_cached[11].t1(), tmp15_local11);
|
|
2280
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2281
|
-
tmp16_local12 = tmp28_input.bm(tmp0_desc, 12, tmp29_cached[12].t1(), tmp16_local12);
|
|
2282
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2283
|
-
tmp17_local13 = tmp28_input.bm(tmp0_desc, 13, tmp29_cached[13].t1(), tmp17_local13);
|
|
2284
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2285
|
-
tmp18_local14 = tmp28_input.bm(tmp0_desc, 14, tmp29_cached[14].t1(), tmp18_local14);
|
|
2286
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2287
|
-
tmp19_local15 = tmp28_input.bm(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
2288
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2289
|
-
tmp20_local16 = tmp28_input.bm(tmp0_desc, 16, tmp29_cached[16].t1(), tmp20_local16);
|
|
2290
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2291
|
-
tmp21_local17 = tmp28_input.bm(tmp0_desc, 17, tmp29_cached[17].t1(), tmp21_local17);
|
|
2292
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
2293
|
-
tmp22_local18 = tmp28_input.bm(tmp0_desc, 18, tmp29_cached[18].t1(), tmp22_local18);
|
|
2294
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
2295
|
-
tmp23_local19 = tmp28_input.bm(tmp0_desc, 19, tmp29_cached[19].t1(), tmp23_local19);
|
|
2296
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
2297
|
-
tmp24_local20 = tmp28_input.bm(tmp0_desc, 20, tmp29_cached[20].t1(), tmp24_local20);
|
|
2298
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
2299
|
-
tmp25_local21 = tmp28_input.bm(tmp0_desc, 21, StringSerializer_getInstance(), tmp25_local21);
|
|
2300
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
2301
|
-
tmp26_local22 = tmp28_input.bm(tmp0_desc, 22, tmp29_cached[22].t1(), tmp26_local22);
|
|
2302
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
2303
|
-
tmp27_local23 = tmp28_input.bm(tmp0_desc, 23, StringSerializer_getInstance(), tmp27_local23);
|
|
2304
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
2305
1519
|
} else
|
|
2306
1520
|
while (tmp1_flag) {
|
|
2307
|
-
tmp2_index =
|
|
1521
|
+
tmp2_index = tmp13_input.em(tmp0_desc);
|
|
2308
1522
|
switch (tmp2_index) {
|
|
2309
1523
|
case -1:
|
|
2310
1524
|
tmp1_flag = false;
|
|
2311
1525
|
break;
|
|
2312
1526
|
case 0:
|
|
2313
|
-
tmp4_local0 =
|
|
1527
|
+
tmp4_local0 = tmp13_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
2314
1528
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2315
1529
|
break;
|
|
2316
1530
|
case 1:
|
|
2317
|
-
tmp5_local1 =
|
|
1531
|
+
tmp5_local1 = tmp13_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2318
1532
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2319
1533
|
break;
|
|
2320
1534
|
case 2:
|
|
2321
|
-
tmp6_local2 =
|
|
1535
|
+
tmp6_local2 = tmp13_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2322
1536
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2323
1537
|
break;
|
|
2324
1538
|
case 3:
|
|
2325
|
-
tmp7_local3 =
|
|
1539
|
+
tmp7_local3 = tmp13_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2326
1540
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2327
1541
|
break;
|
|
2328
1542
|
case 4:
|
|
2329
|
-
tmp8_local4 =
|
|
1543
|
+
tmp8_local4 = tmp13_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2330
1544
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2331
1545
|
break;
|
|
2332
1546
|
case 5:
|
|
2333
|
-
tmp9_local5 =
|
|
1547
|
+
tmp9_local5 = tmp13_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2334
1548
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2335
1549
|
break;
|
|
2336
1550
|
case 6:
|
|
2337
|
-
tmp10_local6 =
|
|
1551
|
+
tmp10_local6 = tmp13_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2338
1552
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2339
1553
|
break;
|
|
2340
1554
|
case 7:
|
|
2341
|
-
tmp11_local7 =
|
|
1555
|
+
tmp11_local7 = tmp13_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
2342
1556
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2343
1557
|
break;
|
|
2344
1558
|
case 8:
|
|
2345
|
-
tmp12_local8 =
|
|
1559
|
+
tmp12_local8 = tmp13_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
2346
1560
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2347
1561
|
break;
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
1562
|
+
default:
|
|
1563
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
tmp13_input.ol(tmp0_desc);
|
|
1567
|
+
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
|
+
};
|
|
1569
|
+
protoOf($serializer_3).qi = function () {
|
|
1570
|
+
return this.s1f_1;
|
|
1571
|
+
};
|
|
1572
|
+
protoOf($serializer_3).ys = function () {
|
|
1573
|
+
// Inline function 'kotlin.arrayOf' call
|
|
1574
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1575
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1576
|
+
return [get_nullable($serializer_getInstance_4()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
1577
|
+
};
|
|
1578
|
+
var $serializer_instance_3;
|
|
1579
|
+
function $serializer_getInstance_3() {
|
|
1580
|
+
if ($serializer_instance_3 == null)
|
|
1581
|
+
new $serializer_3();
|
|
1582
|
+
return $serializer_instance_3;
|
|
1583
|
+
}
|
|
1584
|
+
function IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, $this) {
|
|
1585
|
+
if (!(0 === (0 & seen0))) {
|
|
1586
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_3().s1f_1);
|
|
1587
|
+
}
|
|
1588
|
+
if (0 === (seen0 & 1))
|
|
1589
|
+
$this.g1e_1 = null;
|
|
1590
|
+
else
|
|
1591
|
+
$this.g1e_1 = amount;
|
|
1592
|
+
if (0 === (seen0 & 2))
|
|
1593
|
+
$this.h1e_1 = null;
|
|
1594
|
+
else
|
|
1595
|
+
$this.h1e_1 = ingredientId;
|
|
1596
|
+
if (0 === (seen0 & 4))
|
|
1597
|
+
$this.i1e_1 = null;
|
|
1598
|
+
else
|
|
1599
|
+
$this.i1e_1 = name;
|
|
1600
|
+
if (0 === (seen0 & 8))
|
|
1601
|
+
$this.j1e_1 = null;
|
|
1602
|
+
else
|
|
1603
|
+
$this.j1e_1 = optional;
|
|
1604
|
+
if (0 === (seen0 & 16))
|
|
1605
|
+
$this.k1e_1 = null;
|
|
1606
|
+
else
|
|
1607
|
+
$this.k1e_1 = prefix;
|
|
1608
|
+
if (0 === (seen0 & 32))
|
|
1609
|
+
$this.l1e_1 = null;
|
|
1610
|
+
else
|
|
1611
|
+
$this.l1e_1 = suffix;
|
|
1612
|
+
if (0 === (seen0 & 64))
|
|
1613
|
+
$this.m1e_1 = null;
|
|
1614
|
+
else
|
|
1615
|
+
$this.m1e_1 = template;
|
|
1616
|
+
if (0 === (seen0 & 128))
|
|
1617
|
+
$this.n1e_1 = null;
|
|
1618
|
+
else
|
|
1619
|
+
$this.n1e_1 = text;
|
|
1620
|
+
if (0 === (seen0 & 256))
|
|
1621
|
+
$this.o1e_1 = null;
|
|
1622
|
+
else
|
|
1623
|
+
$this.o1e_1 = unit;
|
|
1624
|
+
return $this;
|
|
1625
|
+
}
|
|
1626
|
+
function IngredientItem_init_$Create$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker) {
|
|
1627
|
+
return IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, objectCreate(protoOf(IngredientItem)));
|
|
1628
|
+
}
|
|
1629
|
+
function IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
|
|
1630
|
+
amount = amount === VOID ? null : amount;
|
|
1631
|
+
ingredientId = ingredientId === VOID ? null : ingredientId;
|
|
1632
|
+
name = name === VOID ? null : name;
|
|
1633
|
+
optional = optional === VOID ? null : optional;
|
|
1634
|
+
prefix = prefix === VOID ? null : prefix;
|
|
1635
|
+
suffix = suffix === VOID ? null : suffix;
|
|
1636
|
+
template = template === VOID ? null : template;
|
|
1637
|
+
text = text === VOID ? null : text;
|
|
1638
|
+
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) {
|
|
1650
|
+
return new IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
|
|
1651
|
+
};
|
|
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);
|
|
1663
|
+
};
|
|
1664
|
+
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 + ')';
|
|
1666
|
+
};
|
|
1667
|
+
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;
|
|
1677
|
+
return result;
|
|
1678
|
+
};
|
|
1679
|
+
protoOf(IngredientItem).equals = function (other) {
|
|
1680
|
+
if (this === other)
|
|
1681
|
+
return true;
|
|
1682
|
+
if (!(other instanceof IngredientItem))
|
|
1683
|
+
return false;
|
|
1684
|
+
if (!equals(this.g1e_1, other.g1e_1))
|
|
1685
|
+
return false;
|
|
1686
|
+
if (!(this.h1e_1 == other.h1e_1))
|
|
1687
|
+
return false;
|
|
1688
|
+
if (!(this.i1e_1 == other.i1e_1))
|
|
1689
|
+
return false;
|
|
1690
|
+
if (!(this.j1e_1 == other.j1e_1))
|
|
1691
|
+
return false;
|
|
1692
|
+
if (!(this.k1e_1 == other.k1e_1))
|
|
1693
|
+
return false;
|
|
1694
|
+
if (!(this.l1e_1 == other.l1e_1))
|
|
1695
|
+
return false;
|
|
1696
|
+
if (!(this.m1e_1 == other.m1e_1))
|
|
1697
|
+
return false;
|
|
1698
|
+
if (!(this.n1e_1 == other.n1e_1))
|
|
1699
|
+
return false;
|
|
1700
|
+
if (!(this.o1e_1 == other.o1e_1))
|
|
1701
|
+
return false;
|
|
1702
|
+
return true;
|
|
1703
|
+
};
|
|
1704
|
+
function Companion_2() {
|
|
1705
|
+
}
|
|
1706
|
+
var Companion_instance_2;
|
|
1707
|
+
function Companion_getInstance_2() {
|
|
1708
|
+
return Companion_instance_2;
|
|
1709
|
+
}
|
|
1710
|
+
function $serializer_4() {
|
|
1711
|
+
$serializer_instance_4 = this;
|
|
1712
|
+
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;
|
|
1716
|
+
}
|
|
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);
|
|
1722
|
+
}
|
|
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);
|
|
1725
|
+
}
|
|
1726
|
+
tmp1_output.ol(tmp0_desc);
|
|
1727
|
+
};
|
|
1728
|
+
protoOf($serializer_4).ri = function (encoder, value) {
|
|
1729
|
+
return this.w1f(encoder, value instanceof Range ? value : THROW_CCE());
|
|
1730
|
+
};
|
|
1731
|
+
protoOf($serializer_4).si = function (decoder) {
|
|
1732
|
+
var tmp0_desc = this.v1f_1;
|
|
1733
|
+
var tmp1_flag = true;
|
|
1734
|
+
var tmp2_index = 0;
|
|
1735
|
+
var tmp3_bitMask0 = 0;
|
|
1736
|
+
var tmp4_local0 = null;
|
|
1737
|
+
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);
|
|
1741
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1742
|
+
tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
|
|
1743
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1744
|
+
} else
|
|
1745
|
+
while (tmp1_flag) {
|
|
1746
|
+
tmp2_index = tmp6_input.em(tmp0_desc);
|
|
1747
|
+
switch (tmp2_index) {
|
|
1748
|
+
case -1:
|
|
1749
|
+
tmp1_flag = false;
|
|
2399
1750
|
break;
|
|
2400
|
-
case
|
|
2401
|
-
|
|
2402
|
-
tmp3_bitMask0 = tmp3_bitMask0 |
|
|
1751
|
+
case 0:
|
|
1752
|
+
tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
|
|
1753
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2403
1754
|
break;
|
|
2404
|
-
case
|
|
2405
|
-
|
|
2406
|
-
tmp3_bitMask0 = tmp3_bitMask0 |
|
|
1755
|
+
case 1:
|
|
1756
|
+
tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
|
|
1757
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2407
1758
|
break;
|
|
2408
1759
|
default:
|
|
2409
1760
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2410
1761
|
}
|
|
2411
1762
|
}
|
|
2412
|
-
|
|
2413
|
-
return
|
|
1763
|
+
tmp6_input.ol(tmp0_desc);
|
|
1764
|
+
return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2414
1765
|
};
|
|
2415
|
-
protoOf($
|
|
2416
|
-
return this.
|
|
1766
|
+
protoOf($serializer_4).qi = function () {
|
|
1767
|
+
return this.v1f_1;
|
|
2417
1768
|
};
|
|
2418
|
-
protoOf($
|
|
2419
|
-
var tmp0_cached = Companion_getInstance_5().l1h_1;
|
|
1769
|
+
protoOf($serializer_4).ys = function () {
|
|
2420
1770
|
// Inline function 'kotlin.arrayOf' call
|
|
2421
1771
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2422
1772
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2423
|
-
return [get_nullable(
|
|
1773
|
+
return [get_nullable(DoubleSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance())];
|
|
2424
1774
|
};
|
|
2425
|
-
var $
|
|
2426
|
-
function $
|
|
2427
|
-
if ($
|
|
2428
|
-
new $
|
|
2429
|
-
return $
|
|
1775
|
+
var $serializer_instance_4;
|
|
1776
|
+
function $serializer_getInstance_4() {
|
|
1777
|
+
if ($serializer_instance_4 == null)
|
|
1778
|
+
new $serializer_4();
|
|
1779
|
+
return $serializer_instance_4;
|
|
2430
1780
|
}
|
|
2431
|
-
function
|
|
2432
|
-
if (!(
|
|
2433
|
-
throwMissingFieldException(seen0,
|
|
1781
|
+
function Range_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
|
|
1782
|
+
if (!(0 === (0 & seen0))) {
|
|
1783
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_4().v1f_1);
|
|
2434
1784
|
}
|
|
2435
1785
|
if (0 === (seen0 & 1))
|
|
2436
|
-
$this.
|
|
1786
|
+
$this.x1f_1 = null;
|
|
2437
1787
|
else
|
|
2438
|
-
$this.
|
|
1788
|
+
$this.x1f_1 = max;
|
|
2439
1789
|
if (0 === (seen0 & 2))
|
|
2440
|
-
$this.
|
|
2441
|
-
else
|
|
2442
|
-
$this.i1d_1 = byline;
|
|
2443
|
-
if (0 === (seen0 & 4))
|
|
2444
|
-
$this.j1d_1 = null;
|
|
2445
|
-
else
|
|
2446
|
-
$this.j1d_1 = canonicalArticle;
|
|
2447
|
-
if (0 === (seen0 & 8))
|
|
2448
|
-
$this.k1d_1 = null;
|
|
2449
|
-
else
|
|
2450
|
-
$this.k1d_1 = celebrationIDS;
|
|
2451
|
-
if (0 === (seen0 & 16))
|
|
2452
|
-
$this.l1d_1 = null;
|
|
2453
|
-
else
|
|
2454
|
-
$this.l1d_1 = composerID;
|
|
2455
|
-
if (0 === (seen0 & 32))
|
|
2456
|
-
$this.m1d_1 = null;
|
|
2457
|
-
else
|
|
2458
|
-
$this.m1d_1 = contributors;
|
|
2459
|
-
if (0 === (seen0 & 64))
|
|
2460
|
-
$this.n1d_1 = null;
|
|
2461
|
-
else
|
|
2462
|
-
$this.n1d_1 = cuisineIDS;
|
|
2463
|
-
if (0 === (seen0 & 128))
|
|
2464
|
-
$this.o1d_1 = null;
|
|
2465
|
-
else
|
|
2466
|
-
$this.o1d_1 = description;
|
|
2467
|
-
if (0 === (seen0 & 256))
|
|
2468
|
-
$this.p1d_1 = null;
|
|
2469
|
-
else
|
|
2470
|
-
$this.p1d_1 = difficultyLevel;
|
|
2471
|
-
if (0 === (seen0 & 512))
|
|
2472
|
-
$this.q1d_1 = null;
|
|
2473
|
-
else
|
|
2474
|
-
$this.q1d_1 = featuredImage;
|
|
2475
|
-
$this.r1d_1 = id;
|
|
2476
|
-
if (0 === (seen0 & 2048))
|
|
2477
|
-
$this.s1d_1 = null;
|
|
2478
|
-
else
|
|
2479
|
-
$this.s1d_1 = ingredients;
|
|
2480
|
-
if (0 === (seen0 & 4096))
|
|
2481
|
-
$this.t1d_1 = null;
|
|
2482
|
-
else
|
|
2483
|
-
$this.t1d_1 = ingredientsTemplate;
|
|
2484
|
-
if (0 === (seen0 & 8192))
|
|
2485
|
-
$this.u1d_1 = null;
|
|
2486
|
-
else
|
|
2487
|
-
$this.u1d_1 = instructions;
|
|
2488
|
-
if (0 === (seen0 & 16384))
|
|
2489
|
-
$this.v1d_1 = null;
|
|
2490
|
-
else
|
|
2491
|
-
$this.v1d_1 = instructionsTemplate;
|
|
2492
|
-
if (0 === (seen0 & 32768))
|
|
2493
|
-
$this.w1d_1 = null;
|
|
2494
|
-
else
|
|
2495
|
-
$this.w1d_1 = isAppReady;
|
|
2496
|
-
if (0 === (seen0 & 65536))
|
|
2497
|
-
$this.x1d_1 = null;
|
|
2498
|
-
else
|
|
2499
|
-
$this.x1d_1 = mealTypeIDS;
|
|
2500
|
-
if (0 === (seen0 & 131072))
|
|
2501
|
-
$this.y1d_1 = null;
|
|
2502
|
-
else
|
|
2503
|
-
$this.y1d_1 = serves;
|
|
2504
|
-
if (0 === (seen0 & 262144))
|
|
2505
|
-
$this.z1d_1 = null;
|
|
2506
|
-
else
|
|
2507
|
-
$this.z1d_1 = suitableForDietIDS;
|
|
2508
|
-
if (0 === (seen0 & 524288))
|
|
2509
|
-
$this.a1e_1 = null;
|
|
2510
|
-
else
|
|
2511
|
-
$this.a1e_1 = techniquesUsedIDS;
|
|
2512
|
-
if (0 === (seen0 & 1048576))
|
|
2513
|
-
$this.b1e_1 = null;
|
|
2514
|
-
else
|
|
2515
|
-
$this.b1e_1 = timings;
|
|
2516
|
-
if (0 === (seen0 & 2097152))
|
|
2517
|
-
$this.c1e_1 = null;
|
|
2518
|
-
else
|
|
2519
|
-
$this.c1e_1 = title;
|
|
2520
|
-
if (0 === (seen0 & 4194304))
|
|
2521
|
-
$this.d1e_1 = null;
|
|
2522
|
-
else
|
|
2523
|
-
$this.d1e_1 = utensilsAndApplianceIDS;
|
|
2524
|
-
if (0 === (seen0 & 8388608))
|
|
2525
|
-
$this.e1e_1 = null;
|
|
1790
|
+
$this.y1f_1 = null;
|
|
2526
1791
|
else
|
|
2527
|
-
$this.
|
|
1792
|
+
$this.y1f_1 = min;
|
|
2528
1793
|
return $this;
|
|
2529
1794
|
}
|
|
2530
|
-
function
|
|
2531
|
-
return
|
|
1795
|
+
function Range_init_$Create$(seen0, max, min, serializationConstructorMarker) {
|
|
1796
|
+
return Range_init_$Init$(seen0, max, min, serializationConstructorMarker, objectCreate(protoOf(Range)));
|
|
2532
1797
|
}
|
|
2533
|
-
function
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
celebrationIDS = celebrationIDS === VOID ? null : celebrationIDS;
|
|
2539
|
-
composerID = composerID === VOID ? null : composerID;
|
|
2540
|
-
contributors = contributors === VOID ? null : contributors;
|
|
2541
|
-
cuisineIDS = cuisineIDS === VOID ? null : cuisineIDS;
|
|
2542
|
-
description = description === VOID ? null : description;
|
|
2543
|
-
difficultyLevel = difficultyLevel === VOID ? null : difficultyLevel;
|
|
2544
|
-
featuredImage = featuredImage === VOID ? null : featuredImage;
|
|
2545
|
-
ingredients = ingredients === VOID ? null : ingredients;
|
|
2546
|
-
ingredientsTemplate = ingredientsTemplate === VOID ? null : ingredientsTemplate;
|
|
2547
|
-
instructions = instructions === VOID ? null : instructions;
|
|
2548
|
-
instructionsTemplate = instructionsTemplate === VOID ? null : instructionsTemplate;
|
|
2549
|
-
isAppReady = isAppReady === VOID ? null : isAppReady;
|
|
2550
|
-
mealTypeIDS = mealTypeIDS === VOID ? null : mealTypeIDS;
|
|
2551
|
-
serves = serves === VOID ? null : serves;
|
|
2552
|
-
suitableForDietIDS = suitableForDietIDS === VOID ? null : suitableForDietIDS;
|
|
2553
|
-
techniquesUsedIDS = techniquesUsedIDS === VOID ? null : techniquesUsedIDS;
|
|
2554
|
-
timings = timings === VOID ? null : timings;
|
|
2555
|
-
title = title === VOID ? null : title;
|
|
2556
|
-
utensilsAndApplianceIDS = utensilsAndApplianceIDS === VOID ? null : utensilsAndApplianceIDS;
|
|
2557
|
-
webPublicationDate = webPublicationDate === VOID ? null : webPublicationDate;
|
|
2558
|
-
this.h1d_1 = bookCredit;
|
|
2559
|
-
this.i1d_1 = byline;
|
|
2560
|
-
this.j1d_1 = canonicalArticle;
|
|
2561
|
-
this.k1d_1 = celebrationIDS;
|
|
2562
|
-
this.l1d_1 = composerID;
|
|
2563
|
-
this.m1d_1 = contributors;
|
|
2564
|
-
this.n1d_1 = cuisineIDS;
|
|
2565
|
-
this.o1d_1 = description;
|
|
2566
|
-
this.p1d_1 = difficultyLevel;
|
|
2567
|
-
this.q1d_1 = featuredImage;
|
|
2568
|
-
this.r1d_1 = id;
|
|
2569
|
-
this.s1d_1 = ingredients;
|
|
2570
|
-
this.t1d_1 = ingredientsTemplate;
|
|
2571
|
-
this.u1d_1 = instructions;
|
|
2572
|
-
this.v1d_1 = instructionsTemplate;
|
|
2573
|
-
this.w1d_1 = isAppReady;
|
|
2574
|
-
this.x1d_1 = mealTypeIDS;
|
|
2575
|
-
this.y1d_1 = serves;
|
|
2576
|
-
this.z1d_1 = suitableForDietIDS;
|
|
2577
|
-
this.a1e_1 = techniquesUsedIDS;
|
|
2578
|
-
this.b1e_1 = timings;
|
|
2579
|
-
this.c1e_1 = title;
|
|
2580
|
-
this.d1e_1 = utensilsAndApplianceIDS;
|
|
2581
|
-
this.e1e_1 = webPublicationDate;
|
|
1798
|
+
function Range(max, min) {
|
|
1799
|
+
max = max === VOID ? null : max;
|
|
1800
|
+
min = min === VOID ? null : min;
|
|
1801
|
+
this.x1f_1 = max;
|
|
1802
|
+
this.y1f_1 = min;
|
|
2582
1803
|
}
|
|
2583
|
-
protoOf(
|
|
2584
|
-
return '
|
|
1804
|
+
protoOf(Range).toString = function () {
|
|
1805
|
+
return 'Range(max=' + this.x1f_1 + ', min=' + this.y1f_1 + ')';
|
|
2585
1806
|
};
|
|
2586
|
-
protoOf(
|
|
2587
|
-
var result = this.
|
|
2588
|
-
result = imul(result, 31) + (this.
|
|
2589
|
-
result = imul(result, 31) + (this.j1d_1 == null ? 0 : getStringHashCode(this.j1d_1)) | 0;
|
|
2590
|
-
result = imul(result, 31) + (this.k1d_1 == null ? 0 : hashCode(this.k1d_1)) | 0;
|
|
2591
|
-
result = imul(result, 31) + (this.l1d_1 == null ? 0 : getStringHashCode(this.l1d_1)) | 0;
|
|
2592
|
-
result = imul(result, 31) + (this.m1d_1 == null ? 0 : hashCode(this.m1d_1)) | 0;
|
|
2593
|
-
result = imul(result, 31) + (this.n1d_1 == null ? 0 : hashCode(this.n1d_1)) | 0;
|
|
2594
|
-
result = imul(result, 31) + (this.o1d_1 == null ? 0 : getStringHashCode(this.o1d_1)) | 0;
|
|
2595
|
-
result = imul(result, 31) + (this.p1d_1 == null ? 0 : getStringHashCode(this.p1d_1)) | 0;
|
|
2596
|
-
result = imul(result, 31) + (this.q1d_1 == null ? 0 : this.q1d_1.hashCode()) | 0;
|
|
2597
|
-
result = imul(result, 31) + getStringHashCode(this.r1d_1) | 0;
|
|
2598
|
-
result = imul(result, 31) + (this.s1d_1 == null ? 0 : hashCode(this.s1d_1)) | 0;
|
|
2599
|
-
result = imul(result, 31) + (this.t1d_1 == null ? 0 : hashCode(this.t1d_1)) | 0;
|
|
2600
|
-
result = imul(result, 31) + (this.u1d_1 == null ? 0 : hashCode(this.u1d_1)) | 0;
|
|
2601
|
-
result = imul(result, 31) + (this.v1d_1 == null ? 0 : hashCode(this.v1d_1)) | 0;
|
|
2602
|
-
result = imul(result, 31) + (this.w1d_1 == null ? 0 : getBooleanHashCode(this.w1d_1)) | 0;
|
|
2603
|
-
result = imul(result, 31) + (this.x1d_1 == null ? 0 : hashCode(this.x1d_1)) | 0;
|
|
2604
|
-
result = imul(result, 31) + (this.y1d_1 == null ? 0 : hashCode(this.y1d_1)) | 0;
|
|
2605
|
-
result = imul(result, 31) + (this.z1d_1 == null ? 0 : hashCode(this.z1d_1)) | 0;
|
|
2606
|
-
result = imul(result, 31) + (this.a1e_1 == null ? 0 : hashCode(this.a1e_1)) | 0;
|
|
2607
|
-
result = imul(result, 31) + (this.b1e_1 == null ? 0 : hashCode(this.b1e_1)) | 0;
|
|
2608
|
-
result = imul(result, 31) + (this.c1e_1 == null ? 0 : getStringHashCode(this.c1e_1)) | 0;
|
|
2609
|
-
result = imul(result, 31) + (this.d1e_1 == null ? 0 : hashCode(this.d1e_1)) | 0;
|
|
2610
|
-
result = imul(result, 31) + (this.e1e_1 == null ? 0 : getStringHashCode(this.e1e_1)) | 0;
|
|
1807
|
+
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;
|
|
2611
1810
|
return result;
|
|
2612
1811
|
};
|
|
2613
|
-
protoOf(
|
|
1812
|
+
protoOf(Range).equals = function (other) {
|
|
2614
1813
|
if (this === other)
|
|
2615
1814
|
return true;
|
|
2616
|
-
if (!(other instanceof
|
|
2617
|
-
return false;
|
|
2618
|
-
if (!(this.h1d_1 == other.h1d_1))
|
|
2619
|
-
return false;
|
|
2620
|
-
if (!equals(this.i1d_1, other.i1d_1))
|
|
2621
|
-
return false;
|
|
2622
|
-
if (!(this.j1d_1 == other.j1d_1))
|
|
2623
|
-
return false;
|
|
2624
|
-
if (!equals(this.k1d_1, other.k1d_1))
|
|
2625
|
-
return false;
|
|
2626
|
-
if (!(this.l1d_1 == other.l1d_1))
|
|
2627
|
-
return false;
|
|
2628
|
-
if (!equals(this.m1d_1, other.m1d_1))
|
|
1815
|
+
if (!(other instanceof Range))
|
|
2629
1816
|
return false;
|
|
2630
|
-
if (!equals(this.
|
|
2631
|
-
return false;
|
|
2632
|
-
if (!(this.o1d_1 == other.o1d_1))
|
|
2633
|
-
return false;
|
|
2634
|
-
if (!(this.p1d_1 == other.p1d_1))
|
|
2635
|
-
return false;
|
|
2636
|
-
if (!equals(this.q1d_1, other.q1d_1))
|
|
2637
|
-
return false;
|
|
2638
|
-
if (!(this.r1d_1 === other.r1d_1))
|
|
2639
|
-
return false;
|
|
2640
|
-
if (!equals(this.s1d_1, other.s1d_1))
|
|
2641
|
-
return false;
|
|
2642
|
-
if (!equals(this.t1d_1, other.t1d_1))
|
|
2643
|
-
return false;
|
|
2644
|
-
if (!equals(this.u1d_1, other.u1d_1))
|
|
2645
|
-
return false;
|
|
2646
|
-
if (!equals(this.v1d_1, other.v1d_1))
|
|
2647
|
-
return false;
|
|
2648
|
-
if (!(this.w1d_1 == other.w1d_1))
|
|
2649
|
-
return false;
|
|
2650
|
-
if (!equals(this.x1d_1, other.x1d_1))
|
|
2651
|
-
return false;
|
|
2652
|
-
if (!equals(this.y1d_1, other.y1d_1))
|
|
2653
|
-
return false;
|
|
2654
|
-
if (!equals(this.z1d_1, other.z1d_1))
|
|
2655
|
-
return false;
|
|
2656
|
-
if (!equals(this.a1e_1, other.a1e_1))
|
|
2657
|
-
return false;
|
|
2658
|
-
if (!equals(this.b1e_1, other.b1e_1))
|
|
2659
|
-
return false;
|
|
2660
|
-
if (!(this.c1e_1 == other.c1e_1))
|
|
2661
|
-
return false;
|
|
2662
|
-
if (!equals(this.d1e_1, other.d1e_1))
|
|
1817
|
+
if (!equals(this.x1f_1, other.x1f_1))
|
|
2663
1818
|
return false;
|
|
2664
|
-
if (!(this.
|
|
1819
|
+
if (!equals(this.y1f_1, other.y1f_1))
|
|
2665
1820
|
return false;
|
|
2666
1821
|
return true;
|
|
2667
1822
|
};
|
|
2668
|
-
function
|
|
2669
|
-
return new ArrayListSerializer(
|
|
1823
|
+
function Instruction$Companion$$childSerializers$_anonymous__sbbefw() {
|
|
1824
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
2670
1825
|
}
|
|
2671
|
-
function
|
|
2672
|
-
|
|
1826
|
+
function Companion_3() {
|
|
1827
|
+
Companion_instance_3 = this;
|
|
2673
1828
|
var tmp = this;
|
|
2674
1829
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2675
1830
|
// Inline function 'kotlin.arrayOf' call
|
|
2676
1831
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2677
1832
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2678
|
-
tmp.
|
|
1833
|
+
tmp.z1f_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
|
|
2679
1834
|
}
|
|
2680
|
-
var
|
|
2681
|
-
function
|
|
2682
|
-
if (
|
|
2683
|
-
new
|
|
2684
|
-
return
|
|
1835
|
+
var Companion_instance_3;
|
|
1836
|
+
function Companion_getInstance_3() {
|
|
1837
|
+
if (Companion_instance_3 == null)
|
|
1838
|
+
new Companion_3();
|
|
1839
|
+
return Companion_instance_3;
|
|
2685
1840
|
}
|
|
2686
|
-
function $
|
|
2687
|
-
$
|
|
2688
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.
|
|
2689
|
-
tmp0_serialDesc.ws('
|
|
2690
|
-
tmp0_serialDesc.ws('
|
|
2691
|
-
|
|
1841
|
+
function $serializer_5() {
|
|
1842
|
+
$serializer_instance_5 = this;
|
|
1843
|
+
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;
|
|
2692
1849
|
}
|
|
2693
|
-
protoOf($
|
|
2694
|
-
var tmp0_desc = this.
|
|
1850
|
+
protoOf($serializer_5).b1g = function (encoder, value) {
|
|
1851
|
+
var tmp0_desc = this.a1g_1;
|
|
2695
1852
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
2696
|
-
var tmp2_cached =
|
|
2697
|
-
|
|
2698
|
-
|
|
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);
|
|
2699
1857
|
}
|
|
2700
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2701
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
1860
|
+
}
|
|
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);
|
|
2702
1863
|
}
|
|
2703
1864
|
tmp1_output.ol(tmp0_desc);
|
|
2704
1865
|
};
|
|
2705
|
-
protoOf($
|
|
2706
|
-
return this.
|
|
1866
|
+
protoOf($serializer_5).ri = function (encoder, value) {
|
|
1867
|
+
return this.b1g(encoder, value instanceof Instruction ? value : THROW_CCE());
|
|
2707
1868
|
};
|
|
2708
|
-
protoOf($
|
|
2709
|
-
var tmp0_desc = this.
|
|
1869
|
+
protoOf($serializer_5).si = function (decoder) {
|
|
1870
|
+
var tmp0_desc = this.a1g_1;
|
|
2710
1871
|
var tmp1_flag = true;
|
|
2711
1872
|
var tmp2_index = 0;
|
|
2712
1873
|
var tmp3_bitMask0 = 0;
|
|
2713
1874
|
var tmp4_local0 = null;
|
|
2714
1875
|
var tmp5_local1 = null;
|
|
2715
|
-
var
|
|
2716
|
-
var
|
|
2717
|
-
|
|
2718
|
-
|
|
1876
|
+
var tmp6_local2 = null;
|
|
1877
|
+
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);
|
|
2719
1882
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2720
|
-
tmp5_local1 =
|
|
1883
|
+
tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2721
1884
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1885
|
+
tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
|
|
1886
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1887
|
+
tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
|
|
1888
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2722
1889
|
} else
|
|
2723
1890
|
while (tmp1_flag) {
|
|
2724
|
-
tmp2_index =
|
|
1891
|
+
tmp2_index = tmp8_input.em(tmp0_desc);
|
|
2725
1892
|
switch (tmp2_index) {
|
|
2726
1893
|
case -1:
|
|
2727
1894
|
tmp1_flag = false;
|
|
2728
1895
|
break;
|
|
2729
1896
|
case 0:
|
|
2730
|
-
tmp4_local0 =
|
|
1897
|
+
tmp4_local0 = tmp8_input.xl(tmp0_desc, 0);
|
|
2731
1898
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2732
1899
|
break;
|
|
2733
1900
|
case 1:
|
|
2734
|
-
tmp5_local1 =
|
|
1901
|
+
tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2735
1902
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2736
1903
|
break;
|
|
1904
|
+
case 2:
|
|
1905
|
+
tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
|
|
1906
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1907
|
+
break;
|
|
1908
|
+
case 3:
|
|
1909
|
+
tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
|
|
1910
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1911
|
+
break;
|
|
2737
1912
|
default:
|
|
2738
1913
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2739
1914
|
}
|
|
2740
1915
|
}
|
|
2741
|
-
|
|
2742
|
-
return
|
|
1916
|
+
tmp8_input.ol(tmp0_desc);
|
|
1917
|
+
return Instruction_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2743
1918
|
};
|
|
2744
|
-
protoOf($
|
|
2745
|
-
return this.
|
|
1919
|
+
protoOf($serializer_5).qi = function () {
|
|
1920
|
+
return this.a1g_1;
|
|
2746
1921
|
};
|
|
2747
|
-
protoOf($
|
|
2748
|
-
var tmp0_cached =
|
|
1922
|
+
protoOf($serializer_5).ys = function () {
|
|
1923
|
+
var tmp0_cached = Companion_getInstance_3().z1f_1;
|
|
2749
1924
|
// Inline function 'kotlin.arrayOf' call
|
|
2750
1925
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2751
1926
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2752
|
-
return [get_nullable(tmp0_cached[
|
|
1927
|
+
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[2].t1()), get_nullable(DoubleSerializer_getInstance())];
|
|
2753
1928
|
};
|
|
2754
|
-
var $
|
|
2755
|
-
function $
|
|
2756
|
-
if ($
|
|
2757
|
-
new $
|
|
2758
|
-
return $
|
|
1929
|
+
var $serializer_instance_5;
|
|
1930
|
+
function $serializer_getInstance_5() {
|
|
1931
|
+
if ($serializer_instance_5 == null)
|
|
1932
|
+
new $serializer_5();
|
|
1933
|
+
return $serializer_instance_5;
|
|
2759
1934
|
}
|
|
2760
|
-
function
|
|
2761
|
-
if (!(
|
|
2762
|
-
throwMissingFieldException(seen0,
|
|
2763
|
-
}
|
|
2764
|
-
|
|
2765
|
-
$this.f1e_1 = null;
|
|
2766
|
-
else
|
|
2767
|
-
$this.f1e_1 = ingredientsList;
|
|
1935
|
+
function Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, $this) {
|
|
1936
|
+
if (!(1 === (1 & seen0))) {
|
|
1937
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_5().a1g_1);
|
|
1938
|
+
}
|
|
1939
|
+
$this.q1e_1 = description;
|
|
2768
1940
|
if (0 === (seen0 & 2))
|
|
2769
|
-
$this.
|
|
1941
|
+
$this.r1e_1 = null;
|
|
1942
|
+
else
|
|
1943
|
+
$this.r1e_1 = descriptionTemplate;
|
|
1944
|
+
if (0 === (seen0 & 4))
|
|
1945
|
+
$this.s1e_1 = null;
|
|
1946
|
+
else
|
|
1947
|
+
$this.s1e_1 = images;
|
|
1948
|
+
if (0 === (seen0 & 8))
|
|
1949
|
+
$this.t1e_1 = null;
|
|
2770
1950
|
else
|
|
2771
|
-
$this.
|
|
1951
|
+
$this.t1e_1 = stepNumber;
|
|
2772
1952
|
return $this;
|
|
2773
1953
|
}
|
|
2774
|
-
function
|
|
2775
|
-
return
|
|
1954
|
+
function Instruction_init_$Create$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker) {
|
|
1955
|
+
return Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, objectCreate(protoOf(Instruction)));
|
|
2776
1956
|
}
|
|
2777
|
-
function
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
this.
|
|
1957
|
+
function Instruction(description, descriptionTemplate, images, stepNumber) {
|
|
1958
|
+
Companion_getInstance_3();
|
|
1959
|
+
descriptionTemplate = descriptionTemplate === VOID ? null : descriptionTemplate;
|
|
1960
|
+
images = images === VOID ? null : images;
|
|
1961
|
+
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;
|
|
2783
1966
|
}
|
|
2784
|
-
protoOf(
|
|
2785
|
-
return
|
|
1967
|
+
protoOf(Instruction).c1g = function (description, descriptionTemplate, images, stepNumber) {
|
|
1968
|
+
return new Instruction(description, descriptionTemplate, images, stepNumber);
|
|
1969
|
+
};
|
|
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);
|
|
1976
|
+
};
|
|
1977
|
+
protoOf(Instruction).toString = function () {
|
|
1978
|
+
return 'Instruction(description=' + this.q1e_1 + ', descriptionTemplate=' + this.r1e_1 + ', images=' + toString(this.s1e_1) + ', stepNumber=' + this.t1e_1 + ')';
|
|
2786
1979
|
};
|
|
2787
|
-
protoOf(
|
|
2788
|
-
var result =
|
|
2789
|
-
result = imul(result, 31) + (this.
|
|
1980
|
+
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;
|
|
2790
1985
|
return result;
|
|
2791
1986
|
};
|
|
2792
|
-
protoOf(
|
|
1987
|
+
protoOf(Instruction).equals = function (other) {
|
|
2793
1988
|
if (this === other)
|
|
2794
1989
|
return true;
|
|
2795
|
-
if (!(other instanceof
|
|
1990
|
+
if (!(other instanceof Instruction))
|
|
1991
|
+
return false;
|
|
1992
|
+
if (!(this.q1e_1 === other.q1e_1))
|
|
1993
|
+
return false;
|
|
1994
|
+
if (!(this.r1e_1 == other.r1e_1))
|
|
2796
1995
|
return false;
|
|
2797
|
-
if (!equals(this.
|
|
1996
|
+
if (!equals(this.s1e_1, other.s1e_1))
|
|
2798
1997
|
return false;
|
|
2799
|
-
if (!(this.
|
|
1998
|
+
if (!equals(this.t1e_1, other.t1e_1))
|
|
2800
1999
|
return false;
|
|
2801
2000
|
return true;
|
|
2802
2001
|
};
|
|
2803
|
-
function
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
function Companion_getInstance_7() {
|
|
2807
|
-
return Companion_instance_7;
|
|
2808
|
-
}
|
|
2809
|
-
function $serializer_9() {
|
|
2810
|
-
$serializer_instance_9 = this;
|
|
2811
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsTemplateIngredientsList', this, 9);
|
|
2002
|
+
function $serializer_6() {
|
|
2003
|
+
$serializer_instance_6 = this;
|
|
2004
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Serves', this, 3);
|
|
2812
2005
|
tmp0_serialDesc.ws('amount', true);
|
|
2813
|
-
tmp0_serialDesc.ws('ingredientId', true);
|
|
2814
|
-
tmp0_serialDesc.ws('name', true);
|
|
2815
|
-
tmp0_serialDesc.ws('optional', true);
|
|
2816
|
-
tmp0_serialDesc.ws('prefix', true);
|
|
2817
|
-
tmp0_serialDesc.ws('suffix', true);
|
|
2818
2006
|
tmp0_serialDesc.ws('text', true);
|
|
2819
|
-
tmp0_serialDesc.ws('unit',
|
|
2820
|
-
|
|
2821
|
-
this.r1h_1 = tmp0_serialDesc;
|
|
2007
|
+
tmp0_serialDesc.ws('unit', false);
|
|
2008
|
+
this.d1g_1 = tmp0_serialDesc;
|
|
2822
2009
|
}
|
|
2823
|
-
protoOf($
|
|
2824
|
-
var tmp0_desc = this.
|
|
2010
|
+
protoOf($serializer_6).e1g = function (encoder, value) {
|
|
2011
|
+
var tmp0_desc = this.d1g_1;
|
|
2825
2012
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
2826
|
-
if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.
|
|
2827
|
-
tmp1_output.fn(tmp0_desc, 0, $
|
|
2828
|
-
}
|
|
2829
|
-
if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.i1e_1 == null)) {
|
|
2830
|
-
tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.i1e_1);
|
|
2831
|
-
}
|
|
2832
|
-
if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.j1e_1 == null)) {
|
|
2833
|
-
tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.j1e_1);
|
|
2834
|
-
}
|
|
2835
|
-
if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.k1e_1 == null)) {
|
|
2836
|
-
tmp1_output.fn(tmp0_desc, 3, BooleanSerializer_getInstance(), value.k1e_1);
|
|
2837
|
-
}
|
|
2838
|
-
if (tmp1_output.jn(tmp0_desc, 4) ? true : !(value.l1e_1 == null)) {
|
|
2839
|
-
tmp1_output.fn(tmp0_desc, 4, StringSerializer_getInstance(), value.l1e_1);
|
|
2840
|
-
}
|
|
2841
|
-
if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.m1e_1 == null)) {
|
|
2842
|
-
tmp1_output.fn(tmp0_desc, 5, StringSerializer_getInstance(), value.m1e_1);
|
|
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);
|
|
2843
2015
|
}
|
|
2844
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
2845
|
-
tmp1_output.fn(tmp0_desc,
|
|
2846
|
-
}
|
|
2847
|
-
if (tmp1_output.jn(tmp0_desc, 7) ? true : !(value.o1e_1 == null)) {
|
|
2848
|
-
tmp1_output.fn(tmp0_desc, 7, StringSerializer_getInstance(), value.o1e_1);
|
|
2849
|
-
}
|
|
2850
|
-
if (tmp1_output.jn(tmp0_desc, 8) ? true : !(value.p1e_1 == null)) {
|
|
2851
|
-
tmp1_output.fn(tmp0_desc, 8, StringSerializer_getInstance(), value.p1e_1);
|
|
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);
|
|
2852
2018
|
}
|
|
2019
|
+
tmp1_output.bn(tmp0_desc, 2, value.h1g_1);
|
|
2853
2020
|
tmp1_output.ol(tmp0_desc);
|
|
2854
2021
|
};
|
|
2855
|
-
protoOf($
|
|
2856
|
-
return this.
|
|
2022
|
+
protoOf($serializer_6).ri = function (encoder, value) {
|
|
2023
|
+
return this.e1g(encoder, value instanceof Serves ? value : THROW_CCE());
|
|
2857
2024
|
};
|
|
2858
|
-
protoOf($
|
|
2859
|
-
var tmp0_desc = this.
|
|
2025
|
+
protoOf($serializer_6).si = function (decoder) {
|
|
2026
|
+
var tmp0_desc = this.d1g_1;
|
|
2860
2027
|
var tmp1_flag = true;
|
|
2861
2028
|
var tmp2_index = 0;
|
|
2862
2029
|
var tmp3_bitMask0 = 0;
|
|
2863
2030
|
var tmp4_local0 = null;
|
|
2864
2031
|
var tmp5_local1 = null;
|
|
2865
2032
|
var tmp6_local2 = null;
|
|
2866
|
-
var
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
var tmp10_local6 = null;
|
|
2870
|
-
var tmp11_local7 = null;
|
|
2871
|
-
var tmp12_local8 = null;
|
|
2872
|
-
var tmp13_input = decoder.nl(tmp0_desc);
|
|
2873
|
-
if (tmp13_input.dm()) {
|
|
2874
|
-
tmp4_local0 = tmp13_input.bm(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
|
|
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);
|
|
2875
2036
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2876
|
-
tmp5_local1 =
|
|
2037
|
+
tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2877
2038
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2878
|
-
tmp6_local2 =
|
|
2039
|
+
tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
|
|
2879
2040
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2880
|
-
tmp7_local3 = tmp13_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2881
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2882
|
-
tmp8_local4 = tmp13_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2883
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2884
|
-
tmp9_local5 = tmp13_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2885
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2886
|
-
tmp10_local6 = tmp13_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2887
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2888
|
-
tmp11_local7 = tmp13_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
2889
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2890
|
-
tmp12_local8 = tmp13_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
2891
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2892
2041
|
} else
|
|
2893
2042
|
while (tmp1_flag) {
|
|
2894
|
-
tmp2_index =
|
|
2043
|
+
tmp2_index = tmp7_input.em(tmp0_desc);
|
|
2895
2044
|
switch (tmp2_index) {
|
|
2896
2045
|
case -1:
|
|
2897
2046
|
tmp1_flag = false;
|
|
2898
2047
|
break;
|
|
2899
2048
|
case 0:
|
|
2900
|
-
tmp4_local0 =
|
|
2049
|
+
tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
2901
2050
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2902
2051
|
break;
|
|
2903
2052
|
case 1:
|
|
2904
|
-
tmp5_local1 =
|
|
2053
|
+
tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2905
2054
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2906
2055
|
break;
|
|
2907
2056
|
case 2:
|
|
2908
|
-
tmp6_local2 =
|
|
2057
|
+
tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
|
|
2909
2058
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2910
2059
|
break;
|
|
2911
|
-
case 3:
|
|
2912
|
-
tmp7_local3 = tmp13_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2913
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2914
|
-
break;
|
|
2915
|
-
case 4:
|
|
2916
|
-
tmp8_local4 = tmp13_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2917
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2918
|
-
break;
|
|
2919
|
-
case 5:
|
|
2920
|
-
tmp9_local5 = tmp13_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2921
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2922
|
-
break;
|
|
2923
|
-
case 6:
|
|
2924
|
-
tmp10_local6 = tmp13_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2925
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2926
|
-
break;
|
|
2927
|
-
case 7:
|
|
2928
|
-
tmp11_local7 = tmp13_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
2929
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2930
|
-
break;
|
|
2931
|
-
case 8:
|
|
2932
|
-
tmp12_local8 = tmp13_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
2933
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2934
|
-
break;
|
|
2935
2060
|
default:
|
|
2936
2061
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2937
2062
|
}
|
|
2938
2063
|
}
|
|
2939
|
-
|
|
2940
|
-
return
|
|
2064
|
+
tmp7_input.ol(tmp0_desc);
|
|
2065
|
+
return Serves_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2941
2066
|
};
|
|
2942
|
-
protoOf($
|
|
2943
|
-
return this.
|
|
2067
|
+
protoOf($serializer_6).qi = function () {
|
|
2068
|
+
return this.d1g_1;
|
|
2944
2069
|
};
|
|
2945
|
-
protoOf($
|
|
2070
|
+
protoOf($serializer_6).ys = function () {
|
|
2946
2071
|
// Inline function 'kotlin.arrayOf' call
|
|
2947
2072
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2948
2073
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2949
|
-
return [get_nullable($
|
|
2074
|
+
return [get_nullable($serializer_getInstance_4()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance()];
|
|
2950
2075
|
};
|
|
2951
|
-
var $
|
|
2952
|
-
function $
|
|
2953
|
-
if ($
|
|
2954
|
-
new $
|
|
2955
|
-
return $
|
|
2076
|
+
var $serializer_instance_6;
|
|
2077
|
+
function $serializer_getInstance_6() {
|
|
2078
|
+
if ($serializer_instance_6 == null)
|
|
2079
|
+
new $serializer_6();
|
|
2080
|
+
return $serializer_instance_6;
|
|
2956
2081
|
}
|
|
2957
|
-
function
|
|
2958
|
-
if (!(
|
|
2959
|
-
throwMissingFieldException(seen0,
|
|
2082
|
+
function Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, $this) {
|
|
2083
|
+
if (!(4 === (4 & seen0))) {
|
|
2084
|
+
throwMissingFieldException(seen0, 4, $serializer_getInstance_6().d1g_1);
|
|
2960
2085
|
}
|
|
2961
2086
|
if (0 === (seen0 & 1))
|
|
2962
|
-
$this.
|
|
2087
|
+
$this.f1g_1 = null;
|
|
2963
2088
|
else
|
|
2964
|
-
$this.
|
|
2089
|
+
$this.f1g_1 = amount;
|
|
2965
2090
|
if (0 === (seen0 & 2))
|
|
2966
|
-
$this.
|
|
2967
|
-
else
|
|
2968
|
-
$this.i1e_1 = ingredientID;
|
|
2969
|
-
if (0 === (seen0 & 4))
|
|
2970
|
-
$this.j1e_1 = null;
|
|
2971
|
-
else
|
|
2972
|
-
$this.j1e_1 = name;
|
|
2973
|
-
if (0 === (seen0 & 8))
|
|
2974
|
-
$this.k1e_1 = null;
|
|
2975
|
-
else
|
|
2976
|
-
$this.k1e_1 = optional;
|
|
2977
|
-
if (0 === (seen0 & 16))
|
|
2978
|
-
$this.l1e_1 = null;
|
|
2979
|
-
else
|
|
2980
|
-
$this.l1e_1 = prefix;
|
|
2981
|
-
if (0 === (seen0 & 32))
|
|
2982
|
-
$this.m1e_1 = null;
|
|
2983
|
-
else
|
|
2984
|
-
$this.m1e_1 = suffix;
|
|
2985
|
-
if (0 === (seen0 & 64))
|
|
2986
|
-
$this.n1e_1 = null;
|
|
2987
|
-
else
|
|
2988
|
-
$this.n1e_1 = text;
|
|
2989
|
-
if (0 === (seen0 & 128))
|
|
2990
|
-
$this.o1e_1 = null;
|
|
2991
|
-
else
|
|
2992
|
-
$this.o1e_1 = unit;
|
|
2993
|
-
if (0 === (seen0 & 256))
|
|
2994
|
-
$this.p1e_1 = null;
|
|
2091
|
+
$this.g1g_1 = null;
|
|
2995
2092
|
else
|
|
2996
|
-
$this.
|
|
2093
|
+
$this.g1g_1 = text;
|
|
2094
|
+
$this.h1g_1 = unit;
|
|
2997
2095
|
return $this;
|
|
2998
2096
|
}
|
|
2999
|
-
function
|
|
3000
|
-
return
|
|
2097
|
+
function Serves_init_$Create$(seen0, amount, text, unit, serializationConstructorMarker) {
|
|
2098
|
+
return Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, objectCreate(protoOf(Serves)));
|
|
3001
2099
|
}
|
|
3002
|
-
function
|
|
3003
|
-
amount = amount === VOID ? null : amount;
|
|
3004
|
-
ingredientID = ingredientID === VOID ? null : ingredientID;
|
|
3005
|
-
name = name === VOID ? null : name;
|
|
3006
|
-
optional = optional === VOID ? null : optional;
|
|
3007
|
-
prefix = prefix === VOID ? null : prefix;
|
|
3008
|
-
suffix = suffix === VOID ? null : suffix;
|
|
3009
|
-
text = text === VOID ? null : text;
|
|
3010
|
-
unit = unit === VOID ? null : unit;
|
|
3011
|
-
template = template === VOID ? null : template;
|
|
3012
|
-
this.h1e_1 = amount;
|
|
3013
|
-
this.i1e_1 = ingredientID;
|
|
3014
|
-
this.j1e_1 = name;
|
|
3015
|
-
this.k1e_1 = optional;
|
|
3016
|
-
this.l1e_1 = prefix;
|
|
3017
|
-
this.m1e_1 = suffix;
|
|
3018
|
-
this.n1e_1 = text;
|
|
3019
|
-
this.o1e_1 = unit;
|
|
3020
|
-
this.p1e_1 = template;
|
|
2100
|
+
function Serves() {
|
|
3021
2101
|
}
|
|
3022
|
-
protoOf(
|
|
3023
|
-
return '
|
|
2102
|
+
protoOf(Serves).toString = function () {
|
|
2103
|
+
return 'Serves(amount=' + toString(this.f1g_1) + ', text=' + this.g1g_1 + ', unit=' + this.h1g_1 + ')';
|
|
3024
2104
|
};
|
|
3025
|
-
protoOf(
|
|
3026
|
-
var result = this.
|
|
3027
|
-
result = imul(result, 31) + (this.
|
|
3028
|
-
result = imul(result, 31) +
|
|
3029
|
-
result = imul(result, 31) + (this.k1e_1 == null ? 0 : getBooleanHashCode(this.k1e_1)) | 0;
|
|
3030
|
-
result = imul(result, 31) + (this.l1e_1 == null ? 0 : getStringHashCode(this.l1e_1)) | 0;
|
|
3031
|
-
result = imul(result, 31) + (this.m1e_1 == null ? 0 : getStringHashCode(this.m1e_1)) | 0;
|
|
3032
|
-
result = imul(result, 31) + (this.n1e_1 == null ? 0 : getStringHashCode(this.n1e_1)) | 0;
|
|
3033
|
-
result = imul(result, 31) + (this.o1e_1 == null ? 0 : getStringHashCode(this.o1e_1)) | 0;
|
|
3034
|
-
result = imul(result, 31) + (this.p1e_1 == null ? 0 : getStringHashCode(this.p1e_1)) | 0;
|
|
2105
|
+
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;
|
|
3035
2109
|
return result;
|
|
3036
2110
|
};
|
|
3037
|
-
protoOf(
|
|
2111
|
+
protoOf(Serves).equals = function (other) {
|
|
3038
2112
|
if (this === other)
|
|
3039
2113
|
return true;
|
|
3040
|
-
if (!(other instanceof
|
|
2114
|
+
if (!(other instanceof Serves))
|
|
3041
2115
|
return false;
|
|
3042
|
-
if (!equals(this.
|
|
2116
|
+
if (!equals(this.f1g_1, other.f1g_1))
|
|
3043
2117
|
return false;
|
|
3044
|
-
if (!(this.
|
|
3045
|
-
return false;
|
|
3046
|
-
if (!(this.j1e_1 == other.j1e_1))
|
|
3047
|
-
return false;
|
|
3048
|
-
if (!(this.k1e_1 == other.k1e_1))
|
|
3049
|
-
return false;
|
|
3050
|
-
if (!(this.l1e_1 == other.l1e_1))
|
|
3051
|
-
return false;
|
|
3052
|
-
if (!(this.m1e_1 == other.m1e_1))
|
|
3053
|
-
return false;
|
|
3054
|
-
if (!(this.n1e_1 == other.n1e_1))
|
|
3055
|
-
return false;
|
|
3056
|
-
if (!(this.o1e_1 == other.o1e_1))
|
|
2118
|
+
if (!(this.g1g_1 == other.g1g_1))
|
|
3057
2119
|
return false;
|
|
3058
|
-
if (!(this.
|
|
2120
|
+
if (!(this.h1g_1 === other.h1g_1))
|
|
3059
2121
|
return false;
|
|
3060
2122
|
return true;
|
|
3061
2123
|
};
|
|
3062
|
-
function
|
|
3063
|
-
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
2124
|
+
function Companion_4() {
|
|
3064
2125
|
}
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
if (Companion_instance_8 == null)
|
|
3077
|
-
new Companion_8();
|
|
3078
|
-
return Companion_instance_8;
|
|
3079
|
-
}
|
|
3080
|
-
function $serializer_10() {
|
|
3081
|
-
$serializer_instance_10 = this;
|
|
3082
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.InstructionsTemplateElement', this, 3);
|
|
3083
|
-
tmp0_serialDesc.ws('descriptionTemplate', false);
|
|
3084
|
-
tmp0_serialDesc.ws('images', true);
|
|
3085
|
-
tmp0_serialDesc.ws('stepNumber', true);
|
|
3086
|
-
this.u1h_1 = tmp0_serialDesc;
|
|
2126
|
+
var Companion_instance_4;
|
|
2127
|
+
function Companion_getInstance_4() {
|
|
2128
|
+
return Companion_instance_4;
|
|
2129
|
+
}
|
|
2130
|
+
function $serializer_7() {
|
|
2131
|
+
$serializer_instance_7 = this;
|
|
2132
|
+
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;
|
|
3087
2137
|
}
|
|
3088
|
-
protoOf($
|
|
3089
|
-
var tmp0_desc = this.
|
|
2138
|
+
protoOf($serializer_7).j1g = function (encoder, value) {
|
|
2139
|
+
var tmp0_desc = this.i1g_1;
|
|
3090
2140
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.r1e_1 == null)) {
|
|
3094
|
-
tmp1_output.fn(tmp0_desc, 1, tmp2_cached[1].t1(), value.r1e_1);
|
|
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);
|
|
3095
2143
|
}
|
|
3096
|
-
if (tmp1_output.jn(tmp0_desc,
|
|
3097
|
-
tmp1_output.fn(tmp0_desc,
|
|
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);
|
|
2146
|
+
}
|
|
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);
|
|
3098
2149
|
}
|
|
3099
2150
|
tmp1_output.ol(tmp0_desc);
|
|
3100
2151
|
};
|
|
3101
|
-
protoOf($
|
|
3102
|
-
return this.
|
|
2152
|
+
protoOf($serializer_7).ri = function (encoder, value) {
|
|
2153
|
+
return this.j1g(encoder, value instanceof Timing ? value : THROW_CCE());
|
|
3103
2154
|
};
|
|
3104
|
-
protoOf($
|
|
3105
|
-
var tmp0_desc = this.
|
|
2155
|
+
protoOf($serializer_7).si = function (decoder) {
|
|
2156
|
+
var tmp0_desc = this.i1g_1;
|
|
3106
2157
|
var tmp1_flag = true;
|
|
3107
2158
|
var tmp2_index = 0;
|
|
3108
2159
|
var tmp3_bitMask0 = 0;
|
|
@@ -3110,13 +2161,12 @@
|
|
|
3110
2161
|
var tmp5_local1 = null;
|
|
3111
2162
|
var tmp6_local2 = null;
|
|
3112
2163
|
var tmp7_input = decoder.nl(tmp0_desc);
|
|
3113
|
-
var tmp8_cached = Companion_getInstance_8().t1h_1;
|
|
3114
2164
|
if (tmp7_input.dm()) {
|
|
3115
|
-
tmp4_local0 = tmp7_input.
|
|
2165
|
+
tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
3116
2166
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3117
|
-
tmp5_local1 = tmp7_input.bm(tmp0_desc, 1,
|
|
2167
|
+
tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3118
2168
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3119
|
-
tmp6_local2 = tmp7_input.bm(tmp0_desc, 2,
|
|
2169
|
+
tmp6_local2 = tmp7_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3120
2170
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3121
2171
|
} else
|
|
3122
2172
|
while (tmp1_flag) {
|
|
@@ -3126,15 +2176,15 @@
|
|
|
3126
2176
|
tmp1_flag = false;
|
|
3127
2177
|
break;
|
|
3128
2178
|
case 0:
|
|
3129
|
-
tmp4_local0 = tmp7_input.
|
|
2179
|
+
tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
|
|
3130
2180
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3131
2181
|
break;
|
|
3132
2182
|
case 1:
|
|
3133
|
-
tmp5_local1 = tmp7_input.bm(tmp0_desc, 1,
|
|
2183
|
+
tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
3134
2184
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3135
2185
|
break;
|
|
3136
2186
|
case 2:
|
|
3137
|
-
tmp6_local2 = tmp7_input.bm(tmp0_desc, 2,
|
|
2187
|
+
tmp6_local2 = tmp7_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3138
2188
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3139
2189
|
break;
|
|
3140
2190
|
default:
|
|
@@ -3142,63 +2192,71 @@
|
|
|
3142
2192
|
}
|
|
3143
2193
|
}
|
|
3144
2194
|
tmp7_input.ol(tmp0_desc);
|
|
3145
|
-
return
|
|
2195
|
+
return Timing_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
3146
2196
|
};
|
|
3147
|
-
protoOf($
|
|
3148
|
-
return this.
|
|
2197
|
+
protoOf($serializer_7).qi = function () {
|
|
2198
|
+
return this.i1g_1;
|
|
3149
2199
|
};
|
|
3150
|
-
protoOf($
|
|
3151
|
-
var tmp0_cached = Companion_getInstance_8().t1h_1;
|
|
2200
|
+
protoOf($serializer_7).ys = function () {
|
|
3152
2201
|
// Inline function 'kotlin.arrayOf' call
|
|
3153
2202
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3154
2203
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3155
|
-
return [
|
|
2204
|
+
return [get_nullable($serializer_getInstance_4()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
3156
2205
|
};
|
|
3157
|
-
var $
|
|
3158
|
-
function $
|
|
3159
|
-
if ($
|
|
3160
|
-
new $
|
|
3161
|
-
return $
|
|
2206
|
+
var $serializer_instance_7;
|
|
2207
|
+
function $serializer_getInstance_7() {
|
|
2208
|
+
if ($serializer_instance_7 == null)
|
|
2209
|
+
new $serializer_7();
|
|
2210
|
+
return $serializer_instance_7;
|
|
3162
2211
|
}
|
|
3163
|
-
function
|
|
3164
|
-
if (!(
|
|
3165
|
-
throwMissingFieldException(seen0,
|
|
2212
|
+
function Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, $this) {
|
|
2213
|
+
if (!(0 === (0 & seen0))) {
|
|
2214
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_7().i1g_1);
|
|
3166
2215
|
}
|
|
3167
|
-
|
|
2216
|
+
if (0 === (seen0 & 1))
|
|
2217
|
+
$this.k1g_1 = null;
|
|
2218
|
+
else
|
|
2219
|
+
$this.k1g_1 = durationInMins;
|
|
3168
2220
|
if (0 === (seen0 & 2))
|
|
3169
|
-
$this.
|
|
2221
|
+
$this.l1g_1 = null;
|
|
3170
2222
|
else
|
|
3171
|
-
$this.
|
|
2223
|
+
$this.l1g_1 = qualifier;
|
|
3172
2224
|
if (0 === (seen0 & 4))
|
|
3173
|
-
$this.
|
|
2225
|
+
$this.m1g_1 = null;
|
|
3174
2226
|
else
|
|
3175
|
-
$this.
|
|
2227
|
+
$this.m1g_1 = text;
|
|
3176
2228
|
return $this;
|
|
3177
2229
|
}
|
|
3178
|
-
function
|
|
3179
|
-
return
|
|
2230
|
+
function Timing_init_$Create$(seen0, durationInMins, qualifier, text, serializationConstructorMarker) {
|
|
2231
|
+
return Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, objectCreate(protoOf(Timing)));
|
|
3180
2232
|
}
|
|
3181
|
-
function
|
|
2233
|
+
function Timing(durationInMins, qualifier, text) {
|
|
2234
|
+
durationInMins = durationInMins === VOID ? null : durationInMins;
|
|
2235
|
+
qualifier = qualifier === VOID ? null : qualifier;
|
|
2236
|
+
text = text === VOID ? null : text;
|
|
2237
|
+
this.k1g_1 = durationInMins;
|
|
2238
|
+
this.l1g_1 = qualifier;
|
|
2239
|
+
this.m1g_1 = text;
|
|
3182
2240
|
}
|
|
3183
|
-
protoOf(
|
|
3184
|
-
return '
|
|
2241
|
+
protoOf(Timing).toString = function () {
|
|
2242
|
+
return 'Timing(durationInMins=' + toString(this.k1g_1) + ', qualifier=' + this.l1g_1 + ', text=' + this.m1g_1 + ')';
|
|
3185
2243
|
};
|
|
3186
|
-
protoOf(
|
|
3187
|
-
var result =
|
|
3188
|
-
result = imul(result, 31) + (this.
|
|
3189
|
-
result = imul(result, 31) + (this.
|
|
2244
|
+
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;
|
|
3190
2248
|
return result;
|
|
3191
2249
|
};
|
|
3192
|
-
protoOf(
|
|
2250
|
+
protoOf(Timing).equals = function (other) {
|
|
3193
2251
|
if (this === other)
|
|
3194
2252
|
return true;
|
|
3195
|
-
if (!(other instanceof
|
|
2253
|
+
if (!(other instanceof Timing))
|
|
3196
2254
|
return false;
|
|
3197
|
-
if (!(this.
|
|
2255
|
+
if (!equals(this.k1g_1, other.k1g_1))
|
|
3198
2256
|
return false;
|
|
3199
|
-
if (!
|
|
2257
|
+
if (!(this.l1g_1 == other.l1g_1))
|
|
3200
2258
|
return false;
|
|
3201
|
-
if (!
|
|
2259
|
+
if (!(this.m1g_1 == other.m1g_1))
|
|
3202
2260
|
return false;
|
|
3203
2261
|
return true;
|
|
3204
2262
|
};
|
|
@@ -3292,12 +2350,12 @@
|
|
|
3292
2350
|
protoOf(TemplateConst).cd = function () {
|
|
3293
2351
|
return this.value;
|
|
3294
2352
|
};
|
|
3295
|
-
protoOf(TemplateConst).
|
|
2353
|
+
protoOf(TemplateConst).n1g = function (value) {
|
|
3296
2354
|
return new TemplateConst(value);
|
|
3297
2355
|
};
|
|
3298
2356
|
protoOf(TemplateConst).copy = function (value, $super) {
|
|
3299
2357
|
value = value === VOID ? this.value : value;
|
|
3300
|
-
return $super === VOID ? this.
|
|
2358
|
+
return $super === VOID ? this.n1g(value) : $super.n1g.call(this, value);
|
|
3301
2359
|
};
|
|
3302
2360
|
protoOf(TemplateConst).toString = function () {
|
|
3303
2361
|
return 'TemplateConst(value=' + this.value + ')';
|
|
@@ -3314,26 +2372,26 @@
|
|
|
3314
2372
|
return false;
|
|
3315
2373
|
return true;
|
|
3316
2374
|
};
|
|
3317
|
-
function
|
|
2375
|
+
function Companion_5() {
|
|
3318
2376
|
}
|
|
3319
|
-
protoOf(
|
|
3320
|
-
return $
|
|
2377
|
+
protoOf(Companion_5).i14 = function () {
|
|
2378
|
+
return $serializer_getInstance_8();
|
|
3321
2379
|
};
|
|
3322
|
-
var
|
|
3323
|
-
function
|
|
3324
|
-
return
|
|
2380
|
+
var Companion_instance_5;
|
|
2381
|
+
function Companion_getInstance_5() {
|
|
2382
|
+
return Companion_instance_5;
|
|
3325
2383
|
}
|
|
3326
|
-
function $
|
|
3327
|
-
$
|
|
2384
|
+
function $serializer_8() {
|
|
2385
|
+
$serializer_instance_8 = this;
|
|
3328
2386
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.QuantityPlaceholder', this, 4);
|
|
3329
2387
|
tmp0_serialDesc.ws('min', false);
|
|
3330
2388
|
tmp0_serialDesc.ws('max', true);
|
|
3331
2389
|
tmp0_serialDesc.ws('unit', true);
|
|
3332
2390
|
tmp0_serialDesc.ws('scale', true);
|
|
3333
|
-
this.
|
|
2391
|
+
this.o1g_1 = tmp0_serialDesc;
|
|
3334
2392
|
}
|
|
3335
|
-
protoOf($
|
|
3336
|
-
var tmp0_desc = this.
|
|
2393
|
+
protoOf($serializer_8).p1g = function (encoder, value) {
|
|
2394
|
+
var tmp0_desc = this.o1g_1;
|
|
3337
2395
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
3338
2396
|
tmp1_output.ym(tmp0_desc, 0, value.min);
|
|
3339
2397
|
if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.max == null)) {
|
|
@@ -3347,11 +2405,11 @@
|
|
|
3347
2405
|
}
|
|
3348
2406
|
tmp1_output.ol(tmp0_desc);
|
|
3349
2407
|
};
|
|
3350
|
-
protoOf($
|
|
3351
|
-
return this.
|
|
2408
|
+
protoOf($serializer_8).ri = function (encoder, value) {
|
|
2409
|
+
return this.p1g(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
|
|
3352
2410
|
};
|
|
3353
|
-
protoOf($
|
|
3354
|
-
var tmp0_desc = this.
|
|
2411
|
+
protoOf($serializer_8).si = function (decoder) {
|
|
2412
|
+
var tmp0_desc = this.o1g_1;
|
|
3355
2413
|
var tmp1_flag = true;
|
|
3356
2414
|
var tmp2_index = 0;
|
|
3357
2415
|
var tmp3_bitMask0 = 0;
|
|
@@ -3399,24 +2457,24 @@
|
|
|
3399
2457
|
tmp8_input.ol(tmp0_desc);
|
|
3400
2458
|
return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
3401
2459
|
};
|
|
3402
|
-
protoOf($
|
|
3403
|
-
return this.
|
|
2460
|
+
protoOf($serializer_8).qi = function () {
|
|
2461
|
+
return this.o1g_1;
|
|
3404
2462
|
};
|
|
3405
|
-
protoOf($
|
|
2463
|
+
protoOf($serializer_8).ys = function () {
|
|
3406
2464
|
// Inline function 'kotlin.arrayOf' call
|
|
3407
2465
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3408
2466
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3409
2467
|
return [FloatSerializer_getInstance(), get_nullable(FloatSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), BooleanSerializer_getInstance()];
|
|
3410
2468
|
};
|
|
3411
|
-
var $
|
|
3412
|
-
function $
|
|
3413
|
-
if ($
|
|
3414
|
-
new $
|
|
3415
|
-
return $
|
|
2469
|
+
var $serializer_instance_8;
|
|
2470
|
+
function $serializer_getInstance_8() {
|
|
2471
|
+
if ($serializer_instance_8 == null)
|
|
2472
|
+
new $serializer_8();
|
|
2473
|
+
return $serializer_instance_8;
|
|
3416
2474
|
}
|
|
3417
2475
|
function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, serializationConstructorMarker, $this) {
|
|
3418
2476
|
if (!(1 === (1 & seen0))) {
|
|
3419
|
-
throwMissingFieldException(seen0, 1, $
|
|
2477
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_8().o1g_1);
|
|
3420
2478
|
}
|
|
3421
2479
|
$this.min = min;
|
|
3422
2480
|
if (0 === (seen0 & 2))
|
|
@@ -3445,16 +2503,16 @@
|
|
|
3445
2503
|
this.unit = unit;
|
|
3446
2504
|
this.scale = scale;
|
|
3447
2505
|
}
|
|
3448
|
-
protoOf(QuantityPlaceholder).
|
|
2506
|
+
protoOf(QuantityPlaceholder).q1g = function () {
|
|
3449
2507
|
return this.min;
|
|
3450
2508
|
};
|
|
3451
|
-
protoOf(QuantityPlaceholder).
|
|
2509
|
+
protoOf(QuantityPlaceholder).r1g = function () {
|
|
3452
2510
|
return this.max;
|
|
3453
2511
|
};
|
|
3454
|
-
protoOf(QuantityPlaceholder).
|
|
2512
|
+
protoOf(QuantityPlaceholder).s1g = function () {
|
|
3455
2513
|
return this.unit;
|
|
3456
2514
|
};
|
|
3457
|
-
protoOf(QuantityPlaceholder).
|
|
2515
|
+
protoOf(QuantityPlaceholder).t1g = function () {
|
|
3458
2516
|
return this.scale;
|
|
3459
2517
|
};
|
|
3460
2518
|
protoOf(QuantityPlaceholder).cd = function () {
|
|
@@ -3463,13 +2521,13 @@
|
|
|
3463
2521
|
protoOf(QuantityPlaceholder).dd = function () {
|
|
3464
2522
|
return this.max;
|
|
3465
2523
|
};
|
|
3466
|
-
protoOf(QuantityPlaceholder).
|
|
2524
|
+
protoOf(QuantityPlaceholder).u1g = function () {
|
|
3467
2525
|
return this.unit;
|
|
3468
2526
|
};
|
|
3469
|
-
protoOf(QuantityPlaceholder).
|
|
2527
|
+
protoOf(QuantityPlaceholder).v1g = function () {
|
|
3470
2528
|
return this.scale;
|
|
3471
2529
|
};
|
|
3472
|
-
protoOf(QuantityPlaceholder).
|
|
2530
|
+
protoOf(QuantityPlaceholder).w1g = function (min, max, unit, scale) {
|
|
3473
2531
|
return new QuantityPlaceholder(min, max, unit, scale);
|
|
3474
2532
|
};
|
|
3475
2533
|
protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, $super) {
|
|
@@ -3477,7 +2535,7 @@
|
|
|
3477
2535
|
max = max === VOID ? this.max : max;
|
|
3478
2536
|
unit = unit === VOID ? this.unit : unit;
|
|
3479
2537
|
scale = scale === VOID ? this.scale : scale;
|
|
3480
|
-
return $super === VOID ? this.
|
|
2538
|
+
return $super === VOID ? this.w1g(min, max, unit, scale) : $super.w1g.call(this, min, max, unit, scale);
|
|
3481
2539
|
};
|
|
3482
2540
|
protoOf(QuantityPlaceholder).toString = function () {
|
|
3483
2541
|
return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ')';
|
|
@@ -3504,26 +2562,26 @@
|
|
|
3504
2562
|
return false;
|
|
3505
2563
|
return true;
|
|
3506
2564
|
};
|
|
3507
|
-
function
|
|
2565
|
+
function Companion_6() {
|
|
3508
2566
|
}
|
|
3509
|
-
protoOf(
|
|
3510
|
-
return $
|
|
2567
|
+
protoOf(Companion_6).i14 = function () {
|
|
2568
|
+
return $serializer_getInstance_9();
|
|
3511
2569
|
};
|
|
3512
|
-
var
|
|
3513
|
-
function
|
|
3514
|
-
return
|
|
2570
|
+
var Companion_instance_6;
|
|
2571
|
+
function Companion_getInstance_6() {
|
|
2572
|
+
return Companion_instance_6;
|
|
3515
2573
|
}
|
|
3516
|
-
function $
|
|
3517
|
-
$
|
|
2574
|
+
function $serializer_9() {
|
|
2575
|
+
$serializer_instance_9 = this;
|
|
3518
2576
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.OvenTemperaturePlaceholder', this, 4);
|
|
3519
2577
|
tmp0_serialDesc.ws('temperatureC', true);
|
|
3520
2578
|
tmp0_serialDesc.ws('temperatureFanC', true);
|
|
3521
2579
|
tmp0_serialDesc.ws('temperatureF', true);
|
|
3522
2580
|
tmp0_serialDesc.ws('gasMark', true);
|
|
3523
|
-
this.
|
|
2581
|
+
this.x1g_1 = tmp0_serialDesc;
|
|
3524
2582
|
}
|
|
3525
|
-
protoOf($
|
|
3526
|
-
var tmp0_desc = this.
|
|
2583
|
+
protoOf($serializer_9).y1g = function (encoder, value) {
|
|
2584
|
+
var tmp0_desc = this.x1g_1;
|
|
3527
2585
|
var tmp1_output = encoder.nl(tmp0_desc);
|
|
3528
2586
|
if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
|
|
3529
2587
|
tmp1_output.fn(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
|
|
@@ -3539,11 +2597,11 @@
|
|
|
3539
2597
|
}
|
|
3540
2598
|
tmp1_output.ol(tmp0_desc);
|
|
3541
2599
|
};
|
|
3542
|
-
protoOf($
|
|
3543
|
-
return this.
|
|
2600
|
+
protoOf($serializer_9).ri = function (encoder, value) {
|
|
2601
|
+
return this.y1g(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
|
|
3544
2602
|
};
|
|
3545
|
-
protoOf($
|
|
3546
|
-
var tmp0_desc = this.
|
|
2603
|
+
protoOf($serializer_9).si = function (decoder) {
|
|
2604
|
+
var tmp0_desc = this.x1g_1;
|
|
3547
2605
|
var tmp1_flag = true;
|
|
3548
2606
|
var tmp2_index = 0;
|
|
3549
2607
|
var tmp3_bitMask0 = 0;
|
|
@@ -3591,24 +2649,24 @@
|
|
|
3591
2649
|
tmp8_input.ol(tmp0_desc);
|
|
3592
2650
|
return OvenTemperaturePlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
3593
2651
|
};
|
|
3594
|
-
protoOf($
|
|
3595
|
-
return this.
|
|
2652
|
+
protoOf($serializer_9).qi = function () {
|
|
2653
|
+
return this.x1g_1;
|
|
3596
2654
|
};
|
|
3597
|
-
protoOf($
|
|
2655
|
+
protoOf($serializer_9).ys = function () {
|
|
3598
2656
|
// Inline function 'kotlin.arrayOf' call
|
|
3599
2657
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3600
2658
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3601
2659
|
return [get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
3602
2660
|
};
|
|
3603
|
-
var $
|
|
3604
|
-
function $
|
|
3605
|
-
if ($
|
|
3606
|
-
new $
|
|
3607
|
-
return $
|
|
2661
|
+
var $serializer_instance_9;
|
|
2662
|
+
function $serializer_getInstance_9() {
|
|
2663
|
+
if ($serializer_instance_9 == null)
|
|
2664
|
+
new $serializer_9();
|
|
2665
|
+
return $serializer_instance_9;
|
|
3608
2666
|
}
|
|
3609
2667
|
function OvenTemperaturePlaceholder_init_$Init$(seen0, temperatureC, temperatureFanC, temperatureF, gasMark, serializationConstructorMarker, $this) {
|
|
3610
2668
|
if (!(0 === (0 & seen0))) {
|
|
3611
|
-
throwMissingFieldException(seen0, 0, $
|
|
2669
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().x1g_1);
|
|
3612
2670
|
}
|
|
3613
2671
|
if (0 === (seen0 & 1))
|
|
3614
2672
|
$this.temperatureC = null;
|
|
@@ -3641,16 +2699,16 @@
|
|
|
3641
2699
|
this.temperatureF = temperatureF;
|
|
3642
2700
|
this.gasMark = gasMark;
|
|
3643
2701
|
}
|
|
3644
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
2702
|
+
protoOf(OvenTemperaturePlaceholder).z1g = function () {
|
|
3645
2703
|
return this.temperatureC;
|
|
3646
2704
|
};
|
|
3647
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
2705
|
+
protoOf(OvenTemperaturePlaceholder).a1h = function () {
|
|
3648
2706
|
return this.temperatureFanC;
|
|
3649
2707
|
};
|
|
3650
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
2708
|
+
protoOf(OvenTemperaturePlaceholder).b1h = function () {
|
|
3651
2709
|
return this.temperatureF;
|
|
3652
2710
|
};
|
|
3653
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
2711
|
+
protoOf(OvenTemperaturePlaceholder).c1h = function () {
|
|
3654
2712
|
return this.gasMark;
|
|
3655
2713
|
};
|
|
3656
2714
|
protoOf(OvenTemperaturePlaceholder).cd = function () {
|
|
@@ -3659,13 +2717,13 @@
|
|
|
3659
2717
|
protoOf(OvenTemperaturePlaceholder).dd = function () {
|
|
3660
2718
|
return this.temperatureFanC;
|
|
3661
2719
|
};
|
|
3662
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
2720
|
+
protoOf(OvenTemperaturePlaceholder).u1g = function () {
|
|
3663
2721
|
return this.temperatureF;
|
|
3664
2722
|
};
|
|
3665
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
2723
|
+
protoOf(OvenTemperaturePlaceholder).v1g = function () {
|
|
3666
2724
|
return this.gasMark;
|
|
3667
2725
|
};
|
|
3668
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
2726
|
+
protoOf(OvenTemperaturePlaceholder).d1h = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
|
|
3669
2727
|
return new OvenTemperaturePlaceholder(temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3670
2728
|
};
|
|
3671
2729
|
protoOf(OvenTemperaturePlaceholder).copy = function (temperatureC, temperatureFanC, temperatureF, gasMark, $super) {
|
|
@@ -3673,7 +2731,7 @@
|
|
|
3673
2731
|
temperatureFanC = temperatureFanC === VOID ? this.temperatureFanC : temperatureFanC;
|
|
3674
2732
|
temperatureF = temperatureF === VOID ? this.temperatureF : temperatureF;
|
|
3675
2733
|
gasMark = gasMark === VOID ? this.gasMark : gasMark;
|
|
3676
|
-
return $super === VOID ? this.
|
|
2734
|
+
return $super === VOID ? this.d1h(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.d1h.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3677
2735
|
};
|
|
3678
2736
|
protoOf(OvenTemperaturePlaceholder).toString = function () {
|
|
3679
2737
|
return 'OvenTemperaturePlaceholder(temperatureC=' + this.temperatureC + ', temperatureFanC=' + this.temperatureFanC + ', temperatureF=' + this.temperatureF + ', gasMark=' + this.gasMark + ')';
|
|
@@ -3751,7 +2809,7 @@
|
|
|
3751
2809
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
3752
2810
|
var this_4 = this_3.cm();
|
|
3753
2811
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
3754
|
-
var this_5 = serializer(this_4, createKType(getKClass(
|
|
2812
|
+
var this_5 = serializer(this_4, createKType(getKClass(RecipeV3), arrayOf([]), false));
|
|
3755
2813
|
var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
|
|
3756
2814
|
return this_3.y11(tmp$ret$4, scaledRecipe);
|
|
3757
2815
|
}
|
|
@@ -3789,19 +2847,15 @@
|
|
|
3789
2847
|
protoOf($serializer_7).zs = typeParametersSerializers;
|
|
3790
2848
|
protoOf($serializer_8).zs = typeParametersSerializers;
|
|
3791
2849
|
protoOf($serializer_9).zs = typeParametersSerializers;
|
|
3792
|
-
protoOf($serializer_10).zs = typeParametersSerializers;
|
|
3793
|
-
protoOf($serializer_11).zs = typeParametersSerializers;
|
|
3794
|
-
protoOf($serializer_12).zs = typeParametersSerializers;
|
|
3795
2850
|
//endregion
|
|
3796
2851
|
//region block: init
|
|
3797
2852
|
Imperial_instance = new Imperial();
|
|
3798
2853
|
Metric_instance = new Metric();
|
|
3799
|
-
|
|
3800
|
-
|
|
2854
|
+
Companion_instance_1 = new Companion_1();
|
|
2855
|
+
Companion_instance_2 = new Companion_2();
|
|
3801
2856
|
Companion_instance_4 = new Companion_4();
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
Companion_instance_10 = new Companion_10();
|
|
2857
|
+
Companion_instance_5 = new Companion_5();
|
|
2858
|
+
Companion_instance_6 = new Companion_6();
|
|
3805
2859
|
//endregion
|
|
3806
2860
|
//region block: exports
|
|
3807
2861
|
function $jsExportAll$(_) {
|
|
@@ -3811,9 +2865,9 @@
|
|
|
3811
2865
|
var $com$gu$recipe$template = $com$gu$recipe.template || ($com$gu$recipe.template = {});
|
|
3812
2866
|
$com$gu$recipe$template.TemplateConst = TemplateConst;
|
|
3813
2867
|
$com$gu$recipe$template.QuantityPlaceholder = QuantityPlaceholder;
|
|
3814
|
-
defineProp($com$gu$recipe$template.QuantityPlaceholder, 'Companion',
|
|
2868
|
+
defineProp($com$gu$recipe$template.QuantityPlaceholder, 'Companion', Companion_getInstance_5, VOID, true);
|
|
3815
2869
|
$com$gu$recipe$template.OvenTemperaturePlaceholder = OvenTemperaturePlaceholder;
|
|
3816
|
-
defineProp($com$gu$recipe$template.OvenTemperaturePlaceholder, 'Companion',
|
|
2870
|
+
defineProp($com$gu$recipe$template.OvenTemperaturePlaceholder, 'Companion', Companion_getInstance_6, VOID, true);
|
|
3817
2871
|
var $com = _.com || (_.com = {});
|
|
3818
2872
|
var $com$gu = $com.gu || ($com.gu = {});
|
|
3819
2873
|
var $com$gu$recipe = $com$gu.recipe || ($com$gu.recipe = {});
|