ng-miam 6.2.2 → 6.2.4

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.
@@ -2590,15 +2590,6 @@
2590
2590
  _this.resource = Ingredient;
2591
2591
  _this.type = 'ingredients';
2592
2592
  _this.register();
2593
- // if you are using this service you will need this, prefetch it when user logs
2594
- userService.isLogged$
2595
- .pipe(operators.skipWhile(function (isLogged) { return !isLogged; }), operators.take(1))
2596
- .subscribe(function (isLogged) {
2597
- if (isLogged) {
2598
- _this.fetchReviewedNames();
2599
- _this.fetchReviewedUnits();
2600
- }
2601
- });
2602
2593
  return _this;
2603
2594
  }
2604
2595
  IngredientsService.prototype.getReviewedNames = function () {
@@ -3470,6 +3461,7 @@
3470
3461
  _this._basket$ = new rxjs.BehaviorSubject(null);
3471
3462
  _this._basketPreview$ = new rxjs.BehaviorSubject(null);
3472
3463
  _this.basketStats$ = new rxjs.BehaviorSubject(null);
3464
+ _this.canSaveBasket$ = new rxjs.BehaviorSubject(true);
3473
3465
  _this.basketIsFetching = false;
3474
3466
  _this.basketPreviewIsCalculating = false;
3475
3467
  _this.basketInitCalled = false;
@@ -3544,7 +3536,7 @@
3544
3536
  }), operators.switchMap(function (basket) {
3545
3537
  console.log('[Miam] Save basket with confirmed=true');
3546
3538
  basket.attributes.confirmed = true;
3547
- return basket.save();
3539
+ return _this.saveBasket(basket);
3548
3540
  }), operators.switchMap(function (resp) {
3549
3541
  confirmedBasket = _this.new();
3550
3542
  confirmedBasket.fill(resp);
@@ -3613,13 +3605,17 @@
3613
3605
  BasketsService.prototype.updatePricebook = function (pricebookName) {
3614
3606
  var _this = this;
3615
3607
  return this.basket$.pipe(operators.skipWhile(function (b) { return !b; }), operators.take(1), operators.switchMap(function (basket) {
3608
+ if (!pricebookName) {
3609
+ console.log("[Miam] no pricebook " + JSON.stringify(pricebookName));
3610
+ return rxjs.of(basket);
3611
+ }
3616
3612
  if (basket.pricebookKey === pricebookName) {
3617
3613
  console.log("[Miam] same pricebook " + JSON.stringify(pricebookName));
3618
3614
  return rxjs.of(basket);
3619
3615
  }
3620
3616
  console.log("[Miam] update pricebook to " + JSON.stringify(pricebookName));
3621
3617
  basket.pricebookKey = pricebookName;
3622
- return basket.save().pipe(operators.map(function (resp) {
3618
+ return _this.saveBasket(basket).pipe(operators.map(function (resp) {
3623
3619
  var updatedBasket = _this.new();
3624
3620
  updatedBasket.fill(resp);
3625
3621
  _this._basket$.next(updatedBasket);
@@ -3627,6 +3623,13 @@
3627
3623
  }));
3628
3624
  }));
3629
3625
  };
3626
+ BasketsService.prototype.saveBasket = function (basket) {
3627
+ var _this = this;
3628
+ return this.canSaveBasket$.pipe(operators.skipWhile(function (canSave) { return !canSave; }), operators.take(1), operators.switchMap(function () {
3629
+ _this.canSaveBasket$.next(false);
3630
+ return basket.save().pipe(operators.tap(function () { return _this.canSaveBasket$.next(true); }));
3631
+ }));
3632
+ };
3630
3633
  BasketsService.prototype.loadPreview = function () {
3631
3634
  var _this = this;
3632
3635
  return this.basket$.pipe(operators.skipWhile(function (b) { return !b; }), operators.switchMap(function () { return _this.recipesService.loadRecipes(); }), operators.switchMap(function (recipes) {
@@ -4352,6 +4355,9 @@
4352
4355
  setDefaultIngredientPicture: function (url) {
4353
4356
  _this.defaultIngredientPicture = url;
4354
4357
  },
4358
+ search: function (provider, query) {
4359
+ return _this.recipesService.all({ remotefilter: { recipe_provider_id: provider, search: query } }).pipe(operators.skipWhile(function (result) { return !result; }), operators.map(function (response) { return response['data']; }));
4360
+ },
4355
4361
  // We keep those just in case
4356
4362
  // setRecipesPrimaryButtonActions: (display = true, addToBasket = true) => {
4357
4363
  // this.recipesService.setRecipesPrimaryButtonActions(display, addToBasket);
@@ -7582,6 +7588,8 @@
7582
7588
  this.orderHasChanged = new i0.EventEmitter();
7583
7589
  this.previousQuantities = [];
7584
7590
  this.maxSelectionNumber = 5;
7591
+ this.ingredientService.getReviewedNames();
7592
+ this.ingredientService.getReviewedUnits();
7585
7593
  }
7586
7594
  ListInputComponent.prototype.delete = function (index) {
7587
7595
  var _a;
@@ -11377,41 +11385,137 @@
11377
11385
  i0.ɵɵproperty("width", 60)("height", 20)("iconName", ctx_r36.icon.DifficultyLow);
11378
11386
  }
11379
11387
  }
11388
+ function RecipeCardComponent_div_0_div_12_ng_container_6_span_1_Template(rf, ctx) {
11389
+ if (rf & 1) {
11390
+ i0.ɵɵelementStart(0, "span", 56);
11391
+ i0.ɵɵtext(1);
11392
+ i0.ɵɵelementEnd();
11393
+ }
11394
+ if (rf & 2) {
11395
+ var ctx_r41 = i0.ɵɵnextContext(4);
11396
+ i0.ɵɵadvance(1);
11397
+ i0.ɵɵtextInterpolate1(" ", ctx_r41.recipeService.difficultyLevels[0].label, " ");
11398
+ }
11399
+ }
11400
+ function RecipeCardComponent_div_0_div_12_ng_container_6_ng_template_2_Template(rf, ctx) {
11401
+ if (rf & 1) {
11402
+ i0.ɵɵelementStart(0, "span", 56);
11403
+ i0.ɵɵi18n(1, 57);
11404
+ i0.ɵɵelementEnd();
11405
+ }
11406
+ }
11380
11407
  function RecipeCardComponent_div_0_div_12_ng_container_6_Template(rf, ctx) {
11381
11408
  if (rf & 1) {
11382
11409
  i0.ɵɵelementContainerStart(0);
11383
- i0.ɵɵelementStart(1, "span", 48);
11384
- i0.ɵɵi18n(2, 54);
11385
- i0.ɵɵelementEnd();
11410
+ i0.ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_6_span_1_Template, 2, 1, "span", 54);
11411
+ i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_6_ng_template_2_Template, 2, 0, "ng-template", null, 55, i0.ɵɵtemplateRefExtractor);
11386
11412
  i0.ɵɵelementContainerEnd();
11387
11413
  }
11414
+ if (rf & 2) {
11415
+ var _r42 = i0.ɵɵreference(3);
11416
+ var ctx_r37 = i0.ɵɵnextContext(3);
11417
+ i0.ɵɵadvance(1);
11418
+ i0.ɵɵproperty("ngIf", (ctx_r37.recipeService.difficultyLevels[0] == null ? null : ctx_r37.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r42);
11419
+ }
11420
+ }
11421
+ function RecipeCardComponent_div_0_div_12_ng_container_7_span_1_Template(rf, ctx) {
11422
+ if (rf & 1) {
11423
+ i0.ɵɵelementStart(0, "span", 60);
11424
+ i0.ɵɵtext(1);
11425
+ i0.ɵɵelementEnd();
11426
+ }
11427
+ if (rf & 2) {
11428
+ var ctx_r44 = i0.ɵɵnextContext(4);
11429
+ i0.ɵɵadvance(1);
11430
+ i0.ɵɵtextInterpolate1(" ", ctx_r44.recipeService.difficultyLevels[1].label, " ");
11431
+ }
11432
+ }
11433
+ function RecipeCardComponent_div_0_div_12_ng_container_7_ng_template_2_Template(rf, ctx) {
11434
+ if (rf & 1) {
11435
+ i0.ɵɵelementStart(0, "span", 60);
11436
+ i0.ɵɵi18n(1, 61);
11437
+ i0.ɵɵelementEnd();
11438
+ }
11388
11439
  }
11389
11440
  function RecipeCardComponent_div_0_div_12_ng_container_7_Template(rf, ctx) {
11390
11441
  if (rf & 1) {
11391
11442
  i0.ɵɵelementContainerStart(0);
11392
- i0.ɵɵelementStart(1, "span", 48);
11393
- i0.ɵɵi18n(2, 55);
11394
- i0.ɵɵelementEnd();
11443
+ i0.ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_7_span_1_Template, 2, 1, "span", 58);
11444
+ i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_7_ng_template_2_Template, 2, 0, "ng-template", null, 59, i0.ɵɵtemplateRefExtractor);
11395
11445
  i0.ɵɵelementContainerEnd();
11396
11446
  }
11447
+ if (rf & 2) {
11448
+ var _r45 = i0.ɵɵreference(3);
11449
+ var ctx_r38 = i0.ɵɵnextContext(3);
11450
+ i0.ɵɵadvance(1);
11451
+ i0.ɵɵproperty("ngIf", (ctx_r38.recipeService.difficultyLevels[1] == null ? null : ctx_r38.recipeService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r45);
11452
+ }
11453
+ }
11454
+ function RecipeCardComponent_div_0_div_12_ng_container_8_span_1_Template(rf, ctx) {
11455
+ if (rf & 1) {
11456
+ i0.ɵɵelementStart(0, "span", 64);
11457
+ i0.ɵɵtext(1);
11458
+ i0.ɵɵelementEnd();
11459
+ }
11460
+ if (rf & 2) {
11461
+ var ctx_r47 = i0.ɵɵnextContext(4);
11462
+ i0.ɵɵadvance(1);
11463
+ i0.ɵɵtextInterpolate1(" ", ctx_r47.recipeService.difficultyLevels[2].label, " ");
11464
+ }
11465
+ }
11466
+ function RecipeCardComponent_div_0_div_12_ng_container_8_ng_template_2_Template(rf, ctx) {
11467
+ if (rf & 1) {
11468
+ i0.ɵɵelementStart(0, "span", 64);
11469
+ i0.ɵɵi18n(1, 65);
11470
+ i0.ɵɵelementEnd();
11471
+ }
11397
11472
  }
11398
11473
  function RecipeCardComponent_div_0_div_12_ng_container_8_Template(rf, ctx) {
11399
11474
  if (rf & 1) {
11400
11475
  i0.ɵɵelementContainerStart(0);
11401
- i0.ɵɵelementStart(1, "span", 48);
11402
- i0.ɵɵi18n(2, 56);
11403
- i0.ɵɵelementEnd();
11476
+ i0.ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_8_span_1_Template, 2, 1, "span", 62);
11477
+ i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 63, i0.ɵɵtemplateRefExtractor);
11404
11478
  i0.ɵɵelementContainerEnd();
11405
11479
  }
11480
+ if (rf & 2) {
11481
+ var _r48 = i0.ɵɵreference(3);
11482
+ var ctx_r39 = i0.ɵɵnextContext(3);
11483
+ i0.ɵɵadvance(1);
11484
+ i0.ɵɵproperty("ngIf", (ctx_r39.recipeService.difficultyLevels[2] == null ? null : ctx_r39.recipeService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r48);
11485
+ }
11486
+ }
11487
+ function RecipeCardComponent_div_0_div_12_ng_container_9_span_1_Template(rf, ctx) {
11488
+ if (rf & 1) {
11489
+ i0.ɵɵelementStart(0, "span", 56);
11490
+ i0.ɵɵtext(1);
11491
+ i0.ɵɵelementEnd();
11492
+ }
11493
+ if (rf & 2) {
11494
+ var ctx_r50 = i0.ɵɵnextContext(4);
11495
+ i0.ɵɵadvance(1);
11496
+ i0.ɵɵtextInterpolate1(" ", ctx_r50.recipeService.difficultyLevels[0].label, " ");
11497
+ }
11498
+ }
11499
+ function RecipeCardComponent_div_0_div_12_ng_container_9_ng_template_2_Template(rf, ctx) {
11500
+ if (rf & 1) {
11501
+ i0.ɵɵelementStart(0, "span", 56);
11502
+ i0.ɵɵi18n(1, 67);
11503
+ i0.ɵɵelementEnd();
11504
+ }
11406
11505
  }
11407
11506
  function RecipeCardComponent_div_0_div_12_ng_container_9_Template(rf, ctx) {
11408
11507
  if (rf & 1) {
11409
11508
  i0.ɵɵelementContainerStart(0);
11410
- i0.ɵɵelementStart(1, "span", 48);
11411
- i0.ɵɵi18n(2, 57);
11412
- i0.ɵɵelementEnd();
11509
+ i0.ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_9_span_1_Template, 2, 1, "span", 54);
11510
+ i0.ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 66, i0.ɵɵtemplateRefExtractor);
11413
11511
  i0.ɵɵelementContainerEnd();
11414
11512
  }
11513
+ if (rf & 2) {
11514
+ var _r51 = i0.ɵɵreference(3);
11515
+ var ctx_r40 = i0.ɵɵnextContext(3);
11516
+ i0.ɵɵadvance(1);
11517
+ i0.ɵɵproperty("ngIf", (ctx_r40.recipeService.difficultyLevels[0] == null ? null : ctx_r40.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r51);
11518
+ }
11415
11519
  }
11416
11520
  var _c8 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
11417
11521
  function RecipeCardComponent_div_0_div_12_Template(rf, ctx) {
@@ -11423,10 +11527,10 @@
11423
11527
  i0.ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container", 52);
11424
11528
  i0.ɵɵelementContainerEnd();
11425
11529
  i0.ɵɵelementContainerStart(5, 50);
11426
- i0.ɵɵtemplate(6, RecipeCardComponent_div_0_div_12_ng_container_6_Template, 3, 0, "ng-container", 51);
11427
- i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_12_ng_container_7_Template, 3, 0, "ng-container", 51);
11428
- i0.ɵɵtemplate(8, RecipeCardComponent_div_0_div_12_ng_container_8_Template, 3, 0, "ng-container", 51);
11429
- i0.ɵɵtemplate(9, RecipeCardComponent_div_0_div_12_ng_container_9_Template, 3, 0, "ng-container", 52);
11530
+ i0.ɵɵtemplate(6, RecipeCardComponent_div_0_div_12_ng_container_6_Template, 4, 2, "ng-container", 51);
11531
+ i0.ɵɵtemplate(7, RecipeCardComponent_div_0_div_12_ng_container_7_Template, 4, 2, "ng-container", 51);
11532
+ i0.ɵɵtemplate(8, RecipeCardComponent_div_0_div_12_ng_container_8_Template, 4, 2, "ng-container", 51);
11533
+ i0.ɵɵtemplate(9, RecipeCardComponent_div_0_div_12_ng_container_9_Template, 4, 2, "ng-container", 52);
11430
11534
  i0.ɵɵelementContainerEnd();
11431
11535
  i0.ɵɵelementEnd();
11432
11536
  }
@@ -11451,14 +11555,14 @@
11451
11555
  }
11452
11556
  function RecipeCardComponent_div_0_div_13_Template(rf, ctx) {
11453
11557
  if (rf & 1) {
11454
- i0.ɵɵelementStart(0, "div", 58);
11455
- i0.ɵɵelement(1, "ng-miam-icon", 59);
11558
+ i0.ɵɵelementStart(0, "div", 68);
11559
+ i0.ɵɵelement(1, "ng-miam-icon", 69);
11456
11560
  i0.ɵɵelementStart(2, "span", 48);
11457
11561
  i0.ɵɵelementStart(3, "span");
11458
11562
  i0.ɵɵtext(4);
11459
11563
  i0.ɵɵelementEnd();
11460
11564
  i0.ɵɵelementStart(5, "span");
11461
- i0.ɵɵi18n(6, 60);
11565
+ i0.ɵɵi18n(6, 70);
11462
11566
  i0.ɵɵelementEnd();
11463
11567
  i0.ɵɵelementEnd();
11464
11568
  i0.ɵɵelementEnd();
@@ -11482,26 +11586,26 @@
11482
11586
  }
11483
11587
  function RecipeCardComponent_div_0_div_21_div_5_Template(rf, ctx) {
11484
11588
  if (rf & 1) {
11485
- i0.ɵɵelementStart(0, "div", 64);
11589
+ i0.ɵɵelementStart(0, "div", 74);
11486
11590
  i0.ɵɵtext(1);
11487
11591
  i0.ɵɵelementEnd();
11488
11592
  }
11489
11593
  if (rf & 2) {
11490
- var ctx_r41 = i0.ɵɵnextContext(3);
11594
+ var ctx_r53 = i0.ɵɵnextContext(3);
11491
11595
  i0.ɵɵadvance(1);
11492
- i0.ɵɵtextInterpolate1(" + ", ctx_r41.recipe.modifiedIngredients.length - 2, " ");
11596
+ i0.ɵɵtextInterpolate1(" + ", ctx_r53.recipe.modifiedIngredients.length - 2, " ");
11493
11597
  }
11494
11598
  }
11495
11599
  function RecipeCardComponent_div_0_div_21_Template(rf, ctx) {
11496
11600
  if (rf & 1) {
11497
- i0.ɵɵelementStart(0, "div", 61);
11498
- i0.ɵɵelementStart(1, "div", 62);
11601
+ i0.ɵɵelementStart(0, "div", 71);
11602
+ i0.ɵɵelementStart(1, "div", 72);
11499
11603
  i0.ɵɵelement(2, "img", 42);
11500
11604
  i0.ɵɵelementEnd();
11501
- i0.ɵɵelementStart(3, "div", 62);
11605
+ i0.ɵɵelementStart(3, "div", 72);
11502
11606
  i0.ɵɵelement(4, "img", 42);
11503
11607
  i0.ɵɵelementEnd();
11504
- i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 63);
11608
+ i0.ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 73);
11505
11609
  i0.ɵɵelementEnd();
11506
11610
  }
11507
11611
  if (rf & 2) {
@@ -11516,10 +11620,10 @@
11516
11620
  }
11517
11621
  function RecipeCardComponent_div_0_div_22_Template(rf, ctx) {
11518
11622
  if (rf & 1) {
11519
- var _r43_1 = i0.ɵɵgetCurrentView();
11520
- i0.ɵɵelementStart(0, "div", 65);
11521
- i0.ɵɵelementStart(1, "ng-miam-counter-input", 66);
11522
- i0.ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(_r43_1); var ctx_r42 = i0.ɵɵnextContext(2); return ctx_r42.updateGuests($event); });
11623
+ var _r55_1 = i0.ɵɵgetCurrentView();
11624
+ i0.ɵɵelementStart(0, "div", 75);
11625
+ i0.ɵɵelementStart(1, "ng-miam-counter-input", 76);
11626
+ i0.ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { i0.ɵɵrestoreView(_r55_1); var ctx_r54 = i0.ɵɵnextContext(2); return ctx_r54.updateGuests($event); });
11523
11627
  i0.ɵɵelementEnd();
