ng-miam 6.2.2 → 6.2.3

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.
@@ -1676,15 +1676,6 @@ class IngredientsService extends Service {
1676
1676
  this.resource = Ingredient;
1677
1677
  this.type = 'ingredients';
1678
1678
  this.register();
1679
- // if you are using this service you will need this, prefetch it when user logs
1680
- userService.isLogged$
1681
- .pipe(skipWhile(isLogged => !isLogged), take(1))
1682
- .subscribe(isLogged => {
1683
- if (isLogged) {
1684
- this.fetchReviewedNames();
1685
- this.fetchReviewedUnits();
1686
- }
1687
- });
1688
1679
  }
1689
1680
  getReviewedNames() {
1690
1681
  if (!this.reviewedNames) {
@@ -3373,6 +3364,9 @@ class ContextService {
3373
3364
  setDefaultIngredientPicture: (url) => {
3374
3365
  this.defaultIngredientPicture = url;
3375
3366
  },
3367
+ search: (provider, query) => {
3368
+ return this.recipesService.all({ remotefilter: { recipe_provider_id: provider, search: query } }).pipe(skipWhile(result => !result), map(response => response['data']));
3369
+ },
3376
3370
  // We keep those just in case
3377
3371
  // setRecipesPrimaryButtonActions: (display = true, addToBasket = true) => {
3378
3372
  // this.recipesService.setRecipesPrimaryButtonActions(display, addToBasket);
@@ -6201,6 +6195,8 @@ class ListInputComponent {
6201
6195
  this.orderHasChanged = new EventEmitter();
6202
6196
  this.previousQuantities = [];
6203
6197
  this.maxSelectionNumber = 5;
6198
+ this.ingredientService.getReviewedNames();
6199
+ this.ingredientService.getReviewedUnits();
6204
6200
  }
6205
6201
  delete(index) {
6206
6202
  var _a;
@@ -9494,33 +9490,105 @@ function RecipeCardComponent_div_0_div_12_ng_container_4_Template(rf, ctx) { if
9494
9490
  ɵɵadvance(1);
9495
9491
  ɵɵproperty("width", 60)("height", 20)("iconName", ctx_r36.icon.DifficultyLow);
9496
9492
  } }
9493
+ function RecipeCardComponent_div_0_div_12_ng_container_6_span_1_Template(rf, ctx) { if (rf & 1) {
9494
+ ɵɵelementStart(0, "span", 56);
9495
+ ɵɵtext(1);
9496
+ ɵɵelementEnd();
9497
+ } if (rf & 2) {
9498
+ const ctx_r41 = ɵɵnextContext(4);
9499
+ ɵɵadvance(1);
9500
+ ɵɵtextInterpolate1(" ", ctx_r41.recipeService.difficultyLevels[0].label, " ");
9501
+ } }
9502
+ function RecipeCardComponent_div_0_div_12_ng_container_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9503
+ ɵɵelementStart(0, "span", 56);
9504
+ ɵɵi18n(1, 57);
9505
+ ɵɵelementEnd();
9506
+ } }
9497
9507
  function RecipeCardComponent_div_0_div_12_ng_container_6_Template(rf, ctx) { if (rf & 1) {
9498
9508
  ɵɵelementContainerStart(0);
9499
- ɵɵelementStart(1, "span", 48);
9500
- ɵɵi18n(2, 54);
9501
- ɵɵelementEnd();
9509
+ ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_6_span_1_Template, 2, 1, "span", 54);
9510
+ ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_6_ng_template_2_Template, 2, 0, "ng-template", null, 55, ɵɵtemplateRefExtractor);
9502
9511
  ɵɵelementContainerEnd();
9512
+ } if (rf & 2) {
9513
+ const _r42 = ɵɵreference(3);
9514
+ const ctx_r37 = ɵɵnextContext(3);
9515
+ ɵɵadvance(1);
9516
+ ɵɵproperty("ngIf", (ctx_r37.recipeService.difficultyLevels[0] == null ? null : ctx_r37.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r42);
9517
+ } }
9518
+ function RecipeCardComponent_div_0_div_12_ng_container_7_span_1_Template(rf, ctx) { if (rf & 1) {
9519
+ ɵɵelementStart(0, "span", 60);
9520
+ ɵɵtext(1);
9521
+ ɵɵelementEnd();
9522
+ } if (rf & 2) {
9523
+ const ctx_r44 = ɵɵnextContext(4);
9524
+ ɵɵadvance(1);
9525
+ ɵɵtextInterpolate1(" ", ctx_r44.recipeService.difficultyLevels[1].label, " ");
9526
+ } }
9527
+ function RecipeCardComponent_div_0_div_12_ng_container_7_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9528
+ ɵɵelementStart(0, "span", 60);
9529
+ ɵɵi18n(1, 61);
9530
+ ɵɵelementEnd();
9503
9531
  } }
9504
9532
  function RecipeCardComponent_div_0_div_12_ng_container_7_Template(rf, ctx) { if (rf & 1) {
9505
9533
  ɵɵelementContainerStart(0);
9506
- ɵɵelementStart(1, "span", 48);
9507
- ɵɵi18n(2, 55);
9508
- ɵɵelementEnd();
9534
+ ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_7_span_1_Template, 2, 1, "span", 58);
9535
+ ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_7_ng_template_2_Template, 2, 0, "ng-template", null, 59, ɵɵtemplateRefExtractor);
9509
9536
  ɵɵelementContainerEnd();
9537
+ } if (rf & 2) {
9538
+ const _r45 = ɵɵreference(3);
9539
+ const ctx_r38 = ɵɵnextContext(3);
9540
+ ɵɵadvance(1);
9541
+ ɵɵproperty("ngIf", (ctx_r38.recipeService.difficultyLevels[1] == null ? null : ctx_r38.recipeService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r45);
9542
+ } }
9543
+ function RecipeCardComponent_div_0_div_12_ng_container_8_span_1_Template(rf, ctx) { if (rf & 1) {
9544
+ ɵɵelementStart(0, "span", 64);
9545
+ ɵɵtext(1);
9546
+ ɵɵelementEnd();
9547
+ } if (rf & 2) {
9548
+ const ctx_r47 = ɵɵnextContext(4);
9549
+ ɵɵadvance(1);
9550
+ ɵɵtextInterpolate1(" ", ctx_r47.recipeService.difficultyLevels[2].label, " ");
9551
+ } }
9552
+ function RecipeCardComponent_div_0_div_12_ng_container_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9553
+ ɵɵelementStart(0, "span", 64);
9554
+ ɵɵi18n(1, 65);
9555
+ ɵɵelementEnd();
9510
9556
  } }
9511
9557
  function RecipeCardComponent_div_0_div_12_ng_container_8_Template(rf, ctx) { if (rf & 1) {
9512
9558
  ɵɵelementContainerStart(0);
9513
- ɵɵelementStart(1, "span", 48);
9514
- ɵɵi18n(2, 56);
9515
- ɵɵelementEnd();
9559
+ ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_8_span_1_Template, 2, 1, "span", 62);
9560
+ ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 63, ɵɵtemplateRefExtractor);
9516
9561
  ɵɵelementContainerEnd();
