ng-miam 9.1.9 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/bundles/ng-miam.umd.js +419 -301
  2. package/bundles/ng-miam.umd.js.map +1 -1
  3. package/bundles/ng-miam.umd.min.js +1 -1
  4. package/bundles/ng-miam.umd.min.js.map +1 -1
  5. package/esm2015/lib/_components/recipe-filters/recipe-filters.component.js +3 -3
  6. package/esm2015/lib/_services/recipes.service.js +8 -7
  7. package/esm2015/lib/_types/recipe-filters.js +1 -1
  8. package/esm2015/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.js +97 -58
  9. package/esm2015/lib/_web-components/recipe-catalog/catalog-category/catalog-category.component.js +4 -4
  10. package/esm2015/lib/_web-components/recipe-catalog/catalog-header/catalog-header.component.js +58 -37
  11. package/esm2015/lib/_web-components/recipe-catalog/catalog-list/catalog-list.component.js +2 -5
  12. package/esm2015/lib/_web-components/recipe-catalog/recipe-catalog.component.js +163 -120
  13. package/esm2015/lib/environments/version.js +2 -2
  14. package/fesm2015/ng-miam.js +339 -238
  15. package/fesm2015/ng-miam.js.map +1 -1
  16. package/lib/_components/recipe-filters/recipe-filters.component.d.ts.map +1 -1
  17. package/lib/_services/recipes.service.d.ts.map +1 -1
  18. package/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.d.ts.map +1 -1
  19. package/lib/_web-components/recipe-catalog/catalog-header/catalog-header.component.d.ts +1 -0
  20. package/lib/_web-components/recipe-catalog/catalog-header/catalog-header.component.d.ts.map +1 -1
  21. package/lib/_web-components/recipe-catalog/catalog-list/catalog-list.component.d.ts.map +1 -1
  22. package/lib/_web-components/recipe-catalog/recipe-catalog.component.d.ts +4 -9
  23. package/lib/_web-components/recipe-catalog/recipe-catalog.component.d.ts.map +1 -1
  24. package/lib/environments/version.d.ts +1 -1
  25. package/package.json +1 -1
@@ -3507,7 +3507,7 @@
3507
3507
  EventJourney["EMPTY"] = "";
3508
3508
  })(EventJourney || (EventJourney = {}));
3509
3509
 
3510
- var VERSION = '9.1.9'; // TODO: replace by ##VERSION## and update it in the CI/CD
3510
+ var VERSION = '9.2.0'; // TODO: replace by ##VERSION## and update it in the CI/CD
3511
3511
 
3512
3512
  var ContextRegistryService = /** @class */ (function () {
3513
3513
  function ContextRegistryService() {
@@ -5082,17 +5082,18 @@
5082
5082
  RecipesService.prototype.addMandatoryCompletionToFilter = function (filters) {
5083
5083
  var _this = this;
5084
5084
  var _a;
5085
+ var requestFilters = filters.copy();
5085
5086
  // only set primary_completion_perc if not searching favorite recipes
5086
- if ((_a = filters.additionalFilters) === null || _a === void 0 ? void 0 : _a.filters.liked) {
5087
- return rxjs.of(filters);
5087
+ if ((_a = requestFilters.additionalFilters) === null || _a === void 0 ? void 0 : _a.filters.liked) {
5088
+ return rxjs.of(requestFilters);
5088
5089
  }
5089
5090
  return this.posService.posWasInitialized().pipe(operators.skipWhile(function (wasInitialized) { return !wasInitialized; }), operators.switchMap(function () { return _this.posService.pos$; }), operators.take(1), operators.map(function (pos) {
5090
5091
  var _a;
5091
5092
  if (pos === null || pos === void 0 ? void 0 : pos.id) {
5092
5093
  // number of guests and point of sale id are mandatory in order to use primary_completion_perc filter
5093
- filters.additionalFilters = Object.assign(Object.assign({}, filters.additionalFilters), { filters: Object.assign({ guests: '4', point_of_sale_id: pos.id, primary_completion_perc: '100,100', forced_completion_perc: '100,100' }, (_a = filters.additionalFilters) === null || _a === void 0 ? void 0 : _a.filters) });
5094
+ requestFilters.additionalFilters = Object.assign(Object.assign({}, filters.additionalFilters), { filters: Object.assign({ guests: '4', point_of_sale_id: pos.id, primary_completion_perc: '100,100', forced_completion_perc: '100,100' }, (_a = filters.additionalFilters) === null || _a === void 0 ? void 0 : _a.filters) });
5094
5095
  }
5095
- return filters;
5096
+ return requestFilters;
5096
5097
  }));
5097
5098
  };
5098
5099
  // Returns list of filtered recipes.
@@ -5146,7 +5147,7 @@
5146
5147
  }
5147
5148
  }
5148
5149
  });
5149
- return this.addMandatoryCompletionToFilter(packageFilter).pipe(operators.switchMap(function () { return _this.filter(packageFilter, { size: size, number: page }, recipeIncludes, recipeSparseFields, guests, false, 'position'); }));
5150
+ return this.addMandatoryCompletionToFilter(packageFilter).pipe(operators.switchMap(function (requestFilters) { return _this.filter(requestFilters, { size: size, number: page }, recipeIncludes, recipeSparseFields, guests, false, 'position'); }));
5150
5151
  };
5151
5152
  // Fetches recipes corresponding to filters, and return total recipes count
5152
5153
  RecipesService.prototype.filterCount = function (filters, guests, excludedRecipesIds, fromPreference) {
@@ -5254,7 +5255,7 @@
5254
5255
  if (results[1]) {
5255
5256
  supplierFilter = "supplier_id=" + results[0].id + "&pos_id=" + results[1].id;
5256
5257
  }
5257
- var url = MIAM_API_HOST$2 + ("recipes/suggestions?" + supplierFilter + ((includes.length > 0) ? ('&include=' + includes.join(',')) : '') + suggestionFields + _this.buildfilterUrlFromPreferences());
5258
+ var url = MIAM_API_HOST$2 + ("recipes/suggestions?" + supplierFilter + "&allow-empty=true" + ((includes.length > 0) ? ('&include=' + includes.join(',')) : '') + suggestionFields + _this.buildfilterUrlFromPreferences());
5258
5259
  return _this.http.post(url, body);
5259
5260
  }), operators.map(function (returnedRecipes) {
5260
5261
  var recipes = _this.newCollection();
@@ -10979,7 +10980,7 @@
10979
10980
  i18n_4 = MSG_EXTERNAL_6105149763216124630$$LIB__COMPONENTS_MEALS_PLANNER_LINK_MEALS_PLANNER_LINK_COMPONENT_TS_5;
10980
10981
  }
10981
10982
  else {
10982
- i18n_4 = $localize(templateObject_3$t || (templateObject_3$t = __makeTemplateObject([":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"], [":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"])));
10983
+ i18n_4 = $localize(templateObject_3$u || (templateObject_3$u = __makeTemplateObject([":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"], [":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"])));
10983
10984
  }
10984
10985
  return [[1, "miam-meals-planner-link", 3, "click"], [1, "miam-meals-planner-link__gradient"], [1, "miam-meals-planner-link__content"], [1, "miam-meals-planner-link__title"], i18n_0, [1, "miam-meals-planner-link__description"], i18n_2, [1, "miam-meals-planner-link__cta"], [1, "miam-ds-button", "primary", "reverse"], i18n_4, ["width", "24", "height", "24", 3, "iconName"]];
10985
10986
  }, template: function MealsPlannerLinkComponent_Template(rf, ctx) {
@@ -11025,7 +11026,7 @@
11025
11026
  }]
11026
11027
  }], function () { return [{ type: ContextService }]; }, null);
11027
11028
  })();
11028
- var templateObject_1$P, templateObject_2$E, templateObject_3$t;
11029
+ var templateObject_1$P, templateObject_2$E, templateObject_3$u;
11029
11030
 
11030
11031
  function ModalComponent_ng_container_0_div_7_Template(rf, ctx) {
11031
11032
  if (rf & 1) {
@@ -11358,7 +11359,7 @@
11358
11359
  i18n_4 = MSG_EXTERNAL_4122997114884311871$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS____5;
11359
11360
  }
11360
11361
  else {
11361
- i18n_4 = $localize(templateObject_3$s || (templateObject_3$s = __makeTemplateObject([":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"], [":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"])));
11362
+ i18n_4 = $localize(templateObject_3$t || (templateObject_3$t = __makeTemplateObject([":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"], [":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"])));
11362
11363
  }
11363
11364
  var i18n_6;
11364
11365
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11366,7 +11367,7 @@
11366
11367
  i18n_6 = MSG_EXTERNAL_6395936232189121511$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS____7;
11367
11368
  }
11368
11369
  else {
11369
- i18n_6 = $localize(templateObject_4$o || (templateObject_4$o = __makeTemplateObject([":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"], [":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"])));
11370
+ i18n_6 = $localize(templateObject_4$p || (templateObject_4$p = __makeTemplateObject([":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"], [":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"])));
11370
11371
  }
11371
11372
  var i18n_8;
11372
11373
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11437,7 +11438,7 @@
11437
11438
  args: ['window:keydown.escape']
11438
11439
  }] });
11439
11440
  })();
11440
- var templateObject_1$O, templateObject_2$D, templateObject_3$s, templateObject_4$o, templateObject_5$k;
11441
+ var templateObject_1$O, templateObject_2$D, templateObject_3$t, templateObject_4$p, templateObject_5$k;
11441
11442
 
11442
11443
  var _c0$n = ["mealzPrice"];
11443
11444
  var _c1$d = ["mealzOldPrice"];
@@ -12340,7 +12341,7 @@
12340
12341
  };
12341
12342
  RecipeFiltersComponent.prototype.recalculateRecipesCount = function () {
12342
12343
  var _this = this;
12343
- this.subscriptions.push(this.recipesService.filterCount(this.filters, this.modifiedGuests, this.excludedRecipesIds).pipe(operators.tap(function (result) {
12344
+ this.subscriptions.push(this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function (requestFilters) { return _this.recipesService.filterCount(requestFilters, _this.modifiedGuests, _this.excludedRecipesIds); }), operators.tap(function (result) {
12344
12345
  _this.recipesCount = result;
12345
12346
  _this.cdr.detectChanges();
12346
12347
  })).subscribe());
@@ -12371,7 +12372,7 @@
12371
12372
  i18n_4 = MSG_EXTERNAL_3088922289163197887$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_5;
12372
12373
  }
12373
12374
  else {
12374
- i18n_4 = $localize(templateObject_3$r || (templateObject_3$r = __makeTemplateObject([":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "], [":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "])));
12375
+ i18n_4 = $localize(templateObject_3$s || (templateObject_3$s = __makeTemplateObject([":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "], [":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "])));
12375
12376
  }
12376
12377
  var i18n_6;
12377
12378
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12379,7 +12380,7 @@
12379
12380
  i18n_6 = MSG_EXTERNAL_3809820644785537818$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_7;
12380
12381
  }
12381
12382
  else {
12382
- i18n_6 = $localize(templateObject_4$n || (templateObject_4$n = __makeTemplateObject([":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"], [":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"])));
12383
+ i18n_6 = $localize(templateObject_4$o || (templateObject_4$o = __makeTemplateObject([":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"], [":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"])));
12383
12384
  }
12384
12385
  var i18n_8;
12385
12386
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12403,7 +12404,7 @@
12403
12404
  i18n_12 = MSG_EXTERNAL_2987005241567363499$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____13;
12404
12405
  }
12405
12406
  else {
12406
- i18n_12 = $localize(templateObject_7$d || (templateObject_7$d = __makeTemplateObject([":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"], [":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"])));
12407
+ i18n_12 = $localize(templateObject_7$e || (templateObject_7$e = __makeTemplateObject([":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"], [":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"])));
12407
12408
  }
12408
12409
  var i18n_14;
12409
12410
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12427,7 +12428,7 @@
12427
12428
  i18n_18 = MSG_EXTERNAL_2877853972557702593$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS__19;
12428
12429
  }
12429
12430
  else {
12430
- i18n_18 = $localize(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject([":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"], [":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"])));
12431
+ i18n_18 = $localize(templateObject_10$6 || (templateObject_10$6 = __makeTemplateObject([":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"], [":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"])));
12431
12432
  }
12432
12433
  var i18n_20;
12433
12434
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12435,7 +12436,7 @@
12435
12436
  i18n_20 = MSG_EXTERNAL_3684169623116339825$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____21;
12436
12437
  }
12437
12438
  else {
12438
- i18n_20 = $localize(templateObject_11$5 || (templateObject_11$5 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
12439
+ i18n_20 = $localize(templateObject_11$6 || (templateObject_11$6 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
12439
12440
  }
12440
12441
  var i18n_22;
12441
12442
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12582,7 +12583,7 @@
12582
12583
  type: i0.Output
12583
12584
  }] });
12584
12585
  })();
12585
- var templateObject_1$M, templateObject_2$C, templateObject_3$r, templateObject_4$n, templateObject_5$j, templateObject_6$f, templateObject_7$d, templateObject_8$a, templateObject_9$7, templateObject_10$5, templateObject_11$5, templateObject_12$3, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16, templateObject_17, templateObject_18, templateObject_19;
12586
+ var templateObject_1$M, templateObject_2$C, templateObject_3$s, templateObject_4$o, templateObject_5$j, templateObject_6$f, templateObject_7$e, templateObject_8$a, templateObject_9$7, templateObject_10$6, templateObject_11$6, templateObject_12$3, templateObject_13$2, templateObject_14$1, templateObject_15$1, templateObject_16, templateObject_17, templateObject_18, templateObject_19;
12586
12587
 
12587
12588
  var SelectPosButtonDirective = /** @class */ (function () {
12588
12589
  function SelectPosButtonDirective(el, contextService, posService) {
@@ -12908,7 +12909,7 @@
12908
12909
  i18n_4 = MSG_EXTERNAL_435913562251126057$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS_____5;
12909
12910
  }
12910
12911
  else {
12911
- i18n_4 = $localize(templateObject_3$q || (templateObject_3$q = __makeTemplateObject([":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"], [":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"])));
12912
+ i18n_4 = $localize(templateObject_3$r || (templateObject_3$r = __makeTemplateObject([":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"], [":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"])));
12912
12913
  }
12913
12914
  var i18n_6;
12914
12915
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12916,7 +12917,7 @@
12916
12917
  i18n_6 = MSG_EXTERNAL_8969810584578915685$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS____7;
12917
12918
  }
12918
12919
  else {
12919
- i18n_6 = $localize(templateObject_4$m || (templateObject_4$m = __makeTemplateObject([":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."], [":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."])));
12920
+ i18n_6 = $localize(templateObject_4$n || (templateObject_4$n = __makeTemplateObject([":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."], [":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."])));
12920
12921
  }
12921
12922
  return [["class", "miam-recipe-pricing", "ngMiamSelectPosButton", "", 4, "ngIf"], ["ngMiamSelectPosButton", "", 1, "miam-recipe-pricing"], ["class", "miam-recipe-pricing__with-pos", 4, "ngIf"], [1, "miam-recipe-pricing__without-pos"], [1, "miam-ds-button", "ghost", "miam-select-pos-button__open-store-selector-button", 3, "click"], i18n_0, [1, "miam-recipe-pricing__with-pos"], [1, "miam-recipe-pricing__wrapper"], [1, "miam-recipe-pricing__wrapper__price", "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-recipe-pricing__wrapper__subline miam-ds-text size-xs weight-m", 4, "ngIf", "ngIfElse"], ["defaultGuestsText", ""], [1, "miam-recipe-pricing__total"], i18n_2, [1, "miam-recipe-pricing__wrapper__subline", "miam-ds-text", "size-xs", "weight-m"], [4, "ngIf"], i18n_4, [1, "miam-recipe-pricing__wrapper__subline", "miam-ds-text", "size-m", "weight-m"], i18n_6];
12922
12923
  }, template: function RecipePricingComponent_Template(rf, ctx) {
@@ -12953,7 +12954,7 @@
12953
12954
  type: i0.Output
12954
12955
  }] });
12955
12956
  })();
12956
- var templateObject_1$L, templateObject_2$B, templateObject_3$q, templateObject_4$m;
12957
+ var templateObject_1$L, templateObject_2$B, templateObject_3$r, templateObject_4$n;
12957
12958
 
12958
12959
  var _c0$j = ["background"];
12959
12960
  var _c1$9 = function (a0) { return { "active": a0 }; };
@@ -13973,7 +13974,7 @@
13973
13974
  i18n_4 = MSG_EXTERNAL_540273173517524848$$LIB__COMPONENTS_UNAVAILABLE_BADGE_UNAVAILABLE_BADGE_COMPONENT_TS__5;
13974
13975
  }
13975
13976
  else {
13976
- i18n_4 = $localize(templateObject_3$p || (templateObject_3$p = __makeTemplateObject([":\u241F17bd4158678ac8226ea20b5b954ad560b8854ccd\u241F540273173517524848:produits indisponible"], [":\u241F17bd4158678ac8226ea20b5b954ad560b8854ccd\u241F540273173517524848:produits indisponible"])));
13977
+ i18n_4 = $localize(templateObject_3$q || (templateObject_3$q = __makeTemplateObject([":\u241F17bd4158678ac8226ea20b5b954ad560b8854ccd\u241F540273173517524848:produits indisponible"], [":\u241F17bd4158678ac8226ea20b5b954ad560b8854ccd\u241F540273173517524848:produits indisponible"])));
13977
13978
  }
13978
13979
  return [[1, "miam-ds-badge", "miam-unavailable-badge__container", 3, "disabled", "click"], [1, "miam-unavailable-badge__icon"], [4, "ngIf"], i18n_0, i18n_2, i18n_4];
13979
13980
  }, template: function UnavailableBadgeComponent_Template(rf, ctx) {
@@ -14018,7 +14019,7 @@
14018
14019
  type: i0.Output
14019
14020
  }] });
14020
14021
  })();
14021
- var templateObject_1$J, templateObject_2$z, templateObject_3$p;
14022
+ var templateObject_1$J, templateObject_2$z, templateObject_3$q;
14022
14023
 
14023
14024
  var _c0$8 = function (a0) { return { circle: a0 }; };
14024
14025
  var SkeletonComponent = /** @class */ (function () {
@@ -14058,7 +14059,7 @@
14058
14059
  var _c1$3 = function () { return { height: "120px", width: "120px" }; };
14059
14060
  var _c2$5 = function () { return { width: "80px", "border-radius": "100px" }; };
14060
14061
  var _c3$2 = function () { return { "border-radius": "100px" }; };
14061
- var _c4$4 = function () { return { height: "24px", width: "80px", "border-radius": "100px" }; };
14062
+ var _c4$3 = function () { return { height: "24px", width: "80px", "border-radius": "100px" }; };
14062
14063
  var _c5$2 = function () { return { height: "12px", width: "80px", "border-radius": "100px" }; };
14063
14064
  var ProductCardSkeletonComponent = /** @class */ (function () {
14064
14065
  function ProductCardSkeletonComponent() {
@@ -14115,7 +14116,7 @@
14115
14116
  i0__namespace.ɵɵadvance(2);
14116
14117
  i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(12, _c3$2));
14117
14118
  i0__namespace.ɵɵadvance(2);
14118
- i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(13, _c4$4));
14119
+ i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(13, _c4$3));
14119
14120
  i0__namespace.ɵɵadvance(3);
14120
14121
  i0__namespace.ɵɵproperty("theme", i0__namespace.ɵɵpureFunction0(14, _c5$2));
14121
14122
  i0__namespace.ɵɵadvance(1);
@@ -14487,7 +14488,7 @@
14487
14488
  }
14488
14489
  var _c16 = function (a0, a1, a2, a3) { return { "added": a0, "disabled": a1, "out_of_stock": a2, "unavailable": a3 }; };
14489
14490
  var _c17 = function (a0, a1, a2) { return { "added": a0, "disabled": a1, "unavailable": a2 }; };
14490
- var _c18$2 = function (a0) { return { "miam-product-card__disabled-text": a0 }; };
14491
+ var _c18$1 = function (a0) { return { "miam-product-card__disabled-text": a0 }; };
14491
14492
  var _c19 = function (a0, a1) { return { "disabled": a0, "unavailable": a1 }; };
14492
14493
  function ProductCardComponent_div_0_Template(rf, ctx) {
14493
14494
  if (rf & 1) {
@@ -14523,11 +14524,11 @@
14523
14524
  i0__namespace.ɵɵadvance(1);
14524
14525
  i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction3(19, _c17, ctx_r0.product.basketEntry.status === "active", ctx_r0.product.basketEntry.status === "ignored" || ctx_r0.product.basketEntry.status === "deleted" || ctx_r0.product.basketEntry.status === "often_deleted", ctx_r0.product.basketEntry.status === "unavailable"));
14525
14526
  i0__namespace.ɵɵadvance(1);
14526
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(23, _c18$2, ctx_r0.product.basketEntry.status === "ignored" || ctx_r0.product.basketEntry.status === "deleted" || ctx_r0.product.basketEntry.status === "often_deleted" || ctx_r0.product.basketEntry.status === "unavailable"));
14527
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(23, _c18$1, ctx_r0.product.basketEntry.status === "ignored" || ctx_r0.product.basketEntry.status === "deleted" || ctx_r0.product.basketEntry.status === "often_deleted" || ctx_r0.product.basketEntry.status === "unavailable"));
14527
14528
  i0__namespace.ɵɵadvance(1);
14528
14529
  i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(5, 12, ctx_r0.product.basketEntry.name), " ");
14529
14530
  i0__namespace.ɵɵadvance(2);
14530
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(25, _c18$2, ctx_r0.product.basketEntry.status === "ignored" || ctx_r0.product.basketEntry.status === "deleted" || ctx_r0.product.basketEntry.status === "often_deleted" || ctx_r0.product.basketEntry.status === "unavailable"));
14531
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(25, _c18$1, ctx_r0.product.basketEntry.status === "ignored" || ctx_r0.product.basketEntry.status === "deleted" || ctx_r0.product.basketEntry.status === "often_deleted" || ctx_r0.product.basketEntry.status === "unavailable"));
14531
14532
  i0__namespace.ɵɵadvance(2);
14532
14533
  i0__namespace.ɵɵtextInterpolate1(" ", ctx_r0.modifiedIngQty, " ");
14533
14534
  i0__namespace.ɵɵadvance(2);
@@ -14773,7 +14774,7 @@
14773
14774
  i18n_4 = MSG_EXTERNAL_4434991115235641711$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____5;
14774
14775
  }
14775
14776
  else {
14776
- i18n_4 = $localize(templateObject_3$o || (templateObject_3$o = __makeTemplateObject([":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "], [":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "])));
14777
+ i18n_4 = $localize(templateObject_3$p || (templateObject_3$p = __makeTemplateObject([":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "], [":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "])));
14777
14778
  }
14778
14779
  var i18n_6;
14779
14780
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14781,7 +14782,7 @@
14781
14782
  i18n_6 = MSG_EXTERNAL_6789864402883222370$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____7;
14782
14783
  }
14783
14784
  else {
14784
- i18n_6 = $localize(templateObject_4$l || (templateObject_4$l = __makeTemplateObject([":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"], [":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"])));
14785
+ i18n_6 = $localize(templateObject_4$m || (templateObject_4$m = __makeTemplateObject([":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"], [":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"])));
14785
14786
  }
14786
14787
  var i18n_8;
14787
14788
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14805,7 +14806,7 @@
14805
14806
  i18n_12 = MSG_EXTERNAL_7389019358817586225$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS___13;
14806
14807
  }
14807
14808
  else {
14808
- i18n_12 = $localize(templateObject_7$c || (templateObject_7$c = __makeTemplateObject([":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "], [":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "])));
14809
+ i18n_12 = $localize(templateObject_7$d || (templateObject_7$d = __makeTemplateObject([":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "], [":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "])));
14809
14810
  }
14810
14811
  var i18n_14;
14811
14812
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14838,7 +14839,7 @@
14838
14839
  type: i0.Input
14839
14840
  }] });
14840
14841
  })();
14841
- var templateObject_1$G, templateObject_2$y, templateObject_3$o, templateObject_4$l, templateObject_5$i, templateObject_6$e, templateObject_7$c, templateObject_8$9;
14842
+ var templateObject_1$G, templateObject_2$y, templateObject_3$p, templateObject_4$m, templateObject_5$i, templateObject_6$e, templateObject_7$d, templateObject_8$9;
14842
14843
 
14843
14844
  function ProductsPickerComponent_ng_container_3_span_3_Template(rf, ctx) {
14844
14845
  if (rf & 1) {
@@ -15129,7 +15130,7 @@
15129
15130
  i18n_4 = MSG_EXTERNAL_2731668650375138999$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__5;
15130
15131
  }
15131
15132
  else {
15132
- i18n_4 = $localize(templateObject_3$n || (templateObject_3$n = __makeTemplateObject([":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "], [":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "])));
15133
+ i18n_4 = $localize(templateObject_3$o || (templateObject_3$o = __makeTemplateObject([":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "], [":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "])));
15133
15134
  }
15134
15135
  var i18n_6;
15135
15136
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15137,7 +15138,7 @@
15137
15138
  i18n_6 = MSG_EXTERNAL_7935172570546041466$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__7;
15138
15139
  }