11524
11628
  i0.ɵɵelementEnd();
11525
11629
  }
@@ -11540,8 +11644,8 @@
11540
11644
  }
11541
11645
  function RecipeCardComponent_div_0_div_26_Template(rf, ctx) {
11542
11646
  if (rf & 1) {
11543
- i0.ɵɵelementStart(0, "div", 67);
11544
- i0.ɵɵelement(1, "ng-miam-recipe-pricing", 68);
11647
+ i0.ɵɵelementStart(0, "div", 77);
11648
+ i0.ɵɵelement(1, "ng-miam-recipe-pricing", 78);
11545
11649
  i0.ɵɵelementEnd();
11546
11650
  }
11547
11651
  if (rf & 2) {
@@ -11553,14 +11657,14 @@
11553
11657
  function RecipeCardComponent_div_0_span_31_Template(rf, ctx) {
11554
11658
  if (rf & 1) {
11555
11659
  i0.ɵɵelementStart(0, "span");
11556
- i0.ɵɵi18n(1, 69);
11660
+ i0.ɵɵi18n(1, 79);
11557
11661
  i0.ɵɵelementEnd();
11558
11662
  }
11559
11663
  }
11560
11664
  function RecipeCardComponent_div_0_ng_container_33_span_1_Template(rf, ctx) {
11561
11665
  if (rf & 1) {
11562
11666
  i0.ɵɵelementStart(0, "span");
11563
- i0.ɵɵi18n(1, 70);
11667
+ i0.ɵɵi18n(1, 80);
11564
11668
  i0.ɵɵelementEnd();
11565
11669
  }
11566
11670
  }
@@ -11580,7 +11684,7 @@
11580
11684
  function RecipeCardComponent_div_0_ng_template_34_span_0_Template(rf, ctx) {
11581
11685
  if (rf & 1) {
11582
11686
  i0.ɵɵelementStart(0, "span");
11583
- i0.ɵɵi18n(1, 71);
11687
+ i0.ɵɵi18n(1, 81);
11584
11688
  i0.ɵɵelementEnd();
11585
11689
  }
11586
11690
  }
@@ -11596,7 +11700,7 @@
11596
11700
  }
11597
11701
  function RecipeCardComponent_div_0_ng_miam_icon_36_Template(rf, ctx) {
11598
11702
  if (rf & 1) {
11599
- i0.ɵɵelement(0, "ng-miam-icon", 72);
11703
+ i0.ɵɵelement(0, "ng-miam-icon", 82);
11600
11704
  i0.ɵɵpipe(1, "async");
11601
11705
  }
11602
11706
  if (rf & 2) {
@@ -11612,7 +11716,7 @@
11612
11716
  var _c17 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
11613
11717
  function RecipeCardComponent_div_0_Template(rf, ctx) {
11614
11718
  if (rf & 1) {
11615
- var _r47_1 = i0.ɵɵgetCurrentView();
11719
+ var _r59_1 = i0.ɵɵgetCurrentView();
11616
11720
  i0.ɵɵelementStart(0, "div", 2);
11617
11721
  i0.ɵɵelementStart(1, "div", 3);
11618
11722
  i0.ɵɵelement(2, "img", 4);
@@ -11632,7 +11736,7 @@
11632
11736
  i0.ɵɵelementStart(17, "div", 16);
11633
11737
  i0.ɵɵelementStart(18, "div", 17);
11634
11738
  i0.ɵɵelementStart(19, "div", 18);
11635
- i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { i0.ɵɵrestoreView(_r47_1); var ctx_r46 = i0.ɵɵnextContext(); return ctx_r46.toggleHelper(); });
11739
+ i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { i0.ɵɵrestoreView(_r59_1); var ctx_r58 = i0.ɵɵnextContext(); return ctx_r58.toggleHelper(); });
11636
11740
  i0.ɵɵelement(20, "ng-miam-icon", 19);
11637
11741
  i0.ɵɵelementEnd();
11638
11742
  i0.ɵɵtemplate(21, RecipeCardComponent_div_0_div_21_Template, 6, 3, "div", 20);
@@ -11646,7 +11750,7 @@
11646
11750
  i0.ɵɵelementEnd();
11647
11751
  i0.ɵɵelementStart(27, "div", 25);
11648
11752
  i0.ɵɵelementStart(28, "button", 26);
11649
- i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(_r47_1); var ctx_r48 = i0.ɵɵnextContext(); return ctx_r48.clickPrimary(); });
11753
+ i0.ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { i0.ɵɵrestoreView(_r59_1); var ctx_r60 = i0.ɵɵnextContext(); return ctx_r60.clickPrimary(); });
11650
11754
  i0.ɵɵpipe(29, "async");