9562
+ } if (rf & 2) {
9563
+ const _r48 = ɵɵreference(3);
9564
+ const ctx_r39 = ɵɵnextContext(3);
9565
+ ɵɵadvance(1);
9566
+ ɵɵproperty("ngIf", (ctx_r39.recipeService.difficultyLevels[2] == null ? null : ctx_r39.recipeService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r48);
9567
+ } }
9568
+ function RecipeCardComponent_div_0_div_12_ng_container_9_span_1_Template(rf, ctx) { if (rf & 1) {
9569
+ ɵɵelementStart(0, "span", 56);
9570
+ ɵɵtext(1);
9571
+ ɵɵelementEnd();
9572
+ } if (rf & 2) {
9573
+ const ctx_r50 = ɵɵnextContext(4);
9574
+ ɵɵadvance(1);
9575
+ ɵɵtextInterpolate1(" ", ctx_r50.recipeService.difficultyLevels[0].label, " ");
9576
+ } }
9577
+ function RecipeCardComponent_div_0_div_12_ng_container_9_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9578
+ ɵɵelementStart(0, "span", 56);
9579
+ ɵɵi18n(1, 67);
9580
+ ɵɵelementEnd();
9517
9581
  } }
9518
9582
  function RecipeCardComponent_div_0_div_12_ng_container_9_Template(rf, ctx) { if (rf & 1) {
9519
9583
  ɵɵelementContainerStart(0);
9520
- ɵɵelementStart(1, "span", 48);
9521
- ɵɵi18n(2, 57);
9522
- ɵɵelementEnd();
9584
+ ɵɵtemplate(1, RecipeCardComponent_div_0_div_12_ng_container_9_span_1_Template, 2, 1, "span", 54);
9585
+ ɵɵtemplate(2, RecipeCardComponent_div_0_div_12_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 66, ɵɵtemplateRefExtractor);
9523
9586
  ɵɵelementContainerEnd();
9587
+ } if (rf & 2) {
9588
+ const _r51 = ɵɵreference(3);
9589
+ const ctx_r40 = ɵɵnextContext(3);
9590
+ ɵɵadvance(1);
9591
+ ɵɵproperty("ngIf", (ctx_r40.recipeService.difficultyLevels[0] == null ? null : ctx_r40.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r51);
9524
9592
  } }
9525
9593
  const _c8 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
9526
9594
  function RecipeCardComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) {
@@ -9531,10 +9599,10 @@ function RecipeCardComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) {
9531
9599
  ɵɵtemplate(4, RecipeCardComponent_div_0_div_12_ng_container_4_Template, 2, 3, "ng-container", 52);
9532
9600
  ɵɵelementContainerEnd();
9533
9601
  ɵɵelementContainerStart(5, 50);
9534
- ɵɵtemplate(6, RecipeCardComponent_div_0_div_12_ng_container_6_Template, 3, 0, "ng-container", 51);
9535
- ɵɵtemplate(7, RecipeCardComponent_div_0_div_12_ng_container_7_Template, 3, 0, "ng-container", 51);
9536
- ɵɵtemplate(8, RecipeCardComponent_div_0_div_12_ng_container_8_Template, 3, 0, "ng-container", 51);
9537
- ɵɵtemplate(9, RecipeCardComponent_div_0_div_12_ng_container_9_Template, 3, 0, "ng-container", 52);
9602
+ ɵɵtemplate(6, RecipeCardComponent_div_0_div_12_ng_container_6_Template, 4, 2, "ng-container", 51);
9603
+ ɵɵtemplate(7, RecipeCardComponent_div_0_div_12_ng_container_7_Template, 4, 2, "ng-container", 51);
9604
+ ɵɵtemplate(8, RecipeCardComponent_div_0_div_12_ng_container_8_Template, 4, 2, "ng-container", 51);
9605
+ ɵɵtemplate(9, RecipeCardComponent_div_0_div_12_ng_container_9_Template, 4, 2, "ng-container", 52);
9538
9606
  ɵɵelementContainerEnd();
9539
9607
  ɵɵelementEnd();
9540
9608
  } if (rf & 2) {
@@ -9556,14 +9624,14 @@ function RecipeCardComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) {
9556
9624
  ɵɵproperty("ngSwitchCase", 3);
9557
9625
  } }
9558
9626
  function RecipeCardComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
9559
- ɵɵelementStart(0, "div", 58);
9560
- ɵɵelement(1, "ng-miam-icon", 59);
9627
+ ɵɵelementStart(0, "div", 68);
9628
+ ɵɵelement(1, "ng-miam-icon", 69);
9561
9629
  ɵɵelementStart(2, "span", 48);
9562
9630
  ɵɵelementStart(3, "span");
9563
9631
  ɵɵtext(4);
9564
9632
  ɵɵelementEnd();
9565
9633
  ɵɵelementStart(5, "span");
9566
- ɵɵi18n(6, 60);
9634
+ ɵɵi18n(6, 70);
9567
9635
  ɵɵelementEnd();
9568
9636
  ɵɵelementEnd();
9569
9637
  ɵɵelementEnd();
@@ -9581,23 +9649,23 @@ function RecipeCardComponent_div_0_ng_template_14_Template(rf, ctx) { if (rf & 1
9581
9649
  ɵɵproperty("type", ctx_r13.skeleton == null ? null : ctx_r13.skeleton.IconWithInfo);
9582
9650
  } }
9583
9651
  function RecipeCardComponent_div_0_div_21_div_5_Template(rf, ctx) { if (rf & 1) {
9584
- ɵɵelementStart(0, "div", 64);
9652
+ ɵɵelementStart(0, "div", 74);
9585
9653
  ɵɵtext(1);
9586
9654
  ɵɵelementEnd();
9587
9655
  } if (rf & 2) {
9588
- const ctx_r41 = ɵɵnextContext(3);
9656
+ const ctx_r53 = ɵɵnextContext(3);
9589
9657
  ɵɵadvance(1);
9590
- ɵɵtextInterpolate1(" + ", ctx_r41.recipe.modifiedIngredients.length - 2, " ");
9658
+ ɵɵtextInterpolate1(" + ", ctx_r53.recipe.modifiedIngredients.length - 2, " ");
9591
9659
  } }
9592
9660
  function RecipeCardComponent_div_0_div_21_Template(rf, ctx) { if (rf & 1) {
9593
- ɵɵelementStart(0, "div", 61);
9594
- ɵɵelementStart(1, "div", 62);
9661
+ ɵɵelementStart(0, "div", 71);
9662
+ ɵɵelementStart(1, "div", 72);
9595
9663
  ɵɵelement(2, "img", 42);
9596
9664
  ɵɵelementEnd();
9597
- ɵɵelementStart(3, "div", 62);
9665
+ ɵɵelementStart(3, "div", 72);
9598
9666
  ɵɵelement(4, "img", 42);
9599
9667
  ɵɵelementEnd();
9600
- ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 63);
9668
+ ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 73);
9601
9669
  ɵɵelementEnd();
