ng-miam 4.7.6 → 4.7.7

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 (52) hide show
  1. package/bundles/ng-miam.umd.js +720 -348
  2. package/bundles/ng-miam.umd.js.map +1 -1
  3. package/bundles/ng-miam.umd.min.js +2 -2
  4. package/bundles/ng-miam.umd.min.js.map +1 -1
  5. package/esm2015/lib/_components/components.module.js +5 -5
  6. package/esm2015/lib/_components/explain-banner/explain-banner.component.js +72 -0
  7. package/esm2015/lib/_components/icon/icon.component.js +5 -5
  8. package/esm2015/lib/_components/index.js +2 -2
  9. package/esm2015/lib/_components/like-button/like-button.component.js +1 -1
  10. package/esm2015/lib/_components/list-input/list-input.component.js +140 -57
  11. package/esm2015/lib/_components/recipe-filters/recipe-filters.component.js +1 -1
  12. package/esm2015/lib/_models/ingredient.js +3 -2
  13. package/esm2015/lib/_models/tag.js +2 -5
  14. package/esm2015/lib/_services/context.service.js +14 -5
  15. package/esm2015/lib/_services/ingredients.service.js +5 -4
  16. package/esm2015/lib/_types/icon.enum.js +4 -4
  17. package/esm2015/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.js +8 -3
  18. package/esm2015/lib/_web-components/catalog-article-card/catalog-article-card.component.js +1 -1
  19. package/esm2015/lib/_web-components/catalog-header/catalog-header.component.js +1 -1
  20. package/esm2015/lib/_web-components/catalog-recipe-card/catalog-recipe-card.component.js +146 -115
  21. package/esm2015/lib/_web-components/index.js +2 -1
  22. package/esm2015/lib/_web-components/recipe-catalog/recipe-catalog.component.js +13 -3
  23. package/esm2015/lib/_web-components/recipe-details/recipe-details-infos/recipe-details-infos.component.js +48 -48
  24. package/esm2015/lib/_web-components/recipe-details/recipe-details-steps/recipe-details-steps.component.js +1 -1
  25. package/esm2015/lib/_web-components/recipe-details/recipe-details.component.js +43 -22
  26. package/esm2015/lib/_web-components/recipe-form/recipe-form.component.js +7 -1
  27. package/esm2015/lib/_web-components/recipe-stepper/recipe-stepper.component.js +6 -6
  28. package/esm2015/lib/_web-components/tags-creator/tags-creator.component.js +81 -0
  29. package/esm2015/lib/_web-components/tags-selector/tags-selector.component.js +109 -40
  30. package/esm2015/lib/_web-components/web-components.module.js +14 -9
  31. package/esm2015/public_api.js +2 -1
  32. package/fesm2015/ng-miam.js +670 -344
  33. package/fesm2015/ng-miam.js.map +1 -1
  34. package/lib/_components/components.module.d.ts +7 -4
  35. package/lib/_components/explain-banner/explain-banner.component.d.ts +10 -0
  36. package/lib/_components/index.d.ts +1 -1
  37. package/lib/_components/list-input/list-input.component.d.ts +12 -1
  38. package/lib/_models/ingredient.d.ts +2 -1
  39. package/lib/_models/tag.d.ts +1 -5
  40. package/lib/_services/context.service.d.ts +2 -0
  41. package/lib/_types/icon.enum.d.ts +3 -3
  42. package/lib/_web-components/index.d.ts +1 -0
  43. package/lib/_web-components/recipe-catalog/recipe-catalog.component.d.ts +1 -0
  44. package/lib/_web-components/recipe-details/recipe-details.component.d.ts +6 -4
  45. package/lib/_web-components/tags-creator/tags-creator.component.d.ts +21 -0
  46. package/lib/_web-components/tags-selector/tags-selector.component.d.ts +12 -4
  47. package/lib/_web-components/web-components.module.d.ts +15 -14
  48. package/miam-style.css +1 -1
  49. package/package.json +1 -1
  50. package/public_api.d.ts +1 -0
  51. package/esm2015/lib/_components/explaine-banner/explaine-banner.component.js +0 -50
  52. package/lib/_components/explaine-banner/explaine-banner.component.d.ts +0 -8
@@ -81,9 +81,9 @@
81
81
  Icon[Icon["Filter"] = 61] = "Filter";
82
82
  Icon[Icon["Difficulty"] = 62] = "Difficulty";
83
83
  Icon[Icon["Cook"] = 63] = "Cook";
84
- Icon[Icon["ExplaineStep1"] = 64] = "ExplaineStep1";
85
- Icon[Icon["ExplaineStep2"] = 65] = "ExplaineStep2";
86
- Icon[Icon["ExplaineStep3"] = 66] = "ExplaineStep3";
84
+ Icon[Icon["ExplainStep1"] = 64] = "ExplainStep1";
85
+ Icon[Icon["ExplainStep2"] = 65] = "ExplainStep2";
86
+ Icon[Icon["ExplainStep3"] = 66] = "ExplainStep3";
87
87
  })(exports.Icon || (exports.Icon = {}));
88
88
 
89
89
  /*! *****************************************************************************
@@ -2669,6 +2669,7 @@
2669
2669
  name: '',
2670
2670
  quantity: '',
2671
2671
  unit: '',
2672
+ importance: '',
2672
2673
  active: true,
2673
2674
  'forced-eans': [],
2674
2675
  'picture-url': ''
@@ -2816,9 +2817,6 @@
2816
2817
  'icon-url': '',
2817
2818
  'picture-url': ''
2818
2819
  };
2819
- _this.relationships = {
2820
- recipe: new i1.DocumentResource()
2821
- };
2822
2820
  return _this;
2823
2821
  }
2824
2822
  Object.defineProperty(Tag.prototype, "tagType", {
@@ -3768,16 +3766,17 @@
3768
3766
  var oldIngredientAttribute = oldIngredients[oldIndex].attributes;
3769
3767
  var hasChange = oldIngredientAttribute.name !== ing.attributes.name ||
3770
3768
  oldIngredientAttribute.unit !== ing.attributes.unit ||
3771
- oldIngredientAttribute.quantity !== ing.attributes.quantity;
3769
+ oldIngredientAttribute.quantity !== ing.attributes.quantity ||
3770
+ oldIngredientAttribute.importance !== ing.attributes.importance;
3772
3771
  if (hasChange) {
3773
- oldIngredients[oldIndex].attributes = Object.assign(Object.assign({}, oldIngredients[oldIndex].attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: ing.attributes.quantity, 'picture-url': ing.attributes['picture-url'] });
3772
+ oldIngredients[oldIndex].attributes = Object.assign(Object.assign({}, oldIngredients[oldIndex].attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: ing.attributes.quantity, importance: ing.attributes.importance, 'picture-url': ing.attributes['picture-url'] });
3774
3773
  ingredientsToSave.push(oldIngredients[oldIndex]);
3775
3774
  }
3776
3775
  }
3777
3776
  else {
3778
3777
  var newIng = _this.new();
3779
3778
  delete newIng.id;
3780
- newIng.attributes = Object.assign(Object.assign({}, newIng.attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: '' + ing.attributes.quantity, 'picture-url': ing.attributes['picture-url'] });
3779
+ newIng.attributes = Object.assign(Object.assign({}, newIng.attributes), { name: ing.attributes.name, unit: ing.attributes.unit, quantity: '' + ing.attributes.quantity, importance: ing.attributes.importance, 'picture-url': ing.attributes['picture-url'] });
3781
3780
  newIng.addRelationship(recipe, 'recipe');
3782
3781
  ingredientsToSave.push(newIng);
3783
3782
  }
@@ -4400,7 +4399,8 @@
4400
4399
  _this.basketHandler = new BasketHandler(_this.basketWrapper);
4401
4400
  _this.basketHandler.initBasketProcess();
4402
4401
  },
4403
- // Modify the comparion-map to make it as is all products were added by the retailer. Useful to reset the list without emptying the retailer's basket
4402
+ // Modify the comparion-map to make it as is all products were added by the retailer.
4403
+ // Useful to reset the list without emptying the retailer's basket
4404
4404
  setAllProductsAsRetailers: function () {
4405
4405
  if (_this.basketHandler) {
4406
4406
  _this.basketHandler.setAllProductsAsRetailers();
@@ -4447,7 +4447,9 @@
4447
4447
  },
4448
4448
  list: {
4449
4449
  reset: function () { return _this.listsService.resetList().subscribe(); },
4450
- addRecipe: function (recipeId, guests) { return _this.listsService.appendRecipeToList(recipeId, guests, { originPath: 'client', props: { recipe_id: recipeId } }); },
4450
+ addRecipe: function (recipeId, guests) {
4451
+ return _this.listsService.appendRecipeToList(recipeId, guests, { originPath: 'client', props: { recipe_id: recipeId } });
4452
+ },
4451
4453
  hasRecipe: function (recipeId) { return _this.listsService.recipeIsInList(recipeId); },
4452
4454
  createTemporaryList: function () { return _this.listsService.createTemporaryList(); },
4453
4455
  refresh: function () { return _this.listsService.refreshCurrentList(); }
@@ -4492,7 +4494,12 @@
4492
4494
  if (url === void 0) { url = ''; }
4493
4495
  _this.miam.router.catalog = url;
4494
4496
  },
4495
- catalog: ''
4497
+ catalog: '',
4498
+ setRecipeInfoLink: function (url) {
4499
+ if (url === void 0) { url = ''; }
4500
+ _this.miam.router.recipeInfo = url;
4501
+ },
4502
+ recipeInfo: '',
4496
4503
  },
4497
4504
  supplier: {
4498
4505
  load: function (supplierId) {
@@ -6305,11 +6312,11 @@
6305
6312
  i0.ɵɵadvance(1);
6306
6313
  i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(69, _c0, ctx_r2.width + "px", ctx_r2.height + "px"));
6307
6314
  i0.ɵɵadvance(1);
6308
- i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplaineStep1);
6315
+ i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplainStep1);
6309
6316
  i0.ɵɵadvance(1);
6310
- i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplaineStep2);
6317
+ i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplainStep2);
6311
6318
  i0.ɵɵadvance(1);
6312
- i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplaineStep3);
6319
+ i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.ExplainStep3);
6313
6320
  i0.ɵɵadvance(1);
6314
6321
  i0.ɵɵproperty("ngSwitchCase", ctx_r2.icon.CloudUpload);
6315
6322
  i0.ɵɵadvance(1);
@@ -6466,7 +6473,7 @@
6466
6473
  var _r1 = i0.ɵɵreference(2);
6467
6474
  i0.ɵɵproperty("ngIf", ctx.iconOverrideUrl !== "")("ngIfElse", _r1);
6468
6475
  }
6469
- }, directives: [i4.NgIf, i4.NgStyle, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault], styles: [".cal-month-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{font-weight:bolder;text-align:center}.cal-month-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%]{border:1px solid;border-bottom:0}.cal-month-view[_ngcontent-%COMP%] .cal-cell-top[_ngcontent-%COMP%]{flex:1;min-height:78px}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{display:flex}.cal-month-view[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{pointer-events:all!important}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]{display:block}}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{border-bottom:1px solid}.cal-month-view[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%]{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view[_ngcontent-%COMP%] .cal-events[_ngcontent-%COMP%]{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-in-month.cal-has-events[_ngcontent-%COMP%]{cursor:pointer}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-out-month[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{cursor:default;opacity:.1}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-today[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{font-size:1.9em}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%]{padding:15px}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{position:relative;top:2px}.cal-month-view[_ngcontent-%COMP%] .cal-out-month[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%], .cal-month-view[_ngcontent-%COMP%] .cal-out-month[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{opacity:.3}.cal-month-view[_ngcontent-%COMP%] .cal-draggable[_ngcontent-%COMP%]{cursor:move}.cal-month-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}.cal-month-view[_ngcontent-%COMP%] .cal-event-title[_ngcontent-%COMP%]{cursor:pointer}.cal-month-view[_ngcontent-%COMP%] .cal-event-title[_ngcontent-%COMP%]:hover{text-decoration:underline}.cal-month-view[_ngcontent-%COMP%]{background-color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]:hover{background-color:#fafafa}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]:hover, .cal-month-view[_ngcontent-%COMP%] .cal-cell.cal-has-events.cal-open[_ngcontent-%COMP%]{background-color:#ededed}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]:not(:last-child){border-right-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{border-bottom-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%]{background-color:#b94a48;color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-weekend[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{color:#8b0000}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-today[_ngcontent-%COMP%]{background-color:#e8fde7}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-drag-over[_ngcontent-%COMP%]{background-color:#e0e0e0!important}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%]{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%]{border:1px solid;display:flex;padding-left:70px}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{flex:1;padding:5px;text-align:center}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:first-child{border-left:1px solid}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400;opacity:.5}.cal-week-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left:1px solid;flex-grow:1}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border:1px solid;font-size:12px}.cal-week-view[_ngcontent-%COMP%] .cal-time-label-column[_ngcontent-%COMP%]{height:100%;width:70px}.cal-week-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%]{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-events-row[_ngcontent-%COMP%]{height:31px;margin-left:70px;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]{display:inline-block;position:absolute}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event-container.resize-active[_ngcontent-%COMP%]{pointer-events:none;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-starts-within-week[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-ends-within-week[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-time-label-column[_ngcontent-%COMP%]{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-resize-handle[_ngcontent-%COMP%]{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-resize-handle.cal-resize-handle-after-end[_ngcontent-%COMP%]{right:0}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%]{pointer-events:none;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%]{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]{display:flex;flex-grow:1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-events-container[_ngcontent-%COMP%]{position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]{position:absolute;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-resize-handle[_ngcontent-%COMP%]{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-resize-handle.cal-resize-handle-after-end[_ngcontent-%COMP%]{bottom:0}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]{position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]:after{content:\"\\00a0\"}.cal-week-view[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]:not(.cal-draggable){cursor:pointer}.cal-week-view[_ngcontent-%COMP%] .cal-draggable[_ngcontent-%COMP%]{cursor:move}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] mwl-calendar-week-view-hour-segment[_ngcontent-%COMP%]{display:block}.cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:last-child [_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%]{border-bottom:thin dashed}.cal-week-view[_ngcontent-%COMP%] .cal-time[_ngcontent-%COMP%]{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment.cal-after-hour-start[_ngcontent-%COMP%] .cal-time[_ngcontent-%COMP%]{display:none}.cal-week-view[_ngcontent-%COMP%] .cal-starts-within-day[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-ends-within-day[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view[_ngcontent-%COMP%]{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%]{border-color:#e1e1e1;border-top:0}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:not(:last-child){border-right-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:first-child{border-left-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-drag-over[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:hover{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-header.cal-today[_ngcontent-%COMP%]{background-color:#e8fde7}.cal-week-view[_ngcontent-%COMP%] .cal-header.cal-weekend[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#8b0000}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]:not(.cal-resize-active) .cal-hour-segment[_ngcontent-%COMP%]:hover{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-hour-odd[_ngcontent-%COMP%]{background-color:#fafafa}.cal-week-view[_ngcontent-%COMP%] .cal-drag-over[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:last-child [_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%]{border-bottom-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{background-color:#ea4334}.cal-day-view[_ngcontent-%COMP%] mwl-calendar-week-view-header[_ngcontent-%COMP%]{display:none}.cal-day-view[_ngcontent-%COMP%] .cal-events-container[_ngcontent-%COMP%]{margin-left:70px}.cal-day-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left:0}.cal-day-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip[_ngcontent-%COMP%]{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%]{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%]{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%]{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%]{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner[_ngcontent-%COMP%]{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow[_ngcontent-%COMP%]{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-top-color:#000}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-left-color:#000}.cal-tooltip-inner[_ngcontent-%COMP%]{background-color:#000;color:#fff}.m-button[_ngcontent-%COMP%], .m-button-grey[_ngcontent-%COMP%], .m-button-grey.reverse[_ngcontent-%COMP%], .m-button-primary[_ngcontent-%COMP%], .m-button-primary.reverse[_ngcontent-%COMP%], .m-button-secondary[_ngcontent-%COMP%], .m-button-secondary.reverse[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-primary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-secondary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]{padding:0}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child{margin-left:var(--m-button-gap)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child{margin-right:var(--m-button-gap)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child{margin:0}.m-button-primary[_ngcontent-%COMP%]{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary[_ngcontent-%COMP%]:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-primary)}.m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-primary.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse[_ngcontent-%COMP%]:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-primary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-primary)}.m-button-secondary[_ngcontent-%COMP%]{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary[_ngcontent-%COMP%]:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-secondary)}.m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-secondary.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse[_ngcontent-%COMP%]:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-secondary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-secondary)}.m-button-grey[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey[_ngcontent-%COMP%]:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-grey03)}.m-button-grey.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse[_ngcontent-%COMP%]:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-grey03)}.m-button-grey.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-input[_ngcontent-%COMP%]{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input[_ngcontent-%COMP%]:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input[_ngcontent-%COMP%]{padding:8px}}.m-title-text-input[_ngcontent-%COMP%] .miam-text-input[_ngcontent-%COMP%]{max-width:565px}.miam-flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card[_ngcontent-%COMP%]{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card[_ngcontent-%COMP%]{margin-bottom:8px;padding:8px}}#toast-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{opacity:.95!important}#toast-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover{opacity:1!important}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}[_ngcontent-%COMP%]:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input[_ngcontent-%COMP%]:focus-within [_ngcontent-%COMP%]:root .miam-text-input__label[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root input[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root label[_ngcontent-%COMP%]:not(.miam-text-input__label__top), [_ngcontent-%COMP%]:root .m-body-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-h1-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-input[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-small-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%]:focus-within .miam-text-input__label[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root input[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root label[_ngcontent-%COMP%]:not(.miam-text-input__label__top), [_ngcontent-%COMP%]:root .m-h1-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}[_ngcontent-%COMP%]:root .m-small-typo[_ngcontent-%COMP%]{font-size:var(--m-font-size-small);line-height:16px}@media print{[_ngcontent-%COMP%]:root *[_ngcontent-%COMP%]{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}[_ngcontent-%COMP%]:root .miam-not-printable[_ngcontent-%COMP%]{display:none}[_ngcontent-%COMP%]:root:last-child{page-break-after:auto}}[_ngcontent-%COMP%]:root .miam-print-only[_ngcontent-%COMP%]{display:none}@media print{[_ngcontent-%COMP%]:root .miam-print-only[_ngcontent-%COMP%]{display:block}}.icon-container[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;justify-items:center;margin:auto;user-select:none}.icon-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content}.icon-container[_ngcontent-%COMP%] .icon-container__icon[_ngcontent-%COMP%]{height:unset}"], changeDetection: 0 });
6476
+ }, directives: [i4.NgIf, i4.NgStyle, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault], styles: [".cal-month-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{font-weight:bolder;text-align:center}.cal-month-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%]{border:1px solid;border-bottom:0}.cal-month-view[_ngcontent-%COMP%] .cal-cell-top[_ngcontent-%COMP%]{flex:1;min-height:78px}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{display:flex}.cal-month-view[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{pointer-events:all!important}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]{display:block}}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{border-bottom:1px solid}.cal-month-view[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%]{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view[_ngcontent-%COMP%] .cal-events[_ngcontent-%COMP%]{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-in-month.cal-has-events[_ngcontent-%COMP%]{cursor:pointer}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-out-month[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{cursor:default;opacity:.1}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-today[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{font-size:1.9em}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%]{padding:15px}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{position:relative;top:2px}.cal-month-view[_ngcontent-%COMP%] .cal-out-month[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%], .cal-month-view[_ngcontent-%COMP%] .cal-out-month[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{opacity:.3}.cal-month-view[_ngcontent-%COMP%] .cal-draggable[_ngcontent-%COMP%]{cursor:move}.cal-month-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}.cal-month-view[_ngcontent-%COMP%] .cal-event-title[_ngcontent-%COMP%]{cursor:pointer}.cal-month-view[_ngcontent-%COMP%] .cal-event-title[_ngcontent-%COMP%]:hover{text-decoration:underline}.cal-month-view[_ngcontent-%COMP%]{background-color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]:hover{background-color:#fafafa}.cal-month-view[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%] .cal-cell[_ngcontent-%COMP%]:hover, .cal-month-view[_ngcontent-%COMP%] .cal-cell.cal-has-events.cal-open[_ngcontent-%COMP%]{background-color:#ededed}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell[_ngcontent-%COMP%]:not(:last-child){border-right-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-days[_ngcontent-%COMP%] .cal-cell-row[_ngcontent-%COMP%]{border-bottom-color:#e1e1e1}.cal-month-view[_ngcontent-%COMP%] .cal-day-badge[_ngcontent-%COMP%]{background-color:#b94a48;color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-weekend[_ngcontent-%COMP%] .cal-day-number[_ngcontent-%COMP%]{color:#8b0000}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-today[_ngcontent-%COMP%]{background-color:#e8fde7}.cal-month-view[_ngcontent-%COMP%] .cal-day-cell.cal-drag-over[_ngcontent-%COMP%]{background-color:#e0e0e0!important}.cal-month-view[_ngcontent-%COMP%] .cal-open-day-events[_ngcontent-%COMP%]{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%]{border:1px solid;display:flex;padding-left:70px}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{flex:1;padding:5px;text-align:center}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:first-child{border-left:1px solid}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:400;opacity:.5}.cal-week-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left:1px solid;flex-grow:1}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border:1px solid;font-size:12px}.cal-week-view[_ngcontent-%COMP%] .cal-time-label-column[_ngcontent-%COMP%]{height:100%;width:70px}.cal-week-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%]{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-events-row[_ngcontent-%COMP%]{height:31px;margin-left:70px;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]{display:inline-block;position:absolute}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event-container.resize-active[_ngcontent-%COMP%]{pointer-events:none;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-starts-within-week[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-ends-within-week[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-time-label-column[_ngcontent-%COMP%]{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-resize-handle[_ngcontent-%COMP%]{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%] .cal-resize-handle.cal-resize-handle-after-end[_ngcontent-%COMP%]{right:0}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%]{pointer-events:none;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-drag-active[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%]{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]{display:flex;flex-grow:1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-events-container[_ngcontent-%COMP%]{position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]{position:absolute;z-index:1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-resize-handle[_ngcontent-%COMP%]{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-resize-handle.cal-resize-handle-after-end[_ngcontent-%COMP%]{bottom:0}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]{position:relative}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]:after{content:\"\\00a0\"}.cal-week-view[_ngcontent-%COMP%] .cal-event-container[_ngcontent-%COMP%]:not(.cal-draggable){cursor:pointer}.cal-week-view[_ngcontent-%COMP%] .cal-draggable[_ngcontent-%COMP%]{cursor:move}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] mwl-calendar-week-view-hour-segment[_ngcontent-%COMP%]{display:block}.cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:last-child [_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%]{border-bottom:thin dashed}.cal-week-view[_ngcontent-%COMP%] .cal-time[_ngcontent-%COMP%]{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view[_ngcontent-%COMP%] .cal-hour-segment.cal-after-hour-start[_ngcontent-%COMP%] .cal-time[_ngcontent-%COMP%]{display:none}.cal-week-view[_ngcontent-%COMP%] .cal-starts-within-day[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view[_ngcontent-%COMP%] .cal-ends-within-day[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view[_ngcontent-%COMP%]{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%]{border-color:#e1e1e1;border-top:0}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:not(:last-child){border-right-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:first-child{border-left-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-drag-over[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-day-headers[_ngcontent-%COMP%] .cal-header[_ngcontent-%COMP%]:hover{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-event[_ngcontent-%COMP%]{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view[_ngcontent-%COMP%] .cal-all-day-events[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-header.cal-today[_ngcontent-%COMP%]{background-color:#e8fde7}.cal-week-view[_ngcontent-%COMP%] .cal-header.cal-weekend[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#8b0000}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%]{border-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-time-events[_ngcontent-%COMP%] .cal-day-columns[_ngcontent-%COMP%]:not(.cal-resize-active) .cal-hour-segment[_ngcontent-%COMP%]:hover{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-hour-odd[_ngcontent-%COMP%]{background-color:#fafafa}.cal-week-view[_ngcontent-%COMP%] .cal-drag-over[_ngcontent-%COMP%] .cal-hour-segment[_ngcontent-%COMP%]{background-color:#ededed}.cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:last-child [_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%], .cal-week-view[_ngcontent-%COMP%] .cal-hour[_ngcontent-%COMP%]:not(:last-child) .cal-hour-segment[_ngcontent-%COMP%]{border-bottom-color:#e1e1e1}.cal-week-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{background-color:#ea4334}.cal-day-view[_ngcontent-%COMP%] mwl-calendar-week-view-header[_ngcontent-%COMP%]{display:none}.cal-day-view[_ngcontent-%COMP%] .cal-events-container[_ngcontent-%COMP%]{margin-left:70px}.cal-day-view[_ngcontent-%COMP%] .cal-day-column[_ngcontent-%COMP%]{border-left:0}.cal-day-view[_ngcontent-%COMP%] .cal-current-time-marker[_ngcontent-%COMP%]{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip[_ngcontent-%COMP%]{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%]{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%]{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%]{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%]{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner[_ngcontent-%COMP%]{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow[_ngcontent-%COMP%]{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-top-color:#000}.cal-tooltip.cal-tooltip-right[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left[_ngcontent-%COMP%] .cal-tooltip-arrow[_ngcontent-%COMP%]{border-left-color:#000}.cal-tooltip-inner[_ngcontent-%COMP%]{background-color:#000;color:#fff}.m-button[_ngcontent-%COMP%], .m-button-grey[_ngcontent-%COMP%], .m-button-grey.reverse[_ngcontent-%COMP%], .m-button-primary[_ngcontent-%COMP%], .m-button-primary.reverse[_ngcontent-%COMP%], .m-button-secondary[_ngcontent-%COMP%], .m-button-secondary.reverse[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-primary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-secondary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%], .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]{padding:0}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child{margin-left:var(--m-button-gap)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:first-child{margin-right:var(--m-button-gap)}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child, .m-button[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]:last-child:first-child{margin:0}.m-button-primary[_ngcontent-%COMP%]{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary[_ngcontent-%COMP%]:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-primary)}}.m-button-primary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-primary.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse[_ngcontent-%COMP%]:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}}.m-button-primary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-primary)}.m-button-secondary[_ngcontent-%COMP%]{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary[_ngcontent-%COMP%]:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-secondary)}}.m-button-secondary[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-button-secondary.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse[_ngcontent-%COMP%]:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}}.m-button-secondary.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-secondary)}.m-button-grey[_ngcontent-%COMP%]{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey[_ngcontent-%COMP%]:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}}.m-button-grey[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-grey03)}.m-button-grey.reverse[_ngcontent-%COMP%]{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse[_ngcontent-%COMP%]:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse[_ngcontent-%COMP%]:hover ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-grey03)}}.m-button-grey.reverse[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var(--m-color-white)}.m-input[_ngcontent-%COMP%]{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input[_ngcontent-%COMP%]:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input[_ngcontent-%COMP%]{padding:8px}}.m-title-text-input[_ngcontent-%COMP%] .miam-text-input[_ngcontent-%COMP%]{max-width:565px}.miam-flex-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card[_ngcontent-%COMP%]{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card[_ngcontent-%COMP%]{margin-bottom:8px;padding:8px}}#toast-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{opacity:.95!important}@media (min-width:1023px){#toast-container[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover{opacity:1!important}}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}[_ngcontent-%COMP%]:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input[_ngcontent-%COMP%]:focus-within [_ngcontent-%COMP%]:root .miam-text-input__label[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root input[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root label[_ngcontent-%COMP%]:not(.miam-text-input__label__top), [_ngcontent-%COMP%]:root .m-body-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-h1-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-input[_ngcontent-%COMP%] > *[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-small-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%]:focus-within .miam-text-input__label[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root input[_ngcontent-%COMP%], .m-title-text-input[_ngcontent-%COMP%] [_ngcontent-%COMP%]:root label[_ngcontent-%COMP%]:not(.miam-text-input__label__top), [_ngcontent-%COMP%]:root .m-h1-typo[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], [_ngcontent-%COMP%]:root .m-title-text-input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}[_ngcontent-%COMP%]:root .m-small-typo[_ngcontent-%COMP%]{font-size:var(--m-font-size-small);line-height:16px}@media print{[_ngcontent-%COMP%]:root *[_ngcontent-%COMP%]{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}[_ngcontent-%COMP%]:root .miam-not-printable[_ngcontent-%COMP%]{display:none}[_ngcontent-%COMP%]:root:last-child{page-break-after:auto}}[_ngcontent-%COMP%]:root .miam-print-only[_ngcontent-%COMP%]{display:none}@media print{[_ngcontent-%COMP%]:root .miam-print-only[_ngcontent-%COMP%]{display:block}}.icon-container[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;justify-items:center;margin:auto;user-select:none}.icon-container[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto;width:-webkit-max-content;width:-moz-max-content;width:max-content}.icon-container[_ngcontent-%COMP%] .icon-container__icon[_ngcontent-%COMP%]{height:unset}"], changeDetection: 0 });
6470
6477
  /*@__PURE__*/ (function () {
6471
6478
  i0.ɵsetClassMetadata(IconComponent, [{
6472
6479
  type: i0.Component,
@@ -6674,67 +6681,139 @@
6674
6681
  }
6675
6682
  function ListInputComponent_ul_4_ng_template_2_li_0_option_9_Template(rf, ctx) {
6676
6683
  if (rf & 1) {
6677
- i0.ɵɵelement(0, "option", 37);
6684
+ i0.ɵɵelement(0, "option", 38);
6678
6685
  i0.ɵɵpipe(1, "capitalizeFirstLetter");
6679
6686
  }
6680
6687
  if (rf & 2) {
6681
- var ing_r26 = ctx.$implicit;
6682
- i0.ɵɵproperty("value", i0.ɵɵpipeBind1(1, 1, ing_r26));
6688
+ var ing_r27 = ctx.$implicit;
6689
+ i0.ɵɵproperty("value", i0.ɵɵpipeBind1(1, 1, ing_r27));
6683
6690
  }
6684
6691
  }
6685
6692
  function ListInputComponent_ul_4_ng_template_2_li_0_option_14_Template(rf, ctx) {
6686
6693
  if (rf & 1) {
6687
- i0.ɵɵelement(0, "option", 37);
6694
+ i0.ɵɵelement(0, "option", 38);
6695
+ }
6696
+ if (rf & 2) {
6697
+ var unit_r28 = ctx.$implicit;
6698
+ i0.ɵɵproperty("value", unit_r28);
6699
+ }
6700
+ }
6701
+ function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_2_Template(rf, ctx) {
6702
+ if (rf & 1) {
6703
+ i0.ɵɵelementStart(0, "label", 43);
6704
+ i0.ɵɵtext(1, "Primordial");
6705
+ i0.ɵɵelementEnd();
6706
+ }
6707
+ if (rf & 2) {
6708
+ var i_r19 = i0.ɵɵnextContext(3).index;
6709
+ i0.ɵɵpropertyInterpolate("for", "importance-id-primary" + i_r19);
6710
+ }
6711
+ }
6712
+ function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_3_Template(rf, ctx) {
6713
+ if (rf & 1) {
6714
+ i0.ɵɵelementStart(0, "label", 43);
6715
+ i0.ɵɵtext(1, "Secondaire");
6716
+ i0.ɵɵelementEnd();
6717
+ }
6718
+ if (rf & 2) {
6719
+ var i_r19 = i0.ɵɵnextContext(3).index;
6720
+ i0.ɵɵpropertyInterpolate("for", "importance-id-secondary" + i_r19);
6721
+ }
6722
+ }
6723
+ function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_4_Template(rf, ctx) {
6724
+ if (rf & 1) {
6725
+ i0.ɵɵelementStart(0, "label", 43);
6726
+ i0.ɵɵtext(1, "Facultatif");
6727
+ i0.ɵɵelementEnd();
6688
6728
  }
6689
6729
  if (rf & 2) {
6690
- var unit_r27 = ctx.$implicit;
6691
- i0.ɵɵproperty("value", unit_r27);
6730
+ var i_r19 = i0.ɵɵnextContext(3).index;
6731
+ i0.ɵɵpropertyInterpolate("for", "importance-id-tertiary" + i_r19);
6732
+ }
6733
+ }
6734
+ function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_Template(rf, ctx) {
6735
+ if (rf & 1) {
6736
+ var _r39_1 = i0.ɵɵgetCurrentView();
6737
+ i0.ɵɵelementStart(0, "div", 41);
6738
+ i0.ɵɵelementStart(1, "input", 42);
6739
+ i0.ɵɵlistener("click", function ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_Template_input_click_1_listener() { i0.ɵɵrestoreView(_r39_1); var importance_r30 = ctx.$implicit; var i_r19 = i0.ɵɵnextContext(2).index; var ctx_r37 = i0.ɵɵnextContext(3); return ctx_r37.updateImportance(importance_r30, i_r19); });
6740
+ i0.ɵɵelementEnd();
6741
+ i0.ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_2_Template, 2, 1, "label", 36);
6742
+ i0.ɵɵtemplate(3, ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_3_Template, 2, 1, "label", 36);
6743
+ i0.ɵɵtemplate(4, ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_label_4_Template, 2, 1, "label", 36);
6744
+ i0.ɵɵelementEnd();
6745
+ }
6746
+ if (rf & 2) {
6747
+ var importance_r30 = ctx.$implicit;
6748
+ var ctx_r40 = i0.ɵɵnextContext(2);
6749
+ var i_r19 = ctx_r40.index;
6750
+ var row_r18 = ctx_r40.$implicit;
6751
+ i0.ɵɵadvance(1);
6752
+ i0.ɵɵproperty("name", "importance" + i_r19)("id", "importance-id-" + importance_r30 + i_r19)("value", importance_r30)("formControl", row_r18["controls"]["attributes"]["controls"]["importance"]);
6753
+ i0.ɵɵadvance(1);
6754
+ i0.ɵɵproperty("ngIf", importance_r30 === "primary");
6755
+ i0.ɵɵadvance(1);
6756
+ i0.ɵɵproperty("ngIf", importance_r30 === "secondary");
6757
+ i0.ɵɵadvance(1);
6758
+ i0.ɵɵproperty("ngIf", importance_r30 === "tertiary");
6759
+ }
6760
+ }
6761
+ function ListInputComponent_ul_4_ng_template_2_li_0_div_15_Template(rf, ctx) {
6762
+ if (rf & 1) {
6763
+ i0.ɵɵelementStart(0, "div", 39);
6764
+ i0.ɵɵtemplate(1, ListInputComponent_ul_4_ng_template_2_li_0_div_15_div_1_Template, 5, 7, "div", 40);
6765
+ i0.ɵɵelementEnd();
6766
+ }
6767
+ if (rf & 2) {
6768
+ var ctx_r22 = i0.ɵɵnextContext(4);
6769
+ i0.ɵɵadvance(1);
6770
+ i0.ɵɵproperty("ngForOf", ctx_r22.getImportances());
6692
6771
  }
6693
6772
  }
6694
6773
  var _c0$1 = function (a0) { return { clickable: a0 }; };
6695
- function ListInputComponent_ul_4_ng_template_2_li_0_label_16_img_1_Template(rf, ctx) {
6774
+ function ListInputComponent_ul_4_ng_template_2_li_0_label_17_img_1_Template(rf, ctx) {
6696
6775
  if (rf & 1) {
6697
- i0.ɵɵelement(0, "img", 41);
6776
+ i0.ɵɵelement(0, "img", 46);
6698
6777
  }
6699
6778
  if (rf & 2) {
6700
6779
  var row_r18 = i0.ɵɵnextContext(2).$implicit;
6701
- var ctx_r28 = i0.ɵɵnextContext(3);
6702
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$1, ctx_r28.ingredientsPictures.editable))("src", row_r18.controls.attributes.controls["picture-url"].value, i0.ɵɵsanitizeUrl);
6780
+ var ctx_r41 = i0.ɵɵnextContext(3);
6781
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$1, ctx_r41.ingredientsPictures.editable))("src", row_r18.controls.attributes.controls["picture-url"].value, i0.ɵɵsanitizeUrl);
6703
6782
  }
6704
6783
  }