11651
11755
  i0.ɵɵelementStart(30, "span");
11652
11756
  i0.ɵɵtemplate(31, RecipeCardComponent_div_0_span_31_Template, 2, 0, "span", 27);
@@ -11822,32 +11926,32 @@
11822
11926
  RecipeCardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", guestsChanged: "guestsChanged" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 1, consts: function () {
11823
11927
  var i18n_0;
11824
11928
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
11825
- var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____1 = goog.getMsg("Chef d\u00E9butant");
11826
- i18n_0 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____1;
11929
+ var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____1 = goog.getMsg("Chef d\u00E9butant");
11930
+ i18n_0 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____1;
11827
11931
  }
11828
11932
  else {
11829
11933
  i18n_0 = $localize(templateObject_1$a || (templateObject_1$a = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
11830
11934
  }
11831
11935
  var i18n_2;
11832
11936
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
11833
- var MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____3 = goog.getMsg("Chef interm\u00E9diaire");
11834
- i18n_2 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____3;
11937
+ var MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____3 = goog.getMsg("Chef interm\u00E9diaire");
11938
+ i18n_2 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____3;
11835
11939
  }
11836
11940
  else {
11837
11941
  i18n_2 = $localize(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject([":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"], [":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"])));
11838
11942
  }
11839
11943
  var i18n_4;
11840
11944
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
11841
- var MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____5 = goog.getMsg("Top chef");
11842
- i18n_4 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____5;
11945
+ var MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____5 = goog.getMsg("Top chef");
11946
+ i18n_4 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____5;
11843
11947
  }
11844
11948
  else {
11845
11949
  i18n_4 = $localize(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject([":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"], [":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"])));
11846
11950
  }
11847
11951
  var i18n_6;
11848
11952
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
11849
- var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____7 = goog.getMsg("Chef d\u00E9butant");
11850
- i18n_6 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____7;
11953
+ var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____7 = goog.getMsg("Chef d\u00E9butant");
11954
+ i18n_6 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____7;
11851
11955
  }