9602
9670
  } if (rf & 2) {
9603
9671
  const ctx_r14 = ɵɵnextContext(2);
@@ -9609,10 +9677,10 @@ function RecipeCardComponent_div_0_div_21_Template(rf, ctx) { if (rf & 1) {
9609
9677
  ɵɵproperty("ngIf", ctx_r14.recipe.modifiedIngredients.length > 2);
9610
9678
  } }
9611
9679
  function RecipeCardComponent_div_0_div_22_Template(rf, ctx) { if (rf & 1) {
9612
- const _r43 = ɵɵgetCurrentView();
9613
- ɵɵelementStart(0, "div", 65);
9614
- ɵɵelementStart(1, "ng-miam-counter-input", 66);
9615
- ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { ɵɵrestoreView(_r43); const ctx_r42 = ɵɵnextContext(2); return ctx_r42.updateGuests($event); });
9680
+ const _r55 = ɵɵgetCurrentView();
9681
+ ɵɵelementStart(0, "div", 75);
9682
+ ɵɵelementStart(1, "ng-miam-counter-input", 76);
9683
+ ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { ɵɵrestoreView(_r55); const ctx_r54 = ɵɵnextContext(2); return ctx_r54.updateGuests($event); });
9616
9684
  ɵɵelementEnd();
9617
9685
  ɵɵelementEnd();
9618
9686
  } if (rf & 2) {
@@ -9627,8 +9695,8 @@ function RecipeCardComponent_div_0_ng_template_23_Template(rf, ctx) { if (rf & 1
9627
9695
  ɵɵproperty("type", ctx_r17.skeleton == null ? null : ctx_r17.skeleton.IconWithInfo);
9628
9696
  } }
9629
9697
  function RecipeCardComponent_div_0_div_26_Template(rf, ctx) { if (rf & 1) {
9630
- ɵɵelementStart(0, "div", 67);
9631
- ɵɵelement(1, "ng-miam-recipe-pricing", 68);
9698
+ ɵɵelementStart(0, "div", 77);
9699
+ ɵɵelement(1, "ng-miam-recipe-pricing", 78);
9632
9700
  ɵɵelementEnd();
9633
9701
  } if (rf & 2) {
9634
9702
  const ctx_r18 = ɵɵnextContext(2);
@@ -9637,12 +9705,12 @@ function RecipeCardComponent_div_0_div_26_Template(rf, ctx) { if (rf & 1) {
9637
9705
  } }
9638
9706
  function RecipeCardComponent_div_0_span_31_Template(rf, ctx) { if (rf & 1) {
9639
9707
  ɵɵelementStart(0, "span");
9640
- ɵɵi18n(1, 69);
9708
+ ɵɵi18n(1, 79);
9641
9709
  ɵɵelementEnd();
9642
9710
  } }
9643
9711
  function RecipeCardComponent_div_0_ng_container_33_span_1_Template(rf, ctx) { if (rf & 1) {
9644
9712
  ɵɵelementStart(0, "span");
9645
- ɵɵi18n(1, 70);
9713
+ ɵɵi18n(1, 80);
9646
9714
  ɵɵelementEnd();
9647
9715
  } }
9648
9716
  function RecipeCardComponent_div_0_ng_container_33_Template(rf, ctx) { if (rf & 1) {
@@ -9657,7 +9725,7 @@ function RecipeCardComponent_div_0_ng_container_33_Template(rf, ctx) { if (rf &
9657
9725
  } }
9658
9726
  function RecipeCardComponent_div_0_ng_template_34_span_0_Template(rf, ctx) { if (rf & 1) {
9659
9727
  ɵɵelementStart(0, "span");
9660
- ɵɵi18n(1, 71);
9728
+ ɵɵi18n(1, 81);
9661
9729
  ɵɵelementEnd();
9662
9730
  } }
9663
9731
  function RecipeCardComponent_div_0_ng_template_34_Template(rf, ctx) { if (rf & 1) {
@@ -9668,7 +9736,7 @@ function RecipeCardComponent_div_0_ng_template_34_Template(rf, ctx) { if (rf & 1
9668
9736
  ɵɵproperty("ngIf", !ɵɵpipeBind1(1, 1, ctx_r22.groceriesListsService.recipeIsInList(ctx_r22.recipe == null ? null : ctx_r22.recipe.id)));
9669
9737
  } }
9670
9738
  function RecipeCardComponent_div_0_ng_miam_icon_36_Template(rf, ctx) { if (rf & 1) {
9671
- ɵɵelement(0, "ng-miam-icon", 72);
9739
+ ɵɵelement(0, "ng-miam-icon", 82);
9672
9740
  ɵɵpipe(1, "async");
9673
9741
  } if (rf & 2) {
9674
9742
  const ctx_r23 = ɵɵnextContext(2);
@@ -9679,7 +9747,7 @@ function RecipeCardComponent_div_0_ng_template_37_Template(rf, ctx) { if (rf & 1
9679
9747
  } }
9680
9748
  const _c17 = function (a0, a1) { return { "in-basket": a0, "loading": a1 }; };
9681
9749
  function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
9682
- const _r47 = ɵɵgetCurrentView();
9750
+ const _r59 = ɵɵgetCurrentView();
9683
9751
  ɵɵelementStart(0, "div", 2);
9684
9752
  ɵɵelementStart(1, "div", 3);
9685
9753
  ɵɵelement(2, "img", 4);
@@ -9699,7 +9767,7 @@ function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
9699
9767
  ɵɵelementStart(17, "div", 16);
9700
9768
  ɵɵelementStart(18, "div", 17);
9701
9769
  ɵɵelementStart(19, "div", 18);
9702
- ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { ɵɵrestoreView(_r47); const ctx_r46 = ɵɵnextContext(); return ctx_r46.toggleHelper(); });
9770
+ ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { ɵɵrestoreView(_r59); const ctx_r58 = ɵɵnextContext(); return ctx_r58.toggleHelper(); });
9703
9771
  ɵɵelement(20, "ng-miam-icon", 19);
9704
9772
  ɵɵelementEnd();
9705
9773
  ɵɵtemplate(21, RecipeCardComponent_div_0_div_21_Template, 6, 3, "div", 20);
@@ -9713,7 +9781,7 @@ function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
9713
9781
  ɵɵelementEnd();
9714
9782
  ɵɵelementStart(27, "div", 25);
9715
9783
  ɵɵelementStart(28, "button", 26);
9716
- ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { ɵɵrestoreView(_r47); const ctx_r48 = ɵɵnextContext(); return ctx_r48.clickPrimary(); });
9784
+ ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_28_listener() { ɵɵrestoreView(_r59); const ctx_r60 = ɵɵnextContext(); return ctx_r60.clickPrimary(); });
9717
9785
  ɵɵpipe(29, "async");
9718
9786
  ɵɵelementStart(30, "span");
9719
9787
  ɵɵtemplate(31, RecipeCardComponent_div_0_span_31_Template, 2, 0, "span", 27);
@@ -9877,26 +9945,26 @@ class RecipeCardComponent extends AbstractRecipeCardComponent {
9877
9945
  }
9878
9946
  RecipeCardComponent.ɵfac = function RecipeCardComponent_Factory(t) { return new (t || RecipeCardComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(RecipeEventsService), ɵɵdirectiveInject(GroceriesListsService), ɵɵdirectiveInject(UserService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(ContextService), ɵɵdirectiveInject(AnalyticsService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(ToasterService)); };
9879
9947
  RecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", guestsChanged: "guestsChanged" }, features: [ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature], decls: 3, vars: 1, consts: function () { var i18n_0; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
9880
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____1 = goog.getMsg("Chef d\u00E9butant");
9881
- i18n_0 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____1;
9948
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____1 = goog.getMsg("Chef d\u00E9butant");
9949
+ i18n_0 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____1;
9882
9950
  }
9883
9951
  else {
9884
9952
  i18n_0 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
9885
9953
  } var i18n_2; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
9886
- const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____3 = goog.getMsg("Chef interm\u00E9diaire");
9887
- i18n_2 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____3;
9954
+ const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____3 = goog.getMsg("Chef interm\u00E9diaire");
9955
+ i18n_2 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____3;
9888
9956
  }
9889
9957
  else {
9890
9958
  i18n_2 = $localize `:␟ccfd103e2bbd9a80c6d3a226332a77c93c88d871␟7733455880752157102:Chef intermédiaire`;
9891
9959
  } var i18n_4; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
9892
- const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____5 = goog.getMsg("Top chef");
9893
- i18n_4 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____5;
9960
+ const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____5 = goog.getMsg("Top chef");
9961
+ i18n_4 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____5;
9894
9962
  }
9895
9963
  else {
9896
9964
  i18n_4 = $localize `:␟fb603a6dffb1bfa95a9b7eda7e134156ab67f0b3␟8735393154824887316:Top chef`;
9897
9965
  } var i18n_6; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
9898
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____7 = goog.getMsg("Chef d\u00E9butant");
9899
- i18n_6 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS____7;
9966
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____7 = goog.getMsg("Chef d\u00E9butant");
9967
+ i18n_6 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS_____7;
9900
9968
  }
9901
9969
  else {
9902
9970
  i18n_6 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
@@ -9924,7 +9992,7 @@ RecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCardComponent, sel
9924
9992
  }
9925
9993
  else {
9926
9994
  i18n_15 = $localize `:␟e3d3d7039794cbbd2e16e8548bfbf9ee8fa29247␟1225769932237505428:Ajouter les ingrédients`;
9927
- } 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"]]; }, template: function RecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
9995
+ } 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"]]; }, template: function RecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
9928
9996
  ɵɵtemplate(0, RecipeCardComponent_div_0_Template, 39, 31, "div", 0);
9929
9997
  ɵɵtemplate(1, RecipeCardComponent_ng_template_1_Template, 1, 0, "ng-template", null, 1, ɵɵtemplateRefExtractor);
9930
9998
  } if (rf & 2) {
@@ -13476,40 +13544,112 @@ function RecipeDetailsInfosComponent_ng_container_6_Template(rf, ctx) { if (rf &
13476
13544
  ɵɵadvance(1);
13477
13545
  ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r2.icon.DifficultyLow);
13478
13546
  } }
13547
+ function RecipeDetailsInfosComponent_ng_container_8_span_1_Template(rf, ctx) { if (rf & 1) {
13548
+ ɵɵelementStart(0, "span", 17);
13549
+ ɵɵtext(1);
13550
+ ɵɵelementEnd();
13551
+ } if (rf & 2) {
13552
+ const ctx_r10 = ɵɵnextContext(2);
13553
+ ɵɵadvance(1);
13554
+ ɵɵtextInterpolate1(" ", ctx_r10.recipesService.difficultyLevels[0].label, " ");
13555
+ } }
13556
+ function RecipeDetailsInfosComponent_ng_container_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
13557
+ ɵɵelementStart(0, "span", 17);
13558
+ ɵɵi18n(1, 18);
13559
+ ɵɵelementEnd();
13560
+ } }
13479
13561
  function RecipeDetailsInfosComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