6705
- function ListInputComponent_ul_4_ng_template_2_li_0_label_16_ng_miam_icon_2_Template(rf, ctx) {
6784
+ function ListInputComponent_ul_4_ng_template_2_li_0_label_17_ng_miam_icon_2_Template(rf, ctx) {
6706
6785
  if (rf & 1) {
6707
- i0.ɵɵelement(0, "ng-miam-icon", 42);
6786
+ i0.ɵɵelement(0, "ng-miam-icon", 47);
6708
6787
  }
6709
6788
  if (rf & 2) {
6710
- var ctx_r29 = i0.ɵɵnextContext(5);
6711
- i0.ɵɵproperty("iconName", ctx_r29.icon.Picture);
6789
+ var ctx_r42 = i0.ɵɵnextContext(5);
6790
+ i0.ɵɵproperty("iconName", ctx_r42.icon.Picture);
6712
6791
  }
6713
6792
  }
6714
- function ListInputComponent_ul_4_ng_template_2_li_0_label_16_Template(rf, ctx) {
6793
+ function ListInputComponent_ul_4_ng_template_2_li_0_label_17_Template(rf, ctx) {
6715
6794
  if (rf & 1) {
6716
- i0.ɵɵelementStart(0, "label", 38);
6717
- i0.ɵɵtemplate(1, ListInputComponent_ul_4_ng_template_2_li_0_label_16_img_1_Template, 1, 4, "img", 39);
6718
- i0.ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_li_0_label_16_ng_miam_icon_2_Template, 1, 1, "ng-miam-icon", 40);
6795
+ i0.ɵɵelementStart(0, "label", 43);
6796
+ i0.ɵɵtemplate(1, ListInputComponent_ul_4_ng_template_2_li_0_label_17_img_1_Template, 1, 4, "img", 44);
6797
+ i0.ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_li_0_label_17_ng_miam_icon_2_Template, 1, 1, "ng-miam-icon", 45);
6719
6798
  i0.ɵɵelementEnd();
6720
6799
  }
6721
6800
  if (rf & 2) {
6722
- var ctx_r31 = i0.ɵɵnextContext();
6723
- var i_r19 = ctx_r31.index;
6724
- var row_r18 = ctx_r31.$implicit;
6725
- var ctx_r22 = i0.ɵɵnextContext(3);
6801
+ var ctx_r44 = i0.ɵɵnextContext();
6802
+ var i_r19 = ctx_r44.index;
6803
+ var row_r18 = ctx_r44.$implicit;
6804
+ var ctx_r23 = i0.ɵɵnextContext(3);
6726
6805
  i0.ɵɵpropertyInterpolate1("for", "ing-picture-", i_r19, "");
6727
6806
  i0.ɵɵadvance(1);
6728
6807
  i0.ɵɵproperty("ngIf", row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value);
6729
6808
  i0.ɵɵadvance(1);
6730
- i0.ɵɵproperty("ngIf", !(row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value) && ctx_r22.ingredientsPictures.editable);
6809
+ i0.ɵɵproperty("ngIf", !(row_r18.controls.attributes.controls["picture-url"] == null ? null : row_r18.controls.attributes.controls["picture-url"].value) && ctx_r23.ingredientsPictures.editable);
6731
6810
  }
6732
6811
  }
6733
- function ListInputComponent_ul_4_ng_template_2_li_0_input_17_Template(rf, ctx) {
6812
+ function ListInputComponent_ul_4_ng_template_2_li_0_input_18_Template(rf, ctx) {
6734
6813
  if (rf & 1) {
6735
- var _r33_1 = i0.ɵɵgetCurrentView();
6736
- i0.ɵɵelementStart(0, "input", 43);
6737
- i0.ɵɵlistener("change", function ListInputComponent_ul_4_ng_template_2_li_0_input_17_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r33_1); var row_r18 = i0.ɵɵnextContext().$implicit; var ctx_r32 = i0.ɵɵnextContext(3); return ctx_r32.uploadIngredientPicture($event.target.files, row_r18.controls.attributes.controls["picture-url"]); });
6814
+ var _r46_1 = i0.ɵɵgetCurrentView();
6815
+ i0.ɵɵelementStart(0, "input", 48);
6816
+ i0.ɵɵlistener("change", function ListInputComponent_ul_4_ng_template_2_li_0_input_18_Template_input_change_0_listener($event) { i0.ɵɵrestoreView(_r46_1); var row_r18 = i0.ɵɵnextContext().$implicit; var ctx_r45 = i0.ɵɵnextContext(3); return ctx_r45.uploadIngredientPicture($event.target.files, row_r18.controls.attributes.controls["picture-url"]); });
6738
6817
  i0.ɵɵelementEnd();
6739
6818
  }
6740
6819
  if (rf & 2) {
@@ -6742,35 +6821,35 @@
6742
6821
  i0.ɵɵpropertyInterpolate1("id", "ing-picture-", i_r19, "");
6743
6822
  }
6744
6823
  }
6745
- function ListInputComponent_ul_4_ng_template_2_li_0_div_19_Template(rf, ctx) {
6824
+ function ListInputComponent_ul_4_ng_template_2_li_0_div_20_Template(rf, ctx) {
6746
6825
  if (rf & 1) {
6747
6826
  i0.ɵɵelement(0, "div", 23);
6748
6827
  }
6749
6828
  }
6750
- function ListInputComponent_ul_4_ng_template_2_li_0_div_20_Template(rf, ctx) {
6829
+ function ListInputComponent_ul_4_ng_template_2_li_0_div_21_Template(rf, ctx) {
6751
6830
  if (rf & 1) {
6752
6831
  i0.ɵɵelementStart(0, "div", 24);
6753
- i0.ɵɵelement(1, "ng-miam-icon", 44);
6754
- i0.ɵɵelementStart(2, "span", 45);
6832
+ i0.ɵɵelement(1, "ng-miam-icon", 49);
6833
+ i0.ɵɵelementStart(2, "span", 50);
6755
6834
  i0.ɵɵtext(3);
6756
6835
  i0.ɵɵpipe(4, "capitalizeFirstLetter");
6757
6836
  i0.ɵɵelementEnd();
6758
- i0.ɵɵelementStart(5, "span", 45);
6837
+ i0.ɵɵelementStart(5, "span", 50);
6759
6838
  i0.ɵɵtext(6);
6760
6839
  i0.ɵɵelementEnd();
6761
- i0.ɵɵelementStart(7, "span", 45);
6840
+ i0.ɵɵelementStart(7, "span", 50);
6762
6841
  i0.ɵɵtext(8);
6763
6842
  i0.ɵɵelementEnd();
6764
6843
  i0.ɵɵelementEnd();
6765
6844
  }
6766
6845
  if (rf & 2) {
6767
6846
  var row_r18 = i0.ɵɵnextContext().$implicit;
6768
- var ctx_r25 = i0.ɵɵnextContext(3);
6847
+ var ctx_r26 = i0.ɵɵnextContext(3);
6769
6848
  var tmp_1_0 = null;
6770
6849
  var tmp_2_0 = null;
6771
6850
  var tmp_3_0 = null;
6772
6851
  i0.ɵɵadvance(1);
6773
- i0.ɵɵproperty("iconName", ctx_r25.icon.Grip);
6852
+ i0.ɵɵproperty("iconName", ctx_r26.icon.Grip);
6774
6853
  i0.ɵɵadvance(2);
6775
6854
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 4, row_r18 == null ? null : (tmp_1_0 = row_r18.get("attributes")) == null ? null : tmp_1_0.get("name").value));
6776
6855
  i0.ɵɵadvance(3);
@@ -6781,7 +6860,7 @@
6781
6860
  }
6782
6861
  function ListInputComponent_ul_4_ng_template_2_li_0_Template(rf, ctx) {
6783
6862
  if (rf & 1) {
6784
- var _r38_1 = i0.ɵɵgetCurrentView();
6863
+ var _r51_1 = i0.ɵɵgetCurrentView();
6785
6864
  i0.ɵɵelementStart(0, "li", 14);
6786
6865
  i0.ɵɵelementStart(1, "div", 27);
6787
6866
  i0.ɵɵelementStart(2, "div", 28);
@@ -6795,23 +6874,24 @@
6795
6874
  i0.ɵɵtemplate(9, ListInputComponent_ul_4_ng_template_2_li_0_option_9_Template, 2, 3, "option", 31);
6796
6875
  i0.ɵɵelementEnd();
6797
6876
  i0.ɵɵelementStart(10, "input", 32);
6798
- i0.ɵɵlistener("ngModelChange", function ListInputComponent_ul_4_ng_template_2_li_0_Template_input_ngModelChange_10_listener($event) { i0.ɵɵrestoreView(_r38_1); var i_r19 = ctx.index; var ctx_r37 = i0.ɵɵnextContext(3); return ctx_r37.updateQuantityValue($event, i_r19); });
6877
+ i0.ɵɵlistener("ngModelChange", function ListInputComponent_ul_4_ng_template_2_li_0_Template_input_ngModelChange_10_listener($event) { i0.ɵɵrestoreView(_r51_1); var i_r19 = ctx.index; var ctx_r50 = i0.ɵɵnextContext(3); return ctx_r50.updateQuantityValue($event, i_r19); });
6799
6878
  i0.ɵɵelementEnd();
6800
6879
  i0.ɵɵelement(11, "input", 33);
6801
6880
  i0.ɵɵpipe(12, "async");
6802
6881
  i0.ɵɵelementStart(13, "datalist");
6803
6882
  i0.ɵɵtemplate(14, ListInputComponent_ul_4_ng_template_2_li_0_option_14_Template, 1, 1, "option", 31);
6804
6883
  i0.ɵɵelementEnd();
6884
+ i0.ɵɵtemplate(15, ListInputComponent_ul_4_ng_template_2_li_0_div_15_Template, 2, 1, "div", 34);
6805
6885
  i0.ɵɵelementEnd();
6806
6886
  i0.ɵɵelementEnd();
6807
- i0.ɵɵelementStart(15, "div", 34);
6808
- i0.ɵɵtemplate(16, ListInputComponent_ul_4_ng_template_2_li_0_label_16_Template, 3, 3, "label", 35);
6809
- i0.ɵɵtemplate(17, ListInputComponent_ul_4_ng_template_2_li_0_input_17_Template, 1, 1, "input", 36);
6810
- i0.ɵɵelementStart(18, "ng-miam-icon", 20);
6811
- i0.ɵɵlistener("click", function ListInputComponent_ul_4_ng_template_2_li_0_Template_ng_miam_icon_click_18_listener() { i0.ɵɵrestoreView(_r38_1); var i_r19 = ctx.index; var ctx_r39 = i0.ɵɵnextContext(3); return ctx_r39.delete(i_r19); });
6887
+ i0.ɵɵelementStart(16, "div", 35);
6888
+ i0.ɵɵtemplate(17, ListInputComponent_ul_4_ng_template_2_li_0_label_17_Template, 3, 3, "label", 36);
6889
+ i0.ɵɵtemplate(18, ListInputComponent_ul_4_ng_template_2_li_0_input_18_Template, 1, 1, "input", 37);
6890
+ i0.ɵɵelementStart(19, "ng-miam-icon", 20);
6891
+ i0.ɵɵlistener("click", function ListInputComponent_ul_4_ng_template_2_li_0_Template_ng_miam_icon_click_19_listener() { i0.ɵɵrestoreView(_r51_1); var i_r19 = ctx.index; var ctx_r52 = i0.ɵɵnextContext(3); return ctx_r52.delete(i_r19); });
6812
6892
  i0.ɵɵelementEnd();
6813
- i0.ɵɵtemplate(19, ListInputComponent_ul_4_ng_template_2_li_0_div_19_Template, 1, 0, "div", 21);
6814
- i0.ɵɵtemplate(20, ListInputComponent_ul_4_ng_template_2_li_0_div_20_Template, 9, 6, "div", 22);
6893
+ i0.ɵɵtemplate(20, ListInputComponent_ul_4_ng_template_2_li_0_div_20_Template, 1, 0, "div", 21);
6894
+ i0.ɵɵtemplate(21, ListInputComponent_ul_4_ng_template_2_li_0_div_21_Template, 9, 6, "div", 22);
6815
6895
  i0.ɵɵelementEnd();
6816
6896
  i0.ɵɵelementEnd();
6817
6897
  }
@@ -6824,7 +6904,7 @@
6824
6904
  i0.ɵɵadvance(2);
6825
6905
  i0.ɵɵproperty("iconName", ctx_r17.icon.Grip);
6826
6906
  i0.ɵɵadvance(2);
6827
- i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(6, 18, ctx_r17.isIngredientReviewed(row_r18["controls"]["attributes"]["controls"]["name"].value)) ? "alert-success" : "alert-danger")("ngModel", i0.ɵɵpipeBind1(7, 20, row_r18["controls"]["attributes"]["controls"]["name"].value))("formControl", row_r18["controls"]["attributes"]["controls"]["name"]);
6907
+ i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(6, 19, ctx_r17.isIngredientReviewed(row_r18["controls"]["attributes"]["controls"]["name"].value)) ? "alert-success" : "alert-danger")("ngModel", i0.ɵɵpipeBind1(7, 21, row_r18["controls"]["attributes"]["controls"]["name"].value))("formControl", row_r18["controls"]["attributes"]["controls"]["name"]);
6828
6908
  i0.ɵɵattribute("list", "miam-list-input-dropdown-ingredients-id" + i_r19);
6829
6909
  i0.ɵɵadvance(3);
6830
6910
  i0.ɵɵattribute("id", "miam-list-input-dropdown-ingredients-id" + i_r19);
@@ -6833,12 +6913,14 @@
6833
6913
  i0.ɵɵadvance(1);
6834
6914
  i0.ɵɵproperty("ngModel", row_r18["controls"]["attributes"]["controls"]["quantity"].value)("formControl", row_r18["controls"]["attributes"]["controls"]["quantity"]);
6835
6915
  i0.ɵɵadvance(1);
6836
- i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(12, 22, ctx_r17.isQuantityReviewed(row_r18["controls"]["attributes"]["controls"]["unit"].value)) ? "alert-success" : "alert-danger")("formControl", row_r18["controls"]["attributes"]["controls"]["unit"]);
6916
+ i0.ɵɵproperty("ngClass", i0.ɵɵpipeBind1(12, 23, ctx_r17.isQuantityReviewed(row_r18["controls"]["attributes"]["controls"]["unit"].value)) ? "alert-success" : "alert-danger")("formControl", row_r18["controls"]["attributes"]["controls"]["unit"]);
6837
6917
  i0.ɵɵattribute("list", "miam-list-input-dropdown-units-id" + i_r19);
6838
6918
  i0.ɵɵadvance(2);
6839
6919
  i0.ɵɵattribute("id", "miam-list-input-dropdown-units-id" + i_r19);
6840
6920
  i0.ɵɵadvance(1);
6841
6921
  i0.ɵɵproperty("ngForOf", ctx_r17.getFilteredUnitsFromIndex(i_r19));
6922
+ i0.ɵɵadvance(1);
6923
+ i0.ɵɵproperty("ngIf", ctx_r17.getImportances().length > 0);
6842
6924
  i0.ɵɵadvance(2);
6843
6925
  i0.ɵɵproperty("ngIf", ctx_r17.ingredientsPictures.visible);
6844
6926
  i0.ɵɵadvance(1);
@@ -6849,7 +6931,7 @@
6849
6931
  }
6850
6932
  function ListInputComponent_ul_4_ng_template_2_Template(rf, ctx) {
6851
6933
  if (rf & 1) {
6852
- i0.ɵɵtemplate(0, ListInputComponent_ul_4_ng_template_2_li_0_Template, 21, 24, "li", 13);
6934
+ i0.ɵɵtemplate(0, ListInputComponent_ul_4_ng_template_2_li_0_Template, 22, 25, "li", 13);
6853
6935
  }
6854
6936
  if (rf & 2) {
6855
6937
  var ctx_r6 = i0.ɵɵnextContext(2);
@@ -6858,9 +6940,9 @@
6858
6940
  }
6859
6941
  function ListInputComponent_ul_4_Template(rf, ctx) {
6860
6942
  if (rf & 1) {
6861
- var _r41_1 = i0.ɵɵgetCurrentView();
6943
+ var _r54_1 = i0.ɵɵgetCurrentView();
6862
6944
  i0.ɵɵelementStart(0, "ul", 10);
6863
- i0.ɵɵlistener("cdkDropListDropped", function ListInputComponent_ul_4_Template_ul_cdkDropListDropped_0_listener($event) { i0.ɵɵrestoreView(_r41_1); var ctx_r40 = i0.ɵɵnextContext(); return ctx_r40.drop($event); });
6945
+ i0.ɵɵlistener("cdkDropListDropped", function ListInputComponent_ul_4_Template_ul_cdkDropListDropped_0_listener($event) { i0.ɵɵrestoreView(_r54_1); var ctx_r53 = i0.ɵɵnextContext(); return ctx_r53.drop($event); });
6864
6946
  i0.ɵɵtemplate(1, ListInputComponent_ul_4_ng_container_1_Template, 2, 2, "ng-container", 11);
6865
6947
  i0.ɵɵtemplate(2, ListInputComponent_ul_4_ng_template_2_Template, 1, 2, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
6866
6948
  i0.ɵɵelementEnd();
@@ -6874,9 +6956,9 @@
6874
6956
  }
6875
6957
  function ListInputComponent_ng_template_5_Template(rf, ctx) {
6876
6958
  if (rf & 1) {
6877
- i0.ɵɵelementStart(0, "div", 46);
6878
- i0.ɵɵelement(1, "ng-miam-icon", 47);
6879
- i0.ɵɵelementStart(2, "span", 48);
6959
+ i0.ɵɵelementStart(0, "div", 51);
6960
+ i0.ɵɵelement(1, "ng-miam-icon", 52);
6961
+ i0.ɵɵelementStart(2, "span", 53);
6880
6962
  i0.ɵɵtext(3);
6881
6963
  i0.ɵɵelementEnd();
6882
6964
  i0.ɵɵelementEnd();
@@ -6891,7 +6973,7 @@
6891
6973
  }
6892
6974
  function ListInputComponent_div_13_Template(rf, ctx) {
6893
6975
  if (rf & 1) {
6894
- i0.ɵɵelementStart(0, "div", 49);
6976
+ i0.ɵɵelementStart(0, "div", 54);
6895
6977
  i0.ɵɵtext(1);
6896
6978
  i0.ɵɵelementEnd();
6897
6979
  }
@@ -6907,6 +6989,7 @@
6907
6989
  this.fb = fb;
6908
6990
  this.cdr = cdr;
6909
6991
  this.placeholder = '';
6992
+ this.isPersonal = false;
6910
6993
  this.list = new i15.FormArray([]);
6911
6994
  this.ingredientsPictures = { visible: false, editable: false };
6912
6995
  this.icon = exports.Icon;
@@ -6939,7 +7022,11 @@
6939
7022
  attributes: _this.fb.group({
6940
7023
  quantity: new i15.FormControl(ing.attributes.quantity, i15.Validators.required),
6941
7024
  unit: new i15.FormControl(ing.attributes.unit, i15.Validators.required),
6942
- name: new i15.FormControl(ing.attributes.name, i15.Validators.required)
7025
+ name: new i15.FormControl(ing.attributes.name, i15.Validators.required),
7026
+ // importance: new FormControl(ing.attributes.importance,
7027
+ // this.isPersonal ? Validators.nullValidator : Validators.required),
7028
+ // Not mandatory for the moment, decomment above if mandatory later
7029
+ importance: new i15.FormControl(ing.attributes.importance, i15.Validators.nullValidator),
6943
7030
  })
6944
7031
  }));
6945
7032
  _this.previousQuantities.push(ing.attributes.quantity);
@@ -7068,10 +7155,26 @@
7068
7155
  }
7069
7156
  return filteredSelection;
7070
7157
  };
7158
+ /**
7159
+ * function that returns an Array of importances
7160
+ */
7161
+ ListInputComponent.prototype.getImportances = function () {
7162
+ return ['primary', 'secondary', 'tertiary'];
7163
+ };
7164
+ /**
7165
+ * updates the importance of a given ingredient
7166
+ * @param value new value
7167
+ * @param index of the ingredient
7168
+ */
7169
+ ListInputComponent.prototype.updateImportance = function (value, index) {
7170
+ this.list.controls[index]['controls']['attributes']['controls']['importance'].value = value;
7171
+ this.cdr.detectChanges();
7172
+ this.list.markAsDirty();
7173
+ };
7071
7174
  return ListInputComponent;
7072
7175
  }());