11852
11956
  else {
11853
11957
  i18n_6 = $localize(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
@@ -11884,7 +11988,7 @@
11884
11988
  else {
11885
11989
  i18n_15 = $localize(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject([":\u241Fe3d3d7039794cbbd2e16e8548bfbf9ee8fa29247\u241F1225769932237505428:Ajouter les ingr\u00E9dients"], [":\u241Fe3d3d7039794cbbd2e16e8548bfbf9ee8fa29247\u241F1225769932237505428:Ajouter les ingr\u00E9dients"])));
11886
11990
  }
11887
- return [["class", "miam-recipe-card", 4, "ngIf"], ["cors", ""], [1, "miam-recipe-card"], [1, "miam-recipe-card__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-card/Bookmark.svg", "alt", "Id\u00E9es repas"], ["class", "miam-recipe-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-recipe-card__attributes"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-recipe-card__attributes__infos"], ["class", "miam-recipe-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__ingredients", 4, "ngIf", "ngIfElse"], ["skeletonInfo", ""], [1, "miam-recipe-card__attributes__control"], [1, "miam-recipe-card__control__left__col"], [1, "miam-recipe-card__left__col__custom"], [1, "miam-recipe-card__help", 3, "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["skeletoncounter", ""], [1, "miam-recipe-card__control__right__col"], ["class", "miam-recipe-card__right__col__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], ["originalCTA", ""], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-card__picture", 3, "click"], ["loading", "lazy", 3, "src"], ["class", "miam-recipe-card__picture__video", 4, "ngIf"], [1, "miam-recipe-card__picture__actions"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["class", "miam-recipe-card__picture__sponsor", 4, "ngIf"], ["class", "miam-recipe-card__picture__filigrane", 4, "ngIf"], [1, "miam-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card__picture__sponsor"], [3, "src"], [1, "miam-recipe-card__picture__filigrane"], [3, "type"], [1, "miam-recipe-card__attributes__title", 3, "click"], [1, "miam-recipe-card__attributes__info", "recipe__total__time"], [3, "width", "height", "iconName"], [1, "miam-recipe-card__info__label"], [1, "miam-recipe-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], i18n_0, i18n_2, i18n_4, i18n_6, [1, "miam-recipe-card__attributes__info", "recipe__ingredients"], [3, "iconName"], i18n_9, [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__left__col__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-card__right__col__price"], [3, "recipe", "serves"], i18n_11, i18n_13, i18n_15, ["primaryColor", "#fff", 3, "width", "height", "iconName"]];
11991
+ return [["class", "miam-recipe-card", 4, "ngIf"], ["cors", ""], [1, "miam-recipe-card"], [1, "miam-recipe-card__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-card/Bookmark.svg", "alt", "Id\u00E9es repas"], ["class", "miam-recipe-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-recipe-card__attributes"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-recipe-card__attributes__infos"], ["class", "miam-recipe-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info recipe__ingredients", 4, "ngIf", "ngIfElse"], ["skeletonInfo", ""], [1, "miam-recipe-card__attributes__control"], [1, "miam-recipe-card__control__left__col"], [1, "miam-recipe-card__left__col__custom"], [1, "miam-recipe-card__help", 3, "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["skeletoncounter", ""], [1, "miam-recipe-card__control__right__col"], ["class", "miam-recipe-card__right__col__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], ["originalCTA", ""], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-card__picture", 3, "click"], ["loading", "lazy", 3, "src"], ["class", "miam-recipe-card__picture__video", 4, "ngIf"], [1, "miam-recipe-card__picture__actions"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["class", "miam-recipe-card__picture__sponsor", 4, "ngIf"], ["class", "miam-recipe-card__picture__filigrane", 4, "ngIf"], [1, "miam-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card__picture__sponsor"], [3, "src"], [1, "miam-recipe-card__picture__filigrane"], [3, "type"], [1, "miam-recipe-card__attributes__title", 3, "click"], [1, "miam-recipe-card__attributes__info", "recipe__total__time"], [3, "width", "height", "iconName"], [1, "miam-recipe-card__info__label"], [1, "miam-recipe-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__info__label easy", 4, "ngIf", "ngIfElse"], ["difficultyEasyDefault", ""], [1, "miam-recipe-card__info__label", "easy"], i18n_0, ["class", "miam-recipe-card__info__label medium", 4, "ngIf", "ngIfElse"], ["difficultyMediumDefault", ""], [1, "miam-recipe-card__info__label", "medium"], i18n_2, ["class", "miam-recipe-card__info__label hard", 4, "ngIf", "ngIfElse"], ["difficultyHardDefault", ""], [1, "miam-recipe-card__info__label", "hard"], i18n_4, ["difficultyDefault", ""], i18n_6, [1, "miam-recipe-card__attributes__info", "recipe__ingredients"], [3, "iconName"], i18n_9, [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__left__col__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-card__right__col__price"], [3, "recipe", "serves"], i18n_11, i18n_13, i18n_15, ["primaryColor", "#fff", 3, "width", "height", "iconName"]];
11888
11992
  }, template: function RecipeCardComponent_Template(rf, ctx) {
11889
11993
  if (rf & 1) {
11890
11994
  i0.ɵɵtemplate(0, RecipeCardComponent_div_0_Template, 39, 31, "div", 0);
@@ -15991,41 +16095,137 @@
15991
16095
  i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r2.icon.DifficultyLow);
15992
16096
  }
15993
16097
  }
16098
+ function RecipeDetailsInfosComponent_ng_container_8_span_1_Template(rf, ctx) {
16099
+ if (rf & 1) {
16100
+ i0.ɵɵelementStart(0, "span", 17);
16101
+ i0.ɵɵtext(1);
16102
+ i0.ɵɵelementEnd();
16103
+ }
16104
+ if (rf & 2) {
16105
+ var ctx_r10 = i0.ɵɵnextContext(2);
16106
+ i0.ɵɵadvance(1);
16107
+ i0.ɵɵtextInterpolate1(" ", ctx_r10.recipesService.difficultyLevels[0].label, " ");
16108
+ }
16109
+ }
16110
+ function RecipeDetailsInfosComponent_ng_container_8_ng_template_2_Template(rf, ctx) {
16111
+ if (rf & 1) {
16112
+ i0.ɵɵelementStart(0, "span", 17);
16113
+ i0.ɵɵi18n(1, 18);
16114
+ i0.ɵɵelementEnd();
16115
+ }
16116
+ }
15994
16117
  function RecipeDetailsInfosComponent_ng_container_8_Template(rf, ctx) {
15995
16118
  if (rf & 1) {
15996
16119
  i0.ɵɵelementContainerStart(0);
15997
- i0.ɵɵelementStart(1, "span", 15);
15998
- i0.ɵɵi18n(2, 16);
15999
- i0.ɵɵelementEnd();
16120
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_8_span_1_Template, 2, 1, "span", 15);
16121
+ i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
16000
16122
  i0.ɵɵelementContainerEnd();
16001
16123
  }
16124
+ if (rf & 2) {
16125
+ var _r11 = i0.ɵɵreference(3);
16126
+ var ctx_r3 = i0.ɵɵnextContext();
16127
+ i0.ɵɵadvance(1);
16128
+ i0.ɵɵproperty("ngIf", (ctx_r3.recipesService.difficultyLevels[0] == null ? null : ctx_r3.recipesService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r11);
16129
+ }
16130
+ }
16131
+ function RecipeDetailsInfosComponent_ng_container_9_span_1_Template(rf, ctx) {
16132
+ if (rf & 1) {
16133
+ i0.ɵɵelementStart(0, "span", 21);
16134
+ i0.ɵɵtext(1);
16135
+ i0.ɵɵelementEnd();
16136
+ }
16137
+ if (rf & 2) {
16138
+ var ctx_r13 = i0.ɵɵnextContext(2);
16139
+ i0.ɵɵadvance(1);
16140
+ i0.ɵɵtextInterpolate1(" ", ctx_r13.recipesService.difficultyLevels[1].label, " ");
16141
+ }
16142
+ }
16143
+ function RecipeDetailsInfosComponent_ng_container_9_ng_template_2_Template(rf, ctx) {
16144
+ if (rf & 1) {
16145
+ i0.ɵɵelementStart(0, "span", 21);
16146
+ i0.ɵɵi18n(1, 22);
16147
+ i0.ɵɵelementEnd();
16148
+ }
16002
16149
  }
16003
16150
  function RecipeDetailsInfosComponent_ng_container_9_Template(rf, ctx) {
16004
16151
  if (rf & 1) {
16005
16152
  i0.ɵɵelementContainerStart(0);
16006
- i0.ɵɵelementStart(1, "span", 15);
16007
- i0.ɵɵi18n(2, 17);
16008
- i0.ɵɵelementEnd();
16153
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_9_span_1_Template, 2, 1, "span", 19);
16154
+ i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 20, i0.ɵɵtemplateRefExtractor);
16009
16155
  i0.ɵɵelementContainerEnd();
16010
16156
  }
16157
+ if (rf & 2) {
16158
+ var _r14 = i0.ɵɵreference(3);
16159
+ var ctx_r4 = i0.ɵɵnextContext();
16160
+ i0.ɵɵadvance(1);
16161
+ i0.ɵɵproperty("ngIf", (ctx_r4.recipesService.difficultyLevels[1] == null ? null : ctx_r4.recipesService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r14);
16162
+ }
16163
+ }
16164
+ function RecipeDetailsInfosComponent_ng_container_10_span_1_Template(rf, ctx) {
16165
+ if (rf & 1) {
16166
+ i0.ɵɵelementStart(0, "span", 25);
16167
+ i0.ɵɵtext(1);
16168
+ i0.ɵɵelementEnd();
16169
+ }
16170
+ if (rf & 2) {
16171
+ var ctx_r16 = i0.ɵɵnextContext(2);
16172
+ i0.ɵɵadvance(1);
16173
+ i0.ɵɵtextInterpolate1(" ", ctx_r16.recipesService.difficultyLevels[2].label, " ");
16174
+ }
16175
+ }
16176
+ function RecipeDetailsInfosComponent_ng_container_10_ng_template_2_Template(rf, ctx) {
16177
+ if (rf & 1) {
16178
+ i0.ɵɵelementStart(0, "span", 25);
16179
+ i0.ɵɵi18n(1, 26);
16180
+ i0.ɵɵelementEnd();
16181
+ }
16011
16182
  }
16012
16183
  function RecipeDetailsInfosComponent_ng_container_10_Template(rf, ctx) {
16013
16184
  if (rf & 1) {
16014
16185
  i0.ɵɵelementContainerStart(0);
16015
- i0.ɵɵelementStart(1, "span", 15);
16016
- i0.ɵɵi18n(2, 18);
16017
- i0.ɵɵelementEnd();
16186
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_10_span_1_Template, 2, 1, "span", 23);
16187
+ i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_10_ng_template_2_Template, 2, 0, "ng-template", null, 24, i0.ɵɵtemplateRefExtractor);
16018
16188
  i0.ɵɵelementContainerEnd();
16019
16189
  }
16190
+ if (rf & 2) {
16191
+ var _r17 = i0.ɵɵreference(3);
16192
+ var ctx_r5 = i0.ɵɵnextContext();
16193
+ i0.ɵɵadvance(1);
16194
+ i0.ɵɵproperty("ngIf", (ctx_r5.recipesService.difficultyLevels[2] == null ? null : ctx_r5.recipesService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r17);
16195
+ }
16196
+ }
16197
+ function RecipeDetailsInfosComponent_ng_container_11_span_1_Template(rf, ctx) {
16198
+ if (rf & 1) {
16199
+ i0.ɵɵelementStart(0, "span", 17);
16200
+ i0.ɵɵtext(1);
16201
+ i0.ɵɵelementEnd();
16202
+ }
16203
+ if (rf & 2) {
16204
+ var ctx_r19 = i0.ɵɵnextContext(2);
16205
+ i0.ɵɵadvance(1);
16206
+ i0.ɵɵtextInterpolate1(" ", ctx_r19.recipesService.difficultyLevels[0].label, " ");
16207
+ }
16208
+ }
16209
+ function RecipeDetailsInfosComponent_ng_container_11_ng_template_2_Template(rf, ctx) {
16210
+ if (rf & 1) {
16211
+ i0.ɵɵelementStart(0, "span", 17);
16212
+ i0.ɵɵi18n(1, 28);
16213
+ i0.ɵɵelementEnd();
16214
+ }
16020
16215
  }
16021
16216
  function RecipeDetailsInfosComponent_ng_container_11_Template(rf, ctx) {
16022
16217
  if (rf & 1) {
16023
16218
  i0.ɵɵelementContainerStart(0);
16024
- i0.ɵɵelementStart(1, "span", 15);
16025
- i0.ɵɵi18n(2, 19);
16026
- i0.ɵɵelementEnd();
16219
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_11_span_1_Template, 2, 1, "span", 15);
16220
+ i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_11_ng_template_2_Template, 2, 0, "ng-template", null, 27, i0.ɵɵtemplateRefExtractor);
16027
16221
  i0.ɵɵelementContainerEnd();
16028
16222
  }
16223
+ if (rf & 2) {
16224
+ var _r20 = i0.ɵɵreference(3);
16225
+ var ctx_r6 = i0.ɵɵnextContext();
16226
+ i0.ɵɵadvance(1);
16227
+ i0.ɵɵproperty("ngIf", (ctx_r6.recipesService.difficultyLevels[0] == null ? null : ctx_r6.recipesService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r20);
16228
+ }
16029
16229
  }
16030
16230
  function RecipeDetailsInfosComponent_div_19_Template(rf, ctx) {
16031
16231
  if (rf & 1) {
@@ -16033,7 +16233,7 @@
16033
16233
  i0.ɵɵelement(1, "ng-miam-icon", 7);
16034
16234
  i0.ɵɵelementStart(2, "div", 8);
16035
16235
  i0.ɵɵelementStart(3, "span");
16036
- i0.ɵɵi18n(4, 20);
16236
+ i0.ɵɵi18n(4, 29);
16037
16237
  i0.ɵɵelementEnd();
16038
16238
  i0.ɵɵelementStart(5, "span");
16039
16239
  i0.ɵɵtext(6);
@@ -16051,11 +16251,11 @@
16051
16251
  }
16052
16252
  function RecipeDetailsInfosComponent_div_21_div_1_Template(rf, ctx) {
16053
16253
  if (rf & 1) {
16054
- i0.ɵɵelementStart(0, "div", 23);
16254
+ i0.ɵɵelementStart(0, "div", 32);
16055
16255
  i0.ɵɵelement(1, "ng-miam-icon", 7);
16056
16256
  i0.ɵɵelementStart(2, "div", 8);
16057
16257
  i0.ɵɵelementStart(3, "span");
16058
- i0.ɵɵi18n(4, 24);
16258
+ i0.ɵɵi18n(4, 33);
16059
16259
  i0.ɵɵelementEnd();
16060
16260
  i0.ɵɵelementStart(5, "span");
16061
16261
  i0.ɵɵtext(6);
@@ -16064,20 +16264,20 @@
16064
16264
  i0.ɵɵelementEnd();
16065
16265
  }
16066
16266
  if (rf & 2) {
16067
- var ctx_r10 = i0.ɵɵnextContext(2);
16267
+ var ctx_r22 = i0.ɵɵnextContext(2);
16068
16268
  i0.ɵɵadvance(1);
16069
- i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r10.icon.Preparation);
16269
+ i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r22.icon.Preparation);
16070
16270
  i0.ɵɵadvance(5);
16071
- i0.ɵɵtextInterpolate(ctx_r10.recipe == null ? null : ctx_r10.recipe.preparationTime);
16271
+ i0.ɵɵtextInterpolate(ctx_r22.recipe == null ? null : ctx_r22.recipe.preparationTime);
16072
16272
  }
16073
16273
  }
16074
16274
  function RecipeDetailsInfosComponent_div_21_div_2_Template(rf, ctx) {
16075
16275
  if (rf & 1) {
16076
- i0.ɵɵelementStart(0, "div", 23);
16276
+ i0.ɵɵelementStart(0, "div", 32);
16077
16277
  i0.ɵɵelement(1, "ng-miam-icon", 7);
16078
16278
  i0.ɵɵelementStart(2, "div", 8);
16079
16279
  i0.ɵɵelementStart(3, "span");
16080
- i0.ɵɵi18n(4, 25);
16280
+ i0.ɵɵi18n(4, 34);
16081
16281
  i0.ɵɵelementEnd();
16082
16282
  i0.ɵɵelementStart(5, "span");
16083
16283
  i0.ɵɵtext(6);
@@ -16086,20 +16286,20 @@
16086
16286
  i0.ɵɵelementEnd();
16087
16287
  }
16088
16288
  if (rf & 2) {
16089
- var ctx_r11 = i0.ɵɵnextContext(2);
16289
+ var ctx_r23 = i0.ɵɵnextContext(2);
16090
16290
  i0.ɵɵadvance(1);
16091
- i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r11.icon.Hot);
16291
+ i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r23.icon.Hot);
16092
16292
  i0.ɵɵadvance(5);
16093
- i0.ɵɵtextInterpolate(ctx_r11.recipe == null ? null : ctx_r11.recipe.cookingTime);
16293
+ i0.ɵɵtextInterpolate(ctx_r23.recipe == null ? null : ctx_r23.recipe.cookingTime);
16094
16294
  }