13480
13562
  ɵɵelementContainerStart(0);
13481
- ɵɵelementStart(1, "span", 15);
13482
- ɵɵi18n(2, 16);
13483
- ɵɵelementEnd();
13563
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_8_span_1_Template, 2, 1, "span", 15);
13564
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 16, ɵɵtemplateRefExtractor);
13484
13565
  ɵɵelementContainerEnd();
13566
+ } if (rf & 2) {
13567
+ const _r11 = ɵɵreference(3);
13568
+ const ctx_r3 = ɵɵnextContext();
13569
+ ɵɵadvance(1);
13570
+ ɵɵproperty("ngIf", (ctx_r3.recipesService.difficultyLevels[0] == null ? null : ctx_r3.recipesService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r11);
13571
+ } }
13572
+ function RecipeDetailsInfosComponent_ng_container_9_span_1_Template(rf, ctx) { if (rf & 1) {
13573
+ ɵɵelementStart(0, "span", 21);
13574
+ ɵɵtext(1);
13575
+ ɵɵelementEnd();
13576
+ } if (rf & 2) {
13577
+ const ctx_r13 = ɵɵnextContext(2);
13578
+ ɵɵadvance(1);
13579
+ ɵɵtextInterpolate1(" ", ctx_r13.recipesService.difficultyLevels[1].label, " ");
13580
+ } }
13581
+ function RecipeDetailsInfosComponent_ng_container_9_ng_template_2_Template(rf, ctx) { if (rf & 1) {
13582
+ ɵɵelementStart(0, "span", 21);
13583
+ ɵɵi18n(1, 22);
13584
+ ɵɵelementEnd();
13485
13585
  } }
13486
13586
  function RecipeDetailsInfosComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
13487
13587
  ɵɵelementContainerStart(0);
13488
- ɵɵelementStart(1, "span", 15);
13489
- ɵɵi18n(2, 17);
13490
- ɵɵelementEnd();
13588
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_9_span_1_Template, 2, 1, "span", 19);
13589
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 20, ɵɵtemplateRefExtractor);
13491
13590
  ɵɵelementContainerEnd();
13591
+ } if (rf & 2) {
13592
+ const _r14 = ɵɵreference(3);
13593
+ const ctx_r4 = ɵɵnextContext();
13594
+ ɵɵadvance(1);
13595
+ ɵɵproperty("ngIf", (ctx_r4.recipesService.difficultyLevels[1] == null ? null : ctx_r4.recipesService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r14);
13596
+ } }
13597
+ function RecipeDetailsInfosComponent_ng_container_10_span_1_Template(rf, ctx) { if (rf & 1) {
13598
+ ɵɵelementStart(0, "span", 25);
13599
+ ɵɵtext(1);
13600
+ ɵɵelementEnd();
13601
+ } if (rf & 2) {
13602
+ const ctx_r16 = ɵɵnextContext(2);
13603
+ ɵɵadvance(1);
13604
+ ɵɵtextInterpolate1(" ", ctx_r16.recipesService.difficultyLevels[2].label, " ");
13605
+ } }
13606
+ function RecipeDetailsInfosComponent_ng_container_10_ng_template_2_Template(rf, ctx) { if (rf & 1) {
13607
+ ɵɵelementStart(0, "span", 25);
13608
+ ɵɵi18n(1, 26);
13609
+ ɵɵelementEnd();
13492
13610
  } }
13493
13611
  function RecipeDetailsInfosComponent_ng_container_10_Template(rf, ctx) { if (rf & 1) {
13494
13612
  ɵɵelementContainerStart(0);
13495
- ɵɵelementStart(1, "span", 15);
13496
- ɵɵi18n(2, 18);
13497
- ɵɵelementEnd();
13613
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_10_span_1_Template, 2, 1, "span", 23);
13614
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_10_ng_template_2_Template, 2, 0, "ng-template", null, 24, ɵɵtemplateRefExtractor);
13498
13615
  ɵɵelementContainerEnd();
13616
+ } if (rf & 2) {
13617
+ const _r17 = ɵɵreference(3);
13618
+ const ctx_r5 = ɵɵnextContext();
13619
+ ɵɵadvance(1);
13620
+ ɵɵproperty("ngIf", (ctx_r5.recipesService.difficultyLevels[2] == null ? null : ctx_r5.recipesService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r17);
13621
+ } }
13622
+ function RecipeDetailsInfosComponent_ng_container_11_span_1_Template(rf, ctx) { if (rf & 1) {
13623
+ ɵɵelementStart(0, "span", 17);
13624
+ ɵɵtext(1);
13625
+ ɵɵelementEnd();
13626
+ } if (rf & 2) {
13627
+ const ctx_r19 = ɵɵnextContext(2);
13628
+ ɵɵadvance(1);
13629
+ ɵɵtextInterpolate1(" ", ctx_r19.recipesService.difficultyLevels[0].label, " ");
13630
+ } }
13631
+ function RecipeDetailsInfosComponent_ng_container_11_ng_template_2_Template(rf, ctx) { if (rf & 1) {
13632
+ ɵɵelementStart(0, "span", 17);
13633
+ ɵɵi18n(1, 28);
13634
+ ɵɵelementEnd();
13499
13635
  } }