7073
7176
  ListInputComponent.ɵfac = function ListInputComponent_Factory(t) { return new (t || ListInputComponent)(i0.ɵɵdirectiveInject(IngredientsService), i0.ɵɵdirectiveInject(i15.FormBuilder), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
7074
- ListInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListInputComponent, selectors: [["ng-miam-list-input"]], inputs: { hint: "hint", placeholder: "placeholder", label: "label", instructions: "instructions", ingredientMode: "ingredientMode", list: "list", ingredientsPictures: "ingredientsPictures" }, outputs: { deleteId: "deleteId", orderHasChanged: "orderHasChanged" }, decls: 14, vars: 7, consts: [[1, "miam-list-input"], [1, "miam-list-input__list", 3, "formGroup"], [1, "miam-list-input__list__label"], ["class", "miam-list-input__container m-default-card", "cdkDropList", "", 3, "cdkDropListDropped", 4, "ngIf", "ngIfElse"], ["hintPlaceholder", ""], [1, "miam-list-input__actions"], ["matInput", "", "cdkTextareaAutosize", "", "cdkAutosizeMinRows", "4", "cdkAutosizeMaxRows", "4", 1, "m-input", 3, "formControl", "keydown.enter"], [1, "m-button-primary", 3, "mousedown", "mouseup"], [1, "miam-list-input__instructions__direction"], ["class", "miam-list-input__actions__instructions", 4, "ngIf"], ["cdkDropList", "", 1, "miam-list-input__container", "m-default-card", 3, "cdkDropListDropped"], [4, "ngIf", "ngIfElse"], ["ingredientRow", ""], ["cdkDrag", "", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", ""], [3, "formGroup"], [1, "miam-list-input__container__row", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 1, "miam-list-input__row__grip", 3, "iconName"], ["cdkTextareaAutosize", "true", "cdkAutosizeMinRows", "1", "cdkAutosizeMaxRows", "50", "formControlName", "description", 1, "m-input", 3, "blur"], ["autosize", "cdkTextareaAutosize"], ["primaryColor", "var(--m-color-grey05)", 1, "miam-list-input__row__trash", 3, "iconName", "click"], ["class", "miam-list-input__row__placeholder", 4, "cdkDragPlaceholder"], ["class", "miam-list-input__row__preview m-default-card", 4, "cdkDragPreview"], [1, "miam-list-input__row__placeholder"], [1, "miam-list-input__row__preview", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 3, "iconName"], [1, "miam-list-input__preview__text", "m-body-typo"], [1, "miam-list-input__container__row", "m-default-card", 3, "formGroupName"], [1, "miam-list-input__row__left"], [1, "miam-list-input__row__right"], [1, "m-input", 3, "ngClass", "ngModel", "formControl"], [3, "value", 4, "ngFor", "ngForOf"], ["maxSize", "4", "autoWidthInput", "", 1, "m-input", 3, "ngModel", "formControl", "ngModelChange"], ["maxSize", "8", "autoWidthInput", "", 1, "m-input", 3, "ngClass", "formControl"], [1, "miam-list-input__row__controls"], [3, "for", 4, "ngIf"], ["type", "file", "accept", "image/jpeg, image/png, image/webp", 3, "id", "change", 4, "ngIf"], [3, "value"], [3, "for"], ["class", "miam-list-input__row__picture", 3, "ngClass", "src", 4, "ngIf"], ["class", "miam-list-input__row__trash", "primaryColor", "var(--m-color-grey05)", 3, "iconName", 4, "ngIf"], [1, "miam-list-input__row__picture", 3, "ngClass", "src"], ["primaryColor", "var(--m-color-grey05)", 1, "miam-list-input__row__trash", 3, "iconName"], ["type", "file", "accept", "image/jpeg, image/png, image/webp", 3, "id", "change"], ["primaryColor", "var(--m-color-grey-text-dark)", "cdkDragHandle", "", 3, "iconName"], [1, "m-body-typo"], [1, "miam-list-input__placeholder", "miam-list-input__container", "m-default-card"], ["primaryColor", "var(--m-color-grey-text-dark)", 3, "width", "height", "iconName"], [1, "miam-list-input__placeholder__hint", "m-body-typo"], [1, "miam-list-input__actions__instructions"]], template: function ListInputComponent_Template(rf, ctx) {
7177
+ ListInputComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ListInputComponent, selectors: [["ng-miam-list-input"]], inputs: { hint: "hint", placeholder: "placeholder", label: "label", instructions: "instructions", ingredientMode: "ingredientMode", isPersonal: "isPersonal", list: "list", ingredientsPictures: "ingredientsPictures" }, outputs: { deleteId: "deleteId", orderHasChanged: "orderHasChanged" }, decls: 14, vars: 7, consts: [[1, "miam-list-input"], [1, "miam-list-input__list", 3, "formGroup"], [1, "miam-list-input__list__label"], ["class", "miam-list-input__container m-default-card", "cdkDropList", "", 3, "cdkDropListDropped", 4, "ngIf", "ngIfElse"], ["hintPlaceholder", ""], [1, "miam-list-input__actions"], ["matInput", "", "cdkTextareaAutosize", "", "cdkAutosizeMinRows", "4", "cdkAutosizeMaxRows", "4", 1, "m-input", 3, "formControl", "keydown.enter"], [1, "m-button-primary", 3, "mousedown", "mouseup"], [1, "miam-list-input__instructions__direction"], ["class", "miam-list-input__actions__instructions", 4, "ngIf"], ["cdkDropList", "", 1, "miam-list-input__container", "m-default-card", 3, "cdkDropListDropped"], [4, "ngIf", "ngIfElse"], ["ingredientRow", ""], ["cdkDrag", "", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["cdkDrag", ""], [3, "formGroup"], [1, "miam-list-input__container__row", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 1, "miam-list-input__row__grip", 3, "iconName"], ["cdkTextareaAutosize", "true", "cdkAutosizeMinRows", "1", "cdkAutosizeMaxRows", "50", "formControlName", "description", 1, "m-input", 3, "blur"], ["autosize", "cdkTextareaAutosize"], ["primaryColor", "var(--m-color-grey05)", 1, "miam-list-input__row__trash", 3, "iconName", "click"], ["class", "miam-list-input__row__placeholder", 4, "cdkDragPlaceholder"], ["class", "miam-list-input__row__preview m-default-card", 4, "cdkDragPreview"], [1, "miam-list-input__row__placeholder"], [1, "miam-list-input__row__preview", "m-default-card"], ["primaryColor", "var(--m-color-grey05)", "cdkDragHandle", "", 3, "iconName"], [1, "miam-list-input__preview__text", "m-body-typo"], [1, "miam-list-input__container__row", "m-default-card", 3, "formGroupName"], [1, "miam-list-input__row__left"], [1, "miam-list-input__row__right"], [1, "m-input", 3, "ngClass", "ngModel", "formControl"], [3, "value", 4, "ngFor", "ngForOf"], ["maxSize", "4", "autoWidthInput", "", 1, "m-input", 3, "ngModel", "formControl", "ngModelChange"], ["maxSize", "8", "autoWidthInput", "", 1, "m-input", 3, "ngClass", "formControl"], ["class", "miam-list-input__importance", 4, "ngIf"], [1, "miam-list-input__row__controls"], [3, "for", 4, "ngIf"], ["type", "file", "accept", "image/jpeg, image/png, image/webp", 3, "id", "change", 4, "ngIf"], [3, "value"], [1, "miam-list-input__importance"], ["class", "miam-list-input__importance__radio", 4, "ngFor", "ngForOf"], [1, "miam-list-input__importance__radio"], ["type", "radio", 3, "name", "id", "value", "formControl", "click"], [3, "for"], ["class", "miam-list-input__row__picture", 3, "ngClass", "src", 4, "ngIf"], ["class", "miam-list-input__row__trash", "primaryColor", "var(--m-color-grey05)", 3, "iconName", 4, "ngIf"], [1, "miam-list-input__row__picture", 3, "ngClass", "src"], ["primaryColor", "var(--m-color-grey05)", 1, "miam-list-input__row__trash", 3, "iconName"], ["type", "file", "accept", "image/jpeg, image/png, image/webp", 3, "id", "change"], ["primaryColor", "var(--m-color-grey-text-dark)", "cdkDragHandle", "", 3, "iconName"], [1, "m-body-typo"], [1, "miam-list-input__placeholder", "miam-list-input__container", "m-default-card"], ["primaryColor", "var(--m-color-grey-text-dark)", 3, "width", "height", "iconName"], [1, "miam-list-input__placeholder__hint", "m-body-typo"], [1, "miam-list-input__actions__instructions"]], template: function ListInputComponent_Template(rf, ctx) {
7075
7178
  if (rf & 1) {
7076
7179
  i0.ɵɵelementStart(0, "div", 0);
7077
7180
  i0.ɵɵelementStart(1, "div", 1);
@@ -7110,7 +7213,7 @@
7110
7213
  i0.ɵɵadvance(5);
7111
7214
  i0.ɵɵproperty("ngIf", ctx.instructions);
7112
7215
  }
7113
- }, directives: [i15.NgControlStatusGroup, i15.FormGroupDirective, i4.NgIf, i4$1.CdkTextareaAutosize, i15.DefaultValueAccessor, i15.NgControlStatus, i15.FormControlDirective, i5.CdkDropList, i4.NgForOf, i5.CdkDrag, IconComponent, i5.CdkDragHandle, i15.FormControlName, i5.CdkDragPlaceholder, i5.CdkDragPreview, i15.FormGroupName, i4.NgClass, AutowidthInputDirective, i15.NgSelectOption, i15.ɵangular_packages_forms_forms_x], pipes: [i4.AsyncPipe, CapitalizeFirstLetterPipe], styles: [".miam-list-input[_ngcontent-%COMP%]{padding:8px}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%]{width:calc(100% - 16px)}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{margin-top:50px;position:relative}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{width:55%}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__list__label[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);border-radius:8px 8px 0 0;color:var(--m-color-secondary);font-weight:700;left:0;padding:8px 24px;position:absolute;top:-33px;width:200px;z-index:0}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:400px;margin-bottom:32px;overflow-x:hidden;overflow-y:auto;position:inherit;z-index:1}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{height:55vh;margin-bottom:16px;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-button{height:20px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;row-gap:8px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:16px;align-items:center;column-gap:16px;display:flex;list-style:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:0;column-gap:0}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;flex:1;flex-direction:row;gap:16px;user-select:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{margin-right:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{max-width:unset;padding:inherit}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin:unset;max-width:unset;min-width:unset}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:60vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{cursor:move}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{margin-left:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;width:200px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{align-items:center;display:flex;flex:1;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-right:8px;width:80px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:first-child{flex:1}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:last-child{margin-right:0;text-align:right}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{flex-wrap:wrap}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{flex:1;margin-bottom:8px;margin-right:4px}}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{max-width:60vw}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:58vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-success[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-success);border-radius:8px;box-shadow:0 0 4px var(--m-color-success)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-danger[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-danger);border-radius:8px;box-shadow:0 0 4px var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%]{align-items:center;display:flex;gap:8px;justify-content:space-between}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;justify-content:center;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture.clickable[_ngcontent-%COMP%]{cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] .miam-list-input__row__trash[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;margin:0;max-width:none;outline:none;padding:5px;resize:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.warnning[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.error[_ngcontent-%COMP%]{background-color:var(--m-color-danger);color:var(--m-color-danger-text)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[cdktextareaautosize][_ngcontent-%COMP%]{overflow:hidden}.miam-list-input[_ngcontent-%COMP%] .hint[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;font-size:12px;font-weight:600;padding-bottom:10px}.miam-list-input[_ngcontent-%COMP%] .hint.warnning[_ngcontent-%COMP%]{color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .hint.error[_ngcontent-%COMP%]{color:var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%]{align-items:center;justify-content:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%] .miam-list-input__placeholder__hint[_ngcontent-%COMP%]{color:var(--m-color-secondary);margin-top:40px;opacity:.5;text-align:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{-moz-column-gap:32px;column-gap:32px;display:flex;justify-content:space-between}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{width:calc(45% - 32px)}}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{flex-direction:column}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{flex:1;margin-top:0;outline:none;resize:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:90vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{background-color:var(--m-color-info);border-radius:8px;color:var(--m-color-info-text);max-width:calc(98vw - 776px);padding:8px;position:absolute;top:315px;white-space:pre-line;width:400px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{margin-top:16px;max-width:unset;position:unset;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{margin-left:4px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{display:none}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.miam-list-input__row__preview[_ngcontent-%COMP%]{align-items:center;display:flex;width:530px}@media (max-width:1023px){.miam-list-input__row__preview[_ngcontent-%COMP%]{flex-wrap:wrap;width:80vw}}.miam-list-input__row__preview[_ngcontent-%COMP%] .miam-list-input__preview__text[_ngcontent-%COMP%]{padding:5px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{flex:1;flex-shrink:1;margin-left:8px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2n){margin-right:8px}.miam-list-input__row__placeholder[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;background:var(--m-color-grey07);border-radius:8px;margin-right:24px;min-height:60px;user-select:none}.cdk-drag-animating[_ngcontent-%COMP%], .miam-list-input__row__placeholder[_ngcontent-%COMP%], ul.cdk-drop-list-dragging[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"] });
7216
+ }, directives: [i15.NgControlStatusGroup, i15.FormGroupDirective, i4.NgIf, i4$1.CdkTextareaAutosize, i15.DefaultValueAccessor, i15.NgControlStatus, i15.FormControlDirective, i5.CdkDropList, i4.NgForOf, i5.CdkDrag, IconComponent, i5.CdkDragHandle, i15.FormControlName, i5.CdkDragPlaceholder, i5.CdkDragPreview, i15.FormGroupName, i4.NgClass, AutowidthInputDirective, i15.NgSelectOption, i15.ɵangular_packages_forms_forms_x, i15.RadioControlValueAccessor], pipes: [i4.AsyncPipe, CapitalizeFirstLetterPipe], styles: [".miam-list-input[_ngcontent-%COMP%]{padding:8px}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%]{width:calc(100% - 16px)}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{margin-top:50px;position:relative}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%]{width:55%}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__list__label[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);border-radius:8px 8px 0 0;color:var(--m-color-secondary);font-weight:700;left:0;padding:8px 24px;position:absolute;top:-33px;width:200px;z-index:0}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:400px;margin-bottom:32px;overflow-x:hidden;overflow-y:auto;position:inherit;z-index:1}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]{height:55vh;margin-bottom:16px;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-button{height:20px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] .miam-list-input__container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;row-gap:8px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:16px;align-items:center;column-gap:16px;display:flex;list-style:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-column-gap:0;column-gap:0}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;align-items:center;display:flex;flex:1;flex-direction:row;gap:16px;user-select:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%]{margin-right:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{max-width:unset;padding:inherit}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin:unset;max-width:unset;min-width:unset}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:60vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{cursor:move}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .miam-list-input__row__grip[_ngcontent-%COMP%]{margin-left:4px}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__left[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;width:200px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{align-items:center;display:flex;flex:1;flex-direction:row}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{margin-right:8px;width:80px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:first-child{flex:1}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]:last-child{margin-right:0;text-align:right}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .miam-list-input__importance[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .miam-list-input__importance[_ngcontent-%COMP%] .miam-list-input__importance__radio[_ngcontent-%COMP%]{display:flex;flex-direction:row;line-height:24px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .miam-list-input__importance[_ngcontent-%COMP%] .miam-list-input__importance__radio[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:var(--m-color-slate);font-size:var(--m-font-size-medium);font-style:normal;font-weight:500}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .miam-list-input__importance[_ngcontent-%COMP%] .miam-list-input__importance__radio[_ngcontent-%COMP%] .ng-invalid[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{color:var(--m-color-danger)}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{flex-wrap:wrap}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{flex:1;margin-bottom:8px;margin-right:4px}}@media (max-width:359px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%]{max-width:60vw}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .m-input[_ngcontent-%COMP%]{max-width:58vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-success[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-success);border-radius:8px;box-shadow:0 0 4px var(--m-color-success)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__container__row[_ngcontent-%COMP%] .miam-list-input__row__right[_ngcontent-%COMP%] .alert-danger[_ngcontent-%COMP%]{background:var(--m-color-white);border:1px solid var(--m-color-danger);border-radius:8px;box-shadow:0 0 4px var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%]{align-items:center;display:flex;gap:8px;justify-content:space-between}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;justify-content:center;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;width:50px}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .miam-list-input__row__picture.clickable[_ngcontent-%COMP%]{cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .miam-list-input__row__controls[_ngcontent-%COMP%] .miam-list-input__row__trash[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent;cursor:pointer}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;margin:0;max-width:none;outline:none;padding:5px;resize:none}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.warnning[_ngcontent-%COMP%]{background-color:var(--m-color-secondary-light);color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea.error[_ngcontent-%COMP%]{background-color:var(--m-color-danger);color:var(--m-color-danger-text)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] textarea[cdktextareaautosize][_ngcontent-%COMP%]{overflow:hidden}.miam-list-input[_ngcontent-%COMP%] .hint[_ngcontent-%COMP%]{border-radius:var(--m-border-radius);flex:1;font-size:12px;font-weight:600;padding-bottom:10px}.miam-list-input[_ngcontent-%COMP%] .hint.warnning[_ngcontent-%COMP%]{color:var(--m-color-secondary)}.miam-list-input[_ngcontent-%COMP%] .hint.error[_ngcontent-%COMP%]{color:var(--m-color-danger)}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%]{align-items:center;justify-content:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__placeholder[_ngcontent-%COMP%] .miam-list-input__placeholder__hint[_ngcontent-%COMP%]{color:var(--m-color-secondary);margin-top:40px;opacity:.5;text-align:center}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{-moz-column-gap:32px;column-gap:32px;display:flex;justify-content:space-between}@media (min-width:1024px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{width:calc(45% - 32px)}}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%]{flex-direction:column}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{flex:1;margin-top:0;outline:none;resize:none}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:90vw}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{background-color:var(--m-color-info);border-radius:8px;color:var(--m-color-info-text);max-width:calc(98vw - 776px);padding:8px;position:absolute;top:315px;white-space:pre-line;width:400px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__actions__instructions[_ngcontent-%COMP%]{margin-top:16px;max-width:unset;position:unset;width:unset}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{margin-left:4px}@media (max-width:1023px){.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] .miam-list-input__instructions__direction[_ngcontent-%COMP%]{display:none}}.miam-list-input[_ngcontent-%COMP%] .miam-list-input__actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.miam-list-input__row__preview[_ngcontent-%COMP%]{align-items:center;display:flex;width:530px}@media (max-width:1023px){.miam-list-input__row__preview[_ngcontent-%COMP%]{flex-wrap:wrap;width:80vw}}.miam-list-input__row__preview[_ngcontent-%COMP%] .miam-list-input__preview__text[_ngcontent-%COMP%]{padding:5px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{flex:1;flex-shrink:1;margin-left:8px}.miam-list-input__row__preview[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-of-type(2n){margin-right:8px}.miam-list-input__row__placeholder[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;background:var(--m-color-grey07);border-radius:8px;margin-right:24px;min-height:60px;user-select:none}.cdk-drag-animating[_ngcontent-%COMP%], .miam-list-input__row__placeholder[_ngcontent-%COMP%], ul.cdk-drop-list-dragging[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}"] });
7114
7217
  /*@__PURE__*/ (function () {
7115
7218
  i0.ɵsetClassMetadata(ListInputComponent, [{
7116
7219
  type: i0.Component,
@@ -7129,6 +7232,8 @@
7129
7232
  type: i0.Input
7130
7233
  }], ingredientMode: [{
7131
7234
  type: i0.Input
7235
+ }], isPersonal: [{
7236
+ type: i0.Input
7132
7237
  }], list: [{
7133
7238
  type: i0.Input
7134
7239
  }], ingredientsPictures: [{
@@ -7935,7 +8040,7 @@
7935
8040
  i0.ɵɵadvance(1);
7936
8041
  i0.ɵɵproperty("ngClass", ctx.recipeLike.isPast == false ? "active" : "")("width", ctx.width)("height", ctx.height)("iconName", ctx.icon.HeartFull);
7937
8042
  }
7938
- }, directives: [IconComponent, i4.NgClass], styles: [".miam-like-button.m-button-primary.reverse{border-color:transparent;padding:8px;position:relative}.miam-like-button.m-button-primary.reverse ng-miam-icon{margin:0}.miam-like-button.m-button-primary.reverse ng-miam-icon.full{position:absolute}.miam-like-button.m-button-primary.reverse ng-miam-icon.full .icon-container{opacity:0;transition:visibility 0s,opacity .5s linear;visibility:hidden}.miam-like-button.m-button-primary.reverse ng-miam-icon.full.active .icon-container{opacity:1;visibility:visible}.miam-like-button.m-button-primary.reverse:hover{background-color:#ececec}.miam-like-button.m-button-primary.reverse:hover .icon-container svg path{fill:var(--m-color-primary)}"], encapsulation: 2, changeDetection: 0 });
8043
+ }, directives: [IconComponent, i4.NgClass], styles: [".miam-like-button.m-button-primary.reverse{border-color:transparent;padding:8px;position:relative}.miam-like-button.m-button-primary.reverse ng-miam-icon{margin:0}.miam-like-button.m-button-primary.reverse ng-miam-icon.full{position:absolute}.miam-like-button.m-button-primary.reverse ng-miam-icon.full .icon-container{opacity:0;transition:visibility 0s,opacity .5s linear;visibility:hidden}.miam-like-button.m-button-primary.reverse ng-miam-icon.full.active .icon-container{opacity:1;visibility:visible}@media (min-width:1023px){.miam-like-button.m-button-primary.reverse:hover{background-color:#ececec}.miam-like-button.m-button-primary.reverse:hover .icon-container svg path{fill:var(--m-color-primary)}}"], encapsulation: 2, changeDetection: 0 });
7939
8044
  /*@__PURE__*/ (function () {
7940
8045
  i0.ɵsetClassMetadata(LikeButtonComponent, [{
7941
8046
  type: i0.Component,
@@ -8831,7 +8936,7 @@
8831
8936
  i0.ɵɵadvance(1);
8832
8937
  i0.ɵɵproperty("ngIf", ctx.isLogged && i0.ɵɵpipeBind1(26, 9, ctx.usersService.preferencesActivated$));
8833
8938
  }
8834
- }, directives: [i4.NgClass, IconComponent, i4.NgForOf, i4.NgIf, i15.CheckboxControlValueAccessor, i15.NgControlStatus, i15.NgModel], pipes: [i4.AsyncPipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}#toast-container>div:hover{opacity:1!important}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-recipe-filters{left:0;position:absolute;top:0;z-index:calc(var(--m-z-index-modal-overlay) - 1)}.miam-recipe-filters.filter-collapsed{display:none}.miam-recipe-filters.right{border-left:1px solid #ccc;border-right:0;box-shadow:0 -8px 28px 0 rgba(0,0,0,.07058823529411765);left:unset;right:-1px}.miam-recipe-filters.right .m-button-primary.reverse.miam-recipe-filters__toggle{border-bottom-left-radius:var(--m-border-radius-pill);border-bottom-right-radius:0;border-right:0!important;border-top-left-radius:var(--m-border-radius-pill);border-top-right-radius:0;left:unset;padding:12px 4px 12px 12px;right:320px}.miam-recipe-filters.right .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container{transform:rotate(-90deg)}.miam-recipe-filters:not(.right) .m-button-primary.reverse.miam-recipe-filters__toggle{border-left:0!important}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle{border-bottom-left-radius:0;border-bottom-right-radius:var(--m-border-radius-pill);border-top-left-radius:0;border-top-right-radius:var(--m-border-radius-pill);left:320px;padding:12px 12px 12px 4px;position:absolute;top:41px}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle:hover ng-miam-icon .icon-container svg path:last-child{fill:var(--m-color-white)}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container{transform:rotate(90deg)}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container svg path{fill:none}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container svg path:last-child{fill:var(--m-color-primary)}.miam-recipe-filters .miam-recipe-filters__content{background-color:var(--m-color-white);border-bottom:1px solid #ccc;border-right:1px solid #ccc;box-shadow:0 8px 28px 0 rgba(0,0,0,.07058823529411765);height:100%;overflow-y:auto;padding:24px;width:320px}.miam-recipe-filters .miam-recipe-filters__head{color:var(--m-color-primary);font-size:21px;font-weight:700;line-height:24px;margin-bottom:48px}.miam-recipe-filters .miam-recipe-filters__container{opacity:1;transition:opacity .25s cubic-bezier(0,0,.2,1)}.miam-recipe-filters .miam-recipe-filters__container.filter-collapsed{opacity:0;transition:none}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details{align-items:center;background-color:var(--m-color-grey);display:flex;flex-flow:row wrap;margin-bottom:24px;min-height:10vh;padding-top:8px;position:-webkit-sticky;position:sticky;top:0;width:100%}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail__title{margin-bottom:16px;padding:0 24px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail{align-items:center;border:1px solid var(--m-color-primary);border-radius:4px;display:flex;margin:0 0 16px 8px;padding:8px 16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail .miam-recipe-filter__detail__icon .icon-container{margin:0 0 0 16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__title{font-size:16px;font-weight:700;line-height:20px;margin-bottom:16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice{display:flex;font-size:16px;line-height:20px;margin-bottom:16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice:first-letter{text-transform:capitalize}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice input{cursor:pointer;height:20px;margin:0 12px 0 0;width:20px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__separator{background-color:#e9e9e9;height:1px;margin:24px 0;width:100%}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__remove{cursor:pointer;margin:40px 0 24px;text-align:center}.miam-recipe-filters .miam-recipe-filters__container .m-button-primary.miam-recipe-filters__confirm{border-radius:0;font-size:16px;font-weight:700;height:60px;width:100%}@media (max-width:607px){.miam-recipe-filters{bottom:-1px;left:-1px!important;position:fixed;right:-1px!important;top:-1px;z-index:var(--m-z-index-modal)}.miam-recipe-filters .miam-recipe-filters__toggle{left:unset!important;right:8px!important;top:11px!important;z-index:calc(var(--m-z-index-modal) + 1px)}.miam-recipe-filters:not(.right) .miam-recipe-filters__toggle{transform:rotate(180deg)}.miam-recipe-filters .miam-recipe-filters__content{width:100%}}"], encapsulation: 2, changeDetection: 0 });
8939
+ }, directives: [i4.NgClass, IconComponent, i4.NgForOf, i4.NgIf, i15.CheckboxControlValueAccessor, i15.NgControlStatus, i15.NgModel], pipes: [i4.AsyncPipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}@media (min-width:1023px){#toast-container>div:hover{opacity:1!important}}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-recipe-filters{left:0;position:absolute;top:0;z-index:calc(var(--m-z-index-modal-overlay) - 1)}.miam-recipe-filters.filter-collapsed{display:none}.miam-recipe-filters.right{border-left:1px solid #ccc;border-right:0;box-shadow:0 -8px 28px 0 rgba(0,0,0,.07058823529411765);left:unset;right:-1px}.miam-recipe-filters.right .m-button-primary.reverse.miam-recipe-filters__toggle{border-bottom-left-radius:var(--m-border-radius-pill);border-bottom-right-radius:0;border-right:0!important;border-top-left-radius:var(--m-border-radius-pill);border-top-right-radius:0;left:unset;padding:12px 4px 12px 12px;right:320px}.miam-recipe-filters.right .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container{transform:rotate(-90deg)}.miam-recipe-filters:not(.right) .m-button-primary.reverse.miam-recipe-filters__toggle{border-left:0!important}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle{border-bottom-left-radius:0;border-bottom-right-radius:var(--m-border-radius-pill);border-top-left-radius:0;border-top-right-radius:var(--m-border-radius-pill);left:320px;padding:12px 12px 12px 4px;position:absolute;top:41px}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle:hover ng-miam-icon .icon-container svg path:last-child{fill:var(--m-color-white)}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container{transform:rotate(90deg)}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container svg path{fill:none}.miam-recipe-filters .m-button-primary.reverse.miam-recipe-filters__toggle ng-miam-icon .icon-container svg path:last-child{fill:var(--m-color-primary)}.miam-recipe-filters .miam-recipe-filters__content{background-color:var(--m-color-white);border-bottom:1px solid #ccc;border-right:1px solid #ccc;box-shadow:0 8px 28px 0 rgba(0,0,0,.07058823529411765);height:100%;overflow-y:auto;padding:24px;width:320px}.miam-recipe-filters .miam-recipe-filters__head{color:var(--m-color-primary);font-size:21px;font-weight:700;line-height:24px;margin-bottom:48px}.miam-recipe-filters .miam-recipe-filters__container{opacity:1;transition:opacity .25s cubic-bezier(0,0,.2,1)}.miam-recipe-filters .miam-recipe-filters__container.filter-collapsed{opacity:0;transition:none}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details{align-items:center;background-color:var(--m-color-grey);display:flex;flex-flow:row wrap;margin-bottom:24px;min-height:10vh;padding-top:8px;position:-webkit-sticky;position:sticky;top:0;width:100%}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail__title{margin-bottom:16px;padding:0 24px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail{align-items:center;border:1px solid var(--m-color-primary);border-radius:4px;display:flex;margin:0 0 16px 8px;padding:8px 16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filter__details .miam-recipe-filter__detail .miam-recipe-filter__detail__icon .icon-container{margin:0 0 0 16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__title{font-size:16px;font-weight:700;line-height:20px;margin-bottom:16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice{display:flex;font-size:16px;line-height:20px;margin-bottom:16px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice:first-letter{text-transform:capitalize}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__choice input{cursor:pointer;height:20px;margin:0 12px 0 0;width:20px}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__separator{background-color:#e9e9e9;height:1px;margin:24px 0;width:100%}.miam-recipe-filters .miam-recipe-filters__container .miam-recipe-filters__remove{cursor:pointer;margin:40px 0 24px;text-align:center}.miam-recipe-filters .miam-recipe-filters__container .m-button-primary.miam-recipe-filters__confirm{border-radius:0;font-size:16px;font-weight:700;height:60px;width:100%}@media (max-width:607px){.miam-recipe-filters{bottom:-1px;left:-1px!important;position:fixed;right:-1px!important;top:-1px;z-index:var(--m-z-index-modal)}.miam-recipe-filters .miam-recipe-filters__toggle{left:unset!important;right:8px!important;top:11px!important;z-index:calc(var(--m-z-index-modal) + 1px)}.miam-recipe-filters:not(.right) .miam-recipe-filters__toggle{transform:rotate(180deg)}.miam-recipe-filters .miam-recipe-filters__content{width:100%}}"], encapsulation: 2, changeDetection: 0 });
8835
8940
  /*@__PURE__*/ (function () {
8836
8941
  i0.ɵsetClassMetadata(RecipeFiltersComponent, [{
8837
8942
  type: i0.Component,
@@ -9255,56 +9360,78 @@
9255
9360
  }] });
9256
9361
  })();
9257
9362
 
9258
- var ExplaineBannerComponent = /** @class */ (function () {
9259
- function ExplaineBannerComponent() {
9363
+ function ExplainBannerComponent_div_14_Template(rf, ctx) {
9364
+ if (rf & 1) {
9365
+ i0.ɵɵelementStart(0, "div", 6);
9366
+ i0.ɵɵelementStart(1, "a", 7);
9367
+ i0.ɵɵelementStart(2, "span");
9368
+ i0.ɵɵtext(3, " Plus d'informations ");
9369
+ i0.ɵɵelementEnd();
9370
+ i0.ɵɵelementEnd();
9371
+ i0.ɵɵelementEnd();
9372
+ }
9373
+ if (rf & 2) {
9374
+ var ctx_r0 = i0.ɵɵnextContext();
9375
+ i0.ɵɵadvance(1);
9376
+ i0.ɵɵproperty("href", ctx_r0.context.miam.router.recipeInfo, i0.ɵɵsanitizeUrl);
9377
+ }
9378
+ }
9379
+ var ExplainBannerComponent = /** @class */ (function () {
9380
+ function ExplainBannerComponent(context) {
9381
+ this.context = context;
9260
9382
  this.icon = exports.Icon;
9261
9383
  }
9262
- return ExplaineBannerComponent;
9384
+ return ExplainBannerComponent;
9263
9385
  }());
9264
- ExplaineBannerComponent.ɵfac = function ExplaineBannerComponent_Factory(t) { return new (t || ExplaineBannerComponent)(); };
9265
- ExplaineBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ExplaineBannerComponent, selectors: [["ng-miam-explaine-banner"]], decls: 13, vars: 9, consts: [[1, "miam-explaine-banner"], [1, "miam-explaine-banner__step"], [1, "miam-explaine-banner__step__icon", 3, "height", "width", "iconName"], [1, "miam-explaine-banner__step__text"]], template: function ExplaineBannerComponent_Template(rf, ctx) {
9386
+ ExplainBannerComponent.ɵfac = function ExplainBannerComponent_Factory(t) { return new (t || ExplainBannerComponent)(i0.ɵɵdirectiveInject(ContextService)); };
9387
+ ExplainBannerComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ExplainBannerComponent, selectors: [["ng-miam-explain-banner"]], decls: 15, vars: 10, consts: [[1, "miam-explain-banner"], [1, "miam-explain-banner__steps"], [1, "miam-explain-banner__step"], [1, "miam-explain-banner__step__icon", 3, "height", "width", "iconName"], [1, "miam-explain-banner__step__text"], ["class", "miam-explain-banner__info__link", 4, "ngIf"], [1, "miam-explain-banner__info__link"], [3, "href"]], template: function ExplainBannerComponent_Template(rf, ctx) {
9266
9388
  if (rf & 1) {
9267
9389
  i0.ɵɵelementStart(0, "div", 0);
9268
9390
  i0.ɵɵelementStart(1, "div", 1);
9269
- i0.ɵɵelement(2, "ng-miam-icon", 2);
9270
- i0.ɵɵelementStart(3, "span", 3);
9271
- i0.ɵɵtext(4, "Je choisis l'id\u00E9e repas qui me pla\u00EEt");
9391
+ i0.ɵɵelementStart(2, "div", 2);
9392
+ i0.ɵɵelement(3, "ng-miam-icon", 3);
9393
+ i0.ɵɵelementStart(4, "span", 4);
9394
+ i0.ɵɵtext(5, "Je choisis l'id\u00E9e repas qui me pla\u00EEt");
9272
9395
  i0.ɵɵelementEnd();
9273
9396
  i0.ɵɵelementEnd();
9274
- i0.ɵɵelementStart(5, "div", 1);
9275
- i0.ɵɵelement(6, "ng-miam-icon", 2);
9276
- i0.ɵɵelementStart(7, "span", 3);
9277
- i0.ɵɵtext(8, "Je d\u00E9finis le nombre de gourmands");
9397
+ i0.ɵɵelementStart(6, "div", 2);
9398
+ i0.ɵɵelement(7, "ng-miam-icon", 3);
9399
+ i0.ɵɵelementStart(8, "span", 4);
9400
+ i0.ɵɵtext(9, "Je d\u00E9finis le nombre de gourmands");
9278
9401
  i0.ɵɵelementEnd();
9279
9402
  i0.ɵɵelementEnd();
9280
- i0.ɵɵelementStart(9, "div", 1);
9281
- i0.ɵɵelement(10, "ng-miam-icon", 2);
9282
- i0.ɵɵelementStart(11, "span", 3);
9283
- i0.ɵɵtext(12, "J\u2019ajoute en 1 clic tous les ingr\u00E9dients");
9403
+ i0.ɵɵelementStart(10, "div", 2);
9404
+ i0.ɵɵelement(11, "ng-miam-icon", 3);
9405
+ i0.ɵɵelementStart(12, "span", 4);
9406
+ i0.ɵɵtext(13, "J\u2019ajoute en 1 clic tous les ingr\u00E9dients");
9407
+ i0.ɵɵelementEnd();
9284
9408
  i0.ɵɵelementEnd();
9285
9409
  i0.ɵɵelementEnd();
9410
+ i0.ɵɵtemplate(14, ExplainBannerComponent_div_14_Template, 4, 1, "div", 5);
9286
9411
  i0.ɵɵelementEnd();
9287
9412
  }
9288
9413
  if (rf & 2) {
9289
- i0.ɵɵadvance(2);
9290
- i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplaineStep1);
9414
+ i0.ɵɵadvance(3);
9415
+ i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplainStep1);
9291
9416
  i0.ɵɵadvance(4);
9292
- i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplaineStep2);
9417
+ i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplainStep2);
9293
9418
  i0.ɵɵadvance(4);
9294
- i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplaineStep3);
9419
+ i0.ɵɵproperty("height", 72)("width", 72)("iconName", ctx.icon.ExplainStep3);
9420
+ i0.ɵɵadvance(3);
9421
+ i0.ɵɵproperty("ngIf", ctx.context.miam.router.recipeInfo !== "");
9295
9422
  }
9296
- }, directives: [IconComponent], styles: [".miam-explaine-banner{align-items:center;background-color:#f6f6f6;display:flex;height:200px;justify-content:space-around;margin-bottom:30px;position:relative}@media (max-width:1023px){.miam-explaine-banner{display:none}}.miam-explaine-banner:before{background:var(--m-color-white);border-radius:40%;content:\"\";height:20px;left:0;position:absolute;top:0;transform:translatey(-50%);width:100%}.miam-explaine-banner .miam-explaine-banner__step{align-items:center;display:flex;flex-direction:row;max-width:322px}.miam-explaine-banner .miam-explaine-banner__step .miam-explaine-banner__step__text{color:var(--m-color-black);font-size:20px;font-weight:900;font-weight:700;line-height:28px;margin-left:18px}"], encapsulation: 2, changeDetection: 0 });
9423
+ }, directives: [IconComponent, i4.NgIf], styles: [".miam-explain-banner{background-color:#f6f6f6;display:flex;flex-direction:column;height:200px;margin-bottom:30px;position:relative}@media (max-width:1023px){.miam-explain-banner{display:none}}.miam-explain-banner .miam-explain-banner__steps{align-items:center;display:flex;height:100%;justify-content:space-around}.miam-explain-banner .miam-explain-banner__steps:before{background:var(--m-color-white);border-radius:40%;content:\"\";height:20px;left:0;position:absolute;top:0;transform:translatey(-50%);width:100%}.miam-explain-banner .miam-explain-banner__steps .miam-explain-banner__step{align-items:center;display:flex;flex-direction:row;max-width:322px}.miam-explain-banner .miam-explain-banner__steps .miam-explain-banner__step .miam-explain-banner__step__text{color:var(--m-color-black);font-size:20px;font-weight:900;font-weight:700;line-height:28px;margin-left:18px}.miam-explain-banner .miam-explain-banner__info__link{bottom:16px;position:absolute;text-align:center;width:100%}.miam-explain-banner .miam-explain-banner__info__link a{color:var(--m-color-primary);text-decoration:none}"], encapsulation: 2, changeDetection: 0 });
9297
9424
  /*@__PURE__*/ (function () {
9298
- i0.ɵsetClassMetadata(ExplaineBannerComponent, [{
9425
+ i0.ɵsetClassMetadata(ExplainBannerComponent, [{
9299
9426
  type: i0.Component,
9300
9427
  args: [{
9301
- selector: 'ng-miam-explaine-banner',
9302
- templateUrl: './explaine-banner.component.html',
9303
- styleUrls: ['./explaine-banner.component.scss'],
9428
+ selector: 'ng-miam-explain-banner',
9429
+ templateUrl: './explain-banner.component.html',
9430
+ styleUrls: ['./explain-banner.component.scss'],
9304
9431
  encapsulation: i0.ViewEncapsulation.None,
9305
9432
  changeDetection: i0.ChangeDetectionStrategy.OnPush
9306
9433
  }]
9307
- }], function () { return []; }, null);
9434
+ }], function () { return [{ type: ContextService }]; }, null);
9308
9435
  })();
9309
9436
 
9310
9437
  var COMPONENTS = [
@@ -9330,7 +9457,7 @@
9330
9457
  CardCreateRecipeComponent,
9331
9458
  RecipeTypeChooserComponent,
9332
9459
  ActionsPopinComponent,
9333
- ExplaineBannerComponent
9460
+ ExplainBannerComponent
9334
9461
  ];
9335
9462
  var ComponentsModule = /** @class */ (function () {
9336
9463
  function ComponentsModule() {
@@ -9369,7 +9496,7 @@
9369
9496
  CardCreateRecipeComponent,
9370
9497
  RecipeTypeChooserComponent,
9371
9498
  ActionsPopinComponent,
9372
- ExplaineBannerComponent], imports: [UtilsModule,
9499
+ ExplainBannerComponent], imports: [UtilsModule,
9373
9500
  i4.CommonModule,
9374
9501
  i15.FormsModule,
9375
9502
  i15.ReactiveFormsModule,
@@ -9396,7 +9523,7 @@
9396
9523
  CardCreateRecipeComponent,
9397
9524
  RecipeTypeChooserComponent,
9398
9525
  ActionsPopinComponent,
9399
- ExplaineBannerComponent] });
9526
+ ExplainBannerComponent] });
9400
9527
  })();
9401
9528
  /*@__PURE__*/ (function () {
9402
9529
  i0.ɵsetClassMetadata(ComponentsModule, [{
@@ -10559,12 +10686,17 @@
10559
10686
  }),
10560
10687
  this.blockStates.subscribe(function (newState) { return _this.handelblockState(newState); }),
10561
10688
  this.listsService.takeFirstList().pipe(operators.switchMap(function (list) {
10562
- return _this.basketsService.basketPreview$.pipe(operators.skipWhile(function (preview) { return !preview || preview.length === 0 || preview.length !== list.recipeInfos.length; }), operators.tap(function (preview) { return _this.refreshPreview(preview.reverse()); }));
10689
+ return _this.basketsService.basketPreview$.pipe(
10690
+ // skipWhile(preview => !preview || preview.length === 0 || preview.length !== list.recipeInfos.length),
10691
+ operators.skipWhile(function (preview) { return !preview || preview.length !== list.recipeInfos.length; }), operators.tap(function (preview) { return _this.refreshPreview(preview.reverse()); }));
10563
10692
  })).subscribe(function () {
10564
10693
  _this.loading.next(false);
10565
10694
  _this.cdr.detectChanges();
10566
10695
  }),
10567
- this.basketsService.basketStats$.pipe(operators.skipWhile(function (stats) { return !stats; }), operators.tap(function (stats) { return _this.statsUpdated.emit(stats); })).subscribe()
10696
+ this.basketsService.basketStats$.pipe(operators.skipWhile(function (stats) { return !stats; }), operators.tap(function (stats) { return _this.statsUpdated.emit(stats); })).subscribe(),
10697
+ this.posService.isPosValid().subscribe(function () {
10698
+ _this.cdr.detectChanges();
10699
+ })
10568
10700
  ];
10569
10701
  };
10570
10702
  BasketPreviewBlockComponent.prototype.ngOnChanges = function (changes) {
@@ -10863,7 +10995,7 @@
10863
10995
  i0.ɵɵadvance(3);
10864
10996
  i0.ɵɵproperty("href", ctx.article.url, i0.ɵɵsanitizeUrl);
10865
10997
  }
10866
- }, directives: [i4.NgIf], pipes: [EllipsisPipe, i4.DatePipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-article-card .miam-catalog-card__attributes,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}#toast-container>div:hover{opacity:1!important}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-catalog-article-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);cursor:pointer;display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}.miam-catalog-article-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{-o-object-fit:contain;height:auto;left:16px;max-height:48px;max-width:64px;object-fit:contain;position:absolute;top:16px;transform:none;width:auto;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__attributes{flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.1)}.miam-catalog-article-card:hover .miam-catalog-card__attributes .miam-catalog-card__attributes__info a,.miam-catalog-article-card:hover .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{color:var(--m-color-primary)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{overflow:hidden}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient:after{display:none}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{position:relative;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes{align-items:center}.miam-catalog-article-card .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{font-weight:700;line-height:1.3;margin:0;max-height:50px;overflow:hidden;text-align:center;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{justify-content:space-between;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info a{transition:all .3s ease}"], encapsulation: 2, changeDetection: 0 });
10998
+ }, directives: [i4.NgIf], pipes: [EllipsisPipe, i4.DatePipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-article-card .miam-catalog-card__attributes,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}@media (min-width:1023px){#toast-container>div:hover{opacity:1!important}}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-catalog-article-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);cursor:pointer;display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}@media (min-width:1023px){.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}}.miam-catalog-article-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{-o-object-fit:contain;height:auto;left:16px;max-height:48px;max-width:64px;object-fit:contain;position:absolute;top:16px;transform:none;width:auto;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-article-card .miam-catalog-card__attributes{flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-article-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.1)}.miam-catalog-article-card:hover .miam-catalog-card__attributes .miam-catalog-card__attributes__info a,.miam-catalog-article-card:hover .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{color:var(--m-color-primary)}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{overflow:hidden}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient:after{display:none}.miam-catalog-article-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{position:relative;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes{align-items:center}.miam-catalog-article-card .miam-catalog-card__attributes h4.miam-catalog-article-card__attributes__title{font-weight:700;line-height:1.3;margin:0;max-height:50px;overflow:hidden;text-align:center;transition:all .3s ease}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{justify-content:space-between;width:100%}.miam-catalog-article-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info a{transition:all .3s ease}"], encapsulation: 2, changeDetection: 0 });
10867
10999
  /*@__PURE__*/ (function () {
10868
11000
  i0.ɵsetClassMetadata(CatalogArticleCardComponent, [{
10869
11001
  type: i0.Component,
@@ -11595,30 +11727,30 @@
11595
11727
  function CatalogRecipeCardComponent_div_4_div_3_Template(rf, ctx) {
11596
11728
  if (rf & 1) {
11597
11729
  i0.ɵɵelementStart(0, "div");
11598
- i0.ɵɵelement(1, "img", 28);
11730
+ i0.ɵɵelement(1, "img", 29);
11599
11731
  i0.ɵɵelementEnd();
11600
11732
  }
11601
11733
  if (rf & 2) {
11602
- var ctx_r14 = i0.ɵɵnextContext(2);
11734
+ var ctx_r15 = i0.ɵɵnextContext(2);
11603
11735
  i0.ɵɵadvance(1);
11604
- i0.ɵɵproperty("src", ctx_r14.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
11736
+ i0.ɵɵproperty("src", ctx_r15.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
11605
11737
  }
11606
11738
  }
11607
11739
  function CatalogRecipeCardComponent_div_4_div_5_Template(rf, ctx) {
11608
11740
  if (rf & 1) {
11609
- i0.ɵɵelementStart(0, "div", 29);
11610
- i0.ɵɵelement(1, "ng-miam-icon", 30);
11741
+ i0.ɵɵelementStart(0, "div", 30);
11742
+ i0.ɵɵelement(1, "ng-miam-icon", 31);
11611
11743
  i0.ɵɵelementEnd();
11612
11744
  }
11613
11745
  if (rf & 2) {
11614
- var ctx_r15 = i0.ɵɵnextContext(2);
11746
+ var ctx_r16 = i0.ɵɵnextContext(2);
11615
11747
  i0.ɵɵadvance(1);
11616
- i0.ɵɵproperty("iconName", ctx_r15.icon.Video)("width", 80)("height", 80);
11748
+ i0.ɵɵproperty("iconName", ctx_r16.icon.Video)("width", 80)("height", 80);
11617
11749
  }
11618
11750
  }
11619
11751
  function CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template(rf, ctx) {
11620
11752
  if (rf & 1) {
11621
- i0.ɵɵelementStart(0, "div", 32);
11753
+ i0.ɵɵelementStart(0, "div", 33);
11622
11754
  i0.ɵɵtext(1, " D\u00E9j\u00E0 ajout\u00E9e ");
11623
11755
  i0.ɵɵelementEnd();
11624
11756
  }
@@ -11626,76 +11758,76 @@
11626
11758
  function CatalogRecipeCardComponent_div_4_ng_container_6_Template(rf, ctx) {
11627
11759
  if (rf & 1) {
11628
11760
  i0.ɵɵelementContainerStart(0);
11629
- i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template, 2, 0, "div", 31);
11761
+ i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_4_ng_container_6_div_1_Template, 2, 0, "div", 32);
11630
11762
  i0.ɵɵpipe(2, "async");
11631
11763
  i0.ɵɵelementContainerEnd();
11632
11764
  }
11633
11765
  if (rf & 2) {
11634
- var ctx_r16 = i0.ɵɵnextContext(2);
11766
+ var ctx_r17 = i0.ɵɵnextContext(2);
11635
11767
  i0.ɵɵadvance(1);
11636
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1, ctx_r16.groceriesListsService.recipeIsInList(ctx_r16.recipe == null ? null : ctx_r16.recipe.id)));
11768
+ i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(2, 1, ctx_r17.groceriesListsService.recipeIsInList(ctx_r17.recipe == null ? null : ctx_r17.recipe.id)));
11637
11769
  }
11638
11770
  }
11639
11771
  function CatalogRecipeCardComponent_div_4_ng_container_7_Template(rf, ctx) {
11640
11772
  if (rf & 1) {
11641
- var _r24_1 = i0.ɵɵgetCurrentView();
11773
+ var _r25_1 = i0.ɵɵgetCurrentView();
11642
11774
  i0.ɵɵelementContainerStart(0);
11643
- i0.ɵɵelementStart(1, "div", 33);
11644
- i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_ng_container_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r24_1); var ctx_r23 = i0.ɵɵnextContext(2); return ctx_r23.openRecipe(); });
11775
+ i0.ɵɵelementStart(1, "div", 34);
11776
+ i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_ng_container_7_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r25_1); var ctx_r24 = i0.ɵɵnextContext(2); return ctx_r24.openRecipe(); });
11645
11777
  i0.ɵɵtext(2);
11646
11778
  i0.ɵɵelementEnd();
11647
11779
  i0.ɵɵelementContainerEnd();
11648
11780
  }