15139
15140
  else {
15140
- i18n_6 = $localize(templateObject_4$k || (templateObject_4$k = __makeTemplateObject([":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"], [":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"])));
15141
+ i18n_6 = $localize(templateObject_4$l || (templateObject_4$l = __makeTemplateObject([":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"], [":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"])));
15141
15142
  }
15142
15143
  var i18n_8;
15143
15144
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15161,7 +15162,7 @@
15161
15162
  i18n_12 = MSG_EXTERNAL_2791054456946858131$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__13;
15162
15163
  }
15163
15164
  else {
15164
- i18n_12 = $localize(templateObject_7$b || (templateObject_7$b = __makeTemplateObject([":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."], [":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."])));
15165
+ i18n_12 = $localize(templateObject_7$c || (templateObject_7$c = __makeTemplateObject([":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."], [":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."])));
15165
15166
  }
15166
15167
  return [[1, "miam-products-picker__container"], [1, "miam-products-picker__header"], [1, "miam-products-picker__header-text", "miam-ds-text", "weight-xxl"], [4, "ngIf"], ["class", "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "debounceTime", "valueChange", 4, "ngIf"], ["class", "miam-products-picker__list", 4, "ngIf"], [1, "miam-products-picker__secondary-list"], [1, "miam-products-picker__more"], ["class", "miam-products-picker__more-anchor", 3, "href", "click", 4, "ngIf", "ngIfElse"], ["noAnchor", ""], ["class", "miam-products-picker__legal-notices", 4, "ngIf"], [3, "numberUnavailable", "clicked", 4, "ngIf"], i18n_0, i18n_2, [3, "numberUnavailable", "clicked"], [1, "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "debounceTime", "valueChange"], [1, "miam-products-picker__list"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "miam-products-picker__items", 3, "id", "product", "originTrace", 4, "ngIf"], [1, "miam-products-picker__items", 3, "id", "product", "originTrace"], [1, "miam-products-picker__often-ignored-list", 3, "isCollapsed", "isCollapsedChange"], [1, "miam-ds-text", "weight-xxl"], i18n_4, ["class", "miam-products-picker__items", 3, "id", "product", "originTrace", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "miam-products-picker__more-anchor", 3, "href", "click"], [1, "miam-products-picker__go-to-catalog-button", "miam-ds-button", "secondary"], i18n_6, [1, "miam-products-picker__close-modal-button", "miam-ds-button", "secondary", 3, "click"], i18n_8, [1, "miam-products-picker__legal-notices"], [1, "miam-ds-text", "weight-xxl", "miam-products-picker__legal-notices-header"], i18n_10, [1, "miam-products-picker__legal-notices-content"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-legal-notices.svg"], i18n_12];
15167
15168
  }, template: function ProductsPickerComponent_Template(rf, ctx) {
@@ -15221,7 +15222,7 @@
15221
15222
  type: i0.Output
15222
15223
  }] });
15223
15224
  })();
15224
- var templateObject_1$F, templateObject_2$x, templateObject_3$n, templateObject_4$k, templateObject_5$h, templateObject_6$d, templateObject_7$b;
15225
+ var templateObject_1$F, templateObject_2$x, templateObject_3$o, templateObject_4$l, templateObject_5$h, templateObject_6$d, templateObject_7$c;
15225
15226
 
15226
15227
  function NoPosSelectedComponent_ng_container_1_Template(rf, ctx) {
15227
15228
  if (rf & 1) {
@@ -15286,7 +15287,7 @@
15286
15287
  i18n_4 = MSG_EXTERNAL_2921598154093258344$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS__5;
15287
15288
  }
15288
15289
  else {
15289
- i18n_4 = $localize(templateObject_3$m || (templateObject_3$m = __makeTemplateObject([":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "], [":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "])));
15290
+ i18n_4 = $localize(templateObject_3$n || (templateObject_3$n = __makeTemplateObject([":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "], [":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "])));
15290
15291
  }
15291
15292
  var i18n_6;
15292
15293
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15294,7 +15295,7 @@
15294
15295
  i18n_6 = MSG_EXTERNAL_6530301909461759819$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS__7;
15295
15296
  }
15296
15297
  else {
15297
- i18n_6 = $localize(templateObject_4$j || (templateObject_4$j = __makeTemplateObject([":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "], [":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "])));
15298
+ i18n_6 = $localize(templateObject_4$k || (templateObject_4$k = __makeTemplateObject([":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "], [":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "])));
15298
15299
  }
15299
15300
  var i18n_8;
15300
15301
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15340,7 +15341,7 @@
15340
15341
  type: i0.Output
15341
15342
  }] });
15342
15343
  })();
15343
- var templateObject_1$E, templateObject_2$w, templateObject_3$m, templateObject_4$j, templateObject_5$g;
15344
+ var templateObject_1$E, templateObject_2$w, templateObject_3$n, templateObject_4$k, templateObject_5$g;
15344
15345
 
15345
15346
  var ProductAdditionCardComponent = /** @class */ (function () {
15346
15347
  function ProductAdditionCardComponent(productReplacementService) {
@@ -16006,7 +16007,7 @@
16006
16007
  i18n_4 = MSG_EXTERNAL_6646707544911031345$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS__5;
16007
16008
  }
16008
16009
  else {
16009
- i18n_4 = $localize(templateObject_3$l || (templateObject_3$l = __makeTemplateObject([":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "], [":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "])));
16010
+ i18n_4 = $localize(templateObject_3$m || (templateObject_3$m = __makeTemplateObject([":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "], [":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "])));
16010
16011
  }
16011
16012
  var i18n_6;
16012
16013
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16014,7 +16015,7 @@
16014
16015
  i18n_6 = MSG_EXTERNAL_70397346439942337$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS_____7;
16015
16016
  }
16016
16017
  else {
16017
- i18n_6 = $localize(templateObject_4$i || (templateObject_4$i = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
16018
+ i18n_6 = $localize(templateObject_4$j || (templateObject_4$j = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
16018
16019
  }
16019
16020
  var i18n_8;
16020
16021
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16088,7 +16089,7 @@
16088
16089
  args: ['window:resize', ['$event']]
16089
16090
  }] });
16090
16091
  })();
16091
- var templateObject_1$A, templateObject_2$t, templateObject_3$l, templateObject_4$i, templateObject_5$f;
16092
+ var templateObject_1$A, templateObject_2$t, templateObject_3$m, templateObject_4$j, templateObject_5$f;
16092
16093
 
16093
16094
  function BasketPreviewLineComponent_ng_container_0_div_5_Template(rf, ctx) {
16094
16095
  if (rf & 1) {
@@ -17038,7 +17039,7 @@
17038
17039
  i18n_4 = MSG_EXTERNAL_1112144680738962826$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___5;
17039
17040
  }
17040
17041
  else {
17041
- i18n_4 = $localize(templateObject_3$k || (templateObject_3$k = __makeTemplateObject([":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"], [":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"])));
17042
+ i18n_4 = $localize(templateObject_3$l || (templateObject_3$l = __makeTemplateObject([":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"], [":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"])));
17042
17043
  }
17043
17044
  var i18n_6;
17044
17045
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17046,7 +17047,7 @@
17046
17047
  i18n_6 = MSG_EXTERNAL_2861269811387022272$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___7;
17047
17048
  }
17048
17049
  else {
17049
- i18n_6 = $localize(templateObject_4$h || (templateObject_4$h = __makeTemplateObject([":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "], [":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "])));
17050
+ i18n_6 = $localize(templateObject_4$i || (templateObject_4$i = __makeTemplateObject([":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "], [":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "])));
17050
17051
  }
17051
17052
  var i18n_8;
17052
17053
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17070,7 +17071,7 @@
17070
17071
  i18n_15 = MSG_EXTERNAL_943969525955903510$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___16;
17071
17072
  }
17072
17073
  else {
17073
- i18n_15 = $localize(templateObject_7$a || (templateObject_7$a = __makeTemplateObject([":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "], [":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "])));
17074
+ i18n_15 = $localize(templateObject_7$b || (templateObject_7$b = __makeTemplateObject([":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "], [":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "])));
17074
17075
  }
17075
17076
  var i18n_17;
17076
17077
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17094,7 +17095,7 @@
17094
17095
  i18n_22 = MSG_EXTERNAL_5882806197320246536$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___23;
17095
17096
  }
17096
17097
  else {
17097
- i18n_22 = $localize(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject([":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "], [":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "])));
17098
+ i18n_22 = $localize(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject([":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "], [":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "])));
17098
17099
  }
17099
17100
  var i18n_24;
17100
17101
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17102,7 +17103,7 @@
17102
17103
  i18n_24 = MSG_EXTERNAL_2014297263214357463$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___25;
17103
17104
  }
17104
17105
  else {
17105
- i18n_24 = $localize(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject([":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"], [":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"])));
17106
+ i18n_24 = $localize(templateObject_11$5 || (templateObject_11$5 = __makeTemplateObject([":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"], [":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"])));
17106
17107
  }
17107
17108
  var i18n_27;
17108
17109
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17185,7 +17186,7 @@
17185
17186
  type: i0.Output
17186
17187
  }] });
17187
17188
  })();
17188
- var templateObject_1$z, templateObject_2$s, templateObject_3$k, templateObject_4$h, templateObject_5$e, templateObject_6$c, templateObject_7$a, templateObject_8$8, templateObject_9$6, templateObject_10$4, templateObject_11$4, templateObject_12$2, templateObject_13$1, templateObject_14, templateObject_15;
17189
+ var templateObject_1$z, templateObject_2$s, templateObject_3$l, templateObject_4$i, templateObject_5$e, templateObject_6$c, templateObject_7$b, templateObject_8$8, templateObject_9$6, templateObject_10$5, templateObject_11$5, templateObject_12$2, templateObject_13$1, templateObject_14, templateObject_15;
17189
17190
 
17190
17191
  function BasketPreviewProductComponent_div_0_div_15_Template(rf, ctx) {
17191
17192
  if (rf & 1) {
@@ -18073,7 +18074,7 @@
18073
18074
  i18n_4 = MSG_EXTERNAL_2371976043497937004$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__5;
18074
18075
  }
18075
18076
  else {
18076
- i18n_4 = $localize(templateObject_3$j || (templateObject_3$j = __makeTemplateObject([":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"], [":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"])));
18077
+ i18n_4 = $localize(templateObject_3$k || (templateObject_3$k = __makeTemplateObject([":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"], [":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"])));
18077
18078
  }
18078
18079
  var i18n_6;
18079
18080
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18081,7 +18082,7 @@
18081
18082
  i18n_6 = MSG_EXTERNAL_3600300940826652542$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__7;
18082
18083
  }
18083
18084
  else {
18084
- i18n_6 = $localize(templateObject_4$g || (templateObject_4$g = __makeTemplateObject([":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"], [":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"])));
18085
+ i18n_6 = $localize(templateObject_4$h || (templateObject_4$h = __makeTemplateObject([":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"], [":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"])));
18085
18086
  }
18086
18087
  var i18n_8;
18087
18088
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18105,7 +18106,7 @@
18105
18106
  i18n_12 = MSG_EXTERNAL_6492937435856655320$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS_____13;
18106
18107
  }
18107
18108
  else {
18108
- i18n_12 = $localize(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
18109
+ i18n_12 = $localize(templateObject_7$a || (templateObject_7$a = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
18109
18110
  }
18110
18111
  var i18n_15;
18111
18112
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18129,7 +18130,7 @@
18129
18130
  i18n_19 = MSG_EXTERNAL_4424868866602221395$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__20;
18130
18131
  }
18131
18132
  else {
18132
- i18n_19 = $localize(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject([":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"], [":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"])));
18133
+ i18n_19 = $localize(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject([":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"], [":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"])));
18133
18134
  }
18134
18135
  var i18n_21;
18135
18136
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18137,7 +18138,7 @@
18137
18138
  i18n_21 = MSG_EXTERNAL_3094902783246996897$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__22;
18138
18139
  }
18139
18140
  else {
18140
- i18n_21 = $localize(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject([":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"], [":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"])));
18141
+ i18n_21 = $localize(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject([":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"], [":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"])));
18141
18142
  }
18142
18143
  return [[1, "miam-replace-item__header", "miam-ds-text", "weight-xxl"], [1, "miam-ds-button", "ghost", "square", 3, "click"], ["width", "24", "height", "24", "primaryColor", "var(--miam-ds-color-primary-500)", 3, "iconName"], [4, "ngIf", "ngIfElse"], ["addProduct", ""], [1, "miam-replace-item__top-container"], [1, "miam-replace-item__searchbar"], ["width", "20", "height", "20", 3, "iconName"], ["type", "text", "placeholder", i18n_0, "class", "miam-replace-item__searchbar__input miam-ds-text size-m weight-l", 3, "ngModel", "ngModelChange", 4, "ngIf"], ["type", "text", "placeholder", i18n_2, "class", "miam-replace-item__searchbar__input miam-ds-text size-m weight-l", 3, "ngModel", "ngModelChange", 4, "ngIf"], [1, "miam-ds-loader"], ["class", "miam-replace-item__product-banner", 4, "ngIf"], [1, "miam-replace-item__product-list"], ["class", "miam-replace-item__product-item", 3, "ngClass", 4, "ngFor", "ngForOf"], [4, "ngIf"], i18n_4, i18n_6, ["type", "text", "placeholder", i18n_0, 1, "miam-replace-item__searchbar__input", "miam-ds-text", "size-m", "weight-l", 3, "ngModel", "ngModelChange"], ["type", "text", "placeholder", i18n_2, 1, "miam-replace-item__searchbar__input", "miam-ds-text", "size-m", "weight-l", 3, "ngModel", "ngModelChange"], [1, "miam-replace-item__product-banner"], [1, "miam-replace-item__banner-product-name", "miam-ds-text", "size-s"], [1, "miam-replace-item__banner-quantity", "miam-ds-text", "weight-xxl"], [1, "miam-replace-item__product-item", 3, "ngClass"], [1, "miam-replace-item__promotions", 3, "priceData"], [1, "miam-replace-item__card-upper-section"], [1, "miam-replace-item__product-image-container"], ["alt", "product to replace", 1, "miam-replace-item__product-image", 3, "src", "error"], [1, "miam-replace-item__product-info"], [1, "miam-replace-item__product-brand", "miam-ds-text", "size-xs", "weight-xl"], [1, "miam-replace-item__product-brand-text"], [1, "miam-replace-item__product-name", "miam-ds-text", "size-xs"], [1, "miam-replace-item__product-name-text"], [3, "isSponsored", "item", "price"], [1, "miam-replace-item__card-lower-section"], [1, "miam-replace-item__product-price", "miam-ds-text", "size-m", "weight-xxl", 3, "oldPrice", "price"], [1, "miam-replace-item__cta", "miam-ds-button", "small", "primary", 3, "disabled", "click"], ["class", "miam-ds-loader", 4, "ngIf", "ngIfElse"], ["defaultSelectButton", ""], ["withSupplier", ""], i18n_8, i18n_10, i18n_12, [1, "miam-replace-item__error"], [1, "miam-replace-item__error-image-container", "small-img"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/product-issue.png", "alt", "issue with product", 1, "miam-replace-item__error-image"], [1, "miam-replace-item__issue-entry-name"], [1, "miam-replace-item__issue-title", "miam-replace-item__issue-title__no-substitution"], i18n_15, [1, "miam-replace-item__error-image-container"], [1, "miam-replace-item__issue-search-string"], [1, "miam-replace-item__issue-title", "miam-replace-item__issue-title__not-found"], i18n_17, [1, "miam-replace-item__issue-description", "miam-ds-text", "weight-xxl"], i18n_19, [1, "miam-replace-item__add-product-default"], [1, "miam-replace-item__add-product-image-container"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Search.svg", "alt", "search icon", 1, "miam-replace-item__add-product-image"], [1, "miam-replace-item__add-product-title"], i18n_21];
18143
18144
  }, template: function ReplaceItemComponent_Template(rf, ctx) {
@@ -18250,7 +18251,7 @@
18250
18251
  args: ['@slide']
18251
18252
  }] });
18252
18253
  })();
18253
- var templateObject_1$x, templateObject_2$r, templateObject_3$j, templateObject_4$g, templateObject_5$d, templateObject_6$b, templateObject_7$9, templateObject_8$7, templateObject_9$5, templateObject_10$3, templateObject_11$3;
18254
+ var templateObject_1$x, templateObject_2$r, templateObject_3$k, templateObject_4$h, templateObject_5$d, templateObject_6$b, templateObject_7$a, templateObject_8$7, templateObject_9$5, templateObject_10$4, templateObject_11$4;
18254
18255
 
18255
18256
  function BasketPreviewBlockComponent_div_2_ng_container_1_div_2_Template(rf, ctx) {
18256
18257
  if (rf & 1) {
@@ -18287,7 +18288,7 @@
18287
18288
  i0__namespace.ɵɵelement(0, "ng-miam-product-addition-card");
18288
18289
  }
18289
18290
  }
18290
- var _c4$3 = function (a0) { return { "display": a0 }; };
18291
+ var _c4$2 = function (a0) { return { "display": a0 }; };
18291
18292
  function BasketPreviewBlockComponent_div_2_ng_container_1_div_4_ng_miam_basket_preview_line_2_Template(rf, ctx) {
18292
18293
  if (rf & 1) {
18293
18294
  var _r21_1 = i0__namespace.ɵɵgetCurrentView();
@@ -18298,7 +18299,7 @@
18298
18299
  if (rf & 2) {
18299
18300
  var line_r19 = ctx.$implicit;
18300
18301
  var ctx_r16 = i0__namespace.ɵɵnextContext(4);
18301
- i0__namespace.ɵɵproperty("line", line_r19)("blockStates", ctx_r16.blockStates)("recipesAlwaysExpanded", ctx_r16.recipesAlwaysExpanded)("itemsAlwaysExpanded", ctx_r16.itemsAlwaysExpanded)("displayItemsUnitaryPrice", ctx_r16.displayItemsUnitaryPrice)("legacyMode", ctx_r16.legacyMode)("originTrace", ctx_r16.eventTrace)("ngStyle", i0__namespace.ɵɵpureFunction1(8, _c4$3, (ctx_r16.blockStates == null ? null : ctx_r16.blockStates.value == null ? null : ctx_r16.blockStates.value.overlayOpen) ? "none" : "block"));
18302
+ i0__namespace.ɵɵproperty("line", line_r19)("blockStates", ctx_r16.blockStates)("recipesAlwaysExpanded", ctx_r16.recipesAlwaysExpanded)("itemsAlwaysExpanded", ctx_r16.itemsAlwaysExpanded)("displayItemsUnitaryPrice", ctx_r16.displayItemsUnitaryPrice)("legacyMode", ctx_r16.legacyMode)("originTrace", ctx_r16.eventTrace)("ngStyle", i0__namespace.ɵɵpureFunction1(8, _c4$2, (ctx_r16.blockStates == null ? null : ctx_r16.blockStates.value == null ? null : ctx_r16.blockStates.value.overlayOpen) ? "none" : "block"));
18302
18303
  }
18303
18304
  }
18304
18305
  function BasketPreviewBlockComponent_div_2_ng_container_1_div_4_ng_miam_replace_item_3_Template(rf, ctx) {
@@ -18796,7 +18797,7 @@
18796
18797
  i18n_5 = MSG_EXTERNAL_288551008191807939$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS_____6;
18797
18798
  }
18798
18799
  else {
18799
- i18n_5 = $localize(templateObject_3$i || (templateObject_3$i = __makeTemplateObject([":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."], [":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."])));
18800
+ i18n_5 = $localize(templateObject_3$j || (templateObject_3$j = __makeTemplateObject([":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."], [":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."])));
18800
18801
  }
18801
18802
  var i18n_7;
18802
18803
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18804,7 +18805,7 @@
18804
18805
  i18n_7 = MSG_EXTERNAL_4236077440019410708$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS______8;
18805
18806
  }
18806
18807
  else {
18807
- i18n_7 = $localize(templateObject_4$f || (templateObject_4$f = __makeTemplateObject([":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."], [":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."])));
18808
+ i18n_7 = $localize(templateObject_4$g || (templateObject_4$g = __makeTemplateObject([":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."], [":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."])));
18808
18809
  }
18809
18810
  var i18n_9;
18810
18811
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18828,7 +18829,7 @@
18828
18829
  i18n_13 = MSG_EXTERNAL_4182983336835891106$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS__14;
18829
18830
  }
18830
18831
  else {
18831
- i18n_13 = $localize(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject([":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."], [":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."])));
18832
+ i18n_13 = $localize(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject([":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."], [":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."])));
18832
18833
  }
18833
18834
  var i18n_15;
18834
18835
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18897,7 +18898,7 @@
18897
18898
  args: [BasketPreviewProductComponent]
18898
18899
  }] });
18899
18900
  })();
18900
- var templateObject_1$w, templateObject_2$q, templateObject_3$i, templateObject_4$f, templateObject_5$c, templateObject_6$a, templateObject_7$8, templateObject_8$6;
18901
+ var templateObject_1$w, templateObject_2$q, templateObject_3$j, templateObject_4$g, templateObject_5$c, templateObject_6$a, templateObject_7$9, templateObject_8$6;
18901
18902
 
18902
18903
  var BasketPreviewModule = /** @class */ (function () {
18903
18904
  // Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
@@ -19058,7 +19059,7 @@
19058
19059
  i18n_4 = MSG_EXTERNAL_541716919875697840$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_5;
19059
19060
  }
19060
19061
  else {
19061
- i18n_4 = $localize(templateObject_3$h || (templateObject_3$h = __makeTemplateObject([":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"], [":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"])));
19062
+ i18n_4 = $localize(templateObject_3$i || (templateObject_3$i = __makeTemplateObject([":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"], [":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"])));
19062
19063
  }
19063
19064
  var i18n_6;
19064
19065
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19066,7 +19067,7 @@
19066
19067
  i18n_6 = MSG_EXTERNAL_7845121959018697970$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_7;
19067
19068
  }
19068
19069
  else {
19069
- i18n_6 = $localize(templateObject_4$e || (templateObject_4$e = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
19070
+ i18n_6 = $localize(templateObject_4$f || (templateObject_4$f = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
19070
19071
  }
19071
19072
  var i18n_8;
19072
19073
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19090,7 +19091,7 @@
19090
19091
  i18n_12 = MSG_EXTERNAL_4869108346013323377$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_13;
19091
19092
  }
19092
19093
  else {
19093
- i18n_12 = $localize(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject([":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"], [":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"])));
19094
+ i18n_12 = $localize(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject([":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"], [":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"])));
19094
19095
  }
19095
19096
  var i18n_14;
19096
19097
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19155,7 +19156,7 @@
19155
19156
  }]
19156
19157
  }], function () { return [{ type: BasketTransferService }, { type: BasketsService }, { type: PointOfSalesService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
19157
19158
  })();
19158
- var templateObject_1$v, templateObject_2$p, templateObject_3$h, templateObject_4$e, templateObject_5$b, templateObject_6$9, templateObject_7$7, templateObject_8$5;
19159
+ var templateObject_1$v, templateObject_2$p, templateObject_3$i, templateObject_4$f, templateObject_5$b, templateObject_6$9, templateObject_7$8, templateObject_8$5;
19159
19160
 
19160
19161
  function ListScanBasketPreviewComponent_ng_container_2_ng_miam_basket_preview_product_6_Template(rf, ctx) {
19161
19162
  if (rf & 1) {
@@ -19543,7 +19544,7 @@
19543
19544
  i18n_4 = MSG_EXTERNAL_6492937435856655320$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_5;
19544
19545
  }
19545
19546
  else {
19546
- i18n_4 = $localize(templateObject_3$g || (templateObject_3$g = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
19547
+ i18n_4 = $localize(templateObject_3$h || (templateObject_3$h = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
19547
19548
  }
19548
19549
  var i18n_6;
19549
19550
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19551,7 +19552,7 @@
19551
19552
  i18n_6 = MSG_EXTERNAL_5858088760260847694$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_7;
19552
19553
  }
19553
19554
  else {
19554
- i18n_6 = $localize(templateObject_4$d || (templateObject_4$d = __makeTemplateObject([":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"], [":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"])));
19555
+ i18n_6 = $localize(templateObject_4$e || (templateObject_4$e = __makeTemplateObject([":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"], [":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"])));
19555
19556
  }
19556
19557
  var i18n_8;
19557
19558
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19575,7 +19576,7 @@
19575
19576
  i18n_12 = MSG_EXTERNAL_8748233983301350015$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_13;
19576
19577
  }
19577
19578
  else {
19578
- i18n_12 = $localize(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject([":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"], [":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"])));
19579
+ i18n_12 = $localize(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject([":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"], [":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"])));
19579
19580
  }
19580
19581
  return [[1, "miam-list-scan"], [3, "isSchoolList"], ["title", i18n_0, "cancelButtonText", i18n_2, "confirmButtonText", i18n_4, "modalStyle", "right", 1, "miam-list-scan__result", 3, "noHeaderMode", "display", "cancel", "close", "confirm"], [1, "miam-list-scan__content", 3, "closed", "cancelled"], ["title", i18n_6, "cancelButtonText", i18n_8, "confirmButtonText", i18n_10, 1, "miam-list-scan__confirmation", 3, "display", "noHeaderMode", "confirmButtonDisabled", "confirmButtonIsLoading", "cancelButtonDisabled", "displayChange", "close", "cancel", "confirm"], [1, "miam-ds-text", "size-m", "weight-m"], i18n_12];
19581
19582
  }, template: function ListScanComponent_Template(rf, ctx) {
@@ -19623,7 +19624,7 @@
19623
19624
  type: i0.Output
19624
19625
  }] });