13500
13636
  function RecipeDetailsInfosComponent_ng_container_11_Template(rf, ctx) { if (rf & 1) {
13501
13637
  ɵɵelementContainerStart(0);
13502
- ɵɵelementStart(1, "span", 15);
13503
- ɵɵi18n(2, 19);
13504
- ɵɵelementEnd();
13638
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_ng_container_11_span_1_Template, 2, 1, "span", 15);
13639
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_ng_container_11_ng_template_2_Template, 2, 0, "ng-template", null, 27, ɵɵtemplateRefExtractor);
13505
13640
  ɵɵelementContainerEnd();
13641
+ } if (rf & 2) {
13642
+ const _r20 = ɵɵreference(3);
13643
+ const ctx_r6 = ɵɵnextContext();
13644
+ ɵɵadvance(1);
13645
+ ɵɵproperty("ngIf", (ctx_r6.recipesService.difficultyLevels[0] == null ? null : ctx_r6.recipesService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r20);
13506
13646
  } }
13507
13647
  function RecipeDetailsInfosComponent_div_19_Template(rf, ctx) { if (rf & 1) {
13508
13648
  ɵɵelementStart(0, "div", 6);
13509
13649
  ɵɵelement(1, "ng-miam-icon", 7);
13510
13650
  ɵɵelementStart(2, "div", 8);
13511
13651
  ɵɵelementStart(3, "span");
13512
- ɵɵi18n(4, 20);
13652
+ ɵɵi18n(4, 29);
13513
13653
  ɵɵelementEnd();
13514
13654
  ɵɵelementStart(5, "span");
13515
13655
  ɵɵtext(6);
@@ -13524,11 +13664,11 @@ function RecipeDetailsInfosComponent_div_19_Template(rf, ctx) { if (rf & 1) {
13524
13664
  ɵɵtextInterpolate(ctx_r7.recipe == null ? null : ctx_r7.recipe.cookingTime);
13525
13665
  } }
13526
13666
  function RecipeDetailsInfosComponent_div_21_div_1_Template(rf, ctx) { if (rf & 1) {
13527
- ɵɵelementStart(0, "div", 23);
13667
+ ɵɵelementStart(0, "div", 32);
13528
13668
  ɵɵelement(1, "ng-miam-icon", 7);
13529
13669
  ɵɵelementStart(2, "div", 8);
13530
13670
  ɵɵelementStart(3, "span");
13531
- ɵɵi18n(4, 24);
13671
+ ɵɵi18n(4, 33);
13532
13672
  ɵɵelementEnd();
13533
13673
  ɵɵelementStart(5, "span");
13534
13674
  ɵɵtext(6);
@@ -13536,18 +13676,18 @@ function RecipeDetailsInfosComponent_div_21_div_1_Template(rf, ctx) { if (rf & 1
13536
13676
  ɵɵelementEnd();
13537
13677
  ɵɵelementEnd();
13538
13678
  } if (rf & 2) {
13539
- const ctx_r10 = ɵɵnextContext(2);
13679
+ const ctx_r22 = ɵɵnextContext(2);
13540
13680
  ɵɵadvance(1);
13541
- ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r10.icon.Preparation);
13681
+ ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r22.icon.Preparation);
13542
13682
  ɵɵadvance(5);
13543
- ɵɵtextInterpolate(ctx_r10.recipe == null ? null : ctx_r10.recipe.preparationTime);
13683
+ ɵɵtextInterpolate(ctx_r22.recipe == null ? null : ctx_r22.recipe.preparationTime);
13544
13684
  } }
13545
13685
  function RecipeDetailsInfosComponent_div_21_div_2_Template(rf, ctx) { if (rf & 1) {
13546
- ɵɵelementStart(0, "div", 23);
13686
+ ɵɵelementStart(0, "div", 32);
13547
13687
  ɵɵelement(1, "ng-miam-icon", 7);
13548
13688
  ɵɵelementStart(2, "div", 8);
13549
13689
  ɵɵelementStart(3, "span");
13550
- ɵɵi18n(4, 25);
13690
+ ɵɵi18n(4, 34);
13551
13691
  ɵɵelementEnd();
13552
13692
  ɵɵelementStart(5, "span");
13553
13693
  ɵɵtext(6);
@@ -13555,18 +13695,18 @@ function RecipeDetailsInfosComponent_div_21_div_2_Template(rf, ctx) { if (rf & 1
13555
13695
  ɵɵelementEnd();
13556
13696
  ɵɵelementEnd();
13557
13697
  } if (rf & 2) {
13558
- const ctx_r11 = ɵɵnextContext(2);
13698
+ const ctx_r23 = ɵɵnextContext(2);
13559
13699
  ɵɵadvance(1);
13560
- ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r11.icon.Hot);
13700
+ ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r23.icon.Hot);
13561
13701
  ɵɵadvance(5);
13562
- ɵɵtextInterpolate(ctx_r11.recipe == null ? null : ctx_r11.recipe.cookingTime);
13702
+ ɵɵtextInterpolate(ctx_r23.recipe == null ? null : ctx_r23.recipe.cookingTime);
13563
13703
  } }
13564
13704
  function RecipeDetailsInfosComponent_div_21_div_3_Template(rf, ctx) { if (rf & 1) {
13565
- ɵɵelementStart(0, "div", 23);
13705
+ ɵɵelementStart(0, "div", 32);
13566
13706
  ɵɵelement(1, "ng-miam-icon", 7);
13567
13707
  ɵɵelementStart(2, "div", 8);
13568
13708
  ɵɵelementStart(3, "span");
13569
- ɵɵi18n(4, 26);
13709
+ ɵɵi18n(4, 35);
13570
13710
  ɵɵelementEnd();
13571
13711
  ɵɵelementStart(5, "span");
13572
13712
  ɵɵtext(6);
@@ -13574,17 +13714,17 @@ function RecipeDetailsInfosComponent_div_21_div_3_Template(rf, ctx) { if (rf & 1
13574
13714
  ɵɵelementEnd();
13575
13715
  ɵɵelementEnd();
13576
13716
  } if (rf & 2) {
13577
- const ctx_r12 = ɵɵnextContext(2);
13717
+ const ctx_r24 = ɵɵnextContext(2);
13578
13718
  ɵɵadvance(1);
13579
- ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r12.icon.Wait);
13719
+ ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r24.icon.Wait);
13580
13720
  ɵɵadvance(5);
13581
- ɵɵtextInterpolate(ctx_r12.recipe == null ? null : ctx_r12.recipe.restingTime);
13721
+ ɵɵtextInterpolate(ctx_r24.recipe == null ? null : ctx_r24.recipe.restingTime);
13582
13722
  } }
13583
13723
  function RecipeDetailsInfosComponent_div_21_Template(rf, ctx) { if (rf & 1) {
13584
- ɵɵelementStart(0, "div", 21);
13585
- ɵɵtemplate(1, RecipeDetailsInfosComponent_div_21_div_1_Template, 7, 4, "div", 22);
13586
- ɵɵtemplate(2, RecipeDetailsInfosComponent_div_21_div_2_Template, 7, 4, "div", 22);
13587
- ɵɵtemplate(3, RecipeDetailsInfosComponent_div_21_div_3_Template, 7, 4, "div", 22);
13724
+ ɵɵelementStart(0, "div", 30);
13725
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_div_21_div_1_Template, 7, 4, "div", 31);
13726
+ ɵɵtemplate(2, RecipeDetailsInfosComponent_div_21_div_2_Template, 7, 4, "div", 31);
13727
+ ɵɵtemplate(3, RecipeDetailsInfosComponent_div_21_div_3_Template, 7, 4, "div", 31);
13588
13728
  ɵɵelementEnd();
13589
13729
  } if (rf & 2) {
13590
13730
  const ctx_r8 = ɵɵnextContext();
@@ -13596,30 +13736,30 @@ function RecipeDetailsInfosComponent_div_21_Template(rf, ctx) { if (rf & 1) {
13596
13736
  ɵɵproperty("ngIf", (ctx_r8.recipe == null ? null : ctx_r8.recipe.restingTime) !== "-");
13597
13737
  } }
13598
13738
  function RecipeDetailsInfosComponent_div_22_div_1_img_1_Template(rf, ctx) { if (rf & 1) {
13599
- ɵɵelement(0, "img", 32);
13739
+ ɵɵelement(0, "img", 41);
13600
13740
  } if (rf & 2) {
13601
- const tag_r14 = ɵɵnextContext().$implicit;
13602
- ɵɵproperty("src", tag_r14.attributes.icon, ɵɵsanitizeUrl);
13741
+ const tag_r26 = ɵɵnextContext().$implicit;
13742
+ ɵɵproperty("src", tag_r26.attributes.icon, ɵɵsanitizeUrl);
13603
13743
  } }
13604
13744
  function RecipeDetailsInfosComponent_div_22_div_1_Template(rf, ctx) { if (rf & 1) {
13605
- ɵɵelementStart(0, "div", 29);
13606
- ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_img_1_Template, 1, 1, "img", 30);
13607
- ɵɵelementStart(2, "span", 31);
13745
+ ɵɵelementStart(0, "div", 38);
13746
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_img_1_Template, 1, 1, "img", 39);
13747
+ ɵɵelementStart(2, "span", 40);
13608
13748
  ɵɵtext(3);
13609
13749
  ɵɵelementEnd();
13610
13750
  ɵɵelementEnd();
13611
13751
  } if (rf & 2) {
13612
- const tag_r14 = ctx.$implicit;
13613
- const ctx_r13 = ɵɵnextContext(2);
13614
- ɵɵproperty("ngClass", ctx_r13.tagClass(tag_r14));
13752
+ const tag_r26 = ctx.$implicit;
13753
+ const ctx_r25 = ɵɵnextContext(2);
13754
+ ɵɵproperty("ngClass", ctx_r25.tagClass(tag_r26));
13615
13755
  ɵɵadvance(1);
13616
- ɵɵproperty("ngIf", ctx_r13.displayTagsIcons);
13756
+ ɵɵproperty("ngIf", ctx_r25.displayTagsIcons);
13617
13757
  ɵɵadvance(2);
13618
- ɵɵtextInterpolate1(" ", tag_r14.name, " ");
13758
+ ɵɵtextInterpolate1(" ", tag_r26.name, " ");
13619
13759
  } }
13620
13760
  function RecipeDetailsInfosComponent_div_22_Template(rf, ctx) { if (rf & 1) {
13621
- ɵɵelementStart(0, "div", 27);
13622
- ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_Template, 4, 3, "div", 28);
13761
+ ɵɵelementStart(0, "div", 36);
13762
+ ɵɵtemplate(1, RecipeDetailsInfosComponent_div_22_div_1_Template, 4, 3, "div", 37);
13623
13763
  ɵɵelementEnd();
13624
13764
  } if (rf & 2) {
13625
13765
  const ctx_r9 = ɵɵnextContext();
@@ -13663,26 +13803,26 @@ RecipeDetailsInfosComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeDetailsInf
13663
13803
  else {
13664
13804
  i18n_0 = $localize `:␟8ab1e7d73efd46f5bd0a4656ac4d2d526d9fd86e␟5781436871887557035: Temps total : `;
13665
13805
  } var i18n_2; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
13666
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__3 = goog.getMsg("Chef d\u00E9butant");
13667
- i18n_2 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__3;
13806
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___3 = goog.getMsg("Chef d\u00E9butant");
13807
+ i18n_2 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___3;
13668
13808
  }
13669
13809
  else {
13670
13810
  i18n_2 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
13671
13811
  } var i18n_4; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
13672
- const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__5 = goog.getMsg("Chef interm\u00E9diaire");
13673
- i18n_4 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__5;
13812
+ const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___5 = goog.getMsg("Chef interm\u00E9diaire");
13813
+ i18n_4 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___5;
13674
13814
  }