16095
16295
  }
16096
16296
  function RecipeDetailsInfosComponent_div_21_div_3_Template(rf, ctx) {
16097
16297
  if (rf & 1) {
16098
- i0.ɵɵelementStart(0, "div", 23);
16298
+ i0.ɵɵelementStart(0, "div", 32);
16099
16299
  i0.ɵɵelement(1, "ng-miam-icon", 7);
16100
16300
  i0.ɵɵelementStart(2, "div", 8);
16101
16301
  i0.ɵɵelementStart(3, "span");
16102
- i0.ɵɵi18n(4, 26);
16302
+ i0.ɵɵi18n(4, 35);
16103
16303
  i0.ɵɵelementEnd();
16104
16304
  i0.ɵɵelementStart(5, "span");
16105
16305
  i0.ɵɵtext(6);
@@ -16108,19 +16308,19 @@
16108
16308
  i0.ɵɵelementEnd();
16109
16309
  }
16110
16310
  if (rf & 2) {
16111
- var ctx_r12 = i0.ɵɵnextContext(2);
16311
+ var ctx_r24 = i0.ɵɵnextContext(2);
16112
16312
  i0.ɵɵadvance(1);
16113
- i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r12.icon.Wait);
16313
+ i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r24.icon.Wait);
16114
16314
  i0.ɵɵadvance(5);
16115
- i0.ɵɵtextInterpolate(ctx_r12.recipe == null ? null : ctx_r12.recipe.restingTime);
16315
+ i0.ɵɵtextInterpolate(ctx_r24.recipe == null ? null : ctx_r24.recipe.restingTime);
16116
16316
  }
16117
16317
  }
16118
16318
  function RecipeDetailsInfosComponent_div_21_Template(rf, ctx) {
16119
16319
  if (rf & 1) {
16120
- i0.ɵɵelementStart(0, "div", 21);
16121
- i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_21_div_1_Template, 7, 4, "div", 22);
16122
- i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_div_21_div_2_Template, 7, 4, "div", 22);
16123
- i0.ɵɵtemplate(3, RecipeDetailsInfosComponent_div_21_div_3_Template, 7, 4, "div", 22);
16320
+ i0.ɵɵelementStart(0, "div", 30);
16321
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_21_div_1_Template, 7, 4, "div", 31);
16322
+ i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_div_21_div_2_Template, 7, 4, "div", 31);
16323
+ i0.ɵɵtemplate(3, RecipeDetailsInfosComponent_div_21_div_3_Template, 7, 4, "div", 31);
16124
16324
  i0.ɵɵelementEnd();
16125
16325
  }
16126
16326
  if (rf & 2) {
@@ -16135,36 +16335,36 @@
16135
16335
  }