19625
19626
  })();
19626
- var templateObject_1$s, templateObject_2$m, templateObject_3$g, templateObject_4$d, templateObject_5$a, templateObject_6$8, templateObject_7$6;
19627
+ var templateObject_1$s, templateObject_2$m, templateObject_3$h, templateObject_4$e, templateObject_5$a, templateObject_6$8, templateObject_7$7;
19627
19628
 
19628
19629
  var ListScanModule = /** @class */ (function () {
19629
19630
  // Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
@@ -20008,7 +20009,7 @@
20008
20009
  i18n_4 = MSG_EXTERNAL_7945563559620286178$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_5;
20009
20010
  }
20010
20011
  else {
20011
- i18n_4 = $localize(templateObject_3$f || (templateObject_3$f = __makeTemplateObject([":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"], [":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"])));
20012
+ i18n_4 = $localize(templateObject_3$g || (templateObject_3$g = __makeTemplateObject([":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"], [":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"])));
20012
20013
  }
20013
20014
  var i18n_6;
20014
20015
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20016,7 +20017,7 @@
20016
20017
  i18n_6 = MSG_EXTERNAL_980939234227251011$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_7;
20017
20018
  }
20018
20019
  else {
20019
- i18n_6 = $localize(templateObject_4$c || (templateObject_4$c = __makeTemplateObject([":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"], [":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"])));
20020
+ i18n_6 = $localize(templateObject_4$d || (templateObject_4$d = __makeTemplateObject([":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"], [":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"])));
20020
20021
  }
20021
20022
  var i18n_8;
20022
20023
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20040,7 +20041,7 @@
20040
20041
  i18n_12 = MSG_EXTERNAL_2058601653972871945$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_13;
20041
20042
  }
20042
20043
  else {
20043
- i18n_12 = $localize(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject([":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"], [":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"])));
20044
+ i18n_12 = $localize(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject([":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"], [":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"])));
20044
20045
  }
20045
20046
  var i18n_15;
20046
20047
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20064,7 +20065,7 @@
20064
20065
  i18n_19 = MSG_EXTERNAL_6893194938999563957$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS__20;
20065
20066
  }
20066
20067
  else {
20067
- i18n_19 = $localize(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject([":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "], [":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "])));
20068
+ i18n_19 = $localize(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject([":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "], [":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "])));
20068
20069
  }
20069
20070
  var i18n_21;
20070
20071
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20072,7 +20073,7 @@
20072
20073
  i18n_21 = MSG_EXTERNAL_4814452544539254182$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS__22;
20073
20074
  }
20074
20075
  else {
20075
- i18n_21 = $localize(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject([":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"], [":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"])));
20076
+ i18n_21 = $localize(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject([":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"], [":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"])));
20076
20077
  }
20077
20078
  var i18n_23;
20078
20079
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20240,7 +20241,7 @@
20240
20241
  type: i0.Output
20241
20242
  }] });
20242
20243
  })();
20243
- var templateObject_1$r, templateObject_2$l, templateObject_3$f, templateObject_4$c, templateObject_5$9, templateObject_6$7, templateObject_7$5, templateObject_8$4, templateObject_9$4, templateObject_10$2, templateObject_11$2, templateObject_12$1, templateObject_13;
20244
+ var templateObject_1$r, templateObject_2$l, templateObject_3$g, templateObject_4$d, templateObject_5$9, templateObject_6$7, templateObject_7$6, templateObject_8$4, templateObject_9$4, templateObject_10$3, templateObject_11$3, templateObject_12$1, templateObject_13;
20244
20245
 
20245
20246
  function RecipeCardCtaComponent_div_0_ng_container_2_Template(rf, ctx) {
20246
20247
  if (rf & 1) {
@@ -20439,8 +20440,8 @@
20439
20440
  i0__namespace.ɵɵelement(0, "ng-miam-like-button", 32);
20440
20441
  }
20441
20442
  if (rf & 2) {
20442
- var ctx_r14 = i0__namespace.ɵɵnextContext(4);
20443
- i0__namespace.ɵɵproperty("recipe", ctx_r14.recipe)("originTrace", ctx_r14.eventTrace);
20443
+ var ctx_r15 = i0__namespace.ɵɵnextContext(4);
20444
+ i0__namespace.ɵɵproperty("recipe", ctx_r15.recipe)("originTrace", ctx_r15.eventTrace);
20444
20445
  }
20445
20446
  }
20446
20447
  function RecipeCardComponent_div_1_div_7_ng_template_1_Template(rf, ctx) {
@@ -20449,8 +20450,8 @@
20449
20450
  i0__namespace.ɵɵpipe(1, "async");
20450
20451
  }
20451
20452
  if (rf & 2) {
20452
- var ctx_r13 = i0__namespace.ɵɵnextContext(3);
20453
- i0__namespace.ɵɵproperty("ngIf", !ctx_r13.displayLikesBottom && i0__namespace.ɵɵpipeBind1(1, 1, ctx_r13.userService.isLogged$));
20453
+ var ctx_r14 = i0__namespace.ɵɵnextContext(3);
20454
+ i0__namespace.ɵɵproperty("ngIf", !ctx_r14.displayLikesBottom && i0__namespace.ɵɵpipeBind1(1, 1, ctx_r14.userService.isLogged$));
20454
20455
  }
20455
20456
  }
20456
20457
  function RecipeCardComponent_div_1_div_7_Template(rf, ctx) {
@@ -20472,9 +20473,9 @@
20472
20473
  i0__namespace.ɵɵelementEnd();
20473
20474
  }
20474
20475
  if (rf & 2) {
20475
- var ctx_r16 = i0__namespace.ɵɵnextContext(3);
20476
+ var ctx_r17 = i0__namespace.ɵɵnextContext(3);
20476
20477
  i0__namespace.ɵɵadvance(1);
20477
- i0__namespace.ɵɵproperty("src", ctx_r16.recipe.sponsorLogoUrl, i0__namespace.ɵɵsanitizeUrl);
20478
+ i0__namespace.ɵɵproperty("src", ctx_r17.recipe.sponsorLogoUrl, i0__namespace.ɵɵsanitizeUrl);
20478
20479
  }
20479
20480
  }
20480
20481
  function RecipeCardComponent_div_1_div_8_Template(rf, ctx) {
@@ -20485,11 +20486,11 @@
20485
20486
  i0__namespace.ɵɵelementEnd();
20486
20487
  }
20487
20488
  if (rf & 2) {
20488
- var ctx_r2 = i0__namespace.ɵɵnextContext(2);
20489
+ var ctx_r3 = i0__namespace.ɵɵnextContext(2);
20489
20490
  i0__namespace.ɵɵadvance(1);
20490
- i0__namespace.ɵɵproperty("ngIf", !ctx_r2.displayBadge && ctx_r2.isInPromotion);
20491
+ i0__namespace.ɵɵproperty("ngIf", !ctx_r3.displayBadge && ctx_r3.isInPromotion);
20491
20492
  i0__namespace.ɵɵadvance(1);
20492
- i0__namespace.ɵɵproperty("ngIf", ctx_r2.recipe.sponsorLogoUrl);
20493
+ i0__namespace.ɵɵproperty("ngIf", ctx_r3.recipe.sponsorLogoUrl);
20493
20494
  }
20494
20495
  }
20495
20496
  function RecipeCardComponent_div_1_div_9_ng_miam_recipe_promotion_badge_1_Template(rf, ctx) {
@@ -20516,14 +20517,14 @@
20516
20517
  i0__namespace.ɵɵelementEnd();
20517
20518
  }
20518
20519
  if (rf & 2) {
20519
- var ctx_r3 = i0__namespace.ɵɵnextContext(2);
20520
- i0__namespace.ɵɵproperty("ngClass", ctx_r3.isDrink ? "drink" : "food");
20520
+ var ctx_r4 = i0__namespace.ɵɵnextContext(2);
20521
+ i0__namespace.ɵɵproperty("ngClass", ctx_r4.isDrink ? "drink" : "food");
20521
20522
  i0__namespace.ɵɵadvance(1);
20522
- i0__namespace.ɵɵproperty("ngIf", ctx_r3.isInPromotion);
20523
+ i0__namespace.ɵɵproperty("ngIf", ctx_r4.isInPromotion);
20523
20524
  i0__namespace.ɵɵadvance(1);
20524
- i0__namespace.ɵɵproperty("ngIf", !ctx_r3.isDrink);
20525
+ i0__namespace.ɵɵproperty("ngIf", !ctx_r4.isDrink);
20525
20526
  i0__namespace.ɵɵadvance(1);
20526
- i0__namespace.ɵɵproperty("ngIf", ctx_r3.isDrink);
20527
+ i0__namespace.ɵɵproperty("ngIf", ctx_r4.isDrink);
20527
20528
  }
20528
20529
  }
20529
20530
  function RecipeCardComponent_div_1_div_19_div_5_Template(rf, ctx) {
@@ -20533,36 +20534,36 @@
20533
20534
  i0__namespace.ɵɵelementEnd();
20534
20535
  }
20535
20536
  if (rf & 2) {
20536
- var ctx_r20 = i0__namespace.ɵɵnextContext(3);
20537
+ var ctx_r21 = i0__namespace.ɵɵnextContext(3);
20537
20538
  i0__namespace.ɵɵadvance(1);
20538
- i0__namespace.ɵɵtextInterpolate1(" + ", ctx_r20.recipe.modifiedIngredients.length - 2, " ");
20539
+ i0__namespace.ɵɵtextInterpolate1(" + ", ctx_r21.recipe.modifiedIngredients.length - 2, " ");
20539
20540
  }
20540
20541
  }
20541
20542
  function RecipeCardComponent_div_1_div_19_Template(rf, ctx) {
20542
20543
  if (rf & 1) {
20543
- var _r22_1 = i0__namespace.ɵɵgetCurrentView();
20544
+ var _r23_1 = i0__namespace.ɵɵgetCurrentView();
20544
20545
  i0__namespace.ɵɵelementStart(0, "div", 43);
20545
20546
  i0__namespace.ɵɵelementStart(1, "div", 44);
20546
20547
  i0__namespace.ɵɵelementStart(2, "img", 45);
20547
- i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_2_listener($event) { i0__namespace.ɵɵrestoreView(_r22_1); var ctx_r21 = i0__namespace.ɵɵnextContext(2); return ($event.target["src"] = ctx_r21.contextService.defaultIngredientPicture); });
20548
+ i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_2_listener($event) { i0__namespace.ɵɵrestoreView(_r23_1); var ctx_r22 = i0__namespace.ɵɵnextContext(2); return ($event.target["src"] = ctx_r22.contextService.defaultIngredientPicture); });
20548
20549
  i0__namespace.ɵɵelementEnd();
20549
20550
  i0__namespace.ɵɵelementEnd();
20550
20551
  i0__namespace.ɵɵelementStart(3, "div", 44);
20551
20552
  i0__namespace.ɵɵelementStart(4, "img", 46);
20552
- i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_4_listener($event) { i0__namespace.ɵɵrestoreView(_r22_1); var ctx_r23 = i0__namespace.ɵɵnextContext(2); return ($event.target["src"] = ctx_r23.contextService.defaultIngredientPicture); });
20553
+ i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_div_19_Template_img_error_4_listener($event) { i0__namespace.ɵɵrestoreView(_r23_1); var ctx_r24 = i0__namespace.ɵɵnextContext(2); return ($event.target["src"] = ctx_r24.contextService.defaultIngredientPicture); });
20553
20554
  i0__namespace.ɵɵelementEnd();
20554
20555
  i0__namespace.ɵɵelementEnd();
20555
20556
  i0__namespace.ɵɵtemplate(5, RecipeCardComponent_div_1_div_19_div_5_Template, 2, 1, "div", 47);
20556
20557
  i0__namespace.ɵɵelementEnd();
20557
20558
  }
20558
20559
  if (rf & 2) {
20559
- var ctx_r4 = i0__namespace.ɵɵnextContext(2);
20560
+ var ctx_r5 = i0__namespace.ɵɵnextContext(2);
20560
20561
  i0__namespace.ɵɵadvance(2);
20561
- i0__namespace.ɵɵproperty("src", ctx_r4.ingredientPicture(ctx_r4.recipe.modifiedIngredients[0]), i0__namespace.ɵɵsanitizeUrl);
20562
+ i0__namespace.ɵɵproperty("src", ctx_r5.ingredientPicture(ctx_r5.recipe.modifiedIngredients[0]), i0__namespace.ɵɵsanitizeUrl);
20562
20563
  i0__namespace.ɵɵadvance(2);
20563
- i0__namespace.ɵɵproperty("src", ctx_r4.ingredientPicture(ctx_r4.recipe.modifiedIngredients[1]), i0__namespace.ɵɵsanitizeUrl);
20564
+ i0__namespace.ɵɵproperty("src", ctx_r5.ingredientPicture(ctx_r5.recipe.modifiedIngredients[1]), i0__namespace.ɵɵsanitizeUrl);
20564
20565
  i0__namespace.ɵɵadvance(1);
20565
- i0__namespace.ɵɵproperty("ngIf", ctx_r4.recipe.modifiedIngredients.length > 2);
20566
+ i0__namespace.ɵɵproperty("ngIf", ctx_r5.recipe.modifiedIngredients.length > 2);
20566
20567
  }
20567
20568
  }
20568
20569
  function RecipeCardComponent_div_1_div_22_div_1_Template(rf, ctx) {
@@ -20575,9 +20576,9 @@
20575
20576
  i0__namespace.ɵɵelementEnd();
20576
20577
  }
20577
20578
  if (rf & 2) {
20578
- var ctx_r24 = i0__namespace.ɵɵnextContext(3);
20579
+ var ctx_r25 = i0__namespace.ɵɵnextContext(3);
20579
20580
  i0__namespace.ɵɵadvance(3);
20580
- i0__namespace.ɵɵtextInterpolate(ctx_r24.recipeService.difficultyLevels[ctx_r24.recipe.difficulty - 1].label);
20581
+ i0__namespace.ɵɵtextInterpolate(ctx_r25.recipeService.difficultyLevels[ctx_r25.recipe.difficulty - 1].label);
20581
20582
  }
20582
20583
  }
20583
20584
  function RecipeCardComponent_div_1_div_22_div_2_Template(rf, ctx) {
@@ -20590,9 +20591,9 @@
20590
20591
  i0__namespace.ɵɵelementEnd();
20591
20592
  }
20592
20593
  if (rf & 2) {
20593
- var ctx_r25 = i0__namespace.ɵɵnextContext(3);
20594
+ var ctx_r26 = i0__namespace.ɵɵnextContext(3);
20594
20595
  i0__namespace.ɵɵadvance(3);
20595
- i0__namespace.ɵɵtextInterpolate(ctx_r25.recipe.totalTime);
20596
+ i0__namespace.ɵɵtextInterpolate(ctx_r26.recipe.totalTime);
20596
20597
  }
20597
20598
  }
20598
20599
  function RecipeCardComponent_div_1_div_22_Template(rf, ctx) {
@@ -20603,11 +20604,11 @@
20603
20604
  i0__namespace.ɵɵelementEnd();
20604
20605
  }
20605
20606
  if (rf & 2) {
20606
- var ctx_r5 = i0__namespace.ɵɵnextContext(2);
20607
+ var ctx_r6 = i0__namespace.ɵɵnextContext(2);
20607
20608
  i0__namespace.ɵɵadvance(1);
20608
- i0__namespace.ɵɵproperty("ngIf", ctx_r5.recipe.difficulty);
20609
+ i0__namespace.ɵɵproperty("ngIf", ctx_r6.recipe.difficulty);
20609
20610
  i0__namespace.ɵɵadvance(1);
20610
- i0__namespace.ɵɵproperty("ngIf", ctx_r5.recipe.totalTime);
20611
+ i0__namespace.ɵɵproperty("ngIf", ctx_r6.recipe.totalTime);
20611
20612
  }
20612
20613
  }
20613
20614
  function RecipeCardComponent_div_1_ng_miam_recipe_promotion_badge_24_Template(rf, ctx) {
@@ -20617,17 +20618,17 @@
20617
20618
  }
20618
20619
  function RecipeCardComponent_div_1_div_25_Template(rf, ctx) {
20619
20620
  if (rf & 1) {
20620
- var _r27_1 = i0__namespace.ɵɵgetCurrentView();
20621
+ var _r28_1 = i0__namespace.ɵɵgetCurrentView();
20621
20622
  i0__namespace.ɵɵelementStart(0, "div", 58);
20622
20623
  i0__namespace.ɵɵelementStart(1, "ng-miam-recipe-pricing", 59);
20623
- i0__namespace.ɵɵlistener("priceSet", function RecipeCardComponent_div_1_div_25_Template_ng_miam_recipe_pricing_priceSet_1_listener($event) { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r26 = i0__namespace.ɵɵnextContext(2); return ctx_r26.updateIsInPromotion($event); });
20624
+ i0__namespace.ɵɵlistener("priceSet", function RecipeCardComponent_div_1_div_25_Template_ng_miam_recipe_pricing_priceSet_1_listener($event) { i0__namespace.ɵɵrestoreView(_r28_1); var ctx_r27 = i0__namespace.ɵɵnextContext(2); return ctx_r27.updateIsInPromotion($event); });
20624
20625
  i0__namespace.ɵɵelementEnd();
20625
20626
  i0__namespace.ɵɵelementEnd();
20626
20627
  }
20627
20628
  if (rf & 2) {
20628
- var ctx_r7 = i0__namespace.ɵɵnextContext(2);
20629
+ var ctx_r8 = i0__namespace.ɵɵnextContext(2);
20629
20630
  i0__namespace.ɵɵadvance(1);
20630
- i0__namespace.ɵɵproperty("recipeId", ctx_r7.recipe.id)("serves", ctx_r7.recipe.modifiedGuests || +ctx_r7.recipe.guests)("inViewport", ctx_r7.inViewport);
20631
+ i0__namespace.ɵɵproperty("recipeId", ctx_r8.recipe.id)("serves", ctx_r8.recipe.modifiedGuests || +ctx_r8.recipe.guests)("inViewport", ctx_r8.inViewport);
20631
20632
  }
20632
20633
  }
20633
20634
  function RecipeCardComponent_div_1_ng_miam_like_button_27_Template(rf, ctx) {
@@ -20635,49 +20636,49 @@
20635
20636
  i0__namespace.ɵɵelement(0, "ng-miam-like-button", 32);
20636
20637
  }
20637
20638
  if (rf & 2) {
20638
- var ctx_r8 = i0__namespace.ɵɵnextContext(2);
20639
- i0__namespace.ɵɵproperty("recipe", ctx_r8.recipe)("originTrace", ctx_r8.eventTrace);
20639
+ var ctx_r9 = i0__namespace.ɵɵnextContext(2);
20640
+ i0__namespace.ɵɵproperty("recipe", ctx_r9.recipe)("originTrace", ctx_r9.eventTrace);
20640
20641
  }
20641
20642
  }
20642
20643
  function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_29_Template(rf, ctx) {
20643
20644
  if (rf & 1) {
20644
- var _r29_1 = i0__namespace.ɵɵgetCurrentView();
20645
+ var _r30_1 = i0__namespace.ɵɵgetCurrentView();
20645
20646
  i0__namespace.ɵɵelementStart(0, "ng-miam-recipe-card-cta", 60);
20646
- i0__namespace.ɵɵlistener("displayed", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_29_Template_ng_miam_recipe_card_cta_displayed_0_listener() { i0__namespace.ɵɵrestoreView(_r29_1); var ctx_r28 = i0__namespace.ɵɵnextContext(2); return ctx_r28.displayed.emit(); })("clicked", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_29_Template_ng_miam_recipe_card_cta_clicked_0_listener($event) { i0__namespace.ɵɵrestoreView(_r29_1); var ctx_r30 = i0__namespace.ɵɵnextContext(2); return ctx_r30.primaryButtonClicked$.emit($event); });
20647
+ i0__namespace.ɵɵlistener("displayed", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_29_Template_ng_miam_recipe_card_cta_displayed_0_listener() { i0__namespace.ɵɵrestoreView(_r30_1); var ctx_r29 = i0__namespace.ɵɵnextContext(2); return ctx_r29.displayed.emit(); })("clicked", function RecipeCardComponent_div_1_ng_miam_recipe_card_cta_29_Template_ng_miam_recipe_card_cta_clicked_0_listener($event) { i0__namespace.ɵɵrestoreView(_r30_1); var ctx_r31 = i0__namespace.ɵɵnextContext(2); return ctx_r31.primaryButtonClicked$.emit($event); });
20647
20648
  i0__namespace.ɵɵelementEnd();
20648
20649
  }
20649
20650
  if (rf & 2) {
20650
- var ctx_r9 = i0__namespace.ɵɵnextContext(2);
20651
- i0__namespace.ɵɵproperty("recipe", ctx_r9.recipe)("previewAllowed", ctx_r9.previewAllowed)("displayGuests", ctx_r9.displayGuests)("helpButtonAllowed", ctx_r9.helpButtonAllowed)("originTrace", ctx_r9.eventTrace);
20651
+ var ctx_r10 = i0__namespace.ɵɵnextContext(2);
20652
+ i0__namespace.ɵɵproperty("recipe", ctx_r10.recipe)("previewAllowed", ctx_r10.previewAllowed)("displayGuests", ctx_r10.displayGuests)("helpButtonAllowed", ctx_r10.helpButtonAllowed)("originTrace", ctx_r10.eventTrace);
20652
20653
  }
20653
20654
  }
20654
20655
  function RecipeCardComponent_div_1_div_30_Template(rf, ctx) {
20655
20656
  if (rf & 1) {
20656
- var _r32_1 = i0__namespace.ɵɵgetCurrentView();
20657
+ var _r33_1 = i0__namespace.ɵɵgetCurrentView();
20657
20658
  i0__namespace.ɵɵelementStart(0, "div", 61);
20658
20659
  i0__namespace.ɵɵelementStart(1, "button", 62);
20659
- i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_30_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r32_1); var ctx_r31 = i0__namespace.ɵɵnextContext(2); return ctx_r31.openCatalog.emit(); });
20660
+ i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_30_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r33_1); var ctx_r32 = i0__namespace.ɵɵnextContext(2); return ctx_r32.openCatalog.emit(); });
20660
20661
  i0__namespace.ɵɵelementStart(2, "span");
20661
20662
  i0__namespace.ɵɵi18n(3, 63);
20662
20663
  i0__namespace.ɵɵelementEnd();
20663
20664
  i0__namespace.ɵɵelementEnd();
20664
20665
  i0__namespace.ɵɵelementStart(4, "button", 64);
20665
- i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_30_Template_button_click_4_listener() { i0__namespace.ɵɵrestoreView(_r32_1); var ctx_r33 = i0__namespace.ɵɵnextContext(2); return ctx_r33.removeFromMealsPlanner.emit(); });
20666
+ i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_div_30_Template_button_click_4_listener() { i0__namespace.ɵɵrestoreView(_r33_1); var ctx_r34 = i0__namespace.ɵɵnextContext(2); return ctx_r34.removeFromMealsPlanner.emit(); });
20666
20667
  i0__namespace.ɵɵelement(5, "ng-miam-icon", 65);
20667
20668
  i0__namespace.ɵɵelementEnd();
20668
20669
  i0__namespace.ɵɵelementEnd();
20669
20670
  }
20670
20671
  if (rf & 2) {
20671
- var ctx_r10 = i0__namespace.ɵɵnextContext(2);
20672
+ var ctx_r11 = i0__namespace.ɵɵnextContext(2);
20672
20673
  i0__namespace.ɵɵadvance(5);
20673
- i0__namespace.ɵɵproperty("iconName", ctx_r10.icon.Trash);
20674
+ i0__namespace.ɵɵproperty("iconName", ctx_r11.icon.Trash);
20674
20675
  }
20675
20676
  }