13675
13815
  else {
13676
13816
  i18n_4 = $localize `:␟ccfd103e2bbd9a80c6d3a226332a77c93c88d871␟7733455880752157102:Chef intermédiaire`;
13677
13817
  } var i18n_6; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
13678
- const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__7 = goog.getMsg("Top chef");
13679
- i18n_6 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__7;
13818
+ const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___7 = goog.getMsg("Top chef");
13819
+ i18n_6 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___7;
13680
13820
  }
13681
13821
  else {
13682
13822
  i18n_6 = $localize `:␟fb603a6dffb1bfa95a9b7eda7e134156ab67f0b3␟8735393154824887316:Top chef`;
13683
13823
  } var i18n_8; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
13684
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__9 = goog.getMsg("Chef d\u00E9butant");
13685
- i18n_8 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__9;
13824
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___9 = goog.getMsg("Chef d\u00E9butant");
13825
+ i18n_8 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS___9;
13686
13826
  }
13687
13827
  else {
13688
13828
  i18n_8 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
@@ -13710,7 +13850,7 @@ RecipeDetailsInfosComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeDetailsInf
13710
13850
  }
13711
13851
  else {
13712
13852
  i18n_16 = $localize `:␟09ad69ce9c59d2894e56c5667c5ba0a1b61be4d3␟7324854353917632472:Repos : `;
13713
- } 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"]]; }, template: function RecipeDetailsInfosComponent_Template(rf, ctx) { if (rf & 1) {
13853
+ } 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"]]; }, template: function RecipeDetailsInfosComponent_Template(rf, ctx) { if (rf & 1) {
13714
13854
  ɵɵelementStart(0, "div", 0);
13715
13855
  ɵɵelementStart(1, "div", 1);
13716
13856
  ɵɵelementStart(2, "div", 2);
@@ -13720,10 +13860,10 @@ RecipeDetailsInfosComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeDetailsInf
13720
13860
  ɵɵtemplate(6, RecipeDetailsInfosComponent_ng_container_6_Template, 2, 3, "ng-container", 5);
13721
13861
  ɵɵelementContainerEnd();
13722
13862
  ɵɵelementContainerStart(7, 3);
13723
- ɵɵtemplate(8, RecipeDetailsInfosComponent_ng_container_8_Template, 3, 0, "ng-container", 4);
13724
- ɵɵtemplate(9, RecipeDetailsInfosComponent_ng_container_9_Template, 3, 0, "ng-container", 4);
13725
- ɵɵtemplate(10, RecipeDetailsInfosComponent_ng_container_10_Template, 3, 0, "ng-container", 4);
13726
- ɵɵtemplate(11, RecipeDetailsInfosComponent_ng_container_11_Template, 3, 0, "ng-container", 5);
13863
+ ɵɵtemplate(8, RecipeDetailsInfosComponent_ng_container_8_Template, 4, 2, "ng-container", 4);
13864
+ ɵɵtemplate(9, RecipeDetailsInfosComponent_ng_container_9_Template, 4, 2, "ng-container", 4);
13865
+ ɵɵtemplate(10, RecipeDetailsInfosComponent_ng_container_10_Template, 4, 2, "ng-container", 4);
13866
+ ɵɵtemplate(11, RecipeDetailsInfosComponent_ng_container_11_Template, 4, 2, "ng-container", 5);
13727
13867
  ɵɵelementContainerEnd();