16136
16336
  function RecipeDetailsInfosComponent_div_22_div_1_img_1_Template(rf, ctx) {
16137
16337
  if (rf & 1) {
16138
- i0.ɵɵelement(0, "img", 32);
16338
+ i0.ɵɵelement(0, "img", 41);
16139
16339
  }
16140
16340
  if (rf & 2) {
16141
- var tag_r14 = i0.ɵɵnextContext().$implicit;
16142
- i0.ɵɵproperty("src", tag_r14.attributes.icon, i0.ɵɵsanitizeUrl);
16341
+ var tag_r26 = i0.ɵɵnextContext().$implicit;
16342
+ i0.ɵɵproperty("src", tag_r26.attributes.icon, i0.ɵɵsanitizeUrl);
16143
16343
  }
16144
16344
  }
16145
16345
  function RecipeDetailsInfosComponent_div_22_div_1_Template(rf, ctx) {
16146
16346
  if (rf & 1) {
16147
- i0.ɵɵelementStart(0, "div", 29);
16148
- i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_img_1_Template, 1, 1, "img", 30);
16149
- i0.ɵɵelementStart(2, "span", 31);
16347
+ i0.ɵɵelementStart(0, "div", 38);
16348
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_img_1_Template, 1, 1, "img", 39);
16349
+ i0.ɵɵelementStart(2, "span", 40);
16150
16350
  i0.ɵɵtext(3);
16151
16351
  i0.ɵɵelementEnd();
16152
16352
  i0.ɵɵelementEnd();
16153
16353
  }
16154
16354
  if (rf & 2) {
16155
- var tag_r14 = ctx.$implicit;
16156
- var ctx_r13 = i0.ɵɵnextContext(2);
16157
- i0.ɵɵproperty("ngClass", ctx_r13.tagClass(tag_r14));
16355
+ var tag_r26 = ctx.$implicit;
16356
+ var ctx_r25 = i0.ɵɵnextContext(2);
16357
+ i0.ɵɵproperty("ngClass", ctx_r25.tagClass(tag_r26));
16158
16358
  i0.ɵɵadvance(1);
16159
- i0.ɵɵproperty("ngIf", ctx_r13.displayTagsIcons);
16359
+ i0.ɵɵproperty("ngIf", ctx_r25.displayTagsIcons);
16160
16360
  i0.ɵɵadvance(2);
16161
- i0.ɵɵtextInterpolate1(" ", tag_r14.name, " ");
16361
+ i0.ɵɵtextInterpolate1(" ", tag_r26.name, " ");
16162
16362
  }
16163
16363
  }
16164
16364
  function RecipeDetailsInfosComponent_div_22_Template(rf, ctx) {
16165
16365
  if (rf & 1) {
16166
- i0.ɵɵelementStart(0, "div", 27);
16167
- i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_Template, 4, 3, "div", 28);
16366
+ i0.ɵɵelementStart(0, "div", 36);
16367
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_Template, 4, 3, "div", 37);
16168
16368
  i0.ɵɵelementEnd();
16169
16369
  }
16170
16370
  if (rf & 2) {
@@ -16214,32 +16414,32 @@
16214
16414
  }
16215
16415
  var i18n_2;
16216
16416
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
16217
- var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__3 = goog.getMsg("Chef d\u00E9butant");
16218
- i18n_2 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__3;
16417
+ var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___3 = goog.getMsg("Chef d\u00E9butant");
16418
+ i18n_2 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___3;
16219
16419
  }
16220
16420
  else {
16221
16421
  i18n_2 = $localize(templateObject_2$h || (templateObject_2$h = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
16222
16422
  }
16223
16423
  var i18n_4;
16224
16424
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
16225
- var MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__5 = goog.getMsg("Chef interm\u00E9diaire");
16226
- i18n_4 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__5;
16425
+ var MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___5 = goog.getMsg("Chef interm\u00E9diaire");
16426
+ i18n_4 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___5;
16227
16427
  }
16228
16428
  else {
16229
16429
  i18n_4 = $localize(templateObject_3$e || (templateObject_3$e = __makeTemplateObject([":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"], [":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"])));
16230
16430
  }
16231
16431
  var i18n_6;
16232
16432
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
16233
- var MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__7 = goog.getMsg("Top chef");
16234
- i18n_6 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__7;
16433
+ var MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___7 = goog.getMsg("Top chef");
16434
+ i18n_6 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___7;
16235
16435
  }
16236
16436
  else {
16237
16437
  i18n_6 = $localize(templateObject_4$b || (templateObject_4$b = __makeTemplateObject([":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"], [":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"])));
16238
16438
  }
16239
16439
  var i18n_8;
16240
16440
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
16241
- var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__9 = goog.getMsg("Chef d\u00E9butant");
16242
- i18n_8 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__9;
16441
+ var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___9 = goog.getMsg("Chef d\u00E9butant");
16442
+ i18n_8 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___9;
16243
16443
  }
16244
16444
  else {
16245
16445
  i18n_8 = $localize(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
@@ -16276,7 +16476,7 @@
16276
16476
  else {
16277
16477
  i18n_16 = $localize(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject([":\u241F09ad69ce9c59d2894e56c5667c5ba0a1b61be4d3\u241F7324854353917632472:Repos : "], [":\u241F09ad69ce9c59d2894e56c5667c5ba0a1b61be4d3\u241F7324854353917632472:Repos : "])));
16278
16478
  }
16279
- return [[1, "miam-recipe-details-infos"], [1, "miam-recipe-details-infos__main"], [1, "miam-recipe-details-infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details-infos__time", "miam-recipe-details-infos__time__total"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__time__text"], i18n_0, ["class", "miam-recipe-details-infos__time miam-recipe-details-infos__time__total", 4, "ngIf"], [1, "miam-recipe-details-infos__additional"], ["class", "miam-recipe-details-infos__times", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [3, "width", "height", "iconName"], [1, "miam-recipe-card__info__label"], i18n_2, i18n_4, i18n_6, i18n_8, i18n_10, [1, "miam-recipe-details-infos__times"], ["class", "miam-recipe-details-infos__time", 4, "ngIf"], [1, "miam-recipe-details-infos__time"], i18n_12, i18n_14, i18n_16, [1, "miam-recipe-details__tags"], ["class", "miam-recipe-details__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__tag", 3, "ngClass"], ["class", "miam-recipe-details__tag__icon", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__tag__name"], [1, "miam-recipe-details__tag__icon", 3, "src"]];
16479
+ return [[1, "miam-recipe-details-infos"], [1, "miam-recipe-details-infos__main"], [1, "miam-recipe-details-infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details-infos__time", "miam-recipe-details-infos__time__total"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__time__text"], i18n_0, ["class", "miam-recipe-details-infos__time miam-recipe-details-infos__time__total", 4, "ngIf"], [1, "miam-recipe-details-infos__additional"], ["class", "miam-recipe-details-infos__times", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [3, "width", "height", "iconName"], ["class", "miam-recipe-details-infos__label easy", 4, "ngIf", "ngIfElse"], ["difficultyEasyDefault", ""], [1, "miam-recipe-details-infos__label", "easy"], i18n_2, ["class", "miam-recipe-details-infos__label medium", 4, "ngIf", "ngIfElse"], ["difficultyMediumDefault", ""], [1, "miam-recipe-details-infos__label", "medium"], i18n_4, ["class", "miam-recipe-details-infos__label hard", 4, "ngIf", "ngIfElse"], ["difficultyHardDefault", ""], [1, "miam-recipe-details-infos__label", "hard"], i18n_6, ["difficultyDefault", ""], i18n_8, i18n_10, [1, "miam-recipe-details-infos__times"], ["class", "miam-recipe-details-infos__time", 4, "ngIf"], [1, "miam-recipe-details-infos__time"], i18n_12, i18n_14, i18n_16, [1, "miam-recipe-details__tags"], ["class", "miam-recipe-details__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__tag", 3, "ngClass"], ["class", "miam-recipe-details__tag__icon", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__tag__name"], [1, "miam-recipe-details__tag__icon", 3, "src"]];
16280
16480
  }, template: function RecipeDetailsInfosComponent_Template(rf, ctx) {
16281
16481
  if (rf & 1) {
16282
16482
  i0.ɵɵelementStart(0, "div", 0);
@@ -16288,10 +16488,10 @@
16288
16488
  i0.ɵɵtemplate(6, RecipeDetailsInfosComponent_ng_container_6_Template, 2, 3, "ng-container", 5);
16289
16489
  i0.ɵɵelementContainerEnd();
16290
16490
  i0.ɵɵelementContainerStart(7, 3);
16291
- i0.ɵɵtemplate(8, RecipeDetailsInfosComponent_ng_container_8_Template, 3, 0, "ng-container", 4);
16292
- i0.ɵɵtemplate(9, RecipeDetailsInfosComponent_ng_container_9_Template, 3, 0, "ng-container", 4);
16293
- i0.ɵɵtemplate(10, RecipeDetailsInfosComponent_ng_container_10_Template, 3, 0, "ng-container", 4);
16294
- i0.ɵɵtemplate(11, RecipeDetailsInfosComponent_ng_container_11_Template, 3, 0, "ng-container", 5);
16491
+ i0.ɵɵtemplate(8, RecipeDetailsInfosComponent_ng_container_8_Template, 4, 2, "ng-container", 4);
16492
+ i0.ɵɵtemplate(9, RecipeDetailsInfosComponent_ng_container_9_Template, 4, 2, "ng-container", 4);
16493
+ i0.ɵɵtemplate(10, RecipeDetailsInfosComponent_ng_container_10_Template, 4, 2, "ng-container", 4);
16494
+ i0.ɵɵtemplate(11, RecipeDetailsInfosComponent_ng_container_11_Template, 4, 2, "ng-container", 5);
16295
16495
  i0.ɵɵelementContainerEnd();
16296
16496
  i0.ɵɵelementEnd();
16297
16497
  i0.ɵɵelementStart(12, "div", 6);
@@ -18512,41 +18712,137 @@
18512
18712
  i0.ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r44.icon.DifficultyLow);
18513
18713
  }