20676
20677
  function RecipeCardComponent_div_1_button_31_Template(rf, ctx) {
20677
20678
  if (rf & 1) {
20678
- var _r35_1 = i0__namespace.ɵɵgetCurrentView();
20679
+ var _r36_1 = i0__namespace.ɵɵgetCurrentView();
20679
20680
  i0__namespace.ɵɵelementStart(0, "button", 62);
20680
- i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_button_31_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r35_1); var ctx_r34 = i0__namespace.ɵɵnextContext(2); return ctx_r34.addToMealsPlanner.emit(ctx_r34.recipe); });
20681
+ i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_button_31_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r36_1); var ctx_r35 = i0__namespace.ɵɵnextContext(2); return ctx_r35.addToMealsPlanner.emit(ctx_r35.recipe); });
20681
20682
  i0__namespace.ɵɵelementStart(1, "span");
20682
20683
  i0__namespace.ɵɵi18n(2, 66);
20683
20684
  i0__namespace.ɵɵelementEnd();
@@ -20686,14 +20687,14 @@
20686
20687
  }
20687
20688
  function RecipeCardComponent_div_1_Template(rf, ctx) {
20688
20689
  if (rf & 1) {
20689
- var _r37_1 = i0__namespace.ɵɵgetCurrentView();
20690
+ var _r38_1 = i0__namespace.ɵɵgetCurrentView();
20690
20691
  i0__namespace.ɵɵelementStart(0, "div", 2);
20691
- i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_div_1_Template_div_inViewport_0_listener() { i0__namespace.ɵɵrestoreView(_r37_1); var ctx_r36 = i0__namespace.ɵɵnextContext(); return ctx_r36.cardInViewport(); });
20692
+ i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_div_1_Template_div_inViewport_0_listener() { i0__namespace.ɵɵrestoreView(_r38_1); var ctx_r37 = i0__namespace.ɵɵnextContext(); return ctx_r37.cardInViewport(); });
20692
20693
  i0__namespace.ɵɵelementStart(1, "div", 3);
20693
- i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r37_1); var ctx_r38 = i0__namespace.ɵɵnextContext(); return ctx_r38.openRecipe(); });
20694
+ i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r38_1); var ctx_r39 = i0__namespace.ɵɵnextContext(); return ctx_r39.openRecipe(); });
20694
20695
  i0__namespace.ɵɵelementStart(2, "div", 4);
20695
20696
  i0__namespace.ɵɵelementStart(3, "img", 5);
20696
- i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_Template_img_error_3_listener($event) { i0__namespace.ɵɵrestoreView(_r37_1); var ctx_r39 = i0__namespace.ɵɵnextContext(); return ($event.target["src"] = ctx_r39.contextService.defaultRecipePicture); });
20697
+ i0__namespace.ɵɵlistener("error", function RecipeCardComponent_div_1_Template_img_error_3_listener($event) { i0__namespace.ɵɵrestoreView(_r38_1); var ctx_r40 = i0__namespace.ɵɵnextContext(); return ($event.target["src"] = ctx_r40.contextService.defaultRecipePicture); });
20697
20698
  i0__namespace.ɵɵelementEnd();
20698
20699
  i0__namespace.ɵɵelementEnd();
20699
20700
  i0__namespace.ɵɵelement(4, "div", 6);
@@ -20719,7 +20720,7 @@
20719
20720
  i0__namespace.ɵɵelementEnd();
20720
20721
  i0__namespace.ɵɵelementEnd();
20721
20722
  i0__namespace.ɵɵelementStart(18, "div", 17);
20722
- i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_18_listener() { i0__namespace.ɵɵrestoreView(_r37_1); var ctx_r40 = i0__namespace.ɵɵnextContext(); return ctx_r40.openRecipe(); });
20723
+ i0__namespace.ɵɵlistener("click", function RecipeCardComponent_div_1_Template_div_click_18_listener() { i0__namespace.ɵɵrestoreView(_r38_1); var ctx_r41 = i0__namespace.ɵɵnextContext(); return ctx_r41.openRecipe(); });
20723
20724
  i0__namespace.ɵɵtemplate(19, RecipeCardComponent_div_1_div_19_Template, 6, 3, "div", 18);
20724
20725
  i0__namespace.ɵɵelementStart(20, "div", 19);
20725
20726
  i0__namespace.ɵɵelementStart(21, "div", 20);
@@ -20773,7 +20774,33 @@
20773
20774
  i0__namespace.ɵɵproperty("ngIf", ctx_r0.addRecipeMode);
20774
20775
  }
20775
20776
  }
20776
- var _c4$2 = function (a0, a1, a2, a3) { return { "variant-1": a0, "variant-2": a1, "variant-3": a2, "in-basket": a3 }; };
20777
+ function RecipeCardComponent_div_2_Template(rf, ctx) {
20778
+ if (rf & 1) {
20779
+ var _r43_1 = i0__namespace.ɵɵgetCurrentView();
20780
+ i0__namespace.ɵɵelementStart(0, "div", 2);
20781
+ i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_div_2_Template_div_inViewport_0_listener() { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r42 = i0__namespace.ɵɵnextContext(); return ctx_r42.cardInViewport(); });
20782
+ i0__namespace.ɵɵelementStart(1, "div", 67);
20783
+ i0__namespace.ɵɵelement(2, "img", 68);
20784
+ i0__namespace.ɵɵelementStart(3, "div", 69);
20785
+ i0__namespace.ɵɵelementStart(4, "div", 70);
20786
+ i0__namespace.ɵɵelementStart(5, "span");
20787
+ i0__namespace.ɵɵi18n(6, 71);
20788
+ i0__namespace.ɵɵelementEnd();
20789
+ i0__namespace.ɵɵelementEnd();
20790
+ i0__namespace.ɵɵelementStart(7, "button", 72);
20791
+ i0__namespace.ɵɵelementStart(8, "span");
20792
+ i0__namespace.ɵɵi18n(9, 73);
20793
+ i0__namespace.ɵɵelementEnd();
20794
+ i0__namespace.ɵɵelementEnd();
20795
+ i0__namespace.ɵɵelementEnd();
20796
+ i0__namespace.ɵɵelementEnd();
20797
+ i0__namespace.ɵɵelementEnd();
20798
+ }
20799
+ if (rf & 2) {
20800
+ i0__namespace.ɵɵproperty("threshold", 0)("debounceTime", 0);
20801
+ }
20802
+ }
20803
+ var _c8$2 = function (a0, a1, a2, a3, a4) { return { "variant-1": a0, "variant-2": a1, "variant-3": a2, "in-basket": a3, "redirect-card": a4 }; };
20777
20804
  var recipeIncludes$4 = ['recipe-provider', 'sponsors', 'tags'];
20778
20805
  var recipeSparseFields$4 = {
20779
20806
  recipes: __spread(['title', 'number-of-guests', 'media-url', 'video-id', 'filigrane-logo-url', 'difficulty', 'preparation-time', 'cooking-time',
@@ -20937,6 +20964,7 @@
20937
20964
  _this.afterRecipeLoad(results[0]);
20938
20965
  }
20939
20966
  else {
20967
+ _this.isloaded = true;
20940
20968
  _this.hide.emit();
20941
20969
  _this.cdr.detectChanges();
20942
20970
  }
@@ -20991,7 +21019,7 @@
20991
21019
  return RecipeCardComponent;
20992
21020
  }(EventTracerComponent));