13728
13868
  ɵɵelementEnd();
13729
13869
  ɵɵelementStart(12, "div", 6);
@@ -15585,33 +15725,105 @@ function CatalogRecipeCardComponent_div_23_ng_container_4_Template(rf, ctx) { if
15585
15725
  ɵɵadvance(1);
15586
15726
  ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r44.icon.DifficultyLow);
15587
15727
  } }
15728
+ function CatalogRecipeCardComponent_div_23_ng_container_6_span_1_Template(rf, ctx) { if (rf & 1) {
15729
+ ɵɵelementStart(0, "span", 66);
15730
+ ɵɵtext(1);
15731
+ ɵɵelementEnd();
15732
+ } if (rf & 2) {
15733
+ const ctx_r49 = ɵɵnextContext(3);
15734
+ ɵɵadvance(1);
15735
+ ɵɵtextInterpolate1(" ", ctx_r49.recipeService.difficultyLevels[0].label, " ");
15736
+ } }
15737
+ function CatalogRecipeCardComponent_div_23_ng_container_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
15738
+ ɵɵelementStart(0, "span", 66);
15739
+ ɵɵi18n(1, 67);
15740
+ ɵɵelementEnd();
15741
+ } }
15588
15742
  function CatalogRecipeCardComponent_div_23_ng_container_6_Template(rf, ctx) { if (rf & 1) {
15589
15743
  ɵɵelementContainerStart(0);
15590
- ɵɵelementStart(1, "span", 58);
15591
- ɵɵi18n(2, 64);
15592
- ɵɵelementEnd();
15744
+ ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_6_span_1_Template, 2, 1, "span", 64);
15745
+ ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_6_ng_template_2_Template, 2, 0, "ng-template", null, 65, ɵɵtemplateRefExtractor);
15593
15746
  ɵɵelementContainerEnd();
15747
+ } if (rf & 2) {
15748
+ const _r50 = ɵɵreference(3);
15749
+ const ctx_r45 = ɵɵnextContext(2);
15750
+ ɵɵadvance(1);
15751
+ ɵɵproperty("ngIf", (ctx_r45.recipeService.difficultyLevels[0] == null ? null : ctx_r45.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r50);
15752
+ } }
15753
+ function CatalogRecipeCardComponent_div_23_ng_container_7_span_1_Template(rf, ctx) { if (rf & 1) {
15754
+ ɵɵelementStart(0, "span", 70);
15755
+ ɵɵtext(1);
15756
+ ɵɵelementEnd();
15757
+ } if (rf & 2) {
15758
+ const ctx_r52 = ɵɵnextContext(3);
15759
+ ɵɵadvance(1);
15760
+ ɵɵtextInterpolate1(" ", ctx_r52.recipeService.difficultyLevels[1].label, " ");
15761
+ } }
15762
+ function CatalogRecipeCardComponent_div_23_ng_container_7_ng_template_2_Template(rf, ctx) { if (rf & 1) {
15763
+ ɵɵelementStart(0, "span", 70);
15764
+ ɵɵi18n(1, 71);
15765
+ ɵɵelementEnd();
15594
15766
  } }
15595
15767
  function CatalogRecipeCardComponent_div_23_ng_container_7_Template(rf, ctx) { if (rf & 1) {
15596
15768
  ɵɵelementContainerStart(0);
15597
- ɵɵelementStart(1, "span", 58);
15598
- ɵɵi18n(2, 65);
15599
- ɵɵelementEnd();
15769
+ ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_7_span_1_Template, 2, 1, "span", 68);
15770
+ ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_7_ng_template_2_Template, 2, 0, "ng-template", null, 69, ɵɵtemplateRefExtractor);
15600
15771
  ɵɵelementContainerEnd();
15772
+ } if (rf & 2) {
15773
+ const _r53 = ɵɵreference(3);
15774
+ const ctx_r46 = ɵɵnextContext(2);
15775
+ ɵɵadvance(1);
15776
+ ɵɵproperty("ngIf", (ctx_r46.recipeService.difficultyLevels[1] == null ? null : ctx_r46.recipeService.difficultyLevels[1].label) !== "Chef interm\u00E9diaire")("ngIfElse", _r53);
15777
+ } }
15778
+ function CatalogRecipeCardComponent_div_23_ng_container_8_span_1_Template(rf, ctx) { if (rf & 1) {
15779
+ ɵɵelementStart(0, "span", 74);
15780
+ ɵɵtext(1);
15781
+ ɵɵelementEnd();
15782
+ } if (rf & 2) {
15783
+ const ctx_r55 = ɵɵnextContext(3);
15784
+ ɵɵadvance(1);
15785
+ ɵɵtextInterpolate1(" ", ctx_r55.recipeService.difficultyLevels[2].label, " ");
15786
+ } }
15787
+ function CatalogRecipeCardComponent_div_23_ng_container_8_ng_template_2_Template(rf, ctx) { if (rf & 1) {
15788
+ ɵɵelementStart(0, "span", 74);
15789
+ ɵɵi18n(1, 75);
15790
+ ɵɵelementEnd();
15601
15791
  } }
15602
15792
  function CatalogRecipeCardComponent_div_23_ng_container_8_Template(rf, ctx) { if (rf & 1) {
15603
15793
  ɵɵelementContainerStart(0);
15604
- ɵɵelementStart(1, "span", 58);
15605
- ɵɵi18n(2, 66);
15606
- ɵɵelementEnd();
15794
+ ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_8_span_1_Template, 2, 1, "span", 72);
15795
+ ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_8_ng_template_2_Template, 2, 0, "ng-template", null, 73, ɵɵtemplateRefExtractor);
15607
15796
  ɵɵelementContainerEnd();
15797
+ } if (rf & 2) {
15798
+ const _r56 = ɵɵreference(3);
15799
+ const ctx_r47 = ɵɵnextContext(2);
15800
+ ɵɵadvance(1);
15801
+ ɵɵproperty("ngIf", (ctx_r47.recipeService.difficultyLevels[2] == null ? null : ctx_r47.recipeService.difficultyLevels[2].label) !== "Top chef")("ngIfElse", _r56);
15802
+ } }
15803
+ function CatalogRecipeCardComponent_div_23_ng_container_9_span_1_Template(rf, ctx) { if (rf & 1) {
15804
+ ɵɵelementStart(0, "span", 66);
15805
+ ɵɵtext(1);
15806
+ ɵɵelementEnd();
15807
+ } if (rf & 2) {
15808
+ const ctx_r58 = ɵɵnextContext(3);
15809
+ ɵɵadvance(1);
15810
+ ɵɵtextInterpolate1(" ", ctx_r58.recipeService.difficultyLevels[0].label, " ");
15811
+ } }
15812
+ function CatalogRecipeCardComponent_div_23_ng_container_9_ng_template_2_Template(rf, ctx) { if (rf & 1) {
15813
+ ɵɵelementStart(0, "span", 66);
15814
+ ɵɵi18n(1, 77);
15815
+ ɵɵelementEnd();
15608
15816
  } }