18514
18714
  }
18715
+ function CatalogRecipeCardComponent_div_23_ng_container_6_span_1_Template(rf, ctx) {
18716
+ if (rf & 1) {
18717
+ i0.ɵɵelementStart(0, "span", 66);
18718
+ i0.ɵɵtext(1);
18719
+ i0.ɵɵelementEnd();
18720
+ }
18721
+ if (rf & 2) {
18722
+ var ctx_r49 = i0.ɵɵnextContext(3);
18723
+ i0.ɵɵadvance(1);
18724
+ i0.ɵɵtextInterpolate1(" ", ctx_r49.recipeService.difficultyLevels[0].label, " ");
18725
+ }
18726
+ }
18727
+ function CatalogRecipeCardComponent_div_23_ng_container_6_ng_template_2_Template(rf, ctx) {
18728
+ if (rf & 1) {
18729
+ i0.ɵɵelementStart(0, "span", 66);
18730
+ i0.ɵɵi18n(1, 67);
18731
+ i0.ɵɵelementEnd();
18732
+ }
18733
+ }
18515
18734
  function CatalogRecipeCardComponent_div_23_ng_container_6_Template(rf, ctx) {
18516
18735
  if (rf & 1) {
18517
18736
  i0.ɵɵelementContainerStart(0);
18518
- i0.ɵɵelementStart(1, "span", 58);
18519
- i0.ɵɵi18n(2, 64);
18520
- i0.ɵɵelementEnd();
18737
+ i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_6_span_1_Template, 2, 1, "span", 64);
18738
+ i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_6_ng_template_2_Template, 2, 0, "ng-template", null, 65, i0.ɵɵtemplateRefExtractor);
18521
18739
  i0.ɵɵelementContainerEnd();
18522
18740
  }
18741
+ if (rf & 2) {
18742
+ var _r50 = i0.ɵɵreference(3);
18743
+ var ctx_r45 = i0.ɵɵnextContext(2);
18744
+ i0.ɵɵadvance(1);
18745
+ i0.ɵɵproperty("ngIf", (ctx_r45.recipeService.difficultyLevels[0] == null ? null : ctx_r45.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r50);
18746
+ }
18747
+ }
18748
+ function CatalogRecipeCardComponent_div_23_ng_container_7_span_1_Template(rf, ctx) {
18749
+ if (rf & 1) {
18750
+ i0.ɵɵelementStart(0, "span", 70);
18751
+ i0.ɵɵtext(1);
18752
+ i0.ɵɵelementEnd();
18753
+ }
18754
+ if (rf & 2) {
18755
+ var ctx_r52 = i0.ɵɵnextContext(3);
18756
+ i0.ɵɵadvance(1);
18757
+ i0.ɵɵtextInterpolate1(" ", ctx_r52.recipeService.difficultyLevels[1].label, " ");
18758
+ }
18759
+ }
18760
+ function CatalogRecipeCardComponent_div_23_ng_container_7_ng_template_2_Template(rf, ctx) {
18761
+ if (rf & 1) {
18762
+ i0.ɵɵelementStart(0, "span", 70);
18763
+ i0.ɵɵi18n(1, 71);
18764
+ i0.ɵɵelementEnd();
18765
+ }
18523
18766
  }
18524
18767
  function CatalogRecipeCardComponent_div_23_ng_container_7_Template(rf, ctx) {
18525
18768
  if (rf & 1) {
18526
18769
  i0.ɵɵelementContainerStart(0);
18527
- i0.ɵɵelementStart(1, "span", 58);
18528
- i0.ɵɵi18n(2, 65);
18529
- i0.ɵɵelementEnd();
18770
+ i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_7_span_1_Template, 2, 1, "span", 68);
18771
+ i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_7_ng_template_2_Template, 2, 0, "ng-template", null, 69, i0.ɵɵtemplateRefExtractor);
18530
18772
  i0.ɵɵelementContainerEnd();
18531
18773
  }
18774
+ if (rf & 2) {
18775
+ var _r53 = i0.ɵɵreference(3);
18776
+ var ctx_r46 = i0.ɵɵnextContext(2);
18777
+ i0.ɵɵadvance(1);
18778
+ i0.ɵɵproperty("ngIf", (ctx_r46.recipeService.difficultyLevels[1] == null ? null : ctx_r46.recipeService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r53);
18779
+ }
18780
+ }
18781
+ function CatalogRecipeCardComponent_div_23_ng_container_8_span_1_Template(rf, ctx) {
18782
+ if (rf & 1) {
18783
+ i0.ɵɵelementStart(0, "span", 74);
18784
+ i0.ɵɵtext(1);
18785
+ i0.ɵɵelementEnd();
18786
+ }
18787
+ if (rf & 2) {
18788
+ var ctx_r55 = i0.ɵɵnextContext(3);
18789
+ i0.ɵɵadvance(1);
18790
+ i0.ɵɵtextInterpolate1(" ", ctx_r55.recipeService.difficultyLevels[2].label, " ");
18791
+ }
18792
+ }
18793
+ function CatalogRecipeCardComponent_div_23_ng_container_8_ng_template_2_Template(rf, ctx) {
18794
+ if (rf & 1) {
18795
+ i0.ɵɵelementStart(0, "span", 74);
18796
+ i0.ɵɵi18n(1, 75);
18797
+ i0.ɵɵelementEnd();
18798
+ }
18532
18799
  }
18533
18800
  function CatalogRecipeCardComponent_div_23_ng_container_8_Template(rf, ctx) {
18534
18801
  if (rf & 1) {
18535
18802
  i0.ɵɵelementContainerStart(0);
18536
- i0.ɵɵelementStart(1, "span", 58);
18537
- i0.ɵɵi18n(2, 66);
18538
- i0.ɵɵelementEnd();
18803
+ i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_8_span_1_Template, 2, 1, "span", 72);
18804
+ i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 73, i0.ɵɵtemplateRefExtractor);
18539
18805
  i0.ɵɵelementContainerEnd();
18540
18806
  }
18807
+ if (rf & 2) {
18808
+ var _r56 = i0.ɵɵreference(3);
18809
+ var ctx_r47 = i0.ɵɵnextContext(2);
18810
+ i0.ɵɵadvance(1);
18811
+ i0.ɵɵproperty("ngIf", (ctx_r47.recipeService.difficultyLevels[2] == null ? null : ctx_r47.recipeService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r56);
18812
+ }
18813
+ }
18814
+ function CatalogRecipeCardComponent_div_23_ng_container_9_span_1_Template(rf, ctx) {
18815
+ if (rf & 1) {
18816
+ i0.ɵɵelementStart(0, "span", 66);
18817
+ i0.ɵɵtext(1);
18818
+ i0.ɵɵelementEnd();
18819
+ }
18820
+ if (rf & 2) {
18821
+ var ctx_r58 = i0.ɵɵnextContext(3);
18822
+ i0.ɵɵadvance(1);
18823
+ i0.ɵɵtextInterpolate1(" ", ctx_r58.recipeService.difficultyLevels[0].label, " ");
18824
+ }
18825
+ }
18826
+ function CatalogRecipeCardComponent_div_23_ng_container_9_ng_template_2_Template(rf, ctx) {
18827
+ if (rf & 1) {
18828
+ i0.ɵɵelementStart(0, "span", 66);
18829
+ i0.ɵɵi18n(1, 77);
18830
+ i0.ɵɵelementEnd();
18831
+ }
18541
18832
  }
18542
18833
  function CatalogRecipeCardComponent_div_23_ng_container_9_Template(rf, ctx) {
18543
18834
  if (rf & 1) {
18544
18835
  i0.ɵɵelementContainerStart(0);
18545
- i0.ɵɵelementStart(1, "span", 58);
18546
- i0.ɵɵi18n(2, 67);
18547
- i0.ɵɵelementEnd();
18836
+ i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_9_span_1_Template, 2, 1, "span", 64);
18837
+ i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 76, i0.ɵɵtemplateRefExtractor);
18548
18838
  i0.ɵɵelementContainerEnd();
18549
18839
  }
18840
+ if (rf & 2) {
18841
+ var _r59 = i0.ɵɵreference(3);
18842
+ var ctx_r48 = i0.ɵɵnextContext(2);
18843
+ i0.ɵɵadvance(1);
18844
+ i0.ɵɵproperty("ngIf", (ctx_r48.recipeService.difficultyLevels[0] == null ? null : ctx_r48.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r59);
18845
+ }
18550
18846
  }
18551
18847
  var _c17$1 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
18552
18848
  function CatalogRecipeCardComponent_div_23_Template(rf, ctx) {
@@ -18558,10 +18854,10 @@
18558
18854
  i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_23_ng_container_4_Template, 2, 3, "ng-container", 62);
18559
18855
  i0.ɵɵelementContainerEnd();
18560
18856
  i0.ɵɵelementContainerStart(5, 60);
18561
- i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_23_ng_container_6_Template, 3, 0, "ng-container", 61);
18562
- i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_23_ng_container_7_Template, 3, 0, "ng-container", 61);
18563
- i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_23_ng_container_8_Template, 3, 0, "ng-container", 61);
18564
- i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_23_ng_container_9_Template, 3, 0, "ng-container", 62);
18857
+ i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_23_ng_container_6_Template, 4, 2, "ng-container", 61);
18858
+ i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_23_ng_container_7_Template, 4, 2, "ng-container", 61);
18859
+ i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_23_ng_container_8_Template, 4, 2, "ng-container", 61);
18860
+ i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_23_ng_container_9_Template, 4, 2, "ng-container", 62);
18565
18861
  i0.ɵɵelementContainerEnd();
18566
18862
  i0.ɵɵelementEnd();
18567
18863
  }
@@ -18595,9 +18891,9 @@
18595
18891
  }
18596
18892
  function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template(rf, ctx) {
18597
18893
  if (rf & 1) {
18598
- var _r50_1 = i0.ɵɵgetCurrentView();
18599
- i0.ɵɵelementStart(0, "ng-miam-actions-popin", 68);
18600
- i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r50_1); var ctx_r49 = i0.ɵɵnextContext(); return ctx_r49.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r50_1); var ctx_r51 = i0.ɵɵnextContext(); return ctx_r51.actionTriggered.emit($event); });
18894
+ var _r62_1 = i0.ɵɵgetCurrentView();
18895
+ i0.ɵɵelementStart(0, "ng-miam-actions-popin", 78);
18896
+ i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r62_1); var ctx_r61 = i0.ɵɵnextContext(); return ctx_r61.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r62_1); var ctx_r63 = i0.ɵɵnextContext(); return ctx_r63.actionTriggered.emit($event); });
18601
18897
  i0.ɵɵelementEnd();
18602
18898
  }
18603
18899
  }
@@ -18735,37 +19031,37 @@
18735
19031
  }
18736
19032
  var i18n_9;
18737
19033
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
18738
- var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___10 = goog.getMsg("Chef d\u00E9butant");
18739
- i18n_9 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___10;
19034
+ var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____10 = goog.getMsg("Chef d\u00E9butant");
19035
+ i18n_9 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____10;
18740
19036
  }
18741
19037
  else {
18742
19038
  i18n_9 = $localize(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
18743
19039
  }
18744
19040
  var i18n_11;
18745
19041
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
18746
- var MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___12 = goog.getMsg("Chef interm\u00E9diaire");
18747
- i18n_11 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___12;
19042
+ var MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____12 = goog.getMsg("Chef interm\u00E9diaire");
19043
+ i18n_11 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____12;
18748
19044
  }
18749
19045
  else {
18750
19046
  i18n_11 = $localize(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject([":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"], [":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"])));
18751
19047
  }
18752
19048
  var i18n_13;
18753
19049
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
18754
- var MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___14 = goog.getMsg("Top chef");
18755
- i18n_13 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___14;
19050
+ var MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____14 = goog.getMsg("Top chef");
19051
+ i18n_13 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____14;
18756
19052
  }
18757
19053
  else {
18758
19054
  i18n_13 = $localize(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject([":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"], [":\u241Ffb603a6dffb1bfa95a9b7eda7e134156ab67f0b3\u241F8735393154824887316:Top chef"])));
18759
19055
  }
18760
19056
  var i18n_15;
18761
19057
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
18762
- var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___16 = goog.getMsg("Chef d\u00E9butant");
18763
- i18n_15 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___16;
19058
+ var MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____16 = goog.getMsg("Chef d\u00E9butant");
19059
+ i18n_15 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____16;
18764
19060
  }
18765
19061
  else {
18766
19062
  i18n_15 = $localize(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
18767
19063
  }
18768
- return [[1, "miam-catalog-recipe-card"], [1, "miam-catalog-recipe-card__header"], ["class", "miam-catalog-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-recipe-card__attributes__control"], ["class", "miam-catalog-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-catalog-recipe-card__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["originalCTA", ""], [3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-catalog-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf"], ["skeletonInfo", ""], [3, "close", "actionTriggered", 4, "ngIf"], ["cors", ""], [1, "miam-catalog-card__picture", 3, "click"], [1, "miam-catalog-card__picture__gradient"], ["loading", "lazy", 1, "miam-catalog-card__picture__img", 3, "src"], ["class", "miam-catalog-card__picture__sponsor", 4, "ngIf"], ["class", "miam-catalog-card__picture__filigrane", 4, "ngIf"], ["class", "miam-catalog-recipe-card__picture__video", 4, "ngIf"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["class", "miam-catalog-recipe-card__actions__icon m-button-primary reverse", 3, "click", 4, "ngIf", "ngIfElse"], ["like", ""], [1, "miam-catalog-card__picture__sponsor"], [3, "src"], [1, "miam-catalog-card__picture__filigrane"], [1, "miam-catalog-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [1, "miam-catalog-recipe-card__picture__tag"], i18n_1, [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], [1, "miam-catalog-recipe-card__actions__icon", "m-button-primary", "reverse", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["width", "17", "height", "17", 1, "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-catalog-recipe-card__ingredients__pictures"], [1, "miam-catalog-recipe-card__ingredients__picture"], ["class", "miam-catalog-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-catalog-recipe-card__ingredients__more"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [3, "recipe", "serves"], i18n_3, i18n_5, i18n_7, [3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info", "recipe__total__time"], ["width", "18", "height", "18", "primaryColor", "var(--m-catalog-card-details-color)", 3, "iconName"], [1, "miam-catalog-card__info__label"], [1, "miam-catalog-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-catalog-card-details-color)", 3, "width", "height", "iconName"], i18n_9, i18n_11, i18n_13, i18n_15, [3, "close", "actionTriggered"]];
19064
+ return [[1, "miam-catalog-recipe-card"], [1, "miam-catalog-recipe-card__header"], ["class", "miam-catalog-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-recipe-card__attributes__control"], ["class", "miam-catalog-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-catalog-recipe-card__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["originalCTA", ""], [3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-catalog-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf"], ["skeletonInfo", ""], [3, "close", "actionTriggered", 4, "ngIf"], ["cors", ""], [1, "miam-catalog-card__picture", 3, "click"], [1, "miam-catalog-card__picture__gradient"], ["loading", "lazy", 1, "miam-catalog-card__picture__img", 3, "src"], ["class", "miam-catalog-card__picture__sponsor", 4, "ngIf"], ["class", "miam-catalog-card__picture__filigrane", 4, "ngIf"], ["class", "miam-catalog-recipe-card__picture__video", 4, "ngIf"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["class", "miam-catalog-recipe-card__actions__icon m-button-primary reverse", 3, "click", 4, "ngIf", "ngIfElse"], ["like", ""], [1, "miam-catalog-card__picture__sponsor"], [3, "src"], [1, "miam-catalog-card__picture__filigrane"], [1, "miam-catalog-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [1, "miam-catalog-recipe-card__picture__tag"], i18n_1, [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], [1, "miam-catalog-recipe-card__actions__icon", "m-button-primary", "reverse", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], ["width", "17", "height", "17", 1, "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-catalog-recipe-card__ingredients__pictures"], [1, "miam-catalog-recipe-card__ingredients__picture"], ["class", "miam-catalog-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-catalog-recipe-card__ingredients__more"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [3, "recipe", "serves"], i18n_3, i18n_5, i18n_7, [3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info", "recipe__total__time"], ["width", "18", "height", "18", "primaryColor", "var(--m-catalog-card-details-color)", 3, "iconName"], [1, "miam-catalog-card__info__label"], [1, "miam-catalog-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-catalog-card-details-color)", 3, "width", "height", "iconName"], ["class", "miam-catalog-card__info__label easy", 4, "ngIf", "ngIfElse"], ["difficultyEasyDefault", ""], [1, "miam-catalog-card__info__label", "easy"], i18n_9, ["class", "miam-catalog-card__info__label medium", 4, "ngIf", "ngIfElse"], ["difficultyMediumDefault", ""], [1, "miam-catalog-card__info__label", "medium"], i18n_11, ["class", "miam-catalog-card__info__label hard", 4, "ngIf", "ngIfElse"], ["difficultyHardDefault", ""], [1, "miam-catalog-card__info__label", "hard"], i18n_13, ["difficultyDefault", ""], i18n_15, [3, "close", "actionTriggered"]];
18769
19065
  }, template: function CatalogRecipeCardComponent_Template(rf, ctx) {
18770
19066
  if (rf & 1) {
18771
19067
  i0.ɵɵelementStart(0, "div", 0);
@@ -23750,7 +24046,7 @@
23750
24046
  request = request.clone({
23751
24047
  setHeaders: {
23752
24048
  'miam-origin': context.origin,
23753
- 'miam-front-version': '6.2.2',
24049
+ 'miam-front-version': '6.2.3',
23754
24050
  'miam-front-type': 'web',
23755
24051
  'miam-api-version': '4.7.0'
23756
24052
  }