20993
21021
  RecipeCardComponent.ɵfac = function RecipeCardComponent_Factory(t) { return new (t || RecipeCardComponent)(i0__namespace.ɵɵdirectiveInject(AnalyticsService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(RecipesService), i0__namespace.ɵɵdirectiveInject(BasketsService), i0__namespace.ɵɵdirectiveInject(UserService), i0__namespace.ɵɵdirectiveInject(ContextService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef)); };
20994
- RecipeCardComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe", randomModeEnable: "randomModeEnable", productIds: "productIds", previewAllowed: "previewAllowed", helpButtonAllowed: "helpButtonAllowed", displayInfos: "displayInfos", displayPricing: "displayPricing", displayGuests: "displayGuests", addRecipeMode: "addRecipeMode", replaceMode: "replaceMode", displayVariant: "displayVariant", serves: "serves" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", removeFromMealsPlanner: "removeFromMealsPlanner", addToMealsPlanner: "addToMealsPlanner", openCatalog: "openCatalog", hide: "hide" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 2, vars: 8, consts: function () {
21022
+ RecipeCardComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe", randomModeEnable: "randomModeEnable", productIds: "productIds", previewAllowed: "previewAllowed", helpButtonAllowed: "helpButtonAllowed", displayInfos: "displayInfos", displayPricing: "displayPricing", displayGuests: "displayGuests", addRecipeMode: "addRecipeMode", replaceMode: "replaceMode", displayVariant: "displayVariant", serves: "serves" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", removeFromMealsPlanner: "removeFromMealsPlanner", addToMealsPlanner: "addToMealsPlanner", openCatalog: "openCatalog", hide: "hide" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 3, vars: 10, consts: function () {
20995
21023
  var i18n_0;
20996
21024
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
20997
21025
  var MSG_EXTERNAL_9004334984468055592$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS___1 = goog.getMsg("Changer");
@@ -21008,20 +21036,39 @@
21008
21036
  else {
21009
21037
  i18n_2 = $localize(templateObject_2$k || (templateObject_2$k = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
21010
21038
  }
21011
- return [["ngMiamInViewport", "", 1, "miam-recipe-card", 3, "condition", "ngClass", "inViewport"], ["class", "miam-recipe-card__container", "ngMiamInViewport", "", 3, "threshold", "debounceTime", "inViewport", 4, "ngIf"], ["ngMiamInViewport", "", 1, "miam-recipe-card__container", 3, "threshold", "debounceTime", "inViewport"], [1, "miam-recipe-card__top", 3, "click"], [1, "miam-recipe-card__picture"], ["loading", "lazy", "aria-hidden", "true", 3, "src", "alt", "error"], [1, "miam-recipe-card__gradient"], [1, "miam-recipe-card__content"], [1, "miam-recipe-card__top-container"], ["class", "miam-recipe-card__like", 4, "ngIf"], ["class", "miam-recipe-card_sponso_and_promo_badge", 4, "ngIf"], ["class", "miam-recipe-card__badge-container", 3, "ngClass", 4, "ngIf"], [1, "miam-recipe-card__picture__bottom"], [1, "miam-recipe-card__title", "miam-ds-text", "weight-xxl", "size-m"], [1, "miam-recipe-card__counter"], [1, "miam-ds-text", "weight-xxl", "size-m"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/recipe-counter.svg", "alt", "people"], [1, "miam-recipe-card__bottom", 3, "click"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], [1, "miam-recipe-card__actions"], [1, "miam-recipe-card__infos"], ["class", "miam-recipe-card__difficulty-and-time", 4, "ngIf"], [1, "miam-recipe-card__price-and-promotion"], ["class", "miam-recipe-card__bottom-promotion", 4, "ngIf"], ["class", "miam-recipe-card__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], [3, "recipe", "previewAllowed", "displayGuests", "helpButtonAllowed", "originTrace", "displayed", "clicked", 4, "ngIf"], ["class", "miam-recipe-card__actions__replace", 4, "ngIf"], ["class", "miam-ds-button ghost", 3, "click", 4, "ngIf"], [1, "miam-recipe-card__like"], ["like", ""], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card_sponso_and_promo_badge"], [4, "ngIf"], ["class", "miam-recipe-card__sponsor-container", 4, "ngIf"], [1, "miam-recipe-card__sponsor-container"], ["alt", "sponsor picture", 1, "miam-recipe-card__sponsor-picture", 3, "src"], [1, "miam-recipe-card__badge-container", 3, "ngClass"], ["class", "miam-recipe-card__badge", "src", "https://storage.googleapis.com/assets.miam.tech/generic/images/recipe_card-badge.svg", "alt", "recipe badge", 4, "ngIf"], ["class", "miam-recipe-card__badge", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/9.0/recipe-card-badge-drinks.svg", "alt", "drink badge", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/recipe_card-badge.svg", "alt", "recipe badge", 1, "miam-recipe-card__badge"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/9.0/recipe-card-badge-drinks.svg", "alt", "drink badge", 1, "miam-recipe-card__badge"], [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["alt", "first ingredient picture", 3, "src", "error"], ["alt", "second ingredient picture", 3, "src", "error"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__difficulty-and-time"], ["class", "miam-recipe-card__difficulty", 4, "ngIf"], ["class", "miam-recipe-card__time", 4, "ngIf"], [1, "miam-recipe-card__difficulty"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ChefHat.svg", "alt", "difficulty"], [1, "miam-ds-text", "size-s", "weight-m"], [1, "miam-recipe-card__time"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Clock.svg", "alt", "time"], [1, "miam-recipe-card__bottom-promotion"], [1, "miam-recipe-card__price"], [1, "miam-ds-text", "weight-xxl", 3, "recipeId", "serves", "inViewport", "priceSet"], [3, "recipe", "previewAllowed", "displayGuests", "helpButtonAllowed", "originTrace", "displayed", "clicked"], [1, "miam-recipe-card__actions__replace"], [1, "miam-ds-button", "ghost", 3, "click"], i18n_0, [1, "miam-ds-button", "ghost", "square", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], i18n_2];
21039
+ var i18n_4;
21040
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
21041
+ var MSG_EXTERNAL_1894766325611350442$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS__5 = goog.getMsg("Besoin d'inspiration ?");
21042
+ i18n_4 = MSG_EXTERNAL_1894766325611350442$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS__5;
21043
+ }
21044
+ else {
21045
+ i18n_4 = $localize(templateObject_3$f || (templateObject_3$f = __makeTemplateObject([":\u241F4d250da5e232d9cfabd145c7b5307c0043090391\u241F1894766325611350442:Besoin d'inspiration ?"], [":\u241F4d250da5e232d9cfabd145c7b5307c0043090391\u241F1894766325611350442:Besoin d'inspiration ?"])));
21046
+ }
21047
+ var i18n_6;
21048
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
21049
+ var MSG_EXTERNAL_9008711340501624723$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS__7 = goog.getMsg("D\u00E9couvrez nos recettes");
21050
+ i18n_6 = MSG_EXTERNAL_9008711340501624723$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS__7;
21051
+ }
21052
+ else {
21053
+ i18n_6 = $localize(templateObject_4$c || (templateObject_4$c = __makeTemplateObject([":\u241Ff51693cf087a834d433fa3835d7b64905fdc57ee\u241F9008711340501624723:D\u00E9couvrez nos recettes"], [":\u241Ff51693cf087a834d433fa3835d7b64905fdc57ee\u241F9008711340501624723:D\u00E9couvrez nos recettes"])));
21054
+ }
21055
+ return [["ngMiamInViewport", "", 1, "miam-recipe-card", 3, "condition", "ngClass", "inViewport"], ["class", "miam-recipe-card__container", "ngMiamInViewport", "", 3, "threshold", "debounceTime", "inViewport", 4, "ngIf"], ["ngMiamInViewport", "", 1, "miam-recipe-card__container", 3, "threshold", "debounceTime", "inViewport"], [1, "miam-recipe-card__top", 3, "click"], [1, "miam-recipe-card__picture"], ["loading", "lazy", "aria-hidden", "true", 3, "src", "alt", "error"], [1, "miam-recipe-card__gradient"], [1, "miam-recipe-card__content"], [1, "miam-recipe-card__top-container"], ["class", "miam-recipe-card__like", 4, "ngIf"], ["class", "miam-recipe-card_sponso_and_promo_badge", 4, "ngIf"], ["class", "miam-recipe-card__badge-container", 3, "ngClass", 4, "ngIf"], [1, "miam-recipe-card__picture__bottom"], [1, "miam-recipe-card__title", "miam-ds-text", "weight-xxl", "size-m"], [1, "miam-recipe-card__counter"], [1, "miam-ds-text", "weight-xxl", "size-m"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/recipe-counter.svg", "alt", "people"], [1, "miam-recipe-card__bottom", 3, "click"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], [1, "miam-recipe-card__actions"], [1, "miam-recipe-card__infos"], ["class", "miam-recipe-card__difficulty-and-time", 4, "ngIf"], [1, "miam-recipe-card__price-and-promotion"], ["class", "miam-recipe-card__bottom-promotion", 4, "ngIf"], ["class", "miam-recipe-card__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], [3, "recipe", "previewAllowed", "displayGuests", "helpButtonAllowed", "originTrace", "displayed", "clicked", 4, "ngIf"], ["class", "miam-recipe-card__actions__replace", 4, "ngIf"], ["class", "miam-ds-button ghost", 3, "click", 4, "ngIf"], [1, "miam-recipe-card__like"], ["like", ""], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card_sponso_and_promo_badge"], [4, "ngIf"], ["class", "miam-recipe-card__sponsor-container", 4, "ngIf"], [1, "miam-recipe-card__sponsor-container"], ["alt", "sponsor picture", 1, "miam-recipe-card__sponsor-picture", 3, "src"], [1, "miam-recipe-card__badge-container", 3, "ngClass"], ["class", "miam-recipe-card__badge", "src", "https://storage.googleapis.com/assets.miam.tech/generic/images/recipe_card-badge.svg", "alt", "recipe badge", 4, "ngIf"], ["class", "miam-recipe-card__badge", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/9.0/recipe-card-badge-drinks.svg", "alt", "drink badge", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/recipe_card-badge.svg", "alt", "recipe badge", 1, "miam-recipe-card__badge"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/9.0/recipe-card-badge-drinks.svg", "alt", "drink badge", 1, "miam-recipe-card__badge"], [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["alt", "first ingredient picture", 3, "src", "error"], ["alt", "second ingredient picture", 3, "src", "error"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__difficulty-and-time"], ["class", "miam-recipe-card__difficulty", 4, "ngIf"], ["class", "miam-recipe-card__time", 4, "ngIf"], [1, "miam-recipe-card__difficulty"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ChefHat.svg", "alt", "difficulty"], [1, "miam-ds-text", "size-s", "weight-m"], [1, "miam-recipe-card__time"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Clock.svg", "alt", "time"], [1, "miam-recipe-card__bottom-promotion"], [1, "miam-recipe-card__price"], [1, "miam-ds-text", "weight-xxl", 3, "recipeId", "serves", "inViewport", "priceSet"], [3, "recipe", "previewAllowed", "displayGuests", "helpButtonAllowed", "originTrace", "displayed", "clicked"], [1, "miam-recipe-card__actions__replace"], [1, "miam-ds-button", "ghost", 3, "click"], i18n_0, [1, "miam-ds-button", "ghost", "square", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], i18n_2, [1, "miam-recipe-card__redirect"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/Suggestion_Redirect_Background.png"], [1, "miam-recipe-card__redirect__footer"], [1, "miam-recipe-card__redirect__title", "miam-ds-text", "size-l", "weight-xxl"], i18n_4, [1, "miam-recipe-card__redirect__button", "miam-ds-button", "primary"], i18n_6];
21012
21056
  }, template: function RecipeCardComponent_Template(rf, ctx) {
21013
21057
  if (rf & 1) {
21014
21058
  i0__namespace.ɵɵelementStart(0, "div", 0);
21015
21059
  i0__namespace.ɵɵlistener("inViewport", function RecipeCardComponent_Template_div_inViewport_0_listener() { return ctx.sendShowEvent(); });
21016
21060
  i0__namespace.ɵɵtemplate(1, RecipeCardComponent_div_1_Template, 32, 19, "div", 1);
21061
+ i0__namespace.ɵɵtemplate(2, RecipeCardComponent_div_2_Template, 10, 2, "div", 1);
21017
21062
  i0__namespace.ɵɵelementEnd();
21018
21063
  }
21019
21064
  if (rf & 2) {
21020
- i0__namespace.ɵɵproperty("condition", !!ctx.recipe)("ngClass", i0__namespace.ɵɵpureFunction4(3, _c4$2, ctx.displayVariant !== 2 && ctx.displayVariant !== 3, ctx.displayVariant === 2, ctx.displayVariant === 3, ctx.inBasket));
21065
+ i0__namespace.ɵɵproperty("condition", !!ctx.recipe)("ngClass", i0__namespace.ɵɵpureFunction5(4, _c8$2, ctx.displayVariant !== 2 && ctx.displayVariant !== 3, ctx.displayVariant === 2, ctx.displayVariant === 3, ctx.inBasket, ctx.isloaded && !ctx.recipe));
21021
21066
  i0__namespace.ɵɵadvance(1);
21022
21067
  i0__namespace.ɵɵproperty("ngIf", ctx.recipe);
21068
+ i0__namespace.ɵɵadvance(1);
21069
+ i0__namespace.ɵɵproperty("ngIf", ctx.isloaded && !ctx.recipe);
21023
21070
  }
21024
- }, directives: [InViewportDirective, i2__namespace.NgClass, i2__namespace.NgIf, LikeButtonComponent, RecipePromotionBadgeComponent, RecipePricingComponent, RecipeCardCtaComponent, IconComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-recipe-card{position:relative;display:flex;width:var(--m-catalog-card-width,308px);height:500px;flex-direction:column;align-items:flex-start;flex-shrink:0;border-radius:8px;overflow:hidden;cursor:pointer}.miam-recipe-card .miam-recipe-card__container{display:flex;flex-direction:column;height:100%;width:100%;flex-shrink:0;align-self:stretch}.miam-recipe-card .miam-recipe-card__container:hover .miam-recipe-card__top .miam-recipe-card__picture img{transform:scale(1.1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top{position:relative;flex:1;height:calc(100% - 72px)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture{width:100%;height:100%;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__gradient{position:absolute;width:100%;height:100%;top:0;left:0;background:linear-gradient(180deg,transparent 43.67%,rgba(0,0,0,.4) 91.33%)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom{width:100%;display:flex;justify-content:space-between;align-items:flex-end;padding:12px;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__title{color:var(--miam-ds-color-neutral-white,#fff);text-shadow:0 2px 8px rgba(0,0,0,.15);text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter{display:flex;padding:4px 8px;align-items:center;gap:4px;border-radius:100px;background:var(--miam-ds-color-neutral-white,#fff);color:var(--miam-color-neutral-black);height:-moz-fit-content;height:fit-content;flex-shrink:0}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter span{line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter img{width:16px;height:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container{display:flex;flex-direction:row-reverse;justify-content:space-between;margin:12px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container{display:flex;padding:8px 12px;background-color:#fff;border-radius:100px;width:auto;height:auto;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container .miam-recipe-card__sponsor-picture{width:auto;height:auto;max-width:80px;max-height:40px;-o-object-fit:contain;object-fit:contain}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card_sponso_and_promo_badge{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container>:not(:last-child),.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card_sponso_and_promo_badge>:not(:last-child){margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button{border-radius:48px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button.miam-ds-button.primary.reverse.square.small .miam-like-button__icon{height:16px;width:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom{display:flex;width:100%;height:72px;flex-direction:column;align-items:flex-start;justify-content:center;box-sizing:border-box;padding:12px;border-radius:0 0 8px 8px;background-color:var(--miam-ds-color-neutral-white,#fff);border-right:1px solid var(--borders-default,#d9dde1);border-bottom:1px solid var(--borders-default,#d9dde1);border-left:1px solid var(--borders-default,#d9dde1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions{display:flex;gap:8px;justify-content:space-between;align-items:center;align-self:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos .miam-recipe-card__price-and-promotion .miam-recipe-card__bottom-promotion{display:none}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__cta{display:flex;flex-direction:row;gap:16px;align-items:center}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time{display:flex;flex-direction:row;color:var(--miam-ds-color-text-disabled);gap:12px;margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time{display:flex}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty img,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time img{margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price{color:var(--miam-ds-color-primary);line-height:100%;margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing{max-width:70px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{color:rgba(31,53,67,.5);font-weight:500;line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__actions__replace{display:flex;flex:1;justify-content:space-between;align-items:center}"], encapsulation: 2, changeDetection: 0 });
21071
+ }, directives: [InViewportDirective, i2__namespace.NgClass, i2__namespace.NgIf, LikeButtonComponent, RecipePromotionBadgeComponent, RecipePricingComponent, RecipeCardCtaComponent, IconComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-recipe-card{position:relative;display:flex;width:var(--m-catalog-card-width,308px);height:500px;flex-direction:column;align-items:flex-start;flex-shrink:0;border-radius:8px;overflow:hidden;cursor:pointer}.miam-recipe-card .miam-recipe-card__container{display:flex;flex-direction:column;height:100%;width:100%;flex-shrink:0;align-self:stretch}.miam-recipe-card .miam-recipe-card__container:hover .miam-recipe-card__top .miam-recipe-card__picture img{transform:scale(1.1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top{position:relative;flex:1;height:calc(100% - 72px)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture{width:100%;height:100%;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__picture img{display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .2s}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__gradient{position:absolute;width:100%;height:100%;top:0;left:0;background:linear-gradient(180deg,transparent 43.67%,rgba(0,0,0,.4) 91.33%)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content{position:absolute;width:100%;height:100%;top:0;left:0;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom{width:100%;display:flex;justify-content:space-between;align-items:flex-end;padding:12px;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__title{color:var(--miam-ds-color-neutral-white,#fff);text-shadow:0 2px 8px rgba(0,0,0,.15);text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter{display:flex;padding:4px 8px;align-items:center;gap:4px;border-radius:100px;background:var(--miam-ds-color-neutral-white,#fff);color:var(--miam-color-neutral-black);height:-moz-fit-content;height:fit-content;flex-shrink:0}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter span{line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__picture__bottom .miam-recipe-card__counter img{width:16px;height:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container{display:flex;flex-direction:row-reverse;justify-content:space-between;margin:12px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container{display:flex;padding:8px 12px;background-color:#fff;border-radius:100px;width:auto;height:auto;box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__sponsor-container .miam-recipe-card__sponsor-picture{width:auto;height:auto;max-width:80px;max-height:40px;-o-object-fit:contain;object-fit:contain}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card_sponso_and_promo_badge{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__badge-container>:not(:last-child),.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card_sponso_and_promo_badge>:not(:last-child){margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button{border-radius:48px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__top .miam-recipe-card__content .miam-recipe-card__top-container .miam-recipe-card__like .miam-like-button.miam-ds-button.primary.reverse.square.small .miam-like-button__icon{height:16px;width:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom{display:flex;width:100%;height:72px;flex-direction:column;align-items:flex-start;justify-content:center;box-sizing:border-box;padding:12px;border-radius:0 0 8px 8px;background-color:var(--miam-ds-color-neutral-white,#fff);border-right:1px solid var(--m-color-neutral-200,#d9dde1);border-bottom:1px solid var(--m-color-neutral-200,#d9dde1);border-left:1px solid var(--m-color-neutral-200,#d9dde1)}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions{display:flex;gap:8px;justify-content:space-between;align-items:center;align-self:stretch}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos{display:flex;flex-direction:column;align-items:flex-start}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__infos .miam-recipe-card__price-and-promotion .miam-recipe-card__bottom-promotion{display:none}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__cta{display:flex;flex-direction:row;gap:16px;align-items:center}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time{display:flex;flex-direction:row;color:var(--miam-ds-color-text-disabled);gap:12px;margin-bottom:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time{display:flex}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__difficulty img,.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__difficulty-and-time .miam-recipe-card__time img{margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price{color:var(--miam-ds-color-primary);line-height:100%;margin-right:4px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing{max-width:70px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__price .miam-recipe-pricing .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{color:rgba(31,53,67,.5);font-weight:500;line-height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__bottom .miam-recipe-card__actions .miam-recipe-card__actions__replace{display:flex;flex:1;justify-content:space-between;align-items:center}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect{display:flex;flex-direction:column;justify-content:flex-end;flex:1;border-radius:8px;border:1px solid var(--m-color-neutral-200,#d9dde1);box-sizing:border-box}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect img{height:100%;-o-object-fit:cover;object-fit:cover}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__button{margin-top:16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__button span{font-size:14px;font-weight:700;line-height:16px}@media (max-width:1023px){.miam-recipe-card.redirect-card{width:80vw;height:188px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect{flex-direction:row;height:100%}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect img{content:url(https://storage.googleapis.com/assets.miam.tech/generic/images/Suggestion_Redirect_Background_Mobile.png);height:136%;margin:-22px -16px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer{min-width:156px}.miam-recipe-card .miam-recipe-card__container .miam-recipe-card__redirect .miam-recipe-card__redirect__footer .miam-recipe-card__redirect__title{font-size:16px}}"], encapsulation: 2, changeDetection: 0 });
21025
21072
  (function () {
21026
21073
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RecipeCardComponent, [{
21027
21074
  type: i0.Component,
@@ -21072,7 +21119,7 @@
21072
21119
  type: i0.Output
21073
21120
  }] });
21074
21121
  })();
21075
- var templateObject_1$q, templateObject_2$k;
21122
+ var templateObject_1$q, templateObject_2$k, templateObject_3$f, templateObject_4$c;
21076
21123
 
21077
21124
  /**
21078
21125
  * This is an angular component design to be a web component
@@ -21851,7 +21898,7 @@
21851
21898
  i0__namespace.ɵɵproperty("recipe", recipe_r13)("originTrace", ctx_r3.eventTrace)("displayPricing", ctx_r3.displayPricing)("previewAllowed", !ctx_r3.addRecipeMode)("addRecipeMode", ctx_r3.addRecipeMode)("displayGuests", ctx_r3.displayGuests)("displayVariant", ctx_r3.displayRecipeVariant)("helpButtonAllowed", ctx_r3.helpButtonAllowed);
21852
21899
  }
21853
21900
  }
21854
- var _c13$1 = function (a0) { return { recipe: a0 }; };
21901
+ var _c13 = function (a0) { return { recipe: a0 }; };
21855
21902
  function CatalogListComponent_ng_container_8_ng_container_1_Template(rf, ctx) {
21856
21903
  if (rf & 1) {
21857
21904
  var _r21_1 = i0__namespace.ɵɵgetCurrentView();
@@ -21870,7 +21917,7 @@
21870
21917
  i0__namespace.ɵɵadvance(1);
21871
21918
  i0__namespace.ɵɵproperty("isLoading", i0__namespace.ɵɵpipeBind1(2, 3, ctx_r18.loading));
21872
21919
  i0__namespace.ɵɵadvance(2);
21873
- i0__namespace.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(5, _c13$1, recipe_r16));
21920
+ i0__namespace.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(5, _c13, recipe_r16));
21874
21921
  }
21875
21922
  }
21876
21923
  function CatalogListComponent_ng_container_8_ng_container_2_Template(rf, ctx) {
@@ -21881,7 +21928,7 @@
21881
21928
  var recipe_r16 = i0__namespace.ɵɵnextContext().$implicit;
21882
21929
  i0__namespace.ɵɵnextContext();
21883
21930
  var _r2 = i0__namespace.ɵɵreference(7);
21884
- i0__namespace.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c13$1, recipe_r16));
21931
+ i0__namespace.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0__namespace.ɵɵpureFunction1(2, _c13, recipe_r16));
21885
21932
  }
21886
21933
  }
21887
21934
  function CatalogListComponent_ng_container_8_Template(rf, ctx) {
@@ -22021,10 +22068,7 @@
22021
22068
  if (this.noMoreRecipes) {
22022
22069
  return rxjs.of([]);
22023
22070
  }
22024
- return this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function () {
22025
- // keep a copy of the filters when request is sent, so we can check they are still the same when it is received
22026
- // Because if it's not the case we have to ignore the results
22027
- var requestFilters = _this.filters.copy();
22071
+ return this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function (requestFilters) {
22028
22072
  if (_this.context.displayIngredientPicturesOnRecipeCards && !recipeIncludes$3.includes('ingredients')) {
22029
22073
  recipeIncludes$3.push('ingredients');
22030
22074
  recipeSparseFields$3.recipes.push('ingredients');
@@ -23236,9 +23280,9 @@
23236
23280
  recipeSparseFields$1.recipes.push('ingredients');
23237
23281
  recipeSparseFields$1['ingredients'] = ['name', 'quantity', 'unit', 'active', 'forced-eans', 'picture-url', 'position'];
23238
23282
  }
23239
- return this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function () {
23283
+ return this.recipesService.addMandatoryCompletionToFilter(this.filters).pipe(operators.switchMap(function (requestFilters) {
23240
23284
  var pageSize = _this.maxRecipeNumber > 0 ? (_this.maxRecipeNumber < 30 ? _this.maxRecipeNumber : 30) : 0;
23241
- return _this.recipesService.filter(_this.filters, { number: 1, size: pageSize }, recipeIncludes$1, recipeSparseFields$1, _this.modifiedGuests, false, 'position');
23285
+ return _this.recipesService.filter(requestFilters, { number: 1, size: pageSize }, recipeIncludes$1, recipeSparseFields$1, _this.modifiedGuests, false, 'position');
23242
23286
  }), operators.tap(function (result) { return _this.recipes = result; }));
23243
23287
  };
23244
23288
  CatalogCategoryComponent.prototype.loadArticles = function () {
@@ -23312,7 +23356,7 @@
23312
23356
  if (rf & 2) {
23313
23357
  i0__namespace.ɵɵproperty("ngIf", !ctx.hide);
23314
23358
  }
23315
- }, directives: [i2__namespace.NgIf, InViewportDirective, i2__namespace.NgForOf, LoaderComponent, RecipeCardComponent, CatalogArticleCardComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-catalog-category{display:flex;flex-direction:column;margin-bottom:40px}.miam-catalog-category .miam-catalog-category__header{display:flex;flex-direction:column;margin-bottom:16px}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__title{width:-moz-fit-content;width:fit-content;margin-bottom:4px;font-size:24px;line-height:34px;font-weight:700;cursor:pointer}@media (min-width:1024px){.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__title:hover{text-decoration:underline}}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom{display:flex;align-items:center;justify-content:space-between;width:100%}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom .miam-catalog-category__subtitle{color:var(--miam-ds-color-neutral-500)}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom .miam-catalog-category__link{display:flex;align-items:center;color:var(--miam-ds-color-primary);cursor:pointer;white-space:nowrap;margin-left:16px;margin-right:4px}@media (min-width:1024px){.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom .miam-catalog-category__link:hover{text-decoration:underline}}.miam-catalog-category .miam-catalog-category__content{position:relative;overflow:hidden;padding:16px 0;width:100%;height:var(--m-catalog-card-height);box-sizing:content-box}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards{display:flex;flex-direction:row;flex-wrap:wrap;transition-duration:.5s;gap:16px}@media (min-width:1025px){.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards ng-miam-recipe-card{flex:1;min-width:240px;max-width:308px;display:flex}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards ng-miam-recipe-card .miam-recipe-card{flex:1}}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards .miam-catalog-category__loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards .miam-catalog-category__loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}@media (max-width:1023px){.miam-catalog-category .miam-catalog-category__header{flex-direction:column;align-items:flex-start;margin:0 24px 8px}.miam-catalog-category .miam-catalog-category__content{overflow-x:auto;margin:16px 0}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards{flex-wrap:nowrap;padding:0 24px}}"], encapsulation: 2, changeDetection: 0 });
23359
+ }, directives: [i2__namespace.NgIf, InViewportDirective, i2__namespace.NgForOf, LoaderComponent, RecipeCardComponent, CatalogArticleCardComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-catalog-category{display:flex;flex-direction:column;margin:20px 0}.miam-catalog-category .miam-catalog-category__header{display:flex;flex-direction:column;margin-bottom:16px}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__title{width:-moz-fit-content;width:fit-content;margin-bottom:4px;font-size:24px;line-height:34px;font-weight:700;cursor:pointer}@media (min-width:1024px){.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__title:hover{text-decoration:underline}}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom{display:flex;align-items:center;justify-content:space-between;width:100%}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom .miam-catalog-category__subtitle{color:var(--miam-ds-color-neutral-500)}.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom .miam-catalog-category__link{display:flex;align-items:center;color:var(--miam-ds-color-primary);cursor:pointer;white-space:nowrap;margin-left:16px;margin-right:4px}@media (min-width:1024px){.miam-catalog-category .miam-catalog-category__header .miam-catalog-category__header__bottom .miam-catalog-category__link:hover{text-decoration:underline}}.miam-catalog-category .miam-catalog-category__content{position:relative;overflow:hidden;padding:16px 0;width:100%;height:var(--m-catalog-card-height);box-sizing:content-box}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards{display:flex;flex-direction:row;flex-wrap:wrap;transition-duration:.5s;gap:16px}@media (min-width:1025px){.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards ng-miam-recipe-card{flex:1;min-width:240px;max-width:308px;display:flex}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards ng-miam-recipe-card .miam-recipe-card{flex:1}}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards .miam-catalog-category__loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards .miam-catalog-category__loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}@media (max-width:1023px){.miam-catalog-category .miam-catalog-category__header{flex-direction:column;align-items:flex-start;margin:0 24px 8px}.miam-catalog-category .miam-catalog-category__content{overflow-x:auto;margin:16px 0}.miam-catalog-category .miam-catalog-category__content .miam-catalog-category__cards{flex-wrap:nowrap;padding:0 24px}}"], encapsulation: 2, changeDetection: 0 });
23316
23360
  (function () {
23317
23361
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CatalogCategoryComponent, [{
23318
23362
  type: i0.Component,
@@ -23396,8 +23440,8 @@
23396
23440
  }
23397
23441
  function CatalogHeaderComponent_a_9_span_1_Template(rf, ctx) {
23398
23442
  if (rf & 1) {
23399
- i0__namespace.ɵɵelementStart(0, "span", 21);
23400
- i0__namespace.ɵɵi18n(1, 22);
23443
+ i0__namespace.ɵɵelementStart(0, "span", 22);
23444
+ i0__namespace.ɵɵi18n(1, 23);
23401
23445
  i0__namespace.ɵɵelementEnd();
23402
23446
  }
23403
23447
  }
@@ -23416,20 +23460,20 @@
23416
23460
  function CatalogHeaderComponent_a_9_div_3_span_1_Template(rf, ctx) {
23417
23461
  if (rf & 1) {
23418
23462
  i0__namespace.ɵɵelementStart(0, "span");
23419
- i0__namespace.ɵɵi18n(1, 24);
23463
+ i0__namespace.ɵɵi18n(1, 25);
23420
23464
  i0__namespace.ɵɵelementEnd();
23421
23465
  }
23422
23466
  }
23423
23467
  function CatalogHeaderComponent_a_9_div_3_span_2_Template(rf, ctx) {
23424
23468
  if (rf & 1) {
23425
23469
  i0__namespace.ɵɵelementStart(0, "span");
23426
- i0__namespace.ɵɵi18n(1, 25);
23470
+ i0__namespace.ɵɵi18n(1, 26);
23427
23471
  i0__namespace.ɵɵelementEnd();
23428
23472
  }
23429
23473
  }
23430
23474
  function CatalogHeaderComponent_a_9_div_3_Template(rf, ctx) {
23431
23475
  if (rf & 1) {
23432
- i0__namespace.ɵɵelementStart(0, "div", 23);
23476
+ i0__namespace.ɵɵelementStart(0, "div", 24);
23433
23477
  i0__namespace.ɵɵtemplate(1, CatalogHeaderComponent_a_9_div_3_span_1_Template, 2, 0, "span", 17);
23434
23478
  i0__namespace.ɵɵtemplate(2, CatalogHeaderComponent_a_9_div_3_span_2_Template, 2, 0, "span", 17);
23435
23479
  i0__namespace.ɵɵelementEnd();
@@ -23444,20 +23488,27 @@
23444
23488
  }
23445
23489
  function CatalogHeaderComponent_a_9_span_4_Template(rf, ctx) {
23446
23490
  if (rf & 1) {
23447
- i0__namespace.ɵɵelementStart(0, "span", 26);
23491
+ i0__namespace.ɵɵelementStart(0, "span", 27);
23492
+ i0__namespace.ɵɵi18n(1, 28);
23493
+ i0__namespace.ɵɵelementEnd();
23494
+ }
23495
+ }
23496
+ function CatalogHeaderComponent_a_9_span_5_Template(rf, ctx) {
23497
+ if (rf & 1) {
23498
+ i0__namespace.ɵɵelementStart(0, "span", 29);
23448
23499
  i0__namespace.ɵɵtext(1);
23449
23500
  i0__namespace.ɵɵelementEnd();
23450
23501
  }
23451
23502
  if (rf & 2) {
23452
- var ctx_r13 = i0__namespace.ɵɵnextContext(2);
23503
+ var ctx_r14 = i0__namespace.ɵɵnextContext(2);
23453
23504
  i0__namespace.ɵɵadvance(1);
23454
- i0__namespace.ɵɵtextInterpolate(ctx_r13.additionalFiltersTitle);
23505
+ i0__namespace.ɵɵtextInterpolate(ctx_r14.additionalFiltersTitle);
23455
23506
  }
23456
23507
  }
23457
- function CatalogHeaderComponent_a_9_span_5_Template(rf, ctx) {
23508
+ function CatalogHeaderComponent_a_9_span_6_Template(rf, ctx) {
23458
23509
  if (rf & 1) {
23459
- i0__namespace.ɵɵelementStart(0, "span", 27);
23460
- i0__namespace.ɵɵi18n(1, 28);
23510
+ i0__namespace.ɵɵelementStart(0, "span", 30);
23511
+ i0__namespace.ɵɵi18n(1, 31);
23461
23512
  i0__namespace.ɵɵelementEnd();
23462
23513
  }
23463
23514
  }
@@ -23467,13 +23518,14 @@
23467
23518
  i0__namespace.ɵɵtemplate(1, CatalogHeaderComponent_a_9_span_1_Template, 2, 0, "span", 16);
23468
23519
  i0__namespace.ɵɵtemplate(2, CatalogHeaderComponent_a_9_span_2_Template, 2, 1, "span", 17);
23469
23520
  i0__namespace.ɵɵtemplate(3, CatalogHeaderComponent_a_9_div_3_Template, 3, 2, "div", 18);
23470
- i0__namespace.ɵɵtemplate(4, CatalogHeaderComponent_a_9_span_4_Template, 2, 1, "span", 19);
23471
- i0__namespace.ɵɵtemplate(5, CatalogHeaderComponent_a_9_span_5_Template, 2, 0, "span", 20);
23521
+ i0__namespace.ɵɵtemplate(4, CatalogHeaderComponent_a_9_span_4_Template, 2, 0, "span", 19);
23522
+ i0__namespace.ɵɵtemplate(5, CatalogHeaderComponent_a_9_span_5_Template, 2, 1, "span", 20);
23523
+ i0__namespace.ɵɵtemplate(6, CatalogHeaderComponent_a_9_span_6_Template, 2, 0, "span", 21);
23472
23524
  i0__namespace.ɵɵelementEnd();
23473
23525
  }
23474
23526
  if (rf & 2) {
23475
23527
  var ctx_r3 = i0__namespace.ɵɵnextContext();
23476
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(6, _c2$2, !ctx_r3.home));
23528
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c2$2, !ctx_r3.home));
23477
23529
  i0__namespace.ɵɵadvance(1);
23478
23530
  i0__namespace.ɵɵproperty("ngIf", ctx_r3.isSearchPage());
23479
23531
  i0__namespace.ɵɵadvance(1);
@@ -23481,6 +23533,8 @@
23481
23533
  i0__namespace.ɵɵadvance(1);
23482
23534
  i0__namespace.ɵɵproperty("ngIf", ctx_r3.isFavoritesPage());
23483
23535
  i0__namespace.ɵɵadvance(1);
23536
+ i0__namespace.ɵɵproperty("ngIf", ctx_r3.isAllRecipesPage());
23537
+ i0__namespace.ɵɵadvance(1);
23484
23538
  i0__namespace.ɵɵproperty("ngIf", ctx_r3.isCategoryPage());
23485
23539
  i0__namespace.ɵɵadvance(1);
23486
23540
  i0__namespace.ɵɵproperty("ngIf", ctx_r3.isDefaultPage());
@@ -23493,44 +23547,44 @@
23493
23547
  i0__namespace.ɵɵelementEnd();
23494
23548
  }
23495
23549
  if (rf & 2) {
23496
- var ctx_r17 = i0__namespace.ɵɵnextContext(2);
23550
+ var ctx_r18 = i0__namespace.ɵɵnextContext(2);
23497
23551
  i0__namespace.ɵɵadvance(1);
23498
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r17.catalogSetting == null ? null : ctx_r17.catalogSetting.attributes["banner-text"], " ");
23552
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r18.catalogSetting == null ? null : ctx_r18.catalogSetting.attributes["banner-text"], " ");
23499
23553
  }
23500
23554
  }
23501
23555
  function CatalogHeaderComponent_div_10_ng_template_3_Template(rf, ctx) {
23502
23556
  if (rf & 1) {
23503
23557
  i0__namespace.ɵɵelementStart(0, "span");
23504
- i0__namespace.ɵɵi18n(1, 33);
23558
+ i0__namespace.ɵɵi18n(1, 36);
23505
23559
  i0__namespace.ɵɵelementEnd();
23506
23560
  }
23507
23561
  }
23508
23562
  function CatalogHeaderComponent_div_10_Template(rf, ctx) {
23509
23563
  if (rf & 1) {
23510
- i0__namespace.ɵɵelementStart(0, "div", 29);
23511
- i0__namespace.ɵɵelementStart(1, "div", 30);
23512
- i0__namespace.ɵɵtemplate(2, CatalogHeaderComponent_div_10_div_2_Template, 2, 1, "div", 31);
23513
- i0__namespace.ɵɵtemplate(3, CatalogHeaderComponent_div_10_ng_template_3_Template, 2, 0, "ng-template", null, 32, i0__namespace.ɵɵtemplateRefExtractor);
23564
+ i0__namespace.ɵɵelementStart(0, "div", 32);
23565
+ i0__namespace.ɵɵelementStart(1, "div", 33);
23566
+ i0__namespace.ɵɵtemplate(2, CatalogHeaderComponent_div_10_div_2_Template, 2, 1, "div", 34);
23567
+ i0__namespace.ɵɵtemplate(3, CatalogHeaderComponent_div_10_ng_template_3_Template, 2, 0, "ng-template", null, 35, i0__namespace.ɵɵtemplateRefExtractor);
23514
23568
  i0__namespace.ɵɵelementEnd();
23515
23569
  i0__namespace.ɵɵelementEnd();
23516
23570
  }
23517
23571
  if (rf & 2) {
23518
- var _r18 = i0__namespace.ɵɵreference(4);
23572
+ var _r19 = i0__namespace.ɵɵreference(4);
23519
23573
  var ctx_r4 = i0__namespace.ɵɵnextContext();
23520
23574
  i0__namespace.ɵɵadvance(2);
23521
- i0__namespace.ɵɵproperty("ngIf", (ctx_r4.catalogSetting == null ? null : ctx_r4.catalogSetting.attributes["banner-text"] == null ? null : ctx_r4.catalogSetting.attributes["banner-text"].length) > 0)("ngIfElse", _r18);
23575
+ i0__namespace.ɵɵproperty("ngIf", (ctx_r4.catalogSetting == null ? null : ctx_r4.catalogSetting.attributes["banner-text"] == null ? null : ctx_r4.catalogSetting.attributes["banner-text"].length) > 0)("ngIfElse", _r19);
23522
23576
  }
23523
23577
  }
23524
23578
  function CatalogHeaderComponent_div_11_Template(rf, ctx) {
23525
23579
  if (rf & 1) {
23526
- i0__namespace.ɵɵelement(0, "div", 34);
23580
+ i0__namespace.ɵɵelement(0, "div", 37);
23527
23581
  }
23528
23582
  if (rf & 2) {
23529
23583
  var ctx_r5 = i0__namespace.ɵɵnextContext();
23530
23584
  i0__namespace.ɵɵstyleProp("background-image", "url(" + ((ctx_r5.catalogSetting == null ? null : ctx_r5.catalogSetting.attributes["banner-image"] == null ? null : ctx_r5.catalogSetting.attributes["banner-image"].length) > 0 ? ctx_r5.catalogSetting == null ? null : ctx_r5.catalogSetting.attributes["banner-image"] : ctx_r5.pictureUrl) + ")");
23531
23585
  }
23532
23586
  }
23533
- var _c13 = function (a0) { return { reduced: a0 }; };
23587
+ var _c15 = function (a0) { return { reduced: a0 }; };
23534
23588
  var CatalogHeaderComponent = /** @class */ (function () {
23535
23589
  function CatalogHeaderComponent(cdr, context) {
23536
23590
  this.cdr = cdr;
@@ -23550,12 +23604,19 @@
23550
23604
  CatalogHeaderComponent.prototype.isFavoritesPage = function () {
23551
23605
  return !this.home && !this.isSearchPage() && this.additionalFiltersTitle === 'Mes idées repas';
23552
23606
  };
23607
+ CatalogHeaderComponent.prototype.isAllRecipesPage = function () {
23608
+ return !this.home && !this.isSearchPage() && !this.isFavoritesPage() && this.additionalFiltersTitle === 'Toutes nos recettes';
23609
+ };
23553
23610
  CatalogHeaderComponent.prototype.isCategoryPage = function () {
23554
23611
  var _a;
23555
- return !this.home && !this.isSearchPage() && !this.isFavoritesPage() && ((_a = this.additionalFiltersTitle) === null || _a === void 0 ? void 0 : _a.length) > 0;
23612
+ return !this.home &&
23613
+ !this.isSearchPage() &&
23614
+ !this.isFavoritesPage() &&
23615
+ !this.isAllRecipesPage() &&
23616
+ ((_a = this.additionalFiltersTitle) === null || _a === void 0 ? void 0 : _a.length) > 0;
23556
23617
  };
23557
23618
  CatalogHeaderComponent.prototype.isDefaultPage = function () {
23558
- return !this.home && !this.isSearchPage() && !this.isFavoritesPage() && !this.isCategoryPage();
23619
+ return !this.home && !this.isSearchPage() && !this.isFavoritesPage() && !this.isAllRecipesPage() && !this.isCategoryPage();
23559
23620
  };
23560
23621
  return CatalogHeaderComponent;
23561
23622
  }());
@@ -23595,21 +23656,29 @@
23595
23656
  }
23596
23657
  var i18n_9;
23597
23658
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
23598
- var MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___10 = goog.getMsg("Votre s\u00E9lection");
23599
- i18n_9 = MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___10;
23659
+ var MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___10 = goog.getMsg("Toutes nos recettes");
23660
+ i18n_9 = MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___10;
23600
23661
  }
23601
23662
  else {
23602
- i18n_9 = $localize(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
23663
+ i18n_9 = $localize(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject([":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"], [":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"])));
23603
23664
  }
23604
23665
  var i18n_11;
23605
23666
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
23606
- var MSG_EXTERNAL_8529048627562842272$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___12 = goog.getMsg("Id\u00E9es repas en 1 clic");
23607
- i18n_11 = MSG_EXTERNAL_8529048627562842272$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___12;
23667
+ var MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___12 = goog.getMsg("Votre s\u00E9lection");
23668
+ i18n_11 = MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___12;
23669
+ }
23670
+ else {
23671
+ i18n_11 = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
23672
+ }
23673
+ var i18n_13;
23674
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
23675
+ var MSG_EXTERNAL_8529048627562842272$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___14 = goog.getMsg("Id\u00E9es repas en 1 clic");
23676
+ i18n_13 = MSG_EXTERNAL_8529048627562842272$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___14;
23608
23677
  }
23609
23678
  else {
23610
- i18n_11 = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"], [":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"])));
23679
+ i18n_13 = $localize(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject([":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"], [":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"])));
23611
23680
  }
23612
- return [[1, "miam-catalog-header", 3, "ngClass"], [1, "miam-catalog-header__left"], [1, "miam-catalog-header__nav"], ["href", "/"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Home.svg", "alt", "Home"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Caret.svg", "alt", "Caret"], ["href", "javascript:void(0)", "class", "miam-ds-text size-s weight-l", 3, "ngClass", "click", 4, "ngIf"], ["href", "javascript:void(0)", 3, "ngClass", "click", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Caret.svg", "alt", "Caret", 4, "ngIf"], ["href", "javascript:void(0)", "class", "miam-ds-text size-s weight-xxl", 3, "ngClass", 4, "ngIf"], ["class", "miam-catalog-header__title-container", 4, "ngIf"], ["class", "miam-catalog-header__right", 3, "background-image", 4, "ngIf"], ["href", "javascript:void(0)", 1, "miam-ds-text", "size-s", "weight-l", 3, "ngClass", "click"], i18n_0, ["href", "javascript:void(0)", 3, "ngClass", "click"], ["href", "javascript:void(0)", 1, "miam-ds-text", "size-s", "weight-xxl", 3, "ngClass"], ["class", "miam-catalog-header__search-label", 4, "ngIf"], [4, "ngIf"], ["class", "miam-catalog-header__favorites-label", 4, "ngIf"], ["class", "miam-catalog-header__category-label", 4, "ngIf"], ["class", "miam-catalog-header__default-label", 4, "ngIf"], [1, "miam-catalog-header__search-label"], i18n_3, [1, "miam-catalog-header__favorites-label"], i18n_5, i18n_7, [1, "miam-catalog-header__category-label"], [1, "miam-catalog-header__default-label"], i18n_9, [1, "miam-catalog-header__title-container"], [1, "miam-catalog-header__title"], [4, "ngIf", "ngIfElse"], ["baseTitle", ""], i18n_11, [1, "miam-catalog-header__right"]];
23681
+ return [[1, "miam-catalog-header", 3, "ngClass"], [1, "miam-catalog-header__left"], [1, "miam-catalog-header__nav"], ["href", "/"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Home.svg", "alt", "Home"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Caret.svg", "alt", "Caret"], ["href", "javascript:void(0)", "class", "miam-ds-text size-s weight-l", 3, "ngClass", "click", 4, "ngIf"], ["href", "javascript:void(0)", 3, "ngClass", "click", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Caret.svg", "alt", "Caret", 4, "ngIf"], ["href", "javascript:void(0)", "class", "miam-ds-text size-s weight-xxl", 3, "ngClass", 4, "ngIf"], ["class", "miam-catalog-header__title-container", 4, "ngIf"], ["class", "miam-catalog-header__right", 3, "background-image", 4, "ngIf"], ["href", "javascript:void(0)", 1, "miam-ds-text", "size-s", "weight-l", 3, "ngClass", "click"], i18n_0, ["href", "javascript:void(0)", 3, "ngClass", "click"], ["href", "javascript:void(0)", 1, "miam-ds-text", "size-s", "weight-xxl", 3, "ngClass"], ["class", "miam-catalog-header__search-label", 4, "ngIf"], [4, "ngIf"], ["class", "miam-catalog-header__favorites-label", 4, "ngIf"], ["class", "miam-catalog-header__all-recipes-label", 4, "ngIf"], ["class", "miam-catalog-header__category-label", 4, "ngIf"], ["class", "miam-catalog-header__default-label", 4, "ngIf"], [1, "miam-catalog-header__search-label"], i18n_3, [1, "miam-catalog-header__favorites-label"], i18n_5, i18n_7, [1, "miam-catalog-header__all-recipes-label"], i18n_9, [1, "miam-catalog-header__category-label"], [1, "miam-catalog-header__default-label"], i18n_11, [1, "miam-catalog-header__title-container"], [1, "miam-catalog-header__title"], [4, "ngIf", "ngIfElse"], ["baseTitle", ""], i18n_13, [1, "miam-catalog-header__right"]];
23613
23682
  }, template: function CatalogHeaderComponent_Template(rf, ctx) {
23614
23683
  if (rf & 1) {
23615
23684
  i0__namespace.ɵɵelementStart(0, "div", 0);
@@ -23622,7 +23691,7 @@
23622
23691
  i0__namespace.ɵɵtemplate(6, CatalogHeaderComponent_a_6_Template, 3, 3, "a", 6);
23623
23692
  i0__namespace.ɵɵtemplate(7, CatalogHeaderComponent_a_7_Template, 2, 4, "a", 7);
23624
23693
  i0__namespace.ɵɵtemplate(8, CatalogHeaderComponent_img_8_Template, 1, 0, "img", 8);
23625
- i0__namespace.ɵɵtemplate(9, CatalogHeaderComponent_a_9_Template, 6, 8, "a", 9);
23694
+ i0__namespace.ɵɵtemplate(9, CatalogHeaderComponent_a_9_Template, 7, 9, "a", 9);
23626
23695
  i0__namespace.ɵɵelementEnd();
23627
23696
  i0__namespace.ɵɵtemplate(10, CatalogHeaderComponent_div_10_Template, 5, 2, "div", 10);
23628
23697
  i0__namespace.ɵɵelementEnd();
@@ -23630,7 +23699,7 @@
23630
23699
  i0__namespace.ɵɵelementEnd();
23631
23700
  }
23632
23701
  if (rf & 2) {
23633
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c13, !ctx.home));
23702
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(7, _c15, !ctx.home));
23634
23703
  i0__namespace.ɵɵadvance(6);
23635
23704
  i0__namespace.ɵɵproperty("ngIf", !ctx.homeLabel);
23636
23705
  i0__namespace.ɵɵadvance(1);
@@ -23673,7 +23742,7 @@
23673
23742
  type: i0.Output
23674
23743
  }] });
23675
23744
  })();
23676
- var templateObject_1$g, templateObject_2$c, templateObject_3$9, templateObject_4$8, templateObject_5$6, templateObject_6$5;
23745
+ var templateObject_1$g, templateObject_2$c, templateObject_3$9, templateObject_4$8, templateObject_5$6, templateObject_6$5, templateObject_7$5;
23677
23746
 
23678
23747
  function CatalogToolbarComponent_input_5_Template(rf, ctx) {
23679
23748
  if (rf & 1) {
@@ -24193,7 +24262,7 @@
24193
24262
  i0__namespace.ɵɵproperty("alt", "remove " + ingredient_r15.tag.attributes.name);
24194
24263
  }
24195
24264
  }
24196
- var _c18$1 = function (a0) { return { "checked": a0 }; };
24265
+ var _c18 = function (a0) { return { "checked": a0 }; };
24197
24266
  function PreferencesComponent_ng_container_5_button_17_Template(rf, ctx) {
24198
24267
  if (rf & 1) {
24199
24268
  var _r19_1 = i0__namespace.ɵɵgetCurrentView();
@@ -24211,7 +24280,7 @@
24211
24280
  if (rf & 2) {
24212
24281
  var ingredient_r15 = ctx.$implicit;
24213
24282
  var ctx_r10 = i0__namespace.ɵɵnextContext(2);
24214
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c18$1, ingredient_r15.checked));
24283
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(5, _c18, ingredient_r15.checked));
24215
24284
  i0__namespace.ɵɵadvance(3);
24216
24285
  i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(4, 3, ingredient_r15.tag.attributes.name));
24217
24286
  i0__namespace.ɵɵadvance(2);
@@ -24732,9 +24801,9 @@
24732
24801
  }
24733
24802
  function RecipeCatalogComponent_div_2_div_7_div_4_Template(rf, ctx) {
24734
24803
  if (rf & 1) {
24735
- i0__namespace.ɵɵelementStart(0, "div", 38);
24804
+ i0__namespace.ɵɵelementStart(0, "div", 39);
24736
24805
  i0__namespace.ɵɵelementStart(1, "span");
24737
- i0__namespace.ɵɵi18n(2, 39);
24806
+ i0__namespace.ɵɵi18n(2, 40);
24738
24807
  i0__namespace.ɵɵelementEnd();
24739
24808
  i0__namespace.ɵɵelementStart(3, "span");
24740
24809
  i0__namespace.ɵɵtext(4);
@@ -24750,22 +24819,22 @@
24750
24819
  function RecipeCatalogComponent_div_2_div_7_div_5_span_1_Template(rf, ctx) {
24751
24820
  if (rf & 1) {
24752
24821
  i0__namespace.ɵɵelementStart(0, "span");
24753
- i0__namespace.ɵɵi18n(1, 42);
24822
+ i0__namespace.ɵɵi18n(1, 43);
24754
24823
  i0__namespace.ɵɵelementEnd();
24755
24824
  }
24756
24825
  }
24757
24826
  function RecipeCatalogComponent_div_2_div_7_div_5_span_2_Template(rf, ctx) {
24758
24827
  if (rf & 1) {
24759
24828
  i0__namespace.ɵɵelementStart(0, "span");
24760
- i0__namespace.ɵɵi18n(1, 43);
24829
+ i0__namespace.ɵɵi18n(1, 44);
24761
24830
  i0__namespace.ɵɵelementEnd();
24762
24831
  }
24763
24832
  }
24764
24833
  function RecipeCatalogComponent_div_2_div_7_div_5_Template(rf, ctx) {
24765
24834
  if (rf & 1) {
24766
- i0__namespace.ɵɵelementStart(0, "div", 40);
24767
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_div_7_div_5_span_1_Template, 2, 0, "span", 41);
24768
- i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_2_div_7_div_5_span_2_Template, 2, 0, "span", 41);
24835
+ i0__namespace.ɵɵelementStart(0, "div", 41);
24836
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_div_7_div_5_span_1_Template, 2, 0, "span", 42);
24837
+ i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_2_div_7_div_5_span_2_Template, 2, 0, "span", 42);
24769
24838
  i0__namespace.ɵɵelementEnd();
24770
24839
  }
24771
24840
  if (rf & 2) {
@@ -24778,145 +24847,153 @@
24778
24847
  }
24779
24848
  function RecipeCatalogComponent_div_2_div_7_span_6_Template(rf, ctx) {
24780
24849
  if (rf & 1) {
24781
- i0__namespace.ɵɵelementStart(0, "span", 44);
24782
- i0__namespace.ɵɵi18n(1, 45);
24850
+ i0__namespace.ɵɵelementStart(0, "span", 45);
24851
+ i0__namespace.ɵɵi18n(1, 46);
24852
+ i0__namespace.ɵɵelementEnd();
24853
+ }
24854
+ }
24855
+ function RecipeCatalogComponent_div_2_div_7_span_7_Template(rf, ctx) {
24856
+ if (rf & 1) {
24857
+ i0__namespace.ɵɵelementStart(0, "span", 47);
24858
+ i0__namespace.ɵɵi18n(1, 48);
24783
24859
  i0__namespace.ɵɵelementEnd();
24784
24860
  }
24785
24861
  }
24786
- function RecipeCatalogComponent_div_2_div_7_div_7_span_3_Template(rf, ctx) {
24862
+ function RecipeCatalogComponent_div_2_div_7_div_8_span_3_Template(rf, ctx) {
24787
24863
  if (rf & 1) {
24788
- i0__namespace.ɵɵelementStart(0, "span", 49);
24864
+ i0__namespace.ɵɵelementStart(0, "span", 52);
24789
24865
  i0__namespace.ɵɵtext(1);
24790
24866
  i0__namespace.ɵɵelementEnd();
24791
24867
  }
24792
24868
  if (rf & 2) {
24793
- var ctx_r31 = i0__namespace.ɵɵnextContext(4);
24869
+ var ctx_r32 = i0__namespace.ɵɵnextContext(4);
24794
24870
  i0__namespace.ɵɵadvance(1);
24795
- i0__namespace.ɵɵtextInterpolate1(" ", ctx_r31.filters.additionalFilters.subtitle, " ");
24871
+ i0__namespace.ɵɵtextInterpolate1(" ", ctx_r32.filters.additionalFilters.subtitle, " ");
24796
24872
  }
24797
24873
  }
24798
- function RecipeCatalogComponent_div_2_div_7_div_7_Template(rf, ctx) {
24874
+ function RecipeCatalogComponent_div_2_div_7_div_8_Template(rf, ctx) {
24799
24875
  if (rf & 1) {
24800
- i0__namespace.ɵɵelementStart(0, "div", 46);
24801
- i0__namespace.ɵɵelementStart(1, "span", 47);
24876
+ i0__namespace.ɵɵelementStart(0, "div", 49);
24877
+ i0__namespace.ɵɵelementStart(1, "span", 50);
24802
24878
  i0__namespace.ɵɵtext(2);
24803
24879
  i0__namespace.ɵɵelementEnd();
24804
- i0__namespace.ɵɵtemplate(3, RecipeCatalogComponent_div_2_div_7_div_7_span_3_Template, 2, 1, "span", 48);
24880
+ i0__namespace.ɵɵtemplate(3, RecipeCatalogComponent_div_2_div_7_div_8_span_3_Template, 2, 1, "span", 51);
24805
24881
  i0__namespace.ɵɵelementEnd();
24806
24882
  }
24807
24883
  if (rf & 2) {
24808
- var ctx_r23 = i0__namespace.ɵɵnextContext(3);
24884
+ var ctx_r24 = i0__namespace.ɵɵnextContext(3);
24809
24885
  i0__namespace.ɵɵadvance(2);
24810
- i0__namespace.ɵɵtextInterpolate(ctx_r23.filters.additionalFilters.title);
24886
+ i0__namespace.ɵɵtextInterpolate(ctx_r24.filters.additionalFilters.title);
24811
24887
  i0__namespace.ɵɵadvance(1);
24812
- i0__namespace.ɵɵproperty("ngIf", (ctx_r23.filters.additionalFilters.subtitle == null ? null : ctx_r23.filters.additionalFilters.subtitle.length) > 0);
24888
+ i0__namespace.ɵɵproperty("ngIf", (ctx_r24.filters.additionalFilters.subtitle == null ? null : ctx_r24.filters.additionalFilters.subtitle.length) > 0);
24813
24889
  }
24814
24890
  }
24815
- function RecipeCatalogComponent_div_2_div_7_span_8_Template(rf, ctx) {
24891
+ function RecipeCatalogComponent_div_2_div_7_span_9_Template(rf, ctx) {
24816
24892
  if (rf & 1) {
24817
- i0__namespace.ɵɵelementStart(0, "span", 50);
24818
- i0__namespace.ɵɵi18n(1, 51);
24893
+ i0__namespace.ɵɵelementStart(0, "span", 53);
24894
+ i0__namespace.ɵɵi18n(1, 54);
24819
24895
  i0__namespace.ɵɵelementEnd();
24820
24896
  }
24821
24897
  }
24822
- function RecipeCatalogComponent_div_2_div_7_div_10_Template(rf, ctx) {
24898
+ function RecipeCatalogComponent_div_2_div_7_div_11_Template(rf, ctx) {
24823
24899
  if (rf & 1) {
24824
- var _r33_1 = i0__namespace.ɵɵgetCurrentView();
24825
- i0__namespace.ɵɵelementStart(0, "div", 52);
24826
- i0__namespace.ɵɵelementStart(1, "div", 53);
24827
- i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_div_10_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r33_1); var ctx_r32 = i0__namespace.ɵɵnextContext(3); return ctx_r32.toggleHistory(false); });
24828
- i0__namespace.ɵɵelement(2, "img", 54);
24900
+ var _r34_1 = i0__namespace.ɵɵgetCurrentView();
24901
+ i0__namespace.ɵɵelementStart(0, "div", 55);
24902
+ i0__namespace.ɵɵelementStart(1, "div", 56);
24903
+ i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_div_11_Template_div_click_1_listener() { i0__namespace.ɵɵrestoreView(_r34_1); var ctx_r33 = i0__namespace.ɵɵnextContext(3); return ctx_r33.toggleHistory(false); });
24904
+ i0__namespace.ɵɵelement(2, "img", 57);
24829
24905
  i0__namespace.ɵɵelementStart(3, "span");
24830
- i0__namespace.ɵɵi18n(4, 55);
24906
+ i0__namespace.ɵɵi18n(4, 58);
24831
24907
  i0__namespace.ɵɵelementEnd();
24832
24908
  i0__namespace.ɵɵelementEnd();
24833
- i0__namespace.ɵɵelementStart(5, "div", 56);
24834
- i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_div_10_Template_div_click_5_listener() { i0__namespace.ɵɵrestoreView(_r33_1); var ctx_r34 = i0__namespace.ɵɵnextContext(3); return ctx_r34.toggleHistory(true); });
24835
- i0__namespace.ɵɵelement(6, "img", 57);
24909
+ i0__namespace.ɵɵelementStart(5, "div", 59);
24910
+ i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_div_11_Template_div_click_5_listener() { i0__namespace.ɵɵrestoreView(_r34_1); var ctx_r35 = i0__namespace.ɵɵnextContext(3); return ctx_r35.toggleHistory(true); });
24911
+ i0__namespace.ɵɵelement(6, "img", 60);
24836
24912
  i0__namespace.ɵɵelementStart(7, "span");
24837
- i0__namespace.ɵɵi18n(8, 58);
24913
+ i0__namespace.ɵɵi18n(8, 61);
24838
24914
  i0__namespace.ɵɵelementEnd();
24839
24915
  i0__namespace.ɵɵelementEnd();
24840
24916
  i0__namespace.ɵɵelementEnd();
24841
24917
  }
24842
24918
  if (rf & 2) {
24843
- var ctx_r25 = i0__namespace.ɵɵnextContext(3);
24919
+ var ctx_r26 = i0__namespace.ɵɵnextContext(3);
24844
24920
  i0__namespace.ɵɵadvance(1);
24845
- i0__namespace.ɵɵclassProp("active", !ctx_r25.historyDisplayed)("inactive", ctx_r25.historyDisplayed);
24921
+ i0__namespace.ɵɵclassProp("active", !ctx_r26.historyDisplayed)("inactive", ctx_r26.historyDisplayed);
24846
24922
  i0__namespace.ɵɵadvance(1);
24847
- i0__namespace.ɵɵproperty("src", !ctx_r25.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
24923
+ i0__namespace.ɵɵproperty("src", !ctx_r26.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/Heart_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
24848
24924
  i0__namespace.ɵɵadvance(3);
24849
- i0__namespace.ɵɵclassProp("active", ctx_r25.historyDisplayed)("inactive", !ctx_r25.historyDisplayed);
24925
+ i0__namespace.ɵɵclassProp("active", ctx_r26.historyDisplayed)("inactive", !ctx_r26.historyDisplayed);
24850
24926
  i0__namespace.ɵɵadvance(1);
24851
- i0__namespace.ɵɵproperty("src", ctx_r25.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/History.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/History_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
24927
+ i0__namespace.ɵɵproperty("src", ctx_r26.historyDisplayed ? "https://storage.googleapis.com/assets.miam.tech/generic/icons/History.svg" : "https://storage.googleapis.com/assets.miam.tech/generic/icons/History_Grey.svg", i0__namespace.ɵɵsanitizeUrl);
24852
24928
  }
24853
24929
  }
24854
- var _c18 = function (a0, a1, a2, a3) { return { "miam-recipe-catalog__favorites-list": a0, "miam-recipe-catalog__search-list": a1, "miam-recipe-catalog__category-list": a2, "miam-recipe-catalog__default-list": a3 }; };
24855
- function RecipeCatalogComponent_div_2_div_7_ng_miam_catalog_list_14_Template(rf, ctx) {
24930
+ var _c20 = function (a0, a1, a2, a3, a4) { return { "miam-recipe-catalog__favorites-list": a0, "miam-recipe-catalog__search-list": a1, "miam-recipe-catalog__all-recipes-list": a2, "miam-recipe-catalog__category-list": a3, "miam-recipe-catalog__default-list": a4 }; };
24931
+ function RecipeCatalogComponent_div_2_div_7_ng_miam_catalog_list_15_Template(rf, ctx) {
24856
24932
  if (rf & 1) {
24857
- var _r36_1 = i0__namespace.ɵɵgetCurrentView();
24858
- i0__namespace.ɵɵelementStart(0, "ng-miam-catalog-list", 59);
24859
- i0__namespace.ɵɵlistener("filterRemoved", function RecipeCatalogComponent_div_2_div_7_ng_miam_catalog_list_14_Template_ng_miam_catalog_list_filterRemoved_0_listener($event) { i0__namespace.ɵɵrestoreView(_r36_1); var ctx_r35 = i0__namespace.ɵɵnextContext(3); return ctx_r35.removeFilter($event); });
24933
+ var _r37_1 = i0__namespace.ɵɵgetCurrentView();
24934
+ i0__namespace.ɵɵelementStart(0, "ng-miam-catalog-list", 62);
24935
+ i0__namespace.ɵɵlistener("filterRemoved", function RecipeCatalogComponent_div_2_div_7_ng_miam_catalog_list_15_Template_ng_miam_catalog_list_filterRemoved_0_listener($event) { i0__namespace.ɵɵrestoreView(_r37_1); var ctx_r36 = i0__namespace.ɵɵnextContext(3); return ctx_r36.removeFilter($event); });
24860
24936
  i0__namespace.ɵɵelementEnd();
24861
24937
  }
24862
24938
  if (rf & 2) {
24863
- var ctx_r27 = i0__namespace.ɵɵnextContext(3);
24864
- i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction4(7, _c18, ctx_r27.isFavoritesPage(), ctx_r27.isSearchPage(), ctx_r27.isCategoryPage(), ctx_r27.isDefaultPage()))("filters", ctx_r27.filters)("originTrace", ctx_r27.eventTrace)("displayPricing", ctx_r27.displayPricing)("displayInfos", ctx_r27.displayInfos)("modifiedGuests", ctx_r27.guests)("displayRecipeVariant", ctx_r27.displayRecipeVariant);
24939
+ var ctx_r28 = i0__namespace.ɵɵnextContext(3);
24940
+ i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction5(7, _c20, ctx_r28.isFavoritesPage(), ctx_r28.isSearchPage(), ctx_r28.isAllRecipesPage(), ctx_r28.isCategoryPage(), ctx_r28.isDefaultPage()))("filters", ctx_r28.filters)("originTrace", ctx_r28.eventTrace)("displayPricing", ctx_r28.displayPricing)("displayInfos", ctx_r28.displayInfos)("modifiedGuests", ctx_r28.guests)("displayRecipeVariant", ctx_r28.displayRecipeVariant);
24865
24941
  }
24866
24942
  }
24867
- function RecipeCatalogComponent_div_2_div_7_div_15_div_1_Template(rf, ctx) {
24943
+ function RecipeCatalogComponent_div_2_div_7_div_16_div_1_Template(rf, ctx) {
24868
24944
  if (rf & 1) {
24869
- i0__namespace.ɵɵelementStart(0, "div", 63);
24945
+ i0__namespace.ɵɵelementStart(0, "div", 66);
24870
24946
  i0__namespace.ɵɵelement(1, "ng-miam-loader");
24871
24947
  i0__namespace.ɵɵelementStart(2, "span");
24872
- i0__namespace.ɵɵi18n(3, 64);
24948
+ i0__namespace.ɵɵi18n(3, 67);
24873
24949
  i0__namespace.ɵɵelementEnd();
24874
24950
  i0__namespace.ɵɵelementEnd();
24875
24951
  }
24876
24952
  }
24877
- function RecipeCatalogComponent_div_2_div_7_div_15_Template(rf, ctx) {
24953
+ function RecipeCatalogComponent_div_2_div_7_div_16_Template(rf, ctx) {
24878
24954
  if (rf & 1) {
24879
- i0__namespace.ɵɵelementStart(0, "div", 60);
24880
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_div_7_div_15_div_1_Template, 4, 0, "div", 61);
24881
- i0__namespace.ɵɵelement(2, "div", 62);
24955
+ i0__namespace.ɵɵelementStart(0, "div", 63);
24956
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_div_7_div_16_div_1_Template, 4, 0, "div", 64);
24957
+ i0__namespace.ɵɵelement(2, "div", 65);
24882
24958
  i0__namespace.ɵɵelementEnd();
24883
24959
  }
24884
24960
  if (rf & 2) {
24885
- var ctx_r28 = i0__namespace.ɵɵnextContext(3);
24961
+ var ctx_r29 = i0__namespace.ɵɵnextContext(3);
24886
24962
  i0__namespace.ɵɵadvance(1);
24887
- i0__namespace.ɵɵproperty("ngIf", ctx_r28.historyService.fetchingHTMLLoader$.value);
24963
+ i0__namespace.ɵɵproperty("ngIf", ctx_r29.historyService.fetchingHTMLLoader$.value);
24888
24964
  i0__namespace.ɵɵadvance(1);
24889
- i0__namespace.ɵɵproperty("innerHTML", ctx_r28.historyHTML, i0__namespace.ɵɵsanitizeHtml);
24965
+ i0__namespace.ɵɵproperty("innerHTML", ctx_r29.historyHTML, i0__namespace.ɵɵsanitizeHtml);
24890
24966
  }
24891
24967
  }
24892
24968
  function RecipeCatalogComponent_div_2_div_7_Template(rf, ctx) {
24893
24969
  if (rf & 1) {
24894
- var _r39_1 = i0__namespace.ɵɵgetCurrentView();
24970
+ var _r40_1 = i0__namespace.ɵɵgetCurrentView();
24895
24971
  i0__namespace.ɵɵelementStart(0, "div", 25);
24896
24972
  i0__namespace.ɵɵelementStart(1, "div", 26);
24897
24973
  i0__namespace.ɵɵelementStart(2, "button", 27);
24898
- i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r39_1); var ctx_r38 = i0__namespace.ɵɵnextContext(2); return ctx_r38.returnToHomePage(); });
24974
+ i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_div_7_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r39 = i0__namespace.ɵɵnextContext(2); return ctx_r39.returnToHomePage(); });
24899
24975
  i0__namespace.ɵɵelement(3, "img", 28);
24900
24976
  i0__namespace.ɵɵelementEnd();
24901
24977
  i0__namespace.ɵɵtemplate(4, RecipeCatalogComponent_div_2_div_7_div_4_Template, 5, 1, "div", 29);
24902
24978
  i0__namespace.ɵɵtemplate(5, RecipeCatalogComponent_div_2_div_7_div_5_Template, 3, 2, "div", 30);
24903
24979
  i0__namespace.ɵɵtemplate(6, RecipeCatalogComponent_div_2_div_7_span_6_Template, 2, 0, "span", 31);
24904
- i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_2_div_7_div_7_Template, 4, 2, "div", 32);
24905
- i0__namespace.ɵɵtemplate(8, RecipeCatalogComponent_div_2_div_7_span_8_Template, 2, 0, "span", 33);
24980
+ i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_2_div_7_span_7_Template, 2, 0, "span", 32);
24981
+ i0__namespace.ɵɵtemplate(8, RecipeCatalogComponent_div_2_div_7_div_8_Template, 4, 2, "div", 33);
24982
+ i0__namespace.ɵɵtemplate(9, RecipeCatalogComponent_div_2_div_7_span_9_Template, 2, 0, "span", 34);
24906
24983
  i0__namespace.ɵɵelementEnd();
24907
- i0__namespace.ɵɵelement(9, "div", 14);
24908
- i0__namespace.ɵɵtemplate(10, RecipeCatalogComponent_div_2_div_7_div_10_Template, 9, 10, "div", 34);
24909
- i0__namespace.ɵɵelementStart(11, "div", 15, 35);
24910
- i0__namespace.ɵɵelementStart(13, "ng-miam-catalog-toolbar", 17);
24911
- i0__namespace.ɵɵlistener("filterButtonPressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_filterButtonPressed_13_listener() { i0__namespace.ɵɵrestoreView(_r39_1); var ctx_r40 = i0__namespace.ɵɵnextContext(2); return ctx_r40.onFilterCollapsed(); })("preferencesButtonPressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_preferencesButtonPressed_13_listener() { i0__namespace.ɵɵrestoreView(_r39_1); var ctx_r41 = i0__namespace.ɵɵnextContext(2); return ctx_r41.isPreferenceModalOpen = !ctx_r41.isPreferenceModalOpen; })("searchStringChanged", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_searchStringChanged_13_listener($event) { i0__namespace.ɵɵrestoreView(_r39_1); var ctx_r42 = i0__namespace.ɵɵnextContext(2); return ctx_r42.updateSearch($event); })("favoritesButtonPressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_favoritesButtonPressed_13_listener() { i0__namespace.ɵɵrestoreView(_r39_1); var ctx_r43 = i0__namespace.ɵɵnextContext(2); return ctx_r43.checkAndSetFavoritesFilter(); })("returnHomePressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_returnHomePressed_13_listener() { i0__namespace.ɵɵrestoreView(_r39_1); var ctx_r44 = i0__namespace.ɵɵnextContext(2); return ctx_r44.returnToHomePage(); });
24984
+ i0__namespace.ɵɵelement(10, "div", 14);
24985
+ i0__namespace.ɵɵtemplate(11, RecipeCatalogComponent_div_2_div_7_div_11_Template, 9, 10, "div", 35);
24986
+ i0__namespace.ɵɵelementStart(12, "div", 15, 36);
24987
+ i0__namespace.ɵɵelementStart(14, "ng-miam-catalog-toolbar", 17);
24988
+ i0__namespace.ɵɵlistener("filterButtonPressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_filterButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r41 = i0__namespace.ɵɵnextContext(2); return ctx_r41.onFilterCollapsed(); })("preferencesButtonPressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_preferencesButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r42 = i0__namespace.ɵɵnextContext(2); return ctx_r42.isPreferenceModalOpen = !ctx_r42.isPreferenceModalOpen; })("searchStringChanged", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_searchStringChanged_14_listener($event) { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r43 = i0__namespace.ɵɵnextContext(2); return ctx_r43.updateSearch($event); })("favoritesButtonPressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_favoritesButtonPressed_14_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r44 = i0__namespace.ɵɵnextContext(2); return ctx_r44.checkAndSetFavoritesFilter(); })("returnHomePressed", function RecipeCatalogComponent_div_2_div_7_Template_ng_miam_catalog_toolbar_returnHomePressed_14_listener() { i0__namespace.ɵɵrestoreView(_r40_1); var ctx_r45 = i0__namespace.ɵɵnextContext(2); return ctx_r45.returnToHomePage(); });
24912
24989
  i0__namespace.ɵɵelementEnd();
24913
24990
  i0__namespace.ɵɵelementEnd();
24914
- i0__namespace.ɵɵtemplate(14, RecipeCatalogComponent_div_2_div_7_ng_miam_catalog_list_14_Template, 1, 12, "ng-miam-catalog-list", 36);
24915
- i0__namespace.ɵɵtemplate(15, RecipeCatalogComponent_div_2_div_7_div_15_Template, 3, 2, "div", 37);
24991
+ i0__namespace.ɵɵtemplate(15, RecipeCatalogComponent_div_2_div_7_ng_miam_catalog_list_15_Template, 1, 13, "ng-miam-catalog-list", 37);
24992
+ i0__namespace.ɵɵtemplate(16, RecipeCatalogComponent_div_2_div_7_div_16_Template, 3, 2, "div", 38);
24916
24993
  i0__namespace.ɵɵelementEnd();
24917
24994
  }
24918
24995
  if (rf & 2) {
24919
- var _r26 = i0__namespace.ɵɵreference(12);
24996
+ var _r27 = i0__namespace.ɵɵreference(13);
24920
24997
  var ctx_r6 = i0__namespace.ɵɵnextContext(2);
24921
24998
  i0__namespace.ɵɵadvance(4);
24922
24999
  i0__namespace.ɵɵproperty("ngIf", ctx_r6.isSearchPage());
@@ -24925,13 +25002,15 @@
24925
25002
  i0__namespace.ɵɵadvance(1);
24926
25003
  i0__namespace.ɵɵproperty("ngIf", ctx_r6.isPromotionsPage());
24927
25004
  i0__namespace.ɵɵadvance(1);
25005
+ i0__namespace.ɵɵproperty("ngIf", ctx_r6.isAllRecipesPage());
25006
+ i0__namespace.ɵɵadvance(1);
24928
25007
  i0__namespace.ɵɵproperty("ngIf", ctx_r6.isCategoryPage());
24929
25008
  i0__namespace.ɵɵadvance(1);
24930
25009
  i0__namespace.ɵɵproperty("ngIf", ctx_r6.isDefaultPage());
24931
25010
  i0__namespace.ɵɵadvance(2);
24932
25011
  i0__namespace.ɵɵproperty("ngIf", ctx_r6.isFavoritesPage() && ctx_r6.contextService.orderHistoryEnabled);
24933
25012
  i0__namespace.ɵɵadvance(3);
24934
- i0__namespace.ɵɵproperty("home", ctx_r6.displayHomePage())("history", ctx_r6.historyDisplayed)("searchTerm", ctx_r6.filters == null ? null : ctx_r6.filters.search)("additionalFiltersTitle", ctx_r6.filters == null ? null : ctx_r6.filters.additionalFilters == null ? null : ctx_r6.filters.additionalFilters.title)("hideButtons", ctx_r6.isFavoritesPage())("filterBadgeCount", ctx_r6.filters.selectableFiltersCount())("reduced", _r26.classList.contains("sticking"));
25013
+ i0__namespace.ɵɵproperty("home", ctx_r6.displayHomePage())("history", ctx_r6.historyDisplayed)("searchTerm", ctx_r6.filters == null ? null : ctx_r6.filters.search)("additionalFiltersTitle", ctx_r6.filters == null ? null : ctx_r6.filters.additionalFilters == null ? null : ctx_r6.filters.additionalFilters.title)("hideButtons", ctx_r6.isFavoritesPage())("filterBadgeCount", ctx_r6.filters.selectableFiltersCount())("reduced", _r27.classList.contains("sticking"));
24935
25014
  i0__namespace.ɵɵadvance(1);
24936
25015
  i0__namespace.ɵɵproperty("ngIf", !ctx_r6.historyDisplayed);
24937
25016
  i0__namespace.ɵɵadvance(1);
@@ -24940,18 +25019,18 @@
24940
25019
  }
24941
25020
  function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template(rf, ctx) {
24942
25021
  if (rf & 1) {
24943
- var _r53_1 = i0__namespace.ɵɵgetCurrentView();
25022
+ var _r54_1 = i0__namespace.ɵɵgetCurrentView();
24944
25023
  i0__namespace.ɵɵelementContainerStart(0);
24945
- i0__namespace.ɵɵelementStart(1, "ng-miam-catalog-category", 70);
24946
- i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template_ng_miam_catalog_category_displayList_1_listener($event) { i0__namespace.ɵɵrestoreView(_r53_1); var ctx_r52 = i0__namespace.ɵɵnextContext(5); return ctx_r52.categoryTitleClicked($event); });
25024
+ i0__namespace.ɵɵelementStart(1, "ng-miam-catalog-category", 73);
25025
+ i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template_ng_miam_catalog_category_displayList_1_listener($event) { i0__namespace.ɵɵrestoreView(_r54_1); var ctx_r53 = i0__namespace.ɵɵnextContext(5); return ctx_r53.categoryTitleClicked($event); });
24947
25026
  i0__namespace.ɵɵelementEnd();
24948
25027
  i0__namespace.ɵɵelementContainerEnd();
24949
25028
  }
24950
25029
  if (rf & 2) {
24951
- var category_r47 = i0__namespace.ɵɵnextContext().$implicit;
24952
- var ctx_r49 = i0__namespace.ɵɵnextContext(4);
25030
+ var category_r48 = i0__namespace.ɵɵnextContext().$implicit;
25031
+ var ctx_r50 = i0__namespace.ɵɵnextContext(4);
24953
25032
  i0__namespace.ɵɵadvance(1);
24954
- i0__namespace.ɵɵproperty("title", category_r47.title)("subtitle", category_r47.subtitle)("filters", category_r47.filters)("maxRecipeNumber", ctx_r49.maxRecipesPerCategory)("displayInfos", ctx_r49.displayInfos)("displayPricing", ctx_r49.displayPricing)("originTrace", ctx_r49.eventTrace)("modifiedGuests", ctx_r49.guests)("displayRecipeVariant", ctx_r49.displayRecipeVariant);
25033
+ i0__namespace.ɵɵproperty("title", category_r48.title)("subtitle", category_r48.subtitle)("filters", category_r48.filters)("maxRecipeNumber", ctx_r50.maxRecipesPerCategory)("displayInfos", ctx_r50.displayInfos)("displayPricing", ctx_r50.displayPricing)("originTrace", ctx_r50.eventTrace)("modifiedGuests", ctx_r50.guests)("displayRecipeVariant", ctx_r50.displayRecipeVariant);
24955
25034
  }
24956
25035
  }
24957
25036
  function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_ng_miam_meals_planner_link_1_Template(rf, ctx) {
@@ -24961,53 +25040,62 @@
24961
25040
  }
24962
25041
  function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template(rf, ctx) {
24963
25042
  if (rf & 1) {
24964
- var _r57_1 = i0__namespace.ɵɵgetCurrentView();
24965
- i0__namespace.ɵɵelementStart(0, "div", 71);
24966
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_ng_miam_meals_planner_link_1_Template, 1, 0, "ng-miam-meals-planner-link", 41);
25043
+ var _r58_1 = i0__namespace.ɵɵgetCurrentView();
25044
+ i0__namespace.ɵɵelementStart(0, "div", 74);
25045
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_ng_miam_meals_planner_link_1_Template, 1, 0, "ng-miam-meals-planner-link", 42);
24967
25046
  i0__namespace.ɵɵpipe(2, "async");
24968
- i0__namespace.ɵɵelementStart(3, "ng-miam-catalog-category", 72);
24969
- i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_displayList_3_listener($event) { i0__namespace.ɵɵrestoreView(_r57_1); var ctx_r56 = i0__namespace.ɵɵnextContext(5); return ctx_r56.categoryTitleClicked($event); })("isHidden", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_isHidden_3_listener($event) { i0__namespace.ɵɵrestoreView(_r57_1); var ctx_r58 = i0__namespace.ɵɵnextContext(5); return ctx_r58.categoryHidden($event); });
25047
+ i0__namespace.ɵɵelementStart(3, "ng-miam-catalog-category", 75);
25048
+ i0__namespace.ɵɵlistener("displayList", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_displayList_3_listener($event) { i0__namespace.ɵɵrestoreView(_r58_1); var ctx_r57 = i0__namespace.ɵɵnextContext(5); return ctx_r57.categoryTitleClicked($event); })("isHidden", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template_ng_miam_catalog_category_isHidden_3_listener($event) { i0__namespace.ɵɵrestoreView(_r58_1); var ctx_r59 = i0__namespace.ɵɵnextContext(5); return ctx_r59.categoryHidden($event); });
25049
+ i0__namespace.ɵɵelementEnd();
25050
+ i0__namespace.ɵɵelementEnd();
25051
+ i0__namespace.ɵɵelementStart(4, "div", 76);
25052
+ i0__namespace.ɵɵlistener("click", function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template_div_click_4_listener() { i0__namespace.ɵɵrestoreView(_r58_1); var ctx_r60 = i0__namespace.ɵɵnextContext(5); return ctx_r60.seeAllRecipes(); });
25053
+ i0__namespace.ɵɵelementStart(5, "div", 77);
25054
+ i0__namespace.ɵɵi18n(6, 78);
25055
+ i0__namespace.ɵɵelementEnd();
25056
+ i0__namespace.ɵɵelementStart(7, "div", 79);
25057
+ i0__namespace.ɵɵelement(8, "img", 80);
24970
25058
  i0__namespace.ɵɵelementEnd();