11649
11781
  if (rf & 2) {
11650
- var ctx_r17 = i0.ɵɵnextContext(2);
11782
+ var ctx_r18 = i0.ɵɵnextContext(2);
11651
11783
  i0.ɵɵadvance(2);
11652
- i0.ɵɵtextInterpolate1(" ", ctx_r17.recipe == null ? null : ctx_r17.recipe.attributes["title"], " ");
11784
+ i0.ɵɵtextInterpolate1(" ", ctx_r18.recipe == null ? null : ctx_r18.recipe.attributes["title"], " ");
11653
11785
  }
11654
11786
  }
11655
11787
  function CatalogRecipeCardComponent_div_4_ng_template_8_Template(rf, ctx) {
11656
11788
  if (rf & 1) {
11657
- i0.ɵɵelement(0, "ng-miam-skeleton", 34);
11789
+ i0.ɵɵelement(0, "ng-miam-skeleton", 35);
11658
11790
  }
11659
11791
  if (rf & 2) {
11660
- var ctx_r19 = i0.ɵɵnextContext(2);
11661
- i0.ɵɵproperty("type", ctx_r19.skeleton.Text);
11792
+ var ctx_r20 = i0.ɵɵnextContext(2);
11793
+ i0.ɵɵproperty("type", ctx_r20.skeleton.Text);
11662
11794
  }
11663
11795
  }
11664
11796
  function CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template(rf, ctx) {
11665
11797
  if (rf & 1) {
11666
- i0.ɵɵelement(0, "ng-miam-like-button", 35);
11798
+ i0.ɵɵelement(0, "ng-miam-like-button", 36);
11667
11799
  }
11668
11800
  if (rf & 2) {
11669
- var ctx_r20 = i0.ɵɵnextContext(2);
11670
- i0.ɵɵproperty("recipe", ctx_r20.recipe)("originTrace", ctx_r20.eventTrace());
11801
+ var ctx_r21 = i0.ɵɵnextContext(2);
11802
+ i0.ɵɵproperty("recipe", ctx_r21.recipe)("originTrace", ctx_r21.eventTrace());
11671
11803
  }
11672
11804
  }
11673
11805
  function CatalogRecipeCardComponent_div_4_Template(rf, ctx) {
11674
11806
  if (rf & 1) {
11675
- var _r26_1 = i0.ɵɵgetCurrentView();
11676
- i0.ɵɵelementStart(0, "div", 16);
11677
- i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r26_1); var ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.openRecipe(); });
11678
- i0.ɵɵelementStart(1, "div", 17);
11679
- i0.ɵɵelement(2, "img", 18);
11680
- i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div", 19);
11807
+ var _r27_1 = i0.ɵɵgetCurrentView();
11808
+ i0.ɵɵelementStart(0, "div", 17);
11809
+ i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r27_1); var ctx_r26 = i0.ɵɵnextContext(); return ctx_r26.openRecipe(); });
11810
+ i0.ɵɵelementStart(1, "div", 18);
11811
+ i0.ɵɵelement(2, "img", 19);
11812
+ i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div", 20);
11681
11813
  i0.ɵɵpipe(4, "async");
11682
11814
  i0.ɵɵelementEnd();
11683
- i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_div_5_Template, 2, 3, "div", 20);
11684
- i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3, 3, "ng-container", 19);
11685
- i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_4_ng_container_7_Template, 3, 1, "ng-container", 21);
11686
- i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_4_ng_template_8_Template, 1, 1, "ng-template", null, 22, i0.ɵɵtemplateRefExtractor);
11687
- i0.ɵɵelementStart(10, "div", 23);
11688
- i0.ɵɵtemplate(11, CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template, 1, 2, "ng-miam-like-button", 24);
11815
+ i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_div_5_Template, 2, 3, "div", 21);
11816
+ i0.ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_ng_container_6_Template, 3, 3, "ng-container", 20);
11817
+ i0.ɵɵtemplate(7, CatalogRecipeCardComponent_div_4_ng_container_7_Template, 3, 1, "ng-container", 22);
11818
+ i0.ɵɵtemplate(8, CatalogRecipeCardComponent_div_4_ng_template_8_Template, 1, 1, "ng-template", null, 23, i0.ɵɵtemplateRefExtractor);
11819
+ i0.ɵɵelementStart(10, "div", 24);
11820
+ i0.ɵɵtemplate(11, CatalogRecipeCardComponent_div_4_ng_miam_like_button_11_Template, 1, 2, "ng-miam-like-button", 25);
11689
11821
  i0.ɵɵpipe(12, "async");
11690
- i0.ɵɵelementStart(13, "div", 25, 26);
11691
- i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_13_listener($event) { i0.ɵɵrestoreView(_r26_1); var ctx_r27 = i0.ɵɵnextContext(); return ctx_r27.toggleMoreActions($event); });
11692
- i0.ɵɵelement(15, "ng-miam-icon", 27);
11822
+ i0.ɵɵelementStart(13, "div", 26, 27);
11823
+ i0.ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_13_listener($event) { i0.ɵɵrestoreView(_r27_1); var ctx_r28 = i0.ɵɵnextContext(); return ctx_r28.toggleMoreActions($event); });
11824
+ i0.ɵɵelement(15, "ng-miam-icon", 28);
11693
11825
  i0.ɵɵelementEnd();
11694
11826
  i0.ɵɵelementEnd();
11695
11827
  i0.ɵɵelementEnd();
11696
11828
  }
11697
11829
  if (rf & 2) {
11698
- var _r18 = i0.ɵɵreference(9);
11830
+ var _r19 = i0.ɵɵreference(9);
11699
11831
  var ctx_r0 = i0.ɵɵnextContext();
11700
11832
  i0.ɵɵadvance(2);
11701
11833
  i0.ɵɵproperty("src", ctx_r0.recipe.attributes["media-url"], i0.ɵɵsanitizeUrl);
@@ -11706,7 +11838,7 @@
11706
11838
  i0.ɵɵadvance(1);
11707
11839
  i0.ɵɵproperty("ngIf", ctx_r0.recipe && ctx_r0.displayAddedOnPicture);
11708
11840
  i0.ɵɵadvance(1);
11709
- i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse", _r18);
11841
+ i0.ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse", _r19);
11710
11842
  i0.ɵɵadvance(4);
11711
11843
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(12, 10, ctx_r0.userService.isLogged$));
11712
11844
  i0.ɵɵadvance(4);
@@ -11715,147 +11847,181 @@
11715
11847
  }
11716
11848
  function CatalogRecipeCardComponent_ng_template_5_Template(rf, ctx) {
11717
11849
  if (rf & 1) {
11718
- i0.ɵɵelement(0, "ng-miam-skeleton", 34);
11850
+ i0.ɵɵelement(0, "ng-miam-skeleton", 35);
11719
11851
  }
11720
11852
  if (rf & 2) {
11721
11853
  var ctx_r2 = i0.ɵɵnextContext();
11722
11854
  i0.ɵɵproperty("type", ctx_r2.skeleton.Picture);
11723
11855
  }
11724
11856
  }
11725
- function CatalogRecipeCardComponent_div_9_ng_miam_recipe_pricing_1_Template(rf, ctx) {
11857
+ function CatalogRecipeCardComponent_div_9_div_5_Template(rf, ctx) {
11726
11858
  if (rf & 1) {
11727
- i0.ɵɵelement(0, "ng-miam-recipe-pricing", 38);
11859
+ i0.ɵɵelementStart(0, "div", 41);
11860
+ i0.ɵɵtext(1);
11861
+ i0.ɵɵelementEnd();
11728
11862
  }
11729
11863
  if (rf & 2) {
11730
- var ctx_r28 = i0.ɵɵnextContext(2);
11731
- i0.ɵɵproperty("recipe", ctx_r28.recipe)("serves", ctx_r28.recipe == null ? null : ctx_r28.recipe.modifiedGuests);
11864
+ var ctx_r29 = i0.ɵɵnextContext(2);
11865
+ i0.ɵɵadvance(1);
11866
+ i0.ɵɵtextInterpolate1(" + ", ctx_r29.recipe.modifiedIngredients.length - 2, " ");
11732
11867
  }
11733
11868
  }
11734
11869
  function CatalogRecipeCardComponent_div_9_Template(rf, ctx) {
11735
11870
  if (rf & 1) {
11736
- i0.ɵɵelementStart(0, "div", 36);
11737
- i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_9_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing", 37);
11871
+ i0.ɵɵelementStart(0, "div", 37);
11872
+ i0.ɵɵelementStart(1, "div", 38);
11873
+ i0.ɵɵelement(2, "img", 39);
11874
+ i0.ɵɵelementEnd();
11875
+ i0.ɵɵelementStart(3, "div", 38);
11876
+ i0.ɵɵelement(4, "img", 39);
11877
+ i0.ɵɵelementEnd();
11878
+ i0.ɵɵtemplate(5, CatalogRecipeCardComponent_div_9_div_5_Template, 2, 1, "div", 40);
11738
11879
  i0.ɵɵelementEnd();
11739
11880
  }
11740
11881
  if (rf & 2) {
11741
11882
  var ctx_r3 = i0.ɵɵnextContext();
11883
+ i0.ɵɵadvance(2);
11884
+ i0.ɵɵproperty("src", ctx_r3.ingredientPicture(ctx_r3.recipe.modifiedIngredients[0]), i0.ɵɵsanitizeUrl);
11885
+ i0.ɵɵadvance(2);
11886
+ i0.ɵɵproperty("src", ctx_r3.ingredientPicture(ctx_r3.recipe.modifiedIngredients[1]), i0.ɵɵsanitizeUrl);
11742
11887
  i0.ɵɵadvance(1);
11743
- i0.ɵɵproperty("ngIf", ctx_r3.isPriceDisplayed);
11888
+ i0.ɵɵproperty("ngIf", ctx_r3.recipe.modifiedIngredients.length > 2);
11744
11889
  }
11745
11890
  }
11746
- function CatalogRecipeCardComponent_ng_miam_icon_15_Template(rf, ctx) {
11891
+ function CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template(rf, ctx) {
11747
11892
  if (rf & 1) {
11748
- i0.ɵɵelement(0, "ng-miam-icon", 39);
11749
- i0.ɵɵpipe(1, "async");
11893
+ i0.ɵɵelement(0, "ng-miam-recipe-pricing", 44);
11894
+ }
11895
+ if (rf & 2) {
11896
+ var ctx_r30 = i0.ɵɵnextContext(2);
11897
+ i0.ɵɵproperty("recipe", ctx_r30.recipe)("serves", ctx_r30.recipe == null ? null : ctx_r30.recipe.modifiedGuests);
11898
+ }
11899
+ }
11900
+ function CatalogRecipeCardComponent_div_10_Template(rf, ctx) {
11901
+ if (rf & 1) {
11902
+ i0.ɵɵelementStart(0, "div", 42);
11903
+ i0.ɵɵtemplate(1, CatalogRecipeCardComponent_div_10_ng_miam_recipe_pricing_1_Template, 1, 2, "ng-miam-recipe-pricing", 43);
11904
+ i0.ɵɵelementEnd();
11750
11905
  }
11751
11906
  if (rf & 2) {
11752
11907
  var ctx_r4 = i0.ɵɵnextContext();
11753
- i0.ɵɵproperty("width", 16)("height", 16)("iconName", i0.ɵɵpipeBind1(1, 3, ctx_r4.groceriesListsService.recipeIsInList(ctx_r4.recipe == null ? null : ctx_r4.recipe.id)) ? ctx_r4.icon.CheckList : ctx_r4.icon.Cart);
11908
+ i0.ɵɵadvance(1);
11909
+ i0.ɵɵproperty("ngIf", ctx_r4.isPriceDisplayed);
11754
11910
  }
11755
11911
  }
11756
- function CatalogRecipeCardComponent_ng_template_16_Template(rf, ctx) {
11912
+ function CatalogRecipeCardComponent_ng_miam_icon_16_Template(rf, ctx) {
11913
+ if (rf & 1) {
11914
+ i0.ɵɵelement(0, "ng-miam-icon", 45);
11915
+ i0.ɵɵpipe(1, "async");
11916
+ }
11917
+ if (rf & 2) {
11918
+ var ctx_r5 = i0.ɵɵnextContext();
11919
+ i0.ɵɵproperty("width", 16)("height", 16)("iconName", i0.ɵɵpipeBind1(1, 3, ctx_r5.groceriesListsService.recipeIsInList(ctx_r5.recipe == null ? null : ctx_r5.recipe.id)) ? ctx_r5.icon.CheckList : ctx_r5.icon.Cart);
11920
+ }
11921
+ }
11922
+ function CatalogRecipeCardComponent_ng_template_17_Template(rf, ctx) {
11757
11923
  if (rf & 1) {
11758
11924
  i0.ɵɵelement(0, "ng-miam-loader");
11759
11925
  }
11760
11926
  }
11761
- function CatalogRecipeCardComponent_div_19_Template(rf, ctx) {
11927
+ function CatalogRecipeCardComponent_div_20_Template(rf, ctx) {
11762
11928
  if (rf & 1) {
11763
- i0.ɵɵelementStart(0, "div", 40);
11764
- i0.ɵɵelement(1, "ng-miam-icon", 41);
11765
- i0.ɵɵelementStart(2, "span", 42);
11929
+ i0.ɵɵelementStart(0, "div", 46);
11930
+ i0.ɵɵelement(1, "ng-miam-icon", 47);
11931
+ i0.ɵɵelementStart(2, "span", 48);
11766
11932
  i0.ɵɵtext(3);
11767
11933
  i0.ɵɵelementEnd();
11768
11934
  i0.ɵɵelementEnd();
11769
11935
  }
11770
11936
  if (rf & 2) {
11771
- var ctx_r7 = i0.ɵɵnextContext();
11937
+ var ctx_r8 = i0.ɵɵnextContext();
11772
11938
  i0.ɵɵadvance(1);
11773
- i0.ɵɵproperty("iconName", ctx_r7.icon.Time);
11939
+ i0.ɵɵproperty("iconName", ctx_r8.icon.Time);
11774
11940
  i0.ɵɵadvance(2);
11775
- i0.ɵɵtextInterpolate(ctx_r7.recipe == null ? null : ctx_r7.recipe.totalTime);
11941
+ i0.ɵɵtextInterpolate(ctx_r8.recipe == null ? null : ctx_r8.recipe.totalTime);
11776
11942
  }
11777
11943
  }
11778
- function CatalogRecipeCardComponent_div_20_ng_container_2_Template(rf, ctx) {
11944
+ function CatalogRecipeCardComponent_div_21_ng_container_2_Template(rf, ctx) {
11779
11945
  if (rf & 1) {
11780
11946
  i0.ɵɵelementContainerStart(0);
11781
- i0.ɵɵelement(1, "ng-miam-icon", 47);
11947
+ i0.ɵɵelement(1, "ng-miam-icon", 53);
11782
11948
  i0.ɵɵelementContainerEnd();
11783
11949
  }
11784
11950
  if (rf & 2) {
11785
- var ctx_r29 = i0.ɵɵnextContext(2);
11951
+ var ctx_r31 = i0.ɵɵnextContext(2);
11786
11952
  i0.ɵɵadvance(1);
11787
- i0.ɵɵproperty("width", 39)("height", 18)("iconName", ctx_r29.icon.DifficultyMedium);
11953
+ i0.ɵɵproperty("width", 39)("height", 18)("iconName", ctx_r31.icon.DifficultyMedium);
11788
11954
  }
11789
11955
  }
11790
- function CatalogRecipeCardComponent_div_20_ng_container_3_Template(rf, ctx) {
11956
+ function CatalogRecipeCardComponent_div_21_ng_container_3_Template(rf, ctx) {
11791
11957
  if (rf & 1) {
11792
11958
  i0.ɵɵelementContainerStart(0);
11793
- i0.ɵɵelement(1, "ng-miam-icon", 47);
11959
+ i0.ɵɵelement(1, "ng-miam-icon", 53);
11794
11960
  i0.ɵɵelementContainerEnd();
11795
11961
  }
11796
11962
  if (rf & 2) {
11797
- var ctx_r30 = i0.ɵɵnextContext(2);
11963
+ var ctx_r32 = i0.ɵɵnextContext(2);
11798
11964
  i0.ɵɵadvance(1);
11799
- i0.ɵɵproperty("width", 60)("height", 18)("iconName", ctx_r30.icon.DifficultyHigh);
11965
+ i0.ɵɵproperty("width", 60)("height", 18)("iconName", ctx_r32.icon.DifficultyHigh);
11800
11966
  }
11801
11967
  }
11802
- function CatalogRecipeCardComponent_div_20_ng_container_4_Template(rf, ctx) {
11968
+ function CatalogRecipeCardComponent_div_21_ng_container_4_Template(rf, ctx) {
11803
11969
  if (rf & 1) {
11804
11970
  i0.ɵɵelementContainerStart(0);
11805
- i0.ɵɵelement(1, "ng-miam-icon", 47);
11971
+ i0.ɵɵelement(1, "ng-miam-icon", 53);
11806
11972
  i0.ɵɵelementContainerEnd();
11807
11973
  }
11808
11974
  if (rf & 2) {
11809
- var ctx_r31 = i0.ɵɵnextContext(2);
11975
+ var ctx_r33 = i0.ɵɵnextContext(2);
11810
11976
  i0.ɵɵadvance(1);
11811
- i0.ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r31.icon.DifficultyLow);
11977
+ i0.ɵɵproperty("width", 18)("height", 18)("iconName", ctx_r33.icon.DifficultyLow);
11812
11978
  }
11813
11979
  }
11814
11980
  var _c1$6 = function (a0, a1, a2) { return { "easy": a0, "medium": a1, "hard": a2 }; };
11815
- function CatalogRecipeCardComponent_div_20_Template(rf, ctx) {
11981
+ function CatalogRecipeCardComponent_div_21_Template(rf, ctx) {
11816
11982
  if (rf & 1) {
11817
- i0.ɵɵelementStart(0, "div", 43);
11818
- i0.ɵɵelementContainerStart(1, 44);
11819
- i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_20_ng_container_2_Template, 2, 3, "ng-container", 45);
11820
- i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_20_ng_container_3_Template, 2, 3, "ng-container", 45);
11821
- i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_20_ng_container_4_Template, 2, 3, "ng-container", 46);
11983
+ i0.ɵɵelementStart(0, "div", 49);
11984
+ i0.ɵɵelementContainerStart(1, 50);
11985
+ i0.ɵɵtemplate(2, CatalogRecipeCardComponent_div_21_ng_container_2_Template, 2, 3, "ng-container", 51);
11986
+ i0.ɵɵtemplate(3, CatalogRecipeCardComponent_div_21_ng_container_3_Template, 2, 3, "ng-container", 51);
11987
+ i0.ɵɵtemplate(4, CatalogRecipeCardComponent_div_21_ng_container_4_Template, 2, 3, "ng-container", 52);
11822
11988
  i0.ɵɵelementContainerEnd();
11823
- i0.ɵɵelementStart(5, "span", 42);
11989
+ i0.ɵɵelementStart(5, "span", 48);
11824
11990
  i0.ɵɵtext(6);
11825
11991
  i0.ɵɵelementEnd();
11826
11992
  i0.ɵɵelementEnd();
11827
11993
  }
11828
11994
  if (rf & 2) {
11829
- var ctx_r8 = i0.ɵɵnextContext();
11830
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty) === 1, (ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty) === 2, (ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty) === 3));
11995
+ var ctx_r9 = i0.ɵɵnextContext();
11996
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(5, _c1$6, (ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty) === 1, (ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty) === 2, (ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty) === 3));
11831
11997
  i0.ɵɵadvance(1);
11832
- i0.ɵɵproperty("ngSwitch", ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty);
11998
+ i0.ɵɵproperty("ngSwitch", ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty);
11833
11999
  i0.ɵɵadvance(1);
11834
12000
  i0.ɵɵproperty("ngSwitchCase", 2);
11835
12001
  i0.ɵɵadvance(1);
11836
12002
  i0.ɵɵproperty("ngSwitchCase", 3);
11837
12003
  i0.ɵɵadvance(3);
11838
- i0.ɵɵtextInterpolate(ctx_r8.recipeService.difficultyLabel(ctx_r8.recipe == null ? null : ctx_r8.recipe.difficulty));
12004
+ i0.ɵɵtextInterpolate(ctx_r9.recipeService.difficultyLabel(ctx_r9.recipe == null ? null : ctx_r9.recipe.difficulty));
11839
12005
  }
11840
12006
  }
11841
- function CatalogRecipeCardComponent_ng_template_21_Template(rf, ctx) {
12007
+ function CatalogRecipeCardComponent_ng_template_22_Template(rf, ctx) {
11842
12008
  if (rf & 1) {
11843
- i0.ɵɵelement(0, "ng-miam-skeleton", 34);
12009
+ i0.ɵɵelement(0, "ng-miam-skeleton", 35);
11844
12010
  }
11845
12011
  if (rf & 2) {
11846
- var ctx_r10 = i0.ɵɵnextContext();
11847
- i0.ɵɵproperty("type", ctx_r10.skeleton == null ? null : ctx_r10.skeleton.IconWithInfo);
12012
+ var ctx_r11 = i0.ɵɵnextContext();
12013
+ i0.ɵɵproperty("type", ctx_r11.skeleton == null ? null : ctx_r11.skeleton.IconWithInfo);
11848
12014
  }
11849
12015
  }
11850
- function CatalogRecipeCardComponent_ng_miam_actions_popin_23_Template(rf, ctx) {
12016
+ function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template(rf, ctx) {
11851
12017
  if (rf & 1) {
11852
- var _r33_1 = i0.ɵɵgetCurrentView();
11853
- i0.ɵɵelementStart(0, "ng-miam-actions-popin", 48);
11854
- i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_23_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r33_1); var ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_23_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r33_1); var ctx_r34 = i0.ɵɵnextContext(); return ctx_r34.actionTriggered.emit($event); });
12018
+ var _r35_1 = i0.ɵɵgetCurrentView();
12019
+ i0.ɵɵelementStart(0, "ng-miam-actions-popin", 54);
12020
+ i0.ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r35_1); var ctx_r34 = i0.ɵɵnextContext(); return ctx_r34.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r35_1); var ctx_r36 = i0.ɵɵnextContext(); return ctx_r36.actionTriggered.emit($event); });
11855
12021
  i0.ɵɵelementEnd();
11856
12022
  }
11857
12023
  }
11858
- function CatalogRecipeCardComponent_ng_template_24_Template(rf, ctx) {
12024
+ function CatalogRecipeCardComponent_ng_template_25_Template(rf, ctx) {
11859
12025
  if (rf & 1) {
11860
12026
  i0.ɵɵelement(0, "ng-miam-cors-overlay");
11861
12027
  }
@@ -11962,7 +12128,7 @@
11962
12128
  var _t;
11963
12129
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.moreActions = _t.first);
11964
12130
  }
11965
- }, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 26, vars: 20, consts: [[1, "miam-catalog-recipe-card"], [1, "miam-catalog-recipe-card__header"], ["class", "miam-catalog-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-recipe-card__attributes__control"], ["class", "miam-catalog-recipe-card__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-catalog-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf"], ["skeletonInfo", ""], [3, "close", "actionTriggered", 4, "ngIf"], ["cors", ""], [1, "miam-catalog-card__picture", 3, "click"], [1, "miam-catalog-card__picture__gradient"], ["loading", "lazy", 1, "miam-catalog-card__picture__img", 3, "src"], [4, "ngIf"], ["class", "miam-catalog-recipe-card__picture__video", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], [1, "miam-catalog-recipe-card__actions__icon", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-catalog-card__picture__sponsor", 3, "src"], [1, "miam-catalog-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [1, "miam-catalog-recipe-card__picture__tag"], [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], ["width", "17", "height", "17", 1, "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [3, "recipe", "serves"], [3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info", "recipe__total__time"], ["width", "18", "height", "18", "primaryColor", "var(--m-catalog-card-details-color)", 3, "iconName"], [1, "miam-catalog-card__info__label"], [1, "miam-catalog-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-catalog-card-details-color)", 3, "width", "height", "iconName"], [3, "close", "actionTriggered"]], template: function CatalogRecipeCardComponent_Template(rf, ctx) {
12131
+ }, inputs: { displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture" }, outputs: { actionTriggered: "actionTriggered" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 27, vars: 21, consts: [[1, "miam-catalog-recipe-card"], [1, "miam-catalog-recipe-card__header"], ["class", "miam-catalog-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-recipe-card__attributes__control"], ["class", "miam-catalog-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-catalog-recipe-card__right__col__price", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "ngClass", "click"], [3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info recipe__total__time", 4, "ngIf", "ngIfElse"], ["class", "miam-catalog-card__attributes__info recipe__difficulty", 3, "ngClass", 4, "ngIf"], ["skeletonInfo", ""], [3, "close", "actionTriggered", 4, "ngIf"], ["cors", ""], [1, "miam-catalog-card__picture", 3, "click"], [1, "miam-catalog-card__picture__gradient"], ["loading", "lazy", 1, "miam-catalog-card__picture__img", 3, "src"], [4, "ngIf"], ["class", "miam-catalog-recipe-card__picture__video", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["width", "17", "height", "17", "class", "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], [1, "miam-catalog-recipe-card__actions__icon", 3, "click"], ["miamMoreActions", ""], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-catalog-card__picture__sponsor", 3, "src"], [1, "miam-catalog-recipe-card__picture__video"], ["primaryColor", "black", 3, "iconName", "width", "height"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [1, "miam-catalog-recipe-card__picture__tag"], [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], ["width", "17", "height", "17", 1, "miam-catalog-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-catalog-recipe-card__ingredients__pictures"], [1, "miam-catalog-recipe-card__ingredients__picture"], [3, "src"], ["class", "miam-catalog-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-catalog-recipe-card__ingredients__more"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [3, "recipe", "serves"], [3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info", "recipe__total__time"], ["width", "18", "height", "18", "primaryColor", "var(--m-catalog-card-details-color)", 3, "iconName"], [1, "miam-catalog-card__info__label"], [1, "miam-catalog-card__attributes__info", "recipe__difficulty", 3, "ngClass"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-catalog-card-details-color)", 3, "width", "height", "iconName"], [3, "close", "actionTriggered"]], template: function CatalogRecipeCardComponent_Template(rf, ctx) {
11966
12132
  if (rf & 1) {
11967
12133
  i0.ɵɵelementStart(0, "div", 0);
11968
12134
  i0.ɵɵelementStart(1, "div", 1);
@@ -11974,52 +12140,55 @@
11974
12140
  i0.ɵɵtemplate(5, CatalogRecipeCardComponent_ng_template_5_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
11975
12141
  i0.ɵɵelementStart(7, "div", 4);
11976
12142
  i0.ɵɵelementStart(8, "div", 5);
11977
- i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_9_Template, 2, 1, "div", 6);
11978
- i0.ɵɵelementStart(10, "button", 7);
11979
- i0.ɵɵlistener("click", function CatalogRecipeCardComponent_Template_button_click_10_listener() { return ctx.clickPrimary(); });
11980
- i0.ɵɵpipe(11, "async");
11981
- i0.ɵɵelementStart(12, "span");
11982
- i0.ɵɵtext(13);
11983
- i0.ɵɵpipe(14, "async");
12143
+ i0.ɵɵtemplate(9, CatalogRecipeCardComponent_div_9_Template, 6, 3, "div", 6);
12144
+ i0.ɵɵtemplate(10, CatalogRecipeCardComponent_div_10_Template, 2, 1, "div", 7);
12145
+ i0.ɵɵelementStart(11, "button", 8);
12146
+ i0.ɵɵlistener("click", function CatalogRecipeCardComponent_Template_button_click_11_listener() { return ctx.clickPrimary(); });
12147
+ i0.ɵɵpipe(12, "async");
12148
+ i0.ɵɵelementStart(13, "span");
12149
+ i0.ɵɵtext(14);
12150
+ i0.ɵɵpipe(15, "async");
11984
12151
  i0.ɵɵelementEnd();
11985
- i0.ɵɵtemplate(15, CatalogRecipeCardComponent_ng_miam_icon_15_Template, 2, 5, "ng-miam-icon", 8);
11986
- i0.ɵɵtemplate(16, CatalogRecipeCardComponent_ng_template_16_Template, 1, 0, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
12152
+ i0.ɵɵtemplate(16, CatalogRecipeCardComponent_ng_miam_icon_16_Template, 2, 5, "ng-miam-icon", 9);
12153
+ i0.ɵɵtemplate(17, CatalogRecipeCardComponent_ng_template_17_Template, 1, 0, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
11987
12154
  i0.ɵɵelementEnd();
11988
12155
  i0.ɵɵelementEnd();
11989
- i0.ɵɵelementStart(18, "div", 10);
11990
- i0.ɵɵtemplate(19, CatalogRecipeCardComponent_div_19_Template, 4, 2, "div", 11);
11991
- i0.ɵɵtemplate(20, CatalogRecipeCardComponent_div_20_Template, 7, 9, "div", 12);
11992
- i0.ɵɵtemplate(21, CatalogRecipeCardComponent_ng_template_21_Template, 1, 1, "ng-template", null, 13, i0.ɵɵtemplateRefExtractor);
12156
+ i0.ɵɵelementStart(19, "div", 11);
12157
+ i0.ɵɵtemplate(20, CatalogRecipeCardComponent_div_20_Template, 4, 2, "div", 12);
12158
+ i0.ɵɵtemplate(21, CatalogRecipeCardComponent_div_21_Template, 7, 9, "div", 13);
12159
+ i0.ɵɵtemplate(22, CatalogRecipeCardComponent_ng_template_22_Template, 1, 1, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
11993
12160
  i0.ɵɵelementEnd();
11994
12161
  i0.ɵɵelementEnd();
11995
- i0.ɵɵtemplate(23, CatalogRecipeCardComponent_ng_miam_actions_popin_23_Template, 1, 0, "ng-miam-actions-popin", 14);
12162
+ i0.ɵɵtemplate(24, CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template, 1, 0, "ng-miam-actions-popin", 15);
11996
12163
  i0.ɵɵelementEnd();
11997
- i0.ɵɵtemplate(24, CatalogRecipeCardComponent_ng_template_24_Template, 1, 0, "ng-template", null, 15, i0.ɵɵtemplateRefExtractor);
12164
+ i0.ɵɵtemplate(25, CatalogRecipeCardComponent_ng_template_25_Template, 1, 0, "ng-template", null, 16, i0.ɵɵtemplateRefExtractor);
11998
12165
  }
11999
12166
  if (rf & 2) {
12000
12167
  var _r1 = i0.ɵɵreference(6);
12001
- var _r5 = i0.ɵɵreference(17);
12002
- var _r9 = i0.ɵɵreference(22);
12168
+ var _r6 = i0.ɵɵreference(18);
12169
+ var _r10 = i0.ɵɵreference(23);
12003
12170
  i0.ɵɵadvance(3);
12004
12171
  i0.ɵɵtextInterpolate1(" ", ctx.headerText, "");
12005
12172
  i0.ɵɵadvance(1);
12006
12173
  i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r1);
12007
12174
  i0.ɵɵadvance(5);
12175
+ i0.ɵɵproperty("ngIf", ctx.contextService.displayIngredientPicturesOnRecipeCards && (ctx.recipe == null ? null : ctx.recipe.modifiedIngredients == null ? null : ctx.recipe.modifiedIngredients.length) > 1);
12176
+ i0.ɵɵadvance(1);
12008
12177
  i0.ɵɵproperty("ngIf", ctx.recipe && ctx.displayPricing);
12009
12178
  i0.ɵɵadvance(1);
12010
- i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(17, _c2$1, ctx.addButtonLoading, i0.ɵɵpipeBind1(11, 13, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id))));
12179
+ i0.ɵɵproperty("disabled", !ctx.recipe)("ngClass", i0.ɵɵpureFunction2(18, _c2$1, ctx.addButtonLoading, i0.ɵɵpipeBind1(12, 14, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id))));
12011
12180
  i0.ɵɵadvance(3);
12012
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 15, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id)) ? "Voir le d\u00E9tail" : "Ajouter les ingr\u00E9dients", " ");
12181
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(15, 16, ctx.groceriesListsService.recipeIsInList(ctx.recipe == null ? null : ctx.recipe.id)) ? "Voir le d\u00E9tail" : "Ajouter les ingr\u00E9dients", " ");
12013
12182
  i0.ɵɵadvance(2);
12014
- i0.ɵɵproperty("ngIf", !ctx.addButtonLoading)("ngIfElse", _r5);
12183
+ i0.ɵɵproperty("ngIf", !ctx.addButtonLoading)("ngIfElse", _r6);
12015
12184
  i0.ɵɵadvance(4);
12016
- i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r9);
12185
+ i0.ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r10);
12017
12186
  i0.ɵɵadvance(1);
12018
12187
  i0.ɵɵproperty("ngIf", ctx.recipe);
12019
12188
  i0.ɵɵadvance(3);
12020
12189
  i0.ɵɵproperty("ngIf", ctx.actionsOpened);
12021
12190
  }