15609
15817
  function CatalogRecipeCardComponent_div_23_ng_container_9_Template(rf, ctx) { if (rf & 1) {
15610
15818
  ɵɵelementContainerStart(0);
15611
- ɵɵelementStart(1, "span", 58);
15612
- ɵɵi18n(2, 67);
15613
- ɵɵelementEnd();
15819
+ ɵɵtemplate(1, CatalogRecipeCardComponent_div_23_ng_container_9_span_1_Template, 2, 1, "span", 64);
15820
+ ɵɵtemplate(2, CatalogRecipeCardComponent_div_23_ng_container_9_ng_template_2_Template, 2, 0, "ng-template", null, 76, ɵɵtemplateRefExtractor);
15614
15821
  ɵɵelementContainerEnd();
15822
+ } if (rf & 2) {
15823
+ const _r59 = ɵɵreference(3);
15824
+ const ctx_r48 = ɵɵnextContext(2);
15825
+ ɵɵadvance(1);
15826
+ ɵɵproperty("ngIf", (ctx_r48.recipeService.difficultyLevels[0] == null ? null : ctx_r48.recipeService.difficultyLevels[0].label) !== "Chef d\u00E9butant")("ngIfElse", _r59);
15615
15827
  } }
15616
15828
  const _c17$1 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
15617
15829
  function CatalogRecipeCardComponent_div_23_Template(rf, ctx) { if (rf & 1) {
@@ -15622,10 +15834,10 @@ function CatalogRecipeCardComponent_div_23_Template(rf, ctx) { if (rf & 1) {
15622
15834
  ɵɵtemplate(4, CatalogRecipeCardComponent_div_23_ng_container_4_Template, 2, 3, "ng-container", 62);
15623
15835
  ɵɵelementContainerEnd();
15624
15836
  ɵɵelementContainerStart(5, 60);
15625
- ɵɵtemplate(6, CatalogRecipeCardComponent_div_23_ng_container_6_Template, 3, 0, "ng-container", 61);
15626
- ɵɵtemplate(7, CatalogRecipeCardComponent_div_23_ng_container_7_Template, 3, 0, "ng-container", 61);
15627
- ɵɵtemplate(8, CatalogRecipeCardComponent_div_23_ng_container_8_Template, 3, 0, "ng-container", 61);
15628
- ɵɵtemplate(9, CatalogRecipeCardComponent_div_23_ng_container_9_Template, 3, 0, "ng-container", 62);
15837
+ ɵɵtemplate(6, CatalogRecipeCardComponent_div_23_ng_container_6_Template, 4, 2, "ng-container", 61);
15838
+ ɵɵtemplate(7, CatalogRecipeCardComponent_div_23_ng_container_7_Template, 4, 2, "ng-container", 61);
15839
+ ɵɵtemplate(8, CatalogRecipeCardComponent_div_23_ng_container_8_Template, 4, 2, "ng-container", 61);
15840
+ ɵɵtemplate(9, CatalogRecipeCardComponent_div_23_ng_container_9_Template, 4, 2, "ng-container", 62);
15629
15841
  ɵɵelementContainerEnd();
15630
15842
  ɵɵelementEnd();
15631
15843
  } if (rf & 2) {
@@ -15653,9 +15865,9 @@ function CatalogRecipeCardComponent_ng_template_24_Template(rf, ctx) { if (rf &
15653
15865
  ɵɵproperty("type", ctx_r15.skeleton == null ? null : ctx_r15.skeleton.IconWithInfo);
15654
15866
  } }
15655
15867
  function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template(rf, ctx) { if (rf & 1) {
15656
- const _r50 = ɵɵgetCurrentView();
15657
- ɵɵelementStart(0, "ng-miam-actions-popin", 68);
15658
- ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_close_0_listener() { ɵɵrestoreView(_r50); const ctx_r49 = ɵɵnextContext(); return ctx_r49.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { ɵɵrestoreView(_r50); const ctx_r51 = ɵɵnextContext(); return ctx_r51.actionTriggered.emit($event); });
15868
+ const _r62 = ɵɵgetCurrentView();
15869
+ ɵɵelementStart(0, "ng-miam-actions-popin", 78);
15870
+ ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_close_0_listener() { ɵɵrestoreView(_r62); const ctx_r61 = ɵɵnextContext(); return ctx_r61.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_26_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { ɵɵrestoreView(_r62); const ctx_r63 = ɵɵnextContext(); return ctx_r63.actionTriggered.emit($event); });
15659
15871
  ɵɵelementEnd();
15660
15872
  } }
15661
15873
  function CatalogRecipeCardComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
@@ -15771,30 +15983,30 @@ CatalogRecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogRecipeCard
15771
15983
  else {
15772
15984
  i18n_7 = $localize `:␟e3d3d7039794cbbd2e16e8548bfbf9ee8fa29247␟1225769932237505428:Ajouter les ingrédients`;
15773
15985
  } var i18n_9; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
15774
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___10 = goog.getMsg("Chef d\u00E9butant");
15775
- i18n_9 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___10;
15986
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____10 = goog.getMsg("Chef d\u00E9butant");
15987
+ i18n_9 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____10;
15776
15988
  }
15777
15989
  else {
15778
15990
  i18n_9 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
15779
15991
  } var i18n_11; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
15780
- const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___12 = goog.getMsg("Chef interm\u00E9diaire");
15781
- i18n_11 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___12;
15992
+ const MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____12 = goog.getMsg("Chef interm\u00E9diaire");
15993
+ i18n_11 = MSG_EXTERNAL_7733455880752157102$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____12;
15782
15994
  }
15783
15995
  else {
15784
15996
  i18n_11 = $localize `:␟ccfd103e2bbd9a80c6d3a226332a77c93c88d871␟7733455880752157102:Chef intermédiaire`;
15785
15997
  } var i18n_13; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
15786
- const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___14 = goog.getMsg("Top chef");
15787
- i18n_13 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___14;
15998
+ const MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____14 = goog.getMsg("Top chef");
15999
+ i18n_13 = MSG_EXTERNAL_8735393154824887316$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____14;
15788
16000
  }
15789
16001
  else {
15790
16002
  i18n_13 = $localize `:␟fb603a6dffb1bfa95a9b7eda7e134156ab67f0b3␟8735393154824887316:Top chef`;
15791
16003
  } var i18n_15; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
15792
- const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___16 = goog.getMsg("Chef d\u00E9butant");
15793
- i18n_15 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS___16;
16004
+ const MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____16 = goog.getMsg("Chef d\u00E9butant");
16005
+ i18n_15 = MSG_EXTERNAL_3684169623116339825$$LIB__WEB_COMPONENTS_CATALOG_RECIPE_CARD_CATALOG_RECIPE_CARD_COMPONENT_TS____16;
15794
16006
  }
15795
16007
  else {
15796
16008
  i18n_15 = $localize `:␟96cca7cb17582a9b01053a242ca907b721fad7fe␟3684169623116339825:Chef débutant`;
15797
- } 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"]]; }, template: function CatalogRecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
16009
+ } 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"]]; }, template: function CatalogRecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
15798
16010
  ɵɵelementStart(0, "div", 0);
15799
16011
  ɵɵelementStart(1, "div", 1);
15800
16012
  ɵɵelementStart(2, "span");
@@ -20040,7 +20252,7 @@ class MiamInterceptor {
20040
20252
  request = request.clone({
20041
20253
  setHeaders: {
20042
20254
  'miam-origin': context.origin,
20043
- 'miam-front-version': '6.2.2',
20255
+ 'miam-front-version': '6.2.3',
20044
20256
  'miam-front-type': 'web',
20045
20257
  'miam-api-version': '4.7.0'
20046
20258
  }