24971
25059
  i0__namespace.ɵɵelementEnd();
24972
25060
  }
24973
25061
  if (rf & 2) {
24974
- var category_r47 = i0__namespace.ɵɵnextContext().$implicit;
24975
- var ctx_r51 = i0__namespace.ɵɵnextContext(4);
25062
+ var category_r48 = i0__namespace.ɵɵnextContext().$implicit;
25063
+ var ctx_r52 = i0__namespace.ɵɵnextContext(4);
24976
25064
  i0__namespace.ɵɵadvance(1);
24977
- i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(2, 10, ctx_r51.contextService.enableMealsPlanner$));
25065
+ i0__namespace.ɵɵproperty("ngIf", i0__namespace.ɵɵpipeBind1(2, 10, ctx_r52.contextService.enableMealsPlanner$));
24978
25066
  i0__namespace.ɵɵadvance(2);
24979
- i0__namespace.ɵɵproperty("title", category_r47.title)("subtitle", category_r47.subtitle)("filters", category_r47.filters)("displayInfos", ctx_r51.displayInfos)("displayPricing", ctx_r51.displayPricing)("maxRecipeNumber", ctx_r51.maxRecipesPerCategory)("modifiedGuests", ctx_r51.guests)("displayRecipeVariant", ctx_r51.displayRecipeVariant)("originTrace", ctx_r51.eventTrace);
25067
+ i0__namespace.ɵɵproperty("title", category_r48.title)("subtitle", category_r48.subtitle)("filters", category_r48.filters)("displayInfos", ctx_r52.displayInfos)("displayPricing", ctx_r52.displayPricing)("maxRecipeNumber", ctx_r52.maxRecipesPerCategory)("modifiedGuests", ctx_r52.guests)("displayRecipeVariant", ctx_r52.displayRecipeVariant)("originTrace", ctx_r52.eventTrace);
24980
25068
  }