12022
- }, directives: [i4.NgIf, i4.NgClass, IconComponent, SkeletonComponent, LikeButtonComponent, RecipePricingComponent, LoaderComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, ActionsPopinComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-recipe-card .miam-catalog-card__attributes,.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}#toast-container>div:hover{opacity:1!important}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}ng-miam-catalog-recipe-card{flex-grow:1;margin:calc(var(--m-catalog-cards-spacing)/2);max-width:calc(var(--m-catalog-card-minwidth)*1.1)}.miam-catalog-recipe-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}.miam-catalog-recipe-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}.miam-catalog-recipe-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;overflow:hidden;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;position:relative;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{-o-object-fit:contain;height:auto;left:16px;max-height:48px;max-width:64px;object-fit:contain;position:absolute;top:16px;transform:none;width:auto;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__attributes{align-items:center;flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-recipe-card .miam-catalog-recipe-card__header{display:none}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__video{left:calc(50% - 40px);position:absolute;top:calc(50% - 50px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__tag{background-color:rgba(0,0,0,.6);border-radius:5px;color:var(--m-color-white);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase;top:16px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-black);cursor:pointer;display:-webkit-box;font-size:var(--m-catalog-card-title-size);font-weight:700;left:0;letter-spacing:normal;line-height:var(--m-catalog-card-line-height);margin:12px 0;overflow:hidden;padding:0 16px;position:absolute;text-align:center;text-overflow:ellipsis;top:var(--m-catalog-card-picture-height);transition:var(--m-default-transition);width:100%}@media (min-width:1022px){.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title:hover{text-decoration:underline}}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions{position:absolute;right:16px;top:16px;z-index:var(--m-z-index-position-absolute-high)}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:center;display:flex;justify-content:center;margin-top:12px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price{margin-right:16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price .miam-recipe-pricing__wrapper__price{line-height:20px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control button.m-button-primary .loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:16px;margin-left:8px;width:16px}"], encapsulation: 2, changeDetection: 0 });
12191
+ }, directives: [i4.NgIf, i4.NgClass, IconComponent, SkeletonComponent, LikeButtonComponent, RecipePricingComponent, LoaderComponent, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, ActionsPopinComponent, CORSOverlayComponent], pipes: [i4.AsyncPipe], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-catalog-recipe-card .miam-catalog-card__attributes,.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions,.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}@media (min-width:1023px){#toast-container>div:hover{opacity:1!important}}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}ng-miam-catalog-recipe-card{flex-grow:1;margin:calc(var(--m-catalog-cards-spacing)/2);max-width:calc(var(--m-catalog-card-minwidth)*1.1)}.miam-catalog-recipe-card{background-color:var(--m-catalog-card-bg-color);border:1px solid #ddd;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:var(--m-catalog-card-height);min-width:var(--m-catalog-card-minwidth);position:relative;width:100%}@media (min-width:1023px){.miam-catalog-recipe-card:hover .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{transform:scale(1.05)}}.miam-catalog-recipe-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:var(--m-catalog-card-picture-height);position:relative}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:calc(var(--m-catalog-card-picture-height) + 1px);left:-1px;overflow:hidden;position:absolute;top:-1px;width:calc(100% + 2px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img{-o-object-fit:cover;border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;height:var(--m-catalog-card-picture-height);object-fit:cover;position:relative;transition:var(--m-default-transition);width:100%;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__sponsor{-o-object-fit:contain;height:auto;left:16px;max-height:48px;max-width:64px;object-fit:contain;position:absolute;top:16px;transform:none;width:auto;z-index:var(--m-z-index-position-absolute-low)}.miam-catalog-recipe-card .miam-catalog-card__attributes{align-items:center;flex:1 1;flex-direction:column-reverse;justify-content:flex-start;padding:12px 16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:space-around;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{align-items:center;display:flex;flex-direction:column;padding:0 16px;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info:first-child{border-right:1px solid #ddd}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label{color:var(--m-catalog-card-details-color);font-size:var(--m-catalog-card-details-size);line-height:var(--m-catalog-card-details-line-height);margin:2px 0 0;text-align:center;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info .miam-catalog-card__info__label:first-letter{text-transform:capitalize}.miam-catalog-recipe-card .miam-catalog-recipe-card__header{display:none}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__video{left:calc(50% - 40px);position:absolute;top:calc(50% - 50px)}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__tag{background-color:rgba(0,0,0,.6);border-radius:5px;color:var(--m-color-white);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase;top:16px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-black);cursor:pointer;display:-webkit-box;font-size:var(--m-catalog-card-title-size);font-weight:700;left:0;letter-spacing:normal;line-height:var(--m-catalog-card-line-height);margin:12px 0;overflow:hidden;padding:0 16px;position:absolute;text-align:center;text-overflow:ellipsis;top:var(--m-catalog-card-picture-height);transition:var(--m-default-transition);width:100%}@media (min-width:1022px){.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__attributes__title:hover{text-decoration:underline}}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions{position:absolute;right:16px;top:16px;z-index:var(--m-z-index-position-absolute-high)}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:center;display:flex;justify-content:center;margin-top:12px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-recipe-card__ingredients__pictures{display:none}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price{margin-right:16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__right__col__price .miam-recipe-pricing__wrapper__price{line-height:20px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control button.m-button-primary .loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:16px;margin-left:8px;width:16px}"], encapsulation: 2, changeDetection: 0 });
12023
12192
  /*@__PURE__*/ (function () {
12024
12193
  i0.ɵsetClassMetadata(CatalogRecipeCardComponent, [{
12025
12194
  type: i0.Component,
@@ -12674,7 +12843,7 @@
12674
12843
  i0.ɵɵadvance(1);
12675
12844
  i0.ɵɵproperty("ngIf", !ctx.personalButtonHidden);
12676
12845
  }
12677
- }, directives: [i4.NgClass, IconComponent, i4.NgIf, i15.DefaultValueAccessor, i15.NgControlStatus, i15.NgModel], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites.reverse:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal.reverse:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites.reverse:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal.reverse:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:last-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:last-child:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}#toast-container>div:hover{opacity:1!important}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-catalog-header{background-size:cover;padding:32px 24px 24px 40px;position:relative;width:100%}.miam-catalog-header.reduced{background-color:var(--m-catalog-header-reduced-bg-color);background-image:none!important;padding:24px}.miam-catalog-header.reduced .miam-catalog-header__content{align-items:center;flex-direction:row;justify-content:space-between}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav{color:var(--m-catalog-header-reduced-text-color);margin-bottom:0}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav .chevron-right .icon-container svg path:last-child{fill:var(--m-catalog-header-reduced-text-color)}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav a{color:var(--m-catalog-header-reduced-text-color)}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search{flex-grow:1;margin-left:24px;width:auto}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:flex-end}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar{flex-grow:1;max-width:400px;width:unset}.miam-catalog-header .miam-catalog-header__content{align-items:flex-start;display:flex;flex-direction:column;height:100%;width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav{align-items:center;color:var(--m-catalog-header-text-color);display:flex;font-weight:700;margin-bottom:24px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav .chevron-right{transform:rotate(-90deg)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav .chevron-right .icon-container svg path:last-child{fill:var(--m-catalog-header-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav a{color:var(--m-catalog-header-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav>*{margin-right:4px;text-align:center}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__title-and-search{width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__title{color:var(--m-catalog-header-text-color);display:flex;font-size:28px;font-weight:700;line-height:42px;margin-bottom:24px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters{align-items:center;display:flex;justify-content:space-between;width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar{align-items:center;background:var(--m-color-white);border:1px solid #ddd;border-radius:var(--m-border-radius-pill);display:flex;font-size:14px;height:45px;padding:0 2px 0 20px;width:400px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar .miam-catalog-header__searchbar__input{background:transparent;border:transparent;flex:1}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar .miam-catalog-header__searchbar__input:focus{outline:transparent}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar button.miam-catalog-header__searchbar__button{padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar button.miam-catalog-header__searchbar__button:hover{border-color:transparent}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls{display:flex}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button{margin-left:8px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button span{white-space:nowrap}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter{border-color:transparent;font-weight:700;position:relative}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter.reduced ng-miam-icon{margin:0}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter .miam-catalog-header__controls__filter-badge{align-items:center;background-color:var(--m-catalog-redpoint-color);border-radius:var(--m-border-radius-circle);color:var(--m-catalog-redpoint-text-color);display:flex;font-size:12px;height:18px;justify-content:center;line-height:18px;position:absolute;right:-4px;top:-4px;width:18px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);font-weight:700}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-color-white)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon svg path{fill:var(--m-color-primary)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse:hover ng-miam-icon svg path{fill:var(--m-color-primary)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse ng-miam-icon svg path{fill:var(--m-color-white)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) img{filter:invert(33%) sepia(25%) saturate(5002%) hue-rotate(184deg) brightness(91%) contrast(87%)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{border-color:transparent;color:var(--m-color-white);font-weight:700}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover img{filter:invert(95%) sepia(100%) saturate(0) hue-rotate(248deg) brightness(106%) contrast(103%)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:first-child{margin:0}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{background-color:var(--m-color-primary)!important}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reduced{padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary){background-color:var(--m-catalog-alt-button-color);border:1px solid var(--m-catalog-alt-button-text-color);color:var(--m-catalog-alt-button-text-color);font-weight:700}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover{background-color:var(--m-catalog-alt-button-text-color);border:1px solid var(--m-catalog-alt-button-color);color:var(--m-catalog-alt-button-color);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse{background-color:var(--m-catalog-alt-button-text-color);border:1px solid var(--m-catalog-alt-button-color);color:var(--m-catalog-alt-button-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse:hover{background-color:var(--m-catalog-alt-button-color);border:1px solid var(--m-catalog-alt-button-text-color);color:var(--m-catalog-alt-button-text-color);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse:hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse ng-miam-icon svg path{fill:var(--m-catalog-alt-button-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover{border-color:transparent;color:var(--m-catalog-alt-button-text-color-reverse)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color-reverse)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary){border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:first-child{margin:0}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.reduced{border-color:initial;padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.reduced img{filter:invert(95%) sepia(100%) saturate(0) hue-rotate(248deg) brightness(106%) contrast(103%)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter{border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter ng-miam-icon{margin-right:0!important}.miam-catalog-header.reduced .miam-catalog-header__nav{display:none}}@media (max-width:607px){.miam-catalog-header.reduced,.miam-catalog-header:not(.reduced){background-color:var(--m-catalog-header-reduced-bg-color);background-image:none!important;padding:16px 12px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__nav{display:none}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search{margin-left:0}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__title,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__title{justify-content:center;margin-bottom:16px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:center}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar{border:0;height:42px;max-width:42px;padding:0;width:42px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters.searching .miam-catalog-header__controls,.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar input.miam-catalog-header__searchbar__input,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters.searching .miam-catalog-header__controls,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar input.miam-catalog-header__searchbar__input{display:none}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:flex-end}}"], encapsulation: 2, changeDetection: 0 });
12846
+ }, directives: [i4.NgClass, IconComponent, i4.NgIf, i15.DefaultValueAccessor, i15.NgControlStatus, i15.NgModel], styles: [".cal-month-view .cal-header{font-weight:bolder;text-align:center}.cal-month-view .cal-header .cal-cell{display:block;overflow:hidden;padding:5px 0;text-overflow:ellipsis;white-space:nowrap}.cal-month-view .cal-days{border:1px solid;border-bottom:0}.cal-month-view .cal-cell-top{flex:1;min-height:78px}.cal-month-view .cal-cell-row{display:flex}.cal-month-view .cal-cell{align-items:stretch;display:flex;flex:1;flex-direction:column;float:left}.cal-month-view .cal-cell .cal-event{pointer-events:all!important}.cal-month-view .cal-day-cell{min-height:100px}@media (-ms-high-contrast:none){.cal-month-view .cal-day-cell{display:block}}.cal-month-view .cal-day-cell:not(:last-child){border-right:1px solid}.cal-month-view .cal-days .cal-cell-row{border-bottom:1px solid}.cal-month-view .cal-day-badge{border-radius:10px;display:inline-block;font-size:12px;font-weight:700;line-height:1;margin-left:10px;margin-top:18px;min-width:10px;padding:3px 7px;text-align:center;vertical-align:middle;white-space:nowrap}.cal-month-view .cal-day-number{float:right;font-size:1.2em;font-weight:400;margin-bottom:10px;margin-right:15px;margin-top:15px;opacity:.5}.cal-month-view .cal-events{align-items:flex-end;display:flex;flex:1;flex-wrap:wrap;line-height:10px;margin:3px}.cal-month-view .cal-event{border-radius:50%;display:inline-block;height:10px;margin:2px;width:10px}.cal-month-view .cal-day-cell.cal-in-month.cal-has-events{cursor:pointer}.cal-month-view .cal-day-cell.cal-out-month .cal-day-number{cursor:default;opacity:.1}.cal-month-view .cal-day-cell.cal-today .cal-day-number{font-size:1.9em}.cal-month-view .cal-open-day-events{padding:15px}.cal-month-view .cal-open-day-events .cal-event{position:relative;top:2px}.cal-month-view .cal-out-month .cal-day-badge,.cal-month-view .cal-out-month .cal-event{opacity:.3}.cal-month-view .cal-draggable{cursor:move}.cal-month-view .cal-drag-active *{pointer-events:none}.cal-month-view .cal-event-title{cursor:pointer}.cal-month-view .cal-event-title:hover{text-decoration:underline}.cal-month-view{background-color:#fff}.cal-month-view .cal-cell-row:hover{background-color:#fafafa}.cal-month-view .cal-cell-row .cal-cell:hover,.cal-month-view .cal-cell.cal-has-events.cal-open{background-color:#ededed}.cal-month-view .cal-days{border-color:#e1e1e1}.cal-month-view .cal-day-cell:not(:last-child){border-right-color:#e1e1e1}.cal-month-view .cal-days .cal-cell-row{border-bottom-color:#e1e1e1}.cal-month-view .cal-day-badge{background-color:#b94a48;color:#fff}.cal-month-view .cal-event{background-color:#1e90ff;border-color:#d1e8ff;color:#fff}.cal-month-view .cal-day-cell.cal-weekend .cal-day-number{color:#8b0000}.cal-month-view .cal-day-cell.cal-today{background-color:#e8fde7}.cal-month-view .cal-day-cell.cal-drag-over{background-color:#e0e0e0!important}.cal-month-view .cal-open-day-events{background-color:#555;box-shadow:inset 0 0 15px 0 rgba(0,0,0,.5);color:#fff}.cal-week-view *{box-sizing:border-box}.cal-week-view .cal-day-headers{border:1px solid;display:flex;padding-left:70px}.cal-week-view .cal-day-headers .cal-header{flex:1;padding:5px;text-align:center}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right:1px solid}.cal-week-view .cal-day-headers .cal-header:first-child{border-left:1px solid}.cal-week-view .cal-day-headers span{font-weight:400;opacity:.5}.cal-week-view .cal-day-column{border-left:1px solid;flex-grow:1}.cal-week-view .cal-event{border:1px solid;font-size:12px}.cal-week-view .cal-time-label-column{height:100%;width:70px}.cal-week-view .cal-current-time-marker{height:2px;position:absolute;width:100%;z-index:2}.cal-week-view .cal-all-day-events{border-bottom:3px solid;border-left:1px solid;border-right:1px solid;border-top:0;padding-top:3px;position:relative}.cal-week-view .cal-all-day-events .cal-day-columns{display:flex;height:100%;position:absolute;top:0;width:100%;z-index:0}.cal-week-view .cal-all-day-events .cal-events-row{height:31px;margin-left:70px;position:relative}.cal-week-view .cal-all-day-events .cal-event-container{display:inline-block;position:absolute}.cal-week-view .cal-all-day-events .cal-event-container.resize-active{pointer-events:none;z-index:1}.cal-week-view .cal-all-day-events .cal-event{height:28px;line-height:28px;margin-left:2px;margin-right:2px;padding:0 5px}.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event{border-bottom-left-radius:5px;border-top-left-radius:5px}.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event{border-bottom-right-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-all-day-events .cal-time-label-column{align-items:center;display:flex;font-size:14px;justify-content:center}.cal-week-view .cal-all-day-events .cal-resize-handle{cursor:col-resize;height:100%;position:absolute;top:0;width:6px}.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end{right:0}.cal-week-view .cal-event,.cal-week-view .cal-header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cal-week-view .cal-drag-active{pointer-events:none;z-index:1}.cal-week-view .cal-drag-active *{pointer-events:none}.cal-week-view .cal-time-events{border:1px solid;border-top:0;display:flex;position:relative}.cal-week-view .cal-time-events .cal-day-columns{display:flex;flex-grow:1}.cal-week-view .cal-time-events .cal-day-column,.cal-week-view .cal-time-events .cal-events-container{position:relative}.cal-week-view .cal-time-events .cal-event-container{position:absolute;z-index:1}.cal-week-view .cal-time-events .cal-event{height:calc(100% - 2px);line-height:25px;margin:1px;padding:0 5px;width:calc(100% - 2px)}.cal-week-view .cal-time-events .cal-resize-handle{cursor:row-resize;height:4px;position:absolute;width:100%}.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end{bottom:0}.cal-week-view .cal-hour-segment{position:relative}.cal-week-view .cal-hour-segment:after{content:\"\\00a0\"}.cal-week-view .cal-event-container:not(.cal-draggable){cursor:pointer}.cal-week-view .cal-draggable{cursor:move}.cal-week-view .cal-hour-segment,.cal-week-view mwl-calendar-week-view-hour-segment{display:block}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom:thin dashed}.cal-week-view .cal-time{font-weight:700;padding-top:5px;text-align:center;width:70px}.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time{display:none}.cal-week-view .cal-starts-within-day .cal-event{border-top-left-radius:5px;border-top-right-radius:5px}.cal-week-view .cal-ends-within-day .cal-event{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.cal-week-view{background-color:#fff;border-top:1px solid #e1e1e1}.cal-week-view .cal-day-headers{border-color:#e1e1e1;border-top:0}.cal-week-view .cal-day-headers .cal-header:not(:last-child){border-right-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-header:first-child{border-left-color:#e1e1e1}.cal-week-view .cal-day-headers .cal-drag-over,.cal-week-view .cal-day-headers .cal-header:hover{background-color:#ededed}.cal-week-view .cal-day-column{border-left-color:#e1e1e1}.cal-week-view .cal-event{background-color:#d1e8ff;border-color:#1e90ff;color:#1e90ff}.cal-week-view .cal-all-day-events{border-color:#e1e1e1}.cal-week-view .cal-header.cal-today{background-color:#e8fde7}.cal-week-view .cal-header.cal-weekend span{color:#8b0000}.cal-week-view .cal-time-events{border-color:#e1e1e1}.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover{background-color:#ededed}.cal-week-view .cal-hour-odd{background-color:#fafafa}.cal-week-view .cal-drag-over .cal-hour-segment{background-color:#ededed}.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment,.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment{border-bottom-color:#e1e1e1}.cal-week-view .cal-current-time-marker{background-color:#ea4334}.cal-day-view mwl-calendar-week-view-header{display:none}.cal-day-view .cal-events-container{margin-left:70px}.cal-day-view .cal-day-column{border-left:0}.cal-day-view .cal-current-time-marker{margin-left:70px;width:calc(100% - 70px)}.cal-tooltip{display:block;font-size:11px;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.5;opacity:.9;position:absolute;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:break-word;z-index:1070}.cal-tooltip.cal-tooltip-top{margin-top:-3px;padding:5px 0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-width:5px 5px 0;bottom:0;left:50%;margin-left:-5px}.cal-tooltip.cal-tooltip-right{margin-left:3px;padding:0 5px}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-width:5px 5px 5px 0;left:0;margin-top:-5px;top:50%}.cal-tooltip.cal-tooltip-bottom{margin-top:3px;padding:5px 0}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-width:0 5px 5px;left:50%;margin-left:-5px;top:0}.cal-tooltip.cal-tooltip-left{margin-left:-3px;padding:0 5px}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-width:5px 0 5px 5px;margin-top:-5px;right:0;top:50%}.cal-tooltip-inner{border-radius:.25rem;max-width:200px;padding:3px 8px;text-align:center}.cal-tooltip-arrow{border-color:transparent;border-style:solid;height:0;position:absolute;width:0}.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow{border-top-color:#000}.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow{border-right-color:#000}.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow{border-bottom-color:#000}.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow{border-left-color:#000}.cal-tooltip-inner{background-color:#000;color:#fff}.m-button,.m-button-grey,.m-button-grey.reverse,.m-button-primary,.m-button-primary.reverse,.m-button-secondary,.m-button-secondary.reverse,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites.reverse:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal.reverse:not(.m-button-primary),.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-button-radius);cursor:pointer;display:flex;font-size:var(--m-button-text-size);font-weight:var(--m-button-text-weight);justify-content:center;line-height:var(--m-button-text-height);outline:0;padding:var(--m-button-padding);user-select:none}.m-button-grey.reverse ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-primary.reverse ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary.reverse ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites.reverse:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal.reverse:not(.m-button-primary) ng-miam-icon,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon{padding:0}.m-button-grey ng-miam-icon:last-child,.m-button-primary ng-miam-icon:last-child,.m-button-secondary ng-miam-icon:last-child,.m-button ng-miam-icon:last-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:last-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:last-child{margin-left:var(--m-button-gap)}.m-button-grey ng-miam-icon:first-child,.m-button-primary ng-miam-icon:first-child,.m-button-secondary ng-miam-icon:first-child,.m-button ng-miam-icon:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:first-child{margin-right:var(--m-button-gap)}.m-button-grey ng-miam-icon:last-child:first-child,.m-button-primary ng-miam-icon:last-child:first-child,.m-button-secondary ng-miam-icon:last-child:first-child,.m-button ng-miam-icon:last-child:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:last-child:first-child,.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:last-child:first-child{margin:0}.m-button-primary{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-primary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-primary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}@media (min-width:1023px){.m-button-primary.reverse:hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-primary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-primary.reverse ng-miam-icon svg path{fill:var(--m-color-primary)}.m-button-secondary{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-secondary:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary:hover ng-miam-icon svg path{fill:var(--m-color-secondary)}}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-white)}.m-button-secondary.reverse{background-color:var(--m-color-white);border:1px solid var(--m-color-secondary);color:var(--m-color-secondary)}@media (min-width:1023px){.m-button-secondary.reverse:hover{background-color:var(--m-color-secondary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-secondary.reverse:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-secondary.reverse ng-miam-icon svg path{fill:var(--m-color-secondary)}.m-button-grey{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}@media (min-width:1023px){.m-button-grey:hover{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey:hover ng-miam-icon svg path{fill:var(--m-color-white)}}.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}.m-button-grey.reverse{background-color:var(--m-color-grey03);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.m-button-grey.reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.m-button-grey.reverse:hover ng-miam-icon svg path{fill:var(--m-color-grey03)}}.m-button-grey.reverse ng-miam-icon svg path{fill:var(--m-color-white)}.m-input{align-items:center;border:1px solid var(--m-color-grey06);border-radius:5px;display:flex;justify-content:space-between;margin-top:16px;max-width:320px;min-width:200px;outline:none;padding:8px 16px}.m-input:focus-within{border:1px solid var(--m-color-primary)}@media (max-width:1023px){.m-input{padding:8px}}.m-title-text-input .miam-text-input{max-width:565px}.miam-flex-column{display:flex;flex-direction:column;justify-content:space-around}.miam-flex-row{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin:auto}.m-default-card{background-color:var(--m-color-unpure-white);border-radius:8px;box-shadow:var(--m-shadow-small);padding:16px}@media (max-width:1023px){.m-default-card{margin-bottom:8px;padding:8px}}#toast-container>div{opacity:.95!important}@media (min-width:1023px){#toast-container>div:hover{opacity:1!important}}@-webkit-keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}@keyframes jiggle{0%{transform:none}25%{transform:rotate(5deg)}75%{transform:rotate(-5deg)}to{transform:none}}:root{--m-border-radius:var(--miam-border-radius,8px);--m-border-radius-circle:50%;--m-border-radius-pill:25px;--m-button-gap:var(--miam-button-gap,10px);--m-button-padding:var(--miam-button-padding,9px 20px);--m-button-radius:var(--miam-button-padding,var(--m-border-radius-pill));--m-button-text-height:var(--miam-button-text-height,calc(var(--m-button-text-size)*1.5));--m-button-text-size:var(--miam-button-text-size,14px);--m-button-text-weight:var(--miam-button-text-weight,normal);--m-catalog-alt-button-color:var(--miam-catalog-alt-button-color,rgba(0,0,0,0.3));--m-catalog-alt-button-text-color:var(--miam-catalog-alt-button-text-color,var(--m-color-white));--m-catalog-alt-button-text-color-reverse:var(--miam-catalog-alt-button-text-color-reverse,var(--m-color-black));--m-catalog-card-bg-color:var(--miam-catalog-card-bg-color,var(--m-color-white));--m-catalog-card-details-color:var(--miam-catalog-card-details-color,#575756);--m-catalog-card-details-line-height:var(--miam-catalog-card-details-color,15px);--m-catalog-card-details-size:var(--miam-catalog-card-details-color,11px);--m-catalog-card-height:var(--miam-catalog-card-height,400px);--m-catalog-card-minwidth:var(--miam-catalog-card-minwidth,250px);--m-catalog-card-picture-height:var(--miam-catalog-card-picture-height,240px);--m-catalog-card-title-line-height:var(--miam-catalog-card-title-line-height 16px);--m-catalog-card-title-size:var(--miam-catalog-card-title-size,13px);--m-catalog-cards-spacing:var(--miam-catalog-cards-spacing,16px);--m-catalog-header-reduced-bg-color:var(--miam-catalog-header-reduced-bg-color,var(--m-color-primary));--m-catalog-header-reduced-text-color:var(--miam-catalog-header-reduced-text-color,var(--m-color-white));--m-catalog-header-text-color:var(--miam-catalog-header-text-color,var(--m-color-white));--m-catalog-redpoint-color:var(--miam-catalog-redpoint-color,#dd1219);--m-catalog-redpoint-text-color:var(--miam-catalog-redpoint-color,var(--m-color-white));--m-color-black:var(--miam-color-black,#0e0e2c);--m-color-card-shadow:var(--miam-color-card-shadow,#eaf2fb);--m-color-danger:var(--miam-color-danger,#f97d7d);--m-color-danger-text:var(--miam-color-danger-text,#700505);--m-color-grey:var(--miam-color-grey,#f5f5f5);--m-color-grey-text:var(--miam-color-grey-text,#acb0b9);--m-color-grey-text-dark:var(--miam-color-grey-text-dark,#757575);--m-color-grey01:var(--miam-color-grey01,#505062);--m-color-grey02:var(--miam-color-grey02,#67677e);--m-color-grey03:var(--miam-color-grey03,#818198);--m-color-grey04:var(--miam-color-grey04,#9d9daf);--m-color-grey05:var(--miam-color-grey05,#b9b9c6);--m-color-grey06:var(--miam-color-grey06,#d5d5dd);--m-color-grey07:var(--miam-color-grey07,#e3e3e8);--m-color-hairlines:var(--miam-color-hairlines,#ecf1f4);--m-color-info:var(--miam-color-info,#8cd4eb);--m-color-info-text:var(--miam-color-info-text,#125368);--m-color-light-slate:var(--miam-color-light-slate,#8c8ca1);--m-color-onyx:var(--miam-color-onyx,#0e0e2c);--m-color-primary:var(--miam-color-primary,#006574);--m-color-primary-dark:var(--miam-color-primary-dark,darken(#006574,10%));--m-color-primary-light:var(--miam-color-primary-light,lighten(#006574,10%));--m-color-primary-text:var(--miam-color-primary-text,#fff);--m-color-secondary:var(--miam-color-secondary,#ef760f);--m-color-secondary-dark:var(--miam-color-secondary-dark,#ef7711);--m-color-secondary-light:var(--miam-color-secondary-light,#faebd7);--m-color-secondary-text:var(--miam-color-secondary-text,#fff);--m-color-slate:var(--miam-color-slate,#4a4a68);--m-color-success:var(--miam-color-success,#44d6b3);--m-color-success-text:var(--miam-color-success-text,#135344);--m-color-tag-diet:var(--miam-color-tag-diet,#d3f8dd);--m-color-tag-equipment:var(--miam-color-tag-equipment,#e6e5e5);--m-color-tag-ingredient-category:var(--miam-color-tag-ingredient-category,#d3f5f8);--m-color-tag-meal-type:var(--miam-color-meal-type,#fbe8d0);--m-color-ternary:var(--miam-color-ternary,#1accf8);--m-color-ternary-dark:var(--miam-color-ternary-dark,#057894);--m-color-ternary-light:var(--miam-color-ternary-light,#cef4fd);--m-color-ternary-text:var(--miam-color-ternary-text,#fff);--m-color-unpure-white:var(--miam-color-unpure-white,#fefefe);--m-color-warning:var(--miam-color-warning,#ffdaa3);--m-color-warning-text:var(--miam-color-warning-text,#f90);--m-color-white:var(--miam-color-white,#fafcfe);--m-default-transition:var(--miam-default-transition,all 0.3s ease-in-out);--m-font-size-Xlarge:var(--miam-font-size-Xlarge,24px);--m-font-size-large:var(--miam-font-size-large,20px);--m-font-size-medium:var(--miam-font-size-medium,16px);--m-font-size-small:var(--miam-font-size-small,14px);--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px);--m-shadow-small:var(--miam-shadow-small,0px 3px 4px var(--m-color-card-shadow));--m-z-index-drawer-container:var(--miam-z-index-drawer-container,5000002);--m-z-index-drawer-overlay:var(--miam-z-index-drawer-overlay,5000001);--m-z-index-loader:var(--miam-z-index-loader,2);--m-z-index-modal:var(--miam-z-index-modal,6001);--m-z-index-modal-overlay:var(--miam-z-index-modal-overlay,6000);--m-z-index-position-absolute-high:var(--miam-z-index-position-absolute-high,1);--m-z-index-position-absolute-low:var(--miam-z-index-position-absolute-low,0)}.m-title-text-input:focus-within :root .miam-text-input__label,.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-body-typo,:root .m-h1-typo,:root .m-input,:root .m-input>*,:root .m-small-typo,:root .m-title-text-input:focus-within .miam-text-input__label,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){color:var(--m-color-slate);font-family:Work Sans;font-size:var(--m-font-size-medium);font-style:normal;font-weight:500;line-height:24px}.m-title-text-input :root input,.m-title-text-input :root label:not(.miam-text-input__label__top),:root .m-h1-typo,:root .m-title-text-input input,:root .m-title-text-input label:not(.miam-text-input__label__top){font-size:40px;font-weight:700;line-height:48px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{:root *{-webkit-animation:none!important;-webkit-transition:none!important;animation:none!important;transition:none!important}:root .miam-not-printable{display:none}:root:last-child{page-break-after:auto}}:root .miam-print-only{display:none}@media print{:root .miam-print-only{display:block}}.miam-catalog-header{background-size:cover;padding:32px 24px 24px 40px;position:relative;width:100%}.miam-catalog-header.reduced{background-color:var(--m-catalog-header-reduced-bg-color);background-image:none!important;padding:24px}.miam-catalog-header.reduced .miam-catalog-header__content{align-items:center;flex-direction:row;justify-content:space-between}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav{color:var(--m-catalog-header-reduced-text-color);margin-bottom:0}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav .chevron-right .icon-container svg path:last-child{fill:var(--m-catalog-header-reduced-text-color)}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav a{color:var(--m-catalog-header-reduced-text-color)}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search{flex-grow:1;margin-left:24px;width:auto}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:flex-end}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar{flex-grow:1;max-width:400px;width:unset}.miam-catalog-header .miam-catalog-header__content{align-items:flex-start;display:flex;flex-direction:column;height:100%;width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav{align-items:center;color:var(--m-catalog-header-text-color);display:flex;font-weight:700;margin-bottom:24px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav .chevron-right{transform:rotate(-90deg)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav .chevron-right .icon-container svg path:last-child{fill:var(--m-catalog-header-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav a{color:var(--m-catalog-header-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__nav>*{margin-right:4px;text-align:center}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__title-and-search{width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__title{color:var(--m-catalog-header-text-color);display:flex;font-size:28px;font-weight:700;line-height:42px;margin-bottom:24px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters{align-items:center;display:flex;justify-content:space-between;width:100%}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar{align-items:center;background:var(--m-color-white);border:1px solid #ddd;border-radius:var(--m-border-radius-pill);display:flex;font-size:14px;height:45px;padding:0 2px 0 20px;width:400px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar .miam-catalog-header__searchbar__input{background:transparent;border:transparent;flex:1}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar .miam-catalog-header__searchbar__input:focus{outline:transparent}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar button.miam-catalog-header__searchbar__button{padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__searchbar button.miam-catalog-header__searchbar__button:hover{border-color:transparent}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls{display:flex}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button{margin-left:8px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button span{white-space:nowrap}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter{border-color:transparent;font-weight:700;position:relative}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter.reduced ng-miam-icon{margin:0}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__filter .miam-catalog-header__controls__filter-badge{align-items:center;background-color:var(--m-catalog-redpoint-color);border-radius:var(--m-border-radius-circle);color:var(--m-catalog-redpoint-text-color);display:flex;font-size:12px;height:18px;justify-content:center;line-height:18px;position:absolute;right:-4px;top:-4px;width:18px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);font-weight:700}@media (min-width:1023px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-color-white)}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon svg path{fill:var(--m-color-primary)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse{background-color:var(--m-color-primary);border:1px solid var(--m-color-white);color:var(--m-color-white)}@media (min-width:1023px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse:hover{background-color:var(--m-color-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse:hover ng-miam-icon svg path{fill:var(--m-color-primary)}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reverse ng-miam-icon svg path{fill:var(--m-color-white)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) img{filter:invert(33%) sepia(25%) saturate(5002%) hue-rotate(184deg) brightness(91%) contrast(87%)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{border-color:transparent;color:var(--m-color-white);font-weight:700}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover img{filter:invert(95%) sepia(100%) saturate(0) hue-rotate(248deg) brightness(106%) contrast(103%)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary){border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary) ng-miam-icon:first-child{margin:0}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary):hover{background-color:var(--m-color-primary)!important}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls_personnal:not(.m-button-primary).reduced{padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary){background-color:var(--m-catalog-alt-button-color);border:1px solid var(--m-catalog-alt-button-text-color);color:var(--m-catalog-alt-button-text-color);font-weight:700}@media (min-width:1023px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover{background-color:var(--m-catalog-alt-button-text-color);border:1px solid var(--m-catalog-alt-button-color);color:var(--m-catalog-alt-button-color);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-color)}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse{background-color:var(--m-catalog-alt-button-text-color);border:1px solid var(--m-catalog-alt-button-color);color:var(--m-catalog-alt-button-color)}@media (min-width:1023px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse:hover{background-color:var(--m-catalog-alt-button-color);border:1px solid var(--m-catalog-alt-button-text-color);color:var(--m-catalog-alt-button-text-color);transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out,fill .3s ease-in-out}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse:hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color)}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary).reverse ng-miam-icon svg path{fill:var(--m-catalog-alt-button-color)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover{border-color:transparent;color:var(--m-catalog-alt-button-text-color-reverse)}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary):hover ng-miam-icon svg path{fill:var(--m-catalog-alt-button-text-color-reverse)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary){border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.miam-catalog-header__controls__favorites:not(.m-button-primary) ng-miam-icon:first-child{margin:0}}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.reduced{border-color:initial;padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__search-and-filters .miam-catalog-header__controls>button.reduced img{filter:invert(95%) sepia(100%) saturate(0) hue-rotate(248deg) brightness(106%) contrast(103%)}@media (max-width:767px){.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter{border-radius:var(--m-border-radius-circle);padding:10px}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter span{display:none}.miam-catalog-header .miam-catalog-header__content .miam-catalog-header__controls .miam-catalog-header__controls__filter ng-miam-icon{margin-right:0!important}.miam-catalog-header.reduced .miam-catalog-header__nav{display:none}}@media (max-width:607px){.miam-catalog-header.reduced,.miam-catalog-header:not(.reduced){background-color:var(--m-catalog-header-reduced-bg-color);background-image:none!important;padding:16px 12px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__nav,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__nav{display:none}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search{margin-left:0}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__title,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__title{justify-content:center;margin-bottom:16px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:center}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar{border:0;height:42px;max-width:42px;padding:0;width:42px}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters.searching .miam-catalog-header__controls,.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar input.miam-catalog-header__searchbar__input,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters.searching .miam-catalog-header__controls,.miam-catalog-header:not(.reduced) .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters:not(.searching) .miam-catalog-header__searchbar input.miam-catalog-header__searchbar__input{display:none}.miam-catalog-header.reduced .miam-catalog-header__content .miam-catalog-header__title-and-search .miam-catalog-header__search-and-filters{justify-content:flex-end}}"], encapsulation: 2, changeDetection: 0 });
12678
12847
  /*@__PURE__*/ (function () {
12679
12848
  i0.ɵsetClassMetadata(CatalogHeaderComponent, [{
12680
12849
  type: i0.Component,
@@ -15728,7 +15897,7 @@
15728
15897
  function RecipeCatalogComponent_div_2_ng_template_7_div_0_ng_container_1_div_2_Template(rf, ctx) {
15729
15898
  if (rf & 1) {
15730
15899
  i0.ɵɵelementStart(0, "div", 27);
15731
- i0.ɵɵelement(1, "ng-miam-explaine-banner");
15900
+ i0.ɵɵelement(1, "ng-miam-explain-banner");
15732
15901
  i0.ɵɵelementEnd();
15733
15902
  }
15734
15903
  }
@@ -15870,12 +16039,22 @@
15870
16039
  this.setDirectAccess(this.initialRoute);
15871
16040
  };
15872
16041
  RecipeCatalogComponent.prototype.ngAfterViewInit = function () {
16042
+ this.openFeaturesFromURL();
15873
16043
  this.cdr.detectChanges();
15874
16044
  };
15875
16045
  RecipeCatalogComponent.prototype.ngOnDestroy = function () {
15876
16046
  this.subscriptions.forEach(function (s) { return s.unsubscribe(); });
15877
16047
  };
15878
16048
  RecipeCatalogComponent.prototype.currentPath = function () { return 'miam/recipes'; };
16049
+ RecipeCatalogComponent.prototype.openFeaturesFromURL = function () {
16050
+ var paramsArray = new URLSearchParams(window.location.search);
16051
+ if (paramsArray.get('openBasket') === 'true') {
16052
+ this.toggleMyMealDrawer();
16053
+ }
16054
+ if (paramsArray.get('personalCatalog') === 'true') {
16055
+ this.setPersonalFilter();
16056
+ }
16057
+ };
15879
16058
  RecipeCatalogComponent.prototype.displayHomePage = function () {
15880
16059
  return this.filters.isEmpty();
15881
16060
  };
@@ -16105,7 +16284,7 @@
16105
16284
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topAnchor = _t.first);
16106
16285
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.categoriesComp = _t);
16107
16286
  }
16108
- }, inputs: { headerPictureUrl: "headerPictureUrl", homeTitlePictureUrl: "homeTitlePictureUrl", initialRoute: "initialRoute", filtersPosition: "filtersPosition", homeLabel: "homeLabel", displayPricing: "displayPricing", recipeAddedToastText: "recipeAddedToastText", customFilters: "customFilters" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 2, consts: [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], ["class", "miam-recipe-catalog", 4, "ngIf", "ngIfElse"], ["creationPage", ""], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [3, "title", "homeLabel", "pictureUrl", "titlePictureUrl", "favoritesButtonHidden", "personalButtonHidden", "filterBadgeCount", "returnButtonPressed", "filterButtonPressed", "searchStringChanged", "personalButtonPressed", "favoritesButtonPressed"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "originTrace", "filterChanged", "filterCollapsed", "preferencesChanged"], ["categoriesComponents", ""], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-catalog__myMeal__first__icon", 3, "iconName"], [1, "miam-recipe-catalog__myMeal__button__text"], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-catalog__myMeal__second__icon", 3, "iconName"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], ["width", "24", "height", "24", 3, "iconName", "click"], ["class", "miam-recipe-catalog__list__create___button", 3, "click", 4, "ngIf"], [3, "filters", "originTrace", "displayPricing", "recipeAddedToastText", "filterRemoved", "recipeActionTriggered"], [1, "miam-recipe-catalog__list__create___button", 3, "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-primary)", 3, "iconName"], ["class", "miam-recipe-catalog__categories", 4, "ngIf"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [3, "title", "subtitle", "filters", "displayPricing", "originTrace", "recipeAddedToastText", "displayList"], ["class", "miam-recipe-catalog__explaine_banner", 4, "ngIf"], [1, "miam-recipe-catalog__explaine_banner"], [3, "recipe", "originTrace", "recipeChange", "canceled"]], template: function RecipeCatalogComponent_Template(rf, ctx) {
16287
+ }, inputs: { headerPictureUrl: "headerPictureUrl", homeTitlePictureUrl: "homeTitlePictureUrl", initialRoute: "initialRoute", filtersPosition: "filtersPosition", homeLabel: "homeLabel", displayPricing: "displayPricing", recipeAddedToastText: "recipeAddedToastText", customFilters: "customFilters" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 2, consts: [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], ["class", "miam-recipe-catalog", 4, "ngIf", "ngIfElse"], ["creationPage", ""], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [3, "title", "homeLabel", "pictureUrl", "titlePictureUrl", "favoritesButtonHidden", "personalButtonHidden", "filterBadgeCount", "returnButtonPressed", "filterButtonPressed", "searchStringChanged", "personalButtonPressed", "favoritesButtonPressed"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "originTrace", "filterChanged", "filterCollapsed", "preferencesChanged"], ["categoriesComponents", ""], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-catalog__myMeal__first__icon", 3, "iconName"], [1, "miam-recipe-catalog__myMeal__button__text"], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-catalog__myMeal__second__icon", 3, "iconName"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], ["width", "24", "height", "24", 3, "iconName", "click"], ["class", "miam-recipe-catalog__list__create___button", 3, "click", 4, "ngIf"], [3, "filters", "originTrace", "displayPricing", "recipeAddedToastText", "filterRemoved", "recipeActionTriggered"], [1, "miam-recipe-catalog__list__create___button", 3, "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-primary)", 3, "iconName"], ["class", "miam-recipe-catalog__categories", 4, "ngIf"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [3, "title", "subtitle", "filters", "displayPricing", "originTrace", "recipeAddedToastText", "displayList"], ["class", "miam-recipe-catalog__explain_banner", 4, "ngIf"], [1, "miam-recipe-catalog__explain_banner"], [3, "recipe", "originTrace", "recipeChange", "canceled"]], template: function RecipeCatalogComponent_Template(rf, ctx) {
16109
16288
  if (rf & 1) {
16110
16289
  i0.ɵɵelement(0, "div", 0, 1);
16111
16290
  i0.ɵɵtemplate(2, RecipeCatalogComponent_div_2_Template, 9, 17, "div", 2);
@@ -16220,7 +16399,7 @@
16220
16399
  function RecipeDetailsInfosComponent_ng_container_4_Template(rf, ctx) {
16221
16400
  if (rf & 1) {
16222
16401
  i0.ɵɵelementContainerStart(0);
16223
- i0.ɵɵelement(1, "ng-miam-icon", 11);
16402
+ i0.ɵɵelement(1, "ng-miam-icon", 13);
16224
16403
  i0.ɵɵelementContainerEnd();
16225
16404
  }
16226
16405
  if (rf & 2) {
@@ -16232,7 +16411,7 @@
16232
16411
  function RecipeDetailsInfosComponent_ng_container_5_Template(rf, ctx) {
16233
16412
  if (rf & 1) {
16234
16413
  i0.ɵɵelementContainerStart(0);
16235
- i0.ɵɵelement(1, "ng-miam-icon", 11);
16414
+ i0.ɵɵelement(1, "ng-miam-icon", 13);
16236
16415
  i0.ɵɵelementContainerEnd();
16237
16416
  }
16238
16417
  if (rf & 2) {
@@ -16244,7 +16423,7 @@
16244
16423
  function RecipeDetailsInfosComponent_ng_container_6_Template(rf, ctx) {
16245
16424
  if (rf & 1) {
16246
16425
  i0.ɵɵelementContainerStart(0);
16247
- i0.ɵɵelement(1, "ng-miam-icon", 11);
16426
+ i0.ɵɵelement(1, "ng-miam-icon", 13);
16248
16427
  i0.ɵɵelementContainerEnd();
16249
16428
  }
16250
16429
  if (rf & 2) {
@@ -16275,7 +16454,7 @@
16275
16454
  i0.ɵɵtextInterpolate(ctx_r3.recipe == null ? null : ctx_r3.recipe.cookingTime);
16276
16455
  }
16277
16456
  }
16278
- function RecipeDetailsInfosComponent_div_18_div_2_Template(rf, ctx) {
16457
+ function RecipeDetailsInfosComponent_div_19_div_1_Template(rf, ctx) {
16279
16458
  if (rf & 1) {
16280
16459
  i0.ɵɵelementStart(0, "div", 16);
16281
16460
  i0.ɵɵelement(1, "ng-miam-icon", 7);
@@ -16290,14 +16469,14 @@
16290
16469
  i0.ɵɵelementEnd();
16291
16470
  }
16292
16471
  if (rf & 2) {
16293
- var ctx_r5 = i0.ɵɵnextContext(2);
16472
+ var ctx_r6 = i0.ɵɵnextContext(2);
16294
16473
  i0.ɵɵadvance(1);
16295
- i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r5.icon.Preparation);
16474
+ i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r6.icon.Preparation);
16296
16475
  i0.ɵɵadvance(5);
16297
- i0.ɵɵtextInterpolate(ctx_r5.recipe == null ? null : ctx_r5.recipe.preparationTime);
16476
+ i0.ɵɵtextInterpolate(ctx_r6.recipe == null ? null : ctx_r6.recipe.preparationTime);
16298
16477
  }
16299
16478
  }
16300
- function RecipeDetailsInfosComponent_div_18_div_3_Template(rf, ctx) {
16479
+ function RecipeDetailsInfosComponent_div_19_div_2_Template(rf, ctx) {
16301
16480
  if (rf & 1) {
16302
16481
  i0.ɵɵelementStart(0, "div", 16);
16303
16482
  i0.ɵɵelement(1, "ng-miam-icon", 7);
@@ -16312,14 +16491,14 @@
16312
16491
  i0.ɵɵelementEnd();
16313
16492
  }
16314
16493
  if (rf & 2) {
16315
- var ctx_r6 = i0.ɵɵnextContext(2);
16494
+ var ctx_r7 = i0.ɵɵnextContext(2);
16316
16495
  i0.ɵɵadvance(1);
16317
- i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r6.icon.Hot);
16496
+ i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r7.icon.Hot);
16318
16497
  i0.ɵɵadvance(5);
16319
- i0.ɵɵtextInterpolate(ctx_r6.recipe == null ? null : ctx_r6.recipe.cookingTime);
16498
+ i0.ɵɵtextInterpolate(ctx_r7.recipe == null ? null : ctx_r7.recipe.cookingTime);
16320
16499
  }
16321
16500
  }
16322
- function RecipeDetailsInfosComponent_div_18_div_4_Template(rf, ctx) {
16501
+ function RecipeDetailsInfosComponent_div_19_div_3_Template(rf, ctx) {
16323
16502
  if (rf & 1) {
16324
16503
  i0.ɵɵelementStart(0, "div", 16);
16325
16504
  i0.ɵɵelement(1, "ng-miam-icon", 7);
@@ -16334,14 +16513,32 @@
16334
16513
  i0.ɵɵelementEnd();
16335
16514
  }
16336
16515
  if (rf & 2) {
16337
- var ctx_r7 = i0.ɵɵnextContext(2);
16516
+ var ctx_r8 = i0.ɵɵnextContext(2);
16338
16517
  i0.ɵɵadvance(1);
16339
- i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r7.icon.Wait);
16518
+ i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r8.icon.Wait);
16340
16519
  i0.ɵɵadvance(5);
16341
- i0.ɵɵtextInterpolate(ctx_r7.recipe == null ? null : ctx_r7.recipe.restingTime);
16520
+ i0.ɵɵtextInterpolate(ctx_r8.recipe == null ? null : ctx_r8.recipe.restingTime);
16342
16521
  }
16343
16522
  }
16344
- function RecipeDetailsInfosComponent_div_18_div_5_div_1_img_1_Template(rf, ctx) {
16523
+ function RecipeDetailsInfosComponent_div_19_Template(rf, ctx) {
16524
+ if (rf & 1) {
16525
+ i0.ɵɵelementStart(0, "div", 14);
16526
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_19_div_1_Template, 7, 4, "div", 15);
16527
+ i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_div_19_div_2_Template, 7, 4, "div", 15);
16528
+ i0.ɵɵtemplate(3, RecipeDetailsInfosComponent_div_19_div_3_Template, 7, 4, "div", 15);
16529
+ i0.ɵɵelementEnd();
16530
+ }
16531
+ if (rf & 2) {
16532
+ var ctx_r4 = i0.ɵɵnextContext();
16533
+ i0.ɵɵadvance(1);
16534
+ i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.preparationTime) !== "-");
16535
+ i0.ɵɵadvance(1);
16536
+ i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.cookingTime) !== "-");
16537
+ i0.ɵɵadvance(1);
16538
+ i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.restingTime) !== "-");
16539
+ }
16540
+ }
16541
+ function RecipeDetailsInfosComponent_div_20_div_1_img_1_Template(rf, ctx) {
16345
16542
  if (rf & 1) {
16346
16543
  i0.ɵɵelement(0, "img", 22);
16347
16544
  }
@@ -16350,10 +16547,10 @@
16350
16547
  i0.ɵɵproperty("src", tag_r10.attributes.icon, i0.ɵɵsanitizeUrl);
16351
16548
  }
16352
16549
  }
16353
- function RecipeDetailsInfosComponent_div_18_div_5_div_1_Template(rf, ctx) {
16550
+ function RecipeDetailsInfosComponent_div_20_div_1_Template(rf, ctx) {
16354
16551
  if (rf & 1) {
16355
16552
  i0.ɵɵelementStart(0, "div", 19);
16356
- i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_18_div_5_div_1_img_1_Template, 1, 1, "img", 20);
16553
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_20_div_1_img_1_Template, 1, 1, "img", 20);
16357
16554
  i0.ɵɵelementStart(2, "span", 21);
16358
16555
  i0.ɵɵtext(3);
16359
16556
  i0.ɵɵelementEnd();
@@ -16361,7 +16558,7 @@
16361
16558
  }
16362
16559
  if (rf & 2) {
16363
16560
  var tag_r10 = ctx.$implicit;
16364
- var ctx_r9 = i0.ɵɵnextContext(3);
16561
+ var ctx_r9 = i0.ɵɵnextContext(2);
16365
16562
  i0.ɵɵproperty("ngClass", ctx_r9.tagClass(tag_r10));
16366
16563
  i0.ɵɵadvance(1);
16367
16564
  i0.ɵɵproperty("ngIf", ctx_r9.displayTagsIcons);
@@ -16369,39 +16566,16 @@
16369
16566
  i0.ɵɵtextInterpolate1(" ", tag_r10.name, " ");
16370
16567
  }
16371
16568
  }
16372
- function RecipeDetailsInfosComponent_div_18_div_5_Template(rf, ctx) {
16569
+ function RecipeDetailsInfosComponent_div_20_Template(rf, ctx) {
16373
16570
  if (rf & 1) {
16374
16571
  i0.ɵɵelementStart(0, "div", 17);
16375
- i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_18_div_5_div_1_Template, 4, 3, "div", 18);
16376
- i0.ɵɵelementEnd();
16377
- }
16378
- if (rf & 2) {
16379
- var ctx_r8 = i0.ɵɵnextContext(2);
16380
- i0.ɵɵadvance(1);
16381
- i0.ɵɵproperty("ngForOf", ctx_r8.tags);
16382
- }
16383
- }
16384
- function RecipeDetailsInfosComponent_div_18_Template(rf, ctx) {
16385
- if (rf & 1) {
16386
- i0.ɵɵelementStart(0, "div", 12);
16387
- i0.ɵɵelementStart(1, "div", 13);
16388
- i0.ɵɵtemplate(2, RecipeDetailsInfosComponent_div_18_div_2_Template, 7, 4, "div", 14);
16389
- i0.ɵɵtemplate(3, RecipeDetailsInfosComponent_div_18_div_3_Template, 7, 4, "div", 14);
16390
- i0.ɵɵtemplate(4, RecipeDetailsInfosComponent_div_18_div_4_Template, 7, 4, "div", 14);
16391
- i0.ɵɵelementEnd();
16392
- i0.ɵɵtemplate(5, RecipeDetailsInfosComponent_div_18_div_5_Template, 2, 1, "div", 15);
16572
+ i0.ɵɵtemplate(1, RecipeDetailsInfosComponent_div_20_div_1_Template, 4, 3, "div", 18);
16393
16573
  i0.ɵɵelementEnd();
16394
16574
  }
16395
16575
  if (rf & 2) {
16396
- var ctx_r4 = i0.ɵɵnextContext();
16397
- i0.ɵɵadvance(2);
16398
- i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.preparationTime) !== "-");
16399
- i0.ɵɵadvance(1);
16400
- i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.cookingTime) !== "-");
16401
- i0.ɵɵadvance(1);
16402
- i0.ɵɵproperty("ngIf", (ctx_r4.recipe == null ? null : ctx_r4.recipe.restingTime) !== "-");
16576
+ var ctx_r5 = i0.ɵɵnextContext();
16403
16577
  i0.ɵɵadvance(1);
16404
- i0.ɵɵproperty("ngIf", ctx_r4.displayTags);
16578
+ i0.ɵɵproperty("ngForOf", ctx_r5.tags);
16405
16579
  }
16406
16580
  }
16407
16581
  var RecipeDetailsInfosComponent = /** @class */ (function () {
@@ -16433,7 +16607,7 @@
16433
16607
  return RecipeDetailsInfosComponent;
16434
16608
  }());
16435
16609
  RecipeDetailsInfosComponent.ɵfac = function RecipeDetailsInfosComponent_Factory(t) { return new (t || RecipeDetailsInfosComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(RecipesService)); };
16436
- RecipeDetailsInfosComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsInfosComponent, selectors: [["ng-miam-recipe-details-infos"]], inputs: { recipe: "recipe", displayTags: "displayTags", displayTagsIcons: "displayTagsIcons", reduced: "reduced" }, features: [i0.ɵɵNgOnChangesFeature], decls: 19, vars: 12, consts: [[1, "miam-recipe-details-infos"], [1, "miam-recipe-details-infos__main"], [1, "miam-recipe-details-infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details-infos__time", "miam-recipe-details-infos__time__total"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__time__text"], ["class", "miam-recipe-details-infos__time miam-recipe-details-infos__time__total", 4, "ngIf"], ["class", "miam-recipe-details-infos__additional", 4, "ngIf"], [3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__additional"], [1, "miam-recipe-details-infos__times"], ["class", "miam-recipe-details-infos__time", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [1, "miam-recipe-details-infos__time"], [1, "miam-recipe-details__tags"], ["class", "miam-recipe-details__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__tag", 3, "ngClass"], ["class", "miam-recipe-details__tag__icon", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__tag__name"], [1, "miam-recipe-details__tag__icon", 3, "src"]], template: function RecipeDetailsInfosComponent_Template(rf, ctx) {
16610
+ RecipeDetailsInfosComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsInfosComponent, selectors: [["ng-miam-recipe-details-infos"]], inputs: { recipe: "recipe", displayTags: "displayTags", displayTagsIcons: "displayTagsIcons", reduced: "reduced" }, features: [i0.ɵɵNgOnChangesFeature], decls: 21, vars: 13, consts: [[1, "miam-recipe-details-infos"], [1, "miam-recipe-details-infos__main"], [1, "miam-recipe-details-infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details-infos__time", "miam-recipe-details-infos__time__total"], ["primaryColor", "var(--m-color-black)", 3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__time__text"], ["class", "miam-recipe-details-infos__time miam-recipe-details-infos__time__total", 4, "ngIf"], [1, "miam-recipe-details-infos__additional"], ["class", "miam-recipe-details-infos__times", 4, "ngIf"], ["class", "miam-recipe-details__tags", 4, "ngIf"], [3, "width", "height", "iconName"], [1, "miam-recipe-details-infos__times"], ["class", "miam-recipe-details-infos__time", 4, "ngIf"], [1, "miam-recipe-details-infos__time"], [1, "miam-recipe-details__tags"], ["class", "miam-recipe-details__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__tag", 3, "ngClass"], ["class", "miam-recipe-details__tag__icon", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__tag__name"], [1, "miam-recipe-details__tag__icon", 3, "src"]], template: function RecipeDetailsInfosComponent_Template(rf, ctx) {
16437
16611
  if (rf & 1) {
16438
16612
  i0.ɵɵelementStart(0, "div", 0);
16439
16613
  i0.ɵɵelementStart(1, "div", 1);
@@ -16461,7 +16635,10 @@
16461
16635
  i0.ɵɵelementEnd();
16462
16636
  i0.ɵɵtemplate(17, RecipeDetailsInfosComponent_div_17_Template, 7, 4, "div", 9);
16463
16637
  i0.ɵɵelementEnd();
16464
- i0.ɵɵtemplate(18, RecipeDetailsInfosComponent_div_18_Template, 6, 4, "div", 10);
16638
+ i0.ɵɵelementStart(18, "div", 10);
16639
+ i0.ɵɵtemplate(19, RecipeDetailsInfosComponent_div_19_Template, 4, 3, "div", 11);
16640
+ i0.ɵɵtemplate(20, RecipeDetailsInfosComponent_div_20_Template, 2, 1, "div", 12);
16641
+ i0.ɵɵelementEnd();
16465
16642
  i0.ɵɵelementEnd();
16466
16643
  }
16467
16644
  if (rf & 2) {
@@ -16472,15 +16649,17 @@
16472
16649
  i0.ɵɵadvance(1);
16473
16650
  i0.ɵɵproperty("ngSwitchCase", 3);
16474
16651
  i0.ɵɵadvance(3);
16475
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 10, ctx.recipesService.difficultyLabel(ctx.recipe == null ? null : ctx.recipe.difficulty)));
16652
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(9, 11, ctx.recipesService.difficultyLabel(ctx.recipe == null ? null : ctx.recipe.difficulty)));
16476
16653
  i0.ɵɵadvance(3);
16477
16654
  i0.ɵɵproperty("width", 24)("height", 24)("iconName", ctx.icon.Time);
16478
16655
  i0.ɵɵadvance(5);
16479
16656
  i0.ɵɵtextInterpolate(ctx.recipe == null ? null : ctx.recipe.totalTime);
16480
16657
  i0.ɵɵadvance(1);
16481
16658
  i0.ɵɵproperty("ngIf", ctx.reduced && (ctx.recipe == null ? null : ctx.recipe.cookingTime) !== "-");
16482
- i0.ɵɵadvance(1);
16659
+ i0.ɵɵadvance(2);
16483
16660
  i0.ɵɵproperty("ngIf", !ctx.reduced);
16661
+ i0.ɵɵadvance(1);
16662
+ i0.ɵɵproperty("ngIf", ctx.displayTags && ctx.tags.length);
16484
16663
  }
16485
16664
  }, directives: [i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, IconComponent, i4.NgIf, i4.NgForOf, i4.NgClass], pipes: [i4.TitleCasePipe], styles: [".miam-recipe-details-infos{align-items:center;background-color:var(--m-color-white);display:flex;flex-direction:column;justify-content:center;padding:40px 16px}@media (min-width:1023px) and (max-height:804px){.miam-recipe-details-infos{padding:17px 24px}}.miam-recipe-details-infos .miam-recipe-details-infos__time{align-items:center;display:flex;flex-direction:column;justify-content:center;min-width:120px;padding:0 8px}.miam-recipe-details-infos .miam-recipe-details-infos__time .miam-recipe-details-infos__time__text span{font-size:16px}.miam-recipe-details-infos .miam-recipe-details-infos__time .miam-recipe-details-infos__time__text span:last-child{font-weight:700}.miam-recipe-details-infos .miam-recipe-details-infos__time ng-miam-icon{margin-bottom:8px}.miam-recipe-details-infos .miam-recipe-details-infos__main{align-items:center;display:flex;flex-direction:row;justify-content:center}.miam-recipe-details-infos .miam-recipe-details-infos__main .miam-recipe-details-infos__difficulty{align-items:center;display:flex;flex-direction:column;justify-content:center;min-width:120px;padding:0 8px}.miam-recipe-details-infos .miam-recipe-details-infos__main .miam-recipe-details-infos__difficulty ng-miam-icon{margin-bottom:8px}.miam-recipe-details-infos .miam-recipe-details-infos__main .miam-recipe-details-infos__time__total .miam-recipe-details-infos__time__text span:first-child{display:none}.miam-recipe-details-infos .miam-recipe-details-infos__main .miam-recipe-details-infos__time__total .miam-recipe-details-infos__time__text span:last-child{font-weight:400}.miam-recipe-details-infos .miam-recipe-details-infos__additional{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:24px;max-height:150px;overflow:hidden;transition:var(--m-default-transition);width:100%}@media print{.miam-recipe-details-infos .miam-recipe-details-infos__additional{margin-top:24px;max-height:150px;opacity:1}}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details-infos__times{align-items:center;display:flex;justify-content:center;width:100%}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details-infos__times .miam-recipe-details-infos__time{flex:1;max-width:172px}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details-infos__times .miam-recipe-details-infos__time ng-miam-icon{display:none}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags{display:flex;flex-wrap:wrap;justify-content:center;margin-top:20px;width:100%}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag{background-color:var(--m-color-grey05);border-radius:4px;display:flex;margin:4px;padding:8px}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag .miam-recipe-details__tag__icon{height:16px;width:16px}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag .miam-recipe-details__tag__name{font-size:13px;line-height:16px}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag.meal_type{background-color:var(--m-color-tag-meal-type)}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag.ingredient_category{background-color:var(--m-color-tag-ingredient-category)}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag.equipment{background-color:var(--m-color-tag-equipment)}.miam-recipe-details-infos .miam-recipe-details-infos__additional .miam-recipe-details__tags .miam-recipe-details__tag.diet{background-color:var(--m-color-tag-diet)}"], encapsulation: 2, changeDetection: 0 });
16486
16665
  /*@__PURE__*/ (function () {
@@ -16714,7 +16893,7 @@
16714
16893
  i0.ɵɵadvance(5);
16715
16894
  i0.ɵɵproperty("ngForOf", ctx.recipe.steps);
16716
16895
  }
16717
- }, directives: [i4.NgForOf, i4.NgClass, i4.NgIf, IconComponent], styles: [".miam-recipe-details-steps{display:flex;flex:1;flex-direction:column}.miam-recipe-details-steps .miam-recipe-details-steps__header{border-bottom:1px solid var(--m-color-grey07);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.miam-recipe-details-steps .miam-recipe-details-steps__header span{color:var(--m-color-primary);display:block;font-size:21px;font-weight:700;line-height:24px}.miam-recipe-details-steps .miam-recipe-details-steps__list{flex:1 1;overflow-y:auto;padding-bottom:40px}.miam-recipe-details-steps .miam-recipe-details-steps__list::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-recipe-details-steps .miam-recipe-details-steps__list::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-recipe-details-steps .miam-recipe-details-steps__list::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step{-webkit-tap-highlight-color:transparent;align-items:center;border-radius:var(--m-border-radius);cursor:pointer;display:flex;flex-direction:row;margin:0 2px 24px 0;padding:8px;text-align:left;transition:var(--m-default-transition)}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__idx{align-items:center;background-color:var(--m-color-primary);border-radius:var(--m-border-radius-circle);color:var(--m-color-white);display:flex;font-size:16px;font-weight:700;height:32px;justify-content:center;line-height:20px;width:32px}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__text{flex:1;font-size:14px;margin:0 12px;word-break:break-word}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__checkIcon{flex:0 0 auto}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step.miam-recipe-details-steps__step__done{background-color:var(--m-color-primary-light)}"], encapsulation: 2, changeDetection: 0 });
16896
+ }, directives: [i4.NgForOf, i4.NgClass, i4.NgIf, IconComponent], styles: [".miam-recipe-details-steps{display:flex;flex:1;flex-direction:column}.miam-recipe-details-steps .miam-recipe-details-steps__header{border-bottom:1px solid var(--m-color-grey07);display:flex;flex-direction:row;justify-content:space-between;margin-bottom:16px;padding-bottom:12px}.miam-recipe-details-steps .miam-recipe-details-steps__header span{color:var(--m-color-primary);display:block;font-size:21px;font-weight:700;line-height:24px}.miam-recipe-details-steps .miam-recipe-details-steps__list{flex:1 1;overflow-y:auto;padding-bottom:40px}@media (max-width:1023px){.miam-recipe-details-steps .miam-recipe-details-steps__list{padding-bottom:140px}}.miam-recipe-details-steps .miam-recipe-details-steps__list::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-recipe-details-steps .miam-recipe-details-steps__list::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-recipe-details-steps .miam-recipe-details-steps__list::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step{-webkit-tap-highlight-color:transparent;align-items:center;border-radius:var(--m-border-radius);cursor:pointer;display:flex;flex-direction:row;margin:0 2px 24px 0;padding:8px;text-align:left;transition:var(--m-default-transition)}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__idx{align-items:center;background-color:var(--m-color-primary);border-radius:var(--m-border-radius-circle);color:var(--m-color-white);display:flex;font-size:16px;font-weight:700;height:32px;justify-content:center;line-height:20px;width:32px}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__text{flex:1;font-size:14px;margin:0 12px;word-break:break-word}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step .miam-recipe-details-steps__step__checkIcon{flex:0 0 auto}.miam-recipe-details-steps .miam-recipe-details-steps__list .miam-recipe-details-steps__step.miam-recipe-details-steps__step__done{background-color:var(--m-color-primary-light)}"], encapsulation: 2, changeDetection: 0 });
16718
16897
  /*@__PURE__*/ (function () {
16719
16898
  i0.ɵsetClassMetadata(RecipeDetailsStepsComponent, [{
16720
16899
  type: i0.Component,
@@ -16753,16 +16932,16 @@
16753
16932
  i0.ɵɵtextInterpolate1(" ", ctx_r7.recipe == null ? null : ctx_r7.recipe.attributes["title"], " ");
16754
16933
  }
16755
16934
  }
16756
- function RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template(rf, ctx) {
16935
+ function RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template(rf, ctx) {
16757
16936
  if (rf & 1) {
16758
16937
  var _r22_1 = i0.ɵɵgetCurrentView();
16759
16938
  i0.ɵɵelementStart(0, "ng-miam-addon-link", 39);
16760
- i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(_r22_1); var ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.toggleAddon(); });
16939
+ i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(_r22_1); var ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.toggleAddon(); });
16761
16940
  i0.ɵɵelementEnd();
16762
16941
  }
16763
16942
  if (rf & 2) {
16764
- var ctx_r8 = i0.ɵɵnextContext(2);
16765
- i0.ɵɵproperty("recipe", ctx_r8.recipe);
16943
+ var ctx_r9 = i0.ɵɵnextContext(2);
16944
+ i0.ɵɵproperty("recipe", ctx_r9.recipe);
16766
16945
  }
16767
16946
  }
16768
16947
  var _c1$d = function (a0, a1) { return { "sponsor": a0, "tags": a1 }; };
@@ -16799,7 +16978,7 @@
16799
16978
  }
16800
16979
  if (rf & 2) {
16801
16980
  var ctx_r13 = i0.ɵɵnextContext(2);
16802
- i0.ɵɵproperty("recipe", ctx_r13.recipe)("displayTags", ctx_r13.displayTags)("displayTagsIcons", ctx_r13.displayTagsIcons)("reduced", ctx_r13.stepsOnLeftSide);
16981
+ i0.ɵɵproperty("recipe", ctx_r13.recipe)("displayTags", ctx_r13.displayTags)("displayTagsIcons", ctx_r13.displayTagsIcons)("reduced", ctx_r13.cookingTimeAsPrimaryInfo);
16803
16982
  }
16804
16983
  }
16805
16984
  function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_28_Template(rf, ctx) {
@@ -16902,7 +17081,7 @@
16902
17081
  }
16903
17082
  if (rf & 2) {
16904
17083
  var ctx_r19 = i0.ɵɵnextContext(2);
16905
- i0.ɵɵproperty("recipe", ctx_r19.recipe)("displayTags", ctx_r19.displayTags)("displayTagsIcons", ctx_r19.displayTagsIcons)("reduced", ctx_r19.stepsOnLeftSide);
17084
+ i0.ɵɵproperty("recipe", ctx_r19.recipe)("displayTags", ctx_r19.displayTags)("displayTagsIcons", ctx_r19.displayTagsIcons)("reduced", ctx_r19.cookingTimeAsPrimaryInfo);
16906
17085
  }
16907
17086
  }
16908
17087
  function RecipeDetailsComponent_div_0_ng_miam_recipe_details_steps_39_Template(rf, ctx) {
@@ -16931,12 +17110,12 @@
16931
17110
  i0.ɵɵelementEnd();
16932
17111
  i0.ɵɵelementEnd();
16933
17112
  i0.ɵɵelementStart(11, "div", 11);
16934
- i0.ɵɵelementStart(12, "div", 12);
16935
- i0.ɵɵelementStart(13, "div", 13);
17113
+ i0.ɵɵelementStart(12, "div", 12, 13);
16936
17114
  i0.ɵɵelementStart(14, "div", 14);
16937
- i0.ɵɵtemplate(15, RecipeDetailsComponent_div_0_ng_miam_addon_link_15_Template, 1, 1, "ng-miam-addon-link", 15);
17115
+ i0.ɵɵelementStart(15, "div", 15);
17116
+ i0.ɵɵtemplate(16, RecipeDetailsComponent_div_0_ng_miam_addon_link_16_Template, 1, 1, "ng-miam-addon-link", 16);
16938
17117
  i0.ɵɵelementEnd();
16939
- i0.ɵɵelementStart(16, "div", 16, 17);
17118
+ i0.ɵɵelementStart(17, "div", 17);
16940
17119
  i0.ɵɵtemplate(18, RecipeDetailsComponent_div_0_img_18_Template, 1, 5, "img", 18);
16941
17120
  i0.ɵɵtemplate(19, RecipeDetailsComponent_div_0_youtube_player_19_Template, 1, 3, "youtube-player", 19);
16942
17121
  i0.ɵɵelementEnd();
@@ -16990,9 +17169,9 @@
16990
17169
  i0.ɵɵproperty("ngIf", !ctx_r0.isMobile || ctx_r0.titleInHeader);
16991
17170
  i0.ɵɵadvance(1);
16992
17171
  i0.ɵɵproperty("href", ctx_r0.contextService.miam.router.catalog, i0.ɵɵsanitizeUrl);
16993
- i0.ɵɵadvance(6);
17172
+ i0.ɵɵadvance(7);
16994
17173
  i0.ɵɵproperty("ngIf", (ctx_r0.recipe == null ? null : ctx_r0.recipe.sponsors == null ? null : ctx_r0.recipe.sponsors.length) > 0 || ctx_r0.recipe.informationalSentence);
16995
- i0.ɵɵadvance(3);
17174
+ i0.ɵɵadvance(2);
16996
17175
  i0.ɵɵproperty("ngIf", !ctx_r0.showVideo);
16997
17176
  i0.ɵɵadvance(1);
16998
17177
  i0.ɵɵproperty("ngIf", ctx_r0.showVideo && ctx_r0.playerWidth);
@@ -17058,6 +17237,7 @@
17058
17237
  _this.displayPricing = true;
17059
17238
  _this.displayAddedOnPicture = true;
17060
17239
  _this.stepsOnLeftSide = false; // If true, display the detail in 4 quarters instead of 2 halves
17240
+ _this.cookingTimeAsPrimaryInfo = false; // If true, display the cooking time next to total time
17061
17241
  _this.pricingGuestsText = 'par personne';
17062
17242
  _this.recipeAdded = new i0.EventEmitter();
17063
17243
  _this.recipeError = new i0.EventEmitter();
@@ -17070,10 +17250,17 @@
17070
17250
  _this.addButtonLoading = false;
17071
17251
  _this.titleInHeader = false;
17072
17252
  _this.subscriptions = [];
17073
- _this.isMobile = _this.mediaMatcher.matchMedia('(max-width: 1023px)').matches;
17074
17253
  return _this;
17075
17254
  }
17255
+ RecipeDetailsComponent.prototype.ngOnInit = function () {
17256
+ var _this = this;
17257
+ this.subscriptions.push(this.contextService.miam.user.isSmallScreen$.subscribe(function (isSmall) {
17258
+ _this.isMobile = isSmall;
17259
+ _this.cdr.detectChanges();
17260
+ }));
17261
+ };
17076
17262
  RecipeDetailsComponent.prototype.ngOnChanges = function (changes) {
17263
+ var _this = this;
17077
17264
  var _a;
17078
17265
  if (this.recipe && changes['recipe']) {
17079
17266
  this.analyticsService.sendEventWhenReady(this.analyticsService.EVENT_RECIPE_DISPLAY, this.originTrace.originPath, this.props());
@@ -17085,20 +17272,33 @@
17085
17272
  else {
17086
17273
  this.displayTags = this.contextService.tagsOnRecipesEnabled;
17087
17274
  }
17275
+ if (this.stepsOnLeftSide) {
17276
+ this.cookingTimeAsPrimaryInfo = true;
17277
+ }
17088
17278
  this.showVideo = false; // force reload video player
17089
17279
  this.cdr.detectChanges();
17090
17280
  this.showVideo = this.contextService.videoRecipesEnabled && ((_a = this.recipe) === null || _a === void 0 ? void 0 : _a.videoId);
17091
- };
17092
- RecipeDetailsComponent.prototype.ngAfterViewChecked = function () {
17093
- var _this = this;
17094
- var _a, _b;
17095
- this.playerWidth = Math.min(640, (_b = (_a = this.topContainerImg) === null || _a === void 0 ? void 0 : _a.nativeElement) === null || _b === void 0 ? void 0 : _b.offsetWidth);
17096
- this.playerHeight = this.playerWidth * 390 / 640;
17097
- this.cdr.detectChanges();
17281
+ if (this.showVideo) {
17282
+ this.setupYoutubePlayer();
17283
+ }
17098
17284
  setTimeout(function () {
17099
17285
  _this.initScrollListenerOnTitle();
17100
17286
  });
17101
17287
  };
17288
+ RecipeDetailsComponent.prototype.setupYoutubePlayer = function () {
17289
+ var _this = this;
17290
+ setTimeout(function () {
17291
+ var _a, _b, _c;
17292
+ if ((_a = window.YT) === null || _a === void 0 ? void 0 : _a.Player) {
17293
+ _this.playerWidth = (_c = (_b = _this.topContainerImg) === null || _b === void 0 ? void 0 : _b.nativeElement) === null || _c === void 0 ? void 0 : _c.offsetWidth;
17294
+ _this.playerHeight = Math.min(window.innerHeight * 0.48, _this.playerWidth * 390 / 640);
17295
+ _this.cdr.detectChanges();
17296
+ }
17297
+ else {
17298
+ _this.setupYoutubePlayer();
17299
+ }
17300
+ }, 50);
17301
+ };
17102
17302
  RecipeDetailsComponent.prototype.currentPath = function () {
17103
17303
  return 'detail';
17104
17304
  };
@@ -17120,8 +17320,8 @@
17120
17320
  // For more precision on title scroll detection, we want to trigger an event each time the user scrolls 5% of the content
17121
17321
  var threshold = __spread(Array(20).keys()).map(function (x) { return x / 20; });
17122
17322
  // Receive an event each time the title enters/leaves the viewport
17123
- this.intersectionObserver = new IntersectionObserver(function (_c) {
17124
- var _d = __read(_c, 1), entry = _d[0];
17323
+ this.intersectionObserver = new IntersectionObserver(function (_d) {
17324
+ var _e = __read(_d, 1), entry = _e[0];
17125
17325
  _this.toggleTitleInHeader();
17126
17326
  }, { threshold: threshold });
17127
17327
  this.intersectionObserver.observe(this.content);
@@ -17224,7 +17424,7 @@
17224
17424
  var _t;
17225
17425
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topContainerImg = _t.first);
17226
17426
  }
17227
- }, inputs: { recipe: "recipe", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture", stepsOnLeftSide: "stepsOnLeftSide", moreRecipesImageURL: "moreRecipesImageURL", pricingGuestsText: "pricingGuestsText", recipeAddedToastText: "recipeAddedToastText" }, outputs: { recipeAdded: "recipeAdded", recipeError: "recipeError" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["class", "miam-recipe-details", 4, "ngIf", "ngIfElse"], ["addon", ""], [1, "miam-recipe-details"], ["mainContainer", ""], [1, "miam-recipe-details__header"], [1, "miam-recipe-details__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg", 4, "ngIf", "ngIfElse"], ["stamp", ""], [1, "miam-recipe-details__title"], [4, "ngIf"], [1, "miam-recipe-details__header__link", 3, "href"], [1, "miam-recipe-details__container"], [1, "miam-recipe-details__summary"], [1, "miam-recipe-details__summary__container"], [1, "miam-recipe-details__sponsor"], [3, "recipe", "showAddon", 4, "ngIf"], [1, "miam-recipe-details__picture"], ["topContainerImg", ""], [3, "src", "ngClass", 4, "ngIf"], [3, "videoId", "width", "height", 4, "ngIf"], [1, "miam-recipe-details__actionbar"], [1, "miam-recipe-details__actionbar__group"], ["class", "miam-recipe-details__actions__icon like", 3, "recipe", "originTrace", "width", "height", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-details__actions__icon", "print", 3, "width", "height", "iconName", "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 1, "miam-recipe-details__actions__icon", "help", 3, "width", "height", "iconName", "click"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced", 4, "ngIf"], [3, "recipe", 4, "ngIf"], [1, "miam-recipe-details__action__container"], [1, "miam-recipe-details__price"], [3, "recipe", "serves", "guestsText", 4, "ngIf"], ["class", "miam-recipe-details__addbasket", 3, "ngClass", "click", 4, "ngIf"], ["id", "miam-recipe-details__content", 1, "miam-recipe-details__content"], ["class", "miam-recipe-details__title", "id", "miam-recipe-details__title", 4, "ngIf"], ["class", "miam-recipe-details__content__description", 4, "ngIf"], [3, "recipe", "ingredientsPictures", "guestsUpdated"], [1, "miam-recipe-details__content__image", 3, "href"], [3, "src"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-stamp.svg"], [3, "recipe", "showAddon"], [3, "src", "ngClass"], [3, "videoId", "width", "height"], [1, "miam-recipe-details__actions__icon", "like", 3, "recipe", "originTrace", "width", "height"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced"], [3, "recipe"], [3, "recipe", "serves", "guestsText"], [1, "miam-recipe-details__addbasket", 3, "ngClass", "click"], ["class", "miam-recipe-details__addbasket__cta", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-details__addbasket__cta"], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], ["id", "miam-recipe-details__title", 1, "miam-recipe-details__title"], [1, "miam-recipe-details__content__description"], [3, "recipe", "hideAddon"]], template: function RecipeDetailsComponent_Template(rf, ctx) {
17427
+ }, inputs: { recipe: "recipe", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayAddedOnPicture: "displayAddedOnPicture", stepsOnLeftSide: "stepsOnLeftSide", cookingTimeAsPrimaryInfo: "cookingTimeAsPrimaryInfo", moreRecipesImageURL: "moreRecipesImageURL", pricingGuestsText: "pricingGuestsText", recipeAddedToastText: "recipeAddedToastText" }, outputs: { recipeAdded: "recipeAdded", recipeError: "recipeError" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["class", "miam-recipe-details", 4, "ngIf", "ngIfElse"], ["addon", ""], [1, "miam-recipe-details"], ["mainContainer", ""], [1, "miam-recipe-details__header"], [1, "miam-recipe-details__bookmark"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg", 4, "ngIf", "ngIfElse"], ["stamp", ""], [1, "miam-recipe-details__title"], [4, "ngIf"], [1, "miam-recipe-details__header__link", 3, "href"], [1, "miam-recipe-details__container"], [1, "miam-recipe-details__summary"], ["topContainerImg", ""], [1, "miam-recipe-details__summary__container"], [1, "miam-recipe-details__sponsor"], [3, "recipe", "showAddon", 4, "ngIf"], [1, "miam-recipe-details__picture"], [3, "src", "ngClass", 4, "ngIf"], [3, "videoId", "width", "height", 4, "ngIf"], [1, "miam-recipe-details__actionbar"], [1, "miam-recipe-details__actionbar__group"], ["class", "miam-recipe-details__actions__icon like", 3, "recipe", "originTrace", "width", "height", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-details__actions__icon", "print", 3, "width", "height", "iconName", "click"], ["primaryColor", "var(--m-color-grey02)", "secondaryColor", "var(--m-color-grey07)", 1, "miam-recipe-details__actions__icon", "help", 3, "width", "height", "iconName", "click"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced", 4, "ngIf"], [3, "recipe", 4, "ngIf"], [1, "miam-recipe-details__action__container"], [1, "miam-recipe-details__price"], [3, "recipe", "serves", "guestsText", 4, "ngIf"], ["class", "miam-recipe-details__addbasket", 3, "ngClass", "click", 4, "ngIf"], ["id", "miam-recipe-details__content", 1, "miam-recipe-details__content"], ["class", "miam-recipe-details__title", "id", "miam-recipe-details__title", 4, "ngIf"], ["class", "miam-recipe-details__content__description", 4, "ngIf"], [3, "recipe", "ingredientsPictures", "guestsUpdated"], [1, "miam-recipe-details__content__image", 3, "href"], [3, "src"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-bookmark.svg"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-stamp.svg"], [3, "recipe", "showAddon"], [3, "src", "ngClass"], [3, "videoId", "width", "height"], [1, "miam-recipe-details__actions__icon", "like", 3, "recipe", "originTrace", "width", "height"], [3, "recipe", "displayTags", "displayTagsIcons", "reduced"], [3, "recipe"], [3, "recipe", "serves", "guestsText"], [1, "miam-recipe-details__addbasket", 3, "ngClass", "click"], ["class", "miam-recipe-details__addbasket__cta", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-details__addbasket__cta"], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], ["id", "miam-recipe-details__title", 1, "miam-recipe-details__title"], [1, "miam-recipe-details__content__description"], [3, "recipe", "hideAddon"]], template: function RecipeDetailsComponent_Template(rf, ctx) {
17228
17428
  if (rf & 1) {
17229
17429
  i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template, 42, 28, "div", 0);
17230
17430
  i0.ɵɵtemplate(1, RecipeDetailsComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
@@ -17233,7 +17433,7 @@
17233
17433
  var _r1 = i0.ɵɵreference(2);
17234
17434
  i0.ɵɵproperty("ngIf", ctx.showDetail)("ngIfElse", _r1);
17235
17435
  }
17236
- }, directives: [i4.NgIf, IconComponent, RecipeDetailsIngredientsComponent, AddonLinkComponent, i4.NgClass, i8.YouTubePlayer, LikeButtonComponent, RecipeDetailsInfosComponent, RecipeDetailsStepsComponent, RecipePricingComponent, LoaderComponent, RecipeAddonComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-details{display:flex;flex-direction:column;height:100vh;width:100%}.miam-recipe-details .miam-recipe-details__title{font-size:32px;font-weight:700;line-height:40px;margin-left:112px;max-width:calc(100% - 352px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miam-recipe-details .miam-recipe-details__header{align-items:center;background-color:var(--m-color-white);box-shadow:0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;justify-content:space-between;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{height:126px;left:20px;position:absolute;top:0;width:72px;z-index:1}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark img{height:100%}}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{cursor:pointer;font-size:14px;line-height:20px;margin-right:64px}.miam-recipe-details .miam-recipe-details__container{display:flex;flex-direction:row;height:calc(100% - 80px);width:100%}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__container{height:calc(100% - 180px)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{border-right:1px solid #e9e9e9;display:flex;margin-bottom:80px;width:60%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container{display:flex;flex-direction:column;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture{height:auto;max-height:48vh;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{max-height:calc(100vh - 396px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor{max-height:calc(100vh - 504px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.tags{max-height:calc(100vh - 476px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:calc(100vh - 584px)}}@media (min-width:1023px) and (max-height:816px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:232px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{background-color:var(--m-color-white);display:flex;filter:drop-shadow(0 8px 28px rgba(0,0,0,.07));flex-direction:row;justify-content:space-between}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group{display:flex;flex-direction:row}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group .miam-recipe-details__actions__icon{-webkit-tap-highlight-color:transparent;align-items:center;cursor:pointer;display:flex;height:40px;justify-content:center;margin:8px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{background-color:var(--m-color-white);bottom:0;box-shadow:0 -1px 0 #e9e9e9,0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;left:0;position:absolute;right:40%}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative;width:34%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{color:var(--m-color-primary);flex-direction:row}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:flex;flex-direction:column}}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{align-items:center;background-color:var(--m-color-secondary);color:var(--m-color-white);cursor:pointer;display:flex;font-size:19px;font-weight:700;justify-content:center;width:66%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-recipe-details__addbasket__cta{display:flex;flex-direction:row}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{display:none}}@media (min-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket:hover{background-color:var(--m-color-secondary-dark)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket ng-miam-icon{margin-left:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{background-color:var(--m-color-white);display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:24px 24px 0;width:40%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{color:var(--m-color-grey-text-dark);display:flex;flex-direction:column;font-size:16px;line-height:20px;margin-bottom:40px;text-align:left;word-break:break-word}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content ng-miam-recipe-details-ingredients{margin-bottom:40px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image,.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image img{width:100%}@media print{.miam-recipe-details{height:unset!important}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header{height:48px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{left:16px;top:4px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{font-size:16px;font-weight:900;line-height:20px;margin-left:64px;max-width:calc(100% - 200px)}}@media print and (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{margin-left:112px}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{display:none}.miam-recipe-details .miam-recipe-details__container{flex-direction:column;overflow-y:auto}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{height:100%;margin-bottom:8px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{filter:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{position:fixed;right:0;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{height:100%;overflow-y:unset;padding:0 24px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;font-size:24px;line-height:28px;margin:0;max-width:unset;overflow:hidden;text-overflow:ellipsis;white-space:unset;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{margin:16px 0 0}}"], encapsulation: 2, changeDetection: 0 });
17436
+ }, directives: [i4.NgIf, IconComponent, RecipeDetailsIngredientsComponent, AddonLinkComponent, i4.NgClass, i8.YouTubePlayer, LikeButtonComponent, RecipeDetailsInfosComponent, RecipeDetailsStepsComponent, RecipePricingComponent, LoaderComponent, RecipeAddonComponent], pipes: [i4.AsyncPipe], styles: [".miam-recipe-details{display:flex;flex-direction:column;height:100vh;width:100%}.miam-recipe-details .miam-recipe-details__title{font-size:32px;font-weight:700;line-height:40px;margin-left:112px;max-width:calc(100% - 352px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miam-recipe-details .miam-recipe-details__header{align-items:center;background-color:var(--m-color-white);box-shadow:0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;justify-content:space-between;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{height:126px;left:20px;position:absolute;top:0;width:72px;z-index:1}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark img{height:100%}}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{cursor:pointer;font-size:14px;line-height:20px;margin-right:64px}.miam-recipe-details .miam-recipe-details__container{display:flex;flex-direction:row;height:calc(100% - 80px);width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{border-right:1px solid #e9e9e9;display:flex;margin-bottom:80px;width:60%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container{display:flex;flex-direction:column;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture{height:auto;max-height:48vh;position:relative;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{-o-object-fit:cover;height:100%;object-fit:cover;width:100%}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img{max-height:calc(100vh - 396px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor{max-height:calc(100vh - 504px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.tags{max-height:calc(100vh - 476px)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:calc(100vh - 584px)}}@media (min-width:1023px) and (max-height:816px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__picture img.sponsor.tags{max-height:232px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{background-color:var(--m-color-white);display:flex;filter:drop-shadow(0 8px 28px rgba(0,0,0,.07));flex-direction:row;justify-content:space-between}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group{display:flex;flex-direction:row}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar .miam-recipe-details__actionbar__group .miam-recipe-details__actions__icon{-webkit-tap-highlight-color:transparent;align-items:center;cursor:pointer;display:flex;height:40px;justify-content:center;margin:8px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{background-color:var(--m-color-white);bottom:0;box-shadow:0 -1px 0 #e9e9e9,0 1px 0 #e9e9e9;display:flex;flex-direction:row;height:80px;left:0;position:absolute;right:40%}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative;width:34%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{color:var(--m-color-primary);flex-direction:row}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:flex;flex-direction:column}}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{align-items:center;background-color:var(--m-color-secondary);color:var(--m-color-white);cursor:pointer;display:flex;font-size:19px;font-weight:700;justify-content:center;width:66%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .miam-recipe-details__addbasket__cta{display:flex;flex-direction:row}@media print{.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket{display:none}}@media (min-width:1022px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket:hover{background-color:var(--m-color-secondary-dark)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket ng-miam-icon{margin-left:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container .miam-recipe-details__addbasket .loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{background-color:var(--m-color-white);display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:24px 24px 0;width:40%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{color:var(--m-color-grey-text-dark);display:flex;flex-direction:column;font-size:16px;line-height:20px;margin-bottom:40px;text-align:left;word-break:break-word}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content ng-miam-recipe-details-ingredients{margin-bottom:40px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image,.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__image img{width:100%}@media print{.miam-recipe-details{height:unset!important}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header{height:48px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__bookmark{left:16px;top:4px}.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{font-size:16px;font-weight:900;line-height:20px;margin-left:64px;max-width:calc(100% - 200px)}}@media print and (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__title{margin-left:112px}}@media (max-width:1023px){.miam-recipe-details .miam-recipe-details__header .miam-recipe-details__header__link{display:none}.miam-recipe-details .miam-recipe-details__container{flex-direction:column;overflow-y:auto}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary{height:100%;margin-bottom:8px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__actionbar{filter:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__summary .miam-recipe-details__summary__container .miam-recipe-details__action__container{position:fixed;right:0;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content{height:100%;overflow-y:unset;padding:0 24px;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;font-size:24px;line-height:28px;margin:0;max-width:unset;overflow:hidden;text-overflow:ellipsis;white-space:unset;width:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__content .miam-recipe-details__content__description{margin:16px 0 0}}"], encapsulation: 2, changeDetection: 0 });
17237
17437
  /*@__PURE__*/ (function () {
17238
17438
  i0.ɵsetClassMetadata(RecipeDetailsComponent, [{
17239
17439
  type: i0.Component,
@@ -17260,6 +17460,8 @@
17260
17460
  type: i0.Input
17261
17461
  }], stepsOnLeftSide: [{
17262
17462
  type: i0.Input
17463
+ }], cookingTimeAsPrimaryInfo: [{
17464
+ type: i0.Input
17263
17465
  }], moreRecipesImageURL: [{
17264
17466
  type: i0.Input
17265
17467
  }], pricingGuestsText: [{
@@ -17652,6 +17854,12 @@
17652
17854
  quantity: new i15.FormControl(ingredient.attributes.quantity, i15.Validators.required),
17653
17855
  unit: new i15.FormControl(ingredient.attributes.unit, i15.Validators.required),
17654
17856
  name: new i15.FormControl(ingredient.attributes.name, i15.Validators.required),
17857
+ // importance: new FormControl(
17858
+ // ingredient.attributes.importance,
17859
+ // recipe.relationships?.[`recipe-provider`]?.data?.id === 'personal' ? Validators.nullValidator : Validators.required
17860
+ // ),
17861
+ // Not mandatory for the moment, decomment above if mandatory later
17862
+ importance: new i15.FormControl(ingredient.attributes.importance, i15.Validators.nullValidator),
17655
17863
  'picture-url': new i15.FormControl(ingredient.attributes['picture-url'])
17656
17864
  })
17657
17865
  }));
@@ -18007,49 +18215,147 @@
18007
18215
  }] });
18008
18216
  })();
18009
18217
 
18218
+ function TagsCreatorComponent_ng_miam_modal_0_Template(rf, ctx) {
18219
+ if (rf & 1) {
18220
+ var _r2_1 = i0.ɵɵgetCurrentView();
18221
+ i0.ɵɵelementStart(0, "ng-miam-modal", 1);
18222
+ i0.ɵɵlistener("close", function TagsCreatorComponent_ng_miam_modal_0_Template_ng_miam_modal_close_0_listener() { i0.ɵɵrestoreView(_r2_1); var ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.closeTagsCreator(); })("cancel", function TagsCreatorComponent_ng_miam_modal_0_Template_ng_miam_modal_cancel_0_listener() { i0.ɵɵrestoreView(_r2_1); var ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.closeTagsCreator(); })("confirm", function TagsCreatorComponent_ng_miam_modal_0_Template_ng_miam_modal_confirm_0_listener() { i0.ɵɵrestoreView(_r2_1); var ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.createTag(); });
18223
+ i0.ɵɵelementStart(1, "div", 2);
18224
+ i0.ɵɵelementStart(2, "label", 3);
18225
+ i0.ɵɵtext(3, "Nom du tag");
18226
+ i0.ɵɵelementEnd();
18227
+ i0.ɵɵelementStart(4, "input", 4);
18228
+ i0.ɵɵlistener("ngModelChange", function TagsCreatorComponent_ng_miam_modal_0_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r2_1); var ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.tagName = $event; });
18229
+ i0.ɵɵelementEnd();
18230
+ i0.ɵɵelementEnd();
18231
+ i0.ɵɵelementEnd();
18232
+ }
18233
+ if (rf & 2) {
18234
+ var ctx_r0 = i0.ɵɵnextContext();
18235
+ i0.ɵɵproperty("isAngularComponent", true)("noHeaderMode", false)("expanded", true)("confirmButtonIsLoading", ctx_r0.loading);
18236
+ i0.ɵɵadvance(4);
18237
+ i0.ɵɵproperty("ngModel", ctx_r0.tagName);
18238
+ }
18239
+ }
18240
+ var TagsCreatorComponent = /** @class */ (function () {
18241
+ function TagsCreatorComponent(tagsService, cdr) {
18242
+ this.tagsService = tagsService;
18243
+ this.cdr = cdr;
18244
+ this.display = false;
18245
+ this.close = new i0.EventEmitter();
18246
+ this.submit = new i0.EventEmitter();
18247
+ this.tagName = '';
18248
+ this.loading = false;
18249
+ }
18250
+ TagsCreatorComponent.prototype.closeTagsCreator = function () {
18251
+ this.close.emit();
18252
+ this.cdr.detectChanges();
18253
+ };
18254
+ TagsCreatorComponent.prototype.createTag = function () {
18255
+ var _this = this;
18256
+ this.loading = true;
18257
+ this.cdr.detectChanges();
18258
+ this.tag = this.tagsService.new();
18259
+ this.tag.attributes = Object.assign(Object.assign({}, this.tag.attributes), { 'tag-type-id': this.currentTagType, name: this.tagName });
18260
+ this.tag.save().subscribe(function (tag) {
18261
+ _this.tag.id = tag.data.id;
18262
+ _this.submit.emit(_this.tag);
18263
+ _this.loading = false;
18264
+ _this.cdr.detectChanges();
18265
+ });
18266
+ };
18267
+ return TagsCreatorComponent;
18268
+ }());
18269
+ TagsCreatorComponent.ɵfac = function TagsCreatorComponent_Factory(t) { return new (t || TagsCreatorComponent)(i0.ɵɵdirectiveInject(TagsService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
18270
+ TagsCreatorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsCreatorComponent, selectors: [["ng-miam-tags-creator"]], inputs: { currentRecipe: "currentRecipe", currentTagType: "currentTagType", display: "display" }, outputs: { close: "close", submit: "submit" }, decls: 1, vars: 1, consts: [["title", "Nouveau Tag", "cancelButtonText", "Annuler", "confirmButtonText", "Cr\u00E9er", 3, "isAngularComponent", "noHeaderMode", "expanded", "confirmButtonIsLoading", "close", "cancel", "confirm", 4, "ngIf"], ["title", "Nouveau Tag", "cancelButtonText", "Annuler", "confirmButtonText", "Cr\u00E9er", 3, "isAngularComponent", "noHeaderMode", "expanded", "confirmButtonIsLoading", "close", "cancel", "confirm"], [1, "tags-creator"], ["for", "tag-name"], ["type", "text", "id", "tag-name", "name", "tag-name", 3, "ngModel", "ngModelChange"]], template: function TagsCreatorComponent_Template(rf, ctx) {
18271
+ if (rf & 1) {
18272
+ i0.ɵɵtemplate(0, TagsCreatorComponent_ng_miam_modal_0_Template, 5, 5, "ng-miam-modal", 0);
18273
+ }
18274
+ if (rf & 2) {
18275
+ i0.ɵɵproperty("ngIf", ctx.display);
18276
+ }
18277
+ }, directives: [i4.NgIf, ModalComponent, i15.DefaultValueAccessor, i15.NgControlStatus, i15.NgModel], styles: [".tags-creator{display:flex;flex-direction:column;font-size:16px;margin:24px;padding:4px 12px}.tags-creator label{margin:0 0 8px 8px}.tags-creator input{border:1px solid var(--m-color-grey07);border-radius:var(--m-border-radius);height:32px;padding:5px;width:100%}.tags-creator input:focus{border:1px solid var(--miam-color-primary);outline:none}"], encapsulation: 2, changeDetection: 0 });
18278
+ /*@__PURE__*/ (function () {
18279
+ i0.ɵsetClassMetadata(TagsCreatorComponent, [{
18280
+ type: i0.Component,
18281
+ args: [{
18282
+ selector: 'ng-miam-tags-creator',
18283
+ templateUrl: './tags-creator.component.html',
18284
+ styleUrls: ['./tags-creator.component.scss'],
18285
+ encapsulation: i0.ViewEncapsulation.None,
18286
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
18287
+ }]
18288
+ }], function () { return [{ type: TagsService }, { type: i0.ChangeDetectorRef }]; }, { currentRecipe: [{
18289
+ type: i0.Input
18290
+ }], currentTagType: [{
18291
+ type: i0.Input
18292
+ }], display: [{
18293
+ type: i0.Input
18294
+ }], close: [{
18295
+ type: i0.Output
18296
+ }], submit: [{
18297
+ type: i0.Output
18298
+ }] });
18299
+ })();
18300
+
18010
18301
  function TagsSelectorComponent_ng_miam_modal_0_div_12_Template(rf, ctx) {
18011
18302
  if (rf & 1) {
18012
- var _r4_1 = i0.ɵɵgetCurrentView();
18013
- i0.ɵɵelementStart(0, "div", 7);
18014
- i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_div_12_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r4_1); var tag_r2 = ctx.$implicit; var ctx_r3 = i0.ɵɵnextContext(2); return ctx_r3.toggleTag(tag_r2); });
18303
+ var _r7_1 = i0.ɵɵgetCurrentView();
18304
+ i0.ɵɵelementStart(0, "div", 9);
18305
+ i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_div_12_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r7_1); var tag_r5 = ctx.$implicit; var ctx_r6 = i0.ɵɵnextContext(2); return ctx_r6.toggleTag(tag_r5); });
18015
18306
  i0.ɵɵtext(1);
18016
18307
  i0.ɵɵelementEnd();
18017
18308
  }
18018
18309
  if (rf & 2) {
18019
- var tag_r2 = ctx.$implicit;
18020
- var ctx_r1 = i0.ɵɵnextContext(2);
18021
- i0.ɵɵproperty("ngClass", ctx_r1.tagClass(tag_r2));
18310
+ var tag_r5 = ctx.$implicit;
18311
+ var ctx_r3 = i0.ɵɵnextContext(2);
18312
+ i0.ɵɵproperty("ngClass", ctx_r3.tagClass(tag_r5));
18022
18313
  i0.ɵɵadvance(1);
18023
- i0.ɵɵtextInterpolate1(" ", tag_r2.attributes.name, " ");
18314
+ i0.ɵɵtextInterpolate1(" ", tag_r5.attributes.name, " ");
18315
+ }
18316
+ }
18317
+ function TagsSelectorComponent_ng_miam_modal_0_div_13_Template(rf, ctx) {
18318
+ if (rf & 1) {
18319
+ var _r9_1 = i0.ɵɵgetCurrentView();
18320
+ i0.ɵɵelementStart(0, "div", 10);
18321
+ i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_div_13_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r9_1); var ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.displayTagsCreator(true); });
18322
+ i0.ɵɵelement(1, "ng-miam-icon", 11);
18323
+ i0.ɵɵelementEnd();
18324
+ }
18325
+ if (rf & 2) {
18326
+ var ctx_r4 = i0.ɵɵnextContext(2);
18327
+ i0.ɵɵadvance(1);
18328
+ i0.ɵɵproperty("iconName", ctx_r4.icon.Plus);
18024
18329
  }
18025
18330
  }
18026
18331
  var _c0$v = function (a0) { return { "active": a0 }; };
18027
18332
  function TagsSelectorComponent_ng_miam_modal_0_Template(rf, ctx) {
18028
18333
  if (rf & 1) {
18029
- var _r6_1 = i0.ɵɵgetCurrentView();
18030
- i0.ɵɵelementStart(0, "ng-miam-modal", 1);
18031
- i0.ɵɵlistener("close", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_close_0_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.closeTagsSelector(); })("cancel", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_cancel_0_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.closeTagsSelector(); })("confirm", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_confirm_0_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r8 = i0.ɵɵnextContext(); return ctx_r8.confirm(); });
18032
- i0.ɵɵelementStart(1, "div", 2);
18033
- i0.ɵɵelementStart(2, "div", 3);
18034
- i0.ɵɵelementStart(3, "div", 4);
18035
- i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_3_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.switchTab(ctx_r9.mealTypeTags); });
18334
+ var _r11_1 = i0.ɵɵgetCurrentView();
18335
+ i0.ɵɵelementStart(0, "ng-miam-modal", 2);
18336
+ i0.ɵɵlistener("close", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_close_0_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.closeTagsSelector(); })("cancel", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_cancel_0_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r12 = i0.ɵɵnextContext(); return ctx_r12.closeTagsSelector(); })("confirm", function TagsSelectorComponent_ng_miam_modal_0_Template_ng_miam_modal_confirm_0_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.confirm(); });
18337
+ i0.ɵɵelementStart(1, "div", 3);
18338
+ i0.ɵɵelementStart(2, "div", 4);
18339
+ i0.ɵɵelementStart(3, "div", 5);
18340
+ i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_3_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.switchTab(ctx_r14.mealTypeTags); });
18036
18341
  i0.ɵɵtext(4, " Type de plat ");
18037
18342
  i0.ɵɵelementEnd();
18038
- i0.ɵɵelementStart(5, "div", 4);
18039
- i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_5_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.switchTab(ctx_r10.ingredientCategoryTags); });
18343
+ i0.ɵɵelementStart(5, "div", 5);
18344
+ i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_5_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r15 = i0.ɵɵnextContext(); return ctx_r15.switchTab(ctx_r15.ingredientCategoryTags); });
18040
18345
  i0.ɵɵtext(6, " Famille d'ingr\u00E9dients ");
18041
18346
  i0.ɵɵelementEnd();
18042
- i0.ɵɵelementStart(7, "div", 4);
18043
- i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_7_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.switchTab(ctx_r11.equipmentTags); });
18347
+ i0.ɵɵelementStart(7, "div", 5);
18348
+ i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_7_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.switchTab(ctx_r16.equipmentTags); });
18044
18349
  i0.ɵɵtext(8, " \u00C9quipements ");
18045
18350
  i0.ɵɵelementEnd();
18046
- i0.ɵɵelementStart(9, "div", 4);
18047
- i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_9_listener() { i0.ɵɵrestoreView(_r6_1); var ctx_r12 = i0.ɵɵnextContext(); return ctx_r12.switchTab(ctx_r12.dietTags); });
18351
+ i0.ɵɵelementStart(9, "div", 5);
18352
+ i0.ɵɵlistener("click", function TagsSelectorComponent_ng_miam_modal_0_Template_div_click_9_listener() { i0.ɵɵrestoreView(_r11_1); var ctx_r17 = i0.ɵɵnextContext(); return ctx_r17.switchTab(ctx_r17.dietTags); });
18048
18353
  i0.ɵɵtext(10, " R\u00E9gimes alimentaires ");
18049
18354
  i0.ɵɵelementEnd();
18050
18355
  i0.ɵɵelementEnd();
18051
- i0.ɵɵelementStart(11, "div", 5);
18052
- i0.ɵɵtemplate(12, TagsSelectorComponent_ng_miam_modal_0_div_12_Template, 2, 2, "div", 6);
18356
+ i0.ɵɵelementStart(11, "div", 6);
18357
+ i0.ɵɵtemplate(12, TagsSelectorComponent_ng_miam_modal_0_div_12_Template, 2, 2, "div", 7);
18358
+ i0.ɵɵtemplate(13, TagsSelectorComponent_ng_miam_modal_0_div_13_Template, 2, 1, "div", 8);
18053
18359
  i0.ɵɵelementEnd();
18054
18360
  i0.ɵɵelementEnd();
18055
18361
  i0.ɵɵelementEnd();
@@ -18058,20 +18364,44 @@
18058
18364
  var ctx_r0 = i0.ɵɵnextContext();
18059
18365
  i0.ɵɵproperty("isAngularComponent", true)("noHeaderMode", false)("expanded", true);
18060
18366
  i0.ɵɵadvance(3);
18061
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "meal_type"));
18367
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "meal_type"));
18062
18368
  i0.ɵɵadvance(2);
18063
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "ingredient_category"));
18369
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "ingredient_category"));
18064
18370
  i0.ɵɵadvance(2);
18065
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "equipment"));
18371
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "equipment"));
18066
18372
  i0.ɵɵadvance(2);
18067
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "diet"));
18373
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c0$v, (ctx_r0.selectedTabTags[0] == null ? null : ctx_r0.selectedTabTags[0].tagType) === "diet"));
18068
18374
  i0.ɵɵadvance(3);
18069
18375
  i0.ɵɵproperty("ngForOf", ctx_r0.selectedTabTags);
18376
+ i0.ɵɵadvance(1);
18377
+ i0.ɵɵproperty("ngIf", ctx_r0.isAdmin);
18378
+ }
18379
+ }
18380
+ function TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template(rf, ctx) {
18381
+ if (rf & 1) {
18382
+ var _r20_1 = i0.ɵɵgetCurrentView();
18383
+ i0.ɵɵelementStart(0, "ng-miam-tags-creator", 13);
18384
+ i0.ɵɵlistener("close", function TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template_ng_miam_tags_creator_close_0_listener() { i0.ɵɵrestoreView(_r20_1); var ctx_r19 = i0.ɵɵnextContext(2); return ctx_r19.displayTagsCreator(false); })("submit", function TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template_ng_miam_tags_creator_submit_0_listener($event) { i0.ɵɵrestoreView(_r20_1); var ctx_r21 = i0.ɵɵnextContext(2); return ctx_r21.addCreatedTag($event); });
18385
+ i0.ɵɵelementEnd();
18386
+ }
18387
+ if (rf & 2) {
18388
+ var ctx_r18 = i0.ɵɵnextContext(2);
18389
+ i0.ɵɵproperty("display", ctx_r18.tagsCreatorDisplayed)("currentRecipe", ctx_r18.currentRecipe)("currentTagType", ctx_r18.selectedTabTags[0] == null ? null : ctx_r18.selectedTabTags[0].tagType);
18390
+ }
18391
+ }
18392
+ function TagsSelectorComponent_ng_template_1_Template(rf, ctx) {
18393
+ if (rf & 1) {
18394
+ i0.ɵɵtemplate(0, TagsSelectorComponent_ng_template_1_ng_miam_tags_creator_0_Template, 1, 3, "ng-miam-tags-creator", 12);
18395
+ }
18396
+ if (rf & 2) {
18397
+ var ctx_r2 = i0.ɵɵnextContext();
18398
+ i0.ɵɵproperty("ngIf", ctx_r2.display);
18070
18399
  }
18071
18400
  }
18072
18401
  var TagsSelectorComponent = /** @class */ (function () {
18073
- function TagsSelectorComponent(tagsService, cdr) {
18402
+ function TagsSelectorComponent(tagsService, userService, cdr) {
18074
18403
  this.tagsService = tagsService;
18404
+ this.userService = userService;
18075
18405
  this.cdr = cdr;
18076
18406
  this.currentTags = [];
18077
18407
  this.display = false;
@@ -18084,25 +18414,32 @@
18084
18414
  this.selectedTags = [];
18085
18415
  this.selectedTabTags = [];
18086
18416
  this.tagsArefetched = false;
18417
+ this.icon = exports.Icon;
18418
+ this.tagsCreatorDisplayed = false;
18087
18419
  this.subscriptions = [];
18088
18420
  }
18089
18421
  TagsSelectorComponent.prototype.ngOnInit = function () {
18090
18422
  var _this = this;
18423
+ var page = { size: 30, number: 1 };
18091
18424
  this.subscriptions.push(rxjs.forkJoin([
18092
18425
  // TODO: make it more generic so we don't have to do a PR each time we add a new tag_type
18093
- this.tagsService.all({ remotefilter: { tag_type: 'diet' } })
18426
+ this.tagsService.all({ page: page, remotefilter: { tag_type: 'diet' } })
18094
18427
  .pipe(operators.skipWhile(function (res) { return res.is_loading; }), operators.tap(function (tags) { _this.dietTags = tags.data; })),
18095
- this.tagsService.all({ remotefilter: { tag_type: 'equipment' } })
18428
+ this.tagsService.all({ page: page, remotefilter: { tag_type: 'equipment' } })
18096
18429
  .pipe(operators.skipWhile(function (res) { return res.is_loading; }), operators.tap(function (tags) { _this.equipmentTags = tags.data; })),
18097
- this.tagsService.all({ remotefilter: { tag_type: 'meal_type' } })
18430
+ this.tagsService.all({ page: page, remotefilter: { tag_type: 'meal_type' } })
18098
18431
  .pipe(operators.skipWhile(function (res) { return res.is_loading; }), operators.tap(function (tags) {
18099
18432
  _this.mealTypeTags = tags.data;
18100
18433
  _this.selectedTabTags = tags.data;
18101
18434
  })),
18102
- this.tagsService.all({ remotefilter: { tag_type: 'ingredient_category' } })
18435
+ this.tagsService.all({ page: page, remotefilter: { tag_type: 'ingredient_category' } })
18103
18436
  .pipe(operators.skipWhile(function (res) { return res.is_loading; }), operators.tap(function (tags) { _this.ingredientCategoryTags = tags.data; })),
18104
18437
  ])
18105
18438
  .subscribe(function () { _this.tagsArefetched = true; }));
18439
+ this.subscriptions.push(this.userService.isAdmin.subscribe(function (isAdmin) {
18440
+ _this.isAdmin = isAdmin;
18441
+ _this.cdr.detectChanges();
18442
+ }));
18106
18443
  };
18107
18444
  TagsSelectorComponent.prototype.ngOnChanges = function (changes) {
18108
18445
  this.selectedTabTags = __spread(this.mealTypeTags);
@@ -18139,28 +18476,56 @@
18139
18476
  this.savedTags.emit(this.selectedTags);
18140
18477
  this.closeTagsSelector();
18141
18478
  };
18479
+ TagsSelectorComponent.prototype.displayTagsCreator = function (display) {
18480
+ this.tagsCreatorDisplayed = display;
18481
+ this.cdr.detectChanges();
18482
+ };
18483
+ TagsSelectorComponent.prototype.addCreatedTag = function (tag) {
18484
+ if (tag.tagType === 'meal_type') {
18485
+ this.mealTypeTags.push(tag);
18486
+ this.switchTab(this.mealTypeTags);
18487
+ }
18488
+ else if (tag.tagType === 'ingredient_category') {
18489
+ this.ingredientCategoryTags.push(tag);
18490
+ this.switchTab(this.ingredientCategoryTags);
18491
+ }
18492
+ else if (tag.tagType === 'equipment') {
18493
+ this.equipmentTags.push(tag);
18494
+ this.switchTab(this.equipmentTags);
18495
+ }
18496
+ else if (tag.tagType === 'diet') {
18497
+ this.dietTags.push(tag);
18498
+ this.switchTab(this.dietTags);
18499
+ }
18500
+ this.toggleTag(tag);
18501
+ this.displayTagsCreator(false);
18502
+ };
18142
18503
  return TagsSelectorComponent;
18143
18504
  }());
18144
- TagsSelectorComponent.ɵfac = function TagsSelectorComponent_Factory(t) { return new (t || TagsSelectorComponent)(i0.ɵɵdirectiveInject(TagsService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
18145
- TagsSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsSelectorComponent, selectors: [["ng-miam-tags-selector"]], inputs: { currentTags: "currentTags", display: "display" }, outputs: { savedTags: "savedTags", close: "close" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["title", "Ajoutez des tags \u00E0 la recette", "cancelButtonText", "Annuler", "confirmButtonText", "Ajouter", 3, "isAngularComponent", "noHeaderMode", "expanded", "close", "cancel", "confirm", 4, "ngIf"], ["title", "Ajoutez des tags \u00E0 la recette", "cancelButtonText", "Annuler", "confirmButtonText", "Ajouter", 3, "isAngularComponent", "noHeaderMode", "expanded", "close", "cancel", "confirm"], [1, "tags-selector"], [1, "tags-selector__selectors"], [1, "tags-selector__selector", 3, "ngClass", "click"], [1, "tags-selector__tags"], ["class", "tags-selector__tag", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "tags-selector__tag", 3, "ngClass", "click"]], template: function TagsSelectorComponent_Template(rf, ctx) {
18505
+ TagsSelectorComponent.ɵfac = function TagsSelectorComponent_Factory(t) { return new (t || TagsSelectorComponent)(i0.ɵɵdirectiveInject(TagsService), i0.ɵɵdirectiveInject(UserService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
18506
+ TagsSelectorComponent.ɵcmp = i0.ɵɵdefineComponent({ type: TagsSelectorComponent, selectors: [["ng-miam-tags-selector"]], inputs: { currentRecipe: "currentRecipe", currentTags: "currentTags", display: "display" }, outputs: { savedTags: "savedTags", close: "close" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["title", "Ajoutez des tags \u00E0 la recette", "cancelButtonText", "Annuler", "confirmButtonText", "Ajouter", 3, "isAngularComponent", "noHeaderMode", "expanded", "close", "cancel", "confirm", 4, "ngIf", "ngIfElse"], ["tagsCreator", ""], ["title", "Ajoutez des tags \u00E0 la recette", "cancelButtonText", "Annuler", "confirmButtonText", "Ajouter", 3, "isAngularComponent", "noHeaderMode", "expanded", "close", "cancel", "confirm"], [1, "tags-selector"], [1, "tags-selector__selectors"], [1, "tags-selector__selector", 3, "ngClass", "click"], [1, "tags-selector__tags"], ["class", "tags-selector__tag", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], ["class", "tags-selector__tag", 3, "click", 4, "ngIf"], [1, "tags-selector__tag", 3, "ngClass", "click"], [1, "tags-selector__tag", 3, "click"], [3, "iconName"], [3, "display", "currentRecipe", "currentTagType", "close", "submit", 4, "ngIf"], [3, "display", "currentRecipe", "currentTagType", "close", "submit"]], template: function TagsSelectorComponent_Template(rf, ctx) {
18146
18507
  if (rf & 1) {
18147
- i0.ɵɵtemplate(0, TagsSelectorComponent_ng_miam_modal_0_Template, 13, 16, "ng-miam-modal", 0);
18508
+ i0.ɵɵtemplate(0, TagsSelectorComponent_ng_miam_modal_0_Template, 14, 17, "ng-miam-modal", 0);
18509
+ i0.ɵɵtemplate(1, TagsSelectorComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
18148
18510
  }
18149
18511
  if (rf & 2) {
18150
- i0.ɵɵproperty("ngIf", ctx.display);
18512
+ var _r1 = i0.ɵɵreference(2);
18513
+ i0.ɵɵproperty("ngIf", ctx.display && !ctx.tagsCreatorDisplayed)("ngIfElse", _r1);
18151
18514
  }
18152
- }, directives: [i4.NgIf, ModalComponent, i4.NgClass, i4.NgForOf], styles: [".tags-selector{margin:0 24px}.tags-selector .tags-selector__selectors{display:flex;flex-direction:row}.tags-selector .tags-selector__selectors .tags-selector__selector{border-bottom:1px solid var(--m-color-grey07);color:var(--m-color-grey03);cursor:pointer;font-size:16px;min-width:200px;padding:8px;text-align:center}.tags-selector .tags-selector__selectors .tags-selector__selector.active{border-bottom:2px solid var(--m-color-primary);color:var(--m-color-primary);font-weight:700}.tags-selector .tags-selector__tags{display:flex;flex-flow:row wrap;min-height:200px}.tags-selector .tags-selector__tags .tags-selector__tag{align-items:center;background-color:var(--m-color-white);border:1px solid var(--m-color-grey07);border-radius:var(--m-border-radius-pill);cursor:pointer;display:flex;font-size:16px;height:32px;margin:8px;padding:4px 12px}.tags-selector .tags-selector__tags .tags-selector__tag.active{background-color:var(--m-color-primary-light);border:none}.tags-selector .tags-selector__tags .tags-selector__tag.active.meal_type{background-color:var(--m-color-tag-meal-type)}.tags-selector .tags-selector__tags .tags-selector__tag.active.ingredient_category{background-color:var(--m-color-tag-ingredient-category)}.tags-selector .tags-selector__tags .tags-selector__tag.active.equipment{background-color:var(--m-color-tag-equipment)}.tags-selector .tags-selector__tags .tags-selector__tag.active.diet{background-color:var(--m-color-tag-diet)}"], encapsulation: 2, changeDetection: 0 });
18515
+ }, directives: [i4.NgIf, ModalComponent, i4.NgClass, i4.NgForOf, IconComponent, TagsCreatorComponent], styles: [".tags-selector{margin:0 24px}.tags-selector .tags-selector__selectors{display:flex;flex-direction:row}.tags-selector .tags-selector__selectors .tags-selector__selector{border-bottom:1px solid var(--m-color-grey07);color:var(--m-color-grey03);cursor:pointer;font-size:16px;min-width:200px;padding:8px;text-align:center}.tags-selector .tags-selector__selectors .tags-selector__selector.active{border-bottom:2px solid var(--m-color-primary);color:var(--m-color-primary);font-weight:700}.tags-selector .tags-selector__tags{display:flex;flex-flow:row wrap;min-height:200px}.tags-selector .tags-selector__tags .tags-selector__tag{align-items:center;background-color:var(--m-color-white);border:1px solid var(--m-color-grey07);border-radius:var(--m-border-radius-pill);cursor:pointer;display:flex;font-size:16px;height:32px;margin:8px;padding:4px 12px}.tags-selector .tags-selector__tags .tags-selector__tag.active{background-color:var(--m-color-primary-light);border:none}.tags-selector .tags-selector__tags .tags-selector__tag.active.meal_type{background-color:var(--m-color-tag-meal-type)}.tags-selector .tags-selector__tags .tags-selector__tag.active.ingredient_category{background-color:var(--m-color-tag-ingredient-category)}.tags-selector .tags-selector__tags .tags-selector__tag.active.equipment{background-color:var(--m-color-tag-equipment)}.tags-selector .tags-selector__tags .tags-selector__tag.active.diet{background-color:var(--m-color-tag-diet)}"], encapsulation: 2, changeDetection: 0 });
18153
18516
  /*@__PURE__*/ (function () {
18154
18517
  i0.ɵsetClassMetadata(TagsSelectorComponent, [{
18155
18518
  type: i0.Component,
18156
18519
  args: [{
18157
- selector: "ng-miam-tags-selector",
18520
+ selector: 'ng-miam-tags-selector',
18158
18521
  templateUrl: './tags-selector.component.html',
18159
18522
  styleUrls: ['./tags-selector.component.scss'],
18160
18523
  encapsulation: i0.ViewEncapsulation.None,
18161
18524
  changeDetection: i0.ChangeDetectionStrategy.OnPush
18162
18525
  }]
18163
- }], function () { return [{ type: TagsService }, { type: i0.ChangeDetectorRef }]; }, { currentTags: [{
18526
+ }], function () { return [{ type: TagsService }, { type: UserService }, { type: i0.ChangeDetectorRef }]; }, { currentRecipe: [{
18527
+ type: i0.Input
18528
+ }], currentTags: [{
18164
18529
  type: i0.Input
18165
18530
  }], display: [{
18166
18531
  type: i0.Input
@@ -18292,7 +18657,7 @@
18292
18657
  }
18293
18658
  if (rf & 2) {
18294
18659
  var ctx_r13 = i0.ɵɵnextContext(2);
18295
- i0.ɵɵproperty("placeholder", ctx_r13.INGREDIENT_PLACEHOLDER)("instructions", ctx_r13.INGREDIENT_INSTRUCTIONS)("list", ctx_r13.recipeForm.get("ingredients"))("ingredientMode", true)("ingredientsPictures", ctx_r13.ingredientsPictures);
18660
+ i0.ɵɵproperty("isPersonal", (ctx_r13.recipe.relationships["recipe-provider"] == null ? null : ctx_r13.recipe.relationships["recipe-provider"].data == null ? null : ctx_r13.recipe.relationships["recipe-provider"].data.id) === "personal")("placeholder", ctx_r13.INGREDIENT_PLACEHOLDER)("instructions", ctx_r13.INGREDIENT_INSTRUCTIONS)("list", ctx_r13.recipeForm.get("ingredients"))("ingredientMode", true)("ingredientsPictures", ctx_r13.ingredientsPictures);
18296
18661
  }
18297
18662
  }
18298
18663
  function RecipeStepperComponent_ng_container_28_ng_miam_list_input_42_Template(rf, ctx) {
@@ -18369,7 +18734,7 @@
18369
18734
  i0.ɵɵelementContainerEnd();
18370
18735
  i0.ɵɵelementStart(38, "div", 19, 20);
18371
18736
  i0.ɵɵtemplate(40, RecipeStepperComponent_ng_container_28_div_40_Template, 5, 6, "div", 40);
18372
- i0.ɵɵtemplate(41, RecipeStepperComponent_ng_container_28_ng_miam_list_input_41_Template, 1, 5, "ng-miam-list-input", 41);
18737
+ i0.ɵɵtemplate(41, RecipeStepperComponent_ng_container_28_ng_miam_list_input_41_Template, 1, 6, "ng-miam-list-input", 41);
18373
18738
  i0.ɵɵtemplate(42, RecipeStepperComponent_ng_container_28_ng_miam_list_input_42_Template, 1, 3, "ng-miam-list-input", 42);
18374
18739
  i0.ɵɵelementEnd();
18375
18740
  i0.ɵɵelementContainerEnd();
@@ -18436,7 +18801,7 @@
18436
18801
  }
18437
18802
  if (rf & 2) {
18438
18803
  var ctx_r5 = i0.ɵɵnextContext();
18439
- i0.ɵɵproperty("display", ctx_r5.tagsSelectorDisplayed)("currentTags", ctx_r5.recipe.relationships.tags == null ? null : ctx_r5.recipe.relationships.tags.data);
18804
+ i0.ɵɵproperty("display", ctx_r5.tagsSelectorDisplayed)("currentRecipe", ctx_r5.recipe)("currentTags", ctx_r5.recipe.relationships.tags == null ? null : ctx_r5.recipe.relationships.tags.data);
18440
18805
  }
18441
18806
  }
18442
18807
  var RecipeStepperComponent = /** @class */ (function (_super) {
@@ -18563,7 +18928,7 @@
18563
18928
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepperLinks = _t.first);
18564
18929
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.steps = _t);
18565
18930
  }
18566
- }, inputs: { displayTags: "displayTags", ingredientsPictures: "ingredientsPictures" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 37, vars: 17, consts: [[1, "miam-recipe-stepper__anchor"], ["topAnchor", ""], [1, "miam-recipe-stepper"], [1, "miam-recipe-stepper__padding"], [1, "m-button-secondary", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-recipe-stepper__links"], ["stepperLinks", ""], [1, "miam-recipe-stepper__link", 3, "ngClass", "click"], [1, "miam-recipe-stepper__link__number"], [1, "m-body-typo", "miam-recipe-stepper__link__name"], [1, "miam-recipe-stepper__link__divider"], [3, "formGroup", 4, "ngIf", "ngIfElse"], ["loading", ""], [1, "miam-recipe-stepper__footer"], [1, "m-button-secondary", 3, "disabled", "click"], [1, "m-button-primary", 3, "disabled", "click"], [3, "display", "currentTags", "close", "savedTags", 4, "ngIf"], [3, "formGroup"], [1, "miam-recipe-stepper__section"], ["step", ""], [1, "miam-recipe-stepper__mandatory"], ["ngDefaultControl", "", "placeholder", "Titre de la recette", 1, "m-title-text-input", 3, "formControl"], [1, "miam-recipe-stepper__type__label"], ["ngDefaultControl", "", 3, "formControl"], [1, "miam-recipe-stepper__section__guests", "m-default-card"], [1, "miam-recipe-stepper__guests__label"], ["ngDefaultControl", "", "formControlName", "number-of-guests", "minRange", "1", "maxRange", "999", 3, "counter", "counterChange"], ["class", "miam-recipe-stepper__tags", 4, "ngIf"], [1, "miam-recipe-stepper__section__row"], [1, "miam-recipe-stepper__picture"], ["ngDefaultControl", "", 3, "buttonText", "formControl", "imageUrl", "photoMode", "bigFileDropped", "onFileDropped"], ["class", "miam-recipe-stepper__picture__warning", 4, "ngIf"], [1, "miam-recipe-stepper__row__description"], [1, "m-h1-typo"], ["cdkTextareaAutosize", "", "cdkAutosizeMinRows", "20", "cdkAutosizeMaxRows", "50", "maxlength", "250", 1, "m-input", 3, "formControl"], [1, "miam-recipe-stepper__description__counter"], ["class", "miam-recipe-stepper__section__times", 4, "ngIf"], [1, "miam-recipe-stepper__attibutes__slider"], ["ngDefaultControl", "", 3, "steps", "formControl", "icons"], ["class", "miam-recipe-stepper__mobile__buttons", 4, "ngIf"], ["ngDefaultControl", "", "label", "Ingr\u00E9dients", "hint", "ingr\u00E9dients", "formArrayName", "ingredients", 3, "placeholder", "instructions", "list", "ingredientMode", "ingredientsPictures", "deleteId", "orderHasChanged", 4, "ngIf"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged", 4, "ngIf"], [1, "miam-recipe-stepper__tags"], [1, "miam-recipe-stepper__tags__title"], [1, "miam-recipe-stepper__tags__recap"], ["class", "miam-recipe-stepper__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], ["primaryColor", "var(--m-color-onyx)", 3, "iconName"], [1, "miam-recipe-stepper__tag", 3, "ngClass"], [1, "miam-recipe-stepper__tag__name"], ["primaryColor", "var(--m-color-grey01)", 1, "miam-recipe-stepper__tag__icon", 3, "iconName", "click"], [1, "miam-recipe-stepper__picture__warning"], ["primaryColor", "var(--m-color-warning-text)", 3, "iconName"], [1, "miam-recipe-stepper__picture__warning__background"], [1, "miam-recipe-stepper__section__times"], ["ngDefaultControl", "", "title", "Temps de pr\u00E9paration", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de cuisson", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de repos", 3, "formControl", "icon"], [1, "miam-recipe-stepper__mobile__buttons"], [1, "m-button-secondary", 3, "ngClass", "click"], ["ngDefaultControl", "", "label", "Ingr\u00E9dients", "hint", "ingr\u00E9dients", "formArrayName", "ingredients", 3, "placeholder", "instructions", "list", "ingredientMode", "ingredientsPictures", "deleteId", "orderHasChanged"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged"], [3, "display", "currentTags", "close", "savedTags"]], template: function RecipeStepperComponent_Template(rf, ctx) {
18931
+ }, inputs: { displayTags: "displayTags", ingredientsPictures: "ingredientsPictures" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 37, vars: 17, consts: [[1, "miam-recipe-stepper__anchor"], ["topAnchor", ""], [1, "miam-recipe-stepper"], [1, "miam-recipe-stepper__padding"], [1, "m-button-secondary", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-recipe-stepper__links"], ["stepperLinks", ""], [1, "miam-recipe-stepper__link", 3, "ngClass", "click"], [1, "miam-recipe-stepper__link__number"], [1, "m-body-typo", "miam-recipe-stepper__link__name"], [1, "miam-recipe-stepper__link__divider"], [3, "formGroup", 4, "ngIf", "ngIfElse"], ["loading", ""], [1, "miam-recipe-stepper__footer"], [1, "m-button-secondary", 3, "disabled", "click"], [1, "m-button-primary", 3, "disabled", "click"], [3, "display", "currentRecipe", "currentTags", "close", "savedTags", 4, "ngIf"], [3, "formGroup"], [1, "miam-recipe-stepper__section"], ["step", ""], [1, "miam-recipe-stepper__mandatory"], ["ngDefaultControl", "", "placeholder", "Titre de la recette", 1, "m-title-text-input", 3, "formControl"], [1, "miam-recipe-stepper__type__label"], ["ngDefaultControl", "", 3, "formControl"], [1, "miam-recipe-stepper__section__guests", "m-default-card"], [1, "miam-recipe-stepper__guests__label"], ["ngDefaultControl", "", "formControlName", "number-of-guests", "minRange", "1", "maxRange", "999", 3, "counter", "counterChange"], ["class", "miam-recipe-stepper__tags", 4, "ngIf"], [1, "miam-recipe-stepper__section__row"], [1, "miam-recipe-stepper__picture"], ["ngDefaultControl", "", 3, "buttonText", "formControl", "imageUrl", "photoMode", "bigFileDropped", "onFileDropped"], ["class", "miam-recipe-stepper__picture__warning", 4, "ngIf"], [1, "miam-recipe-stepper__row__description"], [1, "m-h1-typo"], ["cdkTextareaAutosize", "", "cdkAutosizeMinRows", "20", "cdkAutosizeMaxRows", "50", "maxlength", "250", 1, "m-input", 3, "formControl"], [1, "miam-recipe-stepper__description__counter"], ["class", "miam-recipe-stepper__section__times", 4, "ngIf"], [1, "miam-recipe-stepper__attibutes__slider"], ["ngDefaultControl", "", 3, "steps", "formControl", "icons"], ["class", "miam-recipe-stepper__mobile__buttons", 4, "ngIf"], ["ngDefaultControl", "", "label", "Ingr\u00E9dients", "hint", "ingr\u00E9dients", "formArrayName", "ingredients", 3, "isPersonal", "placeholder", "instructions", "list", "ingredientMode", "ingredientsPictures", "deleteId", "orderHasChanged", 4, "ngIf"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged", 4, "ngIf"], [1, "miam-recipe-stepper__tags"], [1, "miam-recipe-stepper__tags__title"], [1, "miam-recipe-stepper__tags__recap"], ["class", "miam-recipe-stepper__tag", 3, "ngClass", 4, "ngFor", "ngForOf"], ["primaryColor", "var(--m-color-onyx)", 3, "iconName"], [1, "miam-recipe-stepper__tag", 3, "ngClass"], [1, "miam-recipe-stepper__tag__name"], ["primaryColor", "var(--m-color-grey01)", 1, "miam-recipe-stepper__tag__icon", 3, "iconName", "click"], [1, "miam-recipe-stepper__picture__warning"], ["primaryColor", "var(--m-color-warning-text)", 3, "iconName"], [1, "miam-recipe-stepper__picture__warning__background"], [1, "miam-recipe-stepper__section__times"], ["ngDefaultControl", "", "title", "Temps de pr\u00E9paration", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de cuisson", 3, "formControl", "icon"], ["ngDefaultControl", "", "title", "Temps de repos", 3, "formControl", "icon"], [1, "miam-recipe-stepper__mobile__buttons"], [1, "m-button-secondary", 3, "ngClass", "click"], ["ngDefaultControl", "", "label", "Ingr\u00E9dients", "hint", "ingr\u00E9dients", "formArrayName", "ingredients", 3, "isPersonal", "placeholder", "instructions", "list", "ingredientMode", "ingredientsPictures", "deleteId", "orderHasChanged"], ["ngDefaultControl", "", "label", "\u00C9tapes", "formArrayName", "steps", "hint", "\u00E9tapes", 3, "placeholder", "list", "instructions", "deleteId", "orderHasChanged"], [3, "display", "currentRecipe", "currentTags", "close", "savedTags"]], template: function RecipeStepperComponent_Template(rf, ctx) {
18567
18932
  if (rf & 1) {
18568
18933
  i0.ɵɵelement(0, "div", 0, 1);
18569
18934
  i0.ɵɵelementStart(2, "div", 2);
@@ -18621,7 +18986,7 @@
18621
18986
  i0.ɵɵelementEnd();
18622
18987
  i0.ɵɵelementEnd();
18623
18988
  i0.ɵɵelementEnd();
18624
- i0.ɵɵtemplate(36, RecipeStepperComponent_ng_miam_tags_selector_36_Template, 1, 2, "ng-miam-tags-selector", 17);
18989
+ i0.ɵɵtemplate(36, RecipeStepperComponent_ng_miam_tags_selector_36_Template, 1, 3, "ng-miam-tags-selector", 17);
18625
18990
  }
18626
18991
  if (rf & 2) {
18627
18992
  var _r3 = i0.ɵɵreference(30);
@@ -19597,7 +19962,8 @@
19597
19962
  CatalogHeaderComponent,
19598
19963
  RecipeStepperComponent,
19599
19964
  CatalogArticleCardComponent,
19600
- TagsSelectorComponent
19965
+ TagsSelectorComponent,
19966
+ TagsCreatorComponent
19601
19967
  ];
19602
19968
  // Tag names as imported in client application
19603
19969
  // Warning : do not use caps, use dashed case only
@@ -19624,7 +19990,8 @@
19624
19990
  'catalog-header',
19625
19991
  'recipe-stepper',
19626
19992
  'catalog-article-card',
19627
- 'tags-selector'
19993
+ 'tags-selector',
19994
+ 'tags-creator'
19628
19995
  ];
19629
19996
  var WEBC_MODULES = [
19630
19997
  LoaderModule,
@@ -19678,7 +20045,8 @@
19678
20045
  CatalogHeaderComponent,
19679
20046
  RecipeStepperComponent,
19680
20047
  CatalogArticleCardComponent,
19681
- TagsSelectorComponent], imports: [LoaderModule,
20048
+ TagsSelectorComponent,
20049
+ TagsCreatorComponent], imports: [LoaderModule,
19682
20050
  BasketPreviewModule,
19683
20051
  ListScanModule,
19684
20052
  RecipeDetailsModule,
@@ -19712,7 +20080,8 @@
19712
20080
  CatalogHeaderComponent,
19713
20081
  RecipeStepperComponent,
19714
20082
  CatalogArticleCardComponent,
19715
- TagsSelectorComponent] });
20083
+ TagsSelectorComponent,
20084
+ TagsCreatorComponent] });
19716
20085
  })();
19717
20086
  /*@__PURE__*/ (function () {
19718
20087
  i0.ɵsetClassMetadata(WebComponentsModule, [{
@@ -19735,7 +20104,7 @@
19735
20104
  }]
19736
20105
  }], null, null);
19737
20106
  })();
19738
- i0.ɵɵsetComponentScope(RecipeCatalogComponent, [LoaderComponent, BasketPreviewBlockComponent, BasketPreviewLineComponent, BasketPreviewDisabledComponent, ReplaceItemComponent, ListScanComponent, RecipeDetailsIngredientsComponent, RecipeDetailsComponent, RecipeAddonComponent, RecipeDetailsStepsComponent, RecipeDetailsInfosComponent, ModalComponent, i4.NgClass, i4.NgComponentOutlet, i4.NgForOf, i4.NgIf, i4.NgTemplateOutlet, i4.NgStyle, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, i4.NgPlural, i4.NgPluralCase, i15.ɵangular_packages_forms_forms_y, i15.NgSelectOption, i15.ɵangular_packages_forms_forms_x, i15.DefaultValueAccessor, i15.NumberValueAccessor, i15.RangeValueAccessor, i15.CheckboxControlValueAccessor, i15.SelectControlValueAccessor, i15.SelectMultipleControlValueAccessor, i15.RadioControlValueAccessor, i15.NgControlStatus, i15.NgControlStatusGroup, i15.RequiredValidator, i15.MinLengthValidator, i15.MaxLengthValidator, i15.PatternValidator, i15.CheckboxRequiredValidator, i15.EmailValidator, i15.NgModel, i15.NgModelGroup, i15.NgForm, i15.FormControlDirective, i15.FormGroupDirective, i15.FormControlName, i15.FormGroupName, i15.FormArrayName, IconComponent, CORSOverlayComponent, ListInputComponent, SkeletonComponent, SliderComponent, TimePickerComponent, CounterInputComponent, LikeButtonComponent, TabsComponent, TabBodyComponent, TabItemComponent, TabLabelComponent, DeleteConfirmButtonComponent, RecipePricingComponent, AddonLinkComponent, RecipeFiltersComponent, SelectInputComponent, TextInputComponent, ActionsPopinComponent, CardCreateRecipeComponent, RecipeTypeChooserComponent, ExplaineBannerComponent, i1$4.ɵb, i1$4.ɵc, i1$4.ɵd, i1$4.ɵe, i1$4.ɵf, i1$4.ɵg, i1$4.ɵh, i1$4.ɵl, i1$4.ɵm, i38.ɵb, i38.ɵa, i38.ɵd, i1$4.CalendarMonthViewComponent, i1$4.ɵn, i1$4.ɵa, i1$4.ɵo, i39.ResizableDirective, i39.ResizeHandleDirective, i1$4.CalendarWeekViewComponent, i1$4.ɵp, i1$4.ɵq, i1$4.ɵr, i1$4.ɵs, i1$4.CalendarDayViewComponent, AutowidthInputDirective, i8.YouTubePlayer, SuggestionCardComponent,
20107
+ i0.ɵɵsetComponentScope(RecipeCatalogComponent, [LoaderComponent, BasketPreviewBlockComponent, BasketPreviewLineComponent, BasketPreviewDisabledComponent, ReplaceItemComponent, ListScanComponent, RecipeDetailsIngredientsComponent, RecipeDetailsComponent, RecipeAddonComponent, RecipeDetailsStepsComponent, RecipeDetailsInfosComponent, ModalComponent, i4.NgClass, i4.NgComponentOutlet, i4.NgForOf, i4.NgIf, i4.NgTemplateOutlet, i4.NgStyle, i4.NgSwitch, i4.NgSwitchCase, i4.NgSwitchDefault, i4.NgPlural, i4.NgPluralCase, i15.ɵangular_packages_forms_forms_y, i15.NgSelectOption, i15.ɵangular_packages_forms_forms_x, i15.DefaultValueAccessor, i15.NumberValueAccessor, i15.RangeValueAccessor, i15.CheckboxControlValueAccessor, i15.SelectControlValueAccessor, i15.SelectMultipleControlValueAccessor, i15.RadioControlValueAccessor, i15.NgControlStatus, i15.NgControlStatusGroup, i15.RequiredValidator, i15.MinLengthValidator, i15.MaxLengthValidator, i15.PatternValidator, i15.CheckboxRequiredValidator, i15.EmailValidator, i15.NgModel, i15.NgModelGroup, i15.NgForm, i15.FormControlDirective, i15.FormGroupDirective, i15.FormControlName, i15.FormGroupName, i15.FormArrayName, IconComponent, CORSOverlayComponent, ListInputComponent, SkeletonComponent, SliderComponent, TimePickerComponent, CounterInputComponent, LikeButtonComponent, TabsComponent, TabBodyComponent, TabItemComponent, TabLabelComponent, DeleteConfirmButtonComponent, RecipePricingComponent, AddonLinkComponent, RecipeFiltersComponent, SelectInputComponent, TextInputComponent, ActionsPopinComponent, CardCreateRecipeComponent, RecipeTypeChooserComponent, ExplainBannerComponent, i1$4.ɵb, i1$4.ɵc, i1$4.ɵd, i1$4.ɵe, i1$4.ɵf, i1$4.ɵg, i1$4.ɵh, i1$4.ɵl, i1$4.ɵm, i38.ɵb, i38.ɵa, i38.ɵd, i1$4.CalendarMonthViewComponent, i1$4.ɵn, i1$4.ɵa, i1$4.ɵo, i39.ResizableDirective, i39.ResizeHandleDirective, i1$4.CalendarWeekViewComponent, i1$4.ɵp, i1$4.ɵq, i1$4.ɵr, i1$4.ɵs, i1$4.CalendarDayViewComponent, AutowidthInputDirective, i8.YouTubePlayer, SuggestionCardComponent,
19739
20108
  DrawerComponent,
19740
20109
  OrderButtonComponent,
19741
20110
  PosSelectionComponent,
@@ -19757,7 +20126,8 @@
19757
20126
  CatalogHeaderComponent,
19758
20127
  RecipeStepperComponent,
19759
20128
  CatalogArticleCardComponent,
19760
- TagsSelectorComponent], [i4.AsyncPipe, i4.UpperCasePipe, i4.LowerCasePipe, i4.JsonPipe, i4.SlicePipe, i4.DecimalPipe, i4.PercentPipe, i4.TitleCasePipe, i4.CurrencyPipe, i4.DatePipe, i4.I18nPluralPipe, i4.I18nSelectPipe, i4.KeyValuePipe, i1$4.ɵi, i1$4.ɵj, i1$4.ɵk, ReadableFloatNumberPipe, EllipsisPipe, SafePipe, CapitalizeFirstLetterPipe, ExtendedDatePipe]);
20129
+ TagsSelectorComponent,
20130
+ TagsCreatorComponent], [i4.AsyncPipe, i4.UpperCasePipe, i4.LowerCasePipe, i4.JsonPipe, i4.SlicePipe, i4.DecimalPipe, i4.PercentPipe, i4.TitleCasePipe, i4.CurrencyPipe, i4.DatePipe, i4.I18nPluralPipe, i4.I18nSelectPipe, i4.KeyValuePipe, i1$4.ɵi, i1$4.ɵj, i1$4.ɵk, ReadableFloatNumberPipe, EllipsisPipe, SafePipe, CapitalizeFirstLetterPipe, ExtendedDatePipe]);
19761
20131
 
19762
20132
  var MiamInterceptor = /** @class */ (function () {
19763
20133
  function MiamInterceptor(injector) {
@@ -19955,7 +20325,7 @@
19955
20325
  exports.DeleteConfirmButtonComponent = DeleteConfirmButtonComponent;
19956
20326
  exports.DragDropInputComponent = DragDropInputComponent;
19957
20327
  exports.DrawerComponent = DrawerComponent;
19958
- exports.ExplaineBannerComponent = ExplaineBannerComponent;
20328
+ exports.ExplainBannerComponent = ExplainBannerComponent;
19959
20329
  exports.GroceriesEntriesService = GroceriesEntriesService;
19960
20330
  exports.GroceriesListsService = GroceriesListsService;
19961
20331
  exports.IconComponent = IconComponent;
@@ -19996,6 +20366,7 @@
19996
20366
  exports.RecipeDetailsModule = RecipeDetailsModule;
19997
20367
  exports.RecipeDetailsStepsComponent = RecipeDetailsStepsComponent;
19998
20368
  exports.RecipeEventsService = RecipeEventsService;
20369
+ exports.RecipeFilters = RecipeFilters;
19999
20370
  exports.RecipeFiltersComponent = RecipeFiltersComponent;
20000
20371
  exports.RecipeFormComponent = RecipeFormComponent;
20001
20372
  exports.RecipeHelperComponent = RecipeHelperComponent;
@@ -20031,6 +20402,7 @@
20031
20402
  exports.TabLabelComponent = TabLabelComponent;
20032
20403
  exports.TabsComponent = TabsComponent;
20033
20404
  exports.Tag = Tag;
20405
+ exports.TagsCreatorComponent = TagsCreatorComponent;
20034
20406
  exports.TagsSelectorComponent = TagsSelectorComponent;
20035
20407
  exports.TagsService = TagsService;
20036
20408
  exports.TextInputComponent = TextInputComponent;