ng-miam 3.4.6 → 3.5.2

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 (38) hide show
  1. package/bundles/ng-miam.umd.js +844 -668
  2. package/bundles/ng-miam.umd.js.map +1 -1
  3. package/bundles/ng-miam.umd.min.js +1 -1
  4. package/bundles/ng-miam.umd.min.js.map +1 -1
  5. package/esm2015/lib/_components/abstracts/abstract-recipe-card.component.js +13 -3
  6. package/esm2015/lib/_models/index.js +2 -1
  7. package/esm2015/lib/_models/ingredient.js +3 -3
  8. package/esm2015/lib/_models/recipe.js +2 -1
  9. package/esm2015/lib/_models/tag.js +22 -0
  10. package/esm2015/lib/_services/groceries-lists.service.js +10 -13
  11. package/esm2015/lib/_services/index.js +2 -1
  12. package/esm2015/lib/_services/recipes.service.js +13 -8
  13. package/esm2015/lib/_services/tags.service.js +29 -0
  14. package/esm2015/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.js +2 -2
  15. package/esm2015/lib/_web-components/basket-preview/basket-preview-line/basket-preview-line.component.js +162 -172
  16. package/esm2015/lib/_web-components/basket-preview/replace-item/replace-item.component.js +23 -34
  17. package/esm2015/lib/_web-components/catalog-list/catalog-list.component.js +2 -2
  18. package/esm2015/lib/_web-components/catalog-recipe-card/catalog-recipe-card.component.js +97 -85
  19. package/esm2015/lib/_web-components/order-button/order-button.component.js +1 -1
  20. package/esm2015/lib/_web-components/recipe-card/recipe-card.component.js +96 -81
  21. package/esm2015/lib/_web-components/recipe-details/recipe-details.component.js +268 -194
  22. package/esm2015/lib/_web-components/recipe-modal/recipe-modal.component.js +3 -3
  23. package/esm2015/lib/_web-components/recipes-history/recipes-history.component.js +4 -2
  24. package/fesm2015/ng-miam.js +787 -654
  25. package/fesm2015/ng-miam.js.map +1 -1
  26. package/lib/_components/abstracts/abstract-recipe-card.component.d.ts +2 -0
  27. package/lib/_models/index.d.ts +1 -0
  28. package/lib/_models/ingredient.d.ts +1 -1
  29. package/lib/_models/tag.d.ts +15 -0
  30. package/lib/_services/context.service.d.ts +1 -1
  31. package/lib/_services/groceries-lists.service.d.ts +2 -2
  32. package/lib/_services/index.d.ts +1 -0
  33. package/lib/_services/recipes.service.d.ts +4 -2
  34. package/lib/_services/tags.service.d.ts +14 -0
  35. package/lib/_web-components/basket-preview/replace-item/replace-item.component.d.ts +1 -2
  36. package/lib/_web-components/recipe-card/recipe-card.component.d.ts +1 -1
  37. package/lib/_web-components/recipe-details/recipe-details.component.d.ts +6 -2
  38. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { InjectionToken, ɵɵdefineInjectable, ɵsetClassMetadata, Injectable, ɵɵinject, Inject, EventEmitter, ApplicationRef, ɵɵelementStart, ɵɵelement, ɵɵelementEnd, ɵɵnextContext, ɵɵproperty, ɵɵpureFunction2, ɵɵadvance, ɵɵsanitizeUrl, ɵɵpureFunction1, ɵɵelementContainerStart, ɵɵnamespaceSVG, ɵɵelementContainerEnd, ɵɵattribute, ɵɵelementContainer, ɵɵtemplate, ɵɵdirectiveInject, ChangeDetectorRef, ɵɵdefineComponent, ɵɵNgOnChangesFeature, ɵɵtemplateRefExtractor, ɵɵreference, Component, ChangeDetectionStrategy, Input, ɵɵtext, ElementRef, ɵɵdefineDirective, ɵɵlistener, Directive, HostListener, ɵɵdefinePipe, Pipe, ɵɵtextInterpolate, ɵɵgetCurrentView, ɵɵrestoreView, ɵɵpipe, ɵɵpipeBind1, ɵɵtextInterpolate1, Output, ɵɵviewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ViewEncapsulation, ViewChild, ɵɵgetInheritedFactory, ɵɵprojection, TemplateRef, ɵɵprojectionDef, ɵɵcontentQuery, ContentChild, ɵɵclassProp, ContentChildren, ɵɵpropertyInterpolate, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule, ɵɵresolveDocument, ɵɵInheritDefinitionFeature, ɵɵtextInterpolate2, ɵɵresolveWindow, ɵɵpipeBind2, ViewChildren, ɵɵstyleProp, ɵɵsanitizeHtml, ɵɵpureFunction3, ɵɵstaticViewQuery, ɵɵsanitizeResourceUrl, ɵɵpureFunction0, Injector, ɵɵsetComponentScope, ComponentFactoryResolver, LOCALE_ID } from '@angular/core';
1
+ import { InjectionToken, ɵɵdefineInjectable, ɵsetClassMetadata, Injectable, ɵɵinject, Inject, EventEmitter, ApplicationRef, ɵɵelementStart, ɵɵelement, ɵɵelementEnd, ɵɵnextContext, ɵɵproperty, ɵɵpureFunction2, ɵɵadvance, ɵɵsanitizeUrl, ɵɵpureFunction1, ɵɵelementContainerStart, ɵɵnamespaceSVG, ɵɵelementContainerEnd, ɵɵattribute, ɵɵelementContainer, ɵɵtemplate, ɵɵdirectiveInject, ChangeDetectorRef, ɵɵdefineComponent, ɵɵNgOnChangesFeature, ɵɵtemplateRefExtractor, ɵɵreference, Component, ChangeDetectionStrategy, Input, ɵɵtext, ElementRef, ɵɵdefineDirective, ɵɵlistener, Directive, HostListener, ɵɵdefinePipe, Pipe, ɵɵtextInterpolate, ɵɵgetCurrentView, ɵɵrestoreView, ɵɵpipe, ɵɵpipeBind1, ɵɵtextInterpolate1, Output, ɵɵviewQuery, ɵɵqueryRefresh, ɵɵloadQuery, ViewEncapsulation, ViewChild, ɵɵgetInheritedFactory, ɵɵprojection, TemplateRef, ɵɵprojectionDef, ɵɵcontentQuery, ContentChild, ɵɵclassProp, ContentChildren, ɵɵpropertyInterpolate, ɵɵdefineNgModule, ɵɵdefineInjector, ɵɵsetNgModuleScope, NgModule, ɵɵresolveDocument, ɵɵInheritDefinitionFeature, ɵɵtextInterpolate2, ɵɵresolveWindow, ɵɵpipeBind2, ViewChildren, ɵɵstyleProp, ɵɵsanitizeHtml, ɵɵpureFunction3, ɵɵsanitizeResourceUrl, ɵɵpureFunction0, Injector, ɵɵsetComponentScope, ComponentFactoryResolver, LOCALE_ID } from '@angular/core';
2
2
  import { NgIf, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgForOf, NgClass, DatePipe, NgTemplateOutlet, AsyncPipe, CommonModule, TitleCasePipe, NgComponentOutlet, NgPlural, NgPluralCase, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, CurrencyPipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe, registerLocaleData } from '@angular/common';
3
3
  import { Resource, DocumentCollection, Service, DocumentResource, NgxJsonapiModule } from 'ngx-jsonapi';
4
4
  import { skipWhile, tap, map, take, switchMap, debounceTime, startWith, catchError, finalize, filter } from 'rxjs/operators';
@@ -211,10 +211,9 @@ class GroceriesListsService extends Service {
211
211
  }
212
212
  info.guests = guests.toString();
213
213
  }
214
- delete (list.attributes['recipes-ids']);
215
- this.saveList(list, openBasket);
214
+ return this.saveList(list, openBasket);
216
215
  }
217
- return this.list$;
216
+ return of(null);
218
217
  }
219
218
  removeRecipeFromList(recipeId) {
220
219
  const list = this.list$.value;
@@ -222,11 +221,10 @@ class GroceriesListsService extends Service {
222
221
  list.attributes['recipes-infos'] = list.attributes['recipes-infos'].filter(info => {
223
222
  return info.id !== recipeId;
224
223
  });
225
- delete (list.attributes['recipes-ids']);
226
224
  this.analyticsService.sendEvent('remove-recipe');
227
- this.saveList(list);
225
+ return this.saveList(list);
228
226
  }
229
- return this.list$;
227
+ return of(null);
230
228
  }
231
229
  updateRecipeGuests(recipeId, guests) {
232
230
  const list = this.list$.value;
@@ -236,16 +234,15 @@ class GroceriesListsService extends Service {
236
234
  });
237
235
  recipeInfo.guests = guests;
238
236
  this.analyticsService.sendEvent('change-guests');
239
- this.saveList(list);
237
+ this.saveList(list).subscribe();
240
238
  }
241
239
  return this.list$;
242
240
  }
243
241
  removeRecipesFromList() {
244
242
  const list = this.list$.value;
245
243
  list.attributes['recipes-infos'] = [];
246
- delete (list.attributes['recipes-ids']);
247
244
  this.analyticsService.sendEvent('remove-all-recipes');
248
- this.saveList(list);
245
+ this.saveList(list).subscribe();
249
246
  return this.list$;
250
247
  }
251
248
  addEntriesFromPicture(file, include = []) {
@@ -263,12 +260,12 @@ class GroceriesListsService extends Service {
263
260
  }
264
261
  saveList(list, openBasket = false) {
265
262
  delete (list.attributes['recipes-ids']);
266
- list.save().pipe(tap(() => {
263
+ return list.save().pipe(skipWhile(l => l.is_loading), tap(() => {
267
264
  this.list$.next(list);
268
265
  if (openBasket) {
269
266
  window.open(`${this.miamBasketURL}/${list.id}`, '_blank');
270
267
  }
271
- })).subscribe();
268
+ }));
272
269
  }
273
270
  assignList(l) {
274
271
  // When a CORS error happens the response is a GL with an id equal to the request URL
@@ -766,6 +763,7 @@ class Recipe extends Resource {
766
763
  'recipe-steps': new DocumentCollection(),
767
764
  'recipe-provider': new DocumentResource(),
768
765
  'recipe-status': new DocumentResource(),
766
+ tags: new DocumentCollection(),
769
767
  'recipe-type': new DocumentResource(),
770
768
  sponsors: new DocumentCollection(),
771
769
  packages: new DocumentCollection()
@@ -1223,7 +1221,7 @@ class Ingredient extends Resource {
1223
1221
  unit: '',
1224
1222
  active: true,
1225
1223
  'forced-eans': [],
1226
- picture: ''
1224
+ 'picture-url': ''
1227
1225
  };
1228
1226
  this.relationships = {
1229
1227
  recipe: new DocumentResource(),
@@ -1240,7 +1238,7 @@ class Ingredient extends Resource {
1240
1238
  }
1241
1239
  }
1242
1240
  get picture() {
1243
- return this.attributes.picture;
1241
+ return this.attributes['picture-url'];
1244
1242
  }
1245
1243
  }
1246
1244
 
@@ -1508,9 +1506,52 @@ PackageService.ɵprov = ɵɵdefineInjectable({ token: PackageService, factory: P
1508
1506
  }]
1509
1507
  }], function () { return [{ type: HttpClient }, { type: RecipeProviderService }, { type: RecipeStatusService }]; }, null); })();
1510
1508
 
1509
+ class Tag extends Resource {
1510
+ constructor() {
1511
+ super(...arguments);
1512
+ this.attributes = {
1513
+ 'tag-type-id': '',
1514
+ name: '',
1515
+ 'icon-url': '',
1516
+ 'picture-url': ''
1517
+ };
1518
+ this.relationships = {
1519
+ recipe: new DocumentResource()
1520
+ };
1521
+ }
1522
+ get tagType() {
1523
+ return this.attributes['tag-type-id'];
1524
+ }
1525
+ get name() {
1526
+ return this.attributes.name;
1527
+ }
1528
+ }
1529
+
1511
1530
  const MIAM_API_HOST$2 = `${environment.miamAPI}/api/v1/`;
1531
+ class TagsService extends Service {
1532
+ constructor(http) {
1533
+ super();
1534
+ this.http = http;
1535
+ this.resource = Tag;
1536
+ this.type = 'tags';
1537
+ this.register();
1538
+ }
1539
+ autocomplete(searchStr) {
1540
+ return this.http.get(MIAM_API_HOST$2 + `tags/autocomplete/${searchStr}`);
1541
+ }
1542
+ }
1543
+ TagsService.ɵfac = function TagsService_Factory(t) { return new (t || TagsService)(ɵɵinject(HttpClient)); };
1544
+ TagsService.ɵprov = ɵɵdefineInjectable({ token: TagsService, factory: TagsService.ɵfac, providedIn: 'root' });
1545
+ /*@__PURE__*/ (function () { ɵsetClassMetadata(TagsService, [{
1546
+ type: Injectable,
1547
+ args: [{
1548
+ providedIn: 'root'
1549
+ }]
1550
+ }], function () { return [{ type: HttpClient }]; }, null); })();
1551
+
1552
+ const MIAM_API_HOST$3 = `${environment.miamAPI}/api/v1/`;
1512
1553
  class RecipesService extends Service {
1513
- constructor(http, providerService, statusService, typeService, suppliersService, posService, listsService, ingredientsService, recipeStepsService, recipeEventsService, sponsorService, packageService) {
1554
+ constructor(http, providerService, statusService, typeService, suppliersService, posService, listsService, ingredientsService, recipeStepsService, recipeEventsService, sponsorService, packageService, tagsService) {
1514
1555
  super();
1515
1556
  this.http = http;
1516
1557
  this.providerService = providerService;
@@ -1524,6 +1565,7 @@ class RecipesService extends Service {
1524
1565
  this.recipeEventsService = recipeEventsService;
1525
1566
  this.sponsorService = sponsorService;
1526
1567
  this.packageService = packageService;
1568
+ this.tagsService = tagsService;
1527
1569
  this.resource = Recipe;
1528
1570
  this.type = 'recipes';
1529
1571
  this.displayedRecipe$ = new BehaviorSubject(null);
@@ -1564,7 +1606,7 @@ class RecipesService extends Service {
1564
1606
  return this.all({
1565
1607
  page,
1566
1608
  remotefilter: Object.assign(Object.assign({}, filters), { random: this.randomSeed }),
1567
- include: ['ingredients', 'recipe-steps', 'recipe-status', 'recipe-type', 'sponsors', 'recipe-provider']
1609
+ include: ['ingredients', 'recipe-steps', 'recipe-status', 'recipe-type', 'sponsors', 'recipe-provider', 'tags']
1568
1610
  }).pipe(skipWhile(result => result.is_loading), map(result => result.data));
1569
1611
  }
1570
1612
  // DEPRECATED / use TTL instead
@@ -1574,7 +1616,9 @@ class RecipesService extends Service {
1574
1616
  return of(recipe);
1575
1617
  }
1576
1618
  else {
1577
- return this.get(recipeId, { include: ['ingredients', 'recipe-steps', 'recipe-status', 'recipe-type', 'sponsors'] }).pipe(tap(r => this.recipes.push(r)));
1619
+ return this.get(recipeId, {
1620
+ include: ['ingredients', 'recipe-steps', 'recipe-status', 'recipe-type', 'sponsors', 'tags']
1621
+ }).pipe(tap(r => this.recipes.push(r)));
1578
1622
  }
1579
1623
  }
1580
1624
  // Debounce to let enough time for the pos to be defined
@@ -1585,7 +1629,7 @@ class RecipesService extends Service {
1585
1629
  if (results[1]) {
1586
1630
  supplierFilter = `supplier_id=${results[0].id}&pos_id=${results[1].id}`;
1587
1631
  }
1588
- const url = MIAM_API_HOST$2 + `recipes/suggestions?${supplierFilter}&include=ingredients,recipe-steps,sponsors,recipe-type`;
1632
+ const url = MIAM_API_HOST$3 + `recipes/suggestions?${supplierFilter}&include=ingredients,recipe-steps,sponsors,recipe-type,tags`;
1589
1633
  return this.http.post(url, body);
1590
1634
  }), map((returnedRecipes) => {
1591
1635
  const recipes = this.newCollection();
@@ -1597,7 +1641,7 @@ class RecipesService extends Service {
1597
1641
  if (!recipeId) {
1598
1642
  return of(null);
1599
1643
  }
1600
- let url = MIAM_API_HOST$2 + `recipes/${recipeId}/pricing?point_of_sale_id=${posId}`;
1644
+ let url = MIAM_API_HOST$3 + `recipes/${recipeId}/pricing?point_of_sale_id=${posId}`;
1601
1645
  if (serves) {
1602
1646
  url += `&serves=${serves}`;
1603
1647
  }
@@ -1614,7 +1658,7 @@ class RecipesService extends Service {
1614
1658
  if (!recipeId) {
1615
1659
  return;
1616
1660
  }
1617
- this.get(recipeId, { include: ['ingredients', 'recipe-steps', 'recipe-type', 'sponsors'] })
1661
+ this.get(recipeId, { include: ['ingredients', 'recipe-steps', 'recipe-type', 'sponsors', 'tags'] })
1618
1662
  .pipe(skipWhile(recipe => recipe.is_loading))
1619
1663
  .subscribe(recipe => {
1620
1664
  this.displayObject(recipe, { previewAllowed, guests, previewMode });
@@ -1673,14 +1717,14 @@ class RecipesService extends Service {
1673
1717
  this.randomSeed = Date.now();
1674
1718
  }
1675
1719
  }
1676
- RecipesService.ɵfac = function RecipesService_Factory(t) { return new (t || RecipesService)(ɵɵinject(HttpClient), ɵɵinject(RecipeProviderService), ɵɵinject(RecipeStatusService), ɵɵinject(RecipeTypeService), ɵɵinject(SuppliersService), ɵɵinject(PointOfSalesService), ɵɵinject(GroceriesListsService), ɵɵinject(IngredientsService), ɵɵinject(RecipeStepsService), ɵɵinject(RecipeEventsService), ɵɵinject(SponsorService), ɵɵinject(PackageService)); };
1720
+ RecipesService.ɵfac = function RecipesService_Factory(t) { return new (t || RecipesService)(ɵɵinject(HttpClient), ɵɵinject(RecipeProviderService), ɵɵinject(RecipeStatusService), ɵɵinject(RecipeTypeService), ɵɵinject(SuppliersService), ɵɵinject(PointOfSalesService), ɵɵinject(GroceriesListsService), ɵɵinject(IngredientsService), ɵɵinject(RecipeStepsService), ɵɵinject(RecipeEventsService), ɵɵinject(SponsorService), ɵɵinject(PackageService), ɵɵinject(TagsService)); };
1677
1721
  RecipesService.ɵprov = ɵɵdefineInjectable({ token: RecipesService, factory: RecipesService.ɵfac, providedIn: 'root' });
1678
1722
  /*@__PURE__*/ (function () { ɵsetClassMetadata(RecipesService, [{
1679
1723
  type: Injectable,
1680
1724
  args: [{
1681
1725
  providedIn: 'root'
1682
1726
  }]
1683
- }], function () { return [{ type: HttpClient }, { type: RecipeProviderService }, { type: RecipeStatusService }, { type: RecipeTypeService }, { type: SuppliersService }, { type: PointOfSalesService }, { type: GroceriesListsService }, { type: IngredientsService }, { type: RecipeStepsService }, { type: RecipeEventsService }, { type: SponsorService }, { type: PackageService }]; }, null); })();
1727
+ }], function () { return [{ type: HttpClient }, { type: RecipeProviderService }, { type: RecipeStatusService }, { type: RecipeTypeService }, { type: SuppliersService }, { type: PointOfSalesService }, { type: GroceriesListsService }, { type: IngredientsService }, { type: RecipeStepsService }, { type: RecipeEventsService }, { type: SponsorService }, { type: PackageService }, { type: TagsService }]; }, null); })();
1684
1728
 
1685
1729
  class GroceriesEntry extends Resource {
1686
1730
  constructor() {
@@ -2145,7 +2189,7 @@ CounterService.ɵprov = ɵɵdefineInjectable({ token: CounterService, factory: C
2145
2189
  }]
2146
2190
  }], function () { return [{ type: ApplicationRef }]; }, null); })();
2147
2191
 
2148
- const MIAM_API_HOST$3 = `${environment.miamAPI}/api/v1/`;
2192
+ const MIAM_API_HOST$4 = `${environment.miamAPI}/api/v1/`;
2149
2193
  class RecipeShareService extends Service {
2150
2194
  constructor(http) {
2151
2195
  super();
@@ -2213,7 +2257,7 @@ class RecipeShareService extends Service {
2213
2257
  destination_filters: destinationFilters,
2214
2258
  shareable_filters: shareableFilters
2215
2259
  };
2216
- const url = MIAM_API_HOST$3 + `recipe-shares/multi`;
2260
+ const url = MIAM_API_HOST$4 + `recipe-shares/multi`;
2217
2261
  return this.http.post(url, body);
2218
2262
  }
2219
2263
  }
@@ -6308,6 +6352,7 @@ class AbstractRecipeCardComponent {
6308
6352
  this.icon = Icon;
6309
6353
  this.skeleton = Skeleton;
6310
6354
  this.isPriceDisplayed = true;
6355
+ this.addButtonLoading = false;
6311
6356
  this.analyticsEventSent = false;
6312
6357
  this.subscriptions = [];
6313
6358
  this.hide = new EventEmitter();
@@ -6316,10 +6361,12 @@ class AbstractRecipeCardComponent {
6316
6361
  this.subscriptions.forEach(sub => sub.unsubscribe());
6317
6362
  }
6318
6363
  addRecipe(display = true) {
6364
+ this.toggleButtonLoader(true);
6319
6365
  forkJoin([
6320
6366
  this.userService.isLogged$.asObservable().pipe(take(1)),
6321
6367
  this.posService.isPosValid().pipe(take(1))
6322
- ]).subscribe(res => {
6368
+ ])
6369
+ .subscribe(res => {
6323
6370
  const isHookOk = this.contextService.hookCallback(res[0], res[1]);
6324
6371
  if (isHookOk) {
6325
6372
  this.addRecipeActionOK(display);
@@ -6333,7 +6380,10 @@ class AbstractRecipeCardComponent {
6333
6380
  if (!this.groceriesListsService.list$.value.hasRecipe(this.recipe.id)) {
6334
6381
  this.recipeEventsService.sendEvent(this.recipe, this.recipeEventsService.ACTION_ADDED);
6335
6382
  }
6336
- this.groceriesListsService.appendRecipeToList(this.recipe.id, this.recipe.modifiedGuests);
6383
+ this.subscriptions.push(this.groceriesListsService.appendRecipeToList(this.recipe.id, this.recipe.modifiedGuests)
6384
+ .subscribe(l => {
6385
+ this.toggleButtonLoader(false);
6386
+ }));
6337
6387
  if (display) {
6338
6388
  this.recipeService.displayObject(this.recipe, { guests: +this.recipe.modifiedGuests, previewMode: true });
6339
6389
  }
@@ -6353,6 +6403,10 @@ class AbstractRecipeCardComponent {
6353
6403
  stopEventPropagation(event);
6354
6404
  // TODO implement
6355
6405
  }
6406
+ toggleButtonLoader(value) {
6407
+ this.addButtonLoading = value;
6408
+ this.cdr.detectChanges();
6409
+ }
6356
6410
  initIngredientsString() {
6357
6411
  var _a;
6358
6412
  this.ingredientsConcatName = '';
@@ -6406,52 +6460,85 @@ AbstractRecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: AbstractRecipeCa
6406
6460
  type: Output
6407
6461
  }] }); })();
6408
6462
 
6463
+ function LoaderComponent_div_0_Template(rf, ctx) { if (rf & 1) {
6464
+ ɵɵelementStart(0, "div", 2);
6465
+ ɵɵelement(1, "div", 3);
6466
+ ɵɵelementEnd();
6467
+ } }
6468
+ function LoaderComponent_div_1_Template(rf, ctx) { if (rf & 1) {
6469
+ ɵɵelement(0, "div", 3);
6470
+ } }
6471
+ class LoaderComponent {
6472
+ constructor() {
6473
+ this.wide = false;
6474
+ }
6475
+ }
6476
+ LoaderComponent.ɵfac = function LoaderComponent_Factory(t) { return new (t || LoaderComponent)(); };
6477
+ LoaderComponent.ɵcmp = ɵɵdefineComponent({ type: LoaderComponent, selectors: [["ng-miam-loader"]], inputs: { wide: "wide" }, decls: 2, vars: 2, consts: [["class", "wide-container", 4, "ngIf"], ["class", "loader", 4, "ngIf"], [1, "wide-container"], [1, "loader"]], template: function LoaderComponent_Template(rf, ctx) { if (rf & 1) {
6478
+ ɵɵtemplate(0, LoaderComponent_div_0_Template, 2, 0, "div", 0);
6479
+ ɵɵtemplate(1, LoaderComponent_div_1_Template, 1, 0, "div", 1);
6480
+ } if (rf & 2) {
6481
+ ɵɵproperty("ngIf", ctx.wide);
6482
+ ɵɵadvance(1);
6483
+ ɵɵproperty("ngIf", !ctx.wide);
6484
+ } }, directives: [NgIf], styles: ["[_nghost-%COMP%]{--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px)}.loader[_ngcontent-%COMP%]{-webkit-animation:spin .5s linear infinite;animation:spin .5s linear infinite;border:var(--m-loader-thickness) solid var(--m-color-grey);border-radius:var(--m-border-radius-circle);border-top:var(--m-loader-thickness) solid var(--m-color-ternary);height:var(--m-loader-size);width:var(--m-loader-size)}@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"] });
6485
+ /*@__PURE__*/ (function () { ɵsetClassMetadata(LoaderComponent, [{
6486
+ type: Component,
6487
+ args: [{
6488
+ selector: 'ng-miam-loader',
6489
+ templateUrl: './loader.component.html',
6490
+ styleUrls: ['./loader.component.scss']
6491
+ }]
6492
+ }], function () { return []; }, { wide: [{
6493
+ type: Input
6494
+ }] }); })();
6495
+
6409
6496
  function RecipeCardComponent_div_0_div_4_div_3_Template(rf, ctx) { if (rf & 1) {
6410
- ɵɵelementStart(0, "div", 35);
6497
+ ɵɵelementStart(0, "div", 36);
6411
6498
  ɵɵtext(1, "D\u00E9j\u00E0 ajout\u00E9e");
6412
6499
  ɵɵelementEnd();
6413
6500
  } }
6414
6501
  function RecipeCardComponent_div_0_div_4_div_5_Template(rf, ctx) { if (rf & 1) {
6415
- ɵɵelementStart(0, "div", 36);
6416
- ɵɵelement(1, "ng-miam-icon", 37);
6502
+ ɵɵelementStart(0, "div", 37);
6503
+ ɵɵelement(1, "ng-miam-icon", 38);
6417
6504
  ɵɵelementEnd();
6418
6505
  } if (rf & 2) {
6419
- const ctx_r18 = ɵɵnextContext(3);
6506
+ const ctx_r21 = ɵɵnextContext(3);
6420
6507
  ɵɵadvance(1);
6421
- ɵɵproperty("iconName", ctx_r18.icon.Video)("width", 100)("height", 100);
6508
+ ɵɵproperty("iconName", ctx_r21.icon.Video)("width", 100)("height", 100);
6422
6509
  } }
6423
6510
  function RecipeCardComponent_div_0_div_4_ng_miam_like_button_7_Template(rf, ctx) { if (rf & 1) {
6424
- ɵɵelement(0, "ng-miam-like-button", 38);
6511
+ ɵɵelement(0, "ng-miam-like-button", 39);
6425
6512
  } if (rf & 2) {
6426
- const ctx_r19 = ɵɵnextContext(3);
6427
- ɵɵproperty("recipe", ctx_r19.recipe);
6513
+ const ctx_r22 = ɵɵnextContext(3);
6514
+ ɵɵproperty("recipe", ctx_r22.recipe);
6428
6515
  } }
6429
6516
  function RecipeCardComponent_div_0_div_4_img_11_Template(rf, ctx) { if (rf & 1) {
6430
- ɵɵelement(0, "img", 39);
6517
+ ɵɵelement(0, "img", 40);
6431
6518
  } if (rf & 2) {
6432
- const ctx_r20 = ɵɵnextContext(3);
6433
- ɵɵproperty("src", ctx_r20.recipe.filigraneLogoUrl, ɵɵsanitizeUrl);
6519
+ const ctx_r23 = ɵɵnextContext(3);
6520
+ ɵɵproperty("src", ctx_r23.recipe.filigraneLogoUrl, ɵɵsanitizeUrl);
6434
6521
  } }
6435
6522
  function RecipeCardComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
6436
- const _r22 = ɵɵgetCurrentView();
6437
- ɵɵelementStart(0, "div", 26);
6438
- ɵɵlistener("click", function RecipeCardComponent_div_0_div_4_Template_div_click_0_listener() { ɵɵrestoreView(_r22); const ctx_r21 = ɵɵnextContext(2); return ctx_r21.openRecipe(); });
6439
- ɵɵelement(1, "img", 27);
6440
- ɵɵelement(2, "div", 28);
6441
- ɵɵtemplate(3, RecipeCardComponent_div_0_div_4_div_3_Template, 2, 0, "div", 29);
6523
+ const _r25 = ɵɵgetCurrentView();
6524
+ ɵɵelementStart(0, "div", 27);
6525
+ ɵɵlistener("click", function RecipeCardComponent_div_0_div_4_Template_div_click_0_listener() { ɵɵrestoreView(_r25); const ctx_r24 = ɵɵnextContext(2); return ctx_r24.openRecipe(); });
6526
+ ɵɵelement(1, "img", 28);
6527
+ ɵɵelement(2, "div", 29);
6528
+ ɵɵtemplate(3, RecipeCardComponent_div_0_div_4_div_3_Template, 2, 0, "div", 30);
6442
6529
  ɵɵpipe(4, "async");
6443
- ɵɵtemplate(5, RecipeCardComponent_div_0_div_4_div_5_Template, 2, 3, "div", 30);
6444
- ɵɵelementStart(6, "div", 31);
6445
- ɵɵtemplate(7, RecipeCardComponent_div_0_div_4_ng_miam_like_button_7_Template, 1, 1, "ng-miam-like-button", 32);
6530
+ ɵɵtemplate(5, RecipeCardComponent_div_0_div_4_div_5_Template, 2, 3, "div", 31);
6531
+ ɵɵelementStart(6, "div", 32);
6532
+ ɵɵtemplate(7, RecipeCardComponent_div_0_div_4_ng_miam_like_button_7_Template, 1, 1, "ng-miam-like-button", 33);
6446
6533
  ɵɵpipe(8, "async");
6447
- ɵɵelementStart(9, "ng-miam-icon", 33);
6448
- ɵɵlistener("click", function RecipeCardComponent_div_0_div_4_Template_ng_miam_icon_click_9_listener($event) { ɵɵrestoreView(_r22); const ctx_r23 = ɵɵnextContext(2); return ctx_r23.openCalendar($event); });
6534
+ ɵɵelementStart(9, "ng-miam-icon", 34);
6535
+ ɵɵlistener("click", function RecipeCardComponent_div_0_div_4_Template_ng_miam_icon_click_9_listener($event) { ɵɵrestoreView(_r25); const ctx_r26 = ɵɵnextContext(2); return ctx_r26.openCalendar($event); });
6449
6536
  ɵɵelementEnd();
6450
- ɵɵelementStart(10, "ng-miam-icon", 33);
6451
- ɵɵlistener("click", function RecipeCardComponent_div_0_div_4_Template_ng_miam_icon_click_10_listener($event) { ɵɵrestoreView(_r22); const ctx_r24 = ɵɵnextContext(2); return ctx_r24.shareRecipe($event); });
6537
+ ɵɵelementStart(10, "ng-miam-icon", 34);
6538
+ ɵɵlistener("click", function RecipeCardComponent_div_0_div_4_Template_ng_miam_icon_click_10_listener($event) { ɵɵrestoreView(_r25); const ctx_r27 = ɵɵnextContext(2); return ctx_r27.shareRecipe($event); });
6452
6539
  ɵɵelementEnd();
6453
6540
  ɵɵelementEnd();
6454
- ɵɵtemplate(11, RecipeCardComponent_div_0_div_4_img_11_Template, 1, 1, "img", 34);
6541
+ ɵɵtemplate(11, RecipeCardComponent_div_0_div_4_img_11_Template, 1, 1, "img", 35);
6455
6542
  ɵɵelementEnd();
6456
6543
  } if (rf & 2) {
6457
6544
  const ctx_r3 = ɵɵnextContext(2);
@@ -6472,19 +6559,19 @@ function RecipeCardComponent_div_0_div_4_Template(rf, ctx) { if (rf & 1) {
6472
6559
  ɵɵproperty("ngIf", ctx_r3.recipe.filigraneLogoUrl);
6473
6560
  } }
6474
6561
  function RecipeCardComponent_div_0_ng_template_5_Template(rf, ctx) { if (rf & 1) {
6475
- ɵɵelement(0, "ng-miam-skeleton", 40);
6562
+ ɵɵelement(0, "ng-miam-skeleton", 41);
6476
6563
  } if (rf & 2) {
6477
6564
  const ctx_r5 = ɵɵnextContext(2);
6478
6565
  ɵɵproperty("type", ctx_r5.skeleton.Picture);
6479
6566
  } }
6480
6567
  function RecipeCardComponent_div_0_div_8_Template(rf, ctx) { if (rf & 1) {
6481
- const _r26 = ɵɵgetCurrentView();
6568
+ const _r29 = ɵɵgetCurrentView();
6482
6569
  ɵɵelementStart(0, "div");
6483
- ɵɵelementStart(1, "div", 41);
6484
- ɵɵlistener("click", function RecipeCardComponent_div_0_div_8_Template_div_click_1_listener() { ɵɵrestoreView(_r26); const ctx_r25 = ɵɵnextContext(2); return ctx_r25.openRecipe(); });
6570
+ ɵɵelementStart(1, "div", 42);
6571
+ ɵɵlistener("click", function RecipeCardComponent_div_0_div_8_Template_div_click_1_listener() { ɵɵrestoreView(_r29); const ctx_r28 = ɵɵnextContext(2); return ctx_r28.openRecipe(); });
6485
6572
  ɵɵtext(2);
6486
6573
  ɵɵelementEnd();
6487
- ɵɵelementStart(3, "div", 42);
6574
+ ɵɵelementStart(3, "div", 43);
6488
6575
  ɵɵtext(4);
6489
6576
  ɵɵpipe(5, "capitalizeFirstLetter");
6490
6577
  ɵɵelementEnd();
@@ -6497,15 +6584,15 @@ function RecipeCardComponent_div_0_div_8_Template(rf, ctx) { if (rf & 1) {
6497
6584
  ɵɵtextInterpolate(ɵɵpipeBind1(5, 2, ctx_r6.ingredientsConcatName));
6498
6585
  } }
6499
6586
  function RecipeCardComponent_div_0_ng_template_9_Template(rf, ctx) { if (rf & 1) {
6500
- ɵɵelement(0, "ng-miam-skeleton", 40);
6587
+ ɵɵelement(0, "ng-miam-skeleton", 41);
6501
6588
  } if (rf & 2) {
6502
6589
  const ctx_r8 = ɵɵnextContext(2);
6503
6590
  ɵɵproperty("type", ctx_r8.skeleton.Text);
6504
6591
  } }
6505
6592
  function RecipeCardComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) {
6506
- ɵɵelementStart(0, "div", 43);
6507
- ɵɵelement(1, "ng-miam-icon", 44);
6508
- ɵɵelementStart(2, "span", 45);
6593
+ ɵɵelementStart(0, "div", 44);
6594
+ ɵɵelement(1, "ng-miam-icon", 45);
6595
+ ɵɵelementStart(2, "span", 46);
6509
6596
  ɵɵtext(3);
6510
6597
  ɵɵelementEnd();
6511
6598
  ɵɵelementEnd();
@@ -6518,43 +6605,43 @@ function RecipeCardComponent_div_0_div_12_Template(rf, ctx) { if (rf & 1) {
6518
6605
  } }
6519
6606
  function RecipeCardComponent_div_0_div_13_ng_container_2_Template(rf, ctx) { if (rf & 1) {
6520
6607
  ɵɵelementContainerStart(0);
6521
- ɵɵelement(1, "ng-miam-icon", 49);
6608
+ ɵɵelement(1, "ng-miam-icon", 50);
6522
6609
  ɵɵelementContainerEnd();
6523
6610
  } if (rf & 2) {
6524
- const ctx_r27 = ɵɵnextContext(3);
6611
+ const ctx_r30 = ɵɵnextContext(3);
6525
6612
  ɵɵadvance(1);
6526
- ɵɵproperty("width", 32)("height", 16)("iconName", ctx_r27.icon.DifficultyLow);
6613
+ ɵɵproperty("width", 32)("height", 16)("iconName", ctx_r30.icon.DifficultyLow);
6527
6614
  } }
6528
6615
  function RecipeCardComponent_div_0_div_13_ng_container_3_Template(rf, ctx) { if (rf & 1) {
6529
6616
  ɵɵelementContainerStart(0);
6530
- ɵɵelement(1, "ng-miam-icon", 49);
6617
+ ɵɵelement(1, "ng-miam-icon", 50);
6531
6618
  ɵɵelementContainerEnd();
6532
6619
  } if (rf & 2) {
6533
- const ctx_r28 = ɵɵnextContext(3);
6620
+ const ctx_r31 = ɵɵnextContext(3);
6534
6621
  ɵɵadvance(1);
6535
- ɵɵproperty("width", 32)("height", 16)("iconName", ctx_r28.icon.DifficultyMedium);
6622
+ ɵɵproperty("width", 32)("height", 16)("iconName", ctx_r31.icon.DifficultyMedium);
6536
6623
  } }
6537
6624
  function RecipeCardComponent_div_0_div_13_ng_container_4_Template(rf, ctx) { if (rf & 1) {
6538
6625
  ɵɵelementContainerStart(0);
6539
- ɵɵelement(1, "ng-miam-icon", 49);
6626
+ ɵɵelement(1, "ng-miam-icon", 50);
6540
6627
  ɵɵelementContainerEnd();
6541
6628
  } if (rf & 2) {
6542
- const ctx_r29 = ɵɵnextContext(3);
6629
+ const ctx_r32 = ɵɵnextContext(3);
6543
6630
  ɵɵadvance(1);
6544
- ɵɵproperty("width", 32)("height", 16)("iconName", ctx_r29.icon.DifficultyHight);
6631
+ ɵɵproperty("width", 32)("height", 16)("iconName", ctx_r32.icon.DifficultyHight);
6545
6632
  } }
6546
6633
  function RecipeCardComponent_div_0_div_13_ng_container_5_Template(rf, ctx) { if (rf & 1) {
6547
6634
  ɵɵelementContainer(0);
6548
6635
  } }
6549
6636
  function RecipeCardComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
6550
- ɵɵelementStart(0, "div", 43);
6551
- ɵɵelementContainerStart(1, 46);
6552
- ɵɵtemplate(2, RecipeCardComponent_div_0_div_13_ng_container_2_Template, 2, 3, "ng-container", 47);
6553
- ɵɵtemplate(3, RecipeCardComponent_div_0_div_13_ng_container_3_Template, 2, 3, "ng-container", 47);
6554
- ɵɵtemplate(4, RecipeCardComponent_div_0_div_13_ng_container_4_Template, 2, 3, "ng-container", 47);
6555
- ɵɵtemplate(5, RecipeCardComponent_div_0_div_13_ng_container_5_Template, 1, 0, "ng-container", 48);
6637
+ ɵɵelementStart(0, "div", 44);
6638
+ ɵɵelementContainerStart(1, 47);
6639
+ ɵɵtemplate(2, RecipeCardComponent_div_0_div_13_ng_container_2_Template, 2, 3, "ng-container", 48);
6640
+ ɵɵtemplate(3, RecipeCardComponent_div_0_div_13_ng_container_3_Template, 2, 3, "ng-container", 48);
6641
+ ɵɵtemplate(4, RecipeCardComponent_div_0_div_13_ng_container_4_Template, 2, 3, "ng-container", 48);
6642
+ ɵɵtemplate(5, RecipeCardComponent_div_0_div_13_ng_container_5_Template, 1, 0, "ng-container", 49);
6556
6643
  ɵɵelementContainerEnd();
6557
- ɵɵelementStart(6, "span", 45);
6644
+ ɵɵelementStart(6, "span", 46);
6558
6645
  ɵɵtext(7);
6559
6646
  ɵɵelementEnd();
6560
6647
  ɵɵelementEnd();
@@ -6572,29 +6659,29 @@ function RecipeCardComponent_div_0_div_13_Template(rf, ctx) { if (rf & 1) {
6572
6659
  ɵɵtextInterpolate(ctx_r10.recipe == null ? null : ctx_r10.recipe.difficultyLabel);
6573
6660
  } }
6574
6661
  function RecipeCardComponent_div_0_ng_template_14_Template(rf, ctx) { if (rf & 1) {
6575
- ɵɵelement(0, "ng-miam-skeleton", 40);
6662
+ ɵɵelement(0, "ng-miam-skeleton", 41);
6576
6663
  } if (rf & 2) {
6577
6664
  const ctx_r12 = ɵɵnextContext(2);
6578
6665
  ɵɵproperty("type", ctx_r12.skeleton == null ? null : ctx_r12.skeleton.IconWithInfo);
6579
6666
  } }
6580
6667
  function RecipeCardComponent_div_0_div_21_div_5_Template(rf, ctx) { if (rf & 1) {
6581
- ɵɵelementStart(0, "div", 54);
6668
+ ɵɵelementStart(0, "div", 55);
6582
6669
  ɵɵtext(1);
6583
6670
  ɵɵelementEnd();
6584
6671
  } if (rf & 2) {
6585
- const ctx_r31 = ɵɵnextContext(3);
6672
+ const ctx_r34 = ɵɵnextContext(3);
6586
6673
  ɵɵadvance(1);
6587
- ɵɵtextInterpolate1(" + ", ctx_r31.recipe.modifiedIngredients.length - 2, " ");
6674
+ ɵɵtextInterpolate1(" + ", ctx_r34.recipe.modifiedIngredients.length - 2, " ");
6588
6675
  } }
6589
6676
  function RecipeCardComponent_div_0_div_21_Template(rf, ctx) { if (rf & 1) {
6590
- ɵɵelementStart(0, "div", 50);
6591
- ɵɵelementStart(1, "div", 51);
6592
- ɵɵelement(2, "img", 52);
6677
+ ɵɵelementStart(0, "div", 51);
6678
+ ɵɵelementStart(1, "div", 52);
6679
+ ɵɵelement(2, "img", 53);
6593
6680
  ɵɵelementEnd();
6594
- ɵɵelementStart(3, "div", 51);
6595
- ɵɵelement(4, "img", 52);
6681
+ ɵɵelementStart(3, "div", 52);
6682
+ ɵɵelement(4, "img", 53);
6596
6683
  ɵɵelementEnd();
6597
- ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 53);
6684
+ ɵɵtemplate(5, RecipeCardComponent_div_0_div_21_div_5_Template, 2, 1, "div", 54);
6598
6685
  ɵɵelementEnd();
6599
6686
  } if (rf & 2) {
6600
6687
  const ctx_r13 = ɵɵnextContext(2);
@@ -6606,10 +6693,10 @@ function RecipeCardComponent_div_0_div_21_Template(rf, ctx) { if (rf & 1) {
6606
6693
  ɵɵproperty("ngIf", ctx_r13.recipe.modifiedIngredients.length > 2);
6607
6694
  } }
6608
6695
  function RecipeCardComponent_div_0_div_22_Template(rf, ctx) { if (rf & 1) {
6609
- const _r33 = ɵɵgetCurrentView();
6610
- ɵɵelementStart(0, "div", 55);
6611
- ɵɵelementStart(1, "ng-miam-counter-input", 56);
6612
- ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { ɵɵrestoreView(_r33); const ctx_r32 = ɵɵnextContext(2); return ctx_r32.updateGuests($event); });
6696
+ const _r36 = ɵɵgetCurrentView();
6697
+ ɵɵelementStart(0, "div", 56);
6698
+ ɵɵelementStart(1, "ng-miam-counter-input", 57);
6699
+ ɵɵlistener("counterChange", function RecipeCardComponent_div_0_div_22_Template_ng_miam_counter_input_counterChange_1_listener($event) { ɵɵrestoreView(_r36); const ctx_r35 = ɵɵnextContext(2); return ctx_r35.updateGuests($event); });
6613
6700
  ɵɵelementEnd();
6614
6701
  ɵɵelementEnd();
6615
6702
  } if (rf & 2) {
@@ -6618,13 +6705,24 @@ function RecipeCardComponent_div_0_div_22_Template(rf, ctx) { if (rf & 1) {
6618
6705
  ɵɵproperty("counter", ctx_r14.recipe.modifiedGuests);
6619
6706
  } }
6620
6707
  function RecipeCardComponent_div_0_ng_template_23_Template(rf, ctx) { if (rf & 1) {
6621
- ɵɵelement(0, "ng-miam-skeleton", 40);
6708
+ ɵɵelement(0, "ng-miam-skeleton", 41);
6622
6709
  } if (rf & 2) {
6623
6710
  const ctx_r16 = ɵɵnextContext(2);
6624
6711
  ɵɵproperty("type", ctx_r16.skeleton == null ? null : ctx_r16.skeleton.IconWithInfo);
6625
6712
  } }
6713
+ function RecipeCardComponent_div_0_ng_miam_icon_30_Template(rf, ctx) { if (rf & 1) {
6714
+ ɵɵelement(0, "ng-miam-icon", 58);
6715
+ ɵɵpipe(1, "async");
6716
+ } if (rf & 2) {
6717
+ const ctx_r17 = ɵɵnextContext(2);
6718
+ var tmp_2_0 = null;
6719
+ ɵɵproperty("width", 24)("height", 24)("iconName", ((tmp_2_0 = ɵɵpipeBind1(1, 3, ctx_r17.groceriesListsService.list$)) == null ? null : tmp_2_0.hasRecipe(ctx_r17.recipe == null ? null : ctx_r17.recipe.id)) ? ctx_r17.icon.CheckList : ctx_r17.icon.Cart);
6720
+ } }
6721
+ function RecipeCardComponent_div_0_ng_template_31_Template(rf, ctx) { if (rf & 1) {
6722
+ ɵɵelement(0, "ng-miam-loader");
6723
+ } }
6626
6724
  function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
6627
- const _r35 = ɵɵgetCurrentView();
6725
+ const _r38 = ɵɵgetCurrentView();
6628
6726
  ɵɵelementStart(0, "div", 2);
6629
6727
  ɵɵelementStart(1, "div", 3);
6630
6728
  ɵɵelementStart(2, "span");
@@ -6645,7 +6743,7 @@ function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
6645
6743
  ɵɵelementStart(17, "div", 14);
6646
6744
  ɵɵelementStart(18, "div", 15);
6647
6745
  ɵɵelementStart(19, "div", 16);
6648
- ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { ɵɵrestoreView(_r35); const ctx_r34 = ɵɵnextContext(); return ctx_r34.toggleHelper(); });
6746
+ ɵɵlistener("click", function RecipeCardComponent_div_0_Template_div_click_19_listener() { ɵɵrestoreView(_r38); const ctx_r37 = ɵɵnextContext(); return ctx_r37.toggleHelper(); });
6649
6747
  ɵɵelement(20, "ng-miam-icon", 17);
6650
6748
  ɵɵelementEnd();
6651
6749
  ɵɵtemplate(21, RecipeCardComponent_div_0_div_21_Template, 6, 3, "div", 18);
@@ -6659,9 +6757,9 @@ function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
6659
6757
  ɵɵelementEnd();
6660
6758
  ɵɵelementStart(28, "div");
6661
6759
  ɵɵelementStart(29, "button", 24);
6662
- ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_29_listener() { ɵɵrestoreView(_r35); const ctx_r36 = ɵɵnextContext(); return ctx_r36.clickPrimary(); });
6663
- ɵɵelement(30, "ng-miam-icon", 25);
6664
- ɵɵpipe(31, "async");
6760
+ ɵɵlistener("click", function RecipeCardComponent_div_0_Template_button_click_29_listener() { ɵɵrestoreView(_r38); const ctx_r39 = ɵɵnextContext(); return ctx_r39.clickPrimary(); });
6761
+ ɵɵtemplate(30, RecipeCardComponent_div_0_ng_miam_icon_30_Template, 2, 5, "ng-miam-icon", 25);
6762
+ ɵɵtemplate(31, RecipeCardComponent_div_0_ng_template_31_Template, 1, 0, "ng-template", null, 26, ɵɵtemplateRefExtractor);
6665
6763
  ɵɵelementEnd();
6666
6764
  ɵɵelementEnd();
6667
6765
  ɵɵelementEnd();
@@ -6673,8 +6771,8 @@ function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
6673
6771
  const _r7 = ɵɵreference(10);
6674
6772
  const _r11 = ɵɵreference(15);
6675
6773
  const _r15 = ɵɵreference(24);
6774
+ const _r18 = ɵɵreference(32);
6676
6775
  const ctx_r0 = ɵɵnextContext();
6677
- var tmp_20_0 = null;
6678
6776
  ɵɵadvance(3);
6679
6777
  ɵɵtextInterpolate1(" ", ctx_r0.headerText, "");
6680
6778
  ɵɵadvance(1);
@@ -6696,7 +6794,7 @@ function RecipeCardComponent_div_0_Template(rf, ctx) { if (rf & 1) {
6696
6794
  ɵɵadvance(2);
6697
6795
  ɵɵproperty("disabled", !ctx_r0.recipe);
6698
6796
  ɵɵadvance(1);
6699
- ɵɵproperty("width", 24)("height", 24)("iconName", ((tmp_20_0 = ɵɵpipeBind1(31, 21, ctx_r0.groceriesListsService.list$)) == null ? null : tmp_20_0.hasRecipe(ctx_r0.recipe == null ? null : ctx_r0.recipe.id)) ? ctx_r0.icon.CheckList : ctx_r0.icon.Cart);
6797
+ ɵɵproperty("ngIf", !ctx_r0.addButtonLoading)("ngIfElse", _r18);
6700
6798
  } }
6701
6799
  function RecipeCardComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
6702
6800
  ɵɵelement(0, "ng-miam-cors-overlay");
@@ -6763,11 +6861,14 @@ class RecipeCardComponent extends AbstractRecipeCardComponent {
6763
6861
  }
6764
6862
  }
6765
6863
  clickPrimary() {
6766
- this.primaryButtonClicked$.emit();
6767
- this.addRecipe();
6864
+ if (!this.addButtonLoading) {
6865
+ const wasAdded = !this.groceriesListsService.list$.value.hasRecipe(this.recipe.id);
6866
+ this.addRecipe();
6867
+ this.primaryButtonClicked$.emit(wasAdded);
6868
+ }
6768
6869
  }
6769
6870
  loadRecipe() {
6770
- this.recipeService.get(this.recipeId, { include: ['ingredients', 'recipe-steps', 'recipe-status', 'recipe-type', 'sponsors'] }).pipe(skipWhile(result => result.is_loading), catchError(err => {
6871
+ this.recipeService.get(this.recipeId, { include: ['ingredients', 'recipe-steps', 'recipe-status', 'recipe-type', 'sponsors', 'tags'] }).pipe(skipWhile(result => result.is_loading), catchError(err => {
6771
6872
  this.hide.emit();
6772
6873
  return of(err);
6773
6874
  })).subscribe(result => {
@@ -6780,12 +6881,12 @@ class RecipeCardComponent extends AbstractRecipeCardComponent {
6780
6881
  }
6781
6882
  }
6782
6883
  RecipeCardComponent.ɵfac = function RecipeCardComponent_Factory(t) { return new (t || RecipeCardComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(RecipeEventsService), ɵɵdirectiveInject(GroceriesListsService), ɵɵdirectiveInject(UserService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(ContextService), ɵɵdirectiveInject(AnalyticsService), ɵɵdirectiveInject(ElementRef)); };
6783
- RecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", guestsChanged: "guestsChanged" }, features: [ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature], decls: 3, vars: 1, consts: [["class", "miam-recipe-card", 4, "ngIf"], ["cors", ""], [1, "miam-recipe-card"], [1, "miam-recipe-card__header"], ["class", "miam-recipe-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-recipe-card__attributes"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-recipe-card__attributes__infos"], ["class", "miam-recipe-card__attributes__info ", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info", 4, "ngIf", "ngIfElse"], ["skeletonInfo", ""], [1, "miam-recipe-card__attributes__control"], [1, "miam-recipe-card__control__left__col"], [1, "miam-recipe-card__left__col__custom"], [1, "miam-recipe-card__help", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["skeletoncounter", ""], [1, "miam-recipe-card__control__right__col"], [1, "miam-recipe-card__right__col__price"], [3, "recipe", "serves"], [1, "m-button-fab-primary", 3, "disabled", "click"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], [1, "miam-recipe-card__picture", 3, "click"], ["loading", "lazy", 3, "src"], [1, "miam-recipe-card__picture__gradient"], ["class", "miam-recipe-card__picture__tag", 4, "ngIf"], ["class", "miam-recipe-card__picture__video", 4, "ngIf"], [1, "miam-recipe-card__picture__actions"], ["class", "miam-recipe-card__actions__icon miam-noPadding", 3, "recipe", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-card__actions__icon", 3, "iconName", "click"], ["class", "miam-recipe-card__picture__sponsor", 3, "src", 4, "ngIf"], [1, "miam-recipe-card__picture__tag"], [1, "miam-recipe-card__picture__video"], ["primaryColor", "var(--m-color-primary)", 3, "iconName", "width", "height"], [1, "miam-recipe-card__actions__icon", "miam-noPadding", 3, "recipe"], [1, "miam-recipe-card__picture__sponsor", 3, "src"], [3, "type"], [1, "miam-recipe-card__attributes__title", 3, "click"], [1, "miam-recipe-card__attributes__ingredients"], [1, "miam-recipe-card__attributes__info"], [3, "iconName"], [1, "miam-recipe-card__info__label"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-color-secondary)", 3, "width", "height", "iconName"], [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], [3, "src"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__left__col__counter"], [3, "counter", "counterChange"]], template: function RecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
6784
- ɵɵtemplate(0, RecipeCardComponent_div_0_Template, 32, 23, "div", 0);
6884
+ RecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", guestsChanged: "guestsChanged" }, features: [ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature], decls: 3, vars: 1, consts: [["class", "miam-recipe-card", 4, "ngIf"], ["cors", ""], [1, "miam-recipe-card"], [1, "miam-recipe-card__header"], ["class", "miam-recipe-card__picture", 3, "click", 4, "ngIf", "ngIfElse"], ["pictSkeleton", ""], [1, "miam-recipe-card__attributes"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-recipe-card__attributes__infos"], ["class", "miam-recipe-card__attributes__info ", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__attributes__info", 4, "ngIf", "ngIfElse"], ["skeletonInfo", ""], [1, "miam-recipe-card__attributes__control"], [1, "miam-recipe-card__control__left__col"], [1, "miam-recipe-card__left__col__custom"], [1, "miam-recipe-card__help", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "width", "height", "iconName"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["class", "miam-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["skeletoncounter", ""], [1, "miam-recipe-card__control__right__col"], [1, "miam-recipe-card__right__col__price"], [3, "recipe", "serves"], [1, "m-button-fab-primary", 3, "disabled", "click"], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-recipe-card__picture", 3, "click"], ["loading", "lazy", 3, "src"], [1, "miam-recipe-card__picture__gradient"], ["class", "miam-recipe-card__picture__tag", 4, "ngIf"], ["class", "miam-recipe-card__picture__video", 4, "ngIf"], [1, "miam-recipe-card__picture__actions"], ["class", "miam-recipe-card__actions__icon miam-noPadding", 3, "recipe", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-card__actions__icon", 3, "iconName", "click"], ["class", "miam-recipe-card__picture__sponsor", 3, "src", 4, "ngIf"], [1, "miam-recipe-card__picture__tag"], [1, "miam-recipe-card__picture__video"], ["primaryColor", "var(--m-color-primary)", 3, "iconName", "width", "height"], [1, "miam-recipe-card__actions__icon", "miam-noPadding", 3, "recipe"], [1, "miam-recipe-card__picture__sponsor", 3, "src"], [3, "type"], [1, "miam-recipe-card__attributes__title", 3, "click"], [1, "miam-recipe-card__attributes__ingredients"], [1, "miam-recipe-card__attributes__info"], [3, "iconName"], [1, "miam-recipe-card__info__label"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["primaryColor", "var(--m-color-secondary)", 3, "width", "height", "iconName"], [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], [3, "src"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__left__col__counter"], [3, "counter", "counterChange"], ["primaryColor", "#fff", 3, "width", "height", "iconName"]], template: function RecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
6885
+ ɵɵtemplate(0, RecipeCardComponent_div_0_Template, 33, 20, "div", 0);
6785
6886
  ɵɵtemplate(1, RecipeCardComponent_ng_template_1_Template, 1, 0, "ng-template", null, 1, ɵɵtemplateRefExtractor);
6786
6887
  } if (rf & 2) {
6787
6888
  ɵɵproperty("ngIf", ctx.isloaded);
6788
- } }, directives: [NgIf, IconComponent, RecipePricingComponent, LikeButtonComponent, SkeletonComponent, NgSwitch, NgSwitchCase, NgSwitchDefault, CounterInputComponent, CORSOverlayComponent], pipes: [AsyncPipe, CapitalizeFirstLetterPipe], styles: [".miam-flex-column,.miam-recipe-card .miam-recipe-card__attributes,.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions{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}.miam-recipe-card{background-color:var(--m-color-white);border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:100%;min-height:470px;position:relative;width:320px}.miam-recipe-card .miam-recipe-card__header{display:none}.miam-recipe-card .miam-recipe-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:240px;position:relative}.miam-recipe-card .miam-recipe-card__picture img{-o-object-fit:cover;object-fit:cover;transition:var(--m-default-transition);z-index:var(--m-z-index-position-absolute-low)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__gradient,.miam-recipe-card .miam-recipe-card__picture img{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;position:absolute;width:100%}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__gradient{background:linear-gradient(180deg,transparent 57.92%,rgba(0,0,0,.75) 100%,rgba(0,0,0,.75) 0);content:\"\"}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__video{left:calc(50% - 50px);position:absolute;top:calc(50% - 50px)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__tag{background-color:var(--m-color-primary-light);border-radius:5px;bottom:16px;color:var(--m-color-primary);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions{position:absolute;right:16px;top:8px;z-index:var(--m-z-index-position-absolute-high)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions .miam-recipe-card__actions__icon{-o-object-fit:contain;background-color:var(--m-color-white);border-radius:var(--m-border-radius-circle);box-shadow:var(--m-shadow-small);margin:0 0 16px;object-fit:contain;padding:8px;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions .miam-recipe-card__actions__icon .icon-container{margin:0}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions .miam-recipe-card__actions__icon.miam-noPadding{padding:0}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__sponsor{-o-object-fit:contain;bottom:16px;height:auto;max-height:72px;max-width:96px;object-fit:contain;position:absolute;right:16px;width:auto}.miam-recipe-card .miam-recipe-card__attributes{flex:1 1;justify-content:space-between;padding:8px 16px 16px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-slate);cursor:pointer;display:-webkit-box;font-size:20px;font-weight:700;font-weight:500;letter-spacing:normal;line-height:30;line-height:1.5;margin:0 8px 8px 0;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:var(--m-default-transition)}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title:hover{color:var(--m-color-primary);text-decoration:underline}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__ingredients{-webkit-box-orient:vertical;-webkit-line-clamp:1;color:var(--m-color-grey-text);display:-webkit-box;font-size:14px;font-weight:300;overflow:hidden;text-overflow:ellipsis}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos{display:flex;flex-direction:row;padding:8px 0}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info{display:flex;flex-direction:row;margin:0 16px 0 0}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info .miam-recipe-card__info__label{font-size:14px;margin-left:8px;text-transform:capitalize}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control{align-items:center;display:flex;justify-content:space-between}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col{display:flex;flex-direction:column-reverse}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter{align-items:center;display:flex}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter ng-miam-counter-input .miam-counter-input__icon{margin-right:8px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom{align-items:flex-end;display:flex;height:48px;justify-content:flex-start}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom .icon-container{cursor:pointer}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col{align-items:center;display:flex;flex-direction:column;min-width:60px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col .miam-recipe-card__right__col__price{height:48px}@media (max-width:1023px){.miam-recipe-card{min-height:unset}.miam-recipe-card .miam-recipe-card__picture{height:164px}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__gradient{background:linear-gradient(0deg,rgba(0,0,0,.2),rgba(0,0,0,.2))}.miam-recipe-card .miam-recipe-card__attributes{padding:8px 16px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title{color:#fff;font-weight:700;height:72px;margin-left:calc(15% - 16px);position:absolute;text-align:center;top:52px;width:70%}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__ingredients{display:none}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col{flex-direction:row;justify-content:space-between;width:100%}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter{align-items:flex-end;padding-bottom:4px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col{margin-top:12px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col .miam-recipe-card__right__col__price{height:48px;position:absolute;top:172px}}"], encapsulation: 2, changeDetection: 0 });
6889
+ } }, directives: [NgIf, IconComponent, RecipePricingComponent, LikeButtonComponent, SkeletonComponent, NgSwitch, NgSwitchCase, NgSwitchDefault, CounterInputComponent, LoaderComponent, CORSOverlayComponent], pipes: [AsyncPipe, CapitalizeFirstLetterPipe], styles: [".miam-flex-column,.miam-recipe-card .miam-recipe-card__attributes,.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions{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}.miam-recipe-card{background-color:var(--m-color-white);border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:100%;min-height:470px;position:relative;width:320px}.miam-recipe-card .miam-recipe-card__header{display:none}.miam-recipe-card .miam-recipe-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:240px;position:relative}.miam-recipe-card .miam-recipe-card__picture img{-o-object-fit:cover;object-fit:cover;transition:var(--m-default-transition);z-index:var(--m-z-index-position-absolute-low)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__gradient,.miam-recipe-card .miam-recipe-card__picture img{border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);height:100%;position:absolute;width:100%}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__gradient{background:linear-gradient(180deg,transparent 57.92%,rgba(0,0,0,.75) 100%,rgba(0,0,0,.75) 0);content:\"\"}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__video{left:calc(50% - 50px);position:absolute;top:calc(50% - 50px)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__tag{background-color:var(--m-color-primary-light);border-radius:5px;bottom:16px;color:var(--m-color-primary);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions{position:absolute;right:16px;top:8px;z-index:var(--m-z-index-position-absolute-high)}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions .miam-recipe-card__actions__icon{-o-object-fit:contain;background-color:var(--m-color-white);border-radius:var(--m-border-radius-circle);box-shadow:var(--m-shadow-small);margin:0 0 16px;object-fit:contain;padding:8px;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions .miam-recipe-card__actions__icon .icon-container{margin:0}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__actions .miam-recipe-card__actions__icon.miam-noPadding{padding:0}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__sponsor{-o-object-fit:contain;bottom:16px;height:auto;max-height:72px;max-width:96px;object-fit:contain;position:absolute;right:16px;width:auto}.miam-recipe-card .miam-recipe-card__attributes{flex:1 1;justify-content:space-between;padding:8px 16px 16px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;-webkit-tap-highlight-color:transparent;color:var(--m-color-slate);cursor:pointer;display:-webkit-box;font-size:20px;font-weight:700;font-weight:500;letter-spacing:normal;line-height:30;line-height:1.5;margin:0 8px 8px 0;overflow:hidden;text-align:left;text-overflow:ellipsis;transition:var(--m-default-transition)}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title:hover{color:var(--m-color-primary);text-decoration:underline}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__ingredients{-webkit-box-orient:vertical;-webkit-line-clamp:1;color:var(--m-color-grey-text);display:-webkit-box;font-size:14px;font-weight:300;overflow:hidden;text-overflow:ellipsis}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos{display:flex;flex-direction:row;padding:8px 0}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info{display:flex;flex-direction:row;margin:0 16px 0 0}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__infos .miam-recipe-card__attributes__info .miam-recipe-card__info__label{font-size:14px;margin-left:8px;text-transform:capitalize}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control{align-items:center;display:flex;justify-content:space-between}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col{display:flex;flex-direction:column-reverse}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter{align-items:center;display:flex}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter ng-miam-counter-input .miam-counter-input__icon{margin-right:8px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom{align-items:flex-end;display:flex;height:48px;justify-content:flex-start}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__custom .icon-container{cursor:pointer}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col{align-items:center;display:flex;flex-direction:column;min-width:60px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col .miam-recipe-card__right__col__price{height:48px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col button .loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}@media (max-width:1023px){.miam-recipe-card{min-height:unset}.miam-recipe-card .miam-recipe-card__picture{height:164px}.miam-recipe-card .miam-recipe-card__picture .miam-recipe-card__picture__gradient{background:linear-gradient(0deg,rgba(0,0,0,.2),rgba(0,0,0,.2))}.miam-recipe-card .miam-recipe-card__attributes{padding:8px 16px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__title{color:#fff;font-weight:700;height:72px;margin-left:calc(15% - 16px);position:absolute;text-align:center;top:52px;width:70%}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__ingredients{display:none}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col{flex-direction:row;justify-content:space-between;width:100%}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__left__col .miam-recipe-card__left__col__counter{align-items:flex-end;padding-bottom:4px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col{margin-top:12px}.miam-recipe-card .miam-recipe-card__attributes .miam-recipe-card__attributes__control .miam-recipe-card__control__right__col .miam-recipe-card__right__col__price{height:48px;position:absolute;top:172px}}"], encapsulation: 2, changeDetection: 0 });
6789
6890
  /*@__PURE__*/ (function () { ɵsetClassMetadata(RecipeCardComponent, [{
6790
6891
  type: Component,
6791
6892
  args: [{
@@ -6831,77 +6932,77 @@ RecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCardComponent, sel
6831
6932
  const _c0$a = ["miamMoreActions"];
6832
6933
  function CatalogRecipeCardComponent_div_4_div_3_Template(rf, ctx) { if (rf & 1) {
6833
6934
  ɵɵelementStart(0, "div");
6834
- ɵɵelement(1, "img", 33);
6935
+ ɵɵelement(1, "img", 34);
6835
6936
  ɵɵelementEnd();
6836
6937
  } if (rf & 2) {
6837
- const ctx_r14 = ɵɵnextContext(2);
6938
+ const ctx_r17 = ɵɵnextContext(2);
6838
6939
  ɵɵadvance(1);
6839
- ɵɵproperty("src", ctx_r14.recipe.filigraneLogoUrl, ɵɵsanitizeUrl);
6940
+ ɵɵproperty("src", ctx_r17.recipe.filigraneLogoUrl, ɵɵsanitizeUrl);
6840
6941
  } }
6841
6942
  function CatalogRecipeCardComponent_div_4_div_5_Template(rf, ctx) { if (rf & 1) {
6842
- ɵɵelementStart(0, "div", 34);
6843
- ɵɵelement(1, "ng-miam-icon", 35);
6943
+ ɵɵelementStart(0, "div", 35);
6944
+ ɵɵelement(1, "ng-miam-icon", 36);
6844
6945
  ɵɵelementEnd();
6845
6946
  } if (rf & 2) {
6846
- const ctx_r15 = ɵɵnextContext(2);
6947
+ const ctx_r18 = ɵɵnextContext(2);
6847
6948
  ɵɵadvance(1);
6848
- ɵɵproperty("iconName", ctx_r15.icon.Video)("width", 80)("height", 80);
6949
+ ɵɵproperty("iconName", ctx_r18.icon.Video)("width", 80)("height", 80);
6849
6950
  } }
6850
6951
  function CatalogRecipeCardComponent_div_4_div_6_Template(rf, ctx) { if (rf & 1) {
6851
- ɵɵelementStart(0, "div", 36);
6952
+ ɵɵelementStart(0, "div", 37);
6852
6953
  ɵɵtext(1, "D\u00E9j\u00E0 ajout\u00E9e");
6853
6954
  ɵɵelementEnd();
6854
6955
  } }
6855
6956
  function CatalogRecipeCardComponent_div_4_ng_container_8_Template(rf, ctx) { if (rf & 1) {
6856
- const _r23 = ɵɵgetCurrentView();
6957
+ const _r26 = ɵɵgetCurrentView();
6857
6958
  ɵɵelementContainerStart(0);
6858
- ɵɵelementStart(1, "div", 37);
6859
- ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_ng_container_8_Template_div_click_1_listener() { ɵɵrestoreView(_r23); const ctx_r22 = ɵɵnextContext(2); return ctx_r22.openRecipe(); });
6959
+ ɵɵelementStart(1, "div", 38);
6960
+ ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_ng_container_8_Template_div_click_1_listener() { ɵɵrestoreView(_r26); const ctx_r25 = ɵɵnextContext(2); return ctx_r25.openRecipe(); });
6860
6961
  ɵɵtext(2);
6861
6962
  ɵɵelementEnd();
6862
6963
  ɵɵelementContainerEnd();
6863
6964
  } if (rf & 2) {
6864
- const ctx_r17 = ɵɵnextContext(2);
6965
+ const ctx_r20 = ɵɵnextContext(2);
6865
6966
  ɵɵadvance(2);
6866
- ɵɵtextInterpolate1(" ", ctx_r17.recipe == null ? null : ctx_r17.recipe.attributes["title"], " ");
6967
+ ɵɵtextInterpolate1(" ", ctx_r20.recipe == null ? null : ctx_r20.recipe.attributes["title"], " ");
6867
6968
  } }
6868
6969
  function CatalogRecipeCardComponent_div_4_ng_template_9_Template(rf, ctx) { if (rf & 1) {
6869
- ɵɵelement(0, "ng-miam-skeleton", 38);
6970
+ ɵɵelement(0, "ng-miam-skeleton", 39);
6870
6971
  } if (rf & 2) {
6871
- const ctx_r19 = ɵɵnextContext(2);
6872
- ɵɵproperty("type", ctx_r19.skeleton.Text);
6972
+ const ctx_r22 = ɵɵnextContext(2);
6973
+ ɵɵproperty("type", ctx_r22.skeleton.Text);
6873
6974
  } }
6874
6975
  function CatalogRecipeCardComponent_div_4_ng_miam_like_button_12_Template(rf, ctx) { if (rf & 1) {
6875
- ɵɵelement(0, "ng-miam-like-button", 39);
6976
+ ɵɵelement(0, "ng-miam-like-button", 40);
6876
6977
  } if (rf & 2) {
6877
- const ctx_r20 = ɵɵnextContext(2);
6878
- ɵɵproperty("recipe", ctx_r20.recipe);
6978
+ const ctx_r23 = ɵɵnextContext(2);
6979
+ ɵɵproperty("recipe", ctx_r23.recipe);
6879
6980
  } }
6880
6981
  function CatalogRecipeCardComponent_div_4_Template(rf, ctx) { if (rf & 1) {
6881
- const _r25 = ɵɵgetCurrentView();
6882
- ɵɵelementStart(0, "div", 20);
6883
- ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { ɵɵrestoreView(_r25); const ctx_r24 = ɵɵnextContext(); return ctx_r24.openRecipe(); });
6884
- ɵɵelementStart(1, "div", 21);
6885
- ɵɵelement(2, "img", 22);
6886
- ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div", 23);
6982
+ const _r28 = ɵɵgetCurrentView();
6983
+ ɵɵelementStart(0, "div", 21);
6984
+ ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_0_listener() { ɵɵrestoreView(_r28); const ctx_r27 = ɵɵnextContext(); return ctx_r27.openRecipe(); });
6985
+ ɵɵelementStart(1, "div", 22);
6986
+ ɵɵelement(2, "img", 23);
6987
+ ɵɵtemplate(3, CatalogRecipeCardComponent_div_4_div_3_Template, 2, 1, "div", 24);
6887
6988
  ɵɵpipe(4, "async");
6888
6989
  ɵɵelementEnd();
6889
- ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_div_5_Template, 2, 3, "div", 24);
6890
- ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_div_6_Template, 2, 0, "div", 25);
6990
+ ɵɵtemplate(5, CatalogRecipeCardComponent_div_4_div_5_Template, 2, 3, "div", 25);
6991
+ ɵɵtemplate(6, CatalogRecipeCardComponent_div_4_div_6_Template, 2, 0, "div", 26);
6891
6992
  ɵɵpipe(7, "async");
6892
- ɵɵtemplate(8, CatalogRecipeCardComponent_div_4_ng_container_8_Template, 3, 1, "ng-container", 26);
6893
- ɵɵtemplate(9, CatalogRecipeCardComponent_div_4_ng_template_9_Template, 1, 1, "ng-template", null, 27, ɵɵtemplateRefExtractor);
6894
- ɵɵelementStart(11, "div", 28);
6895
- ɵɵtemplate(12, CatalogRecipeCardComponent_div_4_ng_miam_like_button_12_Template, 1, 1, "ng-miam-like-button", 29);
6993
+ ɵɵtemplate(8, CatalogRecipeCardComponent_div_4_ng_container_8_Template, 3, 1, "ng-container", 27);
6994
+ ɵɵtemplate(9, CatalogRecipeCardComponent_div_4_ng_template_9_Template, 1, 1, "ng-template", null, 28, ɵɵtemplateRefExtractor);
6995
+ ɵɵelementStart(11, "div", 29);
6996
+ ɵɵtemplate(12, CatalogRecipeCardComponent_div_4_ng_miam_like_button_12_Template, 1, 1, "ng-miam-like-button", 30);
6896
6997
  ɵɵpipe(13, "async");
6897
- ɵɵelementStart(14, "div", 30, 31);
6898
- ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_14_listener($event) { ɵɵrestoreView(_r25); const ctx_r26 = ɵɵnextContext(); return ctx_r26.toggleMoreActions($event); });
6899
- ɵɵelement(16, "ng-miam-icon", 32);
6998
+ ɵɵelementStart(14, "div", 31, 32);
6999
+ ɵɵlistener("click", function CatalogRecipeCardComponent_div_4_Template_div_click_14_listener($event) { ɵɵrestoreView(_r28); const ctx_r29 = ɵɵnextContext(); return ctx_r29.toggleMoreActions($event); });
7000
+ ɵɵelement(16, "ng-miam-icon", 33);
6900
7001
  ɵɵelementEnd();
6901
7002
  ɵɵelementEnd();
6902
7003
  ɵɵelementEnd();
6903
7004
  } if (rf & 2) {
6904
- const _r18 = ɵɵreference(10);
7005
+ const _r21 = ɵɵreference(10);
6905
7006
  const ctx_r0 = ɵɵnextContext();
6906
7007
  var tmp_1_0 = null;
6907
7008
  var tmp_3_0 = null;
@@ -6914,23 +7015,23 @@ function CatalogRecipeCardComponent_div_4_Template(rf, ctx) { if (rf & 1) {
6914
7015
  ɵɵadvance(1);
6915
7016
  ɵɵproperty("ngIf", (tmp_3_0 = ɵɵpipeBind1(7, 10, ctx_r0.groceriesListsService.list$)) == null ? null : tmp_3_0.hasRecipe(ctx_r0.recipe == null ? null : ctx_r0.recipe.id));
6916
7017
  ɵɵadvance(2);
6917
- ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse", _r18);
7018
+ ɵɵproperty("ngIf", ctx_r0.recipe)("ngIfElse", _r21);
6918
7019
  ɵɵadvance(4);
6919
7020
  ɵɵproperty("ngIf", ɵɵpipeBind1(13, 12, ctx_r0.userService.isLogged$));
6920
7021
  ɵɵadvance(4);
6921
7022
  ɵɵproperty("iconName", ctx_r0.actionsOpened ? ctx_r0.icon.Clear : ctx_r0.icon.HorizontalDots);
6922
7023
  } }
6923
7024
  function CatalogRecipeCardComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
6924
- ɵɵelement(0, "ng-miam-skeleton", 38);
7025
+ ɵɵelement(0, "ng-miam-skeleton", 39);
6925
7026
  } if (rf & 2) {
6926
7027
  const ctx_r2 = ɵɵnextContext();
6927
7028
  ɵɵproperty("type", ctx_r2.skeleton.Picture);
6928
7029
  } }
6929
7030
  function CatalogRecipeCardComponent_div_10_Template(rf, ctx) { if (rf & 1) {
6930
- const _r28 = ɵɵgetCurrentView();
6931
- ɵɵelementStart(0, "div", 40);
6932
- ɵɵelementStart(1, "ng-miam-counter-input", 41);
6933
- ɵɵlistener("counterChange", function CatalogRecipeCardComponent_div_10_Template_ng_miam_counter_input_counterChange_1_listener($event) { ɵɵrestoreView(_r28); const ctx_r27 = ɵɵnextContext(); return ctx_r27.updateGuests($event); });
7031
+ const _r31 = ɵɵgetCurrentView();
7032
+ ɵɵelementStart(0, "div", 41);
7033
+ ɵɵelementStart(1, "ng-miam-counter-input", 42);
7034
+ ɵɵlistener("counterChange", function CatalogRecipeCardComponent_div_10_Template_ng_miam_counter_input_counterChange_1_listener($event) { ɵɵrestoreView(_r31); const ctx_r30 = ɵɵnextContext(); return ctx_r30.updateGuests($event); });
6934
7035
  ɵɵelementEnd();
6935
7036
  ɵɵelementEnd();
6936
7037
  } if (rf & 2) {
@@ -6939,23 +7040,23 @@ function CatalogRecipeCardComponent_div_10_Template(rf, ctx) { if (rf & 1) {
6939
7040
  ɵɵproperty("counter", ctx_r3.recipe.modifiedGuests);
6940
7041
  } }
6941
7042
  function CatalogRecipeCardComponent_div_11_div_5_Template(rf, ctx) { if (rf & 1) {
6942
- ɵɵelementStart(0, "div", 46);
7043
+ ɵɵelementStart(0, "div", 47);
6943
7044
  ɵɵtext(1);
6944
7045
  ɵɵelementEnd();
6945
7046
  } if (rf & 2) {
6946
- const ctx_r29 = ɵɵnextContext(2);
7047
+ const ctx_r32 = ɵɵnextContext(2);
6947
7048
  ɵɵadvance(1);
6948
- ɵɵtextInterpolate1(" + ", ctx_r29.recipe.modifiedIngredients.length - 2, " ");
7049
+ ɵɵtextInterpolate1(" + ", ctx_r32.recipe.modifiedIngredients.length - 2, " ");
6949
7050
  } }
6950
7051
  function CatalogRecipeCardComponent_div_11_Template(rf, ctx) { if (rf & 1) {
6951
- ɵɵelementStart(0, "div", 42);
6952
- ɵɵelementStart(1, "div", 43);
6953
- ɵɵelement(2, "img", 44);
7052
+ ɵɵelementStart(0, "div", 43);
7053
+ ɵɵelementStart(1, "div", 44);
7054
+ ɵɵelement(2, "img", 45);
6954
7055
  ɵɵelementEnd();
6955
- ɵɵelementStart(3, "div", 43);
6956
- ɵɵelement(4, "img", 44);
7056
+ ɵɵelementStart(3, "div", 44);
7057
+ ɵɵelement(4, "img", 45);
6957
7058
  ɵɵelementEnd();
6958
- ɵɵtemplate(5, CatalogRecipeCardComponent_div_11_div_5_Template, 2, 1, "div", 45);
7059
+ ɵɵtemplate(5, CatalogRecipeCardComponent_div_11_div_5_Template, 2, 1, "div", 46);
6959
7060
  ɵɵelementEnd();
6960
7061
  } if (rf & 2) {
6961
7062
  const ctx_r4 = ɵɵnextContext();
@@ -6967,44 +7068,55 @@ function CatalogRecipeCardComponent_div_11_Template(rf, ctx) { if (rf & 1) {
6967
7068
  ɵɵproperty("ngIf", ctx_r4.recipe.modifiedIngredients.length > 2);
6968
7069
  } }
6969
7070
  function CatalogRecipeCardComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) {
6970
- ɵɵelement(0, "ng-miam-skeleton", 38);
7071
+ ɵɵelement(0, "ng-miam-skeleton", 39);
6971
7072
  } if (rf & 2) {
6972
7073
  const ctx_r6 = ɵɵnextContext();
6973
7074
  ɵɵproperty("type", ctx_r6.skeleton == null ? null : ctx_r6.skeleton.IconWithInfo);
6974
7075
  } }
6975
7076
  function CatalogRecipeCardComponent_ng_miam_recipe_pricing_16_Template(rf, ctx) { if (rf & 1) {
6976
- ɵɵelement(0, "ng-miam-recipe-pricing", 47);
7077
+ ɵɵelement(0, "ng-miam-recipe-pricing", 48);
6977
7078
  } if (rf & 2) {
6978
7079
  const ctx_r7 = ɵɵnextContext();
6979
7080
  ɵɵproperty("recipe", ctx_r7.recipe)("serves", ctx_r7.recipe == null ? null : ctx_r7.recipe.modifiedGuests);
6980
7081
  } }
6981
- function CatalogRecipeCardComponent_div_21_Template(rf, ctx) { if (rf & 1) {
6982
- ɵɵelementStart(0, "div", 48);
6983
- ɵɵelement(1, "ng-miam-icon", 49);
6984
- ɵɵelementStart(2, "span", 50);
7082
+ function CatalogRecipeCardComponent_ng_miam_icon_18_Template(rf, ctx) { if (rf & 1) {
7083
+ ɵɵelement(0, "ng-miam-icon", 49);
7084
+ ɵɵpipe(1, "async");
7085
+ } if (rf & 2) {
7086
+ const ctx_r8 = ɵɵnextContext();
7087
+ var tmp_2_0 = null;
7088
+ ɵɵproperty("width", 24)("height", 24)("iconName", ((tmp_2_0 = ɵɵpipeBind1(1, 3, ctx_r8.groceriesListsService.list$)) == null ? null : tmp_2_0.hasRecipe(ctx_r8.recipe == null ? null : ctx_r8.recipe.id)) ? ctx_r8.icon.CheckList : ctx_r8.icon.Cart);
7089
+ } }
7090
+ function CatalogRecipeCardComponent_ng_template_19_Template(rf, ctx) { if (rf & 1) {
7091
+ ɵɵelement(0, "ng-miam-loader");
7092
+ } }
7093
+ function CatalogRecipeCardComponent_div_22_Template(rf, ctx) { if (rf & 1) {
7094
+ ɵɵelementStart(0, "div", 50);
7095
+ ɵɵelement(1, "ng-miam-icon", 51);
7096
+ ɵɵelementStart(2, "span", 52);
6985
7097
  ɵɵtext(3);
6986
7098
  ɵɵelementEnd();
6987
7099
  ɵɵelementEnd();
6988
7100
  } if (rf & 2) {
6989
- const ctx_r8 = ɵɵnextContext();
7101
+ const ctx_r11 = ɵɵnextContext();
6990
7102
  ɵɵadvance(1);
6991
- ɵɵproperty("iconName", ctx_r8.icon.Time);
7103
+ ɵɵproperty("iconName", ctx_r11.icon.Time);
6992
7104
  ɵɵadvance(2);
6993
- ɵɵtextInterpolate2("", ctx_r8.isMobile ? "" : "Temps n\u00E9cessaire : ", "", ctx_r8.recipe == null ? null : ctx_r8.recipe.totalTime, "");
7105
+ ɵɵtextInterpolate2("", ctx_r11.isMobile ? "" : "Temps n\u00E9cessaire : ", "", ctx_r11.recipe == null ? null : ctx_r11.recipe.totalTime, "");
6994
7106
  } }
6995
- function CatalogRecipeCardComponent_ng_template_22_Template(rf, ctx) { if (rf & 1) {
6996
- ɵɵelement(0, "ng-miam-skeleton", 38);
7107
+ function CatalogRecipeCardComponent_ng_template_23_Template(rf, ctx) { if (rf & 1) {
7108
+ ɵɵelement(0, "ng-miam-skeleton", 39);
6997
7109
  } if (rf & 2) {
6998
- const ctx_r10 = ɵɵnextContext();
6999
- ɵɵproperty("type", ctx_r10.skeleton == null ? null : ctx_r10.skeleton.IconWithInfo);
7110
+ const ctx_r13 = ɵɵnextContext();
7111
+ ɵɵproperty("type", ctx_r13.skeleton == null ? null : ctx_r13.skeleton.IconWithInfo);
7000
7112
  } }
7001
- function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template(rf, ctx) { if (rf & 1) {
7002
- const _r31 = ɵɵgetCurrentView();
7003
- ɵɵelementStart(0, "ng-miam-actions-popin", 51);
7004
- ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_close_0_listener() { ɵɵrestoreView(_r31); const ctx_r30 = ɵɵnextContext(); return ctx_r30.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { ɵɵrestoreView(_r31); const ctx_r32 = ɵɵnextContext(); return ctx_r32.actionTriggered.emit($event); });
7113
+ function CatalogRecipeCardComponent_ng_miam_actions_popin_25_Template(rf, ctx) { if (rf & 1) {
7114
+ const _r34 = ɵɵgetCurrentView();
7115
+ ɵɵelementStart(0, "ng-miam-actions-popin", 53);
7116
+ ɵɵlistener("close", function CatalogRecipeCardComponent_ng_miam_actions_popin_25_Template_ng_miam_actions_popin_close_0_listener() { ɵɵrestoreView(_r34); const ctx_r33 = ɵɵnextContext(); return ctx_r33.closeMoreActions(); })("actionTriggered", function CatalogRecipeCardComponent_ng_miam_actions_popin_25_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { ɵɵrestoreView(_r34); const ctx_r35 = ɵɵnextContext(); return ctx_r35.actionTriggered.emit($event); });
7005
7117
  ɵɵelementEnd();
7006
7118
  } }
7007
- function CatalogRecipeCardComponent_ng_template_25_Template(rf, ctx) { if (rf & 1) {
7119
+ function CatalogRecipeCardComponent_ng_template_26_Template(rf, ctx) { if (rf & 1) {
7008
7120
  ɵɵelement(0, "ng-miam-cors-overlay");
7009
7121
  } }
7010
7122
  /**
@@ -7083,7 +7195,7 @@ CatalogRecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogRecipeCard
7083
7195
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.moreActions = _t.first);
7084
7196
  } }, hostBindings: function CatalogRecipeCardComponent_HostBindings(rf, ctx) { if (rf & 1) {
7085
7197
  ɵɵlistener("scroll", function CatalogRecipeCardComponent_scroll_HostBindingHandler() { return ctx.onScroll(); }, false, ɵɵresolveWindow);
7086
- } }, outputs: { actionTriggered: "actionTriggered" }, features: [ɵɵInheritDefinitionFeature], decls: 27, vars: 16, 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"], [1, "miam-catalog-recipe-card__control__left__col"], ["class", "miam-catalog-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["skeletoncounter", ""], [1, "miam-catalog-recipe-card__control__right__col"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [1, "m-button-fab-primary", 3, "disabled", "click"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info ", 4, "ngIf", "ngIfElse"], ["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"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["class", "miam-catalog-recipe-card__actions__icon miam-noPadding", 3, "recipe", 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", "var(--m-color-primary)", 3, "iconName", "width", "height"], [1, "miam-catalog-recipe-card__picture__tag"], [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], [1, "miam-catalog-recipe-card__actions__icon", "miam-noPadding", 3, "recipe"], [1, "miam-catalog-recipe-card__left__col__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], [3, "src"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [3, "recipe", "serves"], [1, "miam-catalog-card__attributes__info"], [3, "iconName"], [1, "miam-catalog-card__info__label"], [3, "close", "actionTriggered"]], template: function CatalogRecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
7198
+ } }, outputs: { actionTriggered: "actionTriggered" }, features: [ɵɵInheritDefinitionFeature], decls: 28, vars: 13, 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"], [1, "miam-catalog-recipe-card__control__left__col"], ["class", "miam-catalog-recipe-card__left__col__counter", 4, "ngIf", "ngIfElse"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], ["skeletoncounter", ""], [1, "miam-catalog-recipe-card__control__right__col"], [1, "miam-catalog-recipe-card__right__col__price"], [3, "recipe", "serves", 4, "ngIf"], [1, "m-button-fab-primary", 3, "disabled", "click"], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], [1, "miam-catalog-card__attributes__infos"], ["class", "miam-catalog-card__attributes__info ", 4, "ngIf", "ngIfElse"], ["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"], ["class", "miam-catalog-recipe-card__picture__tag", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["textSkeleton", ""], [1, "miam-catalog-recipe-card__picture__actions"], ["class", "miam-catalog-recipe-card__actions__icon miam-noPadding", 3, "recipe", 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", "var(--m-color-primary)", 3, "iconName", "width", "height"], [1, "miam-catalog-recipe-card__picture__tag"], [1, "miam-catalog-recipe-card__attributes__title", 3, "click"], [3, "type"], [1, "miam-catalog-recipe-card__actions__icon", "miam-noPadding", 3, "recipe"], [1, "miam-catalog-recipe-card__left__col__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], [3, "src"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [3, "recipe", "serves"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], [1, "miam-catalog-card__attributes__info"], [3, "iconName"], [1, "miam-catalog-card__info__label"], [3, "close", "actionTriggered"]], template: function CatalogRecipeCardComponent_Template(rf, ctx) { if (rf & 1) {
7087
7199
  ɵɵelementStart(0, "div", 0);
7088
7200
  ɵɵelementStart(1, "div", 1);
7089
7201
  ɵɵelementStart(2, "span");
@@ -7105,24 +7217,24 @@ CatalogRecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogRecipeCard
7105
7217
  ɵɵelementEnd();
7106
7218
  ɵɵelementStart(17, "button", 13);
7107
7219
  ɵɵlistener("click", function CatalogRecipeCardComponent_Template_button_click_17_listener() { return ctx.clickPrimary(); });
7108
- ɵɵelement(18, "ng-miam-icon", 14);
7109
- ɵɵpipe(19, "async");
7220
+ ɵɵtemplate(18, CatalogRecipeCardComponent_ng_miam_icon_18_Template, 2, 5, "ng-miam-icon", 14);
7221
+ ɵɵtemplate(19, CatalogRecipeCardComponent_ng_template_19_Template, 1, 0, "ng-template", null, 15, ɵɵtemplateRefExtractor);
7110
7222
  ɵɵelementEnd();
7111
7223
  ɵɵelementEnd();
7112
7224
  ɵɵelementEnd();
7113
- ɵɵelementStart(20, "div", 15);
7114
- ɵɵtemplate(21, CatalogRecipeCardComponent_div_21_Template, 4, 3, "div", 16);
7115
- ɵɵtemplate(22, CatalogRecipeCardComponent_ng_template_22_Template, 1, 1, "ng-template", null, 17, ɵɵtemplateRefExtractor);
7225
+ ɵɵelementStart(21, "div", 16);
7226
+ ɵɵtemplate(22, CatalogRecipeCardComponent_div_22_Template, 4, 3, "div", 17);
7227
+ ɵɵtemplate(23, CatalogRecipeCardComponent_ng_template_23_Template, 1, 1, "ng-template", null, 18, ɵɵtemplateRefExtractor);
7116
7228
  ɵɵelementEnd();
7117
7229
  ɵɵelementEnd();
7118
- ɵɵtemplate(24, CatalogRecipeCardComponent_ng_miam_actions_popin_24_Template, 1, 0, "ng-miam-actions-popin", 18);
7230
+ ɵɵtemplate(25, CatalogRecipeCardComponent_ng_miam_actions_popin_25_Template, 1, 0, "ng-miam-actions-popin", 19);
7119
7231
  ɵɵelementEnd();
7120
- ɵɵtemplate(25, CatalogRecipeCardComponent_ng_template_25_Template, 1, 0, "ng-template", null, 19, ɵɵtemplateRefExtractor);
7232
+ ɵɵtemplate(26, CatalogRecipeCardComponent_ng_template_26_Template, 1, 0, "ng-template", null, 20, ɵɵtemplateRefExtractor);
7121
7233
  } if (rf & 2) {
7122
7234
  const _r1 = ɵɵreference(6);
7123
7235
  const _r5 = ɵɵreference(13);
7124
- const _r9 = ɵɵreference(23);
7125
- var tmp_10_0 = null;
7236
+ const _r9 = ɵɵreference(20);
7237
+ const _r12 = ɵɵreference(24);
7126
7238
  ɵɵadvance(3);
7127
7239
  ɵɵtextInterpolate1(" ", ctx.headerText, "");
7128
7240
  ɵɵadvance(1);
@@ -7136,12 +7248,12 @@ CatalogRecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogRecipeCard
7136
7248
  ɵɵadvance(1);
7137
7249
  ɵɵproperty("disabled", !ctx.recipe);
7138
7250
  ɵɵadvance(1);
7139
- ɵɵproperty("width", 24)("height", 24)("iconName", ((tmp_10_0 = ɵɵpipeBind1(19, 14, ctx.groceriesListsService.list$)) == null ? null : tmp_10_0.hasRecipe(ctx.recipe == null ? null : ctx.recipe.id)) ? ctx.icon.CheckList : ctx.icon.Cart);
7140
- ɵɵadvance(3);
7141
- ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r9);
7251
+ ɵɵproperty("ngIf", !ctx.addButtonLoading)("ngIfElse", _r9);
7252
+ ɵɵadvance(4);
7253
+ ɵɵproperty("ngIf", ctx.recipe)("ngIfElse", _r12);
7142
7254
  ɵɵadvance(3);
7143
7255
  ɵɵproperty("ngIf", ctx.actionsOpened);
7144
- } }, directives: [NgIf, IconComponent, SkeletonComponent, LikeButtonComponent, CounterInputComponent, RecipePricingComponent, ActionsPopinComponent, CORSOverlayComponent], pipes: [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-fab,.m-button-fab-grey,.m-button-fab-primary,.m-button-fab-secondary,.m-button-grey,.m-button-link,.m-button-primary,.m-button-secondary{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-border-radius);cursor:pointer;display:flex;justify-content:center;min-width:152px;outline:0;padding:16px 32px;transition:.3s ease-in-out;user-select:none}.m-button-fab-grey ng-miam-icon,.m-button-fab-primary ng-miam-icon,.m-button-fab-secondary ng-miam-icon,.m-button-fab ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-link ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{margin-left:20px;padding:0}.m-button-fab-grey:disabled,.m-button-fab-primary:disabled,.m-button-fab-secondary:disabled,.m-button-fab:disabled,.m-button-grey:disabled,.m-button-link:disabled,.m-button-primary:disabled,.m-button-secondary:disabled,.m-button:disabled{background-color:var(--m-color-grey06);color:var(--m-color-grey03);min-height:42px}.m-button-fab-grey:disabled ng-miam-icon svg,.m-button-fab-primary:disabled ng-miam-icon svg,.m-button-fab-secondary:disabled ng-miam-icon svg,.m-button-fab:disabled ng-miam-icon svg,.m-button-grey:disabled ng-miam-icon svg,.m-button-link:disabled ng-miam-icon svg,.m-button-primary:disabled ng-miam-icon svg,.m-button-secondary:disabled ng-miam-icon svg,.m-button:disabled ng-miam-icon svg{fill:var(--m-color-grey03)}@media (min-width:1022px){.m-button-fab-grey:disabled:hover,.m-button-fab-primary:disabled:hover,.m-button-fab-secondary:disabled:hover,.m-button-fab:disabled:hover,.m-button-grey:disabled:hover,.m-button-link:disabled:hover,.m-button-primary:disabled:hover,.m-button-secondary:disabled:hover,.m-button:disabled:hover{background-color:var(--m-color-grey06);color:var(--m-color-grey03);cursor:default}}.m-button-fab-grey:focus,.m-button-fab-primary:focus,.m-button-fab-secondary:focus,.m-button-fab:focus,.m-button-grey:focus,.m-button-link:focus,.m-button-primary:focus,.m-button-secondary:focus,.m-button:focus{box-shadow:0 0 0 4px #c1f0ec}.m-button-primary{background-color:var(--m-color-primary);border:1px solid transparent;color:var(--m-color-unpure-white)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-unpure-white)}@media (min-width:1022px){.m-button-primary:hover{background-color:var(--m-color-primary-dark)}}.m-button-secondary{background-color:var(--m-color-unpure-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-primary)}@media (min-width:1022px){.m-button-secondary:hover{background-color:var(--m-color-primary-light)}}.m-button-link{background-color:var(--m-color-primary);border:1px solid transparent;color:var(--m-color-unpure-white)}.m-button-link ng-miam-icon svg path{fill:var(--m-color-unpure-white)}@media (min-width:1022px){.m-button-link:hover{background-color:var(--m-color-secondary-dark)}}.m-button-fab-grey,.m-button-grey{background-color:var(--m-color-unpure-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-fab-grey ng-miam-icon svg path,.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}@media (min-width:1022px){.m-button-fab-grey:hover,.m-button-grey:hover{background-color:var(--m-color-hairlines)}}.m-button-fab,.m-button-fab-grey,.m-button-fab-primary,.m-button-fab-secondary{border-radius:var(--m-border-radius-circle);min-width:unset;outline:0;padding:8px}.m-button-fab-grey ng-miam-icon,.m-button-fab-primary ng-miam-icon,.m-button-fab-secondary ng-miam-icon,.m-button-fab ng-miam-icon{margin-left:0}.m-button-fab-grey:disabled,.m-button-fab-primary:disabled,.m-button-fab-secondary:disabled,.m-button-fab:disabled{fill:var(--m-color-grey-text-dark)}@media (min-width:1022px){.m-button-fab-grey:disabled:hover,.m-button-fab-primary:disabled:hover,.m-button-fab-secondary:disabled:hover,.m-button-fab:disabled:hover{fill:var(--m-color-grey-text-dark)}}.m-button-fab-primary{background-color:var(--m-color-primary);border:1px solid transparent;fill:var(--m-color-primary-text)}@media (min-width:1022px){.m-button-fab-primary:hover{background-color:var(--m-color-primary-text);border:1px solid var(--m-color-primary-text)}.m-button-fab-primary:hover path{fill:var(--m-color-primary)}}.m-button-fab-secondary{background-color:var(--m-color-secondary-text);border:1px solid var(--m-color-secondary);fill:var(--m-color-secondary)}@media (min-width:1022px){.m-button-fab-secondary:hover{background-color:var(--m-color-secondary);fill:var(--m-color-secondary-text)}}.m-button-fab-grey{background-color:#fff;border:none}.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-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,#2bb6aa);--m-color-primary-dark:var(--miam-color-primary-dark,#419f97);--m-color-primary-light:var(--miam-color-primary-light,#eafaf9);--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-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-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-button,:root .m-button-fab,:root .m-button-fab-grey,:root .m-button-fab-primary,:root .m-button-fab-secondary,:root .m-button-grey,:root .m-button-link,:root .m-button-primary,:root .m-button-secondary,:root .m-button-typo{font-family:Work Sans;font-size:var(--m-font-size-medium);font-size:14px;font-style:normal;font-weight:700;letter-spacing:.5px;line-height:16px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{: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-recipe-card{background-color:#fff;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:304px;position:relative;width:330px}.miam-catalog-recipe-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:169px;position:relative}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{height:169px}.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:169px;object-fit:cover;position:absolute;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__picture .miam-catalog-card__picture__gradient:after{background:linear-gradient(180deg,rgba(0,0,0,.1) 50.52%,rgba(32,32,32,.85) 88.54%);border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);content:\"\";height:100%;position:absolute;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes{flex:1 1;justify-content:space-between;padding:24px 16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:center}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{display:flex;flex-direction:row}.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-color-grey-text);font-size:15px;margin-left:8px}.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}@media (max-width:1022px){.miam-catalog-recipe-card{border-radius:24px;width:272px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img,.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient:after{border-radius:24px 24px 0 0}.miam-catalog-recipe-card .miam-catalog-card__attributes{padding:16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__infos{bottom:16px;position:absolute}}.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:var(--m-color-primary-light);border-radius:5px;color:var(--m-color-primary);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;bottom:0;color:#fff;cursor:pointer;display:-webkit-box;font-size:17px;font-weight:700;left:0;letter-spacing:normal;line-height:20;line-height:1.5;margin:16px;overflow:hidden;position:absolute;text-align:left;text-overflow:ellipsis;transition:var(--m-default-transition)}@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__picture .miam-catalog-recipe-card__picture__actions .miam-catalog-recipe-card__actions__icon{-o-object-fit:contain;-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:var(--m-border-radius-circle);box-shadow:var(--m-shadow-small);margin:0 0 16px;object-fit:contain;padding:8px;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions .miam-catalog-recipe-card__actions__icon .icon-container{margin:0}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions .miam-catalog-recipe-card__actions__icon.miam-noPadding{padding:0}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:center;display:flex;justify-content:space-between}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__left__col{display:flex;flex-direction:column-reverse}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__left__col .miam-catalog-recipe-card__left__col__counter{align-items:center;display:flex}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__left__col .miam-catalog-recipe-card__left__col__counter ng-miam-counter-input .miam-counter-input__icon{margin-right:8px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__right__col{display:flex;flex-direction:row}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__right__col .miam-catalog-recipe-card__right__col__price{margin-right:16px}@media (max-width:1022px){.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:flex-start;height:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__left__col{padding-top:4px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__right__col{align-items:end;flex-direction:column;height:100%;justify-content:space-between}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__right__col .miam-catalog-recipe-card__right__col__price{margin-right:unset}}"], encapsulation: 2, changeDetection: 0 });
7256
+ } }, directives: [NgIf, IconComponent, SkeletonComponent, LikeButtonComponent, CounterInputComponent, RecipePricingComponent, LoaderComponent, ActionsPopinComponent, CORSOverlayComponent], pipes: [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-fab,.m-button-fab-grey,.m-button-fab-primary,.m-button-fab-secondary,.m-button-grey,.m-button-link,.m-button-primary,.m-button-secondary{-moz-user-select:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;align-items:center;border-radius:var(--m-border-radius);cursor:pointer;display:flex;justify-content:center;min-width:152px;outline:0;padding:16px 32px;transition:.3s ease-in-out;user-select:none}.m-button-fab-grey ng-miam-icon,.m-button-fab-primary ng-miam-icon,.m-button-fab-secondary ng-miam-icon,.m-button-fab ng-miam-icon,.m-button-grey ng-miam-icon,.m-button-link ng-miam-icon,.m-button-primary ng-miam-icon,.m-button-secondary ng-miam-icon,.m-button ng-miam-icon{margin-left:20px;padding:0}.m-button-fab-grey:disabled,.m-button-fab-primary:disabled,.m-button-fab-secondary:disabled,.m-button-fab:disabled,.m-button-grey:disabled,.m-button-link:disabled,.m-button-primary:disabled,.m-button-secondary:disabled,.m-button:disabled{background-color:var(--m-color-grey06);color:var(--m-color-grey03);min-height:42px}.m-button-fab-grey:disabled ng-miam-icon svg,.m-button-fab-primary:disabled ng-miam-icon svg,.m-button-fab-secondary:disabled ng-miam-icon svg,.m-button-fab:disabled ng-miam-icon svg,.m-button-grey:disabled ng-miam-icon svg,.m-button-link:disabled ng-miam-icon svg,.m-button-primary:disabled ng-miam-icon svg,.m-button-secondary:disabled ng-miam-icon svg,.m-button:disabled ng-miam-icon svg{fill:var(--m-color-grey03)}@media (min-width:1022px){.m-button-fab-grey:disabled:hover,.m-button-fab-primary:disabled:hover,.m-button-fab-secondary:disabled:hover,.m-button-fab:disabled:hover,.m-button-grey:disabled:hover,.m-button-link:disabled:hover,.m-button-primary:disabled:hover,.m-button-secondary:disabled:hover,.m-button:disabled:hover{background-color:var(--m-color-grey06);color:var(--m-color-grey03);cursor:default}}.m-button-fab-grey:focus,.m-button-fab-primary:focus,.m-button-fab-secondary:focus,.m-button-fab:focus,.m-button-grey:focus,.m-button-link:focus,.m-button-primary:focus,.m-button-secondary:focus,.m-button:focus{box-shadow:0 0 0 4px #c1f0ec}.m-button-primary{background-color:var(--m-color-primary);border:1px solid transparent;color:var(--m-color-unpure-white)}.m-button-primary ng-miam-icon svg path{fill:var(--m-color-unpure-white)}@media (min-width:1022px){.m-button-primary:hover{background-color:var(--m-color-primary-dark)}}.m-button-secondary{background-color:var(--m-color-unpure-white);border:1px solid var(--m-color-primary);color:var(--m-color-primary)}.m-button-secondary ng-miam-icon svg path{fill:var(--m-color-primary)}@media (min-width:1022px){.m-button-secondary:hover{background-color:var(--m-color-primary-light)}}.m-button-link{background-color:var(--m-color-primary);border:1px solid transparent;color:var(--m-color-unpure-white)}.m-button-link ng-miam-icon svg path{fill:var(--m-color-unpure-white)}@media (min-width:1022px){.m-button-link:hover{background-color:var(--m-color-secondary-dark)}}.m-button-fab-grey,.m-button-grey{background-color:var(--m-color-unpure-white);border:1px solid var(--m-color-grey03);color:var(--m-color-grey03)}.m-button-fab-grey ng-miam-icon svg path,.m-button-grey ng-miam-icon svg path{fill:var(--m-color-grey03)}@media (min-width:1022px){.m-button-fab-grey:hover,.m-button-grey:hover{background-color:var(--m-color-hairlines)}}.m-button-fab,.m-button-fab-grey,.m-button-fab-primary,.m-button-fab-secondary{border-radius:var(--m-border-radius-circle);min-width:unset;outline:0;padding:8px}.m-button-fab-grey ng-miam-icon,.m-button-fab-primary ng-miam-icon,.m-button-fab-secondary ng-miam-icon,.m-button-fab ng-miam-icon{margin-left:0}.m-button-fab-grey:disabled,.m-button-fab-primary:disabled,.m-button-fab-secondary:disabled,.m-button-fab:disabled{fill:var(--m-color-grey-text-dark)}@media (min-width:1022px){.m-button-fab-grey:disabled:hover,.m-button-fab-primary:disabled:hover,.m-button-fab-secondary:disabled:hover,.m-button-fab:disabled:hover{fill:var(--m-color-grey-text-dark)}}.m-button-fab-primary{background-color:var(--m-color-primary);border:1px solid transparent;fill:var(--m-color-primary-text)}@media (min-width:1022px){.m-button-fab-primary:hover{background-color:var(--m-color-primary-text);border:1px solid var(--m-color-primary-text)}.m-button-fab-primary:hover path{fill:var(--m-color-primary)}}.m-button-fab-secondary{background-color:var(--m-color-secondary-text);border:1px solid var(--m-color-secondary);fill:var(--m-color-secondary)}@media (min-width:1022px){.m-button-fab-secondary:hover{background-color:var(--m-color-secondary);fill:var(--m-color-secondary-text)}}.m-button-fab-grey{background-color:#fff;border:none}.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-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,#2bb6aa);--m-color-primary-dark:var(--miam-color-primary-dark,#419f97);--m-color-primary-light:var(--miam-color-primary-light,#eafaf9);--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-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-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-button,:root .m-button-fab,:root .m-button-fab-grey,:root .m-button-fab-primary,:root .m-button-fab-secondary,:root .m-button-grey,:root .m-button-link,:root .m-button-primary,:root .m-button-secondary,:root .m-button-typo{font-family:Work Sans;font-size:var(--m-font-size-medium);font-size:14px;font-style:normal;font-weight:700;letter-spacing:.5px;line-height:16px}:root .m-small-typo{font-size:var(--m-font-size-small);line-height:16px}@media print{: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-recipe-card{background-color:#fff;border-radius:var(--m-border-radius);box-shadow:var(--m-shadow-small);display:flex;flex-direction:column;height:304px;position:relative;width:330px}.miam-catalog-recipe-card .miam-catalog-card__picture{-webkit-tap-highlight-color:transparent;cursor:pointer;height:169px;position:relative}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient{height:169px}.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:169px;object-fit:cover;position:absolute;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__picture .miam-catalog-card__picture__gradient:after{background:linear-gradient(180deg,rgba(0,0,0,.1) 50.52%,rgba(32,32,32,.85) 88.54%);border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);content:\"\";height:100%;position:absolute;width:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes{flex:1 1;justify-content:space-between;padding:24px 16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos{display:flex;flex-direction:row;justify-content:center}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-card__attributes__infos .miam-catalog-card__attributes__info{display:flex;flex-direction:row}.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-color-grey-text);font-size:15px;margin-left:8px}.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}@media (max-width:1022px){.miam-catalog-recipe-card{border-radius:24px;width:272px}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient .miam-catalog-card__picture__img,.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-card__picture__gradient:after{border-radius:24px 24px 0 0}.miam-catalog-recipe-card .miam-catalog-card__attributes{padding:16px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__infos{bottom:16px;position:absolute}}.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:var(--m-color-primary-light);border-radius:5px;color:var(--m-color-primary);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;bottom:0;color:#fff;cursor:pointer;display:-webkit-box;font-size:17px;font-weight:700;left:0;letter-spacing:normal;line-height:20;line-height:1.5;margin:16px;overflow:hidden;position:absolute;text-align:left;text-overflow:ellipsis;transition:var(--m-default-transition)}@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__picture .miam-catalog-recipe-card__picture__actions .miam-catalog-recipe-card__actions__icon{-o-object-fit:contain;-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:var(--m-border-radius-circle);box-shadow:var(--m-shadow-small);margin:0 0 16px;object-fit:contain;padding:8px;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions .miam-catalog-recipe-card__actions__icon .icon-container{margin:0}.miam-catalog-recipe-card .miam-catalog-card__picture .miam-catalog-recipe-card__picture__actions .miam-catalog-recipe-card__actions__icon.miam-noPadding{padding:0}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:center;display:flex;justify-content:space-between}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__left__col{display:flex;flex-direction:column-reverse}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__left__col .miam-catalog-recipe-card__left__col__counter{align-items:center;display:flex}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__left__col .miam-catalog-recipe-card__left__col__counter ng-miam-counter-input .miam-counter-input__icon{margin-right:8px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__right__col{display:flex;flex-direction:row}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__right__col .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__control__right__col button .loader{border:var(--m-loader-thickness) solid transparent;border-top:var(--m-loader-thickness) solid var(--m-color-white);height:24px;width:24px}@media (max-width:1022px){.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control{align-items:flex-start;height:100%}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__left__col{padding-top:4px}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__right__col{align-items:end;flex-direction:column;height:100%;justify-content:space-between}.miam-catalog-recipe-card .miam-catalog-card__attributes .miam-catalog-recipe-card__attributes__control .miam-catalog-recipe-card__control__right__col .miam-catalog-recipe-card__right__col__price{margin-right:unset}}"], encapsulation: 2, changeDetection: 0 });
7145
7257
  /*@__PURE__*/ (function () { ɵsetClassMetadata(CatalogRecipeCardComponent, [{
7146
7258
  type: Component,
7147
7259
  args: [{
@@ -7185,39 +7297,6 @@ CatalogRecipeCardComponent.ɵcmp = ɵɵdefineComponent({ type: CatalogRecipeCard
7185
7297
  args: ['window:scroll']
7186
7298
  }] }); })();
7187
7299
 
7188
- function LoaderComponent_div_0_Template(rf, ctx) { if (rf & 1) {
7189
- ɵɵelementStart(0, "div", 2);
7190
- ɵɵelement(1, "div", 3);
7191
- ɵɵelementEnd();
7192
- } }
7193
- function LoaderComponent_div_1_Template(rf, ctx) { if (rf & 1) {
7194
- ɵɵelement(0, "div", 3);
7195
- } }
7196
- class LoaderComponent {
7197
- constructor() {
7198
- this.wide = false;
7199
- }
7200
- }
7201
- LoaderComponent.ɵfac = function LoaderComponent_Factory(t) { return new (t || LoaderComponent)(); };
7202
- LoaderComponent.ɵcmp = ɵɵdefineComponent({ type: LoaderComponent, selectors: [["ng-miam-loader"]], inputs: { wide: "wide" }, decls: 2, vars: 2, consts: [["class", "wide-container", 4, "ngIf"], ["class", "loader", 4, "ngIf"], [1, "wide-container"], [1, "loader"]], template: function LoaderComponent_Template(rf, ctx) { if (rf & 1) {
7203
- ɵɵtemplate(0, LoaderComponent_div_0_Template, 2, 0, "div", 0);
7204
- ɵɵtemplate(1, LoaderComponent_div_1_Template, 1, 0, "div", 1);
7205
- } if (rf & 2) {
7206
- ɵɵproperty("ngIf", ctx.wide);
7207
- ɵɵadvance(1);
7208
- ɵɵproperty("ngIf", !ctx.wide);
7209
- } }, directives: [NgIf], styles: ["[_nghost-%COMP%]{--m-loader-size:var(--miam-loader-sizes,40px);--m-loader-thickness:var(--miam-loader-thickness,5px)}.loader[_ngcontent-%COMP%]{-webkit-animation:spin .5s linear infinite;animation:spin .5s linear infinite;border:var(--m-loader-thickness) solid var(--m-color-grey);border-radius:var(--m-border-radius-circle);border-top:var(--m-loader-thickness) solid var(--m-color-ternary);height:var(--m-loader-size);width:var(--m-loader-size)}@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"] });
7210
- /*@__PURE__*/ (function () { ɵsetClassMetadata(LoaderComponent, [{
7211
- type: Component,
7212
- args: [{
7213
- selector: 'ng-miam-loader',
7214
- templateUrl: './loader.component.html',
7215
- styleUrls: ['./loader.component.scss']
7216
- }]
7217
- }], function () { return []; }, { wide: [{
7218
- type: Input
7219
- }] }); })();
7220
-
7221
7300
  function CatalogArticleCardComponent_img_4_Template(rf, ctx) { if (rf & 1) {
7222
7301
  ɵɵelement(0, "img", 11);
7223
7302
  } if (rf & 2) {
@@ -7933,7 +8012,7 @@ class CatalogListComponent {
7933
8012
  return this.recipesService.all({
7934
8013
  remotefilter: requestFilters,
7935
8014
  page: { size: 20, number: page },
7936
- include: ['ingredients', 'recipe-steps', 'recipe-type', 'recipe-status', 'sponsors', 'recipe-provider']
8015
+ include: ['ingredients', 'recipe-steps', 'recipe-type', 'recipe-status', 'sponsors', 'recipe-provider', 'tags']
7937
8016
  }).pipe(skipWhile(resp => resp.is_loading), switchMap((result) => this.processResults(result.data, requestFilters, page)));
7938
8017
  }
7939
8018
  }
@@ -8795,67 +8874,67 @@ BasketPreviewDisabledComponent.ɵcmp = ɵɵdefineComponent({ type: BasketPreview
8795
8874
  args: ['window:resize', ['$event']]
8796
8875
  }] }); })();
8797
8876
 
8798
- function BasketPreviewLineComponent_ng_container_1_div_3_Template(rf, ctx) { if (rf & 1) {
8799
- const _r15 = ɵɵgetCurrentView();
8800
- ɵɵelementStart(0, "div", 24);
8801
- ɵɵlistener("click", function BasketPreviewLineComponent_ng_container_1_div_3_Template_div_click_0_listener($event) { ɵɵrestoreView(_r15); const ctx_r14 = ɵɵnextContext(2); return ctx_r14.removeLine($event); });
8802
- ɵɵelement(1, "ng-miam-icon", 25);
8877
+ function BasketPreviewLineComponent_div_3_Template(rf, ctx) { if (rf & 1) {
8878
+ const _r14 = ɵɵgetCurrentView();
8879
+ ɵɵelementStart(0, "div", 23);
8880
+ ɵɵlistener("click", function BasketPreviewLineComponent_div_3_Template_div_click_0_listener($event) { ɵɵrestoreView(_r14); const ctx_r13 = ɵɵnextContext(); return ctx_r13.removeLine($event); });
8881
+ ɵɵelement(1, "ng-miam-icon", 24);
8803
8882
  ɵɵelementEnd();
8804
8883
  } if (rf & 2) {
8805
- const ctx_r2 = ɵɵnextContext(2);
8884
+ const ctx_r0 = ɵɵnextContext();
8806
8885
  ɵɵadvance(1);
8807
- ɵɵproperty("iconName", ctx_r2.icon.Trash);
8886
+ ɵɵproperty("iconName", ctx_r0.icon.Trash);
8808
8887
  } }
8809
- function BasketPreviewLineComponent_ng_container_1_div_11_Template(rf, ctx) { if (rf & 1) {
8888
+ function BasketPreviewLineComponent_div_11_Template(rf, ctx) { if (rf & 1) {
8810
8889
  ɵɵelementStart(0, "div");
8811
8890
  ɵɵtext(1);
8812
8891
  ɵɵelementEnd();
8813
8892
  } if (rf & 2) {
8814
- const item_r16 = ctx.$implicit;
8893
+ const item_r15 = ctx.$implicit;
8815
8894
  ɵɵadvance(1);
8816
- ɵɵtextInterpolate(item_r16);
8895
+ ɵɵtextInterpolate(item_r15);
8817
8896
  } }
8818
- function BasketPreviewLineComponent_ng_container_1_div_13_Template(rf, ctx) { if (rf & 1) {
8819
- ɵɵelementStart(0, "div", 26);
8897
+ function BasketPreviewLineComponent_div_13_Template(rf, ctx) { if (rf & 1) {
8898
+ ɵɵelementStart(0, "div", 25);
8820
8899
  ɵɵtext(1);
8821
8900
  ɵɵelementEnd();
8822
8901
  } if (rf & 2) {
8823
- const ctx_r4 = ɵɵnextContext(2);
8902
+ const ctx_r2 = ɵɵnextContext();
8824
8903
  ɵɵadvance(1);
8825
- ɵɵtextInterpolate1(" ", ctx_r4.expanded ? "Masquer" : "Voir", " le d\u00E9tail ");
8904
+ ɵɵtextInterpolate1(" ", ctx_r2.expanded ? "Masquer" : "Voir", " le d\u00E9tail ");
8826
8905
  } }
8827
- function BasketPreviewLineComponent_ng_container_1_div_14_Template(rf, ctx) { if (rf & 1) {
8828
- ɵɵelementStart(0, "div", 26);
8906
+ function BasketPreviewLineComponent_div_14_Template(rf, ctx) { if (rf & 1) {
8907
+ ɵɵelementStart(0, "div", 25);
8829
8908
  ɵɵtext(1, " Voir la recette ");
8830
8909
  ɵɵelementEnd();
8831
8910
  } }
8832
8911
  const _c0$g = function (a0) { return { "disable": a0 }; };
8833
- function BasketPreviewLineComponent_ng_container_1_div_15_Template(rf, ctx) { if (rf & 1) {
8834
- const _r18 = ɵɵgetCurrentView();
8835
- ɵɵelementStart(0, "div", 27);
8836
- ɵɵelementStart(1, "a", 28);
8837
- ɵɵlistener("click", function BasketPreviewLineComponent_ng_container_1_div_15_Template_a_click_1_listener() { ɵɵrestoreView(_r18); const ctx_r17 = ɵɵnextContext(2); return ctx_r17.changeProduct(ctx_r17.line); });
8912
+ function BasketPreviewLineComponent_div_15_Template(rf, ctx) { if (rf & 1) {
8913
+ const _r17 = ɵɵgetCurrentView();
8914
+ ɵɵelementStart(0, "div", 26);
8915
+ ɵɵelementStart(1, "a", 27);
8916
+ ɵɵlistener("click", function BasketPreviewLineComponent_div_15_Template_a_click_1_listener() { ɵɵrestoreView(_r17); const ctx_r16 = ɵɵnextContext(); return ctx_r16.changeProduct(ctx_r16.line); });
8838
8917
  ɵɵtext(2, "Changer d'article");
8839
8918
  ɵɵelementEnd();
8840
8919
  ɵɵelementEnd();
8841
8920
  } if (rf & 2) {
8842
- const ctx_r6 = ɵɵnextContext(2);
8921
+ const ctx_r4 = ɵɵnextContext();
8843
8922
  ɵɵadvance(1);
8844
- ɵɵproperty("ngClass", ɵɵpureFunction1(1, _c0$g, ctx_r6.disableItemSelector));
8923
+ ɵɵproperty("ngClass", ɵɵpureFunction1(1, _c0$g, ctx_r4.disableItemSelector));
8845
8924
  } }
8846
- function BasketPreviewLineComponent_ng_container_1_div_16_Template(rf, ctx) { if (rf & 1) {
8847
- ɵɵelementStart(0, "div", 29);
8848
- ɵɵelementStart(1, "span", 30);
8925
+ function BasketPreviewLineComponent_div_16_Template(rf, ctx) { if (rf & 1) {
8926
+ ɵɵelementStart(0, "div", 28);
8927
+ ɵɵelementStart(1, "span", 29);
8849
8928
  ɵɵtext(2);
8850
8929
  ɵɵelementEnd();
8851
8930
  ɵɵelementEnd();
8852
8931
  } if (rf & 2) {
8853
- const ctx_r7 = ɵɵnextContext(2);
8932
+ const ctx_r5 = ɵɵnextContext();
8854
8933
  ɵɵadvance(2);
8855
- ɵɵtextInterpolate(ctx_r7.line.inlineTag);
8934
+ ɵɵtextInterpolate(ctx_r5.line.inlineTag);
8856
8935
  } }
8857
- function BasketPreviewLineComponent_ng_container_1_div_18_Template(rf, ctx) { if (rf & 1) {
8858
- ɵɵelementStart(0, "div", 31);
8936
+ function BasketPreviewLineComponent_div_18_Template(rf, ctx) { if (rf & 1) {
8937
+ ɵɵelementStart(0, "div", 30);
8859
8938
  ɵɵelementStart(1, "span");
8860
8939
  ɵɵtext(2);
8861
8940
  ɵɵelementEnd();
@@ -8867,189 +8946,117 @@ function BasketPreviewLineComponent_ng_container_1_div_18_Template(rf, ctx) { if
8867
8946
  ɵɵelementEnd();
8868
8947
  ɵɵelementEnd();
8869
8948
  } if (rf & 2) {
8870
- const ctx_r8 = ɵɵnextContext(2);
8949
+ const ctx_r6 = ɵɵnextContext();
8871
8950
  ɵɵadvance(2);
8872
- ɵɵtextInterpolate1("", ctx_r8.priceIntegerPart(), ",");
8951
+ ɵɵtextInterpolate1("", ctx_r6.priceIntegerPart(), ",");
8873
8952
  ɵɵadvance(2);
8874
- ɵɵtextInterpolate(ctx_r8.priceDecimalPart());
8953
+ ɵɵtextInterpolate(ctx_r6.priceDecimalPart());
8875
8954
  } }
8876
- function BasketPreviewLineComponent_ng_container_1_ng_template_19_Template(rf, ctx) { if (rf & 1) {
8877
- ɵɵelement(0, "ng-miam-recipe-pricing", 32);
8955
+ function BasketPreviewLineComponent_ng_template_19_Template(rf, ctx) { if (rf & 1) {
8956
+ ɵɵelement(0, "ng-miam-recipe-pricing", 31);
8878
8957
  ɵɵpipe(1, "async");
8879
8958
  } if (rf & 2) {
8880
- const ctx_r10 = ɵɵnextContext(2);
8881
- ɵɵproperty("recipe", ɵɵpipeBind1(1, 2, ctx_r10.recipesService.get(ctx_r10.line.id)))("serves", ctx_r10.line.count);
8959
+ const ctx_r8 = ɵɵnextContext();
8960
+ ɵɵproperty("recipe", ɵɵpipeBind1(1, 2, ctx_r8.recipesService.get(ctx_r8.line.id)))("serves", ctx_r8.line.count);
8882
8961
  } }
8883
- function BasketPreviewLineComponent_ng_container_1_div_22_Template(rf, ctx) { if (rf & 1) {
8884
- ɵɵelementStart(0, "div", 33);
8962
+ function BasketPreviewLineComponent_div_22_Template(rf, ctx) { if (rf & 1) {
8963
+ ɵɵelementStart(0, "div", 32);
8885
8964
  ɵɵtext(1, "pour");
8886
8965
  ɵɵelementEnd();
8887
8966
  } }
8888
- function BasketPreviewLineComponent_ng_container_1_div_24_Template(rf, ctx) { if (rf & 1) {
8889
- ɵɵelementStart(0, "div", 34);
8967
+ function BasketPreviewLineComponent_div_24_Template(rf, ctx) { if (rf & 1) {
8968
+ ɵɵelementStart(0, "div", 33);
8890
8969
  ɵɵtext(1);
8891
8970
  ɵɵelementEnd();
8892
8971
  } if (rf & 2) {
8893
- const ctx_r12 = ɵɵnextContext(2);
8972
+ const ctx_r10 = ɵɵnextContext();
8894
8973
  ɵɵadvance(1);
8895
- ɵɵtextInterpolate1("personne", ctx_r12.line.count > 1 ? "s" : "", "");
8896
- } }
8897
- function BasketPreviewLineComponent_ng_container_1_div_25_Template(rf, ctx) { if (rf & 1) {
8898
- const _r20 = ɵɵgetCurrentView();
8899
- ɵɵelementStart(0, "div", 35);
8900
- ɵɵelementStart(1, "button", 36);
8901
- ɵɵlistener("click", function BasketPreviewLineComponent_ng_container_1_div_25_Template_button_click_1_listener($event) { ɵɵrestoreView(_r20); const ctx_r19 = ɵɵnextContext(2); return ctx_r19.toggleRecipeDisplay($event, true); });
8902
- ɵɵelement(2, "ng-miam-icon", 37);
8903
- ɵɵelementEnd();
8904
- ɵɵelementEnd();
8905
- } if (rf & 2) {
8906
- const ctx_r13 = ɵɵnextContext(2);
8907
- ɵɵadvance(2);
8908
- ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r13.icon.Cart);
8974
+ ɵɵtextInterpolate1("personne", ctx_r10.line.count > 1 ? "s" : "", "");
8909
8975
  } }
8910
- function BasketPreviewLineComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8911
- const _r22 = ɵɵgetCurrentView();
8912
- ɵɵelementContainerStart(0);
8913
- ɵɵelementStart(1, "div", 3);
8914
- ɵɵelementStart(2, "div", 4);
8915
- ɵɵtemplate(3, BasketPreviewLineComponent_ng_container_1_div_3_Template, 2, 1, "div", 5);
8916
- ɵɵelementStart(4, "div", 6);
8917
- ɵɵelementStart(5, "img", 7);
8918
- ɵɵlistener("click", function BasketPreviewLineComponent_ng_container_1_Template_img_click_5_listener($event) { ɵɵrestoreView(_r22); const ctx_r21 = ɵɵnextContext(); return ctx_r21.toggleRecipeDisplay($event); });
8919
- ɵɵelementEnd();
8920
- ɵɵelementEnd();
8921
- ɵɵelementStart(6, "div", 8);
8922
- ɵɵelementStart(7, "strong", 9);
8923
- ɵɵlistener("click", function BasketPreviewLineComponent_ng_container_1_Template_strong_click_7_listener($event) { ɵɵrestoreView(_r22); const ctx_r23 = ɵɵnextContext(); return ctx_r23.toggleRecipeDisplay($event); });
8924
- ɵɵtext(8);
8925
- ɵɵpipe(9, "capitalizeFirstLetter");
8926
- ɵɵelementEnd();
8927
- ɵɵelementStart(10, "div", 10);
8928
- ɵɵtemplate(11, BasketPreviewLineComponent_ng_container_1_div_11_Template, 2, 1, "div", 11);
8929
- ɵɵelementEnd();
8930
- ɵɵelementStart(12, "div", 12);
8931
- ɵɵtemplate(13, BasketPreviewLineComponent_ng_container_1_div_13_Template, 2, 1, "div", 13);
8932
- ɵɵtemplate(14, BasketPreviewLineComponent_ng_container_1_div_14_Template, 2, 0, "div", 13);
8933
- ɵɵtemplate(15, BasketPreviewLineComponent_ng_container_1_div_15_Template, 3, 3, "div", 14);
8934
- ɵɵtemplate(16, BasketPreviewLineComponent_ng_container_1_div_16_Template, 3, 1, "div", 15);
8935
- ɵɵelementEnd();
8936
- ɵɵelementEnd();
8937
- ɵɵelementEnd();
8938
- ɵɵelementStart(17, "div", 16);
8939
- ɵɵtemplate(18, BasketPreviewLineComponent_ng_container_1_div_18_Template, 7, 2, "div", 17);
8940
- ɵɵtemplate(19, BasketPreviewLineComponent_ng_container_1_ng_template_19_Template, 2, 4, "ng-template", null, 18, ɵɵtemplateRefExtractor);
8941
- ɵɵelementStart(21, "div", 19);
8942
- ɵɵtemplate(22, BasketPreviewLineComponent_ng_container_1_div_22_Template, 2, 0, "div", 20);
8943
- ɵɵelementStart(23, "ng-miam-counter-input", 21);
8944
- ɵɵlistener("counterChange", function BasketPreviewLineComponent_ng_container_1_Template_ng_miam_counter_input_counterChange_23_listener($event) { ɵɵrestoreView(_r22); const ctx_r24 = ɵɵnextContext(); return ctx_r24.changeCount($event); });
8945
- ɵɵelementEnd();
8946
- ɵɵtemplate(24, BasketPreviewLineComponent_ng_container_1_div_24_Template, 2, 1, "div", 22);
8947
- ɵɵelementEnd();
8948
- ɵɵtemplate(25, BasketPreviewLineComponent_ng_container_1_div_25_Template, 3, 3, "div", 23);
8976
+ function BasketPreviewLineComponent_div_25_Template(rf, ctx) { if (rf & 1) {
8977
+ const _r19 = ɵɵgetCurrentView();
8978
+ ɵɵelementStart(0, "div", 34);
8979
+ ɵɵelementStart(1, "button", 35);
8980
+ ɵɵlistener("click", function BasketPreviewLineComponent_div_25_Template_button_click_1_listener($event) { ɵɵrestoreView(_r19); const ctx_r18 = ɵɵnextContext(); return ctx_r18.toggleRecipeDisplay($event, true); });
8981
+ ɵɵelement(2, "ng-miam-icon", 36);
8949
8982
  ɵɵelementEnd();
8950
8983
  ɵɵelementEnd();
8951
- ɵɵelementContainerEnd();
8952
8984
  } if (rf & 2) {
8953
- const _r9 = ɵɵreference(20);
8954
- const ctx_r0 = ɵɵnextContext();
8955
- ɵɵadvance(3);
8956
- ɵɵproperty("ngIf", !ctx_r0.uniqueLine && !ctx_r0.line.displayMode);
8957
- ɵɵadvance(2);
8958
- ɵɵproperty("src", ctx_r0.line.picture, ɵɵsanitizeUrl);
8959
- ɵɵadvance(3);
8960
- ɵɵtextInterpolate1(" ", ɵɵpipeBind1(9, 15, ctx_r0.line.title), " ");
8961
- ɵɵadvance(3);
8962
- ɵɵproperty("ngForOf", ctx_r0.line.description);
8985
+ const ctx_r11 = ɵɵnextContext();
8963
8986
  ɵɵadvance(2);
8964
- ɵɵproperty("ngIf", ctx_r0.line.hasEntries() && !ctx_r0.uniqueLine);
8965
- ɵɵadvance(1);
8966
- ɵɵproperty("ngIf", ctx_r0.line.displayMode);
8967
- ɵɵadvance(1);
8968
- ɵɵproperty("ngIf", !ctx_r0.line.isRecipe && (ctx_r0.line == null ? null : ctx_r0.line.record == null ? null : ctx_r0.line.record.candidateItems == null ? null : ctx_r0.line.record.candidateItems.length) > 0);
8969
- ɵɵadvance(1);
8970
- ɵɵproperty("ngIf", ctx_r0.line.inlineTag);
8971
- ɵɵadvance(2);
8972
- ɵɵproperty("ngIf", ctx_r0.displayTotalPricing || !ctx_r0.line.isRecipe)("ngIfElse", _r9);
8973
- ɵɵadvance(4);
8974
- ɵɵproperty("ngIf", ctx_r0.line.isRecipe);
8975
- ɵɵadvance(1);
8976
- ɵɵproperty("counter", ctx_r0.line.count)("minRange", ctx_r0.line.isRecipe ? 1 : 0);
8977
- ɵɵadvance(1);
8978
- ɵɵproperty("ngIf", ctx_r0.line.isRecipe);
8979
- ɵɵadvance(1);
8980
- ɵɵproperty("ngIf", ctx_r0.line.displayMode);
8987
+ ɵɵproperty("width", 24)("height", 24)("iconName", ctx_r11.icon.Cart);
8981
8988
  } }
8982
- function BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_line_1_Template(rf, ctx) { if (rf & 1) {
8983
- const _r34 = ɵɵgetCurrentView();
8984
- ɵɵelementStart(0, "ng-miam-basket-preview-line", 45);
8985
- ɵɵlistener("removed", function BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_line_1_Template_ng_miam_basket_preview_line_removed_0_listener($event) { ɵɵrestoreView(_r34); const ctx_r33 = ɵɵnextContext(3); return ctx_r33.deleteEntry($event.record); })("replaceItem", function BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_line_1_Template_ng_miam_basket_preview_line_replaceItem_0_listener() { ɵɵrestoreView(_r34); const ctx_r35 = ɵɵnextContext(3); return ctx_r35.replaceItem.emit(ctx_r35.line); });
8989
+ function BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_line_1_Template(rf, ctx) { if (rf & 1) {
8990
+ const _r29 = ɵɵgetCurrentView();
8991
+ ɵɵelementStart(0, "ng-miam-basket-preview-line", 44);
8992
+ ɵɵlistener("removed", function BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_line_1_Template_ng_miam_basket_preview_line_removed_0_listener($event) { ɵɵrestoreView(_r29); const ctx_r28 = ɵɵnextContext(3); return ctx_r28.deleteEntry($event.record); })("replaceItem", function BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_line_1_Template_ng_miam_basket_preview_line_replaceItem_0_listener() { ɵɵrestoreView(_r29); const ctx_r30 = ɵɵnextContext(3); return ctx_r30.replaceItem.emit(ctx_r30.line); });
8986
8993
  ɵɵelementEnd();
8987
8994
  } if (rf & 2) {
8988
- const entryLine_r32 = ctx.$implicit;
8989
- const ctx_r28 = ɵɵnextContext(3);
8990
- ɵɵproperty("line", entryLine_r32)("blockStates", ctx_r28.blockStates);
8995
+ const entryLine_r27 = ctx.$implicit;
8996
+ const ctx_r23 = ɵɵnextContext(3);
8997
+ ɵɵproperty("line", entryLine_r27)("blockStates", ctx_r23.blockStates);
8991
8998
  } }
8992
- function BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_disabled_3_Template(rf, ctx) { if (rf & 1) {
8993
- ɵɵelement(0, "ng-miam-basket-preview-disabled", 46);
8999
+ function BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_disabled_3_Template(rf, ctx) { if (rf & 1) {
9000
+ ɵɵelement(0, "ng-miam-basket-preview-disabled", 45);
8994
9001
  } if (rf & 2) {
8995
- const ctx_r29 = ɵɵnextContext(3);
8996
- ɵɵproperty("entries", ctx_r29.line.entries.notFound);
9002
+ const ctx_r24 = ɵɵnextContext(3);
9003
+ ɵɵproperty("entries", ctx_r24.line.entries.notFound);
8997
9004
  } }
8998
- function BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_disabled_4_Template(rf, ctx) { if (rf & 1) {
8999
- const _r37 = ɵɵgetCurrentView();
9000
- ɵɵelementStart(0, "ng-miam-basket-preview-disabled", 47);
9001
- ɵɵlistener("entryAdded", function BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_disabled_4_Template_ng_miam_basket_preview_disabled_entryAdded_0_listener($event) { ɵɵrestoreView(_r37); const ctx_r36 = ɵɵnextContext(3); return ctx_r36.addEntry($event); });
9005
+ function BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_disabled_4_Template(rf, ctx) { if (rf & 1) {
9006
+ const _r32 = ɵɵgetCurrentView();
9007
+ ɵɵelementStart(0, "ng-miam-basket-preview-disabled", 46);
9008
+ ɵɵlistener("entryAdded", function BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_disabled_4_Template_ng_miam_basket_preview_disabled_entryAdded_0_listener($event) { ɵɵrestoreView(_r32); const ctx_r31 = ɵɵnextContext(3); return ctx_r31.addEntry($event); });
9002
9009
  ɵɵelementEnd();
9003
9010
  } if (rf & 2) {
9004
- const ctx_r30 = ɵɵnextContext(3);
9005
- ɵɵproperty("entries", ctx_r30.line.entries.oftenDeleted);
9011
+ const ctx_r25 = ɵɵnextContext(3);
9012
+ ɵɵproperty("entries", ctx_r25.line.entries.oftenDeleted);
9006
9013
  } }
9007
- function BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_disabled_5_Template(rf, ctx) { if (rf & 1) {
9008
- const _r39 = ɵɵgetCurrentView();
9009
- ɵɵelementStart(0, "ng-miam-basket-preview-disabled", 48);
9010
- ɵɵlistener("entryAdded", function BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_disabled_5_Template_ng_miam_basket_preview_disabled_entryAdded_0_listener($event) { ɵɵrestoreView(_r39); const ctx_r38 = ɵɵnextContext(3); return ctx_r38.addEntry($event); });
9014
+ function BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_disabled_5_Template(rf, ctx) { if (rf & 1) {
9015
+ const _r34 = ɵɵgetCurrentView();
9016
+ ɵɵelementStart(0, "ng-miam-basket-preview-disabled", 47);
9017
+ ɵɵlistener("entryAdded", function BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_disabled_5_Template_ng_miam_basket_preview_disabled_entryAdded_0_listener($event) { ɵɵrestoreView(_r34); const ctx_r33 = ɵɵnextContext(3); return ctx_r33.addEntry($event); });
9011
9018
  ɵɵelementEnd();
9012
9019
  } if (rf & 2) {
9013
- const ctx_r31 = ɵɵnextContext(3);
9014
- ɵɵproperty("entries", ctx_r31.line.entries.removed)("reduced", true);
9020
+ const ctx_r26 = ɵɵnextContext(3);
9021
+ ɵɵproperty("entries", ctx_r26.line.entries.removed)("reduced", true);
9015
9022
  } }
9016
- function BasketPreviewLineComponent_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
9023
+ function BasketPreviewLineComponent_div_26_div_1_Template(rf, ctx) { if (rf & 1) {
9017
9024
  ɵɵelementStart(0, "div");
9018
- ɵɵtemplate(1, BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_line_1_Template, 1, 2, "ng-miam-basket-preview-line", 41);
9025
+ ɵɵtemplate(1, BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_line_1_Template, 1, 2, "ng-miam-basket-preview-line", 40);
9019
9026
  ɵɵpipe(2, "async");
9020
- ɵɵtemplate(3, BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_disabled_3_Template, 1, 1, "ng-miam-basket-preview-disabled", 42);
9021
- ɵɵtemplate(4, BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_disabled_4_Template, 1, 1, "ng-miam-basket-preview-disabled", 43);
9022
- ɵɵtemplate(5, BasketPreviewLineComponent_div_2_div_1_ng_miam_basket_preview_disabled_5_Template, 1, 2, "ng-miam-basket-preview-disabled", 44);
9027
+ ɵɵtemplate(3, BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_disabled_3_Template, 1, 1, "ng-miam-basket-preview-disabled", 41);
9028
+ ɵɵtemplate(4, BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_disabled_4_Template, 1, 1, "ng-miam-basket-preview-disabled", 42);
9029
+ ɵɵtemplate(5, BasketPreviewLineComponent_div_26_div_1_ng_miam_basket_preview_disabled_5_Template, 1, 2, "ng-miam-basket-preview-disabled", 43);
9023
9030
  ɵɵelementEnd();
9024
9031
  } if (rf & 2) {
9025
- const ctx_r25 = ɵɵnextContext(2);
9032
+ const ctx_r20 = ɵɵnextContext(2);
9026
9033
  ɵɵadvance(1);
9027
- ɵɵproperty("ngForOf", ɵɵpipeBind1(2, 4, ctx_r25.entriesLines$));
9034
+ ɵɵproperty("ngForOf", ɵɵpipeBind1(2, 4, ctx_r20.entriesLines$));
9028
9035
  ɵɵadvance(2);
9029
- ɵɵproperty("ngIf", ctx_r25.line.entries.notFound.length > 0);
9036
+ ɵɵproperty("ngIf", ctx_r20.line.entries.notFound.length > 0);
9030
9037
  ɵɵadvance(1);
9031
- ɵɵproperty("ngIf", ctx_r25.line.entries.oftenDeleted.length > 0);
9038
+ ɵɵproperty("ngIf", ctx_r20.line.entries.oftenDeleted.length > 0);
9032
9039
  ɵɵadvance(1);
9033
- ɵɵproperty("ngIf", ctx_r25.line.entries.removed.length > 0);
9040
+ ɵɵproperty("ngIf", ctx_r20.line.entries.removed.length > 0);
9034
9041
  } }
9035
- function BasketPreviewLineComponent_div_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9036
- ɵɵelementStart(0, "div", 49);
9042
+ function BasketPreviewLineComponent_div_26_ng_template_2_Template(rf, ctx) { if (rf & 1) {
9043
+ ɵɵelementStart(0, "div", 48);
9037
9044
  ɵɵelement(1, "ng-miam-loader");
9038
9045
  ɵɵelementStart(2, "div");
9039
9046
  ɵɵtext(3, "Calcul des ingr\u00E9dients...");
9040
9047
  ɵɵelementEnd();
9041
9048
  ɵɵelementEnd();
9042
9049
  } }
9043
- function BasketPreviewLineComponent_div_2_Template(rf, ctx) { if (rf & 1) {
9044
- ɵɵelementStart(0, "div", 38);
9045
- ɵɵtemplate(1, BasketPreviewLineComponent_div_2_div_1_Template, 6, 6, "div", 39);
9046
- ɵɵtemplate(2, BasketPreviewLineComponent_div_2_ng_template_2_Template, 4, 0, "ng-template", null, 40, ɵɵtemplateRefExtractor);
9050
+ function BasketPreviewLineComponent_div_26_Template(rf, ctx) { if (rf & 1) {
9051
+ ɵɵelementStart(0, "div", 37);
9052
+ ɵɵtemplate(1, BasketPreviewLineComponent_div_26_div_1_Template, 6, 6, "div", 38);
9053
+ ɵɵtemplate(2, BasketPreviewLineComponent_div_26_ng_template_2_Template, 4, 0, "ng-template", null, 39, ɵɵtemplateRefExtractor);
9047
9054
  ɵɵelementEnd();
9048
9055
  } if (rf & 2) {
9049
- const _r26 = ɵɵreference(3);
9050
- const ctx_r1 = ɵɵnextContext();
9056
+ const _r21 = ɵɵreference(3);
9057
+ const ctx_r12 = ɵɵnextContext();
9051
9058
  ɵɵadvance(1);
9052
- ɵɵproperty("ngIf", !ctx_r1.loading)("ngIfElse", _r26);
9059
+ ɵɵproperty("ngIf", !ctx_r12.loading)("ngIfElse", _r21);
9053
9060
  } }
9054
9061
  const _c1$6 = function (a0, a1, a2) { return { clickable: a0, expanded: a1, elevate: a2 }; };
9055
9062
  class BasketPreviewLineComponent {
@@ -9196,7 +9203,7 @@ class BasketPreviewLineComponent {
9196
9203
  event.stopPropagation();
9197
9204
  }
9198
9205
  addRecipeActionOK() {
9199
- this.listsService.appendRecipeToList(this.line.id, this.line.count);
9206
+ this.subscriptions.push(this.listsService.appendRecipeToList(this.line.id, this.line.count).subscribe());
9200
9207
  this.recipesService.display(this.line.id, { guests: this.line.count, previewMode: true });
9201
9208
  }
9202
9209
  removeLine(event) {
@@ -9215,17 +9222,79 @@ class BasketPreviewLineComponent {
9215
9222
  }
9216
9223
  }
9217
9224
  BasketPreviewLineComponent.ɵfac = function BasketPreviewLineComponent_Factory(t) { return new (t || BasketPreviewLineComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(GroceriesListsService), ɵɵdirectiveInject(BasketsService), ɵɵdirectiveInject(AnalyticsService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(UserService), ɵɵdirectiveInject(ContextService), ɵɵdirectiveInject(ElementRef)); };
9218
- BasketPreviewLineComponent.ɵcmp = ɵɵdefineComponent({ type: BasketPreviewLineComponent, selectors: [["ng-miam-basket-preview-line"]], inputs: { line: "line", uniqueLine: "uniqueLine", blockStates: "blockStates", displayTotalPricing: "displayTotalPricing" }, outputs: { removed: "removed", countChanged: "countChanged", replaceItem: "replaceItem", showRecipe: "showRecipe" }, decls: 3, vars: 8, consts: [[1, "miam-basket-preview-line", 3, "id", "ngClass", "click"], [4, "ngIf"], ["class", "miam-basket-preview-lines", 4, "ngIf"], [1, "miam-basket-preview-line__item"], [1, "miam-basket-preview-line__item__left"], ["class", "miam-basket-preview-line__item__remove", 3, "click", 4, "ngIf"], [1, "miam-basket-preview-line__item__picture"], [3, "src", "click"], [1, "miam-basket-preview-line__item__details"], [1, "miam-basket-preview-line__item__title", 3, "click"], [1, "miam-basket-preview-line__item__description"], [4, "ngFor", "ngForOf"], [1, "miam-basket-preview-line__item__actions"], ["class", "miam-basket-preview-line__item__showDetails", 4, "ngIf"], ["class", "miam-basket-preview-line__item__change", 4, "ngIf"], ["class", "miam-basket-preview-line__item__inlineTag__container", 4, "ngIf"], [1, "miam-basket-preview-line__item__right"], ["class", "miam-basket-preview-line__item__price", 4, "ngIf", "ngIfElse"], ["pricePerguest", ""], [1, "miam-basket-preview-line__item__count"], ["class", "miam-basket-preview-line__item__count__for", 4, "ngIf"], [3, "counter", "minRange", "counterChange"], ["class", "miam-basket-preview-line__item__count__people", 4, "ngIf"], ["class", "miam-basket-preview-line__add__button", 4, "ngIf"], [1, "miam-basket-preview-line__item__remove", 3, "click"], ["height", "24", "width", "24", "primaryColor", "var(--m-color-grey-text-dark)", 3, "iconName"], [1, "miam-basket-preview-line__item__showDetails"], [1, "miam-basket-preview-line__item__change"], [1, "miam-basket-preview-line__item__change__link", 3, "ngClass", "click"], [1, "miam-basket-preview-line__item__inlineTag__container"], [1, "miam-basket-preview-line__item__inlineTag"], [1, "miam-basket-preview-line__item__price"], [3, "recipe", "serves"], [1, "miam-basket-preview-line__item__count__for"], [1, "miam-basket-preview-line__item__count__people"], [1, "miam-basket-preview-line__add__button"], [1, "m-button-fab-primary", 3, "click"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], [1, "miam-basket-preview-lines"], [4, "ngIf", "ngIfElse"], ["loader", ""], [3, "line", "blockStates", "removed", "replaceItem", 4, "ngFor", "ngForOf"], ["mode", "unavailable", 3, "entries", 4, "ngIf"], ["mode", "oftenDeleted", 3, "entries", "entryAdded", 4, "ngIf"], ["mode", "removed", 3, "entries", "reduced", "entryAdded", 4, "ngIf"], [3, "line", "blockStates", "removed", "replaceItem"], ["mode", "unavailable", 3, "entries"], ["mode", "oftenDeleted", 3, "entries", "entryAdded"], ["mode", "removed", 3, "entries", "reduced", "entryAdded"], [1, "miam-basket-preview-line__loader-container"]], template: function BasketPreviewLineComponent_Template(rf, ctx) { if (rf & 1) {
9225
+ BasketPreviewLineComponent.ɵcmp = ɵɵdefineComponent({ type: BasketPreviewLineComponent, selectors: [["ng-miam-basket-preview-line"]], inputs: { line: "line", uniqueLine: "uniqueLine", blockStates: "blockStates", displayTotalPricing: "displayTotalPricing" }, outputs: { removed: "removed", countChanged: "countChanged", replaceItem: "replaceItem", showRecipe: "showRecipe" }, decls: 27, vars: 24, consts: [[1, "miam-basket-preview-line", 3, "id", "ngClass", "click"], [1, "miam-basket-preview-line__item"], [1, "miam-basket-preview-line__item__left"], ["class", "miam-basket-preview-line__item__remove", 3, "click", 4, "ngIf"], [1, "miam-basket-preview-line__item__picture"], [3, "src", "click"], [1, "miam-basket-preview-line__item__details"], [1, "miam-basket-preview-line__item__title", 3, "click"], [1, "miam-basket-preview-line__item__description"], [4, "ngFor", "ngForOf"], [1, "miam-basket-preview-line__item__actions"], ["class", "miam-basket-preview-line__item__showDetails", 4, "ngIf"], ["class", "miam-basket-preview-line__item__change", 4, "ngIf"], ["class", "miam-basket-preview-line__item__inlineTag__container", 4, "ngIf"], [1, "miam-basket-preview-line__item__right"], ["class", "miam-basket-preview-line__item__price", 4, "ngIf", "ngIfElse"], ["pricePerguest", ""], [1, "miam-basket-preview-line__item__count"], ["class", "miam-basket-preview-line__item__count__for", 4, "ngIf"], [3, "counter", "minRange", "counterChange"], ["class", "miam-basket-preview-line__item__count__people", 4, "ngIf"], ["class", "miam-basket-preview-line__add__button", 4, "ngIf"], ["class", "miam-basket-preview-lines", 4, "ngIf"], [1, "miam-basket-preview-line__item__remove", 3, "click"], ["height", "24", "width", "24", "primaryColor", "var(--m-color-grey-text-dark)", 3, "iconName"], [1, "miam-basket-preview-line__item__showDetails"], [1, "miam-basket-preview-line__item__change"], [1, "miam-basket-preview-line__item__change__link", 3, "ngClass", "click"], [1, "miam-basket-preview-line__item__inlineTag__container"], [1, "miam-basket-preview-line__item__inlineTag"], [1, "miam-basket-preview-line__item__price"], [3, "recipe", "serves"], [1, "miam-basket-preview-line__item__count__for"], [1, "miam-basket-preview-line__item__count__people"], [1, "miam-basket-preview-line__add__button"], [1, "m-button-fab-primary", 3, "click"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], [1, "miam-basket-preview-lines"], [4, "ngIf", "ngIfElse"], ["loader", ""], [3, "line", "blockStates", "removed", "replaceItem", 4, "ngFor", "ngForOf"], ["mode", "unavailable", 3, "entries", 4, "ngIf"], ["mode", "oftenDeleted", 3, "entries", "entryAdded", 4, "ngIf"], ["mode", "removed", 3, "entries", "reduced", "entryAdded", 4, "ngIf"], [3, "line", "blockStates", "removed", "replaceItem"], ["mode", "unavailable", 3, "entries"], ["mode", "oftenDeleted", 3, "entries", "entryAdded"], ["mode", "removed", 3, "entries", "reduced", "entryAdded"], [1, "miam-basket-preview-line__loader-container"]], template: function BasketPreviewLineComponent_Template(rf, ctx) { if (rf & 1) {
9219
9226
  ɵɵelementStart(0, "div", 0);
9220
9227
  ɵɵlistener("click", function BasketPreviewLineComponent_Template_div_click_0_listener($event) { return ctx.line.displayMode ? ctx.toggleRecipeDisplay($event) : ctx.toggleExpanded($event); });
9221
- ɵɵtemplate(1, BasketPreviewLineComponent_ng_container_1_Template, 26, 17, "ng-container", 1);
9228
+ ɵɵelementStart(1, "div", 1);
9229
+ ɵɵelementStart(2, "div", 2);
9230
+ ɵɵtemplate(3, BasketPreviewLineComponent_div_3_Template, 2, 1, "div", 3);
9231
+ ɵɵelementStart(4, "div", 4);
9232
+ ɵɵelementStart(5, "img", 5);
9233
+ ɵɵlistener("click", function BasketPreviewLineComponent_Template_img_click_5_listener($event) { return ctx.toggleRecipeDisplay($event); });
9234
+ ɵɵelementEnd();
9235
+ ɵɵelementEnd();
9236
+ ɵɵelementStart(6, "div", 6);
9237
+ ɵɵelementStart(7, "strong", 7);
9238
+ ɵɵlistener("click", function BasketPreviewLineComponent_Template_strong_click_7_listener($event) { return ctx.toggleRecipeDisplay($event); });
9239
+ ɵɵtext(8);
9240
+ ɵɵpipe(9, "capitalizeFirstLetter");
9241
+ ɵɵelementEnd();
9242
+ ɵɵelementStart(10, "div", 8);
9243
+ ɵɵtemplate(11, BasketPreviewLineComponent_div_11_Template, 2, 1, "div", 9);
9244
+ ɵɵelementEnd();
9245
+ ɵɵelementStart(12, "div", 10);
9246
+ ɵɵtemplate(13, BasketPreviewLineComponent_div_13_Template, 2, 1, "div", 11);
9247
+ ɵɵtemplate(14, BasketPreviewLineComponent_div_14_Template, 2, 0, "div", 11);
9248
+ ɵɵtemplate(15, BasketPreviewLineComponent_div_15_Template, 3, 3, "div", 12);
9249
+ ɵɵtemplate(16, BasketPreviewLineComponent_div_16_Template, 3, 1, "div", 13);
9250
+ ɵɵelementEnd();
9251
+ ɵɵelementEnd();
9252
+ ɵɵelementEnd();
9253
+ ɵɵelementStart(17, "div", 14);
9254
+ ɵɵtemplate(18, BasketPreviewLineComponent_div_18_Template, 7, 2, "div", 15);
9255
+ ɵɵtemplate(19, BasketPreviewLineComponent_ng_template_19_Template, 2, 4, "ng-template", null, 16, ɵɵtemplateRefExtractor);
9256
+ ɵɵelementStart(21, "div", 17);
9257
+ ɵɵtemplate(22, BasketPreviewLineComponent_div_22_Template, 2, 0, "div", 18);
9258
+ ɵɵelementStart(23, "ng-miam-counter-input", 19);
9259
+ ɵɵlistener("counterChange", function BasketPreviewLineComponent_Template_ng_miam_counter_input_counterChange_23_listener($event) { return ctx.changeCount($event); });
9260
+ ɵɵelementEnd();
9261
+ ɵɵtemplate(24, BasketPreviewLineComponent_div_24_Template, 2, 1, "div", 20);
9222
9262
  ɵɵelementEnd();
9223
- ɵɵtemplate(2, BasketPreviewLineComponent_div_2_Template, 4, 2, "div", 2);
9263
+ ɵɵtemplate(25, BasketPreviewLineComponent_div_25_Template, 3, 3, "div", 21);
9264
+ ɵɵelementEnd();
9265
+ ɵɵelementEnd();
9266
+ ɵɵelementEnd();
9267
+ ɵɵtemplate(26, BasketPreviewLineComponent_div_26_Template, 4, 2, "div", 22);
9224
9268
  } if (rf & 2) {
9269
+ const _r7 = ɵɵreference(20);
9225
9270
  ɵɵpropertyInterpolate("id", ctx.line.id);
9226
- ɵɵproperty("ngClass", ɵɵpureFunction3(4, _c1$6, ctx.line.hasEntries() || ctx.line.displayMode, ctx.expanded, ctx.selectItem));
9271
+ ɵɵproperty("ngClass", ɵɵpureFunction3(20, _c1$6, ctx.line.hasEntries() || ctx.line.displayMode, ctx.expanded, ctx.selectItem));
9272
+ ɵɵadvance(3);
9273
+ ɵɵproperty("ngIf", !ctx.uniqueLine && !ctx.line.displayMode);
9274
+ ɵɵadvance(2);
9275
+ ɵɵproperty("src", ctx.line.picture, ɵɵsanitizeUrl);
9276
+ ɵɵadvance(3);
9277
+ ɵɵtextInterpolate1(" ", ɵɵpipeBind1(9, 18, ctx.line.title), " ");
9278
+ ɵɵadvance(3);
9279
+ ɵɵproperty("ngForOf", ctx.line.description);
9280
+ ɵɵadvance(2);
9281
+ ɵɵproperty("ngIf", ctx.line.hasEntries() && !ctx.uniqueLine);
9282
+ ɵɵadvance(1);
9283
+ ɵɵproperty("ngIf", ctx.line.displayMode);
9227
9284
  ɵɵadvance(1);
9228
- ɵɵproperty("ngIf", !ctx.selectItem);
9285
+ ɵɵproperty("ngIf", !ctx.line.isRecipe && (ctx.line == null ? null : ctx.line.record == null ? null : ctx.line.record.candidateItems == null ? null : ctx.line.record.candidateItems.length) > 0);
9286
+ ɵɵadvance(1);
9287
+ ɵɵproperty("ngIf", ctx.line.inlineTag);
9288
+ ɵɵadvance(2);
9289
+ ɵɵproperty("ngIf", ctx.displayTotalPricing || !ctx.line.isRecipe)("ngIfElse", _r7);
9290
+ ɵɵadvance(4);
9291
+ ɵɵproperty("ngIf", ctx.line.isRecipe);
9292
+ ɵɵadvance(1);
9293
+ ɵɵproperty("counter", ctx.line.count)("minRange", ctx.line.isRecipe ? 1 : 0);
9294
+ ɵɵadvance(1);
9295
+ ɵɵproperty("ngIf", ctx.line.isRecipe);
9296
+ ɵɵadvance(1);
9297
+ ɵɵproperty("ngIf", ctx.line.displayMode);
9229
9298
  ɵɵadvance(1);
9230
9299
  ɵɵproperty("ngIf", ctx.expanded);
9231
9300
  } }, directives: [NgClass, NgIf, NgForOf, CounterInputComponent, IconComponent, RecipePricingComponent, BasketPreviewLineComponent, BasketPreviewDisabledComponent, LoaderComponent], pipes: [CapitalizeFirstLetterPipe, AsyncPipe], styles: [":root{--price-color:var(--miam-price-color,green);--tag-color:var(--miam-tag-color,#fcecce)}.miam-basket-preview-line{-webkit-tap-highlight-color:transparent;overflow:hidden;padding-left:10px}.miam-basket-preview-line.clickable{border:1px solid var(--m-color-grey);border-radius:4px;box-shadow:none;cursor:pointer;margin-bottom:6px;transition:var(--m-default-transition)}.miam-basket-preview-line.elevate{position:relative;z-index:var(--m-z-index-modal)}.miam-basket-preview-line.expanded{background:#fff;border-color:var(--m-color-grey);box-shadow:var(--m-shadow-small);margin-bottom:15px;margin-top:10px;position:relative}.miam-basket-preview-line .miam-basket-preview-line__item{display:flex;justify-content:space-between;padding:16px 0}.miam-basket-preview-line .miam-basket-preview-line__item.clickable{cursor:pointer}.miam-basket-preview-line .miam-basket-preview-line__item.clickable.expanded{padding-bottom:0}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left{align-items:center;display:flex;width:100%}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__remove{align-self:center;margin:0 30px 0 15px}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__remove .icon-container{background-color:var(--m-color-grey);border-radius:12.5px;height:25px!important;padding:6px;width:25px!important}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__remove .icon-container svg{color:var(--m-color-grey-text);cursor:pointer;height:13px;width:13px}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__picture{margin-right:25px}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__picture img{-o-object-fit:cover;border-radius:var(--m-border-radius);height:100px;object-fit:cover;width:130px}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details{width:100%}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__title{display:inline-block;font-size:var(--m-font-size-medium)}@media (min-width:1022px){.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__title:hover{color:var(--m-color-primary);text-decoration:underline}}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__title:first-letter{text-transform:capitalize}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__description{font-size:var(--m-font-size-small);font-weight:400}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__actions{display:flex;flex-direction:row}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__actions .miam-basket-preview-line__item__showDetails{color:var(--m-color-grey-text);cursor:pointer;margin:2px 30px 0 0;text-decoration:underline;transition:var(--m-default-transition);width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__actions .miam-basket-preview-line__item__change .miam-basket-preview-line__item__change__link{color:var(--m-color-grey-text);cursor:pointer;margin:2px 30px 0 0;text-decoration:underline;transition:var(--m-default-transition)}@media (min-width:1022px){.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__actions .miam-basket-preview-line__item__change .miam-basket-preview-line__item__change__link:hover{color:var(--m-color-primary)}}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__actions .miam-basket-preview-line__item__change .miam-basket-preview-line__item__change__link.disable{color:var(--m-color-grey-text);pointer-events:none}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__actions .miam-basket-preview-line__item__inlineTag{background-color:var(--tag-color);border-radius:100px;display:inline-block;font-size:var(--m-font-size-small);height:22px;padding:1px 16px}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right{align-items:center;display:flex;justify-content:flex-end;max-width:330px;position:relative;width:100%}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__price{color:var(--price-color);font-size:var(--m-font-size-large);font-weight:700;margin:0 20px;white-space:nowrap}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right ng-miam-recipe-pricing{width:100%}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__count{font-size:var(--m-font-size-small);text-align:center}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__count .miam-basket-preview-line__item__count__for,.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__count .miam-basket-preview-line__item__count__people{color:var(--m-color-slate);font-weight:700;margin-bottom:2px;padding-left:20px}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__add__button{margin:0 20px}@media (min-width:1022px){.miam-basket-preview-line .miam-basket-preview-line__item:hover .miam-basket-preview-line__item__left .miam-basket-preview-line__item__showDetails{color:var(--m-color-primary)}}.miam-basket-preview-lines{border-left:1px solid var(--m-color-grey);margin-bottom:20px;margin-left:20px;overflow:hidden}.miam-basket-preview-lines .miam-basket-preview-line{border-top:1px solid var(--m-color-grey)}.miam-basket-preview-lines .miam-basket-preview-line.expanded{border-top:1px solid var(--m-color-primary)}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item{border-top:none;padding:12px 0 15px}@media (min-width:1022px){.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__title:hover{color:var(--m-color-black);text-decoration:none}}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__picture,.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__remove{margin-right:15px}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__picture img{-o-object-fit:cover;border-radius:var(--m-border-radius);height:50px;object-fit:cover;width:50px}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right{margin-top:-16px}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__price{color:var(--m-color-grey-text);font-size:16px}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__count ng-miam-counter-input .miam-counter-input__icon{display:none}.miam-basket-preview-lines .miam-basket-preview-line__loader-container{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:10px}@media (max-width:1022px){.miam-basket-preview-line .miam-basket-preview-line__item{flex-direction:column;height:204px;padding:0 0 52px;position:relative}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left{height:92px}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__remove{bottom:58px;margin:0;position:absolute;right:18px;z-index:1}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__picture{height:152px;position:absolute;top:16px;width:33%}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__picture img{height:100%;width:100%}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details{padding:8px 0 0 36%}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__title{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden;text-overflow:ellipsis}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__actions{bottom:8px;position:absolute}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details .miam-basket-preview-line__item__actions .miam-basket-preview-line__item__inlineTag{height:auto;padding:1px;text-align:center}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right{align-items:flex-start;flex-direction:column-reverse;justify-content:flex-start;padding-left:38%}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__price{margin:0}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__count{margin:16px 0}.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__count .miam-basket-preview-line__item__count__for,.miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__count .miam-basket-preview-line__item__count__people{display:none}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item{flex-direction:column;height:auto;padding:0;position:relative}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left{height:auto}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__remove{bottom:unset;margin-right:15px;position:relative;right:unset}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__picture{height:72px;position:relative;top:unset;width:72px}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__picture img{-o-object-fit:cover;border-radius:var(--m-border-radius);height:72px;object-fit:cover;width:72px}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__details{padding:0}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__actions{bottom:unset;flex-direction:column;gap:8px;position:relative}}@media (max-width:1022px) and (min-width:1023px){.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__actions .miam-basket-preview-line__item__inlineTag__container{width:100%}}@media (max-width:1022px){.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__left .miam-basket-preview-line__item__actions .miam-basket-preview-line__item__inlineTag__container .miam-basket-preview-line__item__inlineTag{padding:4px 16px}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right{flex-direction:row;margin:16px 0}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__price{margin:0 16px 0 0}.miam-basket-preview-lines .miam-basket-preview-line .miam-basket-preview-line__item .miam-basket-preview-line__item__right .miam-basket-preview-line__item__count{margin:0}}"], encapsulation: 2, changeDetection: 0 });
@@ -9256,23 +9325,22 @@ BasketPreviewLineComponent.ɵcmp = ɵɵdefineComponent({ type: BasketPreviewLine
9256
9325
  type: Output
9257
9326
  }] }); })();
9258
9327
 
9259
- const _c0$h = ["itemsList"];
9260
- function ReplaceItemComponent_div_24_Template(rf, ctx) { if (rf & 1) {
9261
- const _r5 = ɵɵgetCurrentView();
9262
- ɵɵelementStart(0, "div", 13);
9263
- ɵɵlistener("click", function ReplaceItemComponent_div_24_Template_div_click_0_listener() { ɵɵrestoreView(_r5); const item_r2 = ctx.$implicit; const ctx_r4 = ɵɵnextContext(); return ctx_r4.onSelectItem(item_r2); });
9264
- ɵɵelementStart(1, "div", 14);
9265
- ɵɵelement(2, "ng-miam-icon", 15);
9266
- ɵɵelement(3, "img", 16);
9328
+ function ReplaceItemComponent_div_22_Template(rf, ctx) { if (rf & 1) {
9329
+ const _r4 = ɵɵgetCurrentView();
9330
+ ɵɵelementStart(0, "div", 12);
9331
+ ɵɵlistener("click", function ReplaceItemComponent_div_22_Template_div_click_0_listener() { ɵɵrestoreView(_r4); const item_r1 = ctx.$implicit; const ctx_r3 = ɵɵnextContext(); return ctx_r3.onSelectItem(item_r1); });
9332
+ ɵɵelementStart(1, "div", 13);
9333
+ ɵɵelement(2, "ng-miam-icon", 14);
9334
+ ɵɵelement(3, "img", 15);
9267
9335
  ɵɵelementEnd();
9268
- ɵɵelementStart(4, "div", 14);
9269
- ɵɵelementStart(5, "div", 17);
9336
+ ɵɵelementStart(4, "div", 13);
9337
+ ɵɵelementStart(5, "div", 16);
9270
9338
  ɵɵelementStart(6, "div", 6);
9271
9339
  ɵɵtext(7);
9272
9340
  ɵɵelementEnd();
9273
9341
  ɵɵelementEnd();
9274
9342
  ɵɵelementEnd();
9275
- ɵɵelementStart(8, "div", 14);
9343
+ ɵɵelementStart(8, "div", 13);
9276
9344
  ɵɵelementStart(9, "div", 7);
9277
9345
  ɵɵelementStart(10, "span");
9278
9346
  ɵɵtext(11);
@@ -9287,18 +9355,18 @@ function ReplaceItemComponent_div_24_Template(rf, ctx) { if (rf & 1) {
9287
9355
  ɵɵelementEnd();
9288
9356
  ɵɵelementEnd();
9289
9357
  } if (rf & 2) {
9290
- const item_r2 = ctx.$implicit;
9291
- const ctx_r1 = ɵɵnextContext();
9358
+ const item_r1 = ctx.$implicit;
9359
+ const ctx_r0 = ɵɵnextContext();
9292
9360
  ɵɵadvance(2);
9293
- ɵɵproperty("height", 16)("width", 16)("iconName", ctx_r1.icon.Swap);
9361
+ ɵɵproperty("height", 16)("width", 16)("iconName", ctx_r0.icon.Swap);
9294
9362
  ɵɵadvance(1);
9295
- ɵɵproperty("src", item_r2 == null ? null : item_r2.attributes == null ? null : item_r2.attributes.image, ɵɵsanitizeUrl);
9363
+ ɵɵproperty("src", item_r1 == null ? null : item_r1.attributes == null ? null : item_r1.attributes.image, ɵɵsanitizeUrl);
9296
9364
  ɵɵadvance(4);
9297
- ɵɵtextInterpolate2(" ", item_r2 == null ? null : item_r2.attributes == null ? null : item_r2.attributes.name, " | ", item_r2 == null ? null : item_r2.capacity, " ");
9365
+ ɵɵtextInterpolate2(" ", item_r1 == null ? null : item_r1.attributes == null ? null : item_r1.attributes.name, " | ", item_r1 == null ? null : item_r1.capacity, " ");
9298
9366
  ɵɵadvance(4);
9299
- ɵɵtextInterpolate1("", ctx_r1.priceIntegerPart(item_r2 == null ? null : item_r2.attributes["unit-price"]), ",");
9367
+ ɵɵtextInterpolate1("", ctx_r0.priceIntegerPart(item_r1 == null ? null : item_r1.attributes["unit-price"]), ",");
9300
9368
  ɵɵadvance(2);
9301
- ɵɵtextInterpolate(ctx_r1.priceDecimalPart(item_r2 == null ? null : item_r2.attributes["unit-price"]));
9369
+ ɵɵtextInterpolate(ctx_r0.priceDecimalPart(item_r1 == null ? null : item_r1.attributes["unit-price"]));
9302
9370
  } }
9303
9371
  class ReplaceItemComponent {
9304
9372
  constructor(cdr, basketsService, analyticsService) {
@@ -9340,12 +9408,7 @@ class ReplaceItemComponent {
9340
9408
  }
9341
9409
  }
9342
9410
  ReplaceItemComponent.ɵfac = function ReplaceItemComponent_Factory(t) { return new (t || ReplaceItemComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(BasketsService), ɵɵdirectiveInject(AnalyticsService)); };
9343
- ReplaceItemComponent.ɵcmp = ɵɵdefineComponent({ type: ReplaceItemComponent, selectors: [["ng-miam-replace-item"]], viewQuery: function ReplaceItemComponent_Query(rf, ctx) { if (rf & 1) {
9344
- ɵɵstaticViewQuery(_c0$h, true);
9345
- } if (rf & 2) {
9346
- var _t;
9347
- ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.itemsListElement = _t.first);
9348
- } }, inputs: { line: "line" }, outputs: { selected: "selected" }, decls: 25, vars: 7, consts: [[1, "miam-replace-item"], [1, "m-button-secondary", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-replace-item__selected"], ["alt", "Image non disponible", 1, "miam-replace-item__selected__picture", 3, "src"], [1, "miam-replace-item__selected__column"], [1, "miam-replace-item__description"], [1, "miam-replace-item__price"], [1, "miam-replace-item__choices"], [1, "miam-replace-item__choices__action"], ["itemsList", ""], [1, "miam-replace-item__choices__list"], ["class", "miam-replace-item__choice", 3, "click", 4, "ngFor", "ngForOf"], [1, "miam-replace-item__choice", 3, "click"], [1, "miam-replace-item__choice__column"], [1, "miam-replace-item__choice__swap", 3, "height", "width", "iconName"], [3, "src"], [1, "miam-replace-item__choice__content"]], template: function ReplaceItemComponent_Template(rf, ctx) { if (rf & 1) {
9411
+ ReplaceItemComponent.ɵcmp = ɵɵdefineComponent({ type: ReplaceItemComponent, selectors: [["ng-miam-replace-item"]], inputs: { line: "line" }, outputs: { selected: "selected" }, decls: 23, vars: 7, consts: [[1, "miam-replace-item"], [1, "m-button-secondary", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-replace-item__selected"], ["alt", "Image non disponible", 1, "miam-replace-item__selected__picture", 3, "src"], [1, "miam-replace-item__selected__column"], [1, "miam-replace-item__description"], [1, "miam-replace-item__price"], [1, "miam-replace-item__choices"], [1, "miam-replace-item__choices__action"], [1, "miam-replace-item__choices__list"], ["class", "miam-replace-item__choice", 3, "click", 4, "ngFor", "ngForOf"], [1, "miam-replace-item__choice", 3, "click"], [1, "miam-replace-item__choice__column"], [1, "miam-replace-item__choice__swap", 3, "height", "width", "iconName"], [3, "src"], [1, "miam-replace-item__choice__content"]], template: function ReplaceItemComponent_Template(rf, ctx) { if (rf & 1) {
9349
9412
  ɵɵelementStart(0, "div", 0);
9350
9413
  ɵɵelementStart(1, "button", 1);
9351
9414
  ɵɵlistener("click", function ReplaceItemComponent_Template_button_click_1_listener() { return ctx.onClose(); });
@@ -9379,10 +9442,8 @@ ReplaceItemComponent.ɵcmp = ɵɵdefineComponent({ type: ReplaceItemComponent, s
9379
9442
  ɵɵtext(20, "Remplacer cet article par :");
9380
9443
  ɵɵelementEnd();
9381
9444
  ɵɵelementEnd();
9382
- ɵɵelementStart(21, "div", 8, 10);
9383
- ɵɵelementStart(23, "div", 11);
9384
- ɵɵtemplate(24, ReplaceItemComponent_div_24_Template, 16, 8, "div", 12);
9385
- ɵɵelementEnd();
9445
+ ɵɵelementStart(21, "div", 10);
9446
+ ɵɵtemplate(22, ReplaceItemComponent_div_22_Template, 16, 8, "div", 11);
9386
9447
  ɵɵelementEnd();
9387
9448
  ɵɵelementEnd();
9388
9449
  ɵɵelementEnd();
@@ -9397,7 +9458,7 @@ ReplaceItemComponent.ɵcmp = ɵɵdefineComponent({ type: ReplaceItemComponent, s
9397
9458
  ɵɵtextInterpolate1("", ctx.priceIntegerPart(ctx.line == null ? null : ctx.line.record == null ? null : ctx.line.record.totalPrice), ",");
9398
9459
  ɵɵadvance(2);
9399
9460
  ɵɵtextInterpolate(ctx.priceDecimalPart(ctx.line == null ? null : ctx.line.record == null ? null : ctx.line.record.totalPrice));
9400
- ɵɵadvance(10);
9461
+ ɵɵadvance(8);
9401
9462
  ɵɵproperty("ngForOf", ctx.line == null ? null : ctx.line.record == null ? null : ctx.line.record.candidateItems);
9402
9463
  } }, directives: [IconComponent, NgForOf], styles: [".miam-replace-item{background:var(--m-color-white);height:100%;width:100%}.miam-replace-item button{margin-left:16px;max-width:150px;padding:16px}.miam-replace-item button ng-miam-icon{height:16px;margin-left:0;padding-top:20px;transform:rotate(90deg)}.miam-replace-item button ng-miam-icon svg path:first-of-type{fill:none}.miam-replace-item .miam-replace-item__selected{align-items:center;border:1px solid var(--m-color-primary);border-radius:16px;display:flex;margin:16px;padding:16px}.miam-replace-item .miam-replace-item__selected .miam-replace-item__selected__picture{height:70px;margin:8px}.miam-replace-item .miam-replace-item__selected .miam-replace-item__selected__column{display:flex;flex-direction:column;padding:10px;width:100%}.miam-replace-item .miam-replace-item__selected .miam-replace-item__selected__column .miam-replace-item__description{text-align:left}.miam-replace-item .miam-replace-item__choices{display:flex;flex-direction:column;margin:auto;min-width:100%;padding-bottom:80px;position:relative;width:auto}@media (max-width:475px){.miam-replace-item .miam-replace-item__choices{min-width:unset}}.miam-replace-item .miam-replace-item__choices ::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-replace-item .miam-replace-item__choices ::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-replace-item .miam-replace-item__choices ::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__action{align-items:center;display:flex;justify-content:space-between;top:0}@media (max-width:475px){.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__action{margin-left:16px}}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__action div{font-size:16px;font-weight:700}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__action .miam-replace-item__choices__close{border:none;padding:0}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list{display:flex;flex-wrap:wrap;gap:16px;padding:16px}@media (max-width:475px){.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list{display:flex;gap:0;justify-content:space-between;margin:auto;padding:0;width:90vw}}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice{-webkit-tap-highlight-color:transparent;border:1px solid var(--m-color-hairlines);border-radius:var(--m-border-radius);cursor:pointer;display:flex;flex-direction:column;width:160px}@media (max-width:475px){.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice{margin-top:8px;width:40vw}}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice .miam-replace-item__choice__column{align-items:center;display:inline-flex;flex-direction:column;gap:8px;margin:8px}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice .miam-replace-item__choice__column .miam-replace-item__choice__content{align-items:center;display:flex;flex-direction:column}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice .miam-replace-item__choice__column img{-o-object-fit:cover;border-radius:var(--m-border-radius);height:50px;object-fit:cover;width:50px}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice .miam-replace-item__choice__swap{background-color:var(--m-color-secondary);border:1px solid var(--m-color-secondary);border-radius:16px;padding:4px;transition:var(--m-default-transition)}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice .miam-replace-item__choice__swap .icon-container svg{fill:var(--m-color-white)}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice:hover{background-color:var(--m-color-white)}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice:hover .miam-replace-item__choice__swap{background-color:#fff;color:var(--m-color-secondary);transform:scale(1.1)}.miam-replace-item .miam-replace-item__choices .miam-replace-item__choices__list .miam-replace-item__choice:hover .miam-replace-item__choice__swap .icon-container svg{fill:var(--m-color-secondary)}.miam-replace-item .miam-replace-item__title{display:inline-block;font-size:16px;font-weight:700;white-space:normal}.miam-replace-item .miam-replace-item__title:first-letter{text-transform:capitalize}.miam-replace-item .miam-replace-item__description{font-size:14px;text-align:center;white-space:normal}.miam-replace-item .miam-replace-item__price{font-size:20px;font-weight:700;text-align:right}"], encapsulation: 2, changeDetection: 0 });
9403
9464
  /*@__PURE__*/ (function () { ɵsetClassMetadata(ReplaceItemComponent, [{
@@ -9413,9 +9474,6 @@ ReplaceItemComponent.ɵcmp = ɵɵdefineComponent({ type: ReplaceItemComponent, s
9413
9474
  type: Input
9414
9475
  }], selected: [{
9415
9476
  type: Output
9416
- }], itemsListElement: [{
9417
- type: ViewChild,
9418
- args: ['itemsList', { static: true }]
9419
9477
  }] }); })();
9420
9478
 
9421
9479
  function BasketPreviewBlockComponent_div_0_ng_container_2_h3_1_button_2_Template(rf, ctx) { if (rf & 1) {
@@ -9432,7 +9490,7 @@ function BasketPreviewBlockComponent_div_0_ng_container_2_h3_1_button_2_Template
9432
9490
  ɵɵadvance(1);
9433
9491
  ɵɵproperty("iconName", ctx_r10.icon.Trash);
9434
9492
  } }
9435
- const _c0$i = function (a0) { return { "miam-basket-preview-block__chevron__down": a0 }; };
9493
+ const _c0$h = function (a0) { return { "miam-basket-preview-block__chevron__down": a0 }; };
9436
9494
  function BasketPreviewBlockComponent_div_0_ng_container_2_h3_1_Template(rf, ctx) { if (rf & 1) {
9437
9495
  const _r14 = ɵɵgetCurrentView();
9438
9496
  ɵɵelementStart(0, "h3", 9);
@@ -9449,7 +9507,7 @@ function BasketPreviewBlockComponent_div_0_ng_container_2_h3_1_Template(rf, ctx)
9449
9507
  ɵɵadvance(2);
9450
9508
  ɵɵproperty("ngIf", ctx_r7.showLines);
9451
9509
  ɵɵadvance(1);
9452
- ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$i, !ctx_r7.showLines));
9510
+ ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$h, !ctx_r7.showLines));
9453
9511
  ɵɵadvance(1);
9454
9512
  ɵɵproperty("iconName", ctx_r7.icon.ChevronDown);
9455
9513
  } }
@@ -9603,7 +9661,7 @@ class BasketPreviewBlockComponent {
9603
9661
  this.cdr.detectChanges();
9604
9662
  }
9605
9663
  removeRecipe(line) {
9606
- this.listsService.removeRecipeFromList(line.id);
9664
+ this.listsService.removeRecipeFromList(line.id).subscribe();
9607
9665
  }
9608
9666
  updateRecipe(line) {
9609
9667
  this.listsService.updateRecipeGuests(line.id, line.count);
@@ -9776,7 +9834,7 @@ function DrawerComponent_div_11_Template(rf, ctx) { if (rf & 1) {
9776
9834
  ɵɵadvance(1);
9777
9835
  ɵɵproperty("ngIf", ctx_r3.loading);
9778
9836
  } }
9779
- const _c0$j = function (a0) { return { expand: a0 }; };
9837
+ const _c0$i = function (a0) { return { expand: a0 }; };
9780
9838
  class DrawerComponent {
9781
9839
  constructor(cdr, listsService, posService, basketsService, analyticsService) {
9782
9840
  this.cdr = cdr;
@@ -9900,13 +9958,13 @@ DrawerComponent.ɵcmp = ɵɵdefineComponent({ type: DrawerComponent, selectors:
9900
9958
  } if (rf & 2) {
9901
9959
  ɵɵproperty("ngIf", ctx.expand);
9902
9960
  ɵɵadvance(1);
9903
- ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$j, ctx.expand));
9961
+ ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$i, ctx.expand));
9904
9962
  ɵɵadvance(1);
9905
9963
  ɵɵclassProp("jiggle", ctx.jiggle);
9906
9964
  ɵɵadvance(1);
9907
9965
  ɵɵproperty("ngIf", ctx.recipesCount && ctx.recipesCount > 0);
9908
9966
  ɵɵadvance(1);
9909
- ɵɵproperty("ngClass", ɵɵpureFunction1(10, _c0$j, ctx.expand));
9967
+ ɵɵproperty("ngClass", ɵɵpureFunction1(10, _c0$i, ctx.expand));
9910
9968
  ɵɵadvance(6);
9911
9969
  ɵɵproperty("ngIf", ctx.expand);
9912
9970
  ɵɵadvance(1);
@@ -9929,7 +9987,7 @@ DrawerComponent.ɵcmp = ɵɵdefineComponent({ type: DrawerComponent, selectors:
9929
9987
  args: ['document:click', ['$event']]
9930
9988
  }] }); })();
9931
9989
 
9932
- const _c0$k = ["miamCatalogTopAnchor"];
9990
+ const _c0$j = ["miamCatalogTopAnchor"];
9933
9991
  function RecipeCatalogComponent_div_2_div_4_Template(rf, ctx) { if (rf & 1) {
9934
9992
  const _r10 = ɵɵgetCurrentView();
9935
9993
  ɵɵelementStart(0, "div", 12);
@@ -10314,7 +10372,7 @@ class RecipeCatalogComponent {
10314
10372
  RecipeCatalogComponent.ɵfac = function RecipeCatalogComponent_Factory(t) { return new (t || RecipeCatalogComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipeTypeService), ɵɵdirectiveInject(SponsorService), ɵɵdirectiveInject(SuppliersService), ɵɵdirectiveInject(PackageService), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(MediaMatcher), ɵɵdirectiveInject(UserService)); };
10315
10373
  RecipeCatalogComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeCatalogComponent, selectors: [["ng-miam-recipe-catalog"]], viewQuery: function RecipeCatalogComponent_Query(rf, ctx) { if (rf & 1) {
10316
10374
  ɵɵviewQuery(CatalogHeaderComponent, true);
10317
- ɵɵviewQuery(_c0$k, true);
10375
+ ɵɵviewQuery(_c0$j, true);
10318
10376
  ɵɵviewQuery(CatalogCategoryComponent, true);
10319
10377
  } if (rf & 2) {
10320
10378
  var _t;
@@ -10370,7 +10428,7 @@ function FavoritePageComponent_div_2_div_6_Template(rf, ctx) { if (rf & 1) {
10370
10428
  ɵɵadvance(1);
10371
10429
  ɵɵproperty("iconName", ctx_r5.icon.ChevronDown);
10372
10430
  } }
10373
- const _c0$l = function (a0) { return { "filter-collapsed": a0 }; };
10431
+ const _c0$k = function (a0) { return { "filter-collapsed": a0 }; };
10374
10432
  function FavoritePageComponent_div_2_Template(rf, ctx) { if (rf & 1) {
10375
10433
  const _r13 = ɵɵgetCurrentView();
10376
10434
  ɵɵelementStart(0, "div", 4);
@@ -10393,7 +10451,7 @@ function FavoritePageComponent_div_2_Template(rf, ctx) { if (rf & 1) {
10393
10451
  ɵɵadvance(1);
10394
10452
  ɵɵproperty("ngIf", !(ctx_r1.listIsEmpty && ctx_r1.isMobile && ctx_r1.areFiltersEmpty()));
10395
10453
  ɵɵadvance(1);
10396
- ɵɵproperty("ngClass", ɵɵpureFunction1(9, _c0$l, ctx_r1.isFilterCollapsed));
10454
+ ɵɵproperty("ngClass", ɵɵpureFunction1(9, _c0$k, ctx_r1.isFilterCollapsed));
10397
10455
  ɵɵadvance(1);
10398
10456
  ɵɵproperty("displayReturnButton", false)("forcedPictureUrl", ctx_r1.forcedPictureUrl)("title", ctx_r1.homePageTitle);
10399
10457
  ɵɵadvance(2);
@@ -10525,7 +10583,7 @@ function ModalComponent_ng_container_0_button_13_Template(rf, ctx) { if (rf & 1)
10525
10583
  ɵɵadvance(1);
10526
10584
  ɵɵtextInterpolate1(" ", ctx_r5.confirmButtonText, " ");
10527
10585
  } }
10528
- const _c0$m = function (a0, a1) { return { "with-header": a0, "without-header": a1 }; };
10586
+ const _c0$l = function (a0, a1) { return { "with-header": a0, "without-header": a1 }; };
10529
10587
  function ModalComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
10530
10588
  const _r11 = ɵɵgetCurrentView();
10531
10589
  ɵɵelementContainerStart(0);
@@ -10555,7 +10613,7 @@ function ModalComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
10555
10613
  const _r2 = ɵɵreference(10);
10556
10614
  const ctx_r0 = ɵɵnextContext();
10557
10615
  ɵɵadvance(2);
10558
- ɵɵproperty("ngClass", ɵɵpureFunction2(9, _c0$m, !ctx_r0.noHeaderMode, ctx_r0.noHeaderMode));
10616
+ ɵɵproperty("ngClass", ɵɵpureFunction2(9, _c0$l, !ctx_r0.noHeaderMode, ctx_r0.noHeaderMode));
10559
10617
  ɵɵadvance(4);
10560
10618
  ɵɵtextInterpolate(ctx_r0.title);
10561
10619
  ɵɵadvance(1);
@@ -10778,7 +10836,7 @@ function PersonalRecipesComponent_div_2_div_7_Template(rf, ctx) { if (rf & 1) {
10778
10836
  ɵɵadvance(1);
10779
10837
  ɵɵproperty("iconName", ctx_r6.icon.ChevronDown);
10780
10838
  } }
10781
- const _c0$n = function (a0) { return { "filter-collapsed": a0 }; };
10839
+ const _c0$m = function (a0) { return { "filter-collapsed": a0 }; };
10782
10840
  function PersonalRecipesComponent_div_2_Template(rf, ctx) { if (rf & 1) {
10783
10841
  const _r16 = ɵɵgetCurrentView();
10784
10842
  ɵɵelementStart(0, "div", 4);
@@ -10802,7 +10860,7 @@ function PersonalRecipesComponent_div_2_Template(rf, ctx) { if (rf & 1) {
10802
10860
  ɵɵadvance(1);
10803
10861
  ɵɵproperty("ngIf", !(ctx_r1.listIsEmpty && ctx_r1.isMobile && ctx_r1.areFiltersEmpty()));
10804
10862
  ɵɵadvance(1);
10805
- ɵɵproperty("ngClass", ɵɵpureFunction1(11, _c0$n, ctx_r1.isFilterCollapsed));
10863
+ ɵɵproperty("ngClass", ɵɵpureFunction1(11, _c0$m, ctx_r1.isFilterCollapsed));
10806
10864
  ɵɵadvance(1);
10807
10865
  ɵɵproperty("displayReturnButton", false)("forcedPictureUrl", ctx_r1.forcedPictureUrl)("title", ctx_r1.homePageTitle);
10808
10866
  ɵɵadvance(2);
@@ -10961,7 +11019,7 @@ CalendarEventsService.ɵprov = ɵɵdefineInjectable({ token: CalendarEventsServi
10961
11019
  }]
10962
11020
  }], function () { return []; }, null); })();
10963
11021
 
10964
- const _c0$o = function (a0) { return { event: a0 }; };
11022
+ const _c0$n = function (a0) { return { event: a0 }; };
10965
11023
  function PlannerSideMenuComponent_div_7_Template(rf, ctx) { if (rf & 1) {
10966
11024
  ɵɵelementStart(0, "div", 3);
10967
11025
  ɵɵelement(1, "img", 4);
@@ -10969,7 +11027,7 @@ function PlannerSideMenuComponent_div_7_Template(rf, ctx) { if (rf & 1) {
10969
11027
  ɵɵelementEnd();
10970
11028
  } if (rf & 2) {
10971
11029
  const event_r1 = ctx.$implicit;
10972
- ɵɵproperty("dropData", ɵɵpureFunction1(3, _c0$o, event_r1));
11030
+ ɵɵproperty("dropData", ɵɵpureFunction1(3, _c0$n, event_r1));
10973
11031
  ɵɵadvance(1);
10974
11032
  ɵɵproperty("src", event_r1.recipe == null ? null : event_r1.recipe.attributes["media-url"], ɵɵsanitizeUrl);
10975
11033
  ɵɵadvance(1);
@@ -11188,47 +11246,47 @@ RecipeAddonComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeAddonComponent, s
11188
11246
  type: Output
11189
11247
  }] }); })();
11190
11248
 
11191
- const _c0$p = ["topContainerImg"];
11249
+ const _c0$o = ["topContainerImg"];
11192
11250
  const _c1$a = ["mainContainer"];
11193
11251
  function RecipeDetailsComponent_div_0_img_6_Template(rf, ctx) { if (rf & 1) {
11194
- ɵɵelement(0, "img", 40);
11252
+ ɵɵelement(0, "img", 41);
11195
11253
  } if (rf & 2) {
11196
11254
  const ctx_r5 = ɵɵnextContext(2);
11197
11255
  ɵɵproperty("src", ctx_r5.recipe == null ? null : ctx_r5.recipe.attributes["media-url"], ɵɵsanitizeUrl);
11198
11256
  } }
11199
11257
  function RecipeDetailsComponent_div_0_div_7_Template(rf, ctx) { if (rf & 1) {
11200
- ɵɵelement(0, "div", 41);
11258
+ ɵɵelement(0, "div", 42);
11201
11259
  } }
11202
11260
  function RecipeDetailsComponent_div_0_youtube_player_8_Template(rf, ctx) { if (rf & 1) {
11203
- ɵɵelement(0, "youtube-player", 42);
11261
+ ɵɵelement(0, "youtube-player", 43);
11204
11262
  } if (rf & 2) {
11205
11263
  const ctx_r7 = ɵɵnextContext(2);
11206
11264
  ɵɵproperty("videoId", ctx_r7.recipe.videoId)("width", ctx_r7.playerWidth)("height", ctx_r7.playerHeight);
11207
11265
  } }
11208
11266
  function RecipeDetailsComponent_div_0_div_9_Template(rf, ctx) { if (rf & 1) {
11209
- ɵɵelementStart(0, "div", 43);
11267
+ ɵɵelementStart(0, "div", 44);
11210
11268
  ɵɵtext(1, "D\u00E9j\u00E0 ajout\u00E9e");
11211
11269
  ɵɵelementEnd();
11212
11270
  } }
11213
11271
  function RecipeDetailsComponent_div_0_ng_miam_like_button_12_Template(rf, ctx) { if (rf & 1) {
11214
- ɵɵelement(0, "ng-miam-like-button", 44);
11272
+ ɵɵelement(0, "ng-miam-like-button", 45);
11215
11273
  } if (rf & 2) {
11216
11274
  const ctx_r9 = ɵɵnextContext(2);
11217
11275
  ɵɵproperty("recipe", ctx_r9.recipe)("width", 26)("height", 26);
11218
11276
  } }
11219
11277
  function RecipeDetailsComponent_div_0_img_16_Template(rf, ctx) { if (rf & 1) {
11220
- ɵɵelement(0, "img", 45);
11278
+ ɵɵelement(0, "img", 46);
11221
11279
  } if (rf & 2) {
11222
11280
  const ctx_r10 = ɵɵnextContext(2);
11223
11281
  ɵɵpropertyInterpolate("src", ctx_r10.recipe.filigraneLogoUrl, ɵɵsanitizeUrl);
11224
11282
  } }
11225
11283
  function RecipeDetailsComponent_div_0_div_23_Template(rf, ctx) { if (rf & 1) {
11226
- ɵɵelementStart(0, "div", 46);
11284
+ ɵɵelementStart(0, "div", 47);
11227
11285
  ɵɵelementStart(1, "span");
11228
11286
  ɵɵtext(2, "Pr\u00E9paration");
11229
11287
  ɵɵelementEnd();
11230
- ɵɵelementStart(3, "div", 47);
11231
- ɵɵelement(4, "ng-miam-icon", 48);
11288
+ ɵɵelementStart(3, "div", 48);
11289
+ ɵɵelement(4, "ng-miam-icon", 49);
11232
11290
  ɵɵelementStart(5, "span");
11233
11291
  ɵɵtext(6);
11234
11292
  ɵɵelementEnd();
@@ -11242,12 +11300,12 @@ function RecipeDetailsComponent_div_0_div_23_Template(rf, ctx) { if (rf & 1) {
11242
11300
  ɵɵtextInterpolate(ctx_r11.recipe == null ? null : ctx_r11.recipe.preparationTime);
11243
11301
  } }
11244
11302
  function RecipeDetailsComponent_div_0_div_24_Template(rf, ctx) { if (rf & 1) {
11245
- ɵɵelementStart(0, "div", 46);
11303
+ ɵɵelementStart(0, "div", 47);
11246
11304
  ɵɵelementStart(1, "span");
11247
11305
  ɵɵtext(2, "Cuisson");
11248
11306
  ɵɵelementEnd();
11249
- ɵɵelementStart(3, "div", 47);
11250
- ɵɵelement(4, "ng-miam-icon", 48);
11307
+ ɵɵelementStart(3, "div", 48);
11308
+ ɵɵelement(4, "ng-miam-icon", 49);
11251
11309
  ɵɵelementStart(5, "span");
11252
11310
  ɵɵtext(6);
11253
11311
  ɵɵelementEnd();
@@ -11261,12 +11319,12 @@ function RecipeDetailsComponent_div_0_div_24_Template(rf, ctx) { if (rf & 1) {
11261
11319
  ɵɵtextInterpolate(ctx_r12.recipe == null ? null : ctx_r12.recipe.cookingTime);
11262
11320
  } }
11263
11321
  function RecipeDetailsComponent_div_0_div_25_Template(rf, ctx) { if (rf & 1) {
11264
- ɵɵelementStart(0, "div", 46);
11322
+ ɵɵelementStart(0, "div", 47);
11265
11323
  ɵɵelementStart(1, "span");
11266
11324
  ɵɵtext(2, "Repos");
11267
11325
  ɵɵelementEnd();
11268
- ɵɵelementStart(3, "div", 47);
11269
- ɵɵelement(4, "ng-miam-icon", 48);
11326
+ ɵɵelementStart(3, "div", 48);
11327
+ ɵɵelement(4, "ng-miam-icon", 49);
11270
11328
  ɵɵelementStart(5, "span");
11271
11329
  ɵɵtext(6);
11272
11330
  ɵɵelementEnd();
@@ -11281,7 +11339,7 @@ function RecipeDetailsComponent_div_0_div_25_Template(rf, ctx) { if (rf & 1) {
11281
11339
  } }
11282
11340
  function RecipeDetailsComponent_div_0_ng_container_35_Template(rf, ctx) { if (rf & 1) {
11283
11341
  ɵɵelementContainerStart(0);
11284
- ɵɵelement(1, "ng-miam-icon", 49);
11342
+ ɵɵelement(1, "ng-miam-icon", 50);
11285
11343
  ɵɵelementContainerEnd();
11286
11344
  } if (rf & 2) {
11287
11345
  const ctx_r14 = ɵɵnextContext(2);
@@ -11290,7 +11348,7 @@ function RecipeDetailsComponent_div_0_ng_container_35_Template(rf, ctx) { if (rf
11290
11348
  } }
11291
11349
  function RecipeDetailsComponent_div_0_ng_container_36_Template(rf, ctx) { if (rf & 1) {
11292
11350
  ɵɵelementContainerStart(0);
11293
- ɵɵelement(1, "ng-miam-icon", 49);
11351
+ ɵɵelement(1, "ng-miam-icon", 50);
11294
11352
  ɵɵelementContainerEnd();
11295
11353
  } if (rf & 2) {
11296
11354
  const ctx_r15 = ɵɵnextContext(2);
@@ -11299,7 +11357,7 @@ function RecipeDetailsComponent_div_0_ng_container_36_Template(rf, ctx) { if (rf
11299
11357
  } }
11300
11358
  function RecipeDetailsComponent_div_0_ng_container_37_Template(rf, ctx) { if (rf & 1) {
11301
11359
  ɵɵelementContainerStart(0);
11302
- ɵɵelement(1, "ng-miam-icon", 49);
11360
+ ɵɵelement(1, "ng-miam-icon", 50);
11303
11361
  ɵɵelementContainerEnd();
11304
11362
  } if (rf & 2) {
11305
11363
  const ctx_r16 = ɵɵnextContext(2);
@@ -11309,286 +11367,338 @@ function RecipeDetailsComponent_div_0_ng_container_37_Template(rf, ctx) { if (rf
11309
11367
  function RecipeDetailsComponent_div_0_ng_container_38_Template(rf, ctx) { if (rf & 1) {
11310
11368
  ɵɵelementContainer(0);
11311
11369
  } }
11370
+ function RecipeDetailsComponent_div_0_button_51_ng_miam_icon_4_Template(rf, ctx) { if (rf & 1) {
11371
+ ɵɵelement(0, "ng-miam-icon", 54);
11372
+ ɵɵpipe(1, "async");
11373
+ } if (rf & 2) {
11374
+ const ctx_r25 = ɵɵnextContext(3);
11375
+ var tmp_2_0 = null;
11376
+ ɵɵproperty("width", 24)("height", 24)("iconName", ((tmp_2_0 = ɵɵpipeBind1(1, 3, ctx_r25.groceriesListsService.list$)) == null ? null : tmp_2_0.hasRecipe(ctx_r25.recipe == null ? null : ctx_r25.recipe.id)) ? ctx_r25.icon.CheckList : ctx_r25.icon.Cart);
11377
+ } }
11378
+ function RecipeDetailsComponent_div_0_button_51_ng_template_5_Template(rf, ctx) { if (rf & 1) {
11379
+ ɵɵelement(0, "ng-miam-loader");
11380
+ } }
11312
11381
  function RecipeDetailsComponent_div_0_button_51_Template(rf, ctx) { if (rf & 1) {
11313
- const _r25 = ɵɵgetCurrentView();
11314
- ɵɵelementStart(0, "button", 50);
11315
- ɵɵlistener("click", function RecipeDetailsComponent_div_0_button_51_Template_button_click_0_listener() { ɵɵrestoreView(_r25); const ctx_r24 = ɵɵnextContext(2); return ctx_r24.clickPrimary(); });
11382
+ const _r29 = ɵɵgetCurrentView();
11383
+ ɵɵelementStart(0, "button", 51);
11384
+ ɵɵlistener("click", function RecipeDetailsComponent_div_0_button_51_Template_button_click_0_listener() { ɵɵrestoreView(_r29); const ctx_r28 = ɵɵnextContext(2); return ctx_r28.clickPrimary(); });
11316
11385
  ɵɵelementStart(1, "span");
11317
11386
  ɵɵtext(2);
11318
11387
  ɵɵpipe(3, "async");
11319
11388
  ɵɵelementEnd();
11320
- ɵɵelement(4, "ng-miam-icon", 51);
11321
- ɵɵpipe(5, "async");
11389
+ ɵɵtemplate(4, RecipeDetailsComponent_div_0_button_51_ng_miam_icon_4_Template, 2, 5, "ng-miam-icon", 52);
11390
+ ɵɵtemplate(5, RecipeDetailsComponent_div_0_button_51_ng_template_5_Template, 1, 0, "ng-template", null, 53, ɵɵtemplateRefExtractor);
11322
11391
  ɵɵelementEnd();
11323
11392
  } if (rf & 2) {
11393
+ const _r26 = ɵɵreference(6);
11324
11394
  const ctx_r18 = ɵɵnextContext(2);
11325
11395
  var tmp_0_0 = null;
11326
- var tmp_3_0 = null;
11327
11396
  ɵɵadvance(2);
11328
- ɵɵtextInterpolate1(" ", ((tmp_0_0 = ɵɵpipeBind1(3, 4, ctx_r18.groceriesListsService.list$)) == null ? null : tmp_0_0.hasRecipe(ctx_r18.recipe == null ? null : ctx_r18.recipe.id)) ? "Voir le d\u00E9tail" : "S\u00E9lectionner ce repas", " ");
11397
+ ɵɵtextInterpolate1(" ", ((tmp_0_0 = ɵɵpipeBind1(3, 3, ctx_r18.groceriesListsService.list$)) == null ? null : tmp_0_0.hasRecipe(ctx_r18.recipe == null ? null : ctx_r18.recipe.id)) ? "Voir le d\u00E9tail" : "S\u00E9lectionner ce repas", " ");
11329
11398
  ɵɵadvance(2);
11330
- ɵɵproperty("width", 24)("height", 24)("iconName", ((tmp_3_0 = ɵɵpipeBind1(5, 6, ctx_r18.groceriesListsService.list$)) == null ? null : tmp_3_0.hasRecipe(ctx_r18.recipe == null ? null : ctx_r18.recipe.id)) ? ctx_r18.icon.CheckList : ctx_r18.icon.Cart);
11399
+ ɵɵproperty("ngIf", !ctx_r18.addButtonLoading)("ngIfElse", _r26);
11331
11400
  } }
11332
- function RecipeDetailsComponent_div_0_ng_miam_addon_link_54_Template(rf, ctx) { if (rf & 1) {
11333
- const _r27 = ɵɵgetCurrentView();
11334
- ɵɵelementStart(0, "ng-miam-addon-link", 52);
11335
- ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_54_Template_ng_miam_addon_link_showAddon_0_listener() { ɵɵrestoreView(_r27); const ctx_r26 = ɵɵnextContext(2); return ctx_r26.toggleAddon(); });
11401
+ function RecipeDetailsComponent_div_0_div_53_div_1_img_1_Template(rf, ctx) { if (rf & 1) {
11402
+ ɵɵelement(0, "img", 60);
11403
+ } if (rf & 2) {
11404
+ const tag_r31 = ɵɵnextContext().$implicit;
11405
+ ɵɵproperty("src", tag_r31.attributes.icon, ɵɵsanitizeUrl);
11406
+ } }
11407
+ function RecipeDetailsComponent_div_0_div_53_div_1_Template(rf, ctx) { if (rf & 1) {
11408
+ ɵɵelementStart(0, "div", 57);
11409
+ ɵɵtemplate(1, RecipeDetailsComponent_div_0_div_53_div_1_img_1_Template, 1, 1, "img", 58);
11410
+ ɵɵelementStart(2, "span", 59);
11411
+ ɵɵtext(3);
11412
+ ɵɵelementEnd();
11413
+ ɵɵelementEnd();
11414
+ } if (rf & 2) {
11415
+ const tag_r31 = ctx.$implicit;
11416
+ const ctx_r30 = ɵɵnextContext(3);
11417
+ ɵɵadvance(1);
11418
+ ɵɵproperty("ngIf", ctx_r30.displayTagsIcons);
11419
+ ɵɵadvance(2);
11420
+ ɵɵtextInterpolate1(" ", tag_r31.name, " ");
11421
+ } }
11422
+ function RecipeDetailsComponent_div_0_div_53_Template(rf, ctx) { if (rf & 1) {
11423
+ ɵɵelementStart(0, "div", 55);
11424
+ ɵɵtemplate(1, RecipeDetailsComponent_div_0_div_53_div_1_Template, 4, 2, "div", 56);
11336
11425
  ɵɵelementEnd();
11337
11426
  } if (rf & 2) {
11338
11427
  const ctx_r19 = ɵɵnextContext(2);
11339
- ɵɵproperty("recipe", ctx_r19.recipe);
11428
+ ɵɵadvance(1);
11429
+ ɵɵproperty("ngForOf", ctx_r19.recipe.relationships.tags.data);
11340
11430
  } }
11341
- function RecipeDetailsComponent_div_0_div_55_div_12_div_1_Template(rf, ctx) { if (rf & 1) {
11431
+ function RecipeDetailsComponent_div_0_ng_miam_addon_link_55_Template(rf, ctx) { if (rf & 1) {
11432
+ const _r35 = ɵɵgetCurrentView();
11433
+ ɵɵelementStart(0, "ng-miam-addon-link", 61);
11434
+ ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_ng_miam_addon_link_55_Template_ng_miam_addon_link_showAddon_0_listener() { ɵɵrestoreView(_r35); const ctx_r34 = ɵɵnextContext(2); return ctx_r34.toggleAddon(); });
11435
+ ɵɵelementEnd();
11436
+ } if (rf & 2) {
11437
+ const ctx_r20 = ɵɵnextContext(2);
11438
+ ɵɵproperty("recipe", ctx_r20.recipe);
11439
+ } }
11440
+ function RecipeDetailsComponent_div_0_div_56_div_12_div_1_Template(rf, ctx) { if (rf & 1) {
11342
11441
  ɵɵelementStart(0, "div");
11343
- ɵɵelement(1, "img", 68);
11442
+ ɵɵelement(1, "img", 77);
11344
11443
  ɵɵelementEnd();
11345
11444
  } if (rf & 2) {
11346
- const ingredient_r30 = ɵɵnextContext().$implicit;
11347
- const ctx_r32 = ɵɵnextContext(3);
11445
+ const ingredient_r38 = ɵɵnextContext().$implicit;
11446
+ const ctx_r40 = ɵɵnextContext(3);
11348
11447
  ɵɵadvance(1);
11349
- ɵɵproperty("src", ctx_r32.ingredientPicture(ingredient_r30), ɵɵsanitizeUrl);
11448
+ ɵɵproperty("src", ctx_r40.ingredientPicture(ingredient_r38), ɵɵsanitizeUrl);
11350
11449
  } }
11351
11450
  const _c2$2 = function (a0) { return { "checked": a0 }; };
11352
- function RecipeDetailsComponent_div_0_div_55_div_12_Template(rf, ctx) { if (rf & 1) {
11353
- ɵɵelementStart(0, "div", 66);
11354
- ɵɵtemplate(1, RecipeDetailsComponent_div_0_div_55_div_12_div_1_Template, 2, 1, "div", 67);
11451
+ function RecipeDetailsComponent_div_0_div_56_div_12_Template(rf, ctx) { if (rf & 1) {
11452
+ ɵɵelementStart(0, "div", 75);
11453
+ ɵɵtemplate(1, RecipeDetailsComponent_div_0_div_56_div_12_div_1_Template, 2, 1, "div", 76);
11355
11454
  ɵɵelementStart(2, "div");
11356
11455
  ɵɵtext(3);
11357
11456
  ɵɵpipe(4, "capitalizeFirstLetter");
11358
11457
  ɵɵelementEnd();
11359
- ɵɵelementStart(5, "div", 60);
11458
+ ɵɵelementStart(5, "div", 69);
11360
11459
  ɵɵtext(6);
11361
11460
  ɵɵpipe(7, "readableFloatNumber");
11362
11461
  ɵɵelementEnd();
11363
11462
  ɵɵelementEnd();
11364
11463
  } if (rf & 2) {
11365
- const ingredient_r30 = ctx.$implicit;
11366
- const i_r31 = ctx.index;
11367
- const ctx_r28 = ɵɵnextContext(3);
11368
- ɵɵproperty("ngClass", ɵɵpureFunction1(9, _c2$2, ctx_r28.ingredientsChecked[i_r31]));
11464
+ const ingredient_r38 = ctx.$implicit;
11465
+ const i_r39 = ctx.index;
11466
+ const ctx_r36 = ɵɵnextContext(3);
11467
+ ɵɵproperty("ngClass", ɵɵpureFunction1(9, _c2$2, ctx_r36.ingredientsChecked[i_r39]));
11369
11468
  ɵɵadvance(1);
11370
- ɵɵproperty("ngIf", ctx_r28.ingredientsPictures);
11469
+ ɵɵproperty("ngIf", ctx_r36.ingredientsPictures);
11371
11470
  ɵɵadvance(2);
11372
- ɵɵtextInterpolate1(" ", ɵɵpipeBind1(4, 4, ingredient_r30.name), "");
11471
+ ɵɵtextInterpolate1(" ", ɵɵpipeBind1(4, 4, ingredient_r38.name), "");
11373
11472
  ɵɵadvance(3);
11374
- ɵɵtextInterpolate1(" ", ɵɵpipeBind2(7, 6, ingredient_r30.qty, ingredient_r30.unit), "");
11473
+ ɵɵtextInterpolate1(" ", ɵɵpipeBind2(7, 6, ingredient_r38.qty, ingredient_r38.unit), "");
11375
11474
  } }
11376
- function RecipeDetailsComponent_div_0_div_55_div_17_ng_miam_icon_6_Template(rf, ctx) { if (rf & 1) {
11377
- ɵɵelement(0, "ng-miam-icon", 73);
11475
+ function RecipeDetailsComponent_div_0_div_56_div_17_ng_miam_icon_6_Template(rf, ctx) { if (rf & 1) {
11476
+ ɵɵelement(0, "ng-miam-icon", 82);
11378
11477
  } if (rf & 2) {
11379
- const ctx_r36 = ɵɵnextContext(4);
11380
- ɵɵproperty("height", 16)("width", 16)("iconName", ctx_r36.icon.CheckCircleFill);
11478
+ const ctx_r44 = ɵɵnextContext(4);
11479
+ ɵɵproperty("height", 16)("width", 16)("iconName", ctx_r44.icon.CheckCircleFill);
11381
11480
  } }
11382
- function RecipeDetailsComponent_div_0_div_55_div_17_Template(rf, ctx) { if (rf & 1) {
11383
- const _r38 = ɵɵgetCurrentView();
11384
- ɵɵelementStart(0, "div", 69);
11385
- ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_55_div_17_Template_div_click_0_listener() { ɵɵrestoreView(_r38); const i_r35 = ctx.index; const ctx_r37 = ɵɵnextContext(3); return ctx_r37.changeActiveStep(i_r35); });
11386
- ɵɵelementStart(1, "div", 70);
11481
+ function RecipeDetailsComponent_div_0_div_56_div_17_Template(rf, ctx) { if (rf & 1) {
11482
+ const _r46 = ɵɵgetCurrentView();
11483
+ ɵɵelementStart(0, "div", 78);
11484
+ ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_56_div_17_Template_div_click_0_listener() { ɵɵrestoreView(_r46); const i_r43 = ctx.index; const ctx_r45 = ɵɵnextContext(3); return ctx_r45.changeActiveStep(i_r43); });
11485
+ ɵɵelementStart(1, "div", 79);
11387
11486
  ɵɵelementStart(2, "strong");
11388
11487
  ɵɵtext(3);
11389
11488
  ɵɵelementEnd();
11390
11489
  ɵɵelementEnd();
11391
- ɵɵelementStart(4, "div", 71);
11490
+ ɵɵelementStart(4, "div", 80);
11392
11491
  ɵɵtext(5);
11393
11492
  ɵɵelementEnd();
11394
- ɵɵtemplate(6, RecipeDetailsComponent_div_0_div_55_div_17_ng_miam_icon_6_Template, 1, 3, "ng-miam-icon", 72);
11493
+ ɵɵtemplate(6, RecipeDetailsComponent_div_0_div_56_div_17_ng_miam_icon_6_Template, 1, 3, "ng-miam-icon", 81);
11395
11494
  ɵɵelementEnd();
11396
11495
  } if (rf & 2) {
11397
- const step_r34 = ctx.$implicit;
11398
- const i_r35 = ctx.index;
11399
- const ctx_r29 = ɵɵnextContext(3);
11400
- ɵɵclassProp("active", i_r35 === ctx_r29.activeStep)("miam-recipe-details__panel__done", i_r35 < ctx_r29.activeStep);
11496
+ const step_r42 = ctx.$implicit;
11497
+ const i_r43 = ctx.index;
11498
+ const ctx_r37 = ɵɵnextContext(3);
11499
+ ɵɵclassProp("active", i_r43 === ctx_r37.activeStep)("miam-recipe-details__panel__done", i_r43 < ctx_r37.activeStep);
11401
11500
  ɵɵadvance(3);
11402
- ɵɵtextInterpolate(i_r35 + 1);
11501
+ ɵɵtextInterpolate(i_r43 + 1);
11403
11502
  ɵɵadvance(2);
11404
- ɵɵtextInterpolate(step_r34 == null ? null : step_r34.attributes == null ? null : step_r34.attributes.description);
11503
+ ɵɵtextInterpolate(step_r42 == null ? null : step_r42.attributes == null ? null : step_r42.attributes.description);
11405
11504
  ɵɵadvance(1);
11406
- ɵɵproperty("ngIf", i_r35 <= ctx_r29.activeStep);
11505
+ ɵɵproperty("ngIf", i_r43 <= ctx_r37.activeStep);
11407
11506
  } }
11408
- function RecipeDetailsComponent_div_0_div_55_Template(rf, ctx) { if (rf & 1) {
11409
- const _r40 = ɵɵgetCurrentView();
11410
- ɵɵelementStart(0, "div", 53);
11411
- ɵɵelementStart(1, "div", 54);
11412
- ɵɵelementStart(2, "div", 55);
11507
+ function RecipeDetailsComponent_div_0_div_56_Template(rf, ctx) { if (rf & 1) {
11508
+ const _r48 = ɵɵgetCurrentView();
11509
+ ɵɵelementStart(0, "div", 62);
11510
+ ɵɵelementStart(1, "div", 63);
11511
+ ɵɵelementStart(2, "div", 64);
11413
11512
  ɵɵtext(3, " Ingr\u00E9dients ");
11414
11513
  ɵɵelementEnd();
11415
- ɵɵelementStart(4, "div", 56);
11416
- ɵɵelementStart(5, "div", 57);
11417
- ɵɵelementStart(6, "ng-miam-counter-input", 58);
11418
- ɵɵlistener("counterChange", function RecipeDetailsComponent_div_0_div_55_Template_ng_miam_counter_input_counterChange_6_listener($event) { ɵɵrestoreView(_r40); const ctx_r39 = ɵɵnextContext(2); return ctx_r39.updateGuests($event); });
11514
+ ɵɵelementStart(4, "div", 65);
11515
+ ɵɵelementStart(5, "div", 66);
11516
+ ɵɵelementStart(6, "ng-miam-counter-input", 67);
11517
+ ɵɵlistener("counterChange", function RecipeDetailsComponent_div_0_div_56_Template_ng_miam_counter_input_counterChange_6_listener($event) { ɵɵrestoreView(_r48); const ctx_r47 = ɵɵnextContext(2); return ctx_r47.updateGuests($event); });
11419
11518
  ɵɵelementEnd();
11420
- ɵɵelementStart(7, "span", 59);
11519
+ ɵɵelementStart(7, "span", 68);
11421
11520
  ɵɵtext(8);
11422
11521
  ɵɵelementEnd();
11423
11522
  ɵɵelementEnd();
11424
- ɵɵelementStart(9, "span", 60);
11523
+ ɵɵelementStart(9, "span", 69);
11425
11524
  ɵɵtext(10, "Quantit\u00E9");
11426
11525
  ɵɵelementEnd();
11427
11526
  ɵɵelementEnd();
11428
- ɵɵelementStart(11, "div", 61);
11429
- ɵɵtemplate(12, RecipeDetailsComponent_div_0_div_55_div_12_Template, 8, 11, "div", 62);
11527
+ ɵɵelementStart(11, "div", 70);
11528
+ ɵɵtemplate(12, RecipeDetailsComponent_div_0_div_56_div_12_Template, 8, 11, "div", 71);
11430
11529
  ɵɵelementEnd();
11431
11530
  ɵɵelementEnd();
11432
- ɵɵelementStart(13, "div", 63);
11433
- ɵɵelementStart(14, "div", 55);
11531
+ ɵɵelementStart(13, "div", 72);
11532
+ ɵɵelementStart(14, "div", 64);
11434
11533
  ɵɵtext(15, " Pr\u00E9paration ");
11435
11534
  ɵɵelementEnd();
11436
- ɵɵelementStart(16, "div", 64);
11437
- ɵɵtemplate(17, RecipeDetailsComponent_div_0_div_55_div_17_Template, 7, 7, "div", 65);
11535
+ ɵɵelementStart(16, "div", 73);
11536
+ ɵɵtemplate(17, RecipeDetailsComponent_div_0_div_56_div_17_Template, 7, 7, "div", 74);
11438
11537
  ɵɵelementEnd();
11439
11538
  ɵɵelementEnd();
11440
11539
  ɵɵelementEnd();
11441
11540
  } if (rf & 2) {
11442
- const ctx_r20 = ɵɵnextContext(2);
11541
+ const ctx_r21 = ɵɵnextContext(2);
11443
11542
  ɵɵadvance(6);
11444
- ɵɵproperty("counter", (ctx_r20.recipe == null ? null : ctx_r20.recipe.modifiedGuests) || ctx_r20.recipe.guests);
11543
+ ɵɵproperty("counter", (ctx_r21.recipe == null ? null : ctx_r21.recipe.modifiedGuests) || ctx_r21.recipe.guests);
11445
11544
  ɵɵadvance(2);
11446
- ɵɵtextInterpolate1("Pour ", ctx_r20.recipe == null ? null : ctx_r20.recipe.modifiedGuests, " personnes");
11545
+ ɵɵtextInterpolate1("Pour ", ctx_r21.recipe == null ? null : ctx_r21.recipe.modifiedGuests, " personnes");
11447
11546
  ɵɵadvance(4);
11448
- ɵɵproperty("ngForOf", ctx_r20.recipe == null ? null : ctx_r20.recipe.modifiedIngredients);
11547
+ ɵɵproperty("ngForOf", ctx_r21.recipe == null ? null : ctx_r21.recipe.modifiedIngredients);
11449
11548
  ɵɵadvance(5);
11450
- ɵɵproperty("ngForOf", ctx_r20.steps);
11549
+ ɵɵproperty("ngForOf", ctx_r21.steps);
11451
11550
  } }
11452
- function RecipeDetailsComponent_div_0_ng_template_56_ng_container_7_div_9_Template(rf, ctx) { if (rf & 1) {
11453
- ɵɵelementStart(0, "div", 66);
11551
+ function RecipeDetailsComponent_div_0_ng_template_57_ng_container_7_div_9_Template(rf, ctx) { if (rf & 1) {
11552
+ ɵɵelementStart(0, "div", 75);
11454
11553
  ɵɵelementStart(1, "div");
11455
11554
  ɵɵtext(2);
11456
11555
  ɵɵpipe(3, "capitalizeFirstLetter");
11457
11556
  ɵɵelementEnd();
11458
- ɵɵelementStart(4, "div", 60);
11557
+ ɵɵelementStart(4, "div", 69);
11459
11558
  ɵɵtext(5);
11460
11559
  ɵɵpipe(6, "readableFloatNumber");
11461
11560
  ɵɵelementEnd();
11462
11561
  ɵɵelementEnd();
11463
11562
  } if (rf & 2) {
11464
- const ingredient_r46 = ctx.$implicit;
11465
- const i_r47 = ctx.index;
11466
- const ctx_r45 = ɵɵnextContext(4);
11467
- ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c2$2, ctx_r45.ingredientsChecked[i_r47]));
11563
+ const ingredient_r54 = ctx.$implicit;
11564
+ const i_r55 = ctx.index;
11565
+ const ctx_r53 = ɵɵnextContext(4);
11566
+ ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c2$2, ctx_r53.ingredientsChecked[i_r55]));
11468
11567
  ɵɵadvance(2);
11469
- ɵɵtextInterpolate1(" ", ɵɵpipeBind1(3, 3, ingredient_r46.name), "");
11568
+ ɵɵtextInterpolate1(" ", ɵɵpipeBind1(3, 3, ingredient_r54.name), "");
11470
11569
  ɵɵadvance(3);
11471
- ɵɵtextInterpolate1(" ", ɵɵpipeBind2(6, 5, ingredient_r46.qty, ingredient_r46.unit), "");
11570
+ ɵɵtextInterpolate1(" ", ɵɵpipeBind2(6, 5, ingredient_r54.qty, ingredient_r54.unit), "");
11472
11571
  } }
11473
- function RecipeDetailsComponent_div_0_ng_template_56_ng_container_7_Template(rf, ctx) { if (rf & 1) {
11474
- const _r49 = ɵɵgetCurrentView();
11572
+ function RecipeDetailsComponent_div_0_ng_template_57_ng_container_7_Template(rf, ctx) { if (rf & 1) {
11573
+ const _r57 = ɵɵgetCurrentView();
11475
11574
  ɵɵelementContainerStart(0);
11476
- ɵɵelementStart(1, "div", 56);
11477
- ɵɵelementStart(2, "div", 57);
11478
- ɵɵelementStart(3, "ng-miam-counter-input", 58);
11479
- ɵɵlistener("counterChange", function RecipeDetailsComponent_div_0_ng_template_56_ng_container_7_Template_ng_miam_counter_input_counterChange_3_listener($event) { ɵɵrestoreView(_r49); const ctx_r48 = ɵɵnextContext(3); return ctx_r48.updateGuests($event); });
11575
+ ɵɵelementStart(1, "div", 65);
11576
+ ɵɵelementStart(2, "div", 66);
11577
+ ɵɵelementStart(3, "ng-miam-counter-input", 67);
11578
+ ɵɵlistener("counterChange", function RecipeDetailsComponent_div_0_ng_template_57_ng_container_7_Template_ng_miam_counter_input_counterChange_3_listener($event) { ɵɵrestoreView(_r57); const ctx_r56 = ɵɵnextContext(3); return ctx_r56.updateGuests($event); });
11480
11579
  ɵɵelementEnd();
11481
- ɵɵelementStart(4, "span", 59);
11580
+ ɵɵelementStart(4, "span", 68);
11482
11581
  ɵɵtext(5);
11483
11582
  ɵɵelementEnd();
11484
11583
  ɵɵelementEnd();
11485
- ɵɵelementStart(6, "span", 60);
11584
+ ɵɵelementStart(6, "span", 69);
11486
11585
  ɵɵtext(7, "Quantit\u00E9");
11487
11586
  ɵɵelementEnd();
11488
11587
  ɵɵelementEnd();
11489
- ɵɵelementStart(8, "div", 61);
11490
- ɵɵtemplate(9, RecipeDetailsComponent_div_0_ng_template_56_ng_container_7_div_9_Template, 7, 10, "div", 62);
11588
+ ɵɵelementStart(8, "div", 70);
11589
+ ɵɵtemplate(9, RecipeDetailsComponent_div_0_ng_template_57_ng_container_7_div_9_Template, 7, 10, "div", 71);
11491
11590
  ɵɵelementEnd();
11492
11591
  ɵɵelementContainerEnd();
11493
11592
  } if (rf & 2) {
11494
- const ctx_r42 = ɵɵnextContext(3);
11593
+ const ctx_r50 = ɵɵnextContext(3);
11495
11594
  ɵɵadvance(3);
11496
- ɵɵproperty("counter", ctx_r42.recipe == null ? null : ctx_r42.recipe.modifiedGuests);
11595
+ ɵɵproperty("counter", ctx_r50.recipe == null ? null : ctx_r50.recipe.modifiedGuests);
11497
11596
  ɵɵadvance(2);
11498
- ɵɵtextInterpolate1("Pour ", ctx_r42.recipe == null ? null : ctx_r42.recipe.modifiedGuests, " personnes");
11597
+ ɵɵtextInterpolate1("Pour ", ctx_r50.recipe == null ? null : ctx_r50.recipe.modifiedGuests, " personnes");
11499
11598
  ɵɵadvance(4);
11500
- ɵɵproperty("ngForOf", ctx_r42.recipe == null ? null : ctx_r42.recipe.modifiedIngredients);
11599
+ ɵɵproperty("ngForOf", ctx_r50.recipe == null ? null : ctx_r50.recipe.modifiedIngredients);
11501
11600
  } }
11502
- function RecipeDetailsComponent_div_0_ng_template_56_ng_template_8_div_1_ng_miam_icon_6_Template(rf, ctx) { if (rf & 1) {
11503
- ɵɵelement(0, "ng-miam-icon", 73);
11601
+ function RecipeDetailsComponent_div_0_ng_template_57_ng_template_8_div_1_ng_miam_icon_6_Template(rf, ctx) { if (rf & 1) {
11602
+ ɵɵelement(0, "ng-miam-icon", 82);
11504
11603
  } if (rf & 2) {
11505
- const ctx_r53 = ɵɵnextContext(5);
11506
- ɵɵproperty("height", 16)("width", 16)("iconName", ctx_r53.icon.CheckCircleFill);
11604
+ const ctx_r61 = ɵɵnextContext(5);
11605
+ ɵɵproperty("height", 16)("width", 16)("iconName", ctx_r61.icon.CheckCircleFill);
11507
11606
  } }
11508
- function RecipeDetailsComponent_div_0_ng_template_56_ng_template_8_div_1_Template(rf, ctx) { if (rf & 1) {
11509
- const _r55 = ɵɵgetCurrentView();
11510
- ɵɵelementStart(0, "div", 69);
11511
- ɵɵlistener("click", function RecipeDetailsComponent_div_0_ng_template_56_ng_template_8_div_1_Template_div_click_0_listener() { ɵɵrestoreView(_r55); const i_r52 = ctx.index; const ctx_r54 = ɵɵnextContext(4); return ctx_r54.changeActiveStep(i_r52); });
11512
- ɵɵelementStart(1, "div", 70);
11607
+ function RecipeDetailsComponent_div_0_ng_template_57_ng_template_8_div_1_Template(rf, ctx) { if (rf & 1) {
11608
+ const _r63 = ɵɵgetCurrentView();
11609
+ ɵɵelementStart(0, "div", 78);
11610
+ ɵɵlistener("click", function RecipeDetailsComponent_div_0_ng_template_57_ng_template_8_div_1_Template_div_click_0_listener() { ɵɵrestoreView(_r63); const i_r60 = ctx.index; const ctx_r62 = ɵɵnextContext(4); return ctx_r62.changeActiveStep(i_r60); });
11611
+ ɵɵelementStart(1, "div", 79);
11513
11612
  ɵɵelementStart(2, "strong");
11514
11613
  ɵɵtext(3);
11515
11614
  ɵɵelementEnd();
11516
11615
  ɵɵelementEnd();
11517
- ɵɵelementStart(4, "div", 71);
11616
+ ɵɵelementStart(4, "div", 80);
11518
11617
  ɵɵtext(5);
11519
11618
  ɵɵelementEnd();
11520
- ɵɵtemplate(6, RecipeDetailsComponent_div_0_ng_template_56_ng_template_8_div_1_ng_miam_icon_6_Template, 1, 3, "ng-miam-icon", 72);
11619
+ ɵɵtemplate(6, RecipeDetailsComponent_div_0_ng_template_57_ng_template_8_div_1_ng_miam_icon_6_Template, 1, 3, "ng-miam-icon", 81);
11521
11620
  ɵɵelementEnd();
11522
11621
  } if (rf & 2) {
11523
- const step_r51 = ctx.$implicit;
11524
- const i_r52 = ctx.index;
11525
- const ctx_r50 = ɵɵnextContext(4);
11526
- ɵɵclassProp("active", i_r52 === ctx_r50.activeStep)("miam-recipe-details__panel__done", i_r52 < ctx_r50.activeStep);
11622
+ const step_r59 = ctx.$implicit;
11623
+ const i_r60 = ctx.index;
11624
+ const ctx_r58 = ɵɵnextContext(4);
11625
+ ɵɵclassProp("active", i_r60 === ctx_r58.activeStep)("miam-recipe-details__panel__done", i_r60 < ctx_r58.activeStep);
11527
11626
  ɵɵadvance(3);
11528
- ɵɵtextInterpolate(i_r52 + 1);
11627
+ ɵɵtextInterpolate(i_r60 + 1);
11529
11628
  ɵɵadvance(2);
11530
- ɵɵtextInterpolate(step_r51 == null ? null : step_r51.attributes == null ? null : step_r51.attributes.description);
11629
+ ɵɵtextInterpolate(step_r59 == null ? null : step_r59.attributes == null ? null : step_r59.attributes.description);
11531
11630
  ɵɵadvance(1);
11532
- ɵɵproperty("ngIf", i_r52 <= ctx_r50.activeStep);
11631
+ ɵɵproperty("ngIf", i_r60 <= ctx_r58.activeStep);
11533
11632
  } }
11534
- function RecipeDetailsComponent_div_0_ng_template_56_ng_template_8_Template(rf, ctx) { if (rf & 1) {
11535
- ɵɵelementStart(0, "div", 64);
11536
- ɵɵtemplate(1, RecipeDetailsComponent_div_0_ng_template_56_ng_template_8_div_1_Template, 7, 7, "div", 65);
11633
+ function RecipeDetailsComponent_div_0_ng_template_57_ng_template_8_Template(rf, ctx) { if (rf & 1) {
11634
+ ɵɵelementStart(0, "div", 73);
11635
+ ɵɵtemplate(1, RecipeDetailsComponent_div_0_ng_template_57_ng_template_8_div_1_Template, 7, 7, "div", 74);
11537
11636
  ɵɵelementEnd();
11538
11637
  } if (rf & 2) {
11539
- const ctx_r44 = ɵɵnextContext(3);
11638
+ const ctx_r52 = ɵɵnextContext(3);
11540
11639
  ɵɵadvance(1);
11541
- ɵɵproperty("ngForOf", ctx_r44.steps);
11640
+ ɵɵproperty("ngForOf", ctx_r52.steps);
11542
11641
  } }
11543
11642
  const _c3$1 = function (a0) { return { "active": a0 }; };
11544
- function RecipeDetailsComponent_div_0_ng_template_56_Template(rf, ctx) { if (rf & 1) {
11545
- const _r57 = ɵɵgetCurrentView();
11546
- ɵɵelementStart(0, "div", 74, 75);
11547
- ɵɵelementStart(2, "div", 76);
11548
- ɵɵelementStart(3, "button", 77);
11549
- ɵɵlistener("click", function RecipeDetailsComponent_div_0_ng_template_56_Template_button_click_3_listener() { ɵɵrestoreView(_r57); const _r41 = ɵɵreference(1); const ctx_r56 = ɵɵnextContext(2); ctx_r56.toggleShowIngredient(true); return _r41.scrollIntoView(); });
11643
+ function RecipeDetailsComponent_div_0_ng_template_57_Template(rf, ctx) { if (rf & 1) {
11644
+ const _r65 = ɵɵgetCurrentView();
11645
+ ɵɵelementStart(0, "div", 83, 84);
11646
+ ɵɵelementStart(2, "div", 85);
11647
+ ɵɵelementStart(3, "button", 86);
11648
+ ɵɵlistener("click", function RecipeDetailsComponent_div_0_ng_template_57_Template_button_click_3_listener() { ɵɵrestoreView(_r65); const _r49 = ɵɵreference(1); const ctx_r64 = ɵɵnextContext(2); ctx_r64.toggleShowIngredient(true); return _r49.scrollIntoView(); });
11550
11649
  ɵɵtext(4, "Ingredients");
11551
11650
  ɵɵelementEnd();
11552
- ɵɵelementStart(5, "button", 77);
11553
- ɵɵlistener("click", function RecipeDetailsComponent_div_0_ng_template_56_Template_button_click_5_listener() { ɵɵrestoreView(_r57); const _r41 = ɵɵreference(1); const ctx_r58 = ɵɵnextContext(2); ctx_r58.toggleShowIngredient(false); return _r41.scrollIntoView(); });
11651
+ ɵɵelementStart(5, "button", 86);
11652
+ ɵɵlistener("click", function RecipeDetailsComponent_div_0_ng_template_57_Template_button_click_5_listener() { ɵɵrestoreView(_r65); const _r49 = ɵɵreference(1); const ctx_r66 = ɵɵnextContext(2); ctx_r66.toggleShowIngredient(false); return _r49.scrollIntoView(); });
11554
11653
  ɵɵtext(6, "Pr\u00E9paration");
11555
11654
  ɵɵelementEnd();
11556
11655
  ɵɵelementEnd();
11557
- ɵɵtemplate(7, RecipeDetailsComponent_div_0_ng_template_56_ng_container_7_Template, 10, 3, "ng-container", 78);
11558
- ɵɵtemplate(8, RecipeDetailsComponent_div_0_ng_template_56_ng_template_8_Template, 2, 1, "ng-template", null, 79, ɵɵtemplateRefExtractor);
11656
+ ɵɵtemplate(7, RecipeDetailsComponent_div_0_ng_template_57_ng_container_7_Template, 10, 3, "ng-container", 87);
11657
+ ɵɵtemplate(8, RecipeDetailsComponent_div_0_ng_template_57_ng_template_8_Template, 2, 1, "ng-template", null, 88, ɵɵtemplateRefExtractor);
11559
11658
  ɵɵelementEnd();
11560
11659
  } if (rf & 2) {
11561
- const _r43 = ɵɵreference(9);
11562
- const ctx_r22 = ɵɵnextContext(2);
11660
+ const _r51 = ɵɵreference(9);
11661
+ const ctx_r23 = ɵɵnextContext(2);
11563
11662
  ɵɵadvance(3);
11564
- ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c3$1, ctx_r22.showIngredient));
11663
+ ɵɵproperty("ngClass", ɵɵpureFunction1(4, _c3$1, ctx_r23.showIngredient));
11565
11664
  ɵɵadvance(2);
11566
- ɵɵproperty("ngClass", ɵɵpureFunction1(6, _c3$1, !ctx_r22.showIngredient));
11665
+ ɵɵproperty("ngClass", ɵɵpureFunction1(6, _c3$1, !ctx_r23.showIngredient));
11567
11666
  ɵɵadvance(2);
11568
- ɵɵproperty("ngIf", ctx_r22.showIngredient)("ngIfElse", _r43);
11667
+ ɵɵproperty("ngIf", ctx_r23.showIngredient)("ngIfElse", _r51);
11668
+ } }
11669
+ function RecipeDetailsComponent_div_0_button_63_ng_miam_icon_4_Template(rf, ctx) { if (rf & 1) {
11670
+ ɵɵelement(0, "ng-miam-icon", 54);
11671
+ ɵɵpipe(1, "async");
11672
+ } if (rf & 2) {
11673
+ const ctx_r67 = ɵɵnextContext(3);
11674
+ var tmp_2_0 = null;
11675
+ ɵɵproperty("width", 24)("height", 24)("iconName", ((tmp_2_0 = ɵɵpipeBind1(1, 3, ctx_r67.groceriesListsService.list$)) == null ? null : tmp_2_0.hasRecipe(ctx_r67.recipe == null ? null : ctx_r67.recipe.id)) ? ctx_r67.icon.CheckList : ctx_r67.icon.Cart);
11676
+ } }
11677
+ function RecipeDetailsComponent_div_0_button_63_ng_template_5_Template(rf, ctx) { if (rf & 1) {
11678
+ ɵɵelement(0, "ng-miam-loader");
11569
11679
  } }
11570
- function RecipeDetailsComponent_div_0_button_62_Template(rf, ctx) { if (rf & 1) {
11571
- const _r60 = ɵɵgetCurrentView();
11572
- ɵɵelementStart(0, "button", 50);
11573
- ɵɵlistener("click", function RecipeDetailsComponent_div_0_button_62_Template_button_click_0_listener() { ɵɵrestoreView(_r60); const ctx_r59 = ɵɵnextContext(2); return ctx_r59.clickPrimary(); });
11680
+ function RecipeDetailsComponent_div_0_button_63_Template(rf, ctx) { if (rf & 1) {
11681
+ const _r71 = ɵɵgetCurrentView();
11682
+ ɵɵelementStart(0, "button", 51);
11683
+ ɵɵlistener("click", function RecipeDetailsComponent_div_0_button_63_Template_button_click_0_listener() { ɵɵrestoreView(_r71); const ctx_r70 = ɵɵnextContext(2); return ctx_r70.clickPrimary(); });
11574
11684
  ɵɵelementStart(1, "span");
11575
11685
  ɵɵtext(2);
11576
11686
  ɵɵpipe(3, "async");
11577
11687
  ɵɵelementEnd();
11578
- ɵɵelement(4, "ng-miam-icon", 51);
11579
- ɵɵpipe(5, "async");
11688
+ ɵɵtemplate(4, RecipeDetailsComponent_div_0_button_63_ng_miam_icon_4_Template, 2, 5, "ng-miam-icon", 52);
11689
+ ɵɵtemplate(5, RecipeDetailsComponent_div_0_button_63_ng_template_5_Template, 1, 0, "ng-template", null, 53, ɵɵtemplateRefExtractor);
11580
11690
  ɵɵelementEnd();
11581
11691
  } if (rf & 2) {
11582
- const ctx_r23 = ɵɵnextContext(2);
11692
+ const _r68 = ɵɵreference(6);
11693
+ const ctx_r24 = ɵɵnextContext(2);
11583
11694
  var tmp_0_0 = null;
11584
- var tmp_3_0 = null;
11585
11695
  ɵɵadvance(2);
11586
- ɵɵtextInterpolate1(" ", ((tmp_0_0 = ɵɵpipeBind1(3, 4, ctx_r23.groceriesListsService.list$)) == null ? null : tmp_0_0.hasRecipe(ctx_r23.recipe == null ? null : ctx_r23.recipe.id)) ? "Voir le d\u00E9tail" : "S\u00E9lectionner ce repas", " ");
11696
+ ɵɵtextInterpolate1(" ", ((tmp_0_0 = ɵɵpipeBind1(3, 3, ctx_r24.groceriesListsService.list$)) == null ? null : tmp_0_0.hasRecipe(ctx_r24.recipe == null ? null : ctx_r24.recipe.id)) ? "Voir le d\u00E9tail" : "S\u00E9lectionner ce repas", " ");
11587
11697
  ɵɵadvance(2);
11588
- ɵɵproperty("width", 24)("height", 24)("iconName", ((tmp_3_0 = ɵɵpipeBind1(5, 6, ctx_r23.groceriesListsService.list$)) == null ? null : tmp_3_0.hasRecipe(ctx_r23.recipe == null ? null : ctx_r23.recipe.id)) ? ctx_r23.icon.CheckList : ctx_r23.icon.Cart);
11698
+ ɵɵproperty("ngIf", !ctx_r24.addButtonLoading)("ngIfElse", _r68);
11589
11699
  } }
11590
11700
  function RecipeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11591
- const _r62 = ɵɵgetCurrentView();
11701
+ const _r73 = ɵɵgetCurrentView();
11592
11702
  ɵɵelementStart(0, "div", 2, 3);
11593
11703
  ɵɵelementStart(2, "div", 4);
11594
11704
  ɵɵelementStart(3, "div", 5);
@@ -11644,7 +11754,7 @@ function RecipeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11644
11754
  ɵɵelementStart(42, "div", 29);
11645
11755
  ɵɵtext(43);
11646
11756
  ɵɵelementStart(44, "div", 30);
11647
- ɵɵlistener("click", function RecipeDetailsComponent_div_0_Template_div_click_44_listener() { ɵɵrestoreView(_r62); const ctx_r61 = ɵɵnextContext(); return ctx_r61.print(); });
11757
+ ɵɵlistener("click", function RecipeDetailsComponent_div_0_Template_div_click_44_listener() { ɵɵrestoreView(_r73); const ctx_r72 = ɵɵnextContext(); return ctx_r72.print(); });
11648
11758
  ɵɵelement(45, "ng-miam-icon", 14);
11649
11759
  ɵɵelementStart(46, "span");
11650
11760
  ɵɵtext(47, " Imprimer la recette ");
@@ -11656,27 +11766,28 @@ function RecipeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11656
11766
  ɵɵelementStart(49, "div", 32);
11657
11767
  ɵɵelement(50, "ng-miam-recipe-pricing", 33);
11658
11768
  ɵɵelementEnd();
11659
- ɵɵtemplate(51, RecipeDetailsComponent_div_0_button_51_Template, 6, 8, "button", 34);
11769
+ ɵɵtemplate(51, RecipeDetailsComponent_div_0_button_51_Template, 7, 5, "button", 34);
11660
11770
  ɵɵelementEnd();
11661
11771
  ɵɵelementEnd();
11662
11772
  ɵɵelementEnd();
11663
11773
  ɵɵelement(52, "div", 35);
11664
- ɵɵelementStart(53, "div");
11665
- ɵɵtemplate(54, RecipeDetailsComponent_div_0_ng_miam_addon_link_54_Template, 1, 1, "ng-miam-addon-link", 36);
11774
+ ɵɵtemplate(53, RecipeDetailsComponent_div_0_div_53_Template, 2, 1, "div", 36);
11775
+ ɵɵelementStart(54, "div");
11776
+ ɵɵtemplate(55, RecipeDetailsComponent_div_0_ng_miam_addon_link_55_Template, 1, 1, "ng-miam-addon-link", 37);
11666
11777
  ɵɵelementEnd();
11667
- ɵɵtemplate(55, RecipeDetailsComponent_div_0_div_55_Template, 18, 4, "div", 37);
11668
- ɵɵtemplate(56, RecipeDetailsComponent_div_0_ng_template_56_Template, 10, 8, "ng-template", null, 38, ɵɵtemplateRefExtractor);
11669
- ɵɵelementStart(58, "div", 39);
11670
- ɵɵelementStart(59, "div", 31);
11671
- ɵɵelementStart(60, "div", 32);
11672
- ɵɵelement(61, "ng-miam-recipe-pricing", 33);
11778
+ ɵɵtemplate(56, RecipeDetailsComponent_div_0_div_56_Template, 18, 4, "div", 38);
11779
+ ɵɵtemplate(57, RecipeDetailsComponent_div_0_ng_template_57_Template, 10, 8, "ng-template", null, 39, ɵɵtemplateRefExtractor);
11780
+ ɵɵelementStart(59, "div", 40);
11781
+ ɵɵelementStart(60, "div", 31);
11782
+ ɵɵelementStart(61, "div", 32);
11783
+ ɵɵelement(62, "ng-miam-recipe-pricing", 33);
11673
11784
  ɵɵelementEnd();
11674
- ɵɵtemplate(62, RecipeDetailsComponent_div_0_button_62_Template, 6, 8, "button", 34);
11785
+ ɵɵtemplate(63, RecipeDetailsComponent_div_0_button_63_Template, 7, 5, "button", 34);
11675
11786
  ɵɵelementEnd();
11676
11787
  ɵɵelementEnd();
11677
11788
  ɵɵelementEnd();
11678
11789
  } if (rf & 2) {
11679
- const _r21 = ɵɵreference(57);
11790
+ const _r22 = ɵɵreference(58);
11680
11791
  const ctx_r0 = ɵɵnextContext();
11681
11792
  var tmp_3_0 = null;
11682
11793
  ɵɵadvance(6);
@@ -11686,9 +11797,9 @@ function RecipeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11686
11797
  ɵɵadvance(1);
11687
11798
  ɵɵproperty("ngIf", ctx_r0.showVideo && ctx_r0.playerWidth);
11688
11799
  ɵɵadvance(1);
11689
- ɵɵproperty("ngIf", (tmp_3_0 = ɵɵpipeBind1(10, 39, ctx_r0.groceriesListsService.list$)) == null ? null : tmp_3_0.hasRecipe(ctx_r0.recipe == null ? null : ctx_r0.recipe.id));
11800
+ ɵɵproperty("ngIf", (tmp_3_0 = ɵɵpipeBind1(10, 40, ctx_r0.groceriesListsService.list$)) == null ? null : tmp_3_0.hasRecipe(ctx_r0.recipe == null ? null : ctx_r0.recipe.id));
11690
11801
  ɵɵadvance(3);
11691
- ɵɵproperty("ngIf", ɵɵpipeBind1(13, 41, ctx_r0.userService.isLogged$));
11802
+ ɵɵproperty("ngIf", ɵɵpipeBind1(13, 42, ctx_r0.userService.isLogged$));
11692
11803
  ɵɵadvance(2);
11693
11804
  ɵɵproperty("width", 26)("height", 26)("iconName", ctx_r0.icon.Calendar);
11694
11805
  ɵɵadvance(1);
@@ -11706,7 +11817,7 @@ function RecipeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11706
11817
  ɵɵadvance(1);
11707
11818
  ɵɵproperty("ngIf", (ctx_r0.recipe == null ? null : ctx_r0.recipe.restingTime) !== "-");
11708
11819
  ɵɵadvance(4);
11709
- ɵɵtextInterpolate(ɵɵpipeBind1(30, 43, ctx_r0.recipe == null ? null : ctx_r0.recipe.recipeType == null ? null : ctx_r0.recipe.recipeType.attributes == null ? null : ctx_r0.recipe.recipeType.attributes.name));
11820
+ ɵɵtextInterpolate(ɵɵpipeBind1(30, 44, ctx_r0.recipe == null ? null : ctx_r0.recipe.recipeType == null ? null : ctx_r0.recipe.recipeType.attributes == null ? null : ctx_r0.recipe.recipeType.attributes.name));
11710
11821
  ɵɵadvance(3);
11711
11822
  ɵɵtextInterpolate(ctx_r0.recipe == null ? null : ctx_r0.recipe.attributes["title"]);
11712
11823
  ɵɵadvance(2);
@@ -11718,7 +11829,7 @@ function RecipeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11718
11829
  ɵɵadvance(1);
11719
11830
  ɵɵproperty("ngSwitchCase", "difficile");
11720
11831
  ɵɵadvance(3);
11721
- ɵɵtextInterpolate(ɵɵpipeBind1(41, 45, ctx_r0.recipe == null ? null : ctx_r0.recipe.difficultyLabel));
11832
+ ɵɵtextInterpolate(ɵɵpipeBind1(41, 46, ctx_r0.recipe == null ? null : ctx_r0.recipe.difficultyLabel));
11722
11833
  ɵɵadvance(3);
11723
11834
  ɵɵtextInterpolate1(" ", ctx_r0.recipe == null ? null : ctx_r0.recipe.attributes["description"], " ");
11724
11835
  ɵɵadvance(2);
@@ -11727,19 +11838,21 @@ function RecipeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
11727
11838
  ɵɵproperty("recipe", ctx_r0.recipe)("serves", ctx_r0.recipe == null ? null : ctx_r0.recipe.modifiedGuests);
11728
11839
  ɵɵadvance(1);
11729
11840
  ɵɵproperty("ngIf", ctx_r0.previewAllowed);
11730
- ɵɵadvance(3);
11841
+ ɵɵadvance(2);
11842
+ ɵɵproperty("ngIf", ctx_r0.displayTags);
11843
+ ɵɵadvance(2);
11731
11844
  ɵɵproperty("ngIf", (ctx_r0.recipe == null ? null : ctx_r0.recipe.sponsors == null ? null : ctx_r0.recipe.sponsors.length) > 0 || ctx_r0.recipe.informationalSentence);
11732
11845
  ɵɵadvance(1);
11733
- ɵɵproperty("ngIf", !ctx_r0.isMobile)("ngIfElse", _r21);
11846
+ ɵɵproperty("ngIf", !ctx_r0.isMobile)("ngIfElse", _r22);
11734
11847
  ɵɵadvance(6);
11735
11848
  ɵɵproperty("recipe", ctx_r0.recipe)("serves", ctx_r0.recipe == null ? null : ctx_r0.recipe.modifiedGuests);
11736
11849
  ɵɵadvance(1);
11737
11850
  ɵɵproperty("ngIf", ctx_r0.previewAllowed);
11738
11851
  } }
11739
11852
  function RecipeDetailsComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
11740
- const _r64 = ɵɵgetCurrentView();
11741
- ɵɵelementStart(0, "ng-miam-recipe-addon", 80);
11742
- ɵɵlistener("hideAddon", function RecipeDetailsComponent_ng_template_1_Template_ng_miam_recipe_addon_hideAddon_0_listener() { ɵɵrestoreView(_r64); const ctx_r63 = ɵɵnextContext(); return ctx_r63.toggleAddon(); });
11853
+ const _r75 = ɵɵgetCurrentView();
11854
+ ɵɵelementStart(0, "ng-miam-recipe-addon", 89);
11855
+ ɵɵlistener("hideAddon", function RecipeDetailsComponent_ng_template_1_Template_ng_miam_recipe_addon_hideAddon_0_listener() { ɵɵrestoreView(_r75); const ctx_r74 = ɵɵnextContext(); return ctx_r74.toggleAddon(); });
11743
11856
  ɵɵelementEnd();
11744
11857
  } if (rf & 2) {
11745
11858
  const ctx_r2 = ɵɵnextContext();
@@ -11756,6 +11869,8 @@ class RecipeDetailsComponent {
11756
11869
  this.contextService = contextService;
11757
11870
  this.previewAllowed = true;
11758
11871
  this.ingredientsPictures = false;
11872
+ this.displayTags = false;
11873
+ this.displayTagsIcons = false;
11759
11874
  this.recipeAdded = new EventEmitter();
11760
11875
  this.recipeChanged = new EventEmitter();
11761
11876
  this.recipeError = new EventEmitter();
@@ -11770,6 +11885,7 @@ class RecipeDetailsComponent {
11770
11885
  this.showIngredient = true;
11771
11886
  this.closeIconhidden = new BehaviorSubject(false);
11772
11887
  this.scrollListenerInitialised = false;
11888
+ this.addButtonLoading = false;
11773
11889
  this.subscriptions = [];
11774
11890
  this.isMobile = this.mediaMatcher.matchMedia('(max-width: 1023px)').matches;
11775
11891
  }
@@ -11819,10 +11935,14 @@ class RecipeDetailsComponent {
11819
11935
  this.cdr.detectChanges();
11820
11936
  }
11821
11937
  clickPrimary() {
11822
- this.primaryButtonClicked$.emit();
11823
- this.addRecipe();
11938
+ if (!this.addButtonLoading) {
11939
+ const wasAdded = !this.groceriesListsService.list$.value.hasRecipe(this.recipe.id);
11940
+ this.addRecipe();
11941
+ this.primaryButtonClicked$.emit(wasAdded);
11942
+ }
11824
11943
  }
11825
11944
  addRecipe() {
11945
+ this.toggleButtonLoader(true);
11826
11946
  forkJoin([
11827
11947
  this.userService.isLogged$.asObservable().pipe(take(1)),
11828
11948
  this.posService.isPosValid().pipe(take(1))
@@ -11840,7 +11960,10 @@ class RecipeDetailsComponent {
11840
11960
  if (!this.groceriesListsService.list$.value.hasRecipe(this.recipe.id)) {
11841
11961
  this.recipeEventsService.sendEvent(this.recipe, this.recipeEventsService.ACTION_ADDED);
11842
11962
  }
11843
- this.groceriesListsService.appendRecipeToList(this.recipe.id, this.recipe.modifiedGuests);
11963
+ this.subscriptions.push(this.groceriesListsService.appendRecipeToList(this.recipe.id, this.recipe.modifiedGuests)
11964
+ .subscribe(l => {
11965
+ this.toggleButtonLoader(false);
11966
+ }));
11844
11967
  this.recipeAdded.emit();
11845
11968
  }
11846
11969
  addRecipeActionKO() {
@@ -11871,25 +11994,29 @@ class RecipeDetailsComponent {
11871
11994
  this.showIngredient = isShowed;
11872
11995
  this.cdr.detectChanges();
11873
11996
  }
11997
+ toggleButtonLoader(value) {
11998
+ this.addButtonLoading = value;
11999
+ this.cdr.detectChanges();
12000
+ }
11874
12001
  ingredientPicture(ingredient) {
11875
12002
  return ingredient.picture || this.contextService.defaultIngredientPicture;
11876
12003
  }
11877
12004
  }
11878
12005
  RecipeDetailsComponent.ɵfac = function RecipeDetailsComponent_Factory(t) { return new (t || RecipeDetailsComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(MediaMatcher), ɵɵdirectiveInject(GroceriesListsService), ɵɵdirectiveInject(UserService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(RecipeEventsService), ɵɵdirectiveInject(ContextService)); };
11879
12006
  RecipeDetailsComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeDetailsComponent, selectors: [["ng-miam-recipe-details"]], viewQuery: function RecipeDetailsComponent_Query(rf, ctx) { if (rf & 1) {
11880
- ɵɵviewQuery(_c0$p, true);
12007
+ ɵɵviewQuery(_c0$o, true);
11881
12008
  ɵɵviewQuery(_c1$a, true);
11882
12009
  } if (rf & 2) {
11883
12010
  var _t;
11884
12011
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.topContainerImg = _t.first);
11885
12012
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.mainContainer = _t.first);
11886
- } }, inputs: { recipe: "recipe", forceIngredientsStepstoggle: "forceIngredientsStepstoggle", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures" }, outputs: { recipeAdded: "recipeAdded", recipeChanged: "recipeChanged", recipeError: "recipeError" }, features: [ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["class", "miam-recipe-details", 4, "ngIf", "ngIfElse"], ["addon", ""], [1, "miam-recipe-details"], ["mainContainer", ""], [1, "miam-recipe-details__top__container"], [1, "miam-recipe-details__top__left"], [1, "miam-recipe-details__top__container__img"], ["topContainerImg", ""], [3, "src", 4, "ngIf"], ["class", "miam-recipe-details__picture__gradient", 4, "ngIf"], [3, "videoId", "width", "height", 4, "ngIf"], ["class", "miam-recipe-details__picture__tag", 4, "ngIf"], [1, "miam-recipe-details__img__actions"], ["class", "miam-recipe-details__actions__icon miam-noPadding", 3, "recipe", "width", "height", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-details__actions__icon", 3, "width", "height", "iconName"], ["class", "miam-recipe-details__picture__sponsor", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__top__container__info"], [1, "miam-recipe-details__info__metrics", "miam-recipe-details__info__metrics__total"], ["primaryColor", "var(--m-color-primary)", 3, "width", "height", "iconName"], [1, "miam-recipe-details__info__times"], ["class", "miam-recipe-details__info__metrics", 4, "ngIf"], [1, "miam-recipe-details__top__container__infos"], [1, "miam-recipe-details__top__container__infos__top"], [1, "miam-recipe-details__infos__type"], [1, "miam-recipe-details__infos__title"], [1, "miam-recipe-details__infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details__infos__description"], [1, "miam-recipe-details__description__action", 3, "click"], [1, "miam-recipe-details__infos__price__wrapper"], [1, "miam-recipe-details__infos__price"], [3, "recipe", "serves"], ["class", "miam-recipe-details__infos__action m-button-fab-primary", 3, "click", 4, "ngIf"], [1, "miam-recipe-details__mid__container"], [3, "recipe", "showAddon", 4, "ngIf"], ["class", "miam-recipe-details__bottom__container", 4, "ngIf", "ngIfElse"], ["mobileContainer", ""], [1, "miam-recipe-details__bottom__container__action"], [3, "src"], [1, "miam-recipe-details__picture__gradient"], [3, "videoId", "width", "height"], [1, "miam-recipe-details__picture__tag"], [1, "miam-recipe-details__actions__icon", "miam-noPadding", 3, "recipe", "width", "height"], [1, "miam-recipe-details__picture__sponsor", 3, "src"], [1, "miam-recipe-details__info__metrics"], [1, "miam-recipe-details__metrics__row"], ["primaryColor", "var(--m-color-slate)", 3, "width", "height", "iconName"], [3, "width", "height", "iconName"], [1, "miam-recipe-details__infos__action", "m-button-fab-primary", 3, "click"], ["primaryColor", "#fff", 3, "width", "height", "iconName"], [3, "recipe", "showAddon"], [1, "miam-recipe-details__bottom__container"], [1, "miam-recipe-details__bottom__container__ingredients"], [1, "miam-recipe-details__bottom__container__header"], [1, "miam-recipe-details__ingredients__row"], [1, "miam-recipe-details__ingredients__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-details__ingredients__counter__print"], [1, "miam-recipe-details__ingredients__row__qty"], [1, "miam-recipe-details__ingredients__list"], ["class", "miam-recipe-details__ingredients__row", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__bottom__container__steps"], [1, "miam-recipe-details__steps__list"], ["class", "miam-recipe-details__steps__list__panel", 3, "active", "miam-recipe-details__panel__done", "click", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__ingredients__row", 3, "ngClass"], [4, "ngIf"], [1, "miam-recipe-details__ingredients__row__picture", 3, "src"], [1, "miam-recipe-details__steps__list__panel", 3, "click"], [1, "miam-recipe-details__panel__idx"], [1, "miam-recipe-details__panel__text"], ["class", "miam-recipe-details__panel__checkIcon", "primaryColor", "var(--m-color-secondary)", 3, "height", "width", "iconName", 4, "ngIf"], ["primaryColor", "var(--m-color-secondary)", 1, "miam-recipe-details__panel__checkIcon", 3, "height", "width", "iconName"], [1, "miam-recipe-details__mobile__container"], ["mobileContainerTop", ""], [1, "miam-recipe-details__mobile__header"], [1, "m-button-secondary", 3, "ngClass", "click"], [4, "ngIf", "ngIfElse"], ["stepsContainer", ""], [3, "recipe", "hideAddon"]], template: function RecipeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
11887
- ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template, 63, 47, "div", 0);
12013
+ } }, inputs: { recipe: "recipe", forceIngredientsStepstoggle: "forceIngredientsStepstoggle", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", displayTags: "displayTags", displayTagsIcons: "displayTagsIcons" }, outputs: { recipeAdded: "recipeAdded", recipeChanged: "recipeChanged", recipeError: "recipeError" }, features: [ɵɵNgOnChangesFeature], decls: 3, vars: 2, consts: [["class", "miam-recipe-details", 4, "ngIf", "ngIfElse"], ["addon", ""], [1, "miam-recipe-details"], ["mainContainer", ""], [1, "miam-recipe-details__top__container"], [1, "miam-recipe-details__top__left"], [1, "miam-recipe-details__top__container__img"], ["topContainerImg", ""], [3, "src", 4, "ngIf"], ["class", "miam-recipe-details__picture__gradient", 4, "ngIf"], [3, "videoId", "width", "height", 4, "ngIf"], ["class", "miam-recipe-details__picture__tag", 4, "ngIf"], [1, "miam-recipe-details__img__actions"], ["class", "miam-recipe-details__actions__icon miam-noPadding", 3, "recipe", "width", "height", 4, "ngIf"], ["primaryColor", "var(--m-color-primary)", 1, "miam-recipe-details__actions__icon", 3, "width", "height", "iconName"], ["class", "miam-recipe-details__picture__sponsor", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__top__container__info"], [1, "miam-recipe-details__info__metrics", "miam-recipe-details__info__metrics__total"], ["primaryColor", "var(--m-color-primary)", 3, "width", "height", "iconName"], [1, "miam-recipe-details__info__times"], ["class", "miam-recipe-details__info__metrics", 4, "ngIf"], [1, "miam-recipe-details__top__container__infos"], [1, "miam-recipe-details__top__container__infos__top"], [1, "miam-recipe-details__infos__type"], [1, "miam-recipe-details__infos__title"], [1, "miam-recipe-details__infos__difficulty"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [1, "miam-recipe-details__infos__description"], [1, "miam-recipe-details__description__action", 3, "click"], [1, "miam-recipe-details__infos__price__wrapper"], [1, "miam-recipe-details__infos__price"], [3, "recipe", "serves"], ["class", "miam-recipe-details__infos__action m-button-fab-primary", 3, "click", 4, "ngIf"], [1, "miam-recipe-details__mid__container"], ["class", "miam-recipe-details__tags__container", 4, "ngIf"], [3, "recipe", "showAddon", 4, "ngIf"], ["class", "miam-recipe-details__bottom__container", 4, "ngIf", "ngIfElse"], ["mobileContainer", ""], [1, "miam-recipe-details__bottom__container__action"], [3, "src"], [1, "miam-recipe-details__picture__gradient"], [3, "videoId", "width", "height"], [1, "miam-recipe-details__picture__tag"], [1, "miam-recipe-details__actions__icon", "miam-noPadding", 3, "recipe", "width", "height"], [1, "miam-recipe-details__picture__sponsor", 3, "src"], [1, "miam-recipe-details__info__metrics"], [1, "miam-recipe-details__metrics__row"], ["primaryColor", "var(--m-color-slate)", 3, "width", "height", "iconName"], [3, "width", "height", "iconName"], [1, "miam-recipe-details__infos__action", "m-button-fab-primary", 3, "click"], ["primaryColor", "#fff", 3, "width", "height", "iconName", 4, "ngIf", "ngIfElse"], ["addLoader", ""], ["primaryColor", "#fff", 3, "width", "height", "iconName"], [1, "miam-recipe-details__tags__container"], ["class", "miam-recipe-details__tag", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__tag"], ["class", "miam-recipe-details__tag__icon", 3, "src", 4, "ngIf"], [1, "miam-recipe-details__tag__name"], [1, "miam-recipe-details__tag__icon", 3, "src"], [3, "recipe", "showAddon"], [1, "miam-recipe-details__bottom__container"], [1, "miam-recipe-details__bottom__container__ingredients"], [1, "miam-recipe-details__bottom__container__header"], [1, "miam-recipe-details__ingredients__row"], [1, "miam-recipe-details__ingredients__counter"], [3, "counter", "counterChange"], [1, "miam-recipe-details__ingredients__counter__print"], [1, "miam-recipe-details__ingredients__row__qty"], [1, "miam-recipe-details__ingredients__list"], ["class", "miam-recipe-details__ingredients__row", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__bottom__container__steps"], [1, "miam-recipe-details__steps__list"], ["class", "miam-recipe-details__steps__list__panel", 3, "active", "miam-recipe-details__panel__done", "click", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details__ingredients__row", 3, "ngClass"], [4, "ngIf"], [1, "miam-recipe-details__ingredients__row__picture", 3, "src"], [1, "miam-recipe-details__steps__list__panel", 3, "click"], [1, "miam-recipe-details__panel__idx"], [1, "miam-recipe-details__panel__text"], ["class", "miam-recipe-details__panel__checkIcon", "primaryColor", "var(--m-color-secondary)", 3, "height", "width", "iconName", 4, "ngIf"], ["primaryColor", "var(--m-color-secondary)", 1, "miam-recipe-details__panel__checkIcon", 3, "height", "width", "iconName"], [1, "miam-recipe-details__mobile__container"], ["mobileContainerTop", ""], [1, "miam-recipe-details__mobile__header"], [1, "m-button-secondary", 3, "ngClass", "click"], [4, "ngIf", "ngIfElse"], ["stepsContainer", ""], [3, "recipe", "hideAddon"]], template: function RecipeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
12014
+ ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template, 64, 48, "div", 0);
11888
12015
  ɵɵtemplate(1, RecipeDetailsComponent_ng_template_1_Template, 1, 1, "ng-template", null, 1, ɵɵtemplateRefExtractor);
11889
12016
  } if (rf & 2) {
11890
12017
  const _r1 = ɵɵreference(2);
11891
12018
  ɵɵproperty("ngIf", ctx.showDetail)("ngIfElse", _r1);
11892
- } }, directives: [NgIf, IconComponent, NgSwitch, NgSwitchCase, NgSwitchDefault, RecipePricingComponent, YouTubePlayer, LikeButtonComponent, AddonLinkComponent, CounterInputComponent, NgForOf, NgClass, RecipeAddonComponent], pipes: [AsyncPipe, TitleCasePipe, CapitalizeFirstLetterPipe, ReadableFloatNumberPipe], styles: [".miam-recipe-details{border-radius:var(--m-border-radius);display:inline-flex;flex-direction:row;flex-wrap:wrap;height:calc(80vh - 80px);margin:40px 8px;min-width:calc(100% - 32px);padding:0 16px}.miam-recipe-details::-webkit-scrollbar-button{height:20px}.miam-recipe-details::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-recipe-details::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-recipe-details::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-recipe-details .miam-recipe-details__top__container{display:flex;justify-content:space-evenly}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img{align-items:center;border-radius:var(--m-border-radius);display:flex;height:400px;overflow:hidden;position:relative;width:370px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img img{-o-object-fit:cover;-webkit-print-color-adjust:exact;display:block;height:100%;object-fit:cover;transform:translateX(-25%)}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__gradient{background:linear-gradient(180deg,transparent 57.92%,rgba(0,0,0,.75) 100%,rgba(0,0,0,.75) 0);border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);display:block;height:100%;position:absolute;top:0;width:100%}@media print{.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__gradient{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__tag{background-color:var(--m-color-primary-light);border-radius:5px;bottom:16px;color:var(--m-color-primary);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase}@media print{.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__tag{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions{display:flex;flex-direction:column;justify-content:space-evenly;position:absolute;right:16px;top:16px;z-index:var(--m-z-index-position-absolute-hight)}@media print{.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions .miam-recipe-details__actions__icon{-o-object-fit:contain;background-color:#fff;border-radius:var(--m-border-radius-circle);box-shadow:var(--m-shadow-small);margin:0 0 16px;object-fit:contain;padding:8px;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions .miam-recipe-details__actions__icon.miam-noPadding{padding:0}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__sponsor{-o-object-fit:contain;bottom:16px;height:auto;max-height:72px;max-width:96px;object-fit:contain;position:absolute;right:16px;transform:none;width:auto}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos{display:flex;flex:1 1;flex-direction:column;justify-content:space-between;margin-left:40px;padding:16px;position:relative}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__infos__price__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top{display:flex;flex-direction:column;position:relative}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__type{color:var(--m-color-black);font-size:14px;line-height:1.14;padding-bottom:16px;text-align:left}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__title{color:var(--m-color-secondary);font-size:32px;font-weight:700;line-height:1.1;text-align:left}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__difficulty{display:flex;padding:16px 0}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__difficulty ng-miam-icon{margin-right:8px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__metrics{align-items:center;display:flex;flex-direction:column}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__metrics span{color:var(--m-color-black);font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__metrics .miam-recipe-details__metrics__row{display:flex}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description{color:var(--m-color-grey-text-dark);display:flex;flex:1;flex-direction:column;font-size:17px;line-height:1.62;margin-bottom:24px;overflow-y:auto;text-align:left;word-break:break-word}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action{align-items:center;display:flex;margin-top:16px}@media print{.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action>*{cursor:pointer}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action>:hover{color:var(--m-color-primary);text-decoration:underline}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action ng-miam-icon{margin-right:10px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper{align-items:flex-end;display:flex;flex-direction:column;height:100%;justify-content:flex-start;max-height:225px;padding-left:16px;position:relative}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price{margin-bottom:4px;padding:4px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper{color:var(--m-color-primary);flex-direction:row}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper{display:flex;flex-direction:column}}@media print{.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{font-size:20px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action{border-radius:20px;color:var(--m-color-white);font-size:16px;padding:8px 20px}@media print{.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action{display:none}}@media (min-width:1022px){.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action:hover{color:var(--m-color-primary)}}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action ng-miam-icon{margin-left:16px}.miam-recipe-details .miam-recipe-details__top__container__info{align-items:center;display:flex;flex-direction:column;gap:24px;justify-content:center;padding:16px 0;width:370px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__metrics{align-items:center;display:flex;justify-content:center}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__metrics span{color:var(--m-color-primary);font-size:19px;font-weight:700;margin-left:12px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times{align-items:center;display:flex;justify-content:space-evenly}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics{flex-direction:column;margin-right:24px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics span{color:var(--m-color-black);font-size:13px;font-weight:400;line-height:16px;margin-left:4px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics .miam-recipe-details__metrics__row{align-items:center;display:flex}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics .miam-recipe-details__metrics__row span{font-size:19px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics{align-items:center;display:flex;justify-content:center;z-index:0}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics ng-miam-icon{display:flex;justify-content:center;margin-right:4px;min-height:32px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics span{font-size:15px}.miam-recipe-details .miam-recipe-details__mid__container{border-bottom:1px dashed var(--m-color-primary);display:flex;padding-bottom:16px;width:100%}.miam-recipe-details .miam-recipe-details__bottom__container{display:flex;width:100%}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__header{border-bottom:1px solid var(--m-color-grey-text);color:var(--m-color-primary);display:block;font-size:20px;font-size:17px;font-weight:700;margin:24px 0;padding:16px 0 8px;position:relative}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter{align-items:center;display:flex}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter ng-miam-counter-input .miam-counter-input__icon{margin-right:16px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter .miam-recipe-details__ingredients__counter__print{display:none}@media print{.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter ng-miam-counter-input{display:none}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter .miam-recipe-details__ingredients__counter__print{display:block}}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__list{flex:1 1;overflow-y:auto;padding-bottom:40px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__list::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__list::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__list::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__row{color:var(--m-color-black);display:flex;font-size:14px;font-weight:700;height:40px;justify-content:space-between;padding-bottom:16px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__row .miam-recipe-details__ingredients__row__qty{color:var(--m-color-grey-text-dark);font-size:14px;font-weight:500;padding-right:10px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__ingredients{display:flex;flex:1;flex-direction:column;padding:0 40px 0 0}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps{display:flex;flex:1;flex-direction:column}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list{flex:1 1;overflow-y:auto;padding-bottom:40px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel{-webkit-tap-highlight-color:transparent;align-items:center;background-color:var(--m-color-primary-text);border-radius:var(--m-border-radius);cursor:pointer;display:flex;flex-direction:row;margin:0 16px 8px 0;text-align:left;transition:var(--m-default-transition)}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__idx{color:var(--m-color-secondary);flex:0 0 auto;font-size:20px;margin-right:20px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__text{font-size:14px;word-break:break-word}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__checkIcon{flex:0 0 auto}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel.miam-recipe-details__panel__done{background-color:var(--m-color-secondary-light)}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel div{flex:1;margin:10px}.miam-recipe-details .miam-recipe-details__bottom__container__action{width:100%}@media print{.miam-recipe-details{height:unset}}@media (max-width:1022px){.miam-recipe-details{height:80vh;margin:0;min-width:100vw;overflow-y:auto;padding:0 0 80px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper{align-items:center;background-color:var(--m-color-white);bottom:0;flex-direction:row;height:unset;justify-content:space-between;left:0;padding:4px 16px;position:fixed;right:0}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-pricing__wrapper{flex-direction:column}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:10px;margin-left:0}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action{padding:8px 10px}.miam-recipe-details .miam-recipe-details__top__container{flex-wrap:wrap}.miam-recipe-details .miam-recipe-details__top__container div .miam-recipe-details__top__left{position:-webkit-sticky;position:sticky;top:0;z-index:3}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__info__times{position:-webkit-sticky;position:sticky;top:0;z-index:1}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img{height:220px;position:-webkit-sticky;position:sticky;top:-5vh;width:100vw;z-index:3}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img img{height:unset;transform:none;width:100%}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__tag{bottom:unset;left:16px;top:16px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions{bottom:0;flex-direction:unset;left:8px;right:unset;top:unset}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions .miam-recipe-details__actions__icon{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:rgba(0,0,0,.65);background-color:unset;box-shadow:none;margin:0 4px 8px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos{flex:unset;margin-left:unset;padding:0 16px;width:100vw;z-index:0}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__type{display:none}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__title{font-size:24px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description{margin-bottom:16px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action{display:none}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__info{background-color:var(--m-color-white);width:unset;z-index:1}.miam-recipe-details .miam-recipe-details__mobile__container{display:flex;flex-direction:column;min-height:80vh;padding-bottom:50px;position:relative;width:100vw}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__mobile__header{background-color:var(--m-color-white);border-radius:32px 32px 0 0;display:flex;justify-content:space-evenly;padding:16px 0;position:-webkit-sticky;position:sticky;top:0;z-index:1}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__mobile__header button{margin-right:0}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__mobile__header button.active{background-color:var(--m-color-primary);color:var(--m-color-white)}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__row{align-items:center;color:var(--m-color-black);display:flex;font-size:14px;font-weight:700;justify-content:space-between;padding-bottom:16px;padding-right:16px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__row div{width:100%}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__row .miam-recipe-details__ingredients__row__qty{color:var(--m-color-grey-text-dark);font-size:14px;font-weight:500;margin-right:16px;padding-right:10px;text-align:end}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__counter{display:flex;justify-content:space-between;padding:16px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__counter .miam-recipe-details__ingredients__counter__print{display:none}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__list{display:flex;flex-direction:column}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__list .miam-recipe-details__ingredients__row{display:flex;font-size:16px;justify-content:space-between;padding:0 16px 16px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel{-webkit-tap-highlight-color:transparent;align-items:center;align-items:flex-start;background-color:transparent;border-radius:var(--m-border-radius);cursor:pointer;display:flex;flex-direction:row;margin:0 8px 32px;padding:0;position:relative;text-align:left;transition:var(--m-default-transition)}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel:not(:last-child):before{background-color:var(--m-color-grey);content:\"\";height:50%;left:29px;position:absolute;top:60px;width:1px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel.miam-recipe-details__panel__done{background-color:var(--miam-color-primary-light)}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__idx{align-items:center;background-color:var(--m-color-primary);border-radius:40px;color:#fff;display:flex;flex:0 0 auto;font-size:17px;font-weight:700;height:40px;justify-content:center;margin-right:20px;width:40px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__text{font-size:14px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__checkIcon{flex:0 0 auto}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel div{flex:1;margin:10px}.miam-recipe-details .miam-recipe-details__bottom__container__action{background:var(--m-color-white);bottom:0;left:0;padding:0 16px;position:fixed;right:0;width:100vw;z-index:4}}"], encapsulation: 2, changeDetection: 0 });
12019
+ } }, directives: [NgIf, IconComponent, NgSwitch, NgSwitchCase, NgSwitchDefault, RecipePricingComponent, YouTubePlayer, LikeButtonComponent, LoaderComponent, NgForOf, AddonLinkComponent, CounterInputComponent, NgClass, RecipeAddonComponent], pipes: [AsyncPipe, TitleCasePipe, CapitalizeFirstLetterPipe, ReadableFloatNumberPipe], styles: [".miam-recipe-details{border-radius:var(--m-border-radius);display:inline-flex;flex-direction:row;flex-wrap:wrap;height:calc(80vh - 80px);margin:40px 8px;min-width:calc(100% - 32px);padding:0 16px}.miam-recipe-details::-webkit-scrollbar-button{height:20px}.miam-recipe-details::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-recipe-details::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-recipe-details::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-recipe-details .miam-recipe-details__top__container{display:flex;justify-content:space-evenly}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img{align-items:center;border-radius:var(--m-border-radius);display:flex;height:400px;overflow:hidden;position:relative;width:370px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img img{-o-object-fit:cover;-webkit-print-color-adjust:exact;display:block;height:100%;object-fit:cover;transform:translateX(-25%)}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__gradient{background:linear-gradient(180deg,transparent 57.92%,rgba(0,0,0,.75) 100%,rgba(0,0,0,.75) 0);border-top-left-radius:var(--m-border-radius);border-top-right-radius:var(--m-border-radius);display:block;height:100%;position:absolute;top:0;width:100%}@media print{.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__gradient{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__tag{background-color:var(--m-color-primary-light);border-radius:5px;bottom:16px;color:var(--m-color-primary);font-weight:500;left:16px;padding:8px;position:absolute;text-transform:uppercase}@media print{.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__tag{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions{display:flex;flex-direction:column;justify-content:space-evenly;position:absolute;right:16px;top:16px;z-index:var(--m-z-index-position-absolute-hight)}@media print{.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions .miam-recipe-details__actions__icon{-o-object-fit:contain;background-color:#fff;border-radius:var(--m-border-radius-circle);box-shadow:var(--m-shadow-small);margin:0 0 16px;object-fit:contain;padding:8px;width:-webkit-max-content;width:-moz-max-content;width:max-content}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions .miam-recipe-details__actions__icon.miam-noPadding{padding:0}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__sponsor{-o-object-fit:contain;bottom:16px;height:auto;max-height:72px;max-width:96px;object-fit:contain;position:absolute;right:16px;transform:none;width:auto}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos{display:flex;flex:1 1;flex-direction:column;justify-content:space-between;margin-left:40px;padding:16px;position:relative}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__infos__price__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top{display:flex;flex-direction:column;position:relative}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__type{color:var(--m-color-black);font-size:14px;line-height:1.14;padding-bottom:16px;text-align:left}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__title{color:var(--m-color-secondary);font-size:32px;font-weight:700;line-height:1.1;text-align:left}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__difficulty{display:flex;padding:16px 0}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__difficulty ng-miam-icon{margin-right:8px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__metrics{align-items:center;display:flex;flex-direction:column}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__metrics span{color:var(--m-color-black);font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__metrics .miam-recipe-details__metrics__row{display:flex}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description{color:var(--m-color-grey-text-dark);display:flex;flex:1;flex-direction:column;font-size:17px;line-height:1.62;margin-bottom:24px;overflow-y:auto;text-align:left;word-break:break-word}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action{align-items:center;display:flex;margin-top:16px}@media print{.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action{display:none}}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action>*{cursor:pointer}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action>:hover{color:var(--m-color-primary);text-decoration:underline}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action ng-miam-icon{margin-right:10px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper{align-items:flex-end;display:flex;flex-direction:column;height:100%;justify-content:flex-start;max-height:225px;padding-left:16px;position:relative}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price{margin-bottom:4px;padding:4px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper{color:var(--m-color-primary);flex-direction:row}@media (max-width:1022px){.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper{display:flex;flex-direction:column}}@media print{.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper{display:none}}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{font-size:20px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__price .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:14px;margin-left:12px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action{border-radius:20px;color:var(--m-color-white);font-size:16px;padding:8px 20px}@media print{.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action{display:none}}@media (min-width:1022px){.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action:hover{color:var(--m-color-primary)}}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action ng-miam-icon{margin-left:16px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action .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__top__container__info{align-items:center;display:flex;flex-direction:column;gap:24px;justify-content:center;padding:16px 0;width:370px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__metrics{align-items:center;display:flex;justify-content:center}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__metrics span{color:var(--m-color-primary);font-size:19px;font-weight:700;margin-left:12px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times{align-items:center;display:flex;justify-content:space-evenly}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics{flex-direction:column;margin-right:24px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics span{color:var(--m-color-black);font-size:13px;font-weight:400;line-height:16px;margin-left:4px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics .miam-recipe-details__metrics__row{align-items:center;display:flex}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics .miam-recipe-details__metrics__row span{font-size:19px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics{align-items:center;display:flex;justify-content:center;z-index:0}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics ng-miam-icon{display:flex;justify-content:center;margin-right:4px;min-height:32px}.miam-recipe-details .miam-recipe-details__top__container__info .miam-recipe-details__info__times .miam-recipe-details__info__metrics span{font-size:15px}.miam-recipe-details .miam-recipe-details__mid__container{border-bottom:1px dashed var(--m-color-primary);display:flex;padding-bottom:16px;width:100%}.miam-recipe-details .miam-recipe-details__tags__container{display:flex;flex-wrap:wrap;padding:20px;width:100%}.miam-recipe-details .miam-recipe-details__tags__container .miam-recipe-details__tag{background-color:var(--m-color-grey05);border-radius:var(--m-border-radius-pill);display:flex;margin:4px;padding:4px 8px}.miam-recipe-details .miam-recipe-details__tags__container .miam-recipe-details__tag .miam-recipe-details__tag__icon{height:16px;width:16px}.miam-recipe-details .miam-recipe-details__tags__container .miam-recipe-details__tag .miam-recipe-details__tag__name{font-size:16px}.miam-recipe-details .miam-recipe-details__bottom__container{display:flex;width:100%}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__header{border-bottom:1px solid var(--m-color-grey-text);color:var(--m-color-primary);display:block;font-size:20px;font-size:17px;font-weight:700;margin:24px 0;padding:16px 0 8px;position:relative}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter{align-items:center;display:flex}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter ng-miam-counter-input .miam-counter-input__icon{margin-right:16px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter .miam-recipe-details__ingredients__counter__print{display:none}@media print{.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter ng-miam-counter-input{display:none}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__counter .miam-recipe-details__ingredients__counter__print{display:block}}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__list{flex:1 1;overflow-y:auto;padding-bottom:40px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__list::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__list::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__list::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__row{color:var(--m-color-black);display:flex;font-size:14px;font-weight:700;height:40px;justify-content:space-between;padding-bottom:16px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__ingredients__row .miam-recipe-details__ingredients__row__qty{color:var(--m-color-grey-text-dark);font-size:14px;font-weight:500;padding-right:10px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__ingredients{display:flex;flex:1;flex-direction:column;padding:0 40px 0 0}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps{display:flex;flex:1;flex-direction:column}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list{flex:1 1;overflow-y:auto;padding-bottom:40px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list::-webkit-scrollbar-track{background:var(--m-color-grey)}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list::-webkit-scrollbar{cursor:-webkit-grab;height:7px;width:5px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list::-webkit-scrollbar-thumb{background:var(--m-color-primary);border-radius:5px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel{-webkit-tap-highlight-color:transparent;align-items:center;background-color:var(--m-color-primary-text);border-radius:var(--m-border-radius);cursor:pointer;display:flex;flex-direction:row;margin:0 16px 8px 0;text-align:left;transition:var(--m-default-transition)}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__idx{color:var(--m-color-secondary);flex:0 0 auto;font-size:20px;margin-right:20px}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__text{font-size:14px;word-break:break-word}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__checkIcon{flex:0 0 auto}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel.miam-recipe-details__panel__done{background-color:var(--m-color-secondary-light)}.miam-recipe-details .miam-recipe-details__bottom__container .miam-recipe-details__bottom__container__steps .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel div{flex:1;margin:10px}.miam-recipe-details .miam-recipe-details__bottom__container__action{width:100%}@media print{.miam-recipe-details{height:unset}}@media (max-width:1022px){.miam-recipe-details{height:80vh;margin:0;min-width:100vw;overflow-y:auto;padding:0 0 80px}.miam-recipe-details .miam-recipe-details__infos__price__wrapper{align-items:center;background-color:var(--m-color-white);bottom:0;flex-direction:row;height:unset;justify-content:space-between;left:0;padding:4px 16px;position:fixed;right:0}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-pricing__wrapper{flex-direction:column}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__subline{font-size:10px;margin-left:0}.miam-recipe-details .miam-recipe-details__infos__price__wrapper .miam-recipe-details__infos__action{padding:8px 10px}.miam-recipe-details .miam-recipe-details__top__container{flex-wrap:wrap}.miam-recipe-details .miam-recipe-details__top__container div .miam-recipe-details__top__left{position:-webkit-sticky;position:sticky;top:0;z-index:3}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__info__times{position:-webkit-sticky;position:sticky;top:0;z-index:1}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img{height:220px;position:-webkit-sticky;position:sticky;top:-5vh;width:100vw;z-index:3}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img img{height:unset;transform:none;width:100%}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__picture__tag{bottom:unset;left:16px;top:16px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions{bottom:0;flex-direction:unset;left:8px;right:unset;top:unset}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__img .miam-recipe-details__img__actions .miam-recipe-details__actions__icon{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:rgba(0,0,0,.65);background-color:unset;box-shadow:none;margin:0 4px 8px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos{flex:unset;margin-left:unset;padding:0 16px;width:100vw;z-index:0}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__type{display:none}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__title{font-size:24px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description{margin-bottom:16px}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__infos .miam-recipe-details__top__container__infos__top .miam-recipe-details__infos__description .miam-recipe-details__description__action{display:none}.miam-recipe-details .miam-recipe-details__top__container .miam-recipe-details__top__container__info{background-color:var(--m-color-white);width:unset;z-index:1}.miam-recipe-details .miam-recipe-details__mobile__container{display:flex;flex-direction:column;min-height:80vh;padding-bottom:50px;position:relative;width:100vw}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__mobile__header{background-color:var(--m-color-white);border-radius:32px 32px 0 0;display:flex;justify-content:space-evenly;padding:16px 0;position:-webkit-sticky;position:sticky;top:0;z-index:1}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__mobile__header button{margin-right:0}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__mobile__header button.active{background-color:var(--m-color-primary);color:var(--m-color-white)}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__row{align-items:center;color:var(--m-color-black);display:flex;font-size:14px;font-weight:700;justify-content:space-between;padding-bottom:16px;padding-right:16px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__row div{width:100%}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__row .miam-recipe-details__ingredients__row__qty{color:var(--m-color-grey-text-dark);font-size:14px;font-weight:500;margin-right:16px;padding-right:10px;text-align:end}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__counter{display:flex;justify-content:space-between;padding:16px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__counter .miam-recipe-details__ingredients__counter__print{display:none}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__list{display:flex;flex-direction:column}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__ingredients__list .miam-recipe-details__ingredients__row{display:flex;font-size:16px;justify-content:space-between;padding:0 16px 16px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel{-webkit-tap-highlight-color:transparent;align-items:center;align-items:flex-start;background-color:transparent;border-radius:var(--m-border-radius);cursor:pointer;display:flex;flex-direction:row;margin:0 8px 32px;padding:0;position:relative;text-align:left;transition:var(--m-default-transition)}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel:not(:last-child):before{background-color:var(--m-color-grey);content:\"\";height:50%;left:29px;position:absolute;top:60px;width:1px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel.miam-recipe-details__panel__done{background-color:var(--miam-color-primary-light)}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__idx{align-items:center;background-color:var(--m-color-primary);border-radius:40px;color:#fff;display:flex;flex:0 0 auto;font-size:17px;font-weight:700;height:40px;justify-content:center;margin-right:20px;width:40px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__text{font-size:14px}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel .miam-recipe-details__panel__checkIcon{flex:0 0 auto}.miam-recipe-details .miam-recipe-details__mobile__container .miam-recipe-details__steps__list .miam-recipe-details__steps__list__panel div{flex:1;margin:10px}.miam-recipe-details .miam-recipe-details__bottom__container__action{background:var(--m-color-white);bottom:0;left:0;padding:0 16px;position:fixed;right:0;width:100vw;z-index:4}}"], encapsulation: 2, changeDetection: 0 });
11893
12020
  /*@__PURE__*/ (function () { ɵsetClassMetadata(RecipeDetailsComponent, [{
11894
12021
  type: Component,
11895
12022
  args: [{
@@ -11907,6 +12034,10 @@ RecipeDetailsComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeDetailsComponen
11907
12034
  type: Input
11908
12035
  }], ingredientsPictures: [{
11909
12036
  type: Input
12037
+ }], displayTags: [{
12038
+ type: Input
12039
+ }], displayTagsIcons: [{
12040
+ type: Input
11910
12041
  }], recipeAdded: [{
11911
12042
  type: Output
11912
12043
  }], recipeChanged: [{
@@ -11961,7 +12092,7 @@ function RecipeFormComponent_form_0_div_22_Template(rf, ctx) { if (rf & 1) {
11961
12092
  ɵɵadvance(2);
11962
12093
  ɵɵproperty("formControl", ctx_r2.recipeForm == null ? null : (tmp_4_0 = ctx_r2.recipeForm.get("attributes")) == null ? null : tmp_4_0.get("description"));
11963
12094
  } }
11964
- const _c0$q = function () { return ["number-of-guests"]; };
12095
+ const _c0$p = function () { return ["number-of-guests"]; };
11965
12096
  function RecipeFormComponent_form_0_Template(rf, ctx) { if (rf & 1) {
11966
12097
  const _r4 = ɵɵgetCurrentView();
11967
12098
  ɵɵelementStart(0, "form", 4);
@@ -12018,7 +12149,7 @@ function RecipeFormComponent_form_0_Template(rf, ctx) { if (rf & 1) {
12018
12149
  ɵɵadvance(3);
12019
12150
  ɵɵproperty("formControl", ctx_r0.recipeForm == null ? null : (tmp_3_0 = ctx_r0.recipeForm.get("attributes")) == null ? null : tmp_3_0.get("media-url"))("imageUrl", ctx_r0.recipeForm == null ? null : (tmp_4_0 = ctx_r0.recipeForm.get("attributes")) == null ? null : (tmp_4_1 = tmp_4_0.get("media-url")) == null ? null : tmp_4_1.value)("photoMode", true);
12020
12151
  ɵɵadvance(4);
12021
- ɵɵproperty("formControl", ctx_r0.recipeForm.controls["attributes"]["controls"][ɵɵpureFunction0(19, _c0$q)]);
12152
+ ɵɵproperty("formControl", ctx_r0.recipeForm.controls["attributes"]["controls"][ɵɵpureFunction0(19, _c0$p)]);
12022
12153
  ɵɵadvance(2);
12023
12154
  ɵɵproperty("options", ɵɵpipeBind1(12, 17, ctx_r0.recipeTypeService == null ? null : ctx_r0.recipeTypeService.getTypes()))("formControl", ctx_r0.recipeForm == null ? null : ctx_r0.recipeForm.get("recipe-type"));
12024
12155
  ɵɵadvance(4);
@@ -12520,7 +12651,7 @@ RecipeHelperComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeHelperComponent,
12520
12651
  type: Output
12521
12652
  }] }); })();
12522
12653
 
12523
- const _c0$r = ["topAnchor"];
12654
+ const _c0$q = ["topAnchor"];
12524
12655
  const _c1$b = ["stepperLinks"];
12525
12656
  const _c2$3 = ["step"];
12526
12657
  function RecipeStepperComponent_ng_container_28_div_21_Template(rf, ctx) { if (rf & 1) {
@@ -12779,7 +12910,7 @@ class RecipeStepperComponent extends RecipeFormComponent {
12779
12910
  }
12780
12911
  RecipeStepperComponent.ɵfac = function RecipeStepperComponent_Factory(t) { return ɵRecipeStepperComponent_BaseFactory(t || RecipeStepperComponent); };
12781
12912
  RecipeStepperComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeStepperComponent, selectors: [["ng-miam-recipe-stepper"]], viewQuery: function RecipeStepperComponent_Query(rf, ctx) { if (rf & 1) {
12782
- ɵɵviewQuery(_c0$r, true);
12913
+ ɵɵviewQuery(_c0$q, true);
12783
12914
  ɵɵviewQuery(_c1$b, true);
12784
12915
  ɵɵviewQuery(_c2$3, true);
12785
12916
  } if (rf & 2) {
@@ -12886,7 +13017,7 @@ const ɵRecipeStepperComponent_BaseFactory = /*@__PURE__*/ ɵɵgetInheritedFacto
12886
13017
  args: ['step']
12887
13018
  }] }); })();
12888
13019
 
12889
- const _c0$s = ["tag"];
13020
+ const _c0$r = ["tag"];
12890
13021
  function RecipeTagsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
12891
13022
  const _r6 = ɵɵgetCurrentView();
12892
13023
  ɵɵelementStart(0, "div", 9, 10);
@@ -13006,7 +13137,7 @@ class RecipeTagsComponent {
13006
13137
  }
13007
13138
  RecipeTagsComponent.ɵfac = function RecipeTagsComponent_Factory(t) { return new (t || RecipeTagsComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(BasketsService), ɵɵdirectiveInject(ContextService)); };
13008
13139
  RecipeTagsComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeTagsComponent, selectors: [["ng-miam-recipe-tags"]], viewQuery: function RecipeTagsComponent_Query(rf, ctx) { if (rf & 1) {
13009
- ɵɵviewQuery(_c0$s, true);
13140
+ ɵɵviewQuery(_c0$r, true);
13010
13141
  } if (rf & 2) {
13011
13142
  var _t;
13012
13143
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.tags = _t);
@@ -13110,7 +13241,7 @@ function RecipesHistoryComponent_div_6_div_8_Template(rf, ctx) { if (rf & 1) {
13110
13241
  ɵɵadvance(1);
13111
13242
  ɵɵproperty("ngIf", ɵɵpipeBind1(2, 1, line_r8));
13112
13243
  } }
13113
- const _c0$t = function (a0) { return { rotate: a0 }; };
13244
+ const _c0$s = function (a0) { return { rotate: a0 }; };
13114
13245
  const _c1$d = function (a0) { return { wrap: a0 }; };
13115
13246
  function RecipesHistoryComponent_div_6_Template(rf, ctx) { if (rf & 1) {
13116
13247
  const _r12 = ɵɵgetCurrentView();
@@ -13135,7 +13266,7 @@ function RecipesHistoryComponent_div_6_Template(rf, ctx) { if (rf & 1) {
13135
13266
  ɵɵadvance(3);
13136
13267
  ɵɵtextInterpolate(ɵɵpipeBind1(4, 5, group_r6.date));
13137
13268
  ɵɵadvance(2);
13138
- ɵɵproperty("ngClass", ɵɵpureFunction1(7, _c0$t, !group_r6.show));
13269
+ ɵɵproperty("ngClass", ɵɵpureFunction1(7, _c0$s, !group_r6.show));
13139
13270
  ɵɵadvance(1);
13140
13271
  ɵɵproperty("iconName", ctx_r2.icon.ChevronDown);
13141
13272
  ɵɵadvance(1);
@@ -13203,7 +13334,9 @@ class RecipesHistoryComponent {
13203
13334
  }
13204
13335
  }
13205
13336
  prepareLine(recipeInfo) {
13206
- return this.recipesService.get(recipeInfo.id, { include: ['ingredients', 'recipe-steps', 'recipe-status', 'recipe-type'] }).pipe(skipWhile(r => r.is_loading), map(recipe => {
13337
+ return this.recipesService.get(recipeInfo.id, {
13338
+ include: ['ingredients', 'recipe-steps', 'recipe-status', 'recipe-type', 'tags']
13339
+ }).pipe(skipWhile(r => r.is_loading), map(recipe => {
13207
13340
  const line = BasketPreviewLine.fromRecipe(recipe, recipe.ingredients.length);
13208
13341
  line.displayMode = true;
13209
13342
  setTimeout(() => this.cdr.detectChanges()); // ensures the line will be reloaded after the observable resolves
@@ -13296,7 +13429,7 @@ PrintService.ɵprov = ɵɵdefineInjectable({ token: PrintService, factory: Print
13296
13429
  }]
13297
13430
  }], function () { return []; }, null); })();
13298
13431
 
13299
- const _c0$u = ["details"];
13432
+ const _c0$t = ["details"];
13300
13433
  function RecipeModalComponent_ng_miam_recipe_details_1_Template(rf, ctx) { if (rf & 1) {
13301
13434
  const _r4 = ɵɵgetCurrentView();
13302
13435
  ɵɵelementStart(0, "ng-miam-recipe-details", 3, 4);
@@ -13366,7 +13499,7 @@ class RecipeModalComponent {
13366
13499
  this.cdr.detectChanges();
13367
13500
  }
13368
13501
  removeRecipe() {
13369
- this.groceriesListsService.removeRecipeFromList(this.recipe.id);
13502
+ this.groceriesListsService.removeRecipeFromList(this.recipe.id).subscribe();
13370
13503
  this.hide();
13371
13504
  }
13372
13505
  updateRecipeGuests(guests) {
@@ -13375,14 +13508,14 @@ class RecipeModalComponent {
13375
13508
  // If the recipe is already in basket, update the number of guests (= append recipe to list again)
13376
13509
  recipeChanged() {
13377
13510
  if (this.groceriesListsService.list$.value.hasRecipe(this.recipe.id)) {
13378
- this.groceriesListsService.appendRecipeToList(this.recipe.id, this.recipe.modifiedGuests);
13511
+ this.groceriesListsService.appendRecipeToList(this.recipe.id, this.recipe.modifiedGuests).subscribe();
13379
13512
  }
13380
13513
  this.recipesService.displayedRecipeChanged.emit();
13381
13514
  }
13382
13515
  }
13383
13516
  RecipeModalComponent.ɵfac = function RecipeModalComponent_Factory(t) { return new (t || RecipeModalComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(PrintService), ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(GroceriesListsService)); };
13384
13517
  RecipeModalComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeModalComponent, selectors: [["ng-miam-recipe-modal"]], viewQuery: function RecipeModalComponent_Query(rf, ctx) { if (rf & 1) {
13385
- ɵɵviewQuery(_c0$u, true);
13518
+ ɵɵviewQuery(_c0$t, true);
13386
13519
  } if (rf & 2) {
13387
13520
  var _t;
13388
13521
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.content = _t.first);
@@ -13412,7 +13545,7 @@ RecipeModalComponent.ɵcmp = ɵɵdefineComponent({ type: RecipeModalComponent, s
13412
13545
  args: ['details']
13413
13546
  }] }); })();
13414
13547
 
13415
- const _c0$v = ["recipeCard"];
13548
+ const _c0$u = ["recipeCard"];
13416
13549
  function SuggestionCardComponent_ng_miam_recipe_card_0_Template(rf, ctx) { if (rf & 1) {
13417
13550
  const _r3 = ɵɵgetCurrentView();
13418
13551
  ɵɵelementStart(0, "ng-miam-recipe-card", 1, 2);
@@ -13499,7 +13632,7 @@ class SuggestionCardComponent extends AbstractRecipeCardComponent {
13499
13632
  }
13500
13633
  SuggestionCardComponent.ɵfac = function SuggestionCardComponent_Factory(t) { return new (t || SuggestionCardComponent)(ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(RecipesService), ɵɵdirectiveInject(GroceriesListsService), ɵɵdirectiveInject(UserService), ɵɵdirectiveInject(PointOfSalesService), ɵɵdirectiveInject(ContextService), ɵɵdirectiveInject(AnalyticsService), ɵɵdirectiveInject(RecipeEventsService), ɵɵdirectiveInject(ElementRef)); };
13501
13634
  SuggestionCardComponent.ɵcmp = ɵɵdefineComponent({ type: SuggestionCardComponent, selectors: [["ng-miam-suggestion-card"]], viewQuery: function SuggestionCardComponent_Query(rf, ctx) { if (rf & 1) {
13502
- ɵɵviewQuery(_c0$v, true);
13635
+ ɵɵviewQuery(_c0$u, true);
13503
13636
  } if (rf & 2) {
13504
13637
  var _t;
13505
13638
  ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.recipeCard = _t.first);
@@ -13654,14 +13787,14 @@ function ListScanOverlayButtonComponent_ng_miam_icon_3_Template(rf, ctx) { if (r
13654
13787
  const ctx_r0 = ɵɵnextContext();
13655
13788
  ɵɵproperty("iconName", ctx_r0.icon.ListScanner);
13656
13789
  } }
13657
- const _c0$w = function (a0) { return { reduced: a0 }; };
13790
+ const _c0$v = function (a0) { return { reduced: a0 }; };
13658
13791
  function ListScanOverlayButtonComponent_div_4_Template(rf, ctx) { if (rf & 1) {
13659
13792
  ɵɵelementStart(0, "div", 10);
13660
13793
  ɵɵtext(1, "Scanner ma liste de courses");
13661
13794
  ɵɵelementEnd();
13662
13795
  } if (rf & 2) {
13663
13796
  const ctx_r1 = ɵɵnextContext();
13664
- ɵɵproperty("ngClass", ɵɵpureFunction1(1, _c0$w, ctx_r1.reduced == "true"));
13797
+ ɵɵproperty("ngClass", ɵɵpureFunction1(1, _c0$v, ctx_r1.reduced == "true"));
13665
13798
  } }
13666
13799
  function ListScanOverlayButtonComponent_ng_miam_loader_5_Template(rf, ctx) { if (rf & 1) {
13667
13800
  ɵɵelement(0, "ng-miam-loader");
@@ -13728,7 +13861,7 @@ ListScanOverlayButtonComponent.ɵcmp = ɵɵdefineComponent({ type: ListScanOverl
13728
13861
  ɵɵadvance(1);
13729
13862
  ɵɵproperty("ngIf", ctx.loading);
13730
13863
  ɵɵadvance(1);
13731
- ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$w, ctx.reduced == "true"));
13864
+ ɵɵproperty("ngClass", ɵɵpureFunction1(8, _c0$v, ctx.reduced == "true"));
13732
13865
  } }, directives: [NgClass, NgIf, IconComponent, LoaderComponent], styles: [".miam-list-scan__overlay-button[_ngcontent-%COMP%]{display:inline-block;position:relative}.miam-list-scan__overlay-button.overlay[_ngcontent-%COMP%]{bottom:20px;position:fixed;right:20px}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .inputfile[_ngcontent-%COMP%]{height:.1px;opacity:0;overflow:hidden;position:absolute;width:.1px;z-index:-1}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__label[_ngcontent-%COMP%]{max-height:50px;min-width:0}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__label[_ngcontent-%COMP%] ng-miam-icon[_ngcontent-%COMP%]{margin:0}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__label[_ngcontent-%COMP%] .button-label[_ngcontent-%COMP%]{margin-left:10px}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__label[_ngcontent-%COMP%] .button-label.reduced[_ngcontent-%COMP%]{display:none}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__reduce[_ngcontent-%COMP%]{align-items:center;background-color:#fff;border-radius:12px;box-shadow:0 2px 5px rgba(0,0,0,.25);cursor:pointer;display:flex;font-size:16px;font-weight:700;height:24px;justify-content:center;position:absolute;right:-8px;top:-9px;width:24px}.miam-list-scan__overlay-button[_ngcontent-%COMP%] .miam-list-scan__overlay-button__reduce.reduced[_ngcontent-%COMP%]{display:none}"], changeDetection: 0 });
13733
13866
  /*@__PURE__*/ (function () { ɵsetClassMetadata(ListScanOverlayButtonComponent, [{
13734
13867
  type: Component,
@@ -13755,7 +13888,7 @@ function ListScanIngredientsListComponent_div_0_Template(rf, ctx) { if (rf & 1)
13755
13888
  ɵɵadvance(1);
13756
13889
  ɵɵproperty("iconName", ctx_r0.icon.DrawerHorizontalCloseBar);
13757
13890
  } }
13758
- const _c0$x = function (a0) { return { overlay: a0 }; };
13891
+ const _c0$w = function (a0) { return { overlay: a0 }; };
13759
13892
  function ListScanIngredientsListComponent_div_4_Template(rf, ctx) { if (rf & 1) {
13760
13893
  const _r6 = ɵɵgetCurrentView();
13761
13894
  ɵɵelementStart(0, "div", 9);
@@ -13791,7 +13924,7 @@ function ListScanIngredientsListComponent_div_4_Template(rf, ctx) { if (rf & 1)
13791
13924
  } if (rf & 2) {
13792
13925
  const e_r4 = ctx.$implicit;
13793
13926
  const ctx_r1 = ɵɵnextContext();
13794
- ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c0$x, ctx_r1.overlay));
13927
+ ɵɵproperty("ngClass", ɵɵpureFunction1(5, _c0$w, ctx_r1.overlay));
13795
13928
  ɵɵadvance(2);
13796
13929
  ɵɵproperty("iconName", ctx_r1.icon.Trash);
13797
13930
  ɵɵadvance(4);
@@ -14026,7 +14159,7 @@ function ListScanComponent_ng_miam_list_scan_overlay_button_1_Template(rf, ctx)
14026
14159
  const ctx_r0 = ɵɵnextContext();
14027
14160
  ɵɵproperty("overlay", ctx_r0.overlay);
14028
14161
  } }
14029
- const _c0$y = function (a0) { return { overlay: a0 }; };
14162
+ const _c0$x = function (a0) { return { overlay: a0 }; };
14030
14163
  function ListScanComponent_ng_miam_list_scan_ingredients_list_2_Template(rf, ctx) { if (rf & 1) {
14031
14164
  const _r6 = ɵɵgetCurrentView();
14032
14165
  ɵɵelementStart(0, "ng-miam-list-scan-ingredients-list", 5);
@@ -14034,7 +14167,7 @@ function ListScanComponent_ng_miam_list_scan_ingredients_list_2_Template(rf, ctx
14034
14167
  ɵɵelementEnd();
14035
14168
  } if (rf & 2) {
14036
14169
  const ctx_r1 = ɵɵnextContext();
14037
- ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$y, ctx_r1.overlay))("overlay", ctx_r1.overlay)("entries", ctx_r1.entries);
14170
+ ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$x, ctx_r1.overlay))("overlay", ctx_r1.overlay)("entries", ctx_r1.entries);
14038
14171
  } }
14039
14172
  function ListScanComponent_ng_miam_list_scan_basket_preview_3_Template(rf, ctx) { if (rf & 1) {
14040
14173
  const _r9 = ɵɵgetCurrentView();
@@ -14043,7 +14176,7 @@ function ListScanComponent_ng_miam_list_scan_basket_preview_3_Template(rf, ctx)
14043
14176
  ɵɵelementEnd();
14044
14177
  } if (rf & 2) {
14045
14178
  const ctx_r2 = ɵɵnextContext();
14046
- ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$y, ctx_r2.overlay))("overlay", ctx_r2.overlay)("entries", ctx_r2.entries);
14179
+ ɵɵproperty("ngClass", ɵɵpureFunction1(3, _c0$x, ctx_r2.overlay))("overlay", ctx_r2.overlay)("entries", ctx_r2.entries);
14047
14180
  } }
14048
14181
  class ListScanComponent {
14049
14182
  constructor(cdr) {
@@ -14455,7 +14588,7 @@ MiamInterceptor.ɵprov = ɵɵdefineInjectable({ token: MiamInterceptor, factory:
14455
14588
  type: Injectable
14456
14589
  }], function () { return [{ type: Injector }]; }, null); })();
14457
14590
 
14458
- const MIAM_API_HOST$4 = `${environment.miamAPI}/api/v1/`;
14591
+ const MIAM_API_HOST$5 = `${environment.miamAPI}/api/v1/`;
14459
14592
  const MIAM_WEB_URL = `${environment.miamWeb}/fr/app`;
14460
14593
  const MIAM_BASKET_URL = `${MIAM_WEB_URL}/mon-panier`;
14461
14594
  registerLocaleData(localeFr, 'fr');
@@ -14499,7 +14632,7 @@ NgMiamModule.ɵinj = ɵɵdefineInjector({ factory: function NgMiamModule_Factory
14499
14632
  { provide: MIAM_BASKET_PATH, useValue: MIAM_BASKET_URL },
14500
14633
  { provide: LOCALE_ID, useValue: 'fr' }
14501
14634
  ], imports: [[
14502
- NgxJsonapiModule.forRoot({ url: MIAM_API_HOST$4 }),
14635
+ NgxJsonapiModule.forRoot({ url: MIAM_API_HOST$5 }),
14503
14636
  ComponentsModule,
14504
14637
  WebComponentsModule,
14505
14638
  BrowserAnimationsModule
@@ -14513,7 +14646,7 @@ NgMiamModule.ɵinj = ɵɵdefineInjector({ factory: function NgMiamModule_Factory
14513
14646
  type: NgModule,
14514
14647
  args: [{
14515
14648
  imports: [
14516
- NgxJsonapiModule.forRoot({ url: MIAM_API_HOST$4 }),
14649
+ NgxJsonapiModule.forRoot({ url: MIAM_API_HOST$5 }),
14517
14650
  ComponentsModule,
14518
14651
  WebComponentsModule,
14519
14652
  BrowserAnimationsModule
@@ -14546,5 +14679,5 @@ NgMiamModule.ɵinj = ɵɵdefineInjector({ factory: function NgMiamModule_Factory
14546
14679
  * Generated bundle index. Do not edit.
14547
14680
  */
14548
14681
 
14549
- export { ActionsPopinComponent, AddonLinkComponent, Article, ArticlesService, Basket, BasketEntriesItem, BasketEntriesService, BasketEntry, BasketPreviewBlockComponent, BasketPreviewDisabledComponent, BasketPreviewLine, BasketPreviewLineComponent, BasketPreviewModule, BasketsService, COMPONENTS, CORSOverlayComponent, CardCreateRecipeComponent, CatalogArticleCardComponent, CatalogCategoryComponent, CatalogHeaderComponent, CatalogListComponent, CatalogRecipeCardComponent, ComponentsModule, ContextService, CounterInputComponent, CounterService, DeleteConfirmButtonComponent, DragDropInputComponent, DrawerComponent, FavoritePageComponent, GroceriesEntriesService, GroceriesListsService, Icon, IconComponent, Ingredient, IngredientsService, Item, ItemsService, LikeButtonComponent, ListInputComponent, ListScanComponent, ListScanModule, LoaderComponent, LoaderModule, MIAM_BASKET_PATH, MIAM_PROVIDER_ID, MIAM_STATUS_ID, ModalComponent, NgMiamModule, OrderButtonComponent, Package, PackageService, PersonalRecipesComponent, PlannerCalendarComponent, PlannerPageComponent, PlannerSideMenuComponent, PointOfSale, PointOfSalesService, PosCardComponent, PosSelectionComponent, QuantityUnit, Recipe, RecipeAddonComponent, RecipeCardComponent, RecipeCatalogComponent, RecipeDetailsComponent, RecipeEventsService, RecipeFiltersComponent, RecipeFormComponent, RecipeHelperComponent, RecipeLikesService, RecipeModalComponent, RecipePricingComponent, RecipeProvider, RecipeProviderService, RecipeShare, RecipeShareService, RecipeStatus, RecipeStatusService, RecipeStep, RecipeStepperComponent, RecipeStepsService, RecipeTagsComponent, RecipeType, RecipeTypeChooserComponent, RecipeTypeService, RecipesHistoryComponent, RecipesService, ReplaceItemComponent, SelectInputComponent, SkeletonComponent, SliderComponent, Sponsor, SponsorService, SuggestionCardComponent, Supplier, SuppliersService, TabBodyComponent, TabItemComponent, TabLabelComponent, TabsComponent, TextInputComponent, TimePickerComponent, ToastrService, User, UserService, WEB_COMPONENTS, WEB_COMPONENTS_NAMES, WebComponentsModule };
14682
+ export { ActionsPopinComponent, AddonLinkComponent, Article, ArticlesService, Basket, BasketEntriesItem, BasketEntriesService, BasketEntry, BasketPreviewBlockComponent, BasketPreviewDisabledComponent, BasketPreviewLine, BasketPreviewLineComponent, BasketPreviewModule, BasketsService, COMPONENTS, CORSOverlayComponent, CardCreateRecipeComponent, CatalogArticleCardComponent, CatalogCategoryComponent, CatalogHeaderComponent, CatalogListComponent, CatalogRecipeCardComponent, ComponentsModule, ContextService, CounterInputComponent, CounterService, DeleteConfirmButtonComponent, DragDropInputComponent, DrawerComponent, FavoritePageComponent, GroceriesEntriesService, GroceriesListsService, Icon, IconComponent, Ingredient, IngredientsService, Item, ItemsService, LikeButtonComponent, ListInputComponent, ListScanComponent, ListScanModule, LoaderComponent, LoaderModule, MIAM_BASKET_PATH, MIAM_PROVIDER_ID, MIAM_STATUS_ID, ModalComponent, NgMiamModule, OrderButtonComponent, Package, PackageService, PersonalRecipesComponent, PlannerCalendarComponent, PlannerPageComponent, PlannerSideMenuComponent, PointOfSale, PointOfSalesService, PosCardComponent, PosSelectionComponent, QuantityUnit, Recipe, RecipeAddonComponent, RecipeCardComponent, RecipeCatalogComponent, RecipeDetailsComponent, RecipeEventsService, RecipeFiltersComponent, RecipeFormComponent, RecipeHelperComponent, RecipeLikesService, RecipeModalComponent, RecipePricingComponent, RecipeProvider, RecipeProviderService, RecipeShare, RecipeShareService, RecipeStatus, RecipeStatusService, RecipeStep, RecipeStepperComponent, RecipeStepsService, RecipeTagsComponent, RecipeType, RecipeTypeChooserComponent, RecipeTypeService, RecipesHistoryComponent, RecipesService, ReplaceItemComponent, SelectInputComponent, SkeletonComponent, SliderComponent, Sponsor, SponsorService, SuggestionCardComponent, Supplier, SuppliersService, TabBodyComponent, TabItemComponent, TabLabelComponent, TabsComponent, Tag, TagsService, TextInputComponent, TimePickerComponent, ToastrService, User, UserService, WEB_COMPONENTS, WEB_COMPONENTS_NAMES, WebComponentsModule };
14550
14683
  //# sourceMappingURL=ng-miam.js.map