24981
25069
  }
24982
25070
  function RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_Template(rf, ctx) {
24983
25071
  if (rf & 1) {
24984
25072
  i0__namespace.ɵɵelementContainerStart(0);
24985
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template, 2, 9, "ng-container", 68);
24986
- i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template, 4, 12, "ng-template", null, 69, i0__namespace.ɵɵtemplateRefExtractor);
25073
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_container_1_Template, 2, 9, "ng-container", 71);
25074
+ i0__namespace.ɵɵtemplate(2, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_ng_template_2_Template, 9, 12, "ng-template", null, 72, i0__namespace.ɵɵtemplateRefExtractor);
24987
25075
  i0__namespace.ɵɵelementContainerEnd();
24988
25076
  }
24989
25077
  if (rf & 2) {
24990
- var i_r48 = ctx.index;
24991
- var _r50 = i0__namespace.ɵɵreference(3);
25078
+ var i_r49 = ctx.index;
25079
+ var _r51 = i0__namespace.ɵɵreference(3);
24992
25080
  i0__namespace.ɵɵadvance(1);
24993
- i0__namespace.ɵɵproperty("ngIf", i_r48 !== 0)("ngIfElse", _r50);
25081
+ i0__namespace.ɵɵproperty("ngIf", i_r49 !== 0)("ngIfElse", _r51);
24994
25082
  }
24995
25083
  }
24996
25084
  function RecipeCatalogComponent_div_2_ng_template_10_div_0_Template(rf, ctx) {
24997
25085
  if (rf & 1) {
24998
- i0__namespace.ɵɵelementStart(0, "div", 66);
24999
- i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_Template, 4, 2, "ng-container", 67);
25086
+ i0__namespace.ɵɵelementStart(0, "div", 69);
25087
+ i0__namespace.ɵɵtemplate(1, RecipeCatalogComponent_div_2_ng_template_10_div_0_ng_container_1_Template, 4, 2, "ng-container", 70);
25000
25088
  i0__namespace.ɵɵelementEnd();
25001
25089
  }
25002
25090
  if (rf & 2) {
25003
- var ctx_r45 = i0__namespace.ɵɵnextContext(3);
25091
+ var ctx_r46 = i0__namespace.ɵɵnextContext(3);
25004
25092
  i0__namespace.ɵɵadvance(1);
25005
- i0__namespace.ɵɵproperty("ngForOf", ctx_r45.categories);
25093
+ i0__namespace.ɵɵproperty("ngForOf", ctx_r46.categories);
25006
25094
  }
25007
25095
  }
25008
25096
  function RecipeCatalogComponent_div_2_ng_template_10_Template(rf, ctx) {
25009
25097
  if (rf & 1) {
25010
- i0__namespace.ɵɵtemplate(0, RecipeCatalogComponent_div_2_ng_template_10_div_0_Template, 2, 1, "div", 65);
25098
+ i0__namespace.ɵɵtemplate(0, RecipeCatalogComponent_div_2_ng_template_10_div_0_Template, 2, 1, "div", 68);
25011
25099
  }
25012
25100
  if (rf & 2) {
25013
25101
  var ctx_r8 = i0__namespace.ɵɵnextContext(2);
@@ -25016,23 +25104,23 @@
25016
25104
  }
25017
25105
  function RecipeCatalogComponent_div_2_Template(rf, ctx) {
25018
25106
  if (rf & 1) {
25019
- var _r61_1 = i0__namespace.ɵɵgetCurrentView();
25107
+ var _r63_1 = i0__namespace.ɵɵgetCurrentView();
25020
25108
  i0__namespace.ɵɵelementStart(0, "div", 3);
25021
25109
  i0__namespace.ɵɵelementStart(1, "div", 4);
25022
25110
  i0__namespace.ɵɵelementStart(2, "ng-miam-catalog-header", 5);
25023
- i0__namespace.ɵɵlistener("returnButtonPressed", function RecipeCatalogComponent_div_2_Template_ng_miam_catalog_header_returnButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r60 = i0__namespace.ɵɵnextContext(); return ctx_r60.returnToHomePage(); });
25111
+ i0__namespace.ɵɵlistener("returnButtonPressed", function RecipeCatalogComponent_div_2_Template_ng_miam_catalog_header_returnButtonPressed_2_listener() { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r62 = i0__namespace.ɵɵnextContext(); return ctx_r62.returnToHomePage(); });
25024
25112
  i0__namespace.ɵɵelementEnd();
25025
25113
  i0__namespace.ɵɵtemplate(3, RecipeCatalogComponent_div_2_div_3_Template, 1, 0, "div", 6);
25026
25114
  i0__namespace.ɵɵtemplate(4, RecipeCatalogComponent_div_2_div_4_Template, 3, 7, "div", 7);
25027
25115
  i0__namespace.ɵɵtemplate(5, RecipeCatalogComponent_div_2_div_5_Template, 2, 0, "div", 8);
25028
25116
  i0__namespace.ɵɵtemplate(6, RecipeCatalogComponent_div_2_div_6_Template, 8, 1, "div", 9);
25029
- i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_2_div_7_Template, 16, 15, "div", 10);
25117
+ i0__namespace.ɵɵtemplate(7, RecipeCatalogComponent_div_2_div_7_Template, 17, 16, "div", 10);
25030
25118
  i0__namespace.ɵɵelementEnd();
25031
25119
  i0__namespace.ɵɵelementStart(8, "ng-miam-recipe-filters", 11);
25032
- i0__namespace.ɵɵlistener("filterChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_filterChanged_8_listener($event) { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r62 = i0__namespace.ɵɵnextContext(); return ctx_r62.updateFilters($event); })("filterCollapsed", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_filterCollapsed_8_listener() { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r63 = i0__namespace.ɵɵnextContext(); return ctx_r63.onFilterCollapsed(); })("preferencesChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_preferencesChanged_8_listener() { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r64 = i0__namespace.ɵɵnextContext(); return ctx_r64.reloadPackages(); });
25120
+ i0__namespace.ɵɵlistener("filterChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_filterChanged_8_listener($event) { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r64 = i0__namespace.ɵɵnextContext(); return ctx_r64.updateFilters($event); })("filterCollapsed", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_filterCollapsed_8_listener() { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r65 = i0__namespace.ɵɵnextContext(); return ctx_r65.onFilterCollapsed(); })("preferencesChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_recipe_filters_preferencesChanged_8_listener() { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r66 = i0__namespace.ɵɵnextContext(); return ctx_r66.reloadPackages(); });
25033
25121
  i0__namespace.ɵɵelementEnd();
25034
25122
  i0__namespace.ɵɵelementStart(9, "ng-miam-preferences", 12);
25035
- i0__namespace.ɵɵlistener("isOpenChange", function RecipeCatalogComponent_div_2_Template_ng_miam_preferences_isOpenChange_9_listener($event) { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r65 = i0__namespace.ɵɵnextContext(); return ctx_r65.isPreferenceModalOpen = $event; })("preferencesChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_preferences_preferencesChanged_9_listener() { i0__namespace.ɵɵrestoreView(_r61_1); var ctx_r66 = i0__namespace.ɵɵnextContext(); ctx_r66.updateFilters(ctx_r66.filters, false); return ctx_r66.reloadPackages(); });
25123
+ i0__namespace.ɵɵlistener("isOpenChange", function RecipeCatalogComponent_div_2_Template_ng_miam_preferences_isOpenChange_9_listener($event) { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r67 = i0__namespace.ɵɵnextContext(); return ctx_r67.isPreferenceModalOpen = $event; })("preferencesChanged", function RecipeCatalogComponent_div_2_Template_ng_miam_preferences_preferencesChanged_9_listener() { i0__namespace.ɵɵrestoreView(_r63_1); var ctx_r68 = i0__namespace.ɵɵnextContext(); ctx_r68.updateFilters(ctx_r68.filters, false); return ctx_r68.reloadPackages(); });
25036
25124
  i0__namespace.ɵɵelementEnd();
25037
25125
  i0__namespace.ɵɵtemplate(10, RecipeCatalogComponent_div_2_ng_template_10_Template, 1, 1, "ng-template", null, 13, i0__namespace.ɵɵtemplateRefExtractor);
25038
25126
  i0__namespace.ɵɵelementEnd();
@@ -25226,6 +25314,10 @@
25226
25314
  this.setStickyObserver();
25227
25315
  this.returnToTop();
25228
25316
  };
25317
+ RecipeCatalogComponent.prototype.seeAllRecipes = function () {
25318
+ this.filters.additionalFilters = { title: 'Toutes nos recettes', filters: {} };
25319
+ this.updateFilters(this.filters);
25320
+ };
25229
25321
  RecipeCatalogComponent.prototype.updateSearch = function (search) {
25230
25322
  if (this.historyDisplayed && search !== this.historySearch) {
25231
25323
  this.loadHistoryContent(search);
@@ -25348,20 +25440,30 @@
25348
25440
  var _a, _b;
25349
25441
  return !this.displayHomePage() && !this.isSearchPage() && ((_b = (_a = this.filters) === null || _a === void 0 ? void 0 : _a.additionalFilters) === null || _b === void 0 ? void 0 : _b.title) === 'Promos';
25350
25442
  };
25443
+ RecipeCatalogComponent.prototype.isAllRecipesPage = function () {
25444
+ var _a, _b;
25445
+ return (!this.displayHomePage() &&
25446
+ !this.isSearchPage() &&
25447
+ !this.isFavoritesPage() &&
25448
+ !this.isPromotionsPage() &&
25449
+ ((_b = (_a = this.filters) === null || _a === void 0 ? void 0 : _a.additionalFilters) === null || _b === void 0 ? void 0 : _b.title) === 'Toutes nos recettes');
25450
+ };
25351
25451
  RecipeCatalogComponent.prototype.isCategoryPage = function () {
25352
25452
  var _a, _b, _c;
25353
25453
  return (!this.displayHomePage() &&
25354
25454
  !this.isSearchPage() &&
25355
25455
  !this.isFavoritesPage() &&
25356
25456
  !this.isPromotionsPage() &&
25457
+ !this.isAllRecipesPage() &&
25357
25458
  ((_c = (_b = (_a = this.filters) === null || _a === void 0 ? void 0 : _a.additionalFilters) === null || _b === void 0 ? void 0 : _b.title) === null || _c === void 0 ? void 0 : _c.length) > 0);
25358
25459
  };
25359
25460
  RecipeCatalogComponent.prototype.isDefaultPage = function () {
25360
25461
  return (!this.displayHomePage() &&
25361
25462
  !this.isSearchPage() &&
25362
25463
  !this.isFavoritesPage() &&
25363
- !this.isCategoryPage() &&
25364
- !this.isPromotionsPage());
25464
+ !this.isPromotionsPage() &&
25465
+ !this.isAllRecipesPage() &&
25466
+ !this.isCategoryPage());
25365
25467
  };
25366
25468
  RecipeCatalogComponent.prototype.toggleMyMealDrawer = function () {
25367
25469
  this.recipesService.openBasket();
@@ -25395,12 +25497,12 @@
25395
25497
  key: categoryPackage.title.trim().toLowerCase().replace(/[^a-zA-Z0-9 -]/, '').replace(/\s/g, '-'),
25396
25498
  title: categoryPackage.title,
25397
25499
  subtitle: categoryPackage.subtitle,
25398
- filters: {
25500
+ filters: new RecipeFilters({
25399
25501
  additionalFilters: {
25400
25502
  filters: { packages: categoryPackage.id },
25401
25503
  title: ''
25402
25504
  }
25403
- }
25505
+ })
25404
25506
  }); });
25405
25507
  };
25406
25508
  RecipeCatalogComponent.prototype.selectCategoryFromUrl = function () {
@@ -25552,37 +25654,53 @@
25552
25654
  }
25553
25655
  var i18n_12;
25554
25656
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
25555
- var MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____13 = goog.getMsg("Votre s\u00E9lection");
25556
- i18n_12 = MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____13;
25657
+ var MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____13 = goog.getMsg("Toutes nos recettes");
25658
+ i18n_12 = MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____13;
25557
25659
  }
25558
25660
  else {
25559
- i18n_12 = $localize(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
25661
+ i18n_12 = $localize(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject([":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"], [":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"])));
25560
25662
  }
25561
25663
  var i18n_14;
25562
25664
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
25563
- var MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____15 = goog.getMsg("Favoris");
25564
- i18n_14 = MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____15;
25665
+ var MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____15 = goog.getMsg("Votre s\u00E9lection");
25666
+ i18n_14 = MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____15;
25565
25667
  }
25566
25668
  else {
25567
- i18n_14 = $localize(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
25669
+ i18n_14 = $localize(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
25568
25670
  }
25569
25671
  var i18n_16;
25570
25672
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
25571
- var MSG_EXTERNAL_7831615079320449369$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____17 = goog.getMsg("Historique");
25572
- i18n_16 = MSG_EXTERNAL_7831615079320449369$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____17;
25673
+ var MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____17 = goog.getMsg("Favoris");
25674
+ i18n_16 = MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____17;
25573
25675
  }
25574
25676
  else {
25575
- i18n_16 = $localize(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject([":\u241F9b9c5d64a1ab25e0671a19dd19bf7207bbd2dd66\u241F7831615079320449369:Historique"], [":\u241F9b9c5d64a1ab25e0671a19dd19bf7207bbd2dd66\u241F7831615079320449369:Historique"])));
25677
+ i18n_16 = $localize(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
25576
25678
  }
25577
- var i18n_19;
25679
+ var i18n_18;
25680
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
25681
+ var MSG_EXTERNAL_7831615079320449369$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____19 = goog.getMsg("Historique");
25682
+ i18n_18 = MSG_EXTERNAL_7831615079320449369$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____19;
25683
+ }
25684
+ else {
25685
+ i18n_18 = $localize(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject([":\u241F9b9c5d64a1ab25e0671a19dd19bf7207bbd2dd66\u241F7831615079320449369:Historique"], [":\u241F9b9c5d64a1ab25e0671a19dd19bf7207bbd2dd66\u241F7831615079320449369:Historique"])));
25686
+ }
25687
+ var i18n_21;
25688
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
25689
+ var MSG_EXTERNAL_1466844133086050831$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS_____22 = goog.getMsg(" Chargement des r\u00E9sultats... ");
25690
+ i18n_21 = MSG_EXTERNAL_1466844133086050831$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS_____22;
25691
+ }
25692
+ else {
25693
+ i18n_21 = $localize(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject([":\u241Fe31604fe529ededd6aa35b0a5d51aaf96634df29\u241F1466844133086050831: Chargement des r\u00E9sultats... "], [":\u241Fe31604fe529ededd6aa35b0a5d51aaf96634df29\u241F1466844133086050831: Chargement des r\u00E9sultats... "])));
25694
+ }
25695
+ var i18n_23;
25578
25696
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
25579
- var MSG_EXTERNAL_1466844133086050831$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS_____20 = goog.getMsg(" Chargement des r\u00E9sultats... ");
25580
- i18n_19 = MSG_EXTERNAL_1466844133086050831$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS_____20;
25697
+ var MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS______24 = goog.getMsg("Toutes nos recettes");
25698
+ i18n_23 = MSG_EXTERNAL_371620413575748610$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS______24;
25581
25699
  }
25582
25700
  else {
25583
- i18n_19 = $localize(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject([":\u241Fe31604fe529ededd6aa35b0a5d51aaf96634df29\u241F1466844133086050831: Chargement des r\u00E9sultats... "], [":\u241Fe31604fe529ededd6aa35b0a5d51aaf96634df29\u241F1466844133086050831: Chargement des r\u00E9sultats... "])));
25701
+ i18n_23 = $localize(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject([":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"], [":\u241F6a492aeb2aa6401461c8cc248fff941988ab5dda\u241F371620413575748610:Toutes nos recettes"])));
25584
25702
  }
25585
- return [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], ["class", "miam-recipe-catalog", 4, "ngIf"], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [3, "home", "history", "searchTerm", "additionalFiltersTitle", "homeLabel", "pictureUrl", "catalogSetting", "returnButtonPressed"], ["class", "miam-recipe-catalog__toolbar-container-anchor", 4, "ngIf"], ["class", "miam-recipe-catalog__toolbar-container", 4, "ngIf"], ["class", "miam-recipe-catalog__promotions-banner", 4, "ngIf"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "filterChanged", "filterCollapsed", "preferencesChanged"], [3, "isOpen", "filters", "isOpenChange", "preferencesChanged"], ["categoriesComponents", ""], [1, "miam-recipe-catalog__toolbar-container-anchor"], [1, "miam-recipe-catalog__toolbar-container"], ["stickyToolbar", ""], [3, "home", "history", "searchTerm", "additionalFiltersTitle", "hideButtons", "filterBadgeCount", "reduced", "filterButtonPressed", "preferencesButtonPressed", "searchStringChanged", "favoritesButtonPressed", "returnHomePressed"], [1, "miam-recipe-catalog__promotions-banner"], [3, "clicked"], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cutlery-white.svg", "alt", "Cutlery", 1, "miam-recipe-catalog__myMeal__first__icon"], [1, "miam-recipe-catalog__myMeal__button__text", "miam-ds-text", "weight-xl"], i18n_2, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-white.svg", "alt", "Caret", 1, "miam-recipe-catalog__myMeal__second__icon"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], [1, "miam-recipe-catalog__content__title-icon", "miam-ds-button", "primary", "square", 3, "click"], ["alt", "return", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_white.svg"], ["class", "miam-recipe-catalog__content__title__search__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__favorites__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__promotions__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__category", 4, "ngIf"], ["class", "miam-recipe-catalog__content__default__text", 4, "ngIf"], ["class", "miam-catalog-tabs miam-ds-tabs", 4, "ngIf"], ["stickyToolbarCollection", ""], [3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved", 4, "ngIf"], ["class", "miam-recipe-catalog__history-container", 4, "ngIf"], [1, "miam-recipe-catalog__content__title__search__text"], i18n_4, [1, "miam-recipe-catalog__content__title__favorites__text"], [4, "ngIf"], i18n_6, i18n_8, [1, "miam-recipe-catalog__content__title__promotions__text"], i18n_10, [1, "miam-recipe-catalog__content__title__category"], [1, "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-ds-text size-s weight-l", 4, "ngIf"], [1, "miam-ds-text", "size-s", "weight-l"], [1, "miam-recipe-catalog__content__default__text"], i18n_12, [1, "miam-catalog-tabs", "miam-ds-tabs"], [1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", "active", 3, "click"], ["alt", "heart icon", 3, "src"], i18n_14, [1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", "inactive", 3, "click"], ["alt", "history icon", 3, "src"], i18n_16, [3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved"], [1, "miam-recipe-catalog__history-container"], ["class", "miam-recipe-catalog__history-loader", 4, "ngIf"], [3, "innerHTML"], [1, "miam-recipe-catalog__history-loader"], i18n_19, ["class", "miam-recipe-catalog__categories", 4, "ngIf"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["firstCategory", ""], [3, "title", "subtitle", "filters", "maxRecipeNumber", "displayInfos", "displayPricing", "originTrace", "modifiedGuests", "displayRecipeVariant", "displayList"], [1, "miam-recipe-catalog__first-category"], [3, "title", "subtitle", "filters", "displayInfos", "displayPricing", "maxRecipeNumber", "modifiedGuests", "displayRecipeVariant", "originTrace", "displayList", "isHidden"]];
25703
+ return [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], ["class", "miam-recipe-catalog", 4, "ngIf"], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [3, "home", "history", "searchTerm", "additionalFiltersTitle", "homeLabel", "pictureUrl", "catalogSetting", "returnButtonPressed"], ["class", "miam-recipe-catalog__toolbar-container-anchor", 4, "ngIf"], ["class", "miam-recipe-catalog__toolbar-container", 4, "ngIf"], ["class", "miam-recipe-catalog__promotions-banner", 4, "ngIf"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "filterChanged", "filterCollapsed", "preferencesChanged"], [3, "isOpen", "filters", "isOpenChange", "preferencesChanged"], ["categoriesComponents", ""], [1, "miam-recipe-catalog__toolbar-container-anchor"], [1, "miam-recipe-catalog__toolbar-container"], ["stickyToolbar", ""], [3, "home", "history", "searchTerm", "additionalFiltersTitle", "hideButtons", "filterBadgeCount", "reduced", "filterButtonPressed", "preferencesButtonPressed", "searchStringChanged", "favoritesButtonPressed", "returnHomePressed"], [1, "miam-recipe-catalog__promotions-banner"], [3, "clicked"], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cutlery-white.svg", "alt", "Cutlery", 1, "miam-recipe-catalog__myMeal__first__icon"], [1, "miam-recipe-catalog__myMeal__button__text", "miam-ds-text", "weight-xl"], i18n_2, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-white.svg", "alt", "Caret", 1, "miam-recipe-catalog__myMeal__second__icon"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], [1, "miam-recipe-catalog__content__title-icon", "miam-ds-button", "primary", "square", 3, "click"], ["alt", "return", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_white.svg"], ["class", "miam-recipe-catalog__content__title__search__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__favorites__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__promotions__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__all-recipes__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__category", 4, "ngIf"], ["class", "miam-recipe-catalog__content__default__text", 4, "ngIf"], ["class", "miam-catalog-tabs miam-ds-tabs", 4, "ngIf"], ["stickyToolbarCollection", ""], [3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved", 4, "ngIf"], ["class", "miam-recipe-catalog__history-container", 4, "ngIf"], [1, "miam-recipe-catalog__content__title__search__text"], i18n_4, [1, "miam-recipe-catalog__content__title__favorites__text"], [4, "ngIf"], i18n_6, i18n_8, [1, "miam-recipe-catalog__content__title__promotions__text"], i18n_10, [1, "miam-recipe-catalog__content__title__all-recipes__text"], i18n_12, [1, "miam-recipe-catalog__content__title__category"], [1, "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-ds-text size-s weight-l", 4, "ngIf"], [1, "miam-ds-text", "size-s", "weight-l"], [1, "miam-recipe-catalog__content__default__text"], i18n_14, [1, "miam-catalog-tabs", "miam-ds-tabs"], [1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", "active", 3, "click"], ["alt", "heart icon", 3, "src"], i18n_16, [1, "miam-catalog-tabs__item", "miam-ds-tab-item", "miam-ds-text", "inactive", 3, "click"], ["alt", "history icon", 3, "src"], i18n_18, [3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved"], [1, "miam-recipe-catalog__history-container"], ["class", "miam-recipe-catalog__history-loader", 4, "ngIf"], [3, "innerHTML"], [1, "miam-recipe-catalog__history-loader"], i18n_21, ["class", "miam-recipe-catalog__categories", 4, "ngIf"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["firstCategory", ""], [3, "title", "subtitle", "filters", "maxRecipeNumber", "displayInfos", "displayPricing", "originTrace", "modifiedGuests", "displayRecipeVariant", "displayList"], [1, "miam-recipe-catalog__first-category"], [3, "title", "subtitle", "filters", "displayInfos", "displayPricing", "maxRecipeNumber", "modifiedGuests", "displayRecipeVariant", "originTrace", "displayList", "isHidden"], [1, "miam-recipe-catalog__all-banner", 3, "click"], [1, "miam-recipe-catalog__all-banner__text", "miam-ds-text", "size-m", "weight-xl"], i18n_23, [1, "miam-recipe-catalog__all-banner__icon"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_black.svg", "alt", "arrow right"]];
25586
25704
  }, template: function RecipeCatalogComponent_Template(rf, ctx) {
25587
25705
  if (rf & 1) {
25588
25706
  i0__namespace.ɵɵelement(0, "div", 0, 1);
@@ -25592,7 +25710,7 @@
25592
25710
  i0__namespace.ɵɵadvance(2);
25593
25711
  i0__namespace.ɵɵproperty("ngIf", ctx.catalogSettingHasLoaded);
25594
25712
  }
25595
- }, directives: [i2__namespace.NgIf, CatalogHeaderComponent, RecipeFiltersComponent, PreferencesComponent, CatalogToolbarComponent, PromotionsBannerComponent, CatalogListComponent, i2__namespace.NgClass, LoaderComponent, i2__namespace.NgForOf, CatalogCategoryComponent, MealsPlannerLinkComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-recipe-catalog{display:flex;justify-content:space-between;width:100%;position:relative;background-color:var(--miam-ds-color-neutral-white)}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container-anchor{width:100%}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{width:-moz-available;width:-webkit-fill-available;width:fill-available;padding:33px 80px 0;box-sizing:border-box;background-color:var(--miam-ds-color-neutral-white);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{position:fixed;top:0;z-index:10;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1);padding:16px 40px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{padding:24px 16px 0}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{padding:8px}}.miam-recipe-catalog .miam-recipe-catalog__content{width:100%;position:relative}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 80px;font-size:20px;line-height:34px;font-weight:900;display:flex;align-items:center;gap:16px;color:var(--miam-ds-color-neutral-black,#0f191f);box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__search__text{display:flex;flex-wrap:wrap;gap:6px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon{width:32px;height:32px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon img{cursor:pointer;width:13px;height:13px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category{display:flex;flex-direction:column;gap:4px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category .size-s{color:var(--miam-ds-color-neutral-500)}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 24px;box-sizing:border-box}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__promotions-banner{display:none;justify-content:center;margin-top:36px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{display:flex;flex-direction:column;width:100%;padding:24px 80px 48px;box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{display:flex;flex-direction:row;width:100%;align-items:flex-end}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{margin:0 16px 56px 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{flex:1}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{padding:24px 0 48px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{flex-direction:column;align-items:flex-start}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{width:100%}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{width:100%;padding:0 24px 24px;box-sizing:border-box;margin:unset}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list{width:100%;padding:24px 0;box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container:not(.sticking){padding-bottom:24px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container.sticking{padding:8px 24px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container .sticking{padding:8px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{position:relative;display:flex;box-sizing:border-box;width:100%;padding:24px 80px 0;background-color:var(--miam-ds-color-neutral-white,#fff);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item{display:flex;align-items:center;gap:4px;text-decoration:none}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item.inactive span{color:var(--miam-ds-color-neutral-black,#0f191f);opacity:.7}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 24px 0}}@media (max-width:700px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 0 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item{width:100%;justify-content:center;display:flex}}.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button{cursor:pointer;width:400px;position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:1;display:inline-flex;min-height:48px;padding:0 16px;justify-content:space-between;align-items:center;gap:12px;border-radius:1000px;background:var(--miam-color-primary-900,#10323f);box-shadow:0 8px 16px 0 rgba(0,0,0,.2)}.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__button__text{font-weight:700;color:var(--miam-ds-color-neutral-white,#fff);white-space:nowrap}.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__second__icon{transform:rotate(-90deg)}@media (max-width:607px){.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button{width:auto;z-index:2}}.miam-recipe-catalog ng-miam-recipe-card .miam-recipe-card{height:var(--m-catalog-card-height);width:var(--m-catalog-card-width)}"], encapsulation: 2, changeDetection: 0 });
25713
+ }, directives: [i2__namespace.NgIf, CatalogHeaderComponent, RecipeFiltersComponent, PreferencesComponent, CatalogToolbarComponent, PromotionsBannerComponent, CatalogListComponent, i2__namespace.NgClass, LoaderComponent, i2__namespace.NgForOf, CatalogCategoryComponent, MealsPlannerLinkComponent], pipes: [i2__namespace.AsyncPipe], styles: [".miam-recipe-catalog{display:flex;justify-content:space-between;width:100%;position:relative;background-color:var(--miam-ds-color-neutral-white)}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container-anchor{width:100%}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{width:-moz-available;width:-webkit-fill-available;width:fill-available;padding:33px 80px 0;box-sizing:border-box;background-color:var(--miam-ds-color-neutral-white);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{position:fixed;top:0;z-index:10;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1);padding:16px 40px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__toolbar-container{padding:24px 16px 0}.miam-recipe-catalog .miam-recipe-catalog__toolbar-container.sticking{padding:8px}}.miam-recipe-catalog .miam-recipe-catalog__content{width:100%;position:relative}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 80px;font-size:20px;line-height:34px;font-weight:900;display:flex;align-items:center;gap:16px;color:var(--miam-ds-color-neutral-black,#0f191f);box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__search__text{display:flex;flex-wrap:wrap;gap:6px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon{width:32px;height:32px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title-icon img{cursor:pointer;width:13px;height:13px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category{display:flex;flex-direction:column;gap:4px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title .miam-recipe-catalog__content__title__category .size-s{color:var(--miam-ds-color-neutral-500)}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__content__title{width:100%;padding:0 24px;box-sizing:border-box}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__promotions-banner{display:none;justify-content:center;margin-top:36px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{display:flex;flex-direction:column;width:100%;padding:4px 80px 48px;box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{display:flex;flex-direction:row;width:100%;align-items:flex-end}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{margin:0 16px 36px 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{flex:1}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner{display:flex;padding:24px 0;justify-content:center;align-items:center;gap:8px;align-self:stretch;border-radius:8px;background:var(--miam-ds-color-neutral-100,#eff1f3);cursor:pointer}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner .miam-recipe-catalog__all-banner__text{color:var(--miam-ds-color-neutral-black,#0f191f)}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner .miam-recipe-catalog__all-banner__icon{transform:rotate(-180deg);height:24px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories{padding:24px 0 48px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category{flex-direction:column;align-items:flex-start}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-catalog-category{width:100%}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__first-category ng-miam-meals-planner-link{width:100%;padding:0 24px 24px;box-sizing:border-box;margin:unset}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__categories .miam-recipe-catalog__all-banner{margin:0 24px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list{width:100%;padding:24px 0;box-sizing:border-box}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container:not(.sticking){padding-bottom:24px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container.sticking{padding:8px 24px}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__toolbar-container .sticking{padding:8px}}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-recipe-catalog .miam-recipe-catalog__content .miam-recipe-catalog__list .miam-recipe-catalog__history-container .miam-recipe-catalog__history-loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{position:relative;display:flex;box-sizing:border-box;width:100%;padding:24px 80px 0;background-color:var(--miam-ds-color-neutral-white,#fff);transition:padding .3s ease}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item{display:flex;align-items:center;gap:4px;text-decoration:none}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item.inactive span{color:var(--miam-ds-color-neutral-black,#0f191f);opacity:.7}@media (max-width:1023px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 24px 0}}@media (max-width:700px){.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs{padding:24px 0 0}.miam-recipe-catalog .miam-recipe-catalog__content .miam-catalog-tabs .miam-catalog-tabs__item{width:100%;justify-content:center;display:flex}}.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button{cursor:pointer;width:400px;position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:1;display:inline-flex;min-height:48px;padding:0 16px;justify-content:space-between;align-items:center;gap:12px;border-radius:1000px;background:var(--miam-color-primary-900,#10323f);box-shadow:0 8px 16px 0 rgba(0,0,0,.2)}.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__button__text{font-weight:700;color:var(--miam-ds-color-neutral-white,#fff);white-space:nowrap}.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button .miam-recipe-catalog__myMeal__second__icon{transform:rotate(-90deg)}@media (max-width:607px){.miam-recipe-catalog .miam-recipe-catalog__content__myMeal__button{width:auto;z-index:2}}.miam-recipe-catalog ng-miam-recipe-card .miam-recipe-card{height:var(--m-catalog-card-height);width:var(--m-catalog-card-width)}"], encapsulation: 2, changeDetection: 0 });
25596
25714
  (function () {
25597
25715
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RecipeCatalogComponent, [{
25598
25716
  type: i0.Component,
@@ -25638,7 +25756,7 @@
25638
25756
  type: i0.Input
25639
25757
  }] });
25640
25758
  })();
25641
- var templateObject_1$c, templateObject_2$8, templateObject_3$6, templateObject_4$5, templateObject_5$3, templateObject_6$3, templateObject_7$3, templateObject_8$2, templateObject_9$2;
25759
+ var templateObject_1$c, templateObject_2$8, templateObject_3$6, templateObject_4$5, templateObject_5$3, templateObject_6$3, templateObject_7$3, templateObject_8$2, templateObject_9$2, templateObject_10$2, templateObject_11$2;
25642
25760
 
25643
25761
  var PreferencesModule = /** @class */ (function () {
25644
25762
  // Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used