ng-miam 8.6.5 → 8.7.1

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 (73) hide show
  1. package/bundles/ng-miam.umd.js +991 -525
  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/components.module.js +2 -2
  6. package/esm2015/lib/_components/store-locator/store-locator.component.js +3 -3
  7. package/esm2015/lib/_models/basket-entry.js +2 -16
  8. package/esm2015/lib/_services/analytics.service.js +9 -14
  9. package/esm2015/lib/_services/basket-transfer.service.js +10 -5
  10. package/esm2015/lib/_services/context.service.js +12 -5
  11. package/esm2015/lib/_services/interceptor.service.js +2 -2
  12. package/esm2015/lib/_services/point-of-sales.service.js +4 -2
  13. package/esm2015/lib/_services/recipes.service.js +2 -2
  14. package/esm2015/lib/_services/store-locator.service.js +49 -8
  15. package/esm2015/lib/_types/builded/miam-interface.js +1 -1
  16. package/esm2015/lib/_types/event-trace.js +1 -1
  17. package/esm2015/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.js +13 -3
  18. package/esm2015/lib/_web-components/basket-preview/basket-preview-line/basket-preview-line.component.js +14 -9
  19. package/esm2015/lib/_web-components/index.js +3 -1
  20. package/esm2015/lib/_web-components/meals-planner/meals-planner-basket-preview/meals-planner-basket-preview.component.js +7 -4
  21. package/esm2015/lib/_web-components/meals-planner/meals-planner.component.js +46 -65
  22. package/esm2015/lib/_web-components/no-supplier-onboarding/no-supplier-onboarding.component.js +291 -0
  23. package/esm2015/lib/_web-components/recipe-cards/recipe-card-cta/recipe-card-cta.component.js +27 -12
  24. package/esm2015/lib/_web-components/recipe-details/recipe-details.component.js +31 -12
  25. package/esm2015/lib/_web-components/recipe-details/store-locator-link/store-locator-link.component.js +2 -2
  26. package/esm2015/lib/_web-components/recipe-modal/recipe-modal.component.js +16 -10
  27. package/esm2015/lib/_web-components/recipe-pricing/recipe-pricing.component.js +3 -2
  28. package/esm2015/lib/_web-components/warning-store-locator/warning-store-locator.component.js +60 -0
  29. package/esm2015/lib/_web-components/web-components.module.js +15 -5
  30. package/esm2015/lib/ng-miam.module.js +15 -39
  31. package/fesm2015/ng-miam.js +590 -194
  32. package/fesm2015/ng-miam.js.map +1 -1
  33. package/lib/_components/components.module.d.ts.map +1 -1
  34. package/lib/_models/basket-entry.d.ts +1 -4
  35. package/lib/_models/basket-entry.d.ts.map +1 -1
  36. package/lib/_services/analytics.service.d.ts +7 -2
  37. package/lib/_services/analytics.service.d.ts.map +1 -1
  38. package/lib/_services/basket-transfer.service.d.ts.map +1 -1
  39. package/lib/_services/context.service.d.ts +1 -0
  40. package/lib/_services/context.service.d.ts.map +1 -1
  41. package/lib/_services/point-of-sales.service.d.ts +1 -2
  42. package/lib/_services/point-of-sales.service.d.ts.map +1 -1
  43. package/lib/_services/store-locator.service.d.ts +15 -2
  44. package/lib/_services/store-locator.service.d.ts.map +1 -1
  45. package/lib/_types/builded/miam-interface.d.ts +12 -1
  46. package/lib/_types/builded/miam-interface.d.ts.map +1 -1
  47. package/lib/_types/event-trace.d.ts +3 -0
  48. package/lib/_types/event-trace.d.ts.map +1 -1
  49. package/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.d.ts +3 -1
  50. package/lib/_web-components/basket-preview/basket-preview-block/basket-preview-block.component.d.ts.map +1 -1
  51. package/lib/_web-components/basket-preview/basket-preview-line/basket-preview-line.component.d.ts +3 -3
  52. package/lib/_web-components/basket-preview/basket-preview-line/basket-preview-line.component.d.ts.map +1 -1
  53. package/lib/_web-components/index.d.ts +2 -0
  54. package/lib/_web-components/index.d.ts.map +1 -1
  55. package/lib/_web-components/meals-planner/meals-planner-basket-preview/meals-planner-basket-preview.component.d.ts +2 -1
  56. package/lib/_web-components/meals-planner/meals-planner-basket-preview/meals-planner-basket-preview.component.d.ts.map +1 -1
  57. package/lib/_web-components/meals-planner/meals-planner.component.d.ts +8 -8
  58. package/lib/_web-components/meals-planner/meals-planner.component.d.ts.map +1 -1
  59. package/lib/_web-components/no-supplier-onboarding/no-supplier-onboarding.component.d.ts +28 -0
  60. package/lib/_web-components/no-supplier-onboarding/no-supplier-onboarding.component.d.ts.map +1 -0
  61. package/lib/_web-components/recipe-cards/recipe-card-cta/recipe-card-cta.component.d.ts +4 -0
  62. package/lib/_web-components/recipe-cards/recipe-card-cta/recipe-card-cta.component.d.ts.map +1 -1
  63. package/lib/_web-components/recipe-details/recipe-details.component.d.ts +4 -0
  64. package/lib/_web-components/recipe-details/recipe-details.component.d.ts.map +1 -1
  65. package/lib/_web-components/recipe-modal/recipe-modal.component.d.ts.map +1 -1
  66. package/lib/_web-components/recipe-pricing/recipe-pricing.component.d.ts.map +1 -1
  67. package/lib/_web-components/warning-store-locator/warning-store-locator.component.d.ts +16 -0
  68. package/lib/_web-components/warning-store-locator/warning-store-locator.component.d.ts.map +1 -0
  69. package/lib/_web-components/web-components.module.d.ts +20 -16
  70. package/lib/_web-components/web-components.module.d.ts.map +1 -1
  71. package/lib/ng-miam.module.d.ts +1 -4
  72. package/lib/ng-miam.module.d.ts.map +1 -1
  73. package/package.json +1 -1
@@ -1435,7 +1435,6 @@
1435
1435
  status: 'active'
1436
1436
  };
1437
1437
  _this.relationships = {
1438
- items: new i2.DocumentCollection(),
1439
1438
  'selected-item': new i2.DocumentResource()
1440
1439
  };
1441
1440
  return _this;
@@ -1495,21 +1494,6 @@
1495
1494
  enumerable: false,
1496
1495
  configurable: true
1497
1496
  });
1498
- Object.defineProperty(BasketEntry.prototype, "items", {
1499
- get: function () {
1500
- var _this = this;
1501
- return this.relationships.items.data.map(function (item) {
1502
- var _a;
1503
- var beItem = _this.attributes['basket-entries-items'].find(function (i) { return i.item_id.toString() === item.id; });
1504
- item.attributes['unit-price'] = beItem['unit-price'];
1505
- item.attributes.currency = beItem.currency;
1506
- item.variableCapacity = beItem.pft_plages && ((_a = beItem.pft_plages[0]) === null || _a === void 0 ? void 0 : _a.toString());
1507
- return item;
1508
- });
1509
- },
1510
- enumerable: false,
1511
- configurable: true
1512
- });
1513
1497
  Object.defineProperty(BasketEntry.prototype, "selectedItem", {
1514
1498
  get: function () {
1515
1499
  return this.relationships['selected-item'].data;
@@ -1517,14 +1501,6 @@
1517
1501
  enumerable: false,
1518
1502
  configurable: true
1519
1503
  });
1520
- Object.defineProperty(BasketEntry.prototype, "candidateItems", {
1521
- get: function () {
1522
- var _this = this;
1523
- return this.items.filter(function (i) { var _a; return i.id !== ((_a = _this.selectedItem) === null || _a === void 0 ? void 0 : _a.id); });
1524
- },
1525
- enumerable: false,
1526
- configurable: true
1527
- });
1528
1504
  Object.defineProperty(BasketEntry.prototype, "totalprice", {
1529
1505
  get: function () {
1530
1506
  if (!this.selectedItem) {
@@ -2021,7 +1997,6 @@
2021
1997
  _this.type = 'point-of-sales';
2022
1998
  _this.pos$ = new rxjs.BehaviorSubject(undefined);
2023
1999
  _this.basketLoadedForNewPos$ = new rxjs.Subject();
2024
- _this.openStoreLocators$ = new rxjs.Subject();
2025
2000
  _this.posIsLoading$ = new rxjs.BehaviorSubject(false);
2026
2001
  _this.register();
2027
2002
  _this.navigateToCachedRecipeOnPosChange();
@@ -2115,6 +2090,9 @@
2115
2090
  if (selectedPosId) {
2116
2091
  this.loadPos(selectedPosId).pipe(operators.take(1)).subscribe();
2117
2092
  }
2093
+ else {
2094
+ this.loadPosWithExtId(null);
2095
+ }
2118
2096
  };
2119
2097
  PointOfSalesService.prototype.getByAddress = function (address, radius, suppliers, includeSupplier) {
2120
2098
  if (includeSupplier === void 0) { includeSupplier = true; }
@@ -3000,6 +2978,8 @@
3000
2978
  this.EVENT_RECIPE_LIKE = 'recipe.like';
3001
2979
  this.EVENT_RECIPE_UNLIKE = 'recipe.unlike';
3002
2980
  this.EVENT_RECIPE_PRINT = 'recipe.print';
2981
+ this.EVENT_RECIPE_CONTINUE = 'recipe.continue';
2982
+ this.EVENT_RECIPE_CLOSE = 'recipe.close';
3003
2983
  this.EVENT_PERSONAL_RECIPE_CREATE = 'recipe.personal.create';
3004
2984
  this.EVENT_PERSONAL_RECIPE_DELETE = 'recipe.personal.delete';
3005
2985
  this.EVENT_CATEGORY_SHOW = 'category.show';
@@ -3013,12 +2993,16 @@
3013
2993
  this.EVENT_BASKET_TRANSFER = 'basket.transfer';
3014
2994
  this.EVENT_MEALS_PLANNER_CONFIRMED = 'planner.confirmed';
3015
2995
  this.EVENT_POS_SELECTED = 'pos.selected';
2996
+ this.EVENT_SEARCH_STORE = 'search.store';
2997
+ this.EVENT_LOCATOR_CLOSE = 'locator.close';
2998
+ this.EVENT_ONBOARDING_CLOSE = 'onboarding.close';
2999
+ this.EVENT_ONBOARDING_ACTION = 'onboarding.action';
3016
3000
  this.ready$ = new rxjs.BehaviorSubject(false);
3017
3001
  this.eventEmitter = new i0.EventEmitter();
3018
3002
  }
3019
- AnalyticsService.prototype.init = function (domain, optimizeKey) {
3003
+ // DEPRECATED: optimizeKey parameter to be removed with next major version
3004
+ AnalyticsService.prototype.init = function (domain, _optimizeKey) {
3020
3005
  this._injectPlausible(domain);
3021
- this._injectOptimize(optimizeKey);
3022
3006
  };
3023
3007
  /**
3024
3008
  * Set the identifier of the ABTest experience if one is running
@@ -3078,17 +3062,6 @@
3078
3062
  };
3079
3063
  document.head.appendChild(script);
3080
3064
  };
3081
- AnalyticsService.prototype._injectOptimize = function (key) {
3082
- if (!key || key.length < 0) {
3083
- // eslint-disable-next-line no-console
3084
- console.info("[Miam] Google Optimize not initialized (no key) " + JSON.stringify(key));
3085
- return;
3086
- }
3087
- var script = document.createElement('script');
3088
- script.src = "https://www.googleoptimize.com/optimize.js?id=" + key;
3089
- script.onload = function () { return console.debug("[Miam] Optimize ready for key: " + JSON.stringify(key)); };
3090
- document.head.appendChild(script);
3091
- };
3092
3065
  /** ************************************************* SEND EVENT FOR BASKET ACTIONS ************************************************* **/
3093
3066
  AnalyticsService.prototype.sendRemoveRecipesEvents = function (actions) {
3094
3067
  var _this = this;
@@ -3664,33 +3637,76 @@
3664
3637
 
3665
3638
  var StoreLocatorService = /** @class */ (function () {
3666
3639
  function StoreLocatorService(posService, analyticsService) {
3640
+ var _this = this;
3667
3641
  this.posService = posService;
3668
3642
  this.analyticsService = analyticsService;
3669
3643
  this.subscriptions = [];
3670
3644
  this.storeLocatorOpened$ = new rxjs.BehaviorSubject(false);
3671
3645
  this.newStoreSelected$ = new rxjs.Subject();
3672
3646
  this.closeModalOnSelected = false;
3647
+ this.showStoreLocatorWarning = new rxjs.BehaviorSubject(false);
3648
+ this.showNoSupplierOnboarding = new rxjs.BehaviorSubject(false);
3649
+ this.storeLocatorOpened$.subscribe(function (opened) {
3650
+ if (opened && _this.storeLocatorOpenedTimestamp !== 0) {
3651
+ _this.storeLocatorOpenedTimestamp = Date.now();
3652
+ }
3653
+ });
3673
3654
  }
3674
3655
  StoreLocatorService.prototype.changePosAndSupplier = function (e, eventTrace) {
3675
- var _this = this;
3676
3656
  var _a, _b;
3677
3657
  console.debug('[Miam] posIdChange received from store locator', e.detail.posId);
3678
3658
  if (((_b = (_a = this.posService.pos$) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.id) === e.detail.posId) {
3679
- this.storeLocatorOpened$.next(false);
3659
+ this.closeStoreLocator();
3680
3660
  return;
3681
3661
  }
3682
- this.subscriptions.push(this.posService.loadPos(e.detail.posId).pipe(operators.skipWhile(function (pos) { return !pos || pos.id !== e.detail.posId; }), operators.switchMap(function (pos) {
3683
- _this.analyticsService.sendEventWhenReady(_this.analyticsService.EVENT_POS_SELECTED, eventTrace.originPath, { pos_name: pos.attributes.name, pos_id: pos.id });
3662
+ this.selectedPosId = e.detail.posId;
3663
+ this.selectedSupplierName = e.detail.supplierName;
3664
+ this.storeLocatorEventTrace = eventTrace;
3665
+ // The following check is supposed to be temporary TODO remove
3666
+ if (/Mobi|Android|iPhone/i.test(navigator.userAgent) && e.detail.supplierId === '7') {
3667
+ // Current device is a mobile device and the chosen supplier has not deactivated deep links
3668
+ this.showStoreLocatorWarning.next(true);
3669
+ }
3670
+ else {
3671
+ this.changePos();
3672
+ }
3673
+ };
3674
+ StoreLocatorService.prototype.changePos = function () {
3675
+ var _this = this;
3676
+ this.subscriptions.push(this.posService.loadPos(this.selectedPosId).pipe(operators.skipWhile(function (pos) { return !pos || pos.id !== _this.selectedPosId; }), operators.switchMap(function (pos) {
3677
+ _this.analyticsService.sendEventWhenReady(_this.analyticsService.EVENT_POS_SELECTED, _this.storeLocatorEventTrace.originPath, { pos_name: pos.attributes.name, pos_id: pos.id, supplier_name: _this.selectedSupplierName });
3684
3678
  localStorage.setItem('_miam/noSupplier/posId', pos.id);
3685
3679
  return _this.posService.basketLoadedForNewPos();
3686
3680
  }), operators.map(function () {
3687
3681
  _this.newStoreSelected$.next();
3688
- _this.storeLocatorOpened$.next(false);
3682
+ _this.closeStoreLocator();
3689
3683
  })).subscribe());
3690
3684
  };
3685
+ StoreLocatorService.prototype.openStoreLocator = function (skipOnboarding) {
3686
+ if (skipOnboarding === void 0) { skipOnboarding = false; }
3687
+ if (!localStorage.getItem('_miam/noSupplier/posId') && !sessionStorage.getItem('_miam/noSupplier/onboarding') && !skipOnboarding) {
3688
+ this.showNoSupplierOnboarding.next(true);
3689
+ }
3690
+ this.storeLocatorOpened$.next(true);
3691
+ };
3692
+ StoreLocatorService.prototype.closeStoreLocator = function () {
3693
+ if (this.storeLocatorOpened$.value) {
3694
+ this.analyticsService.sendEventWhenReady(this.analyticsService.EVENT_LOCATOR_CLOSE, '/locator', { time_passed: (Date.now() - this.storeLocatorOpenedTimestamp) / 1000 });
3695
+ this.storeLocatorOpenedTimestamp = 0;
3696
+ }
3697
+ this.storeLocatorOpened$.next(false);
3698
+ };
3691
3699
  StoreLocatorService.prototype.showChange = function (e) {
3692
- console.debug('[Miam] showChange received from store locator', e.detail.show);
3693
- this.storeLocatorOpened$.next(e.detail.show);
3700
+ if (e.detail.show) {
3701
+ this.openStoreLocator();
3702
+ }
3703
+ else {
3704
+ this.closeStoreLocator();
3705
+ }
3706
+ };
3707
+ StoreLocatorService.prototype.searchChange = function (e, eventTrace) {
3708
+ console.debug('[Miam] searchChange received from store locator', e.detail.searchTerm);
3709
+ this.analyticsService.sendEventWhenReady(this.analyticsService.EVENT_SEARCH_STORE, eventTrace.originPath, { search_term: e.detail.searchTerm, stores_found_count: e.detail.storesFoundCount });
3694
3710
  };
3695
3711
  StoreLocatorService.prototype.unsubscribe = function () {
3696
3712
  this.subscriptions.forEach(function (sub) { return sub.unsubscribe(); });
@@ -3966,7 +3982,7 @@
3966
3982
  };
3967
3983
  RecipesService.prototype.openStoreLocator = function () {
3968
3984
  this.storeLocatorService.closeModalOnSelected = true;
3969
- this.storeLocatorService.storeLocatorOpened$.next(true);
3985
+ this.storeLocatorService.openStoreLocator(true);
3970
3986
  this.displayedRecipe$.next({
3971
3987
  previewAllowed: false,
3972
3988
  recipe: null,
@@ -5596,10 +5612,12 @@
5596
5612
  _this.onBasketAndPosSendEvent(_this.analyticsService.EVENT_PAYMENT_STARTED, totalPrice);
5597
5613
  },
5598
5614
  analytics: {
5599
- init: function (domain, optimizeKey) {
5600
- _this.analyticsService.init(domain, optimizeKey);
5615
+ // DEPRECATED: optimizeKey parameter to be removed with next major version
5616
+ init: function (domain, _optimizeKey) {
5617
+ _this.analyticsService.init(domain);
5601
5618
  },
5602
- eventSent$: this.analyticsService.eventEmitter
5619
+ eventSent$: this.analyticsService.eventEmitter,
5620
+ setAbTestKey: function (key) { return _this.analyticsService.setAbTestKey(key); }
5603
5621
  },
5604
5622
  basket: {
5605
5623
  basketIsReady$: this.basketsService.basketStats$.pipe(operators.skipWhile(function (stats) { return !stats; }), operators.take(1), operators.map(function () { return true; })),
@@ -5615,6 +5633,11 @@
5615
5633
  updatePricebook: function (pricebookName) { return _this.basketsService.updatePricebook(pricebookName); },
5616
5634
  recipeCount: function () { return _this.basketsService.waitForBasket.pipe(operators.switchMap(function () { return _this.basketsService.basketStats$; }), operators.skipWhile(function (bs) { return !bs; }), operators.map(function (bs) { return bs.recipesCount; }), operators.distinctUntilChanged()); },
5617
5635
  openPreview: function () { return _this.recipesService.openBasket({ originPath: '', props: null }); },
5636
+ overrideTransferUrl: function (url) {
5637
+ if (_this.noSupplier && url) {
5638
+ _this.transferUrlBaseOverride = url;
5639
+ }
5640
+ }
5618
5641
  },
5619
5642
  basketSync: {
5620
5643
  definePushProductsToBasket: function (pushProductsToBasket) {
@@ -5908,7 +5931,7 @@
5908
5931
  ContextService.prototype.loadStoreLocatorPackage = function () {
5909
5932
  var storeLocatorScript = document.createElement('script');
5910
5933
  storeLocatorScript.setAttribute('type', 'module');
5911
- storeLocatorScript.setAttribute('src', 'https://unpkg.com/mealz-components@0.2/dist/store-locator/store-locator.min.js');
5934
+ storeLocatorScript.setAttribute('src', 'https://unpkg.com/mealz-components@0.5/dist/store-locator/store-locator.min.js');
5912
5935
  document.head.appendChild(storeLocatorScript);
5913
5936
  };
5914
5937
  ContextService.prototype.generateAuthlessIdIfNecessary = function () {
@@ -7060,7 +7083,7 @@
7060
7083
  i18n_0 = MSG_EXTERNAL_292185335888732433$$LIB__COMPONENTS_ACTIONS_POPIN_ACTIONS_POPIN_COMPONENT_TS_1;
7061
7084
  }
7062
7085
  else {
7063
- i18n_0 = $localize(templateObject_1$R || (templateObject_1$R = __makeTemplateObject([":\u241F5f51b68aa17dd3a5265302cfb7674b502820d761\u241F292185335888732433:\u00C9diter"], [":\u241F5f51b68aa17dd3a5265302cfb7674b502820d761\u241F292185335888732433:\u00C9diter"])));
7086
+ i18n_0 = $localize(templateObject_1$T || (templateObject_1$T = __makeTemplateObject([":\u241F5f51b68aa17dd3a5265302cfb7674b502820d761\u241F292185335888732433:\u00C9diter"], [":\u241F5f51b68aa17dd3a5265302cfb7674b502820d761\u241F292185335888732433:\u00C9diter"])));
7064
7087
  }
7065
7088
  var i18n_2;
7066
7089
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -7068,7 +7091,7 @@
7068
7091
  i18n_2 = MSG_EXTERNAL_180879386399550529$$LIB__COMPONENTS_ACTIONS_POPIN_ACTIONS_POPIN_COMPONENT_TS_3;
7069
7092
  }
7070
7093
  else {
7071
- i18n_2 = $localize(templateObject_2$H || (templateObject_2$H = __makeTemplateObject([":\u241Fe32da846622c2c2eb7a59b745110dbbdb05407b7\u241F180879386399550529:Supprimer"], [":\u241Fe32da846622c2c2eb7a59b745110dbbdb05407b7\u241F180879386399550529:Supprimer"])));
7094
+ i18n_2 = $localize(templateObject_2$J || (templateObject_2$J = __makeTemplateObject([":\u241Fe32da846622c2c2eb7a59b745110dbbdb05407b7\u241F180879386399550529:Supprimer"], [":\u241Fe32da846622c2c2eb7a59b745110dbbdb05407b7\u241F180879386399550529:Supprimer"])));
7072
7095
  }
7073
7096
  return [[1, "miam-actions-popin"], [1, "miam-actions-popin__actions"], [1, "miam-actions-popin__action", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], i18n_0, [3, "iconName"], i18n_2];
7074
7097
  }, template: function ActionsPopinComponent_Template(rf, ctx) {
@@ -7118,7 +7141,7 @@
7118
7141
  args: ['document:click', ['$event']]
7119
7142
  }] });
7120
7143
  })();
7121
- var templateObject_1$R, templateObject_2$H;
7144
+ var templateObject_1$T, templateObject_2$J;
7122
7145
 
7123
7146
  function AddonLinkComponent_span_2_Template(rf, ctx) {
7124
7147
  if (rf & 1) {
@@ -7190,7 +7213,7 @@
7190
7213
  i18n_0 = MSG_EXTERNAL_346178670015862382$$LIB__COMPONENTS_ADDON_LINK_ADDON_LINK_COMPONENT_TS__1;
7191
7214
  }
7192
7215
  else {
7193
- i18n_0 = $localize(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject([":\u241F592a6ddb645d9971d03862cb6b8b323a3d9a0be2\u241F346178670015862382:Cette recette vous est propos\u00E9e par notre partenaire"], [":\u241F592a6ddb645d9971d03862cb6b8b323a3d9a0be2\u241F346178670015862382:Cette recette vous est propos\u00E9e par notre partenaire"])));
7216
+ i18n_0 = $localize(templateObject_1$S || (templateObject_1$S = __makeTemplateObject([":\u241F592a6ddb645d9971d03862cb6b8b323a3d9a0be2\u241F346178670015862382:Cette recette vous est propos\u00E9e par notre partenaire"], [":\u241F592a6ddb645d9971d03862cb6b8b323a3d9a0be2\u241F346178670015862382:Cette recette vous est propos\u00E9e par notre partenaire"])));
7194
7217
  }
7195
7218
  var i18n_2;
7196
7219
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -7198,7 +7221,7 @@
7198
7221
  i18n_2 = MSG_EXTERNAL_6125042438179034490$$LIB__COMPONENTS_ADDON_LINK_ADDON_LINK_COMPONENT_TS__3;
7199
7222
  }
7200
7223
  else {
7201
- i18n_2 = $localize(templateObject_2$G || (templateObject_2$G = __makeTemplateObject([":\u241F21743cbace12f161ebbf8c79731b476336c1fe7a\u241F6125042438179034490: En savoir plus "], [":\u241F21743cbace12f161ebbf8c79731b476336c1fe7a\u241F6125042438179034490: En savoir plus "])));
7224
+ i18n_2 = $localize(templateObject_2$I || (templateObject_2$I = __makeTemplateObject([":\u241F21743cbace12f161ebbf8c79731b476336c1fe7a\u241F6125042438179034490: En savoir plus "], [":\u241F21743cbace12f161ebbf8c79731b476336c1fe7a\u241F6125042438179034490: En savoir plus "])));
7202
7225
  }
7203
7226
  return [[1, "miam-addon-link"], [1, "miam-addon-link__info"], [4, "ngIf", "ngIfElse"], ["sponsorsedLink", ""], ["class", "miam-addon-link__link", 3, "click", 4, "ngIf"], ["class", "miam-addon-link__logo", 4, "ngIf"], i18n_0, [1, "miam-addon-link__sponsor-name"], [1, "miam-addon-link__link", 3, "click"], i18n_2, [1, "miam-addon-link__logo"], [3, "src", "alt"]];
7204
7227
  }, template: function AddonLinkComponent_Template(rf, ctx) {
@@ -7240,7 +7263,7 @@
7240
7263
  type: i0.Output
7241
7264
  }] });
7242
7265
  })();
7243
- var templateObject_1$Q, templateObject_2$G;
7266
+ var templateObject_1$S, templateObject_2$I;
7244
7267
 
7245
7268
  var CardCreateRecipeComponent = /** @class */ (function () {
7246
7269
  function CardCreateRecipeComponent() {
@@ -7257,7 +7280,7 @@
7257
7280
  i18n_0 = MSG_EXTERNAL_632875815727209694$$LIB__COMPONENTS_CARD_CREATE_RECIPE_CARD_CREATE_RECIPE_COMPONENT_TS_1;
7258
7281
  }
7259
7282
  else {
7260
- i18n_0 = $localize(templateObject_1$P || (templateObject_1$P = __makeTemplateObject([":\u241Fda95ac9568ebaa0d417c7960d25b42ca166467b2\u241F632875815727209694:Nouvelle recette"], [":\u241Fda95ac9568ebaa0d417c7960d25b42ca166467b2\u241F632875815727209694:Nouvelle recette"])));
7283
+ i18n_0 = $localize(templateObject_1$R || (templateObject_1$R = __makeTemplateObject([":\u241Fda95ac9568ebaa0d417c7960d25b42ca166467b2\u241F632875815727209694:Nouvelle recette"], [":\u241Fda95ac9568ebaa0d417c7960d25b42ca166467b2\u241F632875815727209694:Nouvelle recette"])));
7261
7284
  }
7262
7285
  return [[1, "card-create-recipe"], [1, "card-create-recipe__icon"], ["primaryColor", "var(--m-color-primary)", 3, "width", "height", "iconName"], [1, "card-create-recipe__button", "m-button-primary", 3, "click"], i18n_0, ["primaryColor", "var(--m-color-white)", 3, "width", "height", "iconName"]];
7263
7286
  }, template: function CardCreateRecipeComponent_Template(rf, ctx) {
@@ -7296,7 +7319,7 @@
7296
7319
  type: i0.Output
7297
7320
  }] });
7298
7321
  })();
7299
- var templateObject_1$P;
7322
+ var templateObject_1$R;
7300
7323
 
7301
7324
  var CORSOverlayComponent = /** @class */ (function () {
7302
7325
  function CORSOverlayComponent() {
@@ -8094,7 +8117,7 @@
8094
8117
  i18n_2 = MSG_EXTERNAL_4137288559015719180$$LIB__COMPONENTS_DRAG_DROP_INPUT_DRAG_DROP_INPUT_COMPONENT_TS__3;
8095
8118
  }
8096
8119
  else {
8097
- i18n_2 = $localize(templateObject_1$O || (templateObject_1$O = __makeTemplateObject([":\u241F16215e9534430da4b0c376e733eb20a53bd56326\u241F4137288559015719180: Si vous ne changez pas la photo, celle par d\u00E9faut sera appliqu\u00E9e "], [":\u241F16215e9534430da4b0c376e733eb20a53bd56326\u241F4137288559015719180: Si vous ne changez pas la photo, celle par d\u00E9faut sera appliqu\u00E9e "])));
8120
+ i18n_2 = $localize(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject([":\u241F16215e9534430da4b0c376e733eb20a53bd56326\u241F4137288559015719180: Si vous ne changez pas la photo, celle par d\u00E9faut sera appliqu\u00E9e "], [":\u241F16215e9534430da4b0c376e733eb20a53bd56326\u241F4137288559015719180: Si vous ne changez pas la photo, celle par d\u00E9faut sera appliqu\u00E9e "])));
8098
8121
  }
8099
8122
  return [[1, "miam-uploader", 3, "ngClass"], ["multiple", "multiple", "type", "file", 3, "change", 4, "ngIf", "ngIfElse"], ["photoInput", ""], [1, "m-button-secondary", 3, "click"], [4, "ngTemplateOutlet"], ["primaryColor", "var(--m-color-white)", 3, "iconName"], ["class", "miam-uploader__default__photo", 3, "click", 4, "ngIf"], [1, "miam-uploader__drop__overlay", 3, "dragover", "dragleave", "drop", "click"], ["multiple", "multiple", "type", "file", 3, "change"], ["fileInput", ""], ["accept", "image/jpeg, image/png, image/webp", "type", "file", 3, "change", 4, "ngIf"], [3, "src"], ["accept", "image/jpeg, image/png, image/webp", "type", "file", 3, "change"], [1, "miam-uploader__default__photo", 3, "click"], i18n_2];
8100
8123
  }, template: function DragDropInputComponent_Template(rf, ctx) {
@@ -8160,7 +8183,7 @@
8160
8183
  args: ['buttonText', { static: false }]
8161
8184
  }] });
8162
8185
  })();
8163
- var templateObject_1$O;
8186
+ var templateObject_1$Q;
8164
8187
 
8165
8188
  function GuestsDropdownComponent_div_7_div_2_Template(rf, ctx) {
8166
8189
  if (rf & 1) {
@@ -8477,10 +8500,15 @@
8477
8500
  this.subscriptions.push(this.posService.waitForPos.pipe(operators.take(1), operators.switchMap(function (pos) {
8478
8501
  var startTransferUrl = environment$1.miamAPI + "/api/v1/baskets/start_transfer?point_of_sale_id=" + pos.id;
8479
8502
  return _this.http.patch(startTransferUrl, {});
8480
- }), operators.switchMap(function (transferResponse) { return _this.basketsService.refreshCurrentBasket().pipe(operators.skipWhile(function (basket) { return !basket; }), operators.take(1), operators.switchMap(function (basket) {
8481
- _this.analyticsService.sendEventWhenReady(_this.analyticsService.EVENT_BASKET_TRANSFER, null, _this.eventProps(basket));
8482
- return rxjs.of(transferResponse);
8483
- })); }), operators.switchMap(function (transferResponse) {
8503
+ }), operators.switchMap(function (transferResponse) {
8504
+ var _b = __read(transferResponse.transfer_url.split('?'), 2), baseUrl = _b[0], queryParams = _b[1];
8505
+ transferResponse.transfer_url =
8506
+ (_this.contextService.transferUrlBaseOverride || baseUrl) + (queryParams ? ('?' + queryParams) : '');
8507
+ return _this.basketsService.refreshCurrentBasket().pipe(operators.skipWhile(function (basket) { return !basket; }), operators.take(1), operators.switchMap(function (basket) {
8508
+ _this.analyticsService.sendEventWhenReady(_this.analyticsService.EVENT_BASKET_TRANSFER, null, _this.eventProps(basket));
8509
+ return rxjs.of(transferResponse);
8510
+ }));
8511
+ }), operators.switchMap(function (transferResponse) {
8484
8512
  sessionStorage.setItem('_miam/transferUrl', transferResponse.transfer_url);
8485
8513
  _this.navigateTotranferUrl();
8486
8514
  _this.recipesService.hide();
@@ -8783,7 +8811,7 @@
8783
8811
  MiamInterceptor.prototype.setMiamHeaders = function (request) {
8784
8812
  var headersToAdd = {
8785
8813
  'miam-origin': this.context.origin.value,
8786
- 'miam-front-version': '8.6.5',
8814
+ 'miam-front-version': '8.7.1',
8787
8815
  'miam-front-type': 'web',
8788
8816
  'miam-api-version': '4.7.0'
8789
8817
  };
@@ -9830,7 +9858,7 @@
9830
9858
  i18n_0 = MSG_EXTERNAL_3775647930168967606$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS___1;
9831
9859
  }
9832
9860
  else {
9833
- i18n_0 = $localize(templateObject_1$N || (templateObject_1$N = __makeTemplateObject([":\u241F77ab0a692c428421d89ca45e8f244219959d2913\u241F3775647930168967606:Utilis\u00E9 dans "], [":\u241F77ab0a692c428421d89ca45e8f244219959d2913\u241F3775647930168967606:Utilis\u00E9 dans "])));
9861
+ i18n_0 = $localize(templateObject_1$P || (templateObject_1$P = __makeTemplateObject([":\u241F77ab0a692c428421d89ca45e8f244219959d2913\u241F3775647930168967606:Utilis\u00E9 dans "], [":\u241F77ab0a692c428421d89ca45e8f244219959d2913\u241F3775647930168967606:Utilis\u00E9 dans "])));
9834
9862
  }
9835
9863
  var i18n_2;
9836
9864
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -9838,7 +9866,7 @@
9838
9866
  i18n_2 = MSG_EXTERNAL_8253051398336962047$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS___3;
9839
9867
  }
9840
9868
  else {
9841
- i18n_2 = $localize(templateObject_2$F || (templateObject_2$F = __makeTemplateObject([":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"], [":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"])));
9869
+ i18n_2 = $localize(templateObject_2$H || (templateObject_2$H = __makeTemplateObject([":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"], [":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"])));
9842
9870
  }
9843
9871
  var i18n_4;
9844
9872
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -9846,7 +9874,7 @@
9846
9874
  i18n_4 = MSG_EXTERNAL_4122997114884311871$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS____5;
9847
9875
  }
9848
9876
  else {
9849
- i18n_4 = $localize(templateObject_3$v || (templateObject_3$v = __makeTemplateObject([":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"], [":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"])));
9877
+ i18n_4 = $localize(templateObject_3$w || (templateObject_3$w = __makeTemplateObject([":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"], [":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"])));
9850
9878
  }
9851
9879
  var i18n_6;
9852
9880
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -9854,7 +9882,7 @@
9854
9882
  i18n_6 = MSG_EXTERNAL_6395936232189121511$$LIB__COMPONENTS_MODAL_MODAL_COMPONENT_TS____7;
9855
9883
  }
9856
9884
  else {
9857
- i18n_6 = $localize(templateObject_4$q || (templateObject_4$q = __makeTemplateObject([":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"], [":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"])));
9885
+ i18n_6 = $localize(templateObject_4$r || (templateObject_4$r = __makeTemplateObject([":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"], [":\u241Fd3276a66cd37a042eef60b47ad3ac37a6935cb08\u241F6395936232189121511:Passer commande"])));
9858
9886
  }
9859
9887
  return [[4, "ngIf"], [1, "miam-modal__container", 3, "ngClass"], [1, "miam-shadow-overlay", 3, "click"], [1, "miam-modal", "miam-ds-text", 3, "ngClass"], [1, "miam-modal__content-container"], [1, "miam-modal__header-container"], [1, "miam-modal__header"], ["class", "miam-modal__title miam-ds-text size-xl weight-xxl", 4, "ngIf"], ["class", "miam-modal__title miam-ds-text", 4, "ngIf"], [1, "miam-modal__close-icon", "miam-ds-button", "ghost", 3, "click"], [1, "miam-modal__content__scroll-protection"], [1, "miam-modal__content", "miam-ds-text"], ["class", "miam-modal__actions", 4, "ngIf"], [1, "miam-modal__title", "miam-ds-text", "size-xl", "weight-xxl"], [1, "miam-modal__title", "miam-ds-text"], i18n_0, i18n_2, [1, "miam-modal__actions"], [1, "miam-modal__interactions"], ["class", "miam-ds-button secondary", 3, "disabled", "click", 4, "ngIf"], [1, "miam-ds-button", 3, "disabled", "ngClass", "click"], ["class", "miam-ds-loader", 4, "ngIf"], [1, "miam-ds-button", "secondary", 3, "disabled", "click"], [1, "miam-ds-loader"], [1, "miam-modal__place-order"], [1, "miam-modal__place-order-price"], [1, "miam-modal__total-price", "miam-ds-text", "size-l", "weight-xxl"], [1, "miam-modal__total-price-label", "miam-ds-text", "size-s"], i18n_4, [1, "miam-modal__place-order-cta", "miam-ds-button", 3, "ngClass", "click"], i18n_6];
9860
9888
  }, template: function ModalComponent_Template(rf, ctx) {
@@ -9915,7 +9943,7 @@
9915
9943
  args: ['window:keydown.escape']
9916
9944
  }] });
9917
9945
  })();
9918
- var templateObject_1$N, templateObject_2$F, templateObject_3$v, templateObject_4$q;
9946
+ var templateObject_1$P, templateObject_2$H, templateObject_3$w, templateObject_4$r;
9919
9947
 
9920
9948
  function ListInputComponent_div_2_Template(rf, ctx) {
9921
9949
  if (rf & 1) {
@@ -10626,7 +10654,7 @@
10626
10654
  i18n_0 = MSG_EXTERNAL_6695434073227826027$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS_1;
10627
10655
  }
10628
10656
  else {
10629
- i18n_0 = $localize(templateObject_1$M || (templateObject_1$M = __makeTemplateObject([":\u241F168aaaefb82a049ba50e371f90edc3cf717dbe18\u241F6695434073227826027:Exemple :\\n500g de farine\\n250g de beurre\\nhuile d\\'olive\\n4 tranches de jambon"], [":\u241F168aaaefb82a049ba50e371f90edc3cf717dbe18\u241F6695434073227826027:Exemple :\\\\n500g de farine\\\\n250g de beurre\\\\nhuile d\\\\'olive\\\\n4 tranches de jambon"])));
10657
+ i18n_0 = $localize(templateObject_1$O || (templateObject_1$O = __makeTemplateObject([":\u241F168aaaefb82a049ba50e371f90edc3cf717dbe18\u241F6695434073227826027:Exemple :\\n500g de farine\\n250g de beurre\\nhuile d\\'olive\\n4 tranches de jambon"], [":\u241F168aaaefb82a049ba50e371f90edc3cf717dbe18\u241F6695434073227826027:Exemple :\\\\n500g de farine\\\\n250g de beurre\\\\nhuile d\\\\'olive\\\\n4 tranches de jambon"])));
10630
10658
  }
10631
10659
  var i18n_2;
10632
10660
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10634,7 +10662,7 @@
10634
10662
  i18n_2 = MSG_EXTERNAL_2018023587834470484$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS_3;
10635
10663
  }
10636
10664
  else {
10637
- i18n_2 = $localize(templateObject_2$E || (templateObject_2$E = __makeTemplateObject([":\u241F3877c3dcbb65966da0eec0fc397768e4b8cb4c0a\u241F2018023587834470484:Exemple :\\nHacher grossi\u00E8rement le c\u00E9leri et l'oignon.\\nCouper le chou-fleur en petits bouquets."], [":\u241F3877c3dcbb65966da0eec0fc397768e4b8cb4c0a\u241F2018023587834470484:Exemple :\\\\nHacher grossi\u00E8rement le c\u00E9leri et l'oignon.\\\\nCouper le chou-fleur en petits bouquets."])));
10665
+ i18n_2 = $localize(templateObject_2$G || (templateObject_2$G = __makeTemplateObject([":\u241F3877c3dcbb65966da0eec0fc397768e4b8cb4c0a\u241F2018023587834470484:Exemple :\\nHacher grossi\u00E8rement le c\u00E9leri et l'oignon.\\nCouper le chou-fleur en petits bouquets."], [":\u241F3877c3dcbb65966da0eec0fc397768e4b8cb4c0a\u241F2018023587834470484:Exemple :\\\\nHacher grossi\u00E8rement le c\u00E9leri et l'oignon.\\\\nCouper le chou-fleur en petits bouquets."])));
10638
10666
  }
10639
10667
  var i18n_4;
10640
10668
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10642,7 +10670,7 @@
10642
10670
  i18n_4 = MSG_EXTERNAL_5408671121354947038$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS_5;
10643
10671
  }
10644
10672
  else {
10645
- i18n_4 = $localize(templateObject_3$u || (templateObject_3$u = __makeTemplateObject([":\u241F6f4549745b3359819ca94563488f5ccd66a5c7a7\u241F5408671121354947038:Ajouter "], [":\u241F6f4549745b3359819ca94563488f5ccd66a5c7a7\u241F5408671121354947038:Ajouter "])));
10673
+ i18n_4 = $localize(templateObject_3$v || (templateObject_3$v = __makeTemplateObject([":\u241F6f4549745b3359819ca94563488f5ccd66a5c7a7\u241F5408671121354947038:Ajouter "], [":\u241F6f4549745b3359819ca94563488f5ccd66a5c7a7\u241F5408671121354947038:Ajouter "])));
10646
10674
  }
10647
10675
  var i18n_6;
10648
10676
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10650,7 +10678,7 @@
10650
10678
  i18n_6 = MSG_EXTERNAL_4078662097036588656$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS_7;
10651
10679
  }
10652
10680
  else {
10653
- i18n_6 = $localize(templateObject_4$p || (templateObject_4$p = __makeTemplateObject([":\u241F49375178588cf9deb7d988b78a2c8f00026e7285\u241F4078662097036588656:Image trop volumineuse"], [":\u241F49375178588cf9deb7d988b78a2c8f00026e7285\u241F4078662097036588656:Image trop volumineuse"])));
10681
+ i18n_6 = $localize(templateObject_4$q || (templateObject_4$q = __makeTemplateObject([":\u241F49375178588cf9deb7d988b78a2c8f00026e7285\u241F4078662097036588656:Image trop volumineuse"], [":\u241F49375178588cf9deb7d988b78a2c8f00026e7285\u241F4078662097036588656:Image trop volumineuse"])));
10654
10682
  }
10655
10683
  var i18n_8;
10656
10684
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10658,7 +10686,7 @@
10658
10686
  i18n_8 = MSG_EXTERNAL_5233517838396324976$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS__9;
10659
10687
  }
10660
10688
  else {
10661
- i18n_8 = $localize(templateObject_5$m || (templateObject_5$m = __makeTemplateObject([":\u241F94ad94596b2f40b07222d1e40355a44b6a1af29a\u241F5233517838396324976:Ingr\u00E9dients"], [":\u241F94ad94596b2f40b07222d1e40355a44b6a1af29a\u241F5233517838396324976:Ingr\u00E9dients"])));
10689
+ i18n_8 = $localize(templateObject_5$n || (templateObject_5$n = __makeTemplateObject([":\u241F94ad94596b2f40b07222d1e40355a44b6a1af29a\u241F5233517838396324976:Ingr\u00E9dients"], [":\u241F94ad94596b2f40b07222d1e40355a44b6a1af29a\u241F5233517838396324976:Ingr\u00E9dients"])));
10662
10690
  }
10663
10691
  var i18n_10;
10664
10692
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10666,7 +10694,7 @@
10666
10694
  i18n_10 = MSG_EXTERNAL_1766110989620382170$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS__11;
10667
10695
  }
10668
10696
  else {
10669
- i18n_10 = $localize(templateObject_6$i || (templateObject_6$i = __makeTemplateObject([":\u241Fb6d5d35bf18eb39d9f9e538b8f3c108262d1ebd6\u241F1766110989620382170:\u00C9tapes"], [":\u241Fb6d5d35bf18eb39d9f9e538b8f3c108262d1ebd6\u241F1766110989620382170:\u00C9tapes"])));
10697
+ i18n_10 = $localize(templateObject_6$j || (templateObject_6$j = __makeTemplateObject([":\u241Fb6d5d35bf18eb39d9f9e538b8f3c108262d1ebd6\u241F1766110989620382170:\u00C9tapes"], [":\u241Fb6d5d35bf18eb39d9f9e538b8f3c108262d1ebd6\u241F1766110989620382170:\u00C9tapes"])));
10670
10698
  }
10671
10699
  var i18n_12;
10672
10700
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10674,7 +10702,7 @@
10674
10702
  i18n_12 = MSG_EXTERNAL_6937054015625775665$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS_______13;
10675
10703
  }
10676
10704
  else {
10677
- i18n_12 = $localize(templateObject_7$f || (templateObject_7$f = __makeTemplateObject([":\u241Fe336f56ee5c65fc7405818982e6700e092a7baa2\u241F6937054015625775665:Primordial"], [":\u241Fe336f56ee5c65fc7405818982e6700e092a7baa2\u241F6937054015625775665:Primordial"])));
10705
+ i18n_12 = $localize(templateObject_7$g || (templateObject_7$g = __makeTemplateObject([":\u241Fe336f56ee5c65fc7405818982e6700e092a7baa2\u241F6937054015625775665:Primordial"], [":\u241Fe336f56ee5c65fc7405818982e6700e092a7baa2\u241F6937054015625775665:Primordial"])));
10678
10706
  }
10679
10707
  var i18n_14;
10680
10708
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10682,7 +10710,7 @@
10682
10710
  i18n_14 = MSG_EXTERNAL_4559730461211482390$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS_______15;
10683
10711
  }
10684
10712
  else {
10685
- i18n_14 = $localize(templateObject_8$b || (templateObject_8$b = __makeTemplateObject([":\u241F3722651f49e2d7f2824c2e31de6afe53570141ba\u241F4559730461211482390:Secondaire"], [":\u241F3722651f49e2d7f2824c2e31de6afe53570141ba\u241F4559730461211482390:Secondaire"])));
10713
+ i18n_14 = $localize(templateObject_8$c || (templateObject_8$c = __makeTemplateObject([":\u241F3722651f49e2d7f2824c2e31de6afe53570141ba\u241F4559730461211482390:Secondaire"], [":\u241F3722651f49e2d7f2824c2e31de6afe53570141ba\u241F4559730461211482390:Secondaire"])));
10686
10714
  }
10687
10715
  var i18n_16;
10688
10716
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10690,7 +10718,7 @@
10690
10718
  i18n_16 = MSG_EXTERNAL_1057361115522168873$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS_______17;
10691
10719
  }
10692
10720
  else {
10693
- i18n_16 = $localize(templateObject_9$7 || (templateObject_9$7 = __makeTemplateObject([":\u241Fd3b0e0a8c23b3e238f2920c0c42d8fe5be68384f\u241F1057361115522168873:Facultatif"], [":\u241Fd3b0e0a8c23b3e238f2920c0c42d8fe5be68384f\u241F1057361115522168873:Facultatif"])));
10721
+ i18n_16 = $localize(templateObject_9$8 || (templateObject_9$8 = __makeTemplateObject([":\u241Fd3b0e0a8c23b3e238f2920c0c42d8fe5be68384f\u241F1057361115522168873:Facultatif"], [":\u241Fd3b0e0a8c23b3e238f2920c0c42d8fe5be68384f\u241F1057361115522168873:Facultatif"])));
10694
10722
  }
10695
10723
  var i18n_19;
10696
10724
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10698,7 +10726,7 @@
10698
10726
  i18n_19 = MSG_EXTERNAL_5063758185397051816$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS__20;
10699
10727
  }
10700
10728
  else {
10701
- i18n_19 = $localize(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject([":\u241F8bf11ac957bb9c1d67052f048a5a711f3fb32bab\u241F5063758185397051816:Oups... c\u2019est vide, commencez \u00E0 ajouter des "], [":\u241F8bf11ac957bb9c1d67052f048a5a711f3fb32bab\u241F5063758185397051816:Oups... c\u2019est vide, commencez \u00E0 ajouter des "])));
10729
+ i18n_19 = $localize(templateObject_10$6 || (templateObject_10$6 = __makeTemplateObject([":\u241F8bf11ac957bb9c1d67052f048a5a711f3fb32bab\u241F5063758185397051816:Oups... c\u2019est vide, commencez \u00E0 ajouter des "], [":\u241F8bf11ac957bb9c1d67052f048a5a711f3fb32bab\u241F5063758185397051816:Oups... c\u2019est vide, commencez \u00E0 ajouter des "])));
10702
10730
  }
10703
10731
  var i18n_21;
10704
10732
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10706,7 +10734,7 @@
10706
10734
  i18n_21 = MSG_EXTERNAL_4347184803525916259$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS___22;
10707
10735
  }
10708
10736
  else {
10709
- i18n_21 = $localize(templateObject_11$5 || (templateObject_11$5 = __makeTemplateObject([":\u241Fb8a7b7a3ce2589afbc881feafa155635e9eb817a\u241F4347184803525916259:ingr\u00E9dients !"], [":\u241Fb8a7b7a3ce2589afbc881feafa155635e9eb817a\u241F4347184803525916259:ingr\u00E9dients !"])));
10737
+ i18n_21 = $localize(templateObject_11$6 || (templateObject_11$6 = __makeTemplateObject([":\u241Fb8a7b7a3ce2589afbc881feafa155635e9eb817a\u241F4347184803525916259:ingr\u00E9dients !"], [":\u241Fb8a7b7a3ce2589afbc881feafa155635e9eb817a\u241F4347184803525916259:ingr\u00E9dients !"])));
10710
10738
  }
10711
10739
  var i18n_23;
10712
10740
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10714,7 +10742,7 @@
10714
10742
  i18n_23 = MSG_EXTERNAL_3708398059077083147$$LIB__COMPONENTS_LIST_INPUT_LIST_INPUT_COMPONENT_TS___24;
10715
10743
  }
10716
10744
  else {
10717
- i18n_23 = $localize(templateObject_12$4 || (templateObject_12$4 = __makeTemplateObject([":\u241F50e4583edfd98e9319f6e06ac9f12373fa29fbc9\u241F3708398059077083147:\u00E9tapes !"], [":\u241F50e4583edfd98e9319f6e06ac9f12373fa29fbc9\u241F3708398059077083147:\u00E9tapes !"])));
10745
+ i18n_23 = $localize(templateObject_12$5 || (templateObject_12$5 = __makeTemplateObject([":\u241F50e4583edfd98e9319f6e06ac9f12373fa29fbc9\u241F3708398059077083147:\u00E9tapes !"], [":\u241F50e4583edfd98e9319f6e06ac9f12373fa29fbc9\u241F3708398059077083147:\u00E9tapes !"])));
10718
10746
  }
10719
10747
  var i18n_25;
10720
10748
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10839,7 +10867,7 @@
10839
10867
  type: i0.Output
10840
10868
  }] });
10841
10869
  })();
10842
- var templateObject_1$M, templateObject_2$E, templateObject_3$u, templateObject_4$p, templateObject_5$m, templateObject_6$i, templateObject_7$f, templateObject_8$b, templateObject_9$7, templateObject_10$5, templateObject_11$5, templateObject_12$4, templateObject_13$4, templateObject_14$3, templateObject_15$3, templateObject_16$2, templateObject_17$2;
10870
+ var templateObject_1$O, templateObject_2$G, templateObject_3$v, templateObject_4$q, templateObject_5$n, templateObject_6$j, templateObject_7$g, templateObject_8$c, templateObject_9$8, templateObject_10$6, templateObject_11$6, templateObject_12$5, templateObject_13$4, templateObject_14$3, templateObject_15$3, templateObject_16$2, templateObject_17$2;
10843
10871
 
10844
10872
  var LoaderComponent = /** @class */ (function () {
10845
10873
  function LoaderComponent() {
@@ -10883,7 +10911,7 @@
10883
10911
  i18n_0 = MSG_EXTERNAL_7941873496647081087$$LIB__COMPONENTS_MEALS_PLANNER_LINK_MEALS_PLANNER_LINK_COMPONENT_TS_1;
10884
10912
  }
10885
10913
  else {
10886
- i18n_0 = $localize(templateObject_1$L || (templateObject_1$L = __makeTemplateObject([":\u241F31447cf300f37b6f8ae96281c427b49242c801e5\u241F7941873496647081087:Je planifie mes repas"], [":\u241F31447cf300f37b6f8ae96281c427b49242c801e5\u241F7941873496647081087:Je planifie mes repas"])));
10914
+ i18n_0 = $localize(templateObject_1$N || (templateObject_1$N = __makeTemplateObject([":\u241F31447cf300f37b6f8ae96281c427b49242c801e5\u241F7941873496647081087:Je planifie mes repas"], [":\u241F31447cf300f37b6f8ae96281c427b49242c801e5\u241F7941873496647081087:Je planifie mes repas"])));
10887
10915
  }
10888
10916
  var i18n_2;
10889
10917
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10891,7 +10919,7 @@
10891
10919
  i18n_2 = MSG_EXTERNAL_5328674089466195959$$LIB__COMPONENTS_MEALS_PLANNER_LINK_MEALS_PLANNER_LINK_COMPONENT_TS_3;
10892
10920
  }
10893
10921
  else {
10894
- i18n_2 = $localize(templateObject_2$D || (templateObject_2$D = __makeTemplateObject([":\u241Fb1c4690366792b0d9b9034d6b35d974cdfaf2eea\u241F5328674089466195959:Je renseigne mon budget, le nombre de convives et de repas, et j'obtiens des id\u00E9es repas"], [":\u241Fb1c4690366792b0d9b9034d6b35d974cdfaf2eea\u241F5328674089466195959:Je renseigne mon budget, le nombre de convives et de repas, et j'obtiens des id\u00E9es repas"])));
10922
+ i18n_2 = $localize(templateObject_2$F || (templateObject_2$F = __makeTemplateObject([":\u241Fb1c4690366792b0d9b9034d6b35d974cdfaf2eea\u241F5328674089466195959:Je renseigne mon budget, le nombre de convives et de repas, et j'obtiens des id\u00E9es repas"], [":\u241Fb1c4690366792b0d9b9034d6b35d974cdfaf2eea\u241F5328674089466195959:Je renseigne mon budget, le nombre de convives et de repas, et j'obtiens des id\u00E9es repas"])));
10895
10923
  }
10896
10924
  var i18n_4;
10897
10925
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -10899,7 +10927,7 @@
10899
10927
  i18n_4 = MSG_EXTERNAL_6105149763216124630$$LIB__COMPONENTS_MEALS_PLANNER_LINK_MEALS_PLANNER_LINK_COMPONENT_TS_5;
10900
10928
  }
10901
10929
  else {
10902
- i18n_4 = $localize(templateObject_3$t || (templateObject_3$t = __makeTemplateObject([":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"], [":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"])));
10930
+ i18n_4 = $localize(templateObject_3$u || (templateObject_3$u = __makeTemplateObject([":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"], [":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"])));
10903
10931
  }
10904
10932
  return [[1, "miam-meals-planner-link", 3, "click"], [1, "miam-meals-planner-link__gradient"], [1, "miam-meals-planner-link__content"], [1, "miam-meals-planner-link__title"], i18n_0, [1, "miam-meals-planner-link__description"], i18n_2, [1, "miam-meals-planner-link__cta"], [1, "miam-ds-button", "primary", "reverse"], i18n_4, ["width", "24", "height", "24", 3, "iconName"]];
10905
10933
  }, template: function MealsPlannerLinkComponent_Template(rf, ctx) {
@@ -10945,7 +10973,7 @@
10945
10973
  }]
10946
10974
  }], function () { return [{ type: ContextService }]; }, null);
10947
10975
  })();
10948
- var templateObject_1$L, templateObject_2$D, templateObject_3$t;
10976
+ var templateObject_1$N, templateObject_2$F, templateObject_3$u;
10949
10977
 
10950
10978
  var _c0$n = ["miamPrice"];
10951
10979
  var PriceComponent = /** @class */ (function () {
@@ -11778,7 +11806,7 @@
11778
11806
  i18n_0 = MSG_EXTERNAL_5491081266313732174$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_1;
11779
11807
  }
11780
11808
  else {
11781
- i18n_0 = $localize(templateObject_1$K || (templateObject_1$K = __makeTemplateObject([":\u241F47e7dbf996c20e48f8f5f7235432acbe1ddb8441\u241F5491081266313732174:Filtres"], [":\u241F47e7dbf996c20e48f8f5f7235432acbe1ddb8441\u241F5491081266313732174:Filtres"])));
11809
+ i18n_0 = $localize(templateObject_1$M || (templateObject_1$M = __makeTemplateObject([":\u241F47e7dbf996c20e48f8f5f7235432acbe1ddb8441\u241F5491081266313732174:Filtres"], [":\u241F47e7dbf996c20e48f8f5f7235432acbe1ddb8441\u241F5491081266313732174:Filtres"])));
11782
11810
  }
11783
11811
  var i18n_2;
11784
11812
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11786,7 +11814,7 @@
11786
11814
  i18n_2 = MSG_EXTERNAL_4359053901144852078$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_3;
11787
11815
  }
11788
11816
  else {
11789
- i18n_2 = $localize(templateObject_2$C || (templateObject_2$C = __makeTemplateObject([":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"], [":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"])));
11817
+ i18n_2 = $localize(templateObject_2$E || (templateObject_2$E = __makeTemplateObject([":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"], [":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"])));
11790
11818
  }
11791
11819
  var i18n_4;
11792
11820
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11794,7 +11822,7 @@
11794
11822
  i18n_4 = MSG_EXTERNAL_3088922289163197887$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_5;
11795
11823
  }
11796
11824
  else {
11797
- i18n_4 = $localize(templateObject_3$s || (templateObject_3$s = __makeTemplateObject([":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "], [":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "])));
11825
+ i18n_4 = $localize(templateObject_3$t || (templateObject_3$t = __makeTemplateObject([":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "], [":\u241F05233ae9fe87602db5d05c330c57200f3e63fad9\u241F3088922289163197887:Voir "])));
11798
11826
  }
11799
11827
  var i18n_6;
11800
11828
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11802,7 +11830,7 @@
11802
11830
  i18n_6 = MSG_EXTERNAL_3809820644785537818$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS_7;
11803
11831
  }
11804
11832
  else {
11805
- i18n_6 = $localize(templateObject_4$o || (templateObject_4$o = __makeTemplateObject([":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"], [":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"])));
11833
+ i18n_6 = $localize(templateObject_4$p || (templateObject_4$p = __makeTemplateObject([":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"], [":\u241F2b5c164efaa4ab2f43d98ed7cb742d3424135de9\u241F3809820644785537818:recettes"])));
11806
11834
  }
11807
11835
  var i18n_8;
11808
11836
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11810,7 +11838,7 @@
11810
11838
  i18n_8 = MSG_EXTERNAL_4572808970531890280$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS__9;
11811
11839
  }
11812
11840
  else {
11813
- i18n_8 = $localize(templateObject_5$l || (templateObject_5$l = __makeTemplateObject([":\u241F1bf4b0fad491a1a0e696a667d19d9d3dc115e765\u241F4572808970531890280:Temps de pr\u00E9paration"], [":\u241F1bf4b0fad491a1a0e696a667d19d9d3dc115e765\u241F4572808970531890280:Temps de pr\u00E9paration"])));
11841
+ i18n_8 = $localize(templateObject_5$m || (templateObject_5$m = __makeTemplateObject([":\u241F1bf4b0fad491a1a0e696a667d19d9d3dc115e765\u241F4572808970531890280:Temps de pr\u00E9paration"], [":\u241F1bf4b0fad491a1a0e696a667d19d9d3dc115e765\u241F4572808970531890280:Temps de pr\u00E9paration"])));
11814
11842
  }
11815
11843
  var i18n_10;
11816
11844
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11818,7 +11846,7 @@
11818
11846
  i18n_10 = MSG_EXTERNAL_4676538037472110629$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____11;
11819
11847
  }
11820
11848
  else {
11821
- i18n_10 = $localize(templateObject_6$h || (templateObject_6$h = __makeTemplateObject([":\u241Fec309bd5fe08b5e60282f9927da7af45191bed46\u241F4676538037472110629:Moins de 15 min"], [":\u241Fec309bd5fe08b5e60282f9927da7af45191bed46\u241F4676538037472110629:Moins de 15 min"])));
11849
+ i18n_10 = $localize(templateObject_6$i || (templateObject_6$i = __makeTemplateObject([":\u241Fec309bd5fe08b5e60282f9927da7af45191bed46\u241F4676538037472110629:Moins de 15 min"], [":\u241Fec309bd5fe08b5e60282f9927da7af45191bed46\u241F4676538037472110629:Moins de 15 min"])));
11822
11850
  }
11823
11851
  var i18n_12;
11824
11852
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11826,7 +11854,7 @@
11826
11854
  i18n_12 = MSG_EXTERNAL_2987005241567363499$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____13;
11827
11855
  }
11828
11856
  else {
11829
- i18n_12 = $localize(templateObject_7$e || (templateObject_7$e = __makeTemplateObject([":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"], [":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"])));
11857
+ i18n_12 = $localize(templateObject_7$f || (templateObject_7$f = __makeTemplateObject([":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"], [":\u241F06a1a41b1f201e9c0039e7a5a4a6412a1bc3665f\u241F2987005241567363499:Moins de 30 min"])));
11830
11858
  }
11831
11859
  var i18n_14;
11832
11860
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11834,7 +11862,7 @@
11834
11862
  i18n_14 = MSG_EXTERNAL_6215037527102325488$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____15;
11835
11863
  }
11836
11864
  else {
11837
- i18n_14 = $localize(templateObject_8$a || (templateObject_8$a = __makeTemplateObject([":\u241F1621eb3798ceefdacca0efee8561de66c85229df\u241F6215037527102325488:Moins de 1 h"], [":\u241F1621eb3798ceefdacca0efee8561de66c85229df\u241F6215037527102325488:Moins de 1 h"])));
11865
+ i18n_14 = $localize(templateObject_8$b || (templateObject_8$b = __makeTemplateObject([":\u241F1621eb3798ceefdacca0efee8561de66c85229df\u241F6215037527102325488:Moins de 1 h"], [":\u241F1621eb3798ceefdacca0efee8561de66c85229df\u241F6215037527102325488:Moins de 1 h"])));
11838
11866
  }
11839
11867
  var i18n_16;
11840
11868
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11842,7 +11870,7 @@
11842
11870
  i18n_16 = MSG_EXTERNAL_8130680565015962867$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____17;
11843
11871
  }
11844
11872
  else {
11845
- i18n_16 = $localize(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject([":\u241F1a2b98827dd9dffbad8f1dabcd0d7bf228899a4e\u241F8130680565015962867:Moins de 2 h"], [":\u241F1a2b98827dd9dffbad8f1dabcd0d7bf228899a4e\u241F8130680565015962867:Moins de 2 h"])));
11873
+ i18n_16 = $localize(templateObject_9$7 || (templateObject_9$7 = __makeTemplateObject([":\u241F1a2b98827dd9dffbad8f1dabcd0d7bf228899a4e\u241F8130680565015962867:Moins de 2 h"], [":\u241F1a2b98827dd9dffbad8f1dabcd0d7bf228899a4e\u241F8130680565015962867:Moins de 2 h"])));
11846
11874
  }
11847
11875
  var i18n_18;
11848
11876
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11850,7 +11878,7 @@
11850
11878
  i18n_18 = MSG_EXTERNAL_2877853972557702593$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS__19;
11851
11879
  }
11852
11880
  else {
11853
- i18n_18 = $localize(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject([":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"], [":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"])));
11881
+ i18n_18 = $localize(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject([":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"], [":\u241Fdc6b8f21ea2f0969bbb711d6d261babaab678179\u241F2877853972557702593:Difficult\u00E9"])));
11854
11882
  }
11855
11883
  var i18n_20;
11856
11884
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11858,7 +11886,7 @@
11858
11886
  i18n_20 = MSG_EXTERNAL_3684169623116339825$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____21;
11859
11887
  }
11860
11888
  else {
11861
- i18n_20 = $localize(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
11889
+ i18n_20 = $localize(templateObject_11$5 || (templateObject_11$5 = __makeTemplateObject([":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"], [":\u241F96cca7cb17582a9b01053a242ca907b721fad7fe\u241F3684169623116339825:Chef d\u00E9butant"])));
11862
11890
  }
11863
11891
  var i18n_22;
11864
11892
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -11866,7 +11894,7 @@
11866
11894
  i18n_22 = MSG_EXTERNAL_7733455880752157102$$LIB__COMPONENTS_RECIPE_FILTERS_RECIPE_FILTERS_COMPONENT_TS____23;
11867
11895
  }
11868
11896
  else {
11869
- i18n_22 = $localize(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject([":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"], [":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"])));
11897
+ i18n_22 = $localize(templateObject_12$4 || (templateObject_12$4 = __makeTemplateObject([":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"], [":\u241Fccfd103e2bbd9a80c6d3a226332a77c93c88d871\u241F7733455880752157102:Chef interm\u00E9diaire"])));
11870
11898
  }
11871
11899
  var i18n_24;
11872
11900
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12005,7 +12033,7 @@
12005
12033
  type: i0.Output
12006
12034
  }] });
12007
12035
  })();
12008
- var templateObject_1$K, templateObject_2$C, templateObject_3$s, templateObject_4$o, templateObject_5$l, templateObject_6$h, templateObject_7$e, templateObject_8$a, templateObject_9$6, templateObject_10$4, templateObject_11$4, templateObject_12$3, templateObject_13$3, templateObject_14$2, templateObject_15$2, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1;
12036
+ var templateObject_1$M, templateObject_2$E, templateObject_3$t, templateObject_4$p, templateObject_5$m, templateObject_6$i, templateObject_7$f, templateObject_8$b, templateObject_9$7, templateObject_10$5, templateObject_11$5, templateObject_12$4, templateObject_13$3, templateObject_14$2, templateObject_15$2, templateObject_16$1, templateObject_17$1, templateObject_18$1, templateObject_19$1;
12009
12037
 
12010
12038
  var SelectPosButtonDirective = /** @class */ (function () {
12011
12039
  function SelectPosButtonDirective(el, contextService, posService) {
@@ -12185,7 +12213,8 @@
12185
12213
  if (changes.serves) {
12186
12214
  var previousGuests = this.guests$.value;
12187
12215
  this.guests$.next(this.serves);
12188
- if (this.recipeId && previousGuests > 0 && previousGuests !== this.serves) {
12216
+ // The pricing only needs to update the guests if called standalone -> with a recipeExtId && recipe was fetched && guests have changed
12217
+ if (this.recipeExtId && this.recipeId && previousGuests > 0 && previousGuests !== this.serves) {
12189
12218
  this.updateRecipeGuests();
12190
12219
  }
12191
12220
  }
@@ -12308,7 +12337,7 @@
12308
12337
  i18n_0 = MSG_EXTERNAL_2218803795065127471$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS__1;
12309
12338
  }
12310
12339
  else {
12311
- i18n_0 = $localize(templateObject_1$J || (templateObject_1$J = __makeTemplateObject([":\u241F6cbbde0e661ae9f5f19f865ba802214c7432be8f\u241F2218803795065127471:Afficher le prix"], [":\u241F6cbbde0e661ae9f5f19f865ba802214c7432be8f\u241F2218803795065127471:Afficher le prix"])));
12340
+ i18n_0 = $localize(templateObject_1$L || (templateObject_1$L = __makeTemplateObject([":\u241F6cbbde0e661ae9f5f19f865ba802214c7432be8f\u241F2218803795065127471:Afficher le prix"], [":\u241F6cbbde0e661ae9f5f19f865ba802214c7432be8f\u241F2218803795065127471:Afficher le prix"])));
12312
12341
  }
12313
12342
  var i18n_2;
12314
12343
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12316,7 +12345,7 @@
12316
12345
  i18n_2 = MSG_EXTERNAL_8418532136889699301$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS___3;
12317
12346
  }
12318
12347
  else {
12319
- i18n_2 = $localize(templateObject_2$B || (templateObject_2$B = __makeTemplateObject([":\u241Fa46e2443e6b0e54d02427631e80b76a326ee6fb3\u241F8418532136889699301:Soit"], [":\u241Fa46e2443e6b0e54d02427631e80b76a326ee6fb3\u241F8418532136889699301:Soit"])));
12348
+ i18n_2 = $localize(templateObject_2$D || (templateObject_2$D = __makeTemplateObject([":\u241Fa46e2443e6b0e54d02427631e80b76a326ee6fb3\u241F8418532136889699301:Soit"], [":\u241Fa46e2443e6b0e54d02427631e80b76a326ee6fb3\u241F8418532136889699301:Soit"])));
12320
12349
  }
12321
12350
  var i18n_4;
12322
12351
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12324,7 +12353,7 @@
12324
12353
  i18n_4 = MSG_EXTERNAL_435913562251126057$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS_____5;
12325
12354
  }
12326
12355
  else {
12327
- i18n_4 = $localize(templateObject_3$r || (templateObject_3$r = __makeTemplateObject([":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"], [":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"])));
12356
+ i18n_4 = $localize(templateObject_3$s || (templateObject_3$s = __makeTemplateObject([":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"], [":\u241Fa42043c93efe6e7c1206218147891026d3496f33\u241F435913562251126057:/personne"])));
12328
12357
  }
12329
12358
  var i18n_6;
12330
12359
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12332,7 +12361,7 @@
12332
12361
  i18n_6 = MSG_EXTERNAL_8969810584578915685$$LIB__WEB_COMPONENTS_RECIPE_PRICING_RECIPE_PRICING_COMPONENT_TS____7;
12333
12362
  }
12334
12363
  else {
12335
- i18n_6 = $localize(templateObject_4$n || (templateObject_4$n = __makeTemplateObject([":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."], [":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."])));
12364
+ i18n_6 = $localize(templateObject_4$o || (templateObject_4$o = __makeTemplateObject([":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."], [":\u241Fd1284fc0cb4f023efce4ec7e899c9ae8ab78d0d3\u241F8969810584578915685:/pers."])));
12336
12365
  }
12337
12366
  return [["class", "miam-recipe-pricing", "ngMiamSelectPosButton", "", 4, "ngIf"], ["ngMiamSelectPosButton", "", 1, "miam-recipe-pricing"], ["class", "miam-recipe-pricing__with-pos", 4, "ngIf"], [1, "miam-recipe-pricing__without-pos"], [1, "miam-ds-button", "ghost", "miam-select-pos-button__open-store-selector-button", 3, "click"], i18n_0, [1, "miam-recipe-pricing__with-pos"], [1, "miam-recipe-pricing__wrapper"], [1, "miam-recipe-pricing__wrapper__price", "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-recipe-pricing__wrapper__subline miam-ds-text size-xs weight-m", 4, "ngIf", "ngIfElse"], ["defaultGuestsText", ""], [1, "miam-recipe-pricing__total"], i18n_2, [1, "miam-recipe-pricing__wrapper__subline", "miam-ds-text", "size-xs", "weight-m"], [4, "ngIf"], i18n_4, [1, "miam-recipe-pricing__wrapper__subline", "miam-ds-text", "size-m", "weight-m"], i18n_6];
12338
12367
  }, template: function RecipePricingComponent_Template(rf, ctx) {
@@ -12367,7 +12396,7 @@
12367
12396
  type: i0.Input
12368
12397
  }] });
12369
12398
  })();
12370
- var templateObject_1$J, templateObject_2$B, templateObject_3$r, templateObject_4$n;
12399
+ var templateObject_1$L, templateObject_2$D, templateObject_3$s, templateObject_4$o;
12371
12400
 
12372
12401
  var _c6$1 = function (a0) { return { "font-weight": a0 }; };
12373
12402
  var RecipeTypeChooserComponent = /** @class */ (function () {
@@ -12412,7 +12441,7 @@
12412
12441
  i18n_0 = MSG_EXTERNAL_591007413954103680$$LIB__COMPONENTS_RECIPE_TYPE_CHOOSER_RECIPE_TYPE_CHOOSER_COMPONENT_TS_1;
12413
12442
  }
12414
12443
  else {
12415
- i18n_0 = $localize(templateObject_1$I || (templateObject_1$I = __makeTemplateObject([":\u241Fad5651a8fed9db2d35ebfb77175c87ed1f148410\u241F591007413954103680:Une entr\u00E9e"], [":\u241Fad5651a8fed9db2d35ebfb77175c87ed1f148410\u241F591007413954103680:Une entr\u00E9e"])));
12444
+ i18n_0 = $localize(templateObject_1$K || (templateObject_1$K = __makeTemplateObject([":\u241Fad5651a8fed9db2d35ebfb77175c87ed1f148410\u241F591007413954103680:Une entr\u00E9e"], [":\u241Fad5651a8fed9db2d35ebfb77175c87ed1f148410\u241F591007413954103680:Une entr\u00E9e"])));
12416
12445
  }
12417
12446
  var i18n_2;
12418
12447
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12420,7 +12449,7 @@
12420
12449
  i18n_2 = MSG_EXTERNAL_2940644147071008715$$LIB__COMPONENTS_RECIPE_TYPE_CHOOSER_RECIPE_TYPE_CHOOSER_COMPONENT_TS_3;
12421
12450
  }
12422
12451
  else {
12423
- i18n_2 = $localize(templateObject_2$A || (templateObject_2$A = __makeTemplateObject([":\u241Fad33d88eafaca2ef5d4a71c9caea22d8f0ee581c\u241F2940644147071008715:Un plat principal"], [":\u241Fad33d88eafaca2ef5d4a71c9caea22d8f0ee581c\u241F2940644147071008715:Un plat principal"])));
12452
+ i18n_2 = $localize(templateObject_2$C || (templateObject_2$C = __makeTemplateObject([":\u241Fad33d88eafaca2ef5d4a71c9caea22d8f0ee581c\u241F2940644147071008715:Un plat principal"], [":\u241Fad33d88eafaca2ef5d4a71c9caea22d8f0ee581c\u241F2940644147071008715:Un plat principal"])));
12424
12453
  }
12425
12454
  var i18n_4;
12426
12455
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -12428,7 +12457,7 @@
12428
12457
  i18n_4 = MSG_EXTERNAL_8322335486568562833$$LIB__COMPONENTS_RECIPE_TYPE_CHOOSER_RECIPE_TYPE_CHOOSER_COMPONENT_TS_5;
12429
12458
  }
12430
12459
  else {
12431
- i18n_4 = $localize(templateObject_3$q || (templateObject_3$q = __makeTemplateObject([":\u241Ffebb2f4f5330f0c670f2ac0d004bdd19758f57e2\u241F8322335486568562833:Un dessert"], [":\u241Ffebb2f4f5330f0c670f2ac0d004bdd19758f57e2\u241F8322335486568562833:Un dessert"])));
12460
+ i18n_4 = $localize(templateObject_3$r || (templateObject_3$r = __makeTemplateObject([":\u241Ffebb2f4f5330f0c670f2ac0d004bdd19758f57e2\u241F8322335486568562833:Un dessert"], [":\u241Ffebb2f4f5330f0c670f2ac0d004bdd19758f57e2\u241F8322335486568562833:Un dessert"])));
12432
12461
  }
12433
12462
  return [[1, "recipe-type-chooser"], [1, "recipe-type-chooser__item"], [3, "height", "width", "iconName", "click"], [3, "ngStyle"], i18n_0, i18n_2, i18n_4];
12434
12463
  }, template: function RecipeTypeChooserComponent_Template(rf, ctx) {
@@ -12489,7 +12518,7 @@
12489
12518
  type: i0.Input
12490
12519
  }] });
12491
12520
  })();
12492
- var templateObject_1$I, templateObject_2$A, templateObject_3$q;
12521
+ var templateObject_1$K, templateObject_2$C, templateObject_3$r;
12493
12522
 
12494
12523
  var _c0$j = ["miamLeftOfSliderTrack"];
12495
12524
  var _c1$b = ["miamSliderColored"];
@@ -13010,7 +13039,7 @@
13010
13039
  i18n_1 = MSG_EXTERNAL_8398233202919865612$$LIB__COMPONENTS_TIME_PICKER_TIME_PICKER_COMPONENT_TS_2;
13011
13040
  }
13012
13041
  else {
13013
- i18n_1 = $localize(templateObject_1$H || (templateObject_1$H = __makeTemplateObject([":\u241Fdb0ffbb13aa0ec193b8664c627359e86274d15fa\u241F8398233202919865612:h"], [":\u241Fdb0ffbb13aa0ec193b8664c627359e86274d15fa\u241F8398233202919865612:h"])));
13042
+ i18n_1 = $localize(templateObject_1$J || (templateObject_1$J = __makeTemplateObject([":\u241Fdb0ffbb13aa0ec193b8664c627359e86274d15fa\u241F8398233202919865612:h"], [":\u241Fdb0ffbb13aa0ec193b8664c627359e86274d15fa\u241F8398233202919865612:h"])));
13014
13043
  }
13015
13044
  var i18n_3;
13016
13045
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -13018,7 +13047,7 @@
13018
13047
  i18n_3 = MSG_EXTERNAL_3901733599428143571$$LIB__COMPONENTS_TIME_PICKER_TIME_PICKER_COMPONENT_TS_4;
13019
13048
  }
13020
13049
  else {
13021
- i18n_3 = $localize(templateObject_2$z || (templateObject_2$z = __makeTemplateObject([":\u241F7b4524d65d87a53c32b788d68b49e9b83e3b42b2\u241F3901733599428143571:min"], [":\u241F7b4524d65d87a53c32b788d68b49e9b83e3b42b2\u241F3901733599428143571:min"])));
13050
+ i18n_3 = $localize(templateObject_2$B || (templateObject_2$B = __makeTemplateObject([":\u241F7b4524d65d87a53c32b788d68b49e9b83e3b42b2\u241F3901733599428143571:min"], [":\u241F7b4524d65d87a53c32b788d68b49e9b83e3b42b2\u241F3901733599428143571:min"])));
13022
13051
  }
13023
13052
  return [[1, "miam-time-picker", "m-default-card", "m-small-typo"], [1, "miam-time-picker__label"], [4, "ngTemplateOutlet"], [1, "miam-time-picker__container", 3, "formGroup"], ["primaryColor", "var( --m-color-light-slate)", 3, "iconName"], ["formControlName", "hours", "onClick", "this.select();", 1, "miam-time-picker__container__input", 3, "maxLength", "blur"], [1, "miam-time-picker__container__label"], i18n_1, ["formControlName", "minutes", "onClick", "this.select();", 1, "miam-time-picker__container__input", 3, "maxLength", "blur"], i18n_3];
13024
13053
  }, template: function TimePickerComponent_Template(rf, ctx) {
@@ -13078,7 +13107,7 @@
13078
13107
  args: ['title', { static: false }]
13079
13108
  }] });
13080
13109
  })();
13081
- var templateObject_1$H, templateObject_2$z;
13110
+ var templateObject_1$J, templateObject_2$B;
13082
13111
 
13083
13112
  function ToasterComponent_div_2_Template(rf, ctx) {
13084
13113
  if (rf & 1) {
@@ -14114,7 +14143,7 @@
14114
14143
  i18n_0 = MSG_EXTERNAL_4705093661060921903$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS___1;
14115
14144
  }
14116
14145
  else {
14117
- i18n_0 = $localize(templateObject_1$G || (templateObject_1$G = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
14146
+ i18n_0 = $localize(templateObject_1$I || (templateObject_1$I = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
14118
14147
  }
14119
14148
  var i18n_2;
14120
14149
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14122,7 +14151,7 @@
14122
14151
  i18n_2 = MSG_EXTERNAL_8545968125113919212$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____3;
14123
14152
  }
14124
14153
  else {
14125
- i18n_2 = $localize(templateObject_2$y || (templateObject_2$y = __makeTemplateObject([":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"], [":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"])));
14154
+ i18n_2 = $localize(templateObject_2$A || (templateObject_2$A = __makeTemplateObject([":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"], [":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"])));
14126
14155
  }
14127
14156
  var i18n_4;
14128
14157
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14130,7 +14159,7 @@
14130
14159
  i18n_4 = MSG_EXTERNAL_5442623736103363122$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____5;
14131
14160
  }
14132
14161
  else {
14133
- i18n_4 = $localize(templateObject_3$p || (templateObject_3$p = __makeTemplateObject([":\u241F2c8c419dc34f3be07156ad9249f03aeb31d34872\u241F5442623736103363122:Ignorer ce produit"], [":\u241F2c8c419dc34f3be07156ad9249f03aeb31d34872\u241F5442623736103363122:Ignorer ce produit"])));
14162
+ i18n_4 = $localize(templateObject_3$q || (templateObject_3$q = __makeTemplateObject([":\u241F2c8c419dc34f3be07156ad9249f03aeb31d34872\u241F5442623736103363122:Ignorer ce produit"], [":\u241F2c8c419dc34f3be07156ad9249f03aeb31d34872\u241F5442623736103363122:Ignorer ce produit"])));
14134
14163
  }
14135
14164
  var i18n_6;
14136
14165
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14138,7 +14167,7 @@
14138
14167
  i18n_6 = MSG_EXTERNAL_4434991115235641711$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____7;
14139
14168
  }
14140
14169
  else {
14141
- i18n_6 = $localize(templateObject_4$m || (templateObject_4$m = __makeTemplateObject([":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "], [":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "])));
14170
+ i18n_6 = $localize(templateObject_4$n || (templateObject_4$n = __makeTemplateObject([":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "], [":\u241F0b2d6b8f0c4150bdc5313f3dc99139dc482a9265\u241F4434991115235641711: Cet ingr\u00E9dient ne sera pas ajout\u00E9 \u00E0 votre panier "])));
14142
14171
  }
14143
14172
  var i18n_8;
14144
14173
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14146,7 +14175,7 @@
14146
14175
  i18n_8 = MSG_EXTERNAL_6789864402883222370$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____9;
14147
14176
  }
14148
14177
  else {
14149
- i18n_8 = $localize(templateObject_5$k || (templateObject_5$k = __makeTemplateObject([":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"], [":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"])));
14178
+ i18n_8 = $localize(templateObject_5$l || (templateObject_5$l = __makeTemplateObject([":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"], [":\u241F9588c99a79ba5d4038da2cd8e448a1cdb8dfc949\u241F6789864402883222370:Choisir un produit"])));
14150
14179
  }
14151
14180
  var i18n_10;
14152
14181
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14154,7 +14183,7 @@
14154
14183
  i18n_10 = MSG_EXTERNAL_8961751313716268502$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS____11;
14155
14184
  }
14156
14185
  else {
14157
- i18n_10 = $localize(templateObject_6$g || (templateObject_6$g = __makeTemplateObject([":\u241Fd195c9823cf6f3a7d9f2520d9814b18dda696d64\u241F8961751313716268502: Cet ingr\u00E9dient n\u2019est pas disponible "], [":\u241Fd195c9823cf6f3a7d9f2520d9814b18dda696d64\u241F8961751313716268502: Cet ingr\u00E9dient n\u2019est pas disponible "])));
14186
+ i18n_10 = $localize(templateObject_6$h || (templateObject_6$h = __makeTemplateObject([":\u241Fd195c9823cf6f3a7d9f2520d9814b18dda696d64\u241F8961751313716268502: Cet ingr\u00E9dient n\u2019est pas disponible "], [":\u241Fd195c9823cf6f3a7d9f2520d9814b18dda696d64\u241F8961751313716268502: Cet ingr\u00E9dient n\u2019est pas disponible "])));
14158
14187
  }
14159
14188
  var i18n_12;
14160
14189
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14162,7 +14191,7 @@
14162
14191
  i18n_12 = MSG_EXTERNAL_7389019358817586225$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS___13;
14163
14192
  }
14164
14193
  else {
14165
- i18n_12 = $localize(templateObject_7$d || (templateObject_7$d = __makeTemplateObject([":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "], [":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "])));
14194
+ i18n_12 = $localize(templateObject_7$e || (templateObject_7$e = __makeTemplateObject([":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "], [":\u241Fb4469d81103a2a9875dcf6e019a952b9bca3c117\u241F7389019358817586225:Calcul\u00E9 pour "])));
14166
14195
  }
14167
14196
  var i18n_14;
14168
14197
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14170,7 +14199,7 @@
14170
14199
  i18n_14 = MSG_EXTERNAL_8253051398336962047$$LIB__COMPONENTS_PRODUCT_CARD_PRODUCT_CARD_COMPONENT_TS___15;
14171
14200
  }
14172
14201
  else {
14173
- i18n_14 = $localize(templateObject_8$9 || (templateObject_8$9 = __makeTemplateObject([":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"], [":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"])));
14202
+ i18n_14 = $localize(templateObject_8$a || (templateObject_8$a = __makeTemplateObject([":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"], [":\u241Ff0ee2f84e20252199737bc9757b04e75979cb9fe\u241F8253051398336962047: repas"])));
14174
14203
  }
14175
14204
  return [["class", "miam-product-card__container", 3, "ngClass", 4, "ngIf"], [1, "miam-product-card__container", 3, "ngClass"], [1, "miam-product-card__header", 3, "ngClass"], [1, "miam-product-card__header-name", "miam-ds-text", "size-l", "weight-xxl", 3, "ngClass"], [1, "miam-product-card__header-quantity", "miam-ds-text", "size-s", "weight-l", 3, "ngClass"], [1, "miam-product-card__content", 3, "ngClass"], [4, "ngIf", "ngIfElse"], ["disabledProduct", ""], ["class", "miam-product-card__footer", 4, "ngIf"], [1, "miam-product-card__selected-product"], [1, "miam-product-card__picture-column"], ["alt", "product picture", 1, "miam-product-card__picture", 3, "src", "error"], [1, "miam-product-card__info-column"], [1, "miam-ds-text", "size-xs", "weight-xl", "miam-product-card__details", "product-brand"], [1, "miam-ds-text", "size-xs", "miam-product-card__details", "product-fullname"], [1, "miam-product-card__badges"], [1, "miam-ds-badge"], ["class", "miam-ds-badge outline", 4, "ngIf"], [1, "miam-product-card__replace-product", "miam-ds-button", "ghost", 3, "click"], i18n_0, [1, "miam-product-card__lower-action"], [1, "miam-product-card__price", "miam-ds-text", "size-l", "weight-xxl", 3, "price"], [1, "miam-product-card__cta"], [4, "ngIf"], [1, "miam-ds-badge", "outline"], i18n_2, [1, "miam-ds-button", "miam-product-card__ignore-product", "ghost", "small", 3, "click"], [1, "miam-product-card__disabled-text"], i18n_4, ["class", "miam-ds-button miam-product-card__add-product square primary", 3, "disabled", "click", 4, "ngIf"], ["class", "miam-ds-button miam-product-card__loading-button square primary", 4, "ngIf"], [1, "miam-ds-button", "miam-product-card__add-product", "square", "primary", 3, "disabled", "click"], ["alt", "basket icon", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Basket.svg"], [1, "miam-ds-button", "miam-product-card__loading-button", "square", "primary"], [1, "miam-ds-loader"], ["minRange", "0", 3, "value", "minusLoading", "valueChange"], [1, "miam-ds-text", "miam-product-card__disabled-text"], i18n_6, [1, "miam-product-card__select-product", "miam-ds-button", "ghost", 3, "click"], i18n_8, i18n_10, [1, "miam-product-card__footer"], [1, "miam-ds-text", "size-xs", "weight-xl", "light-text"], i18n_12, i18n_14];
14176
14205
  }, template: function ProductCardComponent_Template(rf, ctx) {
@@ -14195,7 +14224,7 @@
14195
14224
  type: i0.Input
14196
14225
  }] });
14197
14226
  })();
14198
- var templateObject_1$G, templateObject_2$y, templateObject_3$p, templateObject_4$m, templateObject_5$k, templateObject_6$g, templateObject_7$d, templateObject_8$9;
14227
+ var templateObject_1$I, templateObject_2$A, templateObject_3$q, templateObject_4$n, templateObject_5$l, templateObject_6$h, templateObject_7$e, templateObject_8$a;
14199
14228
 
14200
14229
  function ProductsPickerComponent_ng_container_3_span_3_Template(rf, ctx) {
14201
14230
  if (rf & 1) {
@@ -14458,7 +14487,7 @@
14458
14487
  i18n_0 = MSG_EXTERNAL_605370619355451874$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS___1;
14459
14488
  }
14460
14489
  else {
14461
- i18n_0 = $localize(templateObject_1$F || (templateObject_1$F = __makeTemplateObject([":\u241Ff2568064e2473c7c3d8d97951a6972d1ff930a96\u241F605370619355451874: ingr\u00E9dients"], [":\u241Ff2568064e2473c7c3d8d97951a6972d1ff930a96\u241F605370619355451874: ingr\u00E9dients"])));
14490
+ i18n_0 = $localize(templateObject_1$H || (templateObject_1$H = __makeTemplateObject([":\u241Ff2568064e2473c7c3d8d97951a6972d1ff930a96\u241F605370619355451874: ingr\u00E9dients"], [":\u241Ff2568064e2473c7c3d8d97951a6972d1ff930a96\u241F605370619355451874: ingr\u00E9dients"])));
14462
14491
  }
14463
14492
  var i18n_2;
14464
14493
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14466,7 +14495,7 @@
14466
14495
  i18n_2 = MSG_EXTERNAL_2503766562931300230$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS___3;
14467
14496
  }
14468
14497
  else {
14469
- i18n_2 = $localize(templateObject_2$x || (templateObject_2$x = __makeTemplateObject([":\u241Fe75af30c885be857c622a937ed16d2420bb56573\u241F2503766562931300230: ingr\u00E9dient"], [":\u241Fe75af30c885be857c622a937ed16d2420bb56573\u241F2503766562931300230: ingr\u00E9dient"])));
14498
+ i18n_2 = $localize(templateObject_2$z || (templateObject_2$z = __makeTemplateObject([":\u241Fe75af30c885be857c622a937ed16d2420bb56573\u241F2503766562931300230: ingr\u00E9dient"], [":\u241Fe75af30c885be857c622a937ed16d2420bb56573\u241F2503766562931300230: ingr\u00E9dient"])));
14470
14499
  }
14471
14500
  var i18n_4;
14472
14501
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14474,7 +14503,7 @@
14474
14503
  i18n_4 = MSG_EXTERNAL_2731668650375138999$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__5;
14475
14504
  }
14476
14505
  else {
14477
- i18n_4 = $localize(templateObject_3$o || (templateObject_3$o = __makeTemplateObject([":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "], [":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "])));
14506
+ i18n_4 = $localize(templateObject_3$p || (templateObject_3$p = __makeTemplateObject([":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "], [":\u241Fe41275de6f81d16eaa6e8a189c3dc4667c046e6e\u241F2731668650375138999: D\u00E9j\u00E0 dans le placard "])));
14478
14507
  }
14479
14508
  var i18n_6;
14480
14509
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14482,7 +14511,7 @@
14482
14511
  i18n_6 = MSG_EXTERNAL_7578478170177927970$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__7;
14483
14512
  }
14484
14513
  else {
14485
- i18n_6 = $localize(templateObject_4$l || (templateObject_4$l = __makeTemplateObject([":\u241F197e633392ff553015c1931947781d9ebba476b9\u241F7578478170177927970:Articles indisponibles"], [":\u241F197e633392ff553015c1931947781d9ebba476b9\u241F7578478170177927970:Articles indisponibles"])));
14514
+ i18n_6 = $localize(templateObject_4$m || (templateObject_4$m = __makeTemplateObject([":\u241F197e633392ff553015c1931947781d9ebba476b9\u241F7578478170177927970:Articles indisponibles"], [":\u241F197e633392ff553015c1931947781d9ebba476b9\u241F7578478170177927970:Articles indisponibles"])));
14486
14515
  }
14487
14516
  var i18n_8;
14488
14517
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14490,7 +14519,7 @@
14490
14519
  i18n_8 = MSG_EXTERNAL_7935172570546041466$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__9;
14491
14520
  }
14492
14521
  else {
14493
- i18n_8 = $localize(templateObject_5$j || (templateObject_5$j = __makeTemplateObject([":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"], [":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"])));
14522
+ i18n_8 = $localize(templateObject_5$k || (templateObject_5$k = __makeTemplateObject([":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"], [":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"])));
14494
14523
  }
14495
14524
  var i18n_10;
14496
14525
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14498,7 +14527,7 @@
14498
14527
  i18n_10 = MSG_EXTERNAL_7935172570546041466$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__11;
14499
14528
  }
14500
14529
  else {
14501
- i18n_10 = $localize(templateObject_6$f || (templateObject_6$f = __makeTemplateObject([":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"], [":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"])));
14530
+ i18n_10 = $localize(templateObject_6$g || (templateObject_6$g = __makeTemplateObject([":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"], [":\u241Fe98c28a19e26d5768391fd181582d011334dac18\u241F7935172570546041466:Voir plus d'id\u00E9es repas"])));
14502
14531
  }
14503
14532
  var i18n_12;
14504
14533
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14506,7 +14535,7 @@
14506
14535
  i18n_12 = MSG_EXTERNAL_7164540129836416689$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__13;
14507
14536
  }
14508
14537
  else {
14509
- i18n_12 = $localize(templateObject_7$c || (templateObject_7$c = __makeTemplateObject([":\u241F9915a302120305a1048e661fa028815cc83db69d\u241F7164540129836416689:Mentions l\u00E9gales"], [":\u241F9915a302120305a1048e661fa028815cc83db69d\u241F7164540129836416689:Mentions l\u00E9gales"])));
14538
+ i18n_12 = $localize(templateObject_7$d || (templateObject_7$d = __makeTemplateObject([":\u241F9915a302120305a1048e661fa028815cc83db69d\u241F7164540129836416689:Mentions l\u00E9gales"], [":\u241F9915a302120305a1048e661fa028815cc83db69d\u241F7164540129836416689:Mentions l\u00E9gales"])));
14510
14539
  }
14511
14540
  var i18n_14;
14512
14541
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14514,7 +14543,7 @@
14514
14543
  i18n_14 = MSG_EXTERNAL_2791054456946858131$$LIB__COMPONENTS_PRODUCTS_PICKER_PRODUCTS_PICKER_COMPONENT_TS__15;
14515
14544
  }
14516
14545
  else {
14517
- i18n_14 = $localize(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject([":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."], [":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."])));
14546
+ i18n_14 = $localize(templateObject_8$9 || (templateObject_8$9 = __makeTemplateObject([":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."], [":\u241Ff363139a8ec757d4ac80573845002c3e462c4bca\u241F2791054456946858131:L'abus d'alcool est dangereux pour la sant\u00E9. A consommer avec mod\u00E9ration. Vente interdite aux mineurs."])));
14518
14547
  }
14519
14548
  return [[1, "miam-products-picker__container"], [1, "miam-products-picker__header"], [1, "miam-products-picker__header-text", "miam-ds-text", "weight-xxl"], [4, "ngIf"], ["class", "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "valueChange", 4, "ngIf"], ["class", " miam-ds-loader miam-products-picker__loader", 4, "ngIf"], ["class", "miam-products-picker__list", 4, "ngIf"], [1, "miam-products-picker__secondary-list"], [1, "miam-products-picker__more"], ["class", "miam-products-picker__more-anchor", 3, "href", 4, "ngIf", "ngIfElse"], ["noAnchor", ""], ["class", "miam-products-picker__legal-notices", 4, "ngIf"], i18n_0, i18n_2, [1, "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "valueChange"], [1, "miam-ds-loader", "miam-products-picker__loader"], [1, "miam-products-picker__list"], [4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "miam-products-picker__items", 3, "id", "product", "originTrace", 4, "ngIf"], [1, "miam-products-picker__items", 3, "id", "product", "originTrace"], [1, "miam-products-picker__often-ignored-list", 3, "isCollapsed", "isCollapsedChange"], [1, "miam-ds-text", "weight-xxl"], i18n_4, ["class", "miam-products-picker__items", 3, "id", "product", "originTrace", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "miam-products-picker__unavailable-list", 3, "isCollapsed", "isCollapsedChange"], i18n_6, [1, "miam-products-picker__more-anchor", 3, "href"], [1, "miam-products-picker__go-to-catalog-button", "miam-ds-button", "secondary"], i18n_8, [1, "miam-products-picker__close-modal-button", "miam-ds-button", "secondary", 3, "click"], i18n_10, [1, "miam-products-picker__legal-notices"], [1, "miam-ds-text", "weight-xxl", "miam-products-picker__legal-notices-header"], i18n_12, [1, "miam-products-picker__legal-notices-content"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/recipe-details/recipe-details-legal-notices.svg"], i18n_14];
14520
14549
  }, template: function ProductsPickerComponent_Template(rf, ctx) {
@@ -14577,7 +14606,7 @@
14577
14606
  type: i0.Output
14578
14607
  }] });
14579
14608
  })();
14580
- var templateObject_1$F, templateObject_2$x, templateObject_3$o, templateObject_4$l, templateObject_5$j, templateObject_6$f, templateObject_7$c, templateObject_8$8;
14609
+ var templateObject_1$H, templateObject_2$z, templateObject_3$p, templateObject_4$m, templateObject_5$k, templateObject_6$g, templateObject_7$d, templateObject_8$9;
14581
14610
 
14582
14611
  function NoPosSelectedComponent_ng_container_1_Template(rf, ctx) {
14583
14612
  if (rf & 1) {
@@ -14626,7 +14655,7 @@
14626
14655
  i18n_0 = MSG_EXTERNAL_951171230257254217$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS_1;
14627
14656
  }
14628
14657
  else {
14629
- i18n_0 = $localize(templateObject_1$E || (templateObject_1$E = __makeTemplateObject([":\u241Fc8f80d9888c20c5fefa1a4273529366bdb421476\u241F951171230257254217:S\u00E9lectionner un magasin"], [":\u241Fc8f80d9888c20c5fefa1a4273529366bdb421476\u241F951171230257254217:S\u00E9lectionner un magasin"])));
14658
+ i18n_0 = $localize(templateObject_1$G || (templateObject_1$G = __makeTemplateObject([":\u241Fc8f80d9888c20c5fefa1a4273529366bdb421476\u241F951171230257254217:S\u00E9lectionner un magasin"], [":\u241Fc8f80d9888c20c5fefa1a4273529366bdb421476\u241F951171230257254217:S\u00E9lectionner un magasin"])));
14630
14659
  }
14631
14660
  var i18n_2;
14632
14661
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14634,7 +14663,7 @@
14634
14663
  i18n_2 = MSG_EXTERNAL_4902959158996033$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS__3;
14635
14664
  }
14636
14665
  else {
14637
- i18n_2 = $localize(templateObject_2$w || (templateObject_2$w = __makeTemplateObject([":\u241F510e53ffe7595eaaef4ee1c3821c11808214a699\u241F4902959158996033: D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas "], [":\u241F510e53ffe7595eaaef4ee1c3821c11808214a699\u241F4902959158996033: D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas "])));
14666
+ i18n_2 = $localize(templateObject_2$y || (templateObject_2$y = __makeTemplateObject([":\u241F510e53ffe7595eaaef4ee1c3821c11808214a699\u241F4902959158996033: D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas "], [":\u241F510e53ffe7595eaaef4ee1c3821c11808214a699\u241F4902959158996033: D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas "])));
14638
14667
  }
14639
14668
  var i18n_4;
14640
14669
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14642,7 +14671,7 @@
14642
14671
  i18n_4 = MSG_EXTERNAL_2921598154093258344$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS__5;
14643
14672
  }
14644
14673
  else {
14645
- i18n_4 = $localize(templateObject_3$n || (templateObject_3$n = __makeTemplateObject([":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "], [":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "])));
14674
+ i18n_4 = $localize(templateObject_3$o || (templateObject_3$o = __makeTemplateObject([":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "], [":\u241Fd6ca42e0c08ef48759f6fde25c12964a02a6c502\u241F2921598154093258344: Vous pouvez s\u00E9lectionner un autre magasin ou consulter la fiche recette "])));
14646
14675
  }
14647
14676
  var i18n_6;
14648
14677
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14650,7 +14679,7 @@
14650
14679
  i18n_6 = MSG_EXTERNAL_6530301909461759819$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS__7;
14651
14680
  }
14652
14681
  else {
14653
- i18n_6 = $localize(templateObject_4$k || (templateObject_4$k = __makeTemplateObject([":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "], [":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "])));
14682
+ i18n_6 = $localize(templateObject_4$l || (templateObject_4$l = __makeTemplateObject([":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "], [":\u241F0289bb85752fb91a75d87fa9e26df1d4647099ab\u241F6530301909461759819: Vous n\u2019avez pas s\u00E9lectionn\u00E9 de magasin "])));
14654
14683
  }
14655
14684
  var i18n_8;
14656
14685
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14658,7 +14687,7 @@
14658
14687
  i18n_8 = MSG_EXTERNAL_1950335304622346416$$LIB__COMPONENTS_NO_POS_SELECTED_NO_POS_SELECTED_COMPONENT_TS__9;
14659
14688
  }
14660
14689
  else {
14661
- i18n_8 = $localize(templateObject_5$i || (templateObject_5$i = __makeTemplateObject([":\u241F88974623a3e9dc18bb91128257de4e5f0c5c2303\u241F1950335304622346416: Vous devez s\u00E9lectionner un magasin pour visualiser les produits de cette recette "], [":\u241F88974623a3e9dc18bb91128257de4e5f0c5c2303\u241F1950335304622346416: Vous devez s\u00E9lectionner un magasin pour visualiser les produits de cette recette "])));
14690
+ i18n_8 = $localize(templateObject_5$j || (templateObject_5$j = __makeTemplateObject([":\u241F88974623a3e9dc18bb91128257de4e5f0c5c2303\u241F1950335304622346416: Vous devez s\u00E9lectionner un magasin pour visualiser les produits de cette recette "], [":\u241F88974623a3e9dc18bb91128257de4e5f0c5c2303\u241F1950335304622346416: Vous devez s\u00E9lectionner un magasin pour visualiser les produits de cette recette "])));
14662
14691
  }
14663
14692
  return [[1, "miam-no-pos-selected"], [4, "ngIf", "ngIfElse"], ["noPos", ""], [1, "miam-ds-button", "miam-no-pos-selected__select-pos-button", "primary", 3, "click"], i18n_0, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/product-issue.png", "alt", "No pos selected", 1, "miam-no-pos-selected__picture"], [1, "miam-ds-text", "miam-no-pos-selected__title", "size-l", "weight-xl"], i18n_2, [1, "miam-ds-text", "miam-no-pos-selected__description"], i18n_4, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/pos.svg", "alt", "No pos selected", 1, "miam-no-pos-selected__picture"], i18n_6, i18n_8];
14664
14693
  }, template: function NoPosSelectedComponent_Template(rf, ctx) {
@@ -14696,7 +14725,7 @@
14696
14725
  type: i0.Output
14697
14726
  }] });
14698
14727
  })();
14699
- var templateObject_1$E, templateObject_2$w, templateObject_3$n, templateObject_4$k, templateObject_5$i;
14728
+ var templateObject_1$G, templateObject_2$y, templateObject_3$o, templateObject_4$l, templateObject_5$j;
14700
14729
 
14701
14730
  var ProductAdditionCardComponent = /** @class */ (function () {
14702
14731
  function ProductAdditionCardComponent(productAdditionService) {
@@ -14712,7 +14741,7 @@
14712
14741
  i18n_0 = MSG_EXTERNAL_1525113191484251425$$LIB__COMPONENTS_PRODUCT_ADDITION_CARD_PRODUCT_ADDITION_CARD_COMPONENT_TS_1;
14713
14742
  }
14714
14743
  else {
14715
- i18n_0 = $localize(templateObject_1$D || (templateObject_1$D = __makeTemplateObject([":\u241Ff6a73fdf0e43fb78d2badaca50e79f1f5f496258\u241F1525113191484251425:Besoin de quelque chose en particulier ?"], [":\u241Ff6a73fdf0e43fb78d2badaca50e79f1f5f496258\u241F1525113191484251425:Besoin de quelque chose en particulier ?"])));
14744
+ i18n_0 = $localize(templateObject_1$F || (templateObject_1$F = __makeTemplateObject([":\u241Ff6a73fdf0e43fb78d2badaca50e79f1f5f496258\u241F1525113191484251425:Besoin de quelque chose en particulier ?"], [":\u241Ff6a73fdf0e43fb78d2badaca50e79f1f5f496258\u241F1525113191484251425:Besoin de quelque chose en particulier ?"])));
14716
14745
  }
14717
14746
  var i18n_2;
14718
14747
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -14720,7 +14749,7 @@
14720
14749
  i18n_2 = MSG_EXTERNAL_3600300940826652542$$LIB__COMPONENTS_PRODUCT_ADDITION_CARD_PRODUCT_ADDITION_CARD_COMPONENT_TS_3;
14721
14750
  }
14722
14751
  else {
14723
- i18n_2 = $localize(templateObject_2$v || (templateObject_2$v = __makeTemplateObject([":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"], [":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"])));
14752
+ i18n_2 = $localize(templateObject_2$x || (templateObject_2$x = __makeTemplateObject([":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"], [":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"])));
14724
14753
  }
14725
14754
  return [[1, "miam-product-addition-card"], [1, "miam-product-addition-card__title"], i18n_0, [1, "miam-product-addition-card__button", "miam-ds-button", "secondary", "small", 3, "click"], i18n_2];
14726
14755
  }, template: function ProductAdditionCardComponent_Template(rf, ctx) {
@@ -14750,7 +14779,7 @@
14750
14779
  }]
14751
14780
  }], function () { return [{ type: ProductAdditionService }]; }, null);
14752
14781
  })();
14753
- var templateObject_1$D, templateObject_2$v;
14782
+ var templateObject_1$F, templateObject_2$x;
14754
14783
 
14755
14784
  var StoreLocatorComponent = /** @class */ (function (_super) {
14756
14785
  __extends(StoreLocatorComponent, _super);
@@ -14783,10 +14812,10 @@
14783
14812
  return StoreLocatorComponent;
14784
14813
  }(EventTracerComponent));
14785
14814
  StoreLocatorComponent.ɵfac = function StoreLocatorComponent_Factory(t) { return new (t || StoreLocatorComponent)(i0__namespace.ɵɵdirectiveInject(AnalyticsService), i0__namespace.ɵɵdirectiveInject(StoreLocatorService), i0__namespace.ɵɵdirectiveInject(UserService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
14786
- StoreLocatorComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: StoreLocatorComponent, selectors: [["ng-miam-store-locator"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 4, consts: [[3, "show", "geolocationCoordinates", "posIdChange", "showChange"]], template: function StoreLocatorComponent_Template(rf, ctx) {
14815
+ StoreLocatorComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: StoreLocatorComponent, selectors: [["ng-miam-store-locator"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 2, vars: 4, consts: [[3, "show", "geolocationCoordinates", "posIdChange", "searchChange", "showChange"]], template: function StoreLocatorComponent_Template(rf, ctx) {
14787
14816
  if (rf & 1) {
14788
14817
  i0__namespace.ɵɵelementStart(0, "mealz-store-locator", 0);
14789
- i0__namespace.ɵɵlistener("posIdChange", function StoreLocatorComponent_Template_mealz_store_locator_posIdChange_0_listener($event) { return ctx.storeLocatorService.changePosAndSupplier($event, ctx.eventTrace()); })("showChange", function StoreLocatorComponent_Template_mealz_store_locator_showChange_0_listener($event) { return ctx.storeLocatorService.showChange($event); });
14818
+ i0__namespace.ɵɵlistener("posIdChange", function StoreLocatorComponent_Template_mealz_store_locator_posIdChange_0_listener($event) { return ctx.storeLocatorService.changePosAndSupplier($event, ctx.eventTrace()); })("searchChange", function StoreLocatorComponent_Template_mealz_store_locator_searchChange_0_listener($event) { return ctx.storeLocatorService.searchChange($event, ctx.eventTrace()); })("showChange", function StoreLocatorComponent_Template_mealz_store_locator_showChange_0_listener($event) { return ctx.storeLocatorService.showChange($event); });
14790
14819
  i0__namespace.ɵɵpipe(1, "async");
14791
14820
  i0__namespace.ɵɵelementEnd();
14792
14821
  }
@@ -15251,7 +15280,7 @@
15251
15280
  i18n_0 = MSG_EXTERNAL_5279571682523834027$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS__1;
15252
15281
  }
15253
15282
  else {
15254
- i18n_0 = $localize(templateObject_1$C || (templateObject_1$C = __makeTemplateObject([":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "], [":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "])));
15283
+ i18n_0 = $localize(templateObject_1$E || (templateObject_1$E = __makeTemplateObject([":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "], [":\u241Fcf4f536e5a68ceab8fbe420ae968c0c7d0f63e0e\u241F5279571682523834027: Article(s) indisponible(s) "])));
15255
15284
  }
15256
15285
  var i18n_2;
15257
15286
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15259,7 +15288,7 @@
15259
15288
  i18n_2 = MSG_EXTERNAL_7543346336065618825$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS__3;
15260
15289
  }
15261
15290
  else {
15262
- i18n_2 = $localize(templateObject_2$u || (templateObject_2$u = __makeTemplateObject([":\u241Fe9c0f99c9b8cf81911ed3f238e2203c6ce78b89b\u241F7543346336065618825: Article(s) retir\u00E9(s) du panier "], [":\u241Fe9c0f99c9b8cf81911ed3f238e2203c6ce78b89b\u241F7543346336065618825: Article(s) retir\u00E9(s) du panier "])));
15291
+ i18n_2 = $localize(templateObject_2$w || (templateObject_2$w = __makeTemplateObject([":\u241Fe9c0f99c9b8cf81911ed3f238e2203c6ce78b89b\u241F7543346336065618825: Article(s) retir\u00E9(s) du panier "], [":\u241Fe9c0f99c9b8cf81911ed3f238e2203c6ce78b89b\u241F7543346336065618825: Article(s) retir\u00E9(s) du panier "])));
15263
15292
  }
15264
15293
  var i18n_4;
15265
15294
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15267,7 +15296,7 @@
15267
15296
  i18n_4 = MSG_EXTERNAL_6646707544911031345$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS__5;
15268
15297
  }
15269
15298
  else {
15270
- i18n_4 = $localize(templateObject_3$m || (templateObject_3$m = __makeTemplateObject([":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "], [":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "])));
15299
+ i18n_4 = $localize(templateObject_3$n || (templateObject_3$n = __makeTemplateObject([":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "], [":\u241F147ab826fc3478c8b4429cc972679cf659bb8100\u241F6646707544911031345: D\u00E9j\u00E0 dans vos placards ? "])));
15271
15300
  }
15272
15301
  var i18n_6;
15273
15302
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15275,7 +15304,7 @@
15275
15304
  i18n_6 = MSG_EXTERNAL_70397346439942337$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS_____7;
15276
15305
  }
15277
15306
  else {
15278
- i18n_6 = $localize(templateObject_4$j || (templateObject_4$j = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
15307
+ i18n_6 = $localize(templateObject_4$k || (templateObject_4$k = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
15279
15308
  }
15280
15309
  var i18n_8;
15281
15310
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -15283,7 +15312,7 @@
15283
15312
  i18n_8 = MSG_EXTERNAL_7632520172633395699$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_DISABLED_BASKET_PREVIEW_DISABLED_COMPONENT_TS_____9;
15284
15313
  }
15285
15314
  else {
15286
- i18n_8 = $localize(templateObject_5$h || (templateObject_5$h = __makeTemplateObject([":\u241Fe31c09107c2be79ac21e40a68b0f4ab125f4ab8b\u241F7632520172633395699: au panier"], [":\u241Fe31c09107c2be79ac21e40a68b0f4ab125f4ab8b\u241F7632520172633395699: au panier"])));
15315
+ i18n_8 = $localize(templateObject_5$i || (templateObject_5$i = __makeTemplateObject([":\u241Fe31c09107c2be79ac21e40a68b0f4ab125f4ab8b\u241F7632520172633395699: au panier"], [":\u241Fe31c09107c2be79ac21e40a68b0f4ab125f4ab8b\u241F7632520172633395699: au panier"])));
15287
15316
  }
15288
15317
  return [[1, "miam-basket-preview-disabled"], [1, "miam-basket-preview-disabled__header", 3, "ngClass", "click"], [1, "miam-basket-preview-disabled__header__caption"], ["class", "miam-basket-preview-disabled__header__caption__text", 4, "ngIf"], [1, "miam-basket-preview-disabled__header__caption__number"], [1, "miam-basket-preview-disabled__header__chevron", 3, "ngClass"], ["height", "32", "width", "32", "primaryColor", "#fff", 3, "iconName"], [4, "ngIf"], [1, "miam-basket-preview-disabled__header__caption__text"], i18n_0, i18n_2, i18n_4, ["class", "miam-basket-preview-disabled__entry", 4, "ngFor", "ngForOf"], [1, "miam-basket-preview-disabled__entry"], [1, "text-muted"], ["class", "m-button-grey", 3, "ngClass", "click", 4, "ngIf"], [1, "m-button-grey", 3, "ngClass", "click"], i18n_6, i18n_8];
15289
15318
  }, template: function BasketPreviewDisabledComponent_Template(rf, ctx) {
@@ -15349,7 +15378,7 @@
15349
15378
  args: ['window:resize', ['$event']]
15350
15379
  }] });
15351
15380
  })();
15352
- var templateObject_1$C, templateObject_2$u, templateObject_3$m, templateObject_4$j, templateObject_5$h;
15381
+ var templateObject_1$E, templateObject_2$w, templateObject_3$n, templateObject_4$k, templateObject_5$i;
15353
15382
 
15354
15383
  function BasketPreviewLineComponent_ng_container_0_div_5_Template(rf, ctx) {
15355
15384
  if (rf & 1) {
@@ -15930,7 +15959,7 @@
15930
15959
  i0__namespace.ɵɵadvance(1);
15931
15960
  i0__namespace.ɵɵproperty("ngIf", ctx_r2.line.displayMode);
15932
15961
  i0__namespace.ɵɵadvance(1);
15933
- i0__namespace.ɵɵproperty("ngIf", !ctx_r2.line.isRecipe && (ctx_r2.line == null ? null : ctx_r2.line.record == null ? null : ctx_r2.line.record.items == null ? null : ctx_r2.line.record.items.length) > 1);
15962
+ i0__namespace.ɵɵproperty("ngIf", !ctx_r2.line.isRecipe);
15934
15963
  i0__namespace.ɵɵadvance(1);
15935
15964
  i0__namespace.ɵɵproperty("ngIf", ctx_r2.line.inlineTag);
15936
15965
  i0__namespace.ɵɵadvance(2);
@@ -16006,10 +16035,14 @@
16006
16035
  BasketPreviewLineComponent.prototype.currentPath = function () {
16007
16036
  return '';
16008
16037
  };
16009
- BasketPreviewLineComponent.prototype.initRecipesAndIgredients = function () {
16038
+ BasketPreviewLineComponent.prototype.initRecipesAndIngredients = function (countChanged) {
16010
16039
  var _this = this;
16011
- if (this.legacyRecipe && this.legacyIngredientsEntries.length === this.legacyRecipe.relationships.ingredients.data.length) {
16012
- return rxjs.of();
16040
+ if (countChanged === void 0) { countChanged = false; }
16041
+ if (this.legacyRecipe &&
16042
+ this.legacyIngredientsEntries &&
16043
+ this.legacyIngredientsEntries.length === this.legacyRecipe.relationships.ingredients.data.length &&
16044
+ !countChanged) {
16045
+ return rxjs.of([]);
16013
16046
  }
16014
16047
  return this.recipesService.get(this.line.id, {
16015
16048
  include: ['ingredients'],
@@ -16039,6 +16072,8 @@
16039
16072
  this.line.count = count;
16040
16073
  if (this.line.hasEntries() || this.line.displayMode) {
16041
16074
  this.countChanged.emit(this.line);
16075
+ // Force refresh recipe entries
16076
+ this.buildEntriesLines(true);
16042
16077
  }
16043
16078
  else {
16044
16079
  this.handleSublineCountChange(count);
@@ -16052,7 +16087,7 @@
16052
16087
  }
16053
16088
  this.line.record.attributes.quantity = count;
16054
16089
  this.sendEvent(this.analyticsService.EVENT_ENTRY_CHANGE_QUANTITY);
16055
- this.subscriptions.push(this.line.record.save().pipe(operators.switchMap(function () { return _this.basketsService.reloadBasket(); })).subscribe());
16090
+ this.subscriptions.push(this.line.record.save().pipe(operators.switchMap(function () { return _this.basketsService.reloadBasket(); })).subscribe(function () { return _this.cdr.detectChanges(); }));
16056
16091
  };
16057
16092
  BasketPreviewLineComponent.prototype.toggleExpanded = function (event) {
16058
16093
  if (!this.line.hasEntries() ||
@@ -16078,7 +16113,7 @@
16078
16113
  this.buildEntriesLines();
16079
16114
  // Update be status to "deleted" and reload basket
16080
16115
  entry.status = 'deleted';
16081
- this.subscriptions.push(entry.save().pipe(operators.switchMap(function () { return _this.basketsService.reloadBasket(); })).subscribe());
16116
+ this.subscriptions.push(entry.save().pipe(operators.switchMap(function () { return _this.basketsService.reloadBasket(); })).subscribe(function () { return _this.cdr.detectChanges(); }));
16082
16117
  };
16083
16118
  BasketPreviewLineComponent.prototype.changeProduct = function (line) {
16084
16119
  var _a;
@@ -16098,11 +16133,12 @@
16098
16133
  this.cdr.detectChanges();
16099
16134
  this.elementRef.nativeElement.scrollIntoView(false);
16100
16135
  };
16101
- BasketPreviewLineComponent.prototype.buildEntriesLines = function () {
16136
+ BasketPreviewLineComponent.prototype.buildEntriesLines = function (countChanged) {
16102
16137
  var _this = this;
16138
+ if (countChanged === void 0) { countChanged = false; }
16103
16139
  if (this.legacyMode) {
16104
16140
  var entries_1 = __spread(this.line.entries.found, this.line.entries.notFound, this.line.entries.oftenDeleted, this.line.entries.removed);
16105
- this.initRecipesAndIgredients().pipe(operators.tap(function () {
16141
+ this.initRecipesAndIngredients(countChanged).pipe(operators.tap(function () {
16106
16142
  _this.entriesLines$.next(entries_1
16107
16143
  .filter(function (entry) { return _this.line.entries.found.map(function (e) { return e.id; }).includes(entry.id); })
16108
16144
  .map(function (entry) { return BasketPreviewLine.fromBasketEntry(entry, _this.legacyRecipe, _this.legacyIngredientsEntries.find(function (ie) { return ie.entry.id === entry.id; }).ing); }));
@@ -16235,7 +16271,7 @@
16235
16271
  i18n_0 = MSG_EXTERNAL_6749102764655247912$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS__1;
16236
16272
  }
16237
16273
  else {
16238
- i18n_0 = $localize(templateObject_1$B || (templateObject_1$B = __makeTemplateObject([":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"], [":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"])));
16274
+ i18n_0 = $localize(templateObject_1$D || (templateObject_1$D = __makeTemplateObject([":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"], [":\u241Fd68184b8cb73679ad3ecea9935d57f739bea4871\u241F6749102764655247912:Voir les produits"])));
16239
16275
  }
16240
16276
  var i18n_2;
16241
16277
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16243,7 +16279,7 @@
16243
16279
  i18n_2 = MSG_EXTERNAL_5144484951400113194$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___3;
16244
16280
  }
16245
16281
  else {
16246
- i18n_2 = $localize(templateObject_2$t || (templateObject_2$t = __makeTemplateObject([":\u241F84c216d92afc9edd2b3bd2175d38197737ff86c5\u241F5144484951400113194:produit"], [":\u241F84c216d92afc9edd2b3bd2175d38197737ff86c5\u241F5144484951400113194:produit"])));
16282
+ i18n_2 = $localize(templateObject_2$v || (templateObject_2$v = __makeTemplateObject([":\u241F84c216d92afc9edd2b3bd2175d38197737ff86c5\u241F5144484951400113194:produit"], [":\u241F84c216d92afc9edd2b3bd2175d38197737ff86c5\u241F5144484951400113194:produit"])));
16247
16283
  }
16248
16284
  var i18n_4;
16249
16285
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16251,7 +16287,7 @@
16251
16287
  i18n_4 = MSG_EXTERNAL_1112144680738962826$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___5;
16252
16288
  }
16253
16289
  else {
16254
- i18n_4 = $localize(templateObject_3$l || (templateObject_3$l = __makeTemplateObject([":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"], [":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"])));
16290
+ i18n_4 = $localize(templateObject_3$m || (templateObject_3$m = __makeTemplateObject([":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"], [":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"])));
16255
16291
  }
16256
16292
  var i18n_6;
16257
16293
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16259,7 +16295,7 @@
16259
16295
  i18n_6 = MSG_EXTERNAL_2861269811387022272$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___7;
16260
16296
  }
16261
16297
  else {
16262
- i18n_6 = $localize(templateObject_4$i || (templateObject_4$i = __makeTemplateObject([":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "], [":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "])));
16298
+ i18n_6 = $localize(templateObject_4$j || (templateObject_4$j = __makeTemplateObject([":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "], [":\u241F2706048545fce399fb75b672add0eb745e09ada5\u241F2861269811387022272:soit "])));
16263
16299
  }
16264
16300
  var i18n_8;
16265
16301
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16267,7 +16303,7 @@
16267
16303
  i18n_8 = MSG_EXTERNAL_795612159703082771$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___9;
16268
16304
  }
16269
16305
  else {
16270
- i18n_8 = $localize(templateObject_5$g || (templateObject_5$g = __makeTemplateObject([":\u241F1c70617413b748533642488f2e142c2f06296f8f\u241F795612159703082771:/pers"], [":\u241F1c70617413b748533642488f2e142c2f06296f8f\u241F795612159703082771:/pers"])));
16306
+ i18n_8 = $localize(templateObject_5$h || (templateObject_5$h = __makeTemplateObject([":\u241F1c70617413b748533642488f2e142c2f06296f8f\u241F795612159703082771:/pers"], [":\u241F1c70617413b748533642488f2e142c2f06296f8f\u241F795612159703082771:/pers"])));
16271
16307
  }
16272
16308
  var i18n_13;
16273
16309
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16275,7 +16311,7 @@
16275
16311
  i18n_13 = MSG_EXTERNAL_8545968125113919212$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___14;
16276
16312
  }
16277
16313
  else {
16278
- i18n_13 = $localize(templateObject_6$e || (templateObject_6$e = __makeTemplateObject([":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"], [":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"])));
16314
+ i18n_13 = $localize(templateObject_6$f || (templateObject_6$f = __makeTemplateObject([":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"], [":\u241F5eb3efea30c37fe427894692cd5e01d298767657\u241F8545968125113919212:Sponsoris\u00E9"])));
16279
16315
  }
16280
16316
  var i18n_15;
16281
16317
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16283,7 +16319,7 @@
16283
16319
  i18n_15 = MSG_EXTERNAL_943969525955903510$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___16;
16284
16320
  }
16285
16321
  else {
16286
- i18n_15 = $localize(templateObject_7$b || (templateObject_7$b = __makeTemplateObject([":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "], [":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "])));
16322
+ i18n_15 = $localize(templateObject_7$c || (templateObject_7$c = __makeTemplateObject([":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "], [":\u241F464df96417b29e18e7c92bd6bbe85ec8ae81101a\u241F943969525955903510: personne "])));
16287
16323
  }
16288
16324
  var i18n_17;
16289
16325
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16291,7 +16327,7 @@
16291
16327
  i18n_17 = MSG_EXTERNAL_7216398619205393425$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS____18;
16292
16328
  }
16293
16329
  else {
16294
- i18n_17 = $localize(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject([":\u241F4785d2ed6aa646690f46eb4fe02a1916a39cdbb8\u241F7216398619205393425:Masquer le d\u00E9tail"], [":\u241F4785d2ed6aa646690f46eb4fe02a1916a39cdbb8\u241F7216398619205393425:Masquer le d\u00E9tail"])));
16330
+ i18n_17 = $localize(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject([":\u241F4785d2ed6aa646690f46eb4fe02a1916a39cdbb8\u241F7216398619205393425:Masquer le d\u00E9tail"], [":\u241F4785d2ed6aa646690f46eb4fe02a1916a39cdbb8\u241F7216398619205393425:Masquer le d\u00E9tail"])));
16295
16331
  }
16296
16332
  var i18n_19;
16297
16333
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16299,7 +16335,7 @@
16299
16335
  i18n_19 = MSG_EXTERNAL_1356308905753232069$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS____20;
16300
16336
  }
16301
16337
  else {
16302
- i18n_19 = $localize(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject([":\u241F1afb0c360aa8eb58699c70b4f81b79db9b304633\u241F1356308905753232069:Voir le d\u00E9tail"], [":\u241F1afb0c360aa8eb58699c70b4f81b79db9b304633\u241F1356308905753232069:Voir le d\u00E9tail"])));
16338
+ i18n_19 = $localize(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject([":\u241F1afb0c360aa8eb58699c70b4f81b79db9b304633\u241F1356308905753232069:Voir le d\u00E9tail"], [":\u241F1afb0c360aa8eb58699c70b4f81b79db9b304633\u241F1356308905753232069:Voir le d\u00E9tail"])));
16303
16339
  }
16304
16340
  var i18n_22;
16305
16341
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16307,7 +16343,7 @@
16307
16343
  i18n_22 = MSG_EXTERNAL_5882806197320246536$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___23;
16308
16344
  }
16309
16345
  else {
16310
- i18n_22 = $localize(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject([":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "], [":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "])));
16346
+ i18n_22 = $localize(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject([":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "], [":\u241Fb13efa64234089d6652cd83ff1b3dc829f22a13e\u241F5882806197320246536: Voir la recette "])));
16311
16347
  }
16312
16348
  var i18n_24;
16313
16349
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16315,7 +16351,7 @@
16315
16351
  i18n_24 = MSG_EXTERNAL_2014297263214357463$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___25;
16316
16352
  }
16317
16353
  else {
16318
- i18n_24 = $localize(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject([":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"], [":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"])));
16354
+ i18n_24 = $localize(templateObject_11$4 || (templateObject_11$4 = __makeTemplateObject([":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"], [":\u241Fc0482d798065c40279036142ef812ebf3942d280\u241F2014297263214357463:Changer d'article"])));
16319
16355
  }
16320
16356
  var i18n_27;
16321
16357
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16323,7 +16359,7 @@
16323
16359
  i18n_27 = MSG_EXTERNAL_6410345110451741598$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_LINE_BASKET_PREVIEW_LINE_COMPONENT_TS___28;
16324
16360
  }
16325
16361
  else {
16326
- i18n_27 = $localize(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject([":\u241F1987d6d2d7b60e267f6d65eb3c4cdb5c975d5f54\u241F6410345110451741598:pour"], [":\u241F1987d6d2d7b60e267f6d65eb3c4cdb5c975d5f54\u241F6410345110451741598:pour"])));
16362
+ i18n_27 = $localize(templateObject_12$3 || (templateObject_12$3 = __makeTemplateObject([":\u241F1987d6d2d7b60e267f6d65eb3c4cdb5c975d5f54\u241F6410345110451741598:pour"], [":\u241F1987d6d2d7b60e267f6d65eb3c4cdb5c975d5f54\u241F6410345110451741598:pour"])));
16327
16363
  }
16328
16364
  var i18n_29;
16329
16365
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -16398,7 +16434,7 @@
16398
16434
  type: i0.Output
16399
16435
  }] });
16400
16436
  })();
16401
- var templateObject_1$B, templateObject_2$t, templateObject_3$l, templateObject_4$i, templateObject_5$g, templateObject_6$e, templateObject_7$b, templateObject_8$7, templateObject_9$5, templateObject_10$3, templateObject_11$3, templateObject_12$2, templateObject_13$2, templateObject_14$1, templateObject_15$1;
16437
+ var templateObject_1$D, templateObject_2$v, templateObject_3$m, templateObject_4$j, templateObject_5$h, templateObject_6$f, templateObject_7$c, templateObject_8$8, templateObject_9$6, templateObject_10$4, templateObject_11$4, templateObject_12$3, templateObject_13$2, templateObject_14$1, templateObject_15$1;
16402
16438
 
16403
16439
  function BasketPreviewProductComponent_div_0_div_15_Template(rf, ctx) {
16404
16440
  if (rf & 1) {
@@ -16603,7 +16639,7 @@
16603
16639
  i18n_0 = MSG_EXTERNAL_4705093661060921903$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_PRODUCT_BASKET_PREVIEW_PRODUCT_COMPONENT_TS___1;
16604
16640
  }
16605
16641
  else {
16606
- i18n_0 = $localize(templateObject_1$A || (templateObject_1$A = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
16642
+ i18n_0 = $localize(templateObject_1$C || (templateObject_1$C = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
16607
16643
  }
16608
16644
  return [["class", "miam-basket-preview-product", 3, "id", 4, "ngIf"], [1, "miam-basket-preview-product", 3, "id"], [1, "miam-basket-preview-product__infos-container"], [1, "miam-basket-preview-product__picture-container"], [1, "miam-basket-preview-product__picture"], ["alt", "product picture", 3, "src", "error"], [1, "miam-basket-preview-product__infos-and-actions"], [1, "miam-basket-preview-product__infos"], [1, "miam-basket-preview-product__title", "miam-ds-text", "weight-l", "size-s"], [1, "miam-product-card__badges"], [1, "miam-basket-preview-product__capacity", "miam-ds-badge"], ["class", "miam-basket-preview-product__sponsorised miam-ds-badge", 4, "ngIf"], ["class", "miam-basket-preview-product__replace-button miam-ds-button ghost", 3, "disabled", "click", 4, "ngIf"], [1, "miam-basket-preview-line__remove", "miam-ds-button", "ghost", 3, "ngClass", "click"], ["class", "miam-ds-loader", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/trash.svg", "alt", "remove recipe", 4, "ngIf"], [1, "miam-basket-preview-product__price-and-action"], ["ngMiamInViewport", "", 1, "miam-basket-preview-product__price", "miam-ds-text", "size-l", "weight-xl", 3, "threshold", "debounceTime", "inViewport"], ["minRange", "0", 3, "value", "minusLoading", "disable", "valueChange"], [1, "miam-basket-preview-product__sponsorised", "miam-ds-badge"], [1, "miam-basket-preview-product__replace-button", "miam-ds-button", "ghost", 3, "disabled", "click"], i18n_0, [1, "miam-ds-loader"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/trash.svg", "alt", "remove recipe"]];
16609
16645
  }, template: function BasketPreviewProductComponent_Template(rf, ctx) {
@@ -16636,7 +16672,7 @@
16636
16672
  type: i0.Output
16637
16673
  }] });
16638
16674
  })();
16639
- var templateObject_1$A;
16675
+ var templateObject_1$C;
16640
16676
 
16641
16677
  function ReplaceItemComponent_span_3_Template(rf, ctx) {
16642
16678
  if (rf & 1) {
@@ -17109,7 +17145,7 @@
17109
17145
  i18n_0 = MSG_EXTERNAL_6950029358283595645$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS_1;
17110
17146
  }
17111
17147
  else {
17112
- i18n_0 = $localize(templateObject_1$z || (templateObject_1$z = __makeTemplateObject([":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"], [":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"])));
17148
+ i18n_0 = $localize(templateObject_1$B || (templateObject_1$B = __makeTemplateObject([":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"], [":\u241Ff077b7f13b9ff18b98843b6451b95b52e2e0416b\u241F6950029358283595645:Rechercher un produit de substitution"])));
17113
17149
  }
17114
17150
  var i18n_2;
17115
17151
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17117,7 +17153,7 @@
17117
17153
  i18n_2 = MSG_EXTERNAL_7424968407033822919$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS_3;
17118
17154
  }
17119
17155
  else {
17120
- i18n_2 = $localize(templateObject_2$s || (templateObject_2$s = __makeTemplateObject([":\u241F4348f48d35623f4d4d03de11b852c5da5a5daff9\u241F7424968407033822919:Je cherche un produit"], [":\u241F4348f48d35623f4d4d03de11b852c5da5a5daff9\u241F7424968407033822919:Je cherche un produit"])));
17156
+ i18n_2 = $localize(templateObject_2$u || (templateObject_2$u = __makeTemplateObject([":\u241F4348f48d35623f4d4d03de11b852c5da5a5daff9\u241F7424968407033822919:Je cherche un produit"], [":\u241F4348f48d35623f4d4d03de11b852c5da5a5daff9\u241F7424968407033822919:Je cherche un produit"])));
17121
17157
  }
17122
17158
  var i18n_4;
17123
17159
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17125,7 +17161,7 @@
17125
17161
  i18n_4 = MSG_EXTERNAL_2371976043497937004$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__5;
17126
17162
  }
17127
17163
  else {
17128
- i18n_4 = $localize(templateObject_3$k || (templateObject_3$k = __makeTemplateObject([":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"], [":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"])));
17164
+ i18n_4 = $localize(templateObject_3$l || (templateObject_3$l = __makeTemplateObject([":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"], [":\u241Fbcaa24028639b753617e2d3e0462eac9dc2ae4de\u241F2371976043497937004:Remplacer un produit"])));
17129
17165
  }
17130
17166
  var i18n_6;
17131
17167
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17133,7 +17169,7 @@
17133
17169
  i18n_6 = MSG_EXTERNAL_3600300940826652542$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__7;
17134
17170
  }
17135
17171
  else {
17136
- i18n_6 = $localize(templateObject_4$h || (templateObject_4$h = __makeTemplateObject([":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"], [":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"])));
17172
+ i18n_6 = $localize(templateObject_4$i || (templateObject_4$i = __makeTemplateObject([":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"], [":\u241F02d62e50d45d9f9373ea25239767f0e2ae57e34d\u241F3600300940826652542:Ajouter un produit"])));
17137
17173
  }
17138
17174
  var i18n_8;
17139
17175
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17141,7 +17177,7 @@
17141
17177
  i18n_8 = MSG_EXTERNAL_6170250983123691695$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS______9;
17142
17178
  }
17143
17179
  else {
17144
- i18n_8 = $localize(templateObject_5$f || (templateObject_5$f = __makeTemplateObject([":\u241Fed4f6783bab9c5ba85a78b7ed6c13143a6784ee7\u241F6170250983123691695:S\u00E9lectionn\u00E9"], [":\u241Fed4f6783bab9c5ba85a78b7ed6c13143a6784ee7\u241F6170250983123691695:S\u00E9lectionn\u00E9"])));
17180
+ i18n_8 = $localize(templateObject_5$g || (templateObject_5$g = __makeTemplateObject([":\u241Fed4f6783bab9c5ba85a78b7ed6c13143a6784ee7\u241F6170250983123691695:S\u00E9lectionn\u00E9"], [":\u241Fed4f6783bab9c5ba85a78b7ed6c13143a6784ee7\u241F6170250983123691695:S\u00E9lectionn\u00E9"])));
17145
17181
  }
17146
17182
  var i18n_10;
17147
17183
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17149,7 +17185,7 @@
17149
17185
  i18n_10 = MSG_EXTERNAL_7595911884418843153$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS______11;
17150
17186
  }
17151
17187
  else {
17152
- i18n_10 = $localize(templateObject_6$d || (templateObject_6$d = __makeTemplateObject([":\u241Fdd2163aebf2872c37a21e0b46046b72c67b05084\u241F7595911884418843153:S\u00E9lectionner"], [":\u241Fdd2163aebf2872c37a21e0b46046b72c67b05084\u241F7595911884418843153:S\u00E9lectionner"])));
17188
+ i18n_10 = $localize(templateObject_6$e || (templateObject_6$e = __makeTemplateObject([":\u241Fdd2163aebf2872c37a21e0b46046b72c67b05084\u241F7595911884418843153:S\u00E9lectionner"], [":\u241Fdd2163aebf2872c37a21e0b46046b72c67b05084\u241F7595911884418843153:S\u00E9lectionner"])));
17153
17189
  }
17154
17190
  var i18n_12;
17155
17191
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17157,7 +17193,7 @@
17157
17193
  i18n_12 = MSG_EXTERNAL_6492937435856655320$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS_____13;
17158
17194
  }
17159
17195
  else {
17160
- i18n_12 = $localize(templateObject_7$a || (templateObject_7$a = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
17196
+ i18n_12 = $localize(templateObject_7$b || (templateObject_7$b = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
17161
17197
  }
17162
17198
  var i18n_15;
17163
17199
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17165,7 +17201,7 @@
17165
17201
  i18n_15 = MSG_EXTERNAL_8285910377236394164$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__16;
17166
17202
  }
17167
17203
  else {
17168
- i18n_15 = $localize(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject([":\u241Fae6cf922f776e02624d28a771a147bf6e096eade\u241F8285910377236394164:Aucun produit de substitution trouv\u00E9"], [":\u241Fae6cf922f776e02624d28a771a147bf6e096eade\u241F8285910377236394164:Aucun produit de substitution trouv\u00E9"])));
17204
+ i18n_15 = $localize(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject([":\u241Fae6cf922f776e02624d28a771a147bf6e096eade\u241F8285910377236394164:Aucun produit de substitution trouv\u00E9"], [":\u241Fae6cf922f776e02624d28a771a147bf6e096eade\u241F8285910377236394164:Aucun produit de substitution trouv\u00E9"])));
17169
17205
  }
17170
17206
  var i18n_17;
17171
17207
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17173,7 +17209,7 @@
17173
17209
  i18n_17 = MSG_EXTERNAL_5283848724505507806$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__18;
17174
17210
  }
17175
17211
  else {
17176
- i18n_17 = $localize(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject([":\u241Fd87667a5f5d41ae926764adb44c443719bb4e919\u241F5283848724505507806:Aucun produit trouv\u00E9 pour cette recherche"], [":\u241Fd87667a5f5d41ae926764adb44c443719bb4e919\u241F5283848724505507806:Aucun produit trouv\u00E9 pour cette recherche"])));
17212
+ i18n_17 = $localize(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject([":\u241Fd87667a5f5d41ae926764adb44c443719bb4e919\u241F5283848724505507806:Aucun produit trouv\u00E9 pour cette recherche"], [":\u241Fd87667a5f5d41ae926764adb44c443719bb4e919\u241F5283848724505507806:Aucun produit trouv\u00E9 pour cette recherche"])));
17177
17213
  }
17178
17214
  var i18n_19;
17179
17215
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17181,7 +17217,7 @@
17181
17217
  i18n_19 = MSG_EXTERNAL_4424868866602221395$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__20;
17182
17218
  }
17183
17219
  else {
17184
- i18n_19 = $localize(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject([":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"], [":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"])));
17220
+ i18n_19 = $localize(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject([":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"], [":\u241F88ec6efcd6abcc9b26d01ce7731af8f8e727aef8\u241F4424868866602221395:Essayez avec un autre mot-cl\u00E9"])));
17185
17221
  }
17186
17222
  var i18n_21;
17187
17223
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17189,7 +17225,7 @@
17189
17225
  i18n_21 = MSG_EXTERNAL_3094902783246996897$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_REPLACE_ITEM_REPLACE_ITEM_COMPONENT_TS__22;
17190
17226
  }
17191
17227
  else {
17192
- i18n_21 = $localize(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject([":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"], [":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"])));
17228
+ i18n_21 = $localize(templateObject_11$3 || (templateObject_11$3 = __makeTemplateObject([":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"], [":\u241F796be7ef70e6714417dffe1ff46622824ce81a03\u241F3094902783246996897:Trouver une liste de produit en effectuant votre recherche"])));
17193
17229
  }
17194
17230
  return [[1, "miam-replace-item__header", "miam-ds-text", "weight-xxl"], [1, "miam-ds-button", "ghost", "square", 3, "click"], ["width", "24", "height", "24", "primaryColor", "var(--miam-ds-color-primary-500)", 3, "iconName"], [4, "ngIf", "ngIfElse"], ["addProduct", ""], [1, "miam-replace-item__top-container"], [1, "miam-replace-item__searchbar"], ["width", "20", "height", "20", 3, "iconName"], ["type", "text", "placeholder", i18n_0, "class", "miam-replace-item__searchbar__input miam-ds-text size-m weight-l", 3, "ngModel", "ngModelChange", 4, "ngIf"], ["type", "text", "placeholder", i18n_2, "class", "miam-replace-item__searchbar__input miam-ds-text size-m weight-l", 3, "ngModel", "ngModelChange", 4, "ngIf"], [1, "miam-ds-loader"], ["class", "miam-replace-item__product-banner", 4, "ngIf"], [1, "miam-replace-item__product-list"], ["class", "miam-replace-item__product-item", 3, "ngClass", 4, "ngFor", "ngForOf"], [4, "ngIf"], i18n_4, i18n_6, ["type", "text", "placeholder", i18n_0, 1, "miam-replace-item__searchbar__input", "miam-ds-text", "size-m", "weight-l", 3, "ngModel", "ngModelChange"], ["type", "text", "placeholder", i18n_2, 1, "miam-replace-item__searchbar__input", "miam-ds-text", "size-m", "weight-l", 3, "ngModel", "ngModelChange"], [1, "miam-replace-item__product-banner"], [1, "miam-replace-item__banner-product-name", "miam-ds-text", "size-s"], [1, "miam-replace-item__banner-quantity", "miam-ds-text", "weight-xxl"], [1, "miam-replace-item__product-item", 3, "ngClass"], [1, "miam-replace-item__card-upper-section"], [1, "miam-replace-item__product-image-container"], ["alt", "product to replace", 1, "miam-replace-item__product-image", 3, "src", "error"], [1, "miam-replace-item__product-info"], [1, "miam-replace-item__product-brand", "miam-ds-text", "size-xs", "weight-xl"], [1, "miam-replace-item__product-brand-text"], [1, "miam-replace-item__product-name", "miam-ds-text", "size-xs"], [1, "miam-replace-item__product-name-text"], [1, "miam-ds-badge"], [1, "miam-replace-item__product-quantity", "miam-ds-text", "size-xs"], [1, "miam-replace-item__card-lower-section"], [1, "miam-replace-item__product-price", "miam-ds-text", "size-l", "weight-xxl", 3, "price"], [1, "miam-replace-item__cta", "miam-ds-button", "small", "primary", 3, "disabled", "click"], ["class", "miam-ds-loader", 4, "ngIf", "ngIfElse"], ["defaultSelectButton", ""], ["withSupplier", ""], i18n_8, i18n_10, i18n_12, [1, "miam-replace-item__error"], [1, "miam-replace-item__error-image-container", "small-img"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/product-issue.png", "alt", "issue with product", 1, "miam-replace-item__error-image"], [1, "miam-replace-item__issue-entry-name"], [1, "miam-replace-item__issue-title", "miam-replace-item__issue-title__no-substitution"], i18n_15, [1, "miam-replace-item__error-image-container"], [1, "miam-replace-item__issue-search-string"], [1, "miam-replace-item__issue-title", "miam-replace-item__issue-title__not-found"], i18n_17, [1, "miam-replace-item__issue-description", "miam-ds-text", "weight-xxl"], i18n_19, [1, "miam-replace-item__add-product-default"], [1, "miam-replace-item__add-product-image-container"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Search.svg", "alt", "search icon", 1, "miam-replace-item__add-product-image"], [1, "miam-replace-item__add-product-title"], i18n_21];
17195
17231
  }, template: function ReplaceItemComponent_Template(rf, ctx) {
@@ -17302,7 +17338,7 @@
17302
17338
  args: ['@slide']
17303
17339
  }] });
17304
17340
  })();
17305
- var templateObject_1$z, templateObject_2$s, templateObject_3$k, templateObject_4$h, templateObject_5$f, templateObject_6$d, templateObject_7$a, templateObject_8$6, templateObject_9$4, templateObject_10$2, templateObject_11$2;
17341
+ var templateObject_1$B, templateObject_2$u, templateObject_3$l, templateObject_4$i, templateObject_5$g, templateObject_6$e, templateObject_7$b, templateObject_8$7, templateObject_9$5, templateObject_10$3, templateObject_11$3;
17306
17342
 
17307
17343
  function BasketPreviewBlockComponent_div_2_ng_container_1_div_2_Template(rf, ctx) {
17308
17344
  if (rf & 1) {
@@ -17564,6 +17600,7 @@
17564
17600
  _this.analyticsService = analyticsService;
17565
17601
  _this.productReplacementService = productReplacementService;
17566
17602
  _this.showNotice = false;
17603
+ _this.isStoreLocatorDisplayed = false;
17567
17604
  _this.recipesAlwaysExpanded = false;
17568
17605
  _this.itemsAlwaysExpanded = false;
17569
17606
  _this.displayItemsUnitaryPrice = false;
@@ -17572,6 +17609,7 @@
17572
17609
  _this.statsUpdated = new i0.EventEmitter();
17573
17610
  _this.guestCountChanged = new i0.EventEmitter();
17574
17611
  _this.loading = new rxjs.BehaviorSubject(true);
17612
+ _this.totalPriceChanged = new i0.EventEmitter();
17575
17613
  _this.corsIssues = false;
17576
17614
  _this.icon = exports.Icon;
17577
17615
  _this.isMobile = false;
@@ -17605,7 +17643,9 @@
17605
17643
  if (Object.keys(changes).includes('recipeId')) {
17606
17644
  this.loading.next(true);
17607
17645
  }
17608
- this.pageview();
17646
+ if (!this.isStoreLocatorDisplayed) {
17647
+ this.pageview();
17648
+ }
17609
17649
  this.removeFromOriginPath('/basket-preview/detail');
17610
17650
  };
17611
17651
  BasketPreviewBlockComponent.prototype.ngAfterViewInit = function () {
@@ -17633,6 +17673,8 @@
17633
17673
  var _this = this;
17634
17674
  return this.basketsService.basketPreview$.pipe(operators.skipWhile(function (preview) { return !preview || preview.length !== basket.recipeInfos.length; }), operators.switchMap(function (preview) {
17635
17675
  _this.lines = _this.recipesIds.length === 0 ? preview : preview.filter(function (line) { return _this.recipesIds.includes(line.id); });
17676
+ var totalPrice = _this.lines.reduce(function (total, line) { return total + +line.price; }, 0);
17677
+ _this.totalPriceChanged.emit(totalPrice);
17636
17678
  _this.loading.next(false);
17637
17679
  _this.cdr.detectChanges();
17638
17680
  return rxjs.of(preview);
@@ -17765,14 +17807,14 @@
17765
17807
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.basketPreviewRecipeRows = _t);
17766
17808
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.productsElements = _t);
17767
17809
  }
17768
- }, inputs: { recipeId: "recipeId", showNotice: "showNotice", recipesAlwaysExpanded: "recipesAlwaysExpanded", itemsAlwaysExpanded: "itemsAlwaysExpanded", displayItemsUnitaryPrice: "displayItemsUnitaryPrice", recipesIds: "recipesIds", legacyMode: "legacyMode" }, outputs: { statsUpdated: "statsUpdated", guestCountChanged: "guestCountChanged", loading: "loading" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 7, vars: 2, consts: function () {
17810
+ }, inputs: { recipeId: "recipeId", showNotice: "showNotice", isStoreLocatorDisplayed: "isStoreLocatorDisplayed", recipesAlwaysExpanded: "recipesAlwaysExpanded", itemsAlwaysExpanded: "itemsAlwaysExpanded", displayItemsUnitaryPrice: "displayItemsUnitaryPrice", recipesIds: "recipesIds", legacyMode: "legacyMode" }, outputs: { statsUpdated: "statsUpdated", guestCountChanged: "guestCountChanged", loading: "loading", totalPriceChanged: "totalPriceChanged" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 7, vars: 2, consts: function () {
17769
17811
  var i18n_0;
17770
17812
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
17771
17813
  var MSG_EXTERNAL_8629591622298910251$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS___1 = goog.getMsg("Recettes, Produits");
17772
17814
  i18n_0 = MSG_EXTERNAL_8629591622298910251$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS___1;
17773
17815
  }
17774
17816
  else {
17775
- i18n_0 = $localize(templateObject_1$y || (templateObject_1$y = __makeTemplateObject([":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"], [":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"])));
17817
+ i18n_0 = $localize(templateObject_1$A || (templateObject_1$A = __makeTemplateObject([":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"], [":\u241Fe5550a57e3cc37b6956342b99fb7e0ab9534db7a\u241F8629591622298910251:Recettes, Produits"])));
17776
17818
  }
17777
17819
  var i18n_2;
17778
17820
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17780,7 +17822,7 @@
17780
17822
  i18n_2 = MSG_EXTERNAL_9113580200567550319$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS____3;
17781
17823
  }
17782
17824
  else {
17783
- i18n_2 = $localize(templateObject_2$r || (templateObject_2$r = __makeTemplateObject([":\u241Fb925ed1ff7370deb1c9d7c752727b9b3b9d032d2\u241F9113580200567550319:repas dans votre panier"], [":\u241Fb925ed1ff7370deb1c9d7c752727b9b3b9d032d2\u241F9113580200567550319:repas dans votre panier"])));
17825
+ i18n_2 = $localize(templateObject_2$t || (templateObject_2$t = __makeTemplateObject([":\u241Fb925ed1ff7370deb1c9d7c752727b9b3b9d032d2\u241F9113580200567550319:repas dans votre panier"], [":\u241Fb925ed1ff7370deb1c9d7c752727b9b3b9d032d2\u241F9113580200567550319:repas dans votre panier"])));
17784
17826
  }
17785
17827
  var i18n_5;
17786
17828
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17788,7 +17830,7 @@
17788
17830
  i18n_5 = MSG_EXTERNAL_288551008191807939$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS_____6;
17789
17831
  }
17790
17832
  else {
17791
- i18n_5 = $localize(templateObject_3$j || (templateObject_3$j = __makeTemplateObject([":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."], [":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."])));
17833
+ i18n_5 = $localize(templateObject_3$k || (templateObject_3$k = __makeTemplateObject([":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."], [":\u241F93545d51c80c9c31f09ed7ebf3bd9f3a7a8faac4\u241F288551008191807939:Vous n'avez pas encore s\u00E9lectionn\u00E9 de repas."])));
17792
17834
  }
17793
17835
  var i18n_7;
17794
17836
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17796,7 +17838,7 @@
17796
17838
  i18n_7 = MSG_EXTERNAL_4236077440019410708$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS______8;
17797
17839
  }
17798
17840
  else {
17799
- i18n_7 = $localize(templateObject_4$g || (templateObject_4$g = __makeTemplateObject([":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."], [":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."])));
17841
+ i18n_7 = $localize(templateObject_4$h || (templateObject_4$h = __makeTemplateObject([":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."], [":\u241Ff2dbdf98d72d476636f801e65966528b783d1688\u241F4236077440019410708:Naviguez vers la page d'une recette, puis cliquez sur \"Commander les ingr\u00E9dients\"."])));
17800
17842
  }
17801
17843
  var i18n_9;
17802
17844
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17804,7 +17846,7 @@
17804
17846
  i18n_9 = MSG_EXTERNAL_5143648071312042408$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS_____10;
17805
17847
  }
17806
17848
  else {
17807
- i18n_9 = $localize(templateObject_5$e || (templateObject_5$e = __makeTemplateObject([":\u241F523c6748d32ce2079498ff4de01387f2d6515c44\u241F5143648071312042408:Chargement du repas..."], [":\u241F523c6748d32ce2079498ff4de01387f2d6515c44\u241F5143648071312042408:Chargement du repas..."])));
17849
+ i18n_9 = $localize(templateObject_5$f || (templateObject_5$f = __makeTemplateObject([":\u241F523c6748d32ce2079498ff4de01387f2d6515c44\u241F5143648071312042408:Chargement du repas..."], [":\u241F523c6748d32ce2079498ff4de01387f2d6515c44\u241F5143648071312042408:Chargement du repas..."])));
17808
17850
  }
17809
17851
  var i18n_11;
17810
17852
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17812,7 +17854,7 @@
17812
17854
  i18n_11 = MSG_EXTERNAL_6011677334812397725$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS_____12;
17813
17855
  }
17814
17856
  else {
17815
- i18n_11 = $localize(templateObject_6$c || (templateObject_6$c = __makeTemplateObject([":\u241F424117ab4a286734aad0d346b2d892aebddb5927\u241F6011677334812397725:Chargement des repas..."], [":\u241F424117ab4a286734aad0d346b2d892aebddb5927\u241F6011677334812397725:Chargement des repas..."])));
17857
+ i18n_11 = $localize(templateObject_6$d || (templateObject_6$d = __makeTemplateObject([":\u241F424117ab4a286734aad0d346b2d892aebddb5927\u241F6011677334812397725:Chargement des repas..."], [":\u241F424117ab4a286734aad0d346b2d892aebddb5927\u241F6011677334812397725:Chargement des repas..."])));
17816
17858
  }
17817
17859
  var i18n_13;
17818
17860
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17820,7 +17862,7 @@
17820
17862
  i18n_13 = MSG_EXTERNAL_4182983336835891106$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS__14;
17821
17863
  }
17822
17864
  else {
17823
- i18n_13 = $localize(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject([":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."], [":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."])));
17865
+ i18n_13 = $localize(templateObject_7$a || (templateObject_7$a = __makeTemplateObject([":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."], [":\u241Fdf6602bf298f29976aa1fc43e12e25e9a677a51d\u241F4182983336835891106:D\u00E9sol\u00E9, ce magasin ne permet pas de s\u00E9lectionner des repas."])));
17824
17866
  }
17825
17867
  var i18n_15;
17826
17868
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -17828,7 +17870,7 @@
17828
17870
  i18n_15 = MSG_EXTERNAL_5055873666849956816$$LIB__WEB_COMPONENTS_BASKET_PREVIEW_BASKET_PREVIEW_BLOCK_BASKET_PREVIEW_BLOCK_COMPONENT_TS__16;
17829
17871
  }
17830
17872
  else {
17831
- i18n_15 = $localize(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject([":\u241Fbbc408c854684447d02f0dd5b027598d8d31ab18\u241F5055873666849956816:Veuillez s\u00E9lectionner un autre magasin"], [":\u241Fbbc408c854684447d02f0dd5b027598d8d31ab18\u241F5055873666849956816:Veuillez s\u00E9lectionner un autre magasin"])));
17873
+ i18n_15 = $localize(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject([":\u241Fbbc408c854684447d02f0dd5b027598d8d31ab18\u241F5055873666849956816:Veuillez s\u00E9lectionner un autre magasin"], [":\u241Fbbc408c854684447d02f0dd5b027598d8d31ab18\u241F5055873666849956816:Veuillez s\u00E9lectionner un autre magasin"])));
17832
17874
  }
17833
17875
  return [[1, "miam-basket-preview-block__anchor"], ["previewBlockTop", ""], ["class", "miam-basket-preview-block", 4, "ngIf", "ngIfElse"], ["cors", ""], ["noPos", ""], [1, "miam-basket-preview-block"], [4, "ngIf", "ngIfElse"], [1, "miam-basket-preview-block__header"], ["class", "miam-basket-preview-block__title miam-ds-text", 3, "ngClass", 4, "ngIf"], ["tabs", i18n_0, 3, "selectedTabIndex", "selectedTabIndexChange", 4, "ngIf"], ["class", "miam-basket-preview-block__lines", 4, "ngIf"], ["class", "miam-basket-preview-block__products", 4, "ngIf"], ["class", "miam-basket-preview-block__lines__loader", 4, "ngIf"], [1, "miam-basket-preview-block__title", "miam-ds-text", 3, "ngClass"], [1, "number"], i18n_2, ["tabs", i18n_0, 3, "selectedTabIndex", "selectedTabIndexChange"], [1, "miam-basket-preview-block__lines"], [4, "ngIf"], [3, "line", "blockStates", "recipesAlwaysExpanded", "itemsAlwaysExpanded", "displayItemsUnitaryPrice", "legacyMode", "originTrace", "ngStyle", "removed", "countChanged", "replaceItem", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "originTrace", "recipe", "ingredient", "basketEntry", "loadOnSelect", "selected", 4, "ngIf"], ["class", "miam-basket-preview-block__lines__not-found", 4, "ngIf"], [3, "line", "blockStates", "recipesAlwaysExpanded", "itemsAlwaysExpanded", "displayItemsUnitaryPrice", "legacyMode", "originTrace", "ngStyle", "removed", "countChanged", "replaceItem"], [3, "originTrace", "recipe", "ingredient", "basketEntry", "loadOnSelect", "selected"], [1, "miam-basket-preview-block__lines__not-found"], i18n_5, i18n_7, [1, "miam-basket-preview-block__products"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "basketEntry", "replaceButtonClicked"], ["class", "miam-basket-preview-block__products-separator", 4, "ngIf"], [1, "miam-basket-preview-block__products-separator"], [1, "miam-basket-preview-block__lines__loader"], i18n_9, i18n_11, [1, "miam-basket-preview-block__noPos"], i18n_13, i18n_15];
17834
17876
  }, template: function BasketPreviewBlockComponent_Template(rf, ctx) {
@@ -17858,6 +17900,8 @@
17858
17900
  type: i0.Input
17859
17901
  }], showNotice: [{
17860
17902
  type: i0.Input
17903
+ }], isStoreLocatorDisplayed: [{
17904
+ type: i0.Input
17861
17905
  }], recipesAlwaysExpanded: [{
17862
17906
  type: i0.Input
17863
17907
  }], itemsAlwaysExpanded: [{
@@ -17874,6 +17918,8 @@
17874
17918
  type: i0.Output
17875
17919
  }], loading: [{
17876
17920
  type: i0.Output
17921
+ }], totalPriceChanged: [{
17922
+ type: i0.Output
17877
17923
  }], lineComponents: [{
17878
17924
  type: i0.ViewChildren,
17879
17925
  args: [BasketPreviewLineComponent]
@@ -17885,7 +17931,7 @@
17885
17931
  args: [BasketPreviewProductComponent]
17886
17932
  }] });
17887
17933
  })();
17888
- var templateObject_1$y, templateObject_2$r, templateObject_3$j, templateObject_4$g, templateObject_5$e, templateObject_6$c, templateObject_7$9, templateObject_8$5;
17934
+ var templateObject_1$A, templateObject_2$t, templateObject_3$k, templateObject_4$h, templateObject_5$f, templateObject_6$d, templateObject_7$a, templateObject_8$6;
17889
17935
 
17890
17936
  var BasketPreviewModule = /** @class */ (function () {
17891
17937
  // Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
@@ -18030,7 +18076,7 @@
18030
18076
  i18n_0 = MSG_EXTERNAL_7845121959018697970$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_1;
18031
18077
  }
18032
18078
  else {
18033
- i18n_0 = $localize(templateObject_1$x || (templateObject_1$x = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
18079
+ i18n_0 = $localize(templateObject_1$z || (templateObject_1$z = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
18034
18080
  }
18035
18081
  var i18n_2;
18036
18082
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18038,7 +18084,7 @@
18038
18084
  i18n_2 = MSG_EXTERNAL_8998179362936748717$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_3;
18039
18085
  }
18040
18086
  else {
18041
- i18n_2 = $localize(templateObject_2$q || (templateObject_2$q = __makeTemplateObject([":\u241F7e6c975ebea8b5f8b120905ca7acf9f8edf59d8e\u241F8998179362936748717:OK"], [":\u241F7e6c975ebea8b5f8b120905ca7acf9f8edf59d8e\u241F8998179362936748717:OK"])));
18087
+ i18n_2 = $localize(templateObject_2$s || (templateObject_2$s = __makeTemplateObject([":\u241F7e6c975ebea8b5f8b120905ca7acf9f8edf59d8e\u241F8998179362936748717:OK"], [":\u241F7e6c975ebea8b5f8b120905ca7acf9f8edf59d8e\u241F8998179362936748717:OK"])));
18042
18088
  }
18043
18089
  var i18n_4;
18044
18090
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18046,7 +18092,7 @@
18046
18092
  i18n_4 = MSG_EXTERNAL_541716919875697840$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_5;
18047
18093
  }
18048
18094
  else {
18049
- i18n_4 = $localize(templateObject_3$i || (templateObject_3$i = __makeTemplateObject([":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"], [":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"])));
18095
+ i18n_4 = $localize(templateObject_3$j || (templateObject_3$j = __makeTemplateObject([":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"], [":\u241F69d78ec60dc2f2fa4583209c13f8c3f59a8626d9\u241F541716919875697840:Nous transf\u00E9rons votre panier vers"])));
18050
18096
  }
18051
18097
  var i18n_6;
18052
18098
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18054,7 +18100,7 @@
18054
18100
  i18n_6 = MSG_EXTERNAL_7845121959018697970$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_7;
18055
18101
  }
18056
18102
  else {
18057
- i18n_6 = $localize(templateObject_4$f || (templateObject_4$f = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
18103
+ i18n_6 = $localize(templateObject_4$g || (templateObject_4$g = __makeTemplateObject([":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"], [":\u241F4abb753a4e37ab5b459185f2e89e9e81c219a253\u241F7845121959018697970:Transfert du panier"])));
18058
18104
  }
18059
18105
  var i18n_8;
18060
18106
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18062,7 +18108,7 @@
18062
18108
  i18n_8 = MSG_EXTERNAL_4207918560099388002$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_9;
18063
18109
  }
18064
18110
  else {
18065
- i18n_8 = $localize(templateObject_5$d || (templateObject_5$d = __makeTemplateObject([":\u241F237e4de631cdfe28439048304429a6549e0f10b0\u241F4207918560099388002:Continuer"], [":\u241F237e4de631cdfe28439048304429a6549e0f10b0\u241F4207918560099388002:Continuer"])));
18111
+ i18n_8 = $localize(templateObject_5$e || (templateObject_5$e = __makeTemplateObject([":\u241F237e4de631cdfe28439048304429a6549e0f10b0\u241F4207918560099388002:Continuer"], [":\u241F237e4de631cdfe28439048304429a6549e0f10b0\u241F4207918560099388002:Continuer"])));
18066
18112
  }
18067
18113
  var i18n_10;
18068
18114
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18070,7 +18116,7 @@
18070
18116
  i18n_10 = MSG_EXTERNAL_2301331841798252546$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_11;
18071
18117
  }
18072
18118
  else {
18073
- i18n_10 = $localize(templateObject_6$b || (templateObject_6$b = __makeTemplateObject([":\u241F3c82243384cd7c24acaf9799b0b8e684e6e6f3ef\u241F2301331841798252546:Abandonner"], [":\u241F3c82243384cd7c24acaf9799b0b8e684e6e6f3ef\u241F2301331841798252546:Abandonner"])));
18119
+ i18n_10 = $localize(templateObject_6$c || (templateObject_6$c = __makeTemplateObject([":\u241F3c82243384cd7c24acaf9799b0b8e684e6e6f3ef\u241F2301331841798252546:Abandonner"], [":\u241F3c82243384cd7c24acaf9799b0b8e684e6e6f3ef\u241F2301331841798252546:Abandonner"])));
18074
18120
  }
18075
18121
  var i18n_12;
18076
18122
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18078,7 +18124,7 @@
18078
18124
  i18n_12 = MSG_EXTERNAL_4869108346013323377$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_13;
18079
18125
  }
18080
18126
  else {
18081
- i18n_12 = $localize(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject([":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"], [":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"])));
18127
+ i18n_12 = $localize(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject([":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"], [":\u241F3fabb86327f68f35a0dd322581980d71eab9664f\u241F4869108346013323377:Votre panier est toujours en cours de transfert vers"])));
18082
18128
  }
18083
18129
  var i18n_14;
18084
18130
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18086,7 +18132,7 @@
18086
18132
  i18n_14 = MSG_EXTERNAL_2348141528865624185$$LIB__WEB_COMPONENTS_BASKET_TRANSFER_MODAL_BASKET_TRANSFER_MODAL_COMPONENT_TS_15;
18087
18133
  }
18088
18134
  else {
18089
- i18n_14 = $localize(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject([":\u241F265ba421f32deaf9e30505e150140a6bbca3d88f\u241F2348141528865624185:Voulez-vous continuer ou abandonner le transfert ?"], [":\u241F265ba421f32deaf9e30505e150140a6bbca3d88f\u241F2348141528865624185:Voulez-vous continuer ou abandonner le transfert ?"])));
18135
+ i18n_14 = $localize(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject([":\u241F265ba421f32deaf9e30505e150140a6bbca3d88f\u241F2348141528865624185:Voulez-vous continuer ou abandonner le transfert ?"], [":\u241F265ba421f32deaf9e30505e150140a6bbca3d88f\u241F2348141528865624185:Voulez-vous continuer ou abandonner le transfert ?"])));
18090
18136
  }
18091
18137
  return [["title", i18n_0, "confirmButtonText", i18n_2, 3, "display", "noHeaderMode", "confirm", "close"], [1, "basket-transfer-modal__content"], [1, "basket-transfer-modal__content__inline"], i18n_4, ["title", i18n_6, "confirmButtonText", i18n_8, "cancelButtonText", i18n_10, 3, "display", "noHeaderMode", "cancel", "confirm", "close"], i18n_12, i18n_14];
18092
18138
  }, template: function BasketTransferModalComponent_Template(rf, ctx) {
@@ -18143,7 +18189,7 @@
18143
18189
  }]
18144
18190
  }], function () { return [{ type: BasketTransferService }, { type: BasketsService }, { type: PointOfSalesService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
18145
18191
  })();
18146
- var templateObject_1$x, templateObject_2$q, templateObject_3$i, templateObject_4$f, templateObject_5$d, templateObject_6$b, templateObject_7$8, templateObject_8$4;
18192
+ var templateObject_1$z, templateObject_2$s, templateObject_3$j, templateObject_4$g, templateObject_5$e, templateObject_6$c, templateObject_7$9, templateObject_8$5;
18147
18193
 
18148
18194
  function ListScanBasketPreviewComponent_ng_container_2_ng_miam_basket_preview_product_6_Template(rf, ctx) {
18149
18195
  if (rf & 1) {
@@ -18247,7 +18293,7 @@
18247
18293
  i18n_0 = MSG_EXTERNAL_4239310127006405587$$LIB__WEB_COMPONENTS_LIST_SCAN_BASKET_PREVIEW_BASKET_PREVIEW_COMPONENT_TS___1;
18248
18294
  }
18249
18295
  else {
18250
- i18n_0 = $localize(templateObject_1$w || (templateObject_1$w = __makeTemplateObject([":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."], [":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."])));
18296
+ i18n_0 = $localize(templateObject_1$y || (templateObject_1$y = __makeTemplateObject([":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."], [":\u241F0a58fc3a6ac920982fd6c8f172549f6166609cda\u241F4239310127006405587:Le produit est indisponible."])));
18251
18297
  }
18252
18298
  var i18n_2;
18253
18299
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18255,7 +18301,7 @@
18255
18301
  i18n_2 = MSG_EXTERNAL_4705093661060921903$$LIB__WEB_COMPONENTS_LIST_SCAN_BASKET_PREVIEW_BASKET_PREVIEW_COMPONENT_TS___3;
18256
18302
  }
18257
18303
  else {
18258
- i18n_2 = $localize(templateObject_2$p || (templateObject_2$p = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
18304
+ i18n_2 = $localize(templateObject_2$r || (templateObject_2$r = __makeTemplateObject([":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"], [":\u241F8e4fa20cb8b77c41c980ba077b80bc8ea128239a\u241F4705093661060921903:Remplacer"])));
18259
18305
  }
18260
18306
  return [[1, "miam-list-scan__basket-preview"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "miam-list-scan__basket-preview__product"], [1, "miam-list-scan__basket-preview__product__name"], [1, "miam-ds-text", "size-s", "weight-xl"], [3, "basketEntry", "displayReplace", "replaceButtonClicked", 4, "ngIf", "ngIfElse"], ["noItem", ""], [3, "basketEntry", "displayReplace", "replaceButtonClicked"], [1, "miam-list-scan__basket-preview__product__no-item"], [1, "miam-ds-text", "size-s", "weight-m"], i18n_0, [1, "miam-basket-preview-product__replace-button", "miam-ds-button", "ghost", 3, "click"], i18n_2];
18261
18307
  }, template: function ListScanBasketPreviewComponent_Template(rf, ctx) {
@@ -18286,7 +18332,7 @@
18286
18332
  type: i0.Output
18287
18333
  }] });
18288
18334
  })();
18289
- var templateObject_1$w, templateObject_2$p;
18335
+ var templateObject_1$y, templateObject_2$r;
18290
18336
 
18291
18337
  function ListScanFilesInputsComponent_div_1_ng_container_4_Template(rf, ctx) {
18292
18338
  if (rf & 1) {
@@ -18391,7 +18437,7 @@
18391
18437
  i18n_0 = MSG_EXTERNAL_3102383292942643907$$LIB__WEB_COMPONENTS_LIST_SCAN_FILES_INPUTS_FILES_INPUTS_COMPONENT_TS___1;
18392
18438
  }
18393
18439
  else {
18394
- i18n_0 = $localize(templateObject_1$v || (templateObject_1$v = __makeTemplateObject([":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"], [":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"])));
18440
+ i18n_0 = $localize(templateObject_1$x || (templateObject_1$x = __makeTemplateObject([":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"], [":\u241F0d34d321e3c6aa810d833ba95ed446bcdd84903a\u241F3102383292942643907:Scanner ma liste"])));
18395
18441
  }
18396
18442
  var i18n_3;
18397
18443
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18399,7 +18445,7 @@
18399
18445
  i18n_3 = MSG_EXTERNAL_8936498507024821269$$LIB__WEB_COMPONENTS_LIST_SCAN_FILES_INPUTS_FILES_INPUTS_COMPONENT_TS___4;
18400
18446
  }
18401
18447
  else {
18402
- i18n_3 = $localize(templateObject_2$o || (templateObject_2$o = __makeTemplateObject([":\u241Ff609f2fd28615425afab0e9ac43aca8d99c16d47\u241F8936498507024821269:Importer ma liste"], [":\u241Ff609f2fd28615425afab0e9ac43aca8d99c16d47\u241F8936498507024821269:Importer ma liste"])));
18448
+ i18n_3 = $localize(templateObject_2$q || (templateObject_2$q = __makeTemplateObject([":\u241Ff609f2fd28615425afab0e9ac43aca8d99c16d47\u241F8936498507024821269:Importer ma liste"], [":\u241Ff609f2fd28615425afab0e9ac43aca8d99c16d47\u241F8936498507024821269:Importer ma liste"])));
18403
18449
  }
18404
18450
  return [[1, "miam-files-inputs"], [4, "ngIf", "ngIfElse"], ["desktop", ""], ["loader", ""], ["type", "file", "name", "photo", "id", "photo", "accept", "image/*", "capture", "environment", 1, "miam-files-inputs__inputfile", 3, "disabled", "change"], ["for", "photo"], [1, "miam-ds-button", "primary", 3, "ngClass"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ListScanner.svg", "alt", "take a photo"], [1, "miam-ds-text", "size-m", "weight-xl"], i18n_0, ["type", "file", "name", "file", "id", "file", "accept", "image/*,application/pdf", 1, "miam-files-inputs__inputfile", 3, "disabled", "change"], ["for", "file"], [1, "miam-ds-button", "secondary", 3, "ngClass"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Upload.svg", "alt", "upload"], i18n_3, [1, "miam-ds-loader"]];
18405
18451
  }, template: function ListScanFilesInputsComponent_Template(rf, ctx) {
@@ -18430,7 +18476,7 @@
18430
18476
  type: i0.Input
18431
18477
  }] });
18432
18478
  })();
18433
- var templateObject_1$v, templateObject_2$o;
18479
+ var templateObject_1$x, templateObject_2$q;
18434
18480
 
18435
18481
  var ListScanComponent = /** @class */ (function (_super) {
18436
18482
  __extends(ListScanComponent, _super);
@@ -18517,7 +18563,7 @@
18517
18563
  i18n_0 = MSG_EXTERNAL_5810732921987905942$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_1;
18518
18564
  }
18519
18565
  else {
18520
- i18n_0 = $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject([":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"], [":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"])));
18566
+ i18n_0 = $localize(templateObject_1$w || (templateObject_1$w = __makeTemplateObject([":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"], [":\u241F6e111f99537e44fa87a07a5d0c1cf5c4ed092aa6\u241F5810732921987905942:Nous avons trouv\u00E9 pour vous"])));
18521
18567
  }
18522
18568
  var i18n_2;
18523
18569
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18525,7 +18571,7 @@
18525
18571
  i18n_2 = MSG_EXTERNAL_5858088760260847694$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_3;
18526
18572
  }
18527
18573
  else {
18528
- i18n_2 = $localize(templateObject_2$n || (templateObject_2$n = __makeTemplateObject([":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"], [":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"])));
18574
+ i18n_2 = $localize(templateObject_2$p || (templateObject_2$p = __makeTemplateObject([":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"], [":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"])));
18529
18575
  }
18530
18576
  var i18n_4;
18531
18577
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18533,7 +18579,7 @@
18533
18579
  i18n_4 = MSG_EXTERNAL_6492937435856655320$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_5;
18534
18580
  }
18535
18581
  else {
18536
- i18n_4 = $localize(templateObject_3$h || (templateObject_3$h = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
18582
+ i18n_4 = $localize(templateObject_3$i || (templateObject_3$i = __makeTemplateObject([":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"], [":\u241Fcf955ad994f631ae1ff32197521404b7f0223157\u241F6492937435856655320:Ajouter au panier"])));
18537
18583
  }
18538
18584
  var i18n_6;
18539
18585
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18541,7 +18587,7 @@
18541
18587
  i18n_6 = MSG_EXTERNAL_5858088760260847694$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_7;
18542
18588
  }
18543
18589
  else {
18544
- i18n_6 = $localize(templateObject_4$e || (templateObject_4$e = __makeTemplateObject([":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"], [":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"])));
18590
+ i18n_6 = $localize(templateObject_4$f || (templateObject_4$f = __makeTemplateObject([":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"], [":\u241F2702a2d27ee6aab74ad04132b4acf466f7589b2f\u241F5858088760260847694:Abandonner ma liste"])));
18545
18591
  }
18546
18592
  var i18n_8;
18547
18593
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18549,7 +18595,7 @@
18549
18595
  i18n_8 = MSG_EXTERNAL_1711750570766225138$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_9;
18550
18596
  }
18551
18597
  else {
18552
- i18n_8 = $localize(templateObject_5$c || (templateObject_5$c = __makeTemplateObject([":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"], [":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"])));
18598
+ i18n_8 = $localize(templateObject_5$d || (templateObject_5$d = __makeTemplateObject([":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"], [":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"])));
18553
18599
  }
18554
18600
  var i18n_10;
18555
18601
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18557,7 +18603,7 @@
18557
18603
  i18n_10 = MSG_EXTERNAL_2301331841798252546$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_11;
18558
18604
  }
18559
18605
  else {
18560
- i18n_10 = $localize(templateObject_6$a || (templateObject_6$a = __makeTemplateObject([":\u241F3c82243384cd7c24acaf9799b0b8e684e6e6f3ef\u241F2301331841798252546:Abandonner"], [":\u241F3c82243384cd7c24acaf9799b0b8e684e6e6f3ef\u241F2301331841798252546:Abandonner"])));
18606
+ i18n_10 = $localize(templateObject_6$b || (templateObject_6$b = __makeTemplateObject([":\u241F3c82243384cd7c24acaf9799b0b8e684e6e6f3ef\u241F2301331841798252546:Abandonner"], [":\u241F3c82243384cd7c24acaf9799b0b8e684e6e6f3ef\u241F2301331841798252546:Abandonner"])));
18561
18607
  }
18562
18608
  var i18n_12;
18563
18609
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18565,7 +18611,7 @@
18565
18611
  i18n_12 = MSG_EXTERNAL_8748233983301350015$$LIB__WEB_COMPONENTS_LIST_SCAN_LIST_SCAN_COMPONENT_TS_13;
18566
18612
  }
18567
18613
  else {
18568
- i18n_12 = $localize(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject([":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"], [":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"])));
18614
+ i18n_12 = $localize(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject([":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"], [":\u241Fa9903fc890d9d8680ad01355e929d4ba7e54ef15\u241F8748233983301350015:Souhaitez-vous vraiment abandonner votre liste ?"])));
18569
18615
  }
18570
18616
  return [[1, "miam-list-scan"], [3, "isSchoolList"], ["title", i18n_0, "cancelButtonText", i18n_2, "confirmButtonText", i18n_4, "modalStyle", "right", 1, "miam-list-scan__result", 3, "noHeaderMode", "display", "cancel", "close", "confirm"], [1, "miam-list-scan__content", 3, "closed", "cancelled"], ["title", i18n_6, "cancelButtonText", i18n_8, "confirmButtonText", i18n_10, 1, "miam-list-scan__confirmation", 3, "display", "noHeaderMode", "confirmButtonDisabled", "confirmButtonIsLoading", "cancelButtonDisabled", "displayChange", "close", "cancel", "confirm"], [1, "miam-ds-text", "size-m", "weight-m"], i18n_12];
18571
18617
  }, template: function ListScanComponent_Template(rf, ctx) {
@@ -18613,7 +18659,7 @@
18613
18659
  type: i0.Output
18614
18660
  }] });
18615
18661
  })();
18616
- var templateObject_1$u, templateObject_2$n, templateObject_3$h, templateObject_4$e, templateObject_5$c, templateObject_6$a, templateObject_7$7;
18662
+ var templateObject_1$w, templateObject_2$p, templateObject_3$i, templateObject_4$f, templateObject_5$d, templateObject_6$b, templateObject_7$8;
18617
18663
 
18618
18664
  var ListScanModule = /** @class */ (function () {
18619
18665
  // Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
@@ -18935,7 +18981,7 @@
18935
18981
  i18n_0 = MSG_EXTERNAL_5479681205645032650$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_1;
18936
18982
  }
18937
18983
  else {
18938
- i18n_0 = $localize(templateObject_1$t || (templateObject_1$t = __makeTemplateObject([":\u241Fd3a78c7021318707f0e59efb16f7489c0f68bf70\u241F5479681205645032650:Je d\u00E9finis mes crit\u00E8res"], [":\u241Fd3a78c7021318707f0e59efb16f7489c0f68bf70\u241F5479681205645032650:Je d\u00E9finis mes crit\u00E8res"])));
18984
+ i18n_0 = $localize(templateObject_1$v || (templateObject_1$v = __makeTemplateObject([":\u241Fd3a78c7021318707f0e59efb16f7489c0f68bf70\u241F5479681205645032650:Je d\u00E9finis mes crit\u00E8res"], [":\u241Fd3a78c7021318707f0e59efb16f7489c0f68bf70\u241F5479681205645032650:Je d\u00E9finis mes crit\u00E8res"])));
18939
18985
  }
18940
18986
  var i18n_2;
18941
18987
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18943,7 +18989,7 @@
18943
18989
  i18n_2 = MSG_EXTERNAL_9195396517901234430$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_3;
18944
18990
  }
18945
18991
  else {
18946
- i18n_2 = $localize(templateObject_2$m || (templateObject_2$m = __makeTemplateObject([":\u241Fc8009b564461da8ddf805b0096612c69af86e34a\u241F9195396517901234430:Budget total"], [":\u241Fc8009b564461da8ddf805b0096612c69af86e34a\u241F9195396517901234430:Budget total"])));
18992
+ i18n_2 = $localize(templateObject_2$o || (templateObject_2$o = __makeTemplateObject([":\u241Fc8009b564461da8ddf805b0096612c69af86e34a\u241F9195396517901234430:Budget total"], [":\u241Fc8009b564461da8ddf805b0096612c69af86e34a\u241F9195396517901234430:Budget total"])));
18947
18993
  }
18948
18994
  var i18n_4;
18949
18995
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18951,7 +18997,7 @@
18951
18997
  i18n_4 = MSG_EXTERNAL_7945563559620286178$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_5;
18952
18998
  }
18953
18999
  else {
18954
- i18n_4 = $localize(templateObject_3$g || (templateObject_3$g = __makeTemplateObject([":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"], [":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"])));
19000
+ i18n_4 = $localize(templateObject_3$h || (templateObject_3$h = __makeTemplateObject([":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"], [":\u241Fe824dd6dbf067af3319961f1e9f3a05e00986fcd\u241F7945563559620286178:EUR"])));
18955
19001
  }
18956
19002
  var i18n_6;
18957
19003
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18959,7 +19005,7 @@
18959
19005
  i18n_6 = MSG_EXTERNAL_980939234227251011$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_7;
18960
19006
  }
18961
19007
  else {
18962
- i18n_6 = $localize(templateObject_4$d || (templateObject_4$d = __makeTemplateObject([":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"], [":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"])));
19008
+ i18n_6 = $localize(templateObject_4$e || (templateObject_4$e = __makeTemplateObject([":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"], [":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"])));
18963
19009
  }
18964
19010
  var i18n_8;
18965
19011
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18967,7 +19013,7 @@
18967
19013
  i18n_8 = MSG_EXTERNAL_801119367320602480$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_9;
18968
19014
  }
18969
19015
  else {
18970
- i18n_8 = $localize(templateObject_5$b || (templateObject_5$b = __makeTemplateObject([":\u241Fa700a10e15f1a9ea25a0a8c083a0f76b6e50a560\u241F801119367320602480:Nombre de repas"], [":\u241Fa700a10e15f1a9ea25a0a8c083a0f76b6e50a560\u241F801119367320602480:Nombre de repas"])));
19016
+ i18n_8 = $localize(templateObject_5$c || (templateObject_5$c = __makeTemplateObject([":\u241Fa700a10e15f1a9ea25a0a8c083a0f76b6e50a560\u241F801119367320602480:Nombre de repas"], [":\u241Fa700a10e15f1a9ea25a0a8c083a0f76b6e50a560\u241F801119367320602480:Nombre de repas"])));
18971
19017
  }
18972
19018
  var i18n_10;
18973
19019
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18975,7 +19021,7 @@
18975
19021
  i18n_10 = MSG_EXTERNAL_6105149763216124630$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_11;
18976
19022
  }
18977
19023
  else {
18978
- i18n_10 = $localize(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject([":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"], [":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"])));
19024
+ i18n_10 = $localize(templateObject_6$a || (templateObject_6$a = __makeTemplateObject([":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"], [":\u241F54db9980698d46d77cbe00eb3a20ac4d5407c95d\u241F6105149763216124630:Planifier"])));
18979
19025
  }
18980
19026
  var i18n_12;
18981
19027
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18983,7 +19029,7 @@
18983
19029
  i18n_12 = MSG_EXTERNAL_2058601653972871945$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS_13;
18984
19030
  }
18985
19031
  else {
18986
- i18n_12 = $localize(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject([":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"], [":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"])));
19032
+ i18n_12 = $localize(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject([":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"], [":\u241F2a5bb5293ba76232497595ad82a270597096ae4c\u241F2058601653972871945:Changer les repas"])));
18987
19033
  }
18988
19034
  var i18n_15;
18989
19035
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18991,7 +19037,7 @@
18991
19037
  i18n_15 = MSG_EXTERNAL_7595911884418843153$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS__16;
18992
19038
  }
18993
19039
  else {
18994
- i18n_15 = $localize(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject([":\u241Fdd2163aebf2872c37a21e0b46046b72c67b05084\u241F7595911884418843153:S\u00E9lectionner"], [":\u241Fdd2163aebf2872c37a21e0b46046b72c67b05084\u241F7595911884418843153:S\u00E9lectionner"])));
19040
+ i18n_15 = $localize(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject([":\u241Fdd2163aebf2872c37a21e0b46046b72c67b05084\u241F7595911884418843153:S\u00E9lectionner"], [":\u241Fdd2163aebf2872c37a21e0b46046b72c67b05084\u241F7595911884418843153:S\u00E9lectionner"])));
18995
19041
  }
18996
19042
  var i18n_17;
18997
19043
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -18999,7 +19045,7 @@
18999
19045
  i18n_17 = MSG_EXTERNAL_126587895083911997$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS__18;
19000
19046
  }
19001
19047
  else {
19002
- i18n_17 = $localize(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject([":\u241Fab855a6a5f5cc9e7a5cfb0cfc6e2fcc2242c8bff\u241F126587895083911997:Aucune id\u00E9e repas ne pourrait \u00EAtre planifi\u00E9e pour le budget demand\u00E9."], [":\u241Fab855a6a5f5cc9e7a5cfb0cfc6e2fcc2242c8bff\u241F126587895083911997:Aucune id\u00E9e repas ne pourrait \u00EAtre planifi\u00E9e pour le budget demand\u00E9."])));
19048
+ i18n_17 = $localize(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject([":\u241Fab855a6a5f5cc9e7a5cfb0cfc6e2fcc2242c8bff\u241F126587895083911997:Aucune id\u00E9e repas ne pourrait \u00EAtre planifi\u00E9e pour le budget demand\u00E9."], [":\u241Fab855a6a5f5cc9e7a5cfb0cfc6e2fcc2242c8bff\u241F126587895083911997:Aucune id\u00E9e repas ne pourrait \u00EAtre planifi\u00E9e pour le budget demand\u00E9."])));
19003
19049
  }
19004
19050
  var i18n_19;
19005
19051
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19007,7 +19053,7 @@
19007
19053
  i18n_19 = MSG_EXTERNAL_6893194938999563957$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS__20;
19008
19054
  }
19009
19055
  else {
19010
- i18n_19 = $localize(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject([":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "], [":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "])));
19056
+ i18n_19 = $localize(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject([":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "], [":\u241F50b3396becd6af8e717b75056a468fc7fe7efabc\u241F6893194938999563957:Nos id\u00E9es repas anti-inflation (prix par personne) "])));
19011
19057
  }
19012
19058
  var i18n_21;
19013
19059
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19015,7 +19061,7 @@
19015
19061
  i18n_21 = MSG_EXTERNAL_4814452544539254182$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS__22;
19016
19062
  }
19017
19063
  else {
19018
- i18n_21 = $localize(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject([":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"], [":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"])));
19064
+ i18n_21 = $localize(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject([":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"], [":\u241Faccc28b865e2129ac770d6de43f141e5416d01f1\u241F4814452544539254182:Recettes \u00E0 moins de 3 \u20AC"])));
19019
19065
  }
19020
19066
  var i18n_23;
19021
19067
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19023,7 +19069,7 @@
19023
19069
  i18n_23 = MSG_EXTERNAL_613741958181449144$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_FORM_MEALS_PLANNER_FORM_COMPONENT_TS__24;
19024
19070
  }
19025
19071
  else {
19026
- i18n_23 = $localize(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject([":\u241F823229645f8c9028aa1dfdce03560009fb03fe04\u241F613741958181449144:Recettes \u00E0 moins de 5 \u20AC"], [":\u241F823229645f8c9028aa1dfdce03560009fb03fe04\u241F613741958181449144:Recettes \u00E0 moins de 5 \u20AC"])));
19072
+ i18n_23 = $localize(templateObject_12$2 || (templateObject_12$2 = __makeTemplateObject([":\u241F823229645f8c9028aa1dfdce03560009fb03fe04\u241F613741958181449144:Recettes \u00E0 moins de 5 \u20AC"], [":\u241F823229645f8c9028aa1dfdce03560009fb03fe04\u241F613741958181449144:Recettes \u00E0 moins de 5 \u20AC"])));
19027
19073
  }
19028
19074
  var i18n_25;
19029
19075
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19183,7 +19229,7 @@
19183
19229
  type: i0.Output
19184
19230
  }] });
19185
19231
  })();
19186
- var templateObject_1$t, templateObject_2$m, templateObject_3$g, templateObject_4$d, templateObject_5$b, templateObject_6$9, templateObject_7$6, templateObject_8$3, templateObject_9$3, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1;
19232
+ var templateObject_1$v, templateObject_2$o, templateObject_3$h, templateObject_4$e, templateObject_5$c, templateObject_6$a, templateObject_7$7, templateObject_8$4, templateObject_9$4, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$1;
19187
19233
 
19188
19234
  function RecipeCardCtaComponent_div_0_ng_container_2_Template(rf, ctx) {
19189
19235
  if (rf & 1) {
@@ -19202,8 +19248,9 @@
19202
19248
  if (rf & 1) {
19203
19249
  var _r5_1 = i0__namespace.ɵɵgetCurrentView();
19204
19250
  i0__namespace.ɵɵelementStart(0, "div", 1);
19251
+ i0__namespace.ɵɵlistener("inViewport", function RecipeCardCtaComponent_div_0_Template_div_inViewport_0_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r4 = i0__namespace.ɵɵnextContext(); return ctx_r4.sendShowEvent(); });
19205
19252
  i0__namespace.ɵɵelementStart(1, "button", 2);
19206
- i0__namespace.ɵɵlistener("click", function RecipeCardCtaComponent_div_0_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r4 = i0__namespace.ɵɵnextContext(); return ctx_r4.openRecipe(); });
19253
+ i0__namespace.ɵɵlistener("click", function RecipeCardCtaComponent_div_0_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r6 = i0__namespace.ɵɵnextContext(); return ctx_r6.openRecipe(); });
19207
19254
  i0__namespace.ɵɵtemplate(2, RecipeCardCtaComponent_div_0_ng_container_2_Template, 2, 0, "ng-container", 3);
19208
19255
  i0__namespace.ɵɵpipe(3, "async");
19209
19256
  i0__namespace.ɵɵtemplate(4, RecipeCardCtaComponent_div_0_ng_template_4_Template, 1, 0, "ng-template", null, 4, i0__namespace.ɵɵtemplateRefExtractor);
@@ -19213,10 +19260,11 @@
19213
19260
  if (rf & 2) {
19214
19261
  var _r2 = i0__namespace.ɵɵreference(5);
19215
19262
  var ctx_r0 = i0__namespace.ɵɵnextContext();
19263
+ i0__namespace.ɵɵproperty("condition", !!ctx_r0.recipe && (ctx_r0.recipeExtId || ctx_r0.recipeName));
19216
19264
  i0__namespace.ɵɵadvance(1);
19217
- i0__namespace.ɵɵproperty("disabled", !ctx_r0.recipe)("ngClass", i0__namespace.ɵɵpureFunction3(6, _c0$6, ctx_r0.inBasket, !ctx_r0.inBasket, ctx_r0.inBasket));
19265
+ i0__namespace.ɵɵproperty("disabled", !ctx_r0.recipe)("ngClass", i0__namespace.ɵɵpureFunction3(7, _c0$6, ctx_r0.inBasket, !ctx_r0.inBasket, ctx_r0.inBasket));
19218
19266
  i0__namespace.ɵɵadvance(1);
19219
- i0__namespace.ɵɵproperty("ngIf", !i0__namespace.ɵɵpipeBind1(3, 4, ctx_r0.basketsService.recipeIsInBasket(ctx_r0.recipe.id)))("ngIfElse", _r2);
19267
+ i0__namespace.ɵɵproperty("ngIf", !i0__namespace.ɵɵpipeBind1(3, 5, ctx_r0.basketsService.recipeIsInBasket(ctx_r0.recipe.id)))("ngIfElse", _r2);
19220
19268
  }
19221
19269
  }
19222
19270
  var RecipeCardCtaComponent = /** @class */ (function (_super) {
@@ -19257,20 +19305,18 @@
19257
19305
  if (!this.recipe && ((_a = this.recipeName) === null || _a === void 0 ? void 0 : _a.length) > 0) {
19258
19306
  this.subscriptions.push(this.searchRecipeByName().subscribe(function (result) {
19259
19307
  _this.recipe = result;
19260
- _this.recipe.modifiedGuests = _this.serves || +_this.recipe.guests;
19261
- _this.checkRecipeInBasket();
19308
+ _this.checkGuestsAndBasket();
19262
19309
  _this.cdr.detectChanges();
19263
19310
  }));
19264
19311
  }
19265
19312
  else if (!this.recipe && this.recipeExtId) {
19266
19313
  this.subscriptions.push(this.searchRecipeByExtId().subscribe(function (result) {
19267
19314
  _this.recipe = result;
19268
- _this.recipe.modifiedGuests = _this.serves || +_this.recipe.guests;
19269
19315
  if (_this.contextService.noSupplier) {
19270
- // When noSupplier, we don't have a basket so we can't have the detectCHanges in the basket subscription
19316
+ // When noSupplier, we don't have a basket so we can't have the detectChanges in the basket subscription
19271
19317
  _this.cdr.detectChanges();
19272
19318
  }
19273
- _this.checkRecipeInBasket();
19319
+ _this.checkGuestsAndBasket();
19274
19320
  }));
19275
19321
  }
19276
19322
  else {
@@ -19280,6 +19326,13 @@
19280
19326
  RecipeCardCtaComponent.prototype.ngOnDestroy = function () {
19281
19327
  this.subscriptions.forEach(function (s) { return s.unsubscribe(); });
19282
19328
  };
19329
+ RecipeCardCtaComponent.prototype.checkGuestsAndBasket = function () {
19330
+ var _a;
19331
+ if (this.recipe) {
19332
+ this.recipe.modifiedGuests = this.serves || +((_a = this.recipe) === null || _a === void 0 ? void 0 : _a.guests);
19333
+ this.checkRecipeInBasket();
19334
+ }
19335
+ };
19283
19336
  RecipeCardCtaComponent.prototype.checkRecipeInBasket = function () {
19284
19337
  var _this = this;
19285
19338
  if (!this.basketSubscription && this.recipe) {
@@ -19313,20 +19366,27 @@
19313
19366
  }, this.eventTrace());
19314
19367
  this.displayed.emit();
19315
19368
  };
19369
+ RecipeCardCtaComponent.prototype.sendShowEvent = function () {
19370
+ this.sendEvent(this.analyticsService.EVENT_RECIPE_SHOW);
19371
+ };
19372
+ RecipeCardCtaComponent.prototype.currentProps = function () {
19373
+ var _a;
19374
+ return { recipe_id: (_a = this.recipe) === null || _a === void 0 ? void 0 : _a.id };
19375
+ };
19316
19376
  RecipeCardCtaComponent.prototype.updateRecipeGuests = function () {
19317
19377
  this.basketsService.updateRecipesInBasket([this.recipe.id], this.recipe.modifiedGuests, { originPath: '', props: { recipe_id: this.recipe.id } });
19318
19378
  };
19319
19379
  return RecipeCardCtaComponent;
19320
19380
  }(EventTracerComponent));
19321
19381
  RecipeCardCtaComponent.ɵfac = function RecipeCardCtaComponent_Factory(t) { return new (t || RecipeCardCtaComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(RecipesService), i0__namespace.ɵɵdirectiveInject(BasketsService), i0__namespace.ɵɵdirectiveInject(UserService), i0__namespace.ɵɵdirectiveInject(PointOfSalesService), i0__namespace.ɵɵdirectiveInject(ContextService), i0__namespace.ɵɵdirectiveInject(AnalyticsService), i0__namespace.ɵɵdirectiveInject(ToasterService)); };
19322
- RecipeCardCtaComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RecipeCardCtaComponent, selectors: [["ng-miam-recipe-card-cta"]], inputs: { recipeName: "recipeName", recipeExtId: "recipeExtId", recipe: "recipe", serves: "serves", previewAllowed: "previewAllowed", helpButtonAllowed: "helpButtonAllowed", displayGuests: "displayGuests" }, outputs: { displayed: "displayed", clicked: "clicked" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "miam-recipe-card-cta", 4, "ngIf"], [1, "miam-recipe-card-cta"], [1, "miam-ds-button", 3, "disabled", "ngClass", "click"], [4, "ngIf", "ngIfElse"], ["seeIngredients", ""], ["alt", "basket icon", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Basket.svg"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/InCart_primary.svg", "alt", "see ingredients"]], template: function RecipeCardCtaComponent_Template(rf, ctx) {
19382
+ RecipeCardCtaComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: RecipeCardCtaComponent, selectors: [["ng-miam-recipe-card-cta"]], inputs: { recipeName: "recipeName", recipeExtId: "recipeExtId", recipe: "recipe", serves: "serves", previewAllowed: "previewAllowed", helpButtonAllowed: "helpButtonAllowed", displayGuests: "displayGuests" }, outputs: { displayed: "displayed", clicked: "clicked" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "miam-recipe-card-cta", "ngMiamInViewport", "", 3, "condition", "inViewport", 4, "ngIf"], ["ngMiamInViewport", "", 1, "miam-recipe-card-cta", 3, "condition", "inViewport"], [1, "miam-ds-button", 3, "disabled", "ngClass", "click"], [4, "ngIf", "ngIfElse"], ["seeIngredients", ""], ["alt", "basket icon", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Basket.svg"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/InCart_primary.svg", "alt", "see ingredients"]], template: function RecipeCardCtaComponent_Template(rf, ctx) {
19323
19383
  if (rf & 1) {
19324
- i0__namespace.ɵɵtemplate(0, RecipeCardCtaComponent_div_0_Template, 6, 10, "div", 0);
19384
+ i0__namespace.ɵɵtemplate(0, RecipeCardCtaComponent_div_0_Template, 6, 11, "div", 0);
19325
19385
  }
19326
19386
  if (rf & 2) {
19327
19387
  i0__namespace.ɵɵproperty("ngIf", ctx.recipe);
19328
19388
  }
19329
- }, directives: [i2__namespace$2.NgIf, i2__namespace$2.NgClass], pipes: [i2__namespace$2.AsyncPipe], styles: [".miam-recipe-card-cta{display:flex;justify-content:center;width:-moz-max-content;width:max-content}.miam-recipe-card-cta button{padding:12px 16px}.miam-recipe-card-cta button .miam-ds-loader{width:20px;height:20px}.miam-recipe-card-cta button.miam-ds-button.secondary.in-basket:hover:not(.loading):not(.disabled):not([disabled]){background-color:inherit;color:inherit}"], encapsulation: 2, changeDetection: 0 });
19389
+ }, directives: [i2__namespace$2.NgIf, InViewportDirective, i2__namespace$2.NgClass], pipes: [i2__namespace$2.AsyncPipe], styles: [".miam-recipe-card-cta{display:flex;justify-content:center;width:-moz-max-content;width:max-content}.miam-recipe-card-cta button{padding:12px 16px}.miam-recipe-card-cta button .miam-ds-loader{width:20px;height:20px}.miam-recipe-card-cta button.miam-ds-button.secondary.in-basket:hover:not(.loading):not(.disabled):not([disabled]){background-color:inherit;color:inherit}"], encapsulation: 2, changeDetection: 0 });
19330
19390
  (function () {
19331
19391
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(RecipeCardCtaComponent, [{
19332
19392
  type: i0.Component,
@@ -19892,7 +19952,7 @@
19892
19952
  i18n_0 = MSG_EXTERNAL_9004334984468055592$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS___1;
19893
19953
  }
19894
19954
  else {
19895
- i18n_0 = $localize(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([":\u241Fc368921f313712ef19fa1f7d05697982582598ef\u241F9004334984468055592:Changer"], [":\u241Fc368921f313712ef19fa1f7d05697982582598ef\u241F9004334984468055592:Changer"])));
19955
+ i18n_0 = $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject([":\u241Fc368921f313712ef19fa1f7d05697982582598ef\u241F9004334984468055592:Changer"], [":\u241Fc368921f313712ef19fa1f7d05697982582598ef\u241F9004334984468055592:Changer"])));
19896
19956
  }
19897
19957
  var i18n_2;
19898
19958
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -19900,7 +19960,7 @@
19900
19960
  i18n_2 = MSG_EXTERNAL_70397346439942337$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS___3;
19901
19961
  }
19902
19962
  else {
19903
- i18n_2 = $localize(templateObject_2$l || (templateObject_2$l = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
19963
+ i18n_2 = $localize(templateObject_2$n || (templateObject_2$n = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
19904
19964
  }
19905
19965
  return [["ngMiamInViewport", "", 1, "miam-recipe-card", 3, "condition", "ngClass", "inViewport"], ["class", "miam-recipe-card__container", "ngMiamInViewport", "", 3, "threshold", "debounceTime", "inViewport", 4, "ngIf"], [3, "close", "actionTriggered", 4, "ngIf"], ["ngMiamInViewport", "", 1, "miam-recipe-card__container", 3, "threshold", "debounceTime", "inViewport"], [1, "miam-recipe-card__top", 3, "click"], [1, "miam-recipe-card__picture"], ["loading", "lazy", 3, "src", "alt", "error"], [1, "miam-recipe-card__gradient"], [1, "miam-recipe-card__content"], [1, "miam-recipe-card__top-container"], ["class", "miam-recipe-card__like", 4, "ngIf"], ["class", "miam-recipe-card__sponsor-container", 4, "ngIf"], ["class", "miam-recipe-card__badge-container", 4, "ngIf"], [1, "miam-recipe-card__picture__bottom"], [1, "miam-recipe-card__title", "miam-ds-text", "weight-xxl", "size-m"], [1, "miam-recipe-card__counter"], [1, "miam-ds-text", "weight-xxl", "size-m"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/recipe-counter.svg", "alt", "people"], [1, "miam-recipe-card__bottom", 3, "click"], ["class", "miam-recipe-card__ingredients__pictures", 4, "ngIf"], [1, "miam-recipe-card__actions"], [1, "miam-recipe-card__infos"], ["class", "miam-recipe-card__difficulty-and-time", 4, "ngIf"], ["class", "miam-recipe-card__price", 4, "ngIf"], [1, "miam-recipe-card__cta"], ["class", "miam-recipe-card__actions__icon", 3, "recipe", "originTrace", 4, "ngIf"], [3, "recipe", "previewAllowed", "displayGuests", "helpButtonAllowed", "originTrace", "displayed", "clicked", 4, "ngIf"], ["class", "miam-recipe-card__actions__replace", 4, "ngIf"], ["class", "miam-ds-button ghost", 3, "click", 4, "ngIf"], [1, "miam-recipe-card__like"], ["class", "miam-recipe-card__actions__icon", 3, "click", 4, "ngIf", "ngIfElse"], ["like", ""], [1, "miam-recipe-card__actions__icon", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], [1, "miam-recipe-card__actions__icon", 3, "recipe", "originTrace"], [1, "miam-recipe-card__sponsor-container"], ["alt", "sponsor picture", 1, "miam-recipe-card__sponsor-picture", 3, "src"], [1, "miam-recipe-card__badge-container"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/recipe_card-badge.svg", "alt", "recipe badge", 1, "miam-recipe-card__badge"], [1, "miam-recipe-card__ingredients__pictures"], [1, "miam-recipe-card__ingredients__picture"], ["alt", "first ingredient picture", 3, "src", "error"], ["alt", "second ingredient picture", 3, "src", "error"], ["class", "miam-recipe-card__ingredients__more", 4, "ngIf"], [1, "miam-recipe-card__ingredients__more"], [1, "miam-recipe-card__difficulty-and-time"], ["class", "miam-recipe-card__difficulty", 4, "ngIf"], ["class", "miam-recipe-card__time", 4, "ngIf"], [1, "miam-recipe-card__difficulty"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ChefHat.svg", "alt", "difficulty"], [1, "miam-ds-text", "size-s", "weight-m"], [1, "miam-recipe-card__time"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Clock.svg", "alt", "time"], [1, "miam-recipe-card__price"], [1, "miam-ds-text", "weight-xxl", 3, "recipeId", "serves", "inViewport"], [3, "recipe", "previewAllowed", "displayGuests", "helpButtonAllowed", "originTrace", "displayed", "clicked"], [1, "miam-recipe-card__actions__replace"], [1, "miam-ds-button", "ghost", 3, "click"], i18n_0, [1, "miam-ds-button", "ghost", "square", 3, "click"], i18n_2, [3, "close", "actionTriggered"]];
19906
19966
  }, template: function RecipeCardComponent_Template(rf, ctx) {
@@ -19971,7 +20031,7 @@
19971
20031
  type: i0.Output
19972
20032
  }] });
19973
20033
  })();
19974
- var templateObject_1$s, templateObject_2$l;
20034
+ var templateObject_1$u, templateObject_2$n;
19975
20035
 
19976
20036
  /**
19977
20037
  * This is an angular component design to be a web component
@@ -19997,7 +20057,7 @@
19997
20057
  i18n_0 = MSG_EXTERNAL_1931799427977453728$$LIB__WEB_COMPONENTS_RECIPE_CARDS_ADD_RECIPE_CARD_ADD_RECIPE_CARD_COMPONENT_TS_1;
19998
20058
  }
19999
20059
  else {
20000
- i18n_0 = $localize(templateObject_1$r || (templateObject_1$r = __makeTemplateObject([":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"], [":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"])));
20060
+ i18n_0 = $localize(templateObject_1$t || (templateObject_1$t = __makeTemplateObject([":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"], [":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"])));
20001
20061
  }
20002
20062
  return [[1, "miam-add-recipe-card", 3, "click"], [1, "m-button-primary"], ["width", "14", "height", "14", 3, "iconName"], [1, "miam-add-recipe-card__label"], i18n_0];
20003
20063
  }, template: function AddRecipeCardComponent_Template(rf, ctx) {
@@ -20031,7 +20091,7 @@
20031
20091
  type: i0.Output
20032
20092
  }] });
20033
20093
  })();
20034
- var templateObject_1$r;
20094
+ var templateObject_1$t;
20035
20095
 
20036
20096
  function MealsPlannerResultComponent_div_6_div_1_div_1_Template(rf, ctx) {
20037
20097
  if (rf & 1) {
@@ -20169,7 +20229,7 @@
20169
20229
  i18n_0 = MSG_EXTERNAL_4657629567820612951$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_RESULT_MEALS_PLANNER_RESULT_COMPONENT_TS_1;
20170
20230
  }
20171
20231
  else {
20172
- i18n_0 = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([":\u241Fd1a8da9503639b520a52cbb853f5a36c1df4c92f\u241F4657629567820612951: id\u00E9es repas pour vous"], [":\u241Fd1a8da9503639b520a52cbb853f5a36c1df4c92f\u241F4657629567820612951: id\u00E9es repas pour vous"])));
20232
+ i18n_0 = $localize(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([":\u241Fd1a8da9503639b520a52cbb853f5a36c1df4c92f\u241F4657629567820612951: id\u00E9es repas pour vous"], [":\u241Fd1a8da9503639b520a52cbb853f5a36c1df4c92f\u241F4657629567820612951: id\u00E9es repas pour vous"])));
20173
20233
  }
20174
20234
  var i18n_2;
20175
20235
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20177,7 +20237,7 @@
20177
20237
  i18n_2 = MSG_EXTERNAL_1290005437956785602$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_RESULT_MEALS_PLANNER_RESULT_COMPONENT_TS_3;
20178
20238
  }
20179
20239
  else {
20180
- i18n_2 = $localize(templateObject_2$k || (templateObject_2$k = __makeTemplateObject([":\u241Fcbd8320aa840fa217e5711e1e1a23bbc04cddacb\u241F1290005437956785602:Ajouter tous les ingr\u00E9dients"], [":\u241Fcbd8320aa840fa217e5711e1e1a23bbc04cddacb\u241F1290005437956785602:Ajouter tous les ingr\u00E9dients"])));
20240
+ i18n_2 = $localize(templateObject_2$m || (templateObject_2$m = __makeTemplateObject([":\u241Fcbd8320aa840fa217e5711e1e1a23bbc04cddacb\u241F1290005437956785602:Ajouter tous les ingr\u00E9dients"], [":\u241Fcbd8320aa840fa217e5711e1e1a23bbc04cddacb\u241F1290005437956785602:Ajouter tous les ingr\u00E9dients"])));
20181
20241
  }
20182
20242
  return [[1, "miam-meals-planner-result"], [1, "miam-meals-planner-result__header"], i18n_0, ["class", "miam-meals-planner-result__recipes", 4, "ngIf", "ngIfElse"], ["isLoading", ""], [1, "miam-meals-planner-result__cta"], ["class", "miam-meals-planner-result__progress-bar", 3, "unit", "value", "max", 4, "ngIf"], [1, "m-button-primary", 3, "disabled", "click"], ["width", "24", "height", "24", 3, "iconName", 4, "ngIf", "ngIfElse"], i18n_2, [1, "miam-meals-planner-result__recipes"], ["class", "miam-meals-planner-result__recipe", 4, "ngFor", "ngForOf"], [1, "miam-meals-planner-result__recipe"], [4, "ngIf", "ngIfElse"], ["addRecipeTemplate", ""], [3, "recipe", "originTrace", "displayPricing", "displayGuests", "previewAllowed", "helpButtonAllowed", "replaceMode", "openCatalog", "removeFromMealsPlanner"], [3, "addRecipe"], [1, "miam-meals-planner-result__progress-bar", 3, "unit", "value", "max"], ["width", "24", "height", "24", 3, "iconName"]];
20183
20243
  }, template: function MealsPlannerResultComponent_Template(rf, ctx) {
@@ -20246,7 +20306,7 @@
20246
20306
  type: i0.Output
20247
20307
  }] });
20248
20308
  })();
20249
- var templateObject_1$q, templateObject_2$k;
20309
+ var templateObject_1$s, templateObject_2$m;
20250
20310
 
20251
20311
  function MealsPlannerBasketPreviewComponent_div_0_div_7_Template(rf, ctx) {
20252
20312
  if (rf & 1) {
@@ -20326,7 +20386,7 @@
20326
20386
  i0__namespace.ɵɵelementEnd();
20327
20387
  i0__namespace.ɵɵtemplate(7, MealsPlannerBasketPreviewComponent_div_0_div_7_Template, 4, 0, "div", 5);
20328
20388
  i0__namespace.ɵɵelementStart(8, "ng-miam-basket-preview-block", 6);
20329
- i0__namespace.ɵɵlistener("loading", function MealsPlannerBasketPreviewComponent_div_0_Template_ng_miam_basket_preview_block_loading_8_listener($event) { i0__namespace.ɵɵrestoreView(_r10_1); var ctx_r9 = i0__namespace.ɵɵnextContext(); return ctx_r9.setCtasDisabled($event); });
20389
+ i0__namespace.ɵɵlistener("loading", function MealsPlannerBasketPreviewComponent_div_0_Template_ng_miam_basket_preview_block_loading_8_listener($event) { i0__namespace.ɵɵrestoreView(_r10_1); var ctx_r9 = i0__namespace.ɵɵnextContext(); return ctx_r9.setCtasDisabled($event); })("totalPriceChanged", function MealsPlannerBasketPreviewComponent_div_0_Template_ng_miam_basket_preview_block_totalPriceChanged_8_listener($event) { i0__namespace.ɵɵrestoreView(_r10_1); var ctx_r11 = i0__namespace.ɵɵnextContext(); return ctx_r11.usedBudgetChanged.emit($event); });
20330
20390
  i0__namespace.ɵɵelementEnd();
20331
20391
  i0__namespace.ɵɵelementEnd();
20332
20392
  i0__namespace.ɵɵelementStart(9, "div", 7);
@@ -20370,6 +20430,7 @@
20370
20430
  _this.maxBudget = 0;
20371
20431
  _this.ingredientsRegrouped = false;
20372
20432
  _this.closed = new i0.EventEmitter();
20433
+ _this.usedBudgetChanged = new i0.EventEmitter();
20373
20434
  _this.icon = exports.Icon;
20374
20435
  _this.ctasDisabled = true;
20375
20436
  _this.subscriptions = [];
@@ -20395,14 +20456,14 @@
20395
20456
  return MealsPlannerBasketPreviewComponent;
20396
20457
  }(EventTracerComponent));
20397
20458
  MealsPlannerBasketPreviewComponent.ɵfac = function MealsPlannerBasketPreviewComponent_Factory(t) { return new (t || MealsPlannerBasketPreviewComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(ContextService), i0__namespace.ɵɵdirectiveInject(AnalyticsService)); };
20398
- MealsPlannerBasketPreviewComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MealsPlannerBasketPreviewComponent, selectors: [["ng-miam-meals-planner-basket-preview"]], inputs: { recipesIds: "recipesIds", usedBudget: "usedBudget", maxBudget: "maxBudget", ingredientsRegrouped: "ingredientsRegrouped" }, outputs: { closed: "closed" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: function () {
20459
+ MealsPlannerBasketPreviewComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: MealsPlannerBasketPreviewComponent, selectors: [["ng-miam-meals-planner-basket-preview"]], inputs: { recipesIds: "recipesIds", usedBudget: "usedBudget", maxBudget: "maxBudget", ingredientsRegrouped: "ingredientsRegrouped" }, outputs: { closed: "closed", usedBudgetChanged: "usedBudgetChanged" }, features: [i0__namespace.ɵɵInheritDefinitionFeature, i0__namespace.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: function () {
20399
20460
  var i18n_0;
20400
20461
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
20401
20462
  var MSG_EXTERNAL_2700281655709788634$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_PREVIEW_MEALS_PLANNER_BASKET_PREVIEW_COMPONENT_TS__1 = goog.getMsg("repas ajout\u00E9s \u00E0 votre panier");
20402
20463
  i18n_0 = MSG_EXTERNAL_2700281655709788634$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_PREVIEW_MEALS_PLANNER_BASKET_PREVIEW_COMPONENT_TS__1;
20403
20464
  }
20404
20465
  else {
20405
- i18n_0 = $localize(templateObject_1$p || (templateObject_1$p = __makeTemplateObject([":\u241Fcf2dceac3301fce2fb063db095043efd636f8af9\u241F2700281655709788634:repas ajout\u00E9s \u00E0 votre panier"], [":\u241Fcf2dceac3301fce2fb063db095043efd636f8af9\u241F2700281655709788634:repas ajout\u00E9s \u00E0 votre panier"])));
20466
+ i18n_0 = $localize(templateObject_1$r || (templateObject_1$r = __makeTemplateObject([":\u241Fcf2dceac3301fce2fb063db095043efd636f8af9\u241F2700281655709788634:repas ajout\u00E9s \u00E0 votre panier"], [":\u241Fcf2dceac3301fce2fb063db095043efd636f8af9\u241F2700281655709788634:repas ajout\u00E9s \u00E0 votre panier"])));
20406
20467
  }
20407
20468
  var i18n_2;
20408
20469
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20410,7 +20471,7 @@
20410
20471
  i18n_2 = MSG_EXTERNAL_349368051595787077$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_PREVIEW_MEALS_PLANNER_BASKET_PREVIEW_COMPONENT_TS___3;
20411
20472
  }
20412
20473
  else {
20413
- i18n_2 = $localize(templateObject_2$j || (templateObject_2$j = __makeTemplateObject([":\u241Fa0d1fe7eaa09916660fc5082c77b25044a39a100\u241F349368051595787077:Les ingr\u00E9dients partageant plusieurs recettes ont \u00E9t\u00E9 regroup\u00E9s"], [":\u241Fa0d1fe7eaa09916660fc5082c77b25044a39a100\u241F349368051595787077:Les ingr\u00E9dients partageant plusieurs recettes ont \u00E9t\u00E9 regroup\u00E9s"])));
20474
+ i18n_2 = $localize(templateObject_2$l || (templateObject_2$l = __makeTemplateObject([":\u241Fa0d1fe7eaa09916660fc5082c77b25044a39a100\u241F349368051595787077:Les ingr\u00E9dients partageant plusieurs recettes ont \u00E9t\u00E9 regroup\u00E9s"], [":\u241Fa0d1fe7eaa09916660fc5082c77b25044a39a100\u241F349368051595787077:Les ingr\u00E9dients partageant plusieurs recettes ont \u00E9t\u00E9 regroup\u00E9s"])));
20414
20475
  }
20415
20476
  var i18n_4;
20416
20477
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20418,7 +20479,7 @@
20418
20479
  i18n_4 = MSG_EXTERNAL_2597486146640590065$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_PREVIEW_MEALS_PLANNER_BASKET_PREVIEW_COMPONENT_TS___5;
20419
20480
  }
20420
20481
  else {
20421
- i18n_4 = $localize(templateObject_3$f || (templateObject_3$f = __makeTemplateObject([":\u241F36b57ca9ce912938699424cf85d5cac2a6bfa738\u241F2597486146640590065:Aller \u00E0 mon panier"], [":\u241F36b57ca9ce912938699424cf85d5cac2a6bfa738\u241F2597486146640590065:Aller \u00E0 mon panier"])));
20482
+ i18n_4 = $localize(templateObject_3$g || (templateObject_3$g = __makeTemplateObject([":\u241F36b57ca9ce912938699424cf85d5cac2a6bfa738\u241F2597486146640590065:Aller \u00E0 mon panier"], [":\u241F36b57ca9ce912938699424cf85d5cac2a6bfa738\u241F2597486146640590065:Aller \u00E0 mon panier"])));
20422
20483
  }
20423
20484
  var i18n_6;
20424
20485
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20426,7 +20487,7 @@
20426
20487
  i18n_6 = MSG_EXTERNAL_4645762297074474087$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_PREVIEW_MEALS_PLANNER_BASKET_PREVIEW_COMPONENT_TS___7;
20427
20488
  }
20428
20489
  else {
20429
- i18n_6 = $localize(templateObject_4$c || (templateObject_4$c = __makeTemplateObject([":\u241Fd8ccc910c8536280f86357456fb751e967f3041f\u241F4645762297074474087:Continuer mes achats"], [":\u241Fd8ccc910c8536280f86357456fb751e967f3041f\u241F4645762297074474087:Continuer mes achats"])));
20490
+ i18n_6 = $localize(templateObject_4$d || (templateObject_4$d = __makeTemplateObject([":\u241Fd8ccc910c8536280f86357456fb751e967f3041f\u241F4645762297074474087:Continuer mes achats"], [":\u241Fd8ccc910c8536280f86357456fb751e967f3041f\u241F4645762297074474087:Continuer mes achats"])));
20430
20491
  }
20431
20492
  var i18n_8;
20432
20493
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -20434,9 +20495,9 @@
20434
20495
  i18n_8 = MSG_EXTERNAL_3503734824800029552$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_PREVIEW_MEALS_PLANNER_BASKET_PREVIEW_COMPONENT_TS___9;
20435
20496
  }
20436
20497
  else {
20437
- i18n_8 = $localize(templateObject_5$a || (templateObject_5$a = __makeTemplateObject([":\u241F4f168d78d73759138d43c58ec329dc9a1cfcd316\u241F3503734824800029552:Finaliser"], [":\u241F4f168d78d73759138d43c58ec329dc9a1cfcd316\u241F3503734824800029552:Finaliser"])));
20498
+ i18n_8 = $localize(templateObject_5$b || (templateObject_5$b = __makeTemplateObject([":\u241F4f168d78d73759138d43c58ec329dc9a1cfcd316\u241F3503734824800029552:Finaliser"], [":\u241F4f168d78d73759138d43c58ec329dc9a1cfcd316\u241F3503734824800029552:Finaliser"])));
20438
20499
  }
20439
- return [["class", "miam-meals-planner-basket-preview", 4, "ngIf"], [1, "miam-meals-planner-basket-preview"], [1, "miam-meals-planner-basket-preview__content"], [1, "miam-meals-planner-basket-preview__title"], i18n_0, ["class", "miam-meals-planner-basket-preview__ingredients-regrouped", 4, "ngIf"], [3, "originTrace", "recipesIds", "displayItemsUnitaryPrice", "legacyMode", "loading"], [1, "miam-meals-planner-basket-preview__actions"], ["class", "miam-meals-planner-basket-preview__progress-bar", 3, "unit", "value", "max", 4, "ngIf"], ["class", "m-button-primary reverse", 3, "disabled", 4, "ngIf"], [1, "m-button-primary", 3, "disabled"], ["href", "/", 4, "ngIf", "ngIfElse"], ["antiInflation", ""], [1, "miam-meals-planner-basket-preview__ingredients-regrouped"], [1, "miam-meals-planner-basket-preview__ingredients-regrouped__title"], i18n_2, [1, "miam-meals-planner-basket-preview__progress-bar", 3, "unit", "value", "max"], [1, "m-button-primary", "reverse", 3, "disabled"], [3, "href"], [1, "miam-meals-planner-basket-preview__button-text"], i18n_4, ["href", "/"], i18n_6, [3, "click"], i18n_8];
20500
+ return [["class", "miam-meals-planner-basket-preview", 4, "ngIf"], [1, "miam-meals-planner-basket-preview"], [1, "miam-meals-planner-basket-preview__content"], [1, "miam-meals-planner-basket-preview__title"], i18n_0, ["class", "miam-meals-planner-basket-preview__ingredients-regrouped", 4, "ngIf"], [3, "originTrace", "recipesIds", "displayItemsUnitaryPrice", "legacyMode", "loading", "totalPriceChanged"], [1, "miam-meals-planner-basket-preview__actions"], ["class", "miam-meals-planner-basket-preview__progress-bar", 3, "unit", "value", "max", 4, "ngIf"], ["class", "m-button-primary reverse", 3, "disabled", 4, "ngIf"], [1, "m-button-primary", 3, "disabled"], ["href", "/", 4, "ngIf", "ngIfElse"], ["antiInflation", ""], [1, "miam-meals-planner-basket-preview__ingredients-regrouped"], [1, "miam-meals-planner-basket-preview__ingredients-regrouped__title"], i18n_2, [1, "miam-meals-planner-basket-preview__progress-bar", 3, "unit", "value", "max"], [1, "m-button-primary", "reverse", 3, "disabled"], [3, "href"], [1, "miam-meals-planner-basket-preview__button-text"], i18n_4, ["href", "/"], i18n_6, [3, "click"], i18n_8];
20440
20501
  }, template: function MealsPlannerBasketPreviewComponent_Template(rf, ctx) {
20441
20502
  if (rf & 1) {
20442
20503
  i0__namespace.ɵɵtemplate(0, MealsPlannerBasketPreviewComponent_div_0_Template, 16, 11, "div", 0);
@@ -20465,9 +20526,11 @@
20465
20526
  type: i0.Input
20466
20527
  }], closed: [{
20467
20528
  type: i0.Output
20529
+ }], usedBudgetChanged: [{
20530
+ type: i0.Output
20468
20531
  }] });
20469
20532
  })();
20470
- var templateObject_1$p, templateObject_2$j, templateObject_3$f, templateObject_4$c, templateObject_5$a;
20533
+ var templateObject_1$r, templateObject_2$l, templateObject_3$g, templateObject_4$d, templateObject_5$b;
20471
20534
 
20472
20535
  var RecipeFilters = /** @class */ (function () {
20473
20536
  function RecipeFilters(filters) {
@@ -20625,7 +20688,7 @@
20625
20688
  i18n_0 = MSG_EXTERNAL_211763042876194117$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_ARTICLE_CARD_CATALOG_ARTICLE_CARD_COMPONENT_TS_1;
20626
20689
  }
20627
20690
  else {
20628
- i18n_0 = $localize(templateObject_1$o || (templateObject_1$o = __makeTemplateObject([":\u241F1100513985b01c08c9ecd4ea99055b73af000d3b\u241F211763042876194117:Voir l'article"], [":\u241F1100513985b01c08c9ecd4ea99055b73af000d3b\u241F211763042876194117:Voir l'article"])));
20691
+ i18n_0 = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([":\u241F1100513985b01c08c9ecd4ea99055b73af000d3b\u241F211763042876194117:Voir l'article"], [":\u241F1100513985b01c08c9ecd4ea99055b73af000d3b\u241F211763042876194117:Voir l'article"])));
20629
20692
  }
20630
20693
  return [[1, "miam-catalog-article-card", 3, "click"], [1, "miam-catalog-card__picture"], [1, "miam-catalog-card__picture__gradient"], ["loading", "lazy", 1, "miam-catalog-card__picture__img", 3, "src"], ["class", "miam-catalog-card__picture__sponsor", 3, "src", 4, "ngIf"], [1, "miam-catalog-card__attributes"], [1, "miam-catalog-article-card__attributes__title"], [1, "miam-catalog-card__attributes__infos"], [1, "miam-catalog-card__attributes__info"], [1, "miam-catalog-card__info__label"], ["target", "_blank", 3, "href"], i18n_0, [1, "miam-catalog-card__picture__sponsor", 3, "src"]];
20631
20694
  }, template: function CatalogArticleCardComponent_Template(rf, ctx) {
@@ -20686,7 +20749,7 @@
20686
20749
  type: i0.Input
20687
20750
  }] });
20688
20751
  })();
20689
- var templateObject_1$o;
20752
+ var templateObject_1$q;
20690
20753
 
20691
20754
  var _d;
20692
20755
  function CatalogListComponent_div_1_div_2_ng_container_4_Template(rf, ctx) {
@@ -21109,7 +21172,7 @@
21109
21172
  i18n_0 = MSG_EXTERNAL_2565683500171826824$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_LIST_CATALOG_LIST_COMPONENT_TS___1;
21110
21173
  }
21111
21174
  else {
21112
- i18n_0 = $localize(templateObject_1$n || (templateObject_1$n = __makeTemplateObject([":\u241F76ee44f7935807cf4d6b8ff1607b028ce2be19e7\u241F2565683500171826824:D\u00E9sol\u00E9, aucune proposition trouv\u00E9e"], [":\u241F76ee44f7935807cf4d6b8ff1607b028ce2be19e7\u241F2565683500171826824:D\u00E9sol\u00E9, aucune proposition trouv\u00E9e"])));
21175
+ i18n_0 = $localize(templateObject_1$p || (templateObject_1$p = __makeTemplateObject([":\u241F76ee44f7935807cf4d6b8ff1607b028ce2be19e7\u241F2565683500171826824:D\u00E9sol\u00E9, aucune proposition trouv\u00E9e"], [":\u241F76ee44f7935807cf4d6b8ff1607b028ce2be19e7\u241F2565683500171826824:D\u00E9sol\u00E9, aucune proposition trouv\u00E9e"])));
21113
21176
  }
21114
21177
  var i18n_2;
21115
21178
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21117,7 +21180,7 @@
21117
21180
  i18n_2 = MSG_EXTERNAL_5723427117816878191$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_LIST_CATALOG_LIST_COMPONENT_TS___3;
21118
21181
  }
21119
21182
  else {
21120
- i18n_2 = $localize(templateObject_2$i || (templateObject_2$i = __makeTemplateObject([":\u241Ff351918bf85f7f5deab0f77feb0e39d2ee85958f\u241F5723427117816878191:Veuillez modifier les termes de votre recherche ou r\u00E9gler les filtres"], [":\u241Ff351918bf85f7f5deab0f77feb0e39d2ee85958f\u241F5723427117816878191:Veuillez modifier les termes de votre recherche ou r\u00E9gler les filtres"])));
21183
+ i18n_2 = $localize(templateObject_2$k || (templateObject_2$k = __makeTemplateObject([":\u241Ff351918bf85f7f5deab0f77feb0e39d2ee85958f\u241F5723427117816878191:Veuillez modifier les termes de votre recherche ou r\u00E9gler les filtres"], [":\u241Ff351918bf85f7f5deab0f77feb0e39d2ee85958f\u241F5723427117816878191:Veuillez modifier les termes de votre recherche ou r\u00E9gler les filtres"])));
21121
21184
  }
21122
21185
  var i18n_4;
21123
21186
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21125,7 +21188,7 @@
21125
21188
  i18n_4 = MSG_EXTERNAL_6410345110451741598$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_LIST_CATALOG_LIST_COMPONENT_TS____5;
21126
21189
  }
21127
21190
  else {
21128
- i18n_4 = $localize(templateObject_3$e || (templateObject_3$e = __makeTemplateObject([":\u241F1987d6d2d7b60e267f6d65eb3c4cdb5c975d5f54\u241F6410345110451741598:pour"], [":\u241F1987d6d2d7b60e267f6d65eb3c4cdb5c975d5f54\u241F6410345110451741598:pour"])));
21191
+ i18n_4 = $localize(templateObject_3$f || (templateObject_3$f = __makeTemplateObject([":\u241F1987d6d2d7b60e267f6d65eb3c4cdb5c975d5f54\u241F6410345110451741598:pour"], [":\u241F1987d6d2d7b60e267f6d65eb3c4cdb5c975d5f54\u241F6410345110451741598:pour"])));
21129
21192
  }
21130
21193
  var i18n_6;
21131
21194
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21133,7 +21196,7 @@
21133
21196
  i18n_6 = MSG_EXTERNAL_2399216061429613805$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_LIST_CATALOG_LIST_COMPONENT_TS____7;
21134
21197
  }
21135
21198
  else {
21136
- i18n_6 = $localize(templateObject_4$b || (templateObject_4$b = __makeTemplateObject([":\u241Fdb458c8ad589c2c8f67365423c366fba69c29b72\u241F2399216061429613805:D\u00E9sol\u00E9, vous n'avez pas encore d'id\u00E9es repas sauvegard\u00E9es"], [":\u241Fdb458c8ad589c2c8f67365423c366fba69c29b72\u241F2399216061429613805:D\u00E9sol\u00E9, vous n'avez pas encore d'id\u00E9es repas sauvegard\u00E9es"])));
21199
+ i18n_6 = $localize(templateObject_4$c || (templateObject_4$c = __makeTemplateObject([":\u241Fdb458c8ad589c2c8f67365423c366fba69c29b72\u241F2399216061429613805:D\u00E9sol\u00E9, vous n'avez pas encore d'id\u00E9es repas sauvegard\u00E9es"], [":\u241Fdb458c8ad589c2c8f67365423c366fba69c29b72\u241F2399216061429613805:D\u00E9sol\u00E9, vous n'avez pas encore d'id\u00E9es repas sauvegard\u00E9es"])));
21137
21200
  }
21138
21201
  var i18n_8;
21139
21202
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21141,7 +21204,7 @@
21141
21204
  i18n_8 = MSG_EXTERNAL_4851375363781203983$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_LIST_CATALOG_LIST_COMPONENT_TS___9;
21142
21205
  }
21143
21206
  else {
21144
- i18n_8 = $localize(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject([":\u241Fcdf437ced0967505680ee7fbb9fe6583203edb25\u241F4851375363781203983:D\u00E9sol\u00E9, vous devez \u00EAtre connect\u00E9 pour acc\u00E9der au contenu de cette page."], [":\u241Fcdf437ced0967505680ee7fbb9fe6583203edb25\u241F4851375363781203983:D\u00E9sol\u00E9, vous devez \u00EAtre connect\u00E9 pour acc\u00E9der au contenu de cette page."])));
21207
+ i18n_8 = $localize(templateObject_5$a || (templateObject_5$a = __makeTemplateObject([":\u241Fcdf437ced0967505680ee7fbb9fe6583203edb25\u241F4851375363781203983:D\u00E9sol\u00E9, vous devez \u00EAtre connect\u00E9 pour acc\u00E9der au contenu de cette page."], [":\u241Fcdf437ced0967505680ee7fbb9fe6583203edb25\u241F4851375363781203983:D\u00E9sol\u00E9, vous devez \u00EAtre connect\u00E9 pour acc\u00E9der au contenu de cette page."])));
21145
21208
  }
21146
21209
  var i18n_11;
21147
21210
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21149,7 +21212,7 @@
21149
21212
  i18n_11 = MSG_EXTERNAL_1875448131572248295$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_LIST_CATALOG_LIST_COMPONENT_TS__12;
21150
21213
  }
21151
21214
  else {
21152
- i18n_11 = $localize(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject([":\u241F834498e5698b366d53cba7a7f98b06a12967862c\u241F1875448131572248295: Chargement des r\u00E9sultats... "], [":\u241F834498e5698b366d53cba7a7f98b06a12967862c\u241F1875448131572248295: Chargement des r\u00E9sultats... "])));
21215
+ i18n_11 = $localize(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject([":\u241F834498e5698b366d53cba7a7f98b06a12967862c\u241F1875448131572248295: Chargement des r\u00E9sultats... "], [":\u241F834498e5698b366d53cba7a7f98b06a12967862c\u241F1875448131572248295: Chargement des r\u00E9sultats... "])));
21153
21216
  }
21154
21217
  return [[1, "miam-catalog-list"], ["class", "miam-catalog-list__notFound", 4, "ngIf"], ["class", "miam-catalog-list__loader", 4, "ngIf"], [1, "miam-catalog-list__cards"], ["class", "miam-catalog-list__card", 3, "clicked", 4, "ngIf"], ["recipeCard", ""], [4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "article", 4, "ngFor", "ngForOf"], [1, "miam-catalog-list__notFound"], [1, "miam-catalog-list__notFound__icon", 3, "width", "height", "iconName", "ngClass"], [4, "ngIf", "ngIfElse"], ["notFiltering", ""], ["notLogged", ""], [1, "miam-catalog-list__notFound__title1", "filtering"], i18n_0, [4, "ngIf"], [1, "miam-catalog-list__notFound__title2"], i18n_2, i18n_4, [1, "miam-catalog-list__notFound__title1", "not-filtering"], i18n_6, [1, "miam-catalog-list__notFound__title1", "not-logged"], i18n_8, [1, "miam-catalog-list__loader"], i18n_11, [1, "miam-catalog-list__card", 3, "clicked"], [3, "recipe", "originTrace", "displayPricing", "previewAllowed", "addRecipeMode", "displayGuests", "displayVariant", "helpButtonAllowed", "addToMealsPlanner", "actionTriggered"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["ngMiamLoadOnScroll", "", "marginRoot", "600px", 3, "isLoading", "loadMore"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "article"]];
21155
21218
  }, template: function CatalogListComponent_Template(rf, ctx) {
@@ -21225,7 +21288,7 @@
21225
21288
  args: [RecipeCardComponent]
21226
21289
  }] });
21227
21290
  })();
21228
- var templateObject_1$n, templateObject_2$i, templateObject_3$e, templateObject_4$b, templateObject_5$9, templateObject_6$8;
21291
+ var templateObject_1$p, templateObject_2$k, templateObject_3$f, templateObject_4$c, templateObject_5$a, templateObject_6$9;
21229
21292
 
21230
21293
  function MealsPlannerCatalogComponent_div_14_Template(rf, ctx) {
21231
21294
  if (rf & 1) {
@@ -21311,7 +21374,7 @@
21311
21374
  i18n_0 = MSG_EXTERNAL_2741573127118604046$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_CATALOG_MEALS_PLANNER_CATALOG_COMPONENT_TS_1;
21312
21375
  }
21313
21376
  else {
21314
- i18n_0 = $localize(templateObject_1$m || (templateObject_1$m = __makeTemplateObject([":\u241F6cb5a8804ba593a77922c959033124fb565416bb\u241F2741573127118604046:Notre catalogue"], [":\u241F6cb5a8804ba593a77922c959033124fb565416bb\u241F2741573127118604046:Notre catalogue"])));
21377
+ i18n_0 = $localize(templateObject_1$o || (templateObject_1$o = __makeTemplateObject([":\u241F6cb5a8804ba593a77922c959033124fb565416bb\u241F2741573127118604046:Notre catalogue"], [":\u241F6cb5a8804ba593a77922c959033124fb565416bb\u241F2741573127118604046:Notre catalogue"])));
21315
21378
  }
21316
21379
  var i18n_2;
21317
21380
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21319,7 +21382,7 @@
21319
21382
  i18n_2 = MSG_EXTERNAL_4373423141595793013$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_CATALOG_MEALS_PLANNER_CATALOG_COMPONENT_TS_3;
21320
21383
  }
21321
21384
  else {
21322
- i18n_2 = $localize(templateObject_2$h || (templateObject_2$h = __makeTemplateObject([":\u241F6b1b3304924780b971d5ab5a03ef36bb1f9903dc\u241F4373423141595793013:Rechercher un ingr\u00E9dient, un repas..."], [":\u241F6b1b3304924780b971d5ab5a03ef36bb1f9903dc\u241F4373423141595793013:Rechercher un ingr\u00E9dient, un repas..."])));
21385
+ i18n_2 = $localize(templateObject_2$j || (templateObject_2$j = __makeTemplateObject([":\u241F6b1b3304924780b971d5ab5a03ef36bb1f9903dc\u241F4373423141595793013:Rechercher un ingr\u00E9dient, un repas..."], [":\u241F6b1b3304924780b971d5ab5a03ef36bb1f9903dc\u241F4373423141595793013:Rechercher un ingr\u00E9dient, un repas..."])));
21323
21386
  }
21324
21387
  var i18n_4;
21325
21388
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21327,7 +21390,7 @@
21327
21390
  i18n_4 = MSG_EXTERNAL_673430564078029527$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_CATALOG_MEALS_PLANNER_CATALOG_COMPONENT_TS_5;
21328
21391
  }
21329
21392
  else {
21330
- i18n_4 = $localize(templateObject_3$d || (templateObject_3$d = __makeTemplateObject([":\u241F43a5be6775550e305fdcc873e3fe93fe756b2340\u241F673430564078029527:Filtrer"], [":\u241F43a5be6775550e305fdcc873e3fe93fe756b2340\u241F673430564078029527:Filtrer"])));
21393
+ i18n_4 = $localize(templateObject_3$e || (templateObject_3$e = __makeTemplateObject([":\u241F43a5be6775550e305fdcc873e3fe93fe756b2340\u241F673430564078029527:Filtrer"], [":\u241F43a5be6775550e305fdcc873e3fe93fe756b2340\u241F673430564078029527:Filtrer"])));
21331
21394
  }
21332
21395
  return [[1, "miam-meals-planner-catalog"], [1, "miam-meals-planner-catalog__title", 3, "click"], ["width", "24", "height", "24", 3, "iconName"], i18n_0, [1, "miam-meals-planner-catalog__search-and-filters"], [1, "miam-meals-planner-catalog__searchbar"], ["type", "text", "placeholder", i18n_2, 1, "miam-meals-planner-catalog__searchbar__input", 3, "ngModel", "ngModelChange", "keydown.enter", "blur"], [1, "miam-meals-planner-catalog__searchbar__button", "m-button-primary"], ["width", "20", "height", "20", 3, "iconName", "click"], [1, "miam-meals-planner-catalog__controls__filter", "m-button-primary", 3, "click"], ["width", "18", "height", "18", 3, "iconName"], i18n_4, ["class", "miam-meals-planner-catalog__controls__filter-badge", 4, "ngIf"], [3, "filters", "isFilterCollapsed", "modifiedGuests", "position", "excludedRecipesIds", "filterChanged", "filterCollapsed"], [3, "displayPricing", "addRecipeMode", "modifiedGuests", "originTrace", "filters", "displayGuests", "helpButtonAllowed", "excludedRecipesIds", "addToMealsPlanner"], [1, "miam-meals-planner-catalog__controls__filter-badge"]];
21333
21396
  }, template: function MealsPlannerCatalogComponent_Template(rf, ctx) {
@@ -21409,7 +21472,7 @@
21409
21472
  type: i0.Output
21410
21473
  }] });
21411
21474
  })();
21412
- var templateObject_1$m, templateObject_2$h, templateObject_3$d;
21475
+ var templateObject_1$o, templateObject_2$j, templateObject_3$e;
21413
21476
 
21414
21477
  var MealsPlannerBasketConfirmationComponent = /** @class */ (function (_super) {
21415
21478
  __extends(MealsPlannerBasketConfirmationComponent, _super);
@@ -21443,7 +21506,7 @@
21443
21506
  i18n_0 = MSG_EXTERNAL_978176854081714634$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_CONFIRMATION_MEALS_PLANNER_BASKET_CONFIRMATION_COMPONENT_TS_1;
21444
21507
  }
21445
21508
  else {
21446
- i18n_0 = $localize(templateObject_1$l || (templateObject_1$l = __makeTemplateObject([":\u241F070863459779ec17a5df3cd63552750ac395fcff\u241F978176854081714634:Les produits associ\u00E9s ont bien \u00E9t\u00E9 ajout\u00E9s au panier."], [":\u241F070863459779ec17a5df3cd63552750ac395fcff\u241F978176854081714634:Les produits associ\u00E9s ont bien \u00E9t\u00E9 ajout\u00E9s au panier."])));
21509
+ i18n_0 = $localize(templateObject_1$n || (templateObject_1$n = __makeTemplateObject([":\u241F070863459779ec17a5df3cd63552750ac395fcff\u241F978176854081714634:Les produits associ\u00E9s ont bien \u00E9t\u00E9 ajout\u00E9s au panier."], [":\u241F070863459779ec17a5df3cd63552750ac395fcff\u241F978176854081714634:Les produits associ\u00E9s ont bien \u00E9t\u00E9 ajout\u00E9s au panier."])));
21447
21510
  }
21448
21511
  var i18n_2;
21449
21512
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21451,7 +21514,7 @@
21451
21514
  i18n_2 = MSG_EXTERNAL_4036486395657962105$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_CONFIRMATION_MEALS_PLANNER_BASKET_CONFIRMATION_COMPONENT_TS_3;
21452
21515
  }
21453
21516
  else {
21454
- i18n_2 = $localize(templateObject_2$g || (templateObject_2$g = __makeTemplateObject([":\u241Fb816d5230adee4e60776b057a7144fc5efd1b7a3\u241F4036486395657962105:repas pour"], [":\u241Fb816d5230adee4e60776b057a7144fc5efd1b7a3\u241F4036486395657962105:repas pour"])));
21517
+ i18n_2 = $localize(templateObject_2$i || (templateObject_2$i = __makeTemplateObject([":\u241Fb816d5230adee4e60776b057a7144fc5efd1b7a3\u241F4036486395657962105:repas pour"], [":\u241Fb816d5230adee4e60776b057a7144fc5efd1b7a3\u241F4036486395657962105:repas pour"])));
21455
21518
  }
21456
21519
  var i18n_4;
21457
21520
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21459,7 +21522,7 @@
21459
21522
  i18n_4 = MSG_EXTERNAL_4292207916107004711$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_CONFIRMATION_MEALS_PLANNER_BASKET_CONFIRMATION_COMPONENT_TS_5;
21460
21523
  }
21461
21524
  else {
21462
- i18n_4 = $localize(templateObject_3$c || (templateObject_3$c = __makeTemplateObject([":\u241Fed84d683f4ccdd851df9aed7dcb8283a1e374245\u241F4292207916107004711:D\u00E9couvrez aussi :"], [":\u241Fed84d683f4ccdd851df9aed7dcb8283a1e374245\u241F4292207916107004711:D\u00E9couvrez aussi :"])));
21525
+ i18n_4 = $localize(templateObject_3$d || (templateObject_3$d = __makeTemplateObject([":\u241Fed84d683f4ccdd851df9aed7dcb8283a1e374245\u241F4292207916107004711:D\u00E9couvrez aussi :"], [":\u241Fed84d683f4ccdd851df9aed7dcb8283a1e374245\u241F4292207916107004711:D\u00E9couvrez aussi :"])));
21463
21526
  }
21464
21527
  var i18n_6;
21465
21528
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21467,7 +21530,7 @@
21467
21530
  i18n_6 = MSG_EXTERNAL_7677197880949375688$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_BASKET_CONFIRMATION_MEALS_PLANNER_BASKET_CONFIRMATION_COMPONENT_TS_7;
21468
21531
  }
21469
21532
  else {
21470
- i18n_6 = $localize(templateObject_4$a || (templateObject_4$a = __makeTemplateObject([":\u241F0b2493727f9ebd25d711a2206c44146a7b585828\u241F7677197880949375688:Nos promotions"], [":\u241F0b2493727f9ebd25d711a2206c44146a7b585828\u241F7677197880949375688:Nos promotions"])));
21533
+ i18n_6 = $localize(templateObject_4$b || (templateObject_4$b = __makeTemplateObject([":\u241F0b2493727f9ebd25d711a2206c44146a7b585828\u241F7677197880949375688:Nos promotions"], [":\u241F0b2493727f9ebd25d711a2206c44146a7b585828\u241F7677197880949375688:Nos promotions"])));
21471
21534
  }
21472
21535
  return [[1, "meals-planner-basket-confirmation"], [1, "meals-planner-basket-confirmation__content"], [1, "meals-planner-basket-confirmation__result"], [1, "meals-planner-basket-confirmation__title"], i18n_0, [1, "meals-planner-basket-confirmation__price"], [1, "meals-planner-basket-confirmation__meal-count"], i18n_2, [1, "meals-planner-basket-confirmation__price-value"], [1, "meals-planner-basket-confirmation__discover"], i18n_4, [1, "m-button-secondary"], [3, "href"], [1, "meals-planner-basket-confirmation__button-text"], i18n_6];
21473
21536
  }, template: function MealsPlannerBasketConfirmationComponent_Template(rf, ctx) {
@@ -21540,7 +21603,7 @@
21540
21603
  type: i0.Input
21541
21604
  }] });
21542
21605
  })();
21543
- var templateObject_1$l, templateObject_2$g, templateObject_3$c, templateObject_4$a;
21606
+ var templateObject_1$n, templateObject_2$i, templateObject_3$d, templateObject_4$b;
21544
21607
 
21545
21608
  var _b;
21546
21609
  var _c0$5 = ["miamMealsPlannerTopAnchor"];
@@ -21591,7 +21654,7 @@
21591
21654
  if (rf & 1) {
21592
21655
  var _r17_1 = i0__namespace.ɵɵgetCurrentView();
21593
21656
  i0__namespace.ɵɵelementStart(0, "ng-miam-meals-planner-basket-preview", 26);
21594
- i0__namespace.ɵɵlistener("closed", function MealsPlannerComponent_div_2_div_15_ng_miam_meals_planner_basket_preview_3_Template_ng_miam_meals_planner_basket_preview_closed_0_listener() { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r16 = i0__namespace.ɵɵnextContext(3); return ctx_r16.openBasketConfirmation(); });
21657
+ i0__namespace.ɵɵlistener("closed", function MealsPlannerComponent_div_2_div_15_ng_miam_meals_planner_basket_preview_3_Template_ng_miam_meals_planner_basket_preview_closed_0_listener() { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r16 = i0__namespace.ɵɵnextContext(3); return ctx_r16.openBasketConfirmation(); })("usedBudgetChanged", function MealsPlannerComponent_div_2_div_15_ng_miam_meals_planner_basket_preview_3_Template_ng_miam_meals_planner_basket_preview_usedBudgetChanged_0_listener($event) { i0__namespace.ɵɵrestoreView(_r17_1); var ctx_r18 = i0__namespace.ɵɵnextContext(3); return ctx_r18.updateUsedBudget($event); });
21595
21658
  i0__namespace.ɵɵelementEnd();
21596
21659
  }
21597
21660
  if (rf & 2) {
@@ -21601,9 +21664,9 @@
21601
21664
  }
21602
21665
  function MealsPlannerComponent_div_2_div_15_ng_miam_meals_planner_catalog_4_Template(rf, ctx) {
21603
21666
  if (rf & 1) {
21604
- var _r19_1 = i0__namespace.ɵɵgetCurrentView();
21667
+ var _r20_1 = i0__namespace.ɵɵgetCurrentView();
21605
21668
  i0__namespace.ɵɵelementStart(0, "ng-miam-meals-planner-catalog", 27);
21606
- i0__namespace.ɵɵlistener("editRecipe", function MealsPlannerComponent_div_2_div_15_ng_miam_meals_planner_catalog_4_Template_ng_miam_meals_planner_catalog_editRecipe_0_listener($event) { i0__namespace.ɵɵrestoreView(_r19_1); var ctx_r18 = i0__namespace.ɵɵnextContext(3); return ctx_r18.editRecipe($event); })("canceled", function MealsPlannerComponent_div_2_div_15_ng_miam_meals_planner_catalog_4_Template_ng_miam_meals_planner_catalog_canceled_0_listener() { i0__namespace.ɵɵrestoreView(_r19_1); var ctx_r20 = i0__namespace.ɵɵnextContext(3); return ctx_r20.closeCatalog(); });
21669
+ i0__namespace.ɵɵlistener("editRecipe", function MealsPlannerComponent_div_2_div_15_ng_miam_meals_planner_catalog_4_Template_ng_miam_meals_planner_catalog_editRecipe_0_listener($event) { i0__namespace.ɵɵrestoreView(_r20_1); var ctx_r19 = i0__namespace.ɵɵnextContext(3); return ctx_r19.editRecipe($event); })("canceled", function MealsPlannerComponent_div_2_div_15_ng_miam_meals_planner_catalog_4_Template_ng_miam_meals_planner_catalog_canceled_0_listener() { i0__namespace.ɵɵrestoreView(_r20_1); var ctx_r21 = i0__namespace.ɵɵnextContext(3); return ctx_r21.closeCatalog(); });
21607
21670
  i0__namespace.ɵɵelementEnd();
21608
21671
  }
21609
21672
  if (rf & 2) {
@@ -21728,6 +21791,40 @@
21728
21791
  _this.subscriptions = [];
21729
21792
  return _this;
21730
21793
  }
21794
+ Object.defineProperty(MealsPlannerComponent.prototype, "remainingBudget", {
21795
+ get: function () {
21796
+ var _a;
21797
+ var recipeToChangeId = (_a = this.budgettedRecipes[this.recipeToChangeIndex]) === null || _a === void 0 ? void 0 : _a.id;
21798
+ var remainingBudget = this.maxBudget - this.usedBudget;
21799
+ if (recipeToChangeId) {
21800
+ remainingBudget += this.budgettedRecipesPrices[recipeToChangeId];
21801
+ }
21802
+ if (remainingBudget > 0) {
21803
+ return remainingBudget;
21804
+ }
21805
+ return 0;
21806
+ },
21807
+ enumerable: false,
21808
+ configurable: true
21809
+ });
21810
+ Object.defineProperty(MealsPlannerComponent.prototype, "remainingRecipesNumber", {
21811
+ get: function () {
21812
+ var _this = this;
21813
+ return this.budgettedRecipes.reduce(function (acc, recipe, i) {
21814
+ // Don't count null recipes and currently replacing recipe
21815
+ return recipe && i !== _this.recipeToChangeIndex ? acc : acc + 1;
21816
+ }, 0);
21817
+ },
21818
+ enumerable: false,
21819
+ configurable: true
21820
+ });
21821
+ Object.defineProperty(MealsPlannerComponent.prototype, "excludedRecipesIds", {
21822
+ get: function () {
21823
+ return this.budgettedRecipes.filter(function (recipe) { return recipe; }).map(function (recipe) { return recipe.id; });
21824
+ },
21825
+ enumerable: false,
21826
+ configurable: true
21827
+ });
21731
21828
  MealsPlannerComponent.prototype.ngOnInit = function () {
21732
21829
  var _this = this;
21733
21830
  this.subscriptions.push(this.contextService.enableMealsPlanner$.pipe(operators.skipWhile(function (enabled) { return !enabled; }), operators.take(1)).subscribe(function () {
@@ -21781,60 +21878,39 @@
21781
21878
  MealsPlannerComponent.prototype.currentPath = function () {
21782
21879
  return 'miam/recipes/meals-planner';
21783
21880
  };
21784
- // TODO: cut into more methods
21785
21881
  MealsPlannerComponent.prototype.addRecipes = function () {
21786
21882
  var _this = this;
21787
21883
  this.loading = true;
21788
21884
  this.scrollToTop();
21789
21885
  this.cdr.detectChanges();
21790
- var previousUsedBudget = this.usedBudget;
21791
- var basketInitialized = false;
21792
21886
  var recipesToAdd = this.budgettedRecipes.filter(function (r) { return r === null || r === void 0 ? void 0 : r.id; }); // remove empty recipes
21793
21887
  this.basketsService.addRecipesToBasket(recipesToAdd.map(function (r) { return (r.id); }), recipesToAdd[0].modifiedGuests, this.eventTrace());
21794
21888
  this.subscriptions.push(this.basketsService.recipesWillBeAdded().pipe(operators.skipWhile(function (recipesWillBeAdded) { return recipesWillBeAdded; }), operators.take(1), operators.switchMap(function () {
21795
21889
  _this.addedRecipesIds = recipesToAdd.map(function (r) { return r.id; });
21796
- return _this.basketsService.basketPreview$.pipe(operators.take(2));
21797
- }), operators.switchMap(function (basketPreviewLines) {
21798
- if (basketInitialized) {
21799
- _this.fetchBasketPreviewPricing(basketPreviewLines);
21800
- _this.ingredientsRegrouped = previousUsedBudget !== _this.usedBudget;
21801
- return _this.basketsService.basketPreview$;
21802
- }
21803
- basketInitialized = true;
21804
- return rxjs.of(null);
21805
- }), operators.switchMap(function (basketPreviewLines) {
21890
+ return _this.basketsService.basketPreview$.pipe(operators.take(1));
21891
+ }), operators.tap(function (basketPreviewLines) {
21806
21892
  if (basketPreviewLines !== null) {
21807
- if (!_this.containsSomeAddedRecipe(basketPreviewLines)) {
21808
- return _this.fetchBudgetValues();
21809
- }
21810
- return rxjs.of(_this.fetchBasketPreviewPricing(basketPreviewLines));
21893
+ _this.ingredientsRegrouped = _this.hasMutualizedEntry(basketPreviewLines);
21811
21894
  }
21812
- return rxjs.of(null);
21813
21895
  })).subscribe(function () {
21814
21896
  _this.loading = false;
21815
21897
  _this.cdr.detectChanges();
21816
21898
  }));
21817
21899
  };
21818
- MealsPlannerComponent.prototype.containsSomeAddedRecipe = function (basketPreviewLines) {
21819
- var containsSomeAddedRecipeId = false;
21820
- this.addedRecipesIds.forEach(function (recipeId) {
21821
- if (basketPreviewLines.some(function (line) { return line.id === recipeId; })) {
21822
- containsSomeAddedRecipeId = true;
21823
- }
21824
- });
21825
- return containsSomeAddedRecipeId;
21826
- };
21827
- MealsPlannerComponent.prototype.fetchBasketPreviewPricing = function (basketPreviewLines) {
21900
+ MealsPlannerComponent.prototype.hasMutualizedEntry = function (basketPreviewLines) {
21828
21901
  var _this = this;
21829
- this.usedBudget = 0;
21830
- this.addedRecipesIds.forEach(function (recipeId) {
21831
- var basketPreviewLine = basketPreviewLines.find(function (line) { return line.id === recipeId; });
21832
- if (basketPreviewLine) {
21833
- _this.usedBudget += +basketPreviewLine.price;
21902
+ return basketPreviewLines.some(function (line) {
21903
+ if (line.isRecipe) {
21904
+ return line.entries.found.some(function (entry) { return _this.isEntryMutualized(entry); });
21834
21905
  }
21906
+ return false;
21835
21907
  });
21836
- this.usedBudget = Math.round(this.usedBudget * 100) / 100;
21837
- this.cdr.detectChanges();
21908
+ };
21909
+ MealsPlannerComponent.prototype.isEntryMutualized = function (entry) {
21910
+ if (entry.status !== 'active') {
21911
+ return false;
21912
+ }
21913
+ return entry.recipesIds.length > 1;
21838
21914
  };
21839
21915
  MealsPlannerComponent.prototype.initRecipesPricing = function () {
21840
21916
  var _this = this;
@@ -21904,7 +21980,7 @@
21904
21980
  });
21905
21981
  };
21906
21982
  MealsPlannerComponent.prototype.updateUsesCount = function () {
21907
- var oldCount = parseInt(localStorage.getItem('miam-meals-planner-uses-count'));
21983
+ var oldCount = parseInt(localStorage.getItem('miam-meals-planner-uses-count'), 10);
21908
21984
  var newCount = Number.isNaN(oldCount) ? 1 : oldCount + 1;
21909
21985
  localStorage.setItem('miam-meals-planner-uses-count', newCount.toString());
21910
21986
  return newCount;
@@ -21914,40 +21990,10 @@
21914
21990
  this.topAnchor.nativeElement.scrollIntoView();
21915
21991
  }
21916
21992
  };
21917
- Object.defineProperty(MealsPlannerComponent.prototype, "remainingBudget", {
21918
- get: function () {
21919
- var _a;
21920
- var recipeToChangeId = (_a = this.budgettedRecipes[this.recipeToChangeIndex]) === null || _a === void 0 ? void 0 : _a.id;
21921
- var remainingBudget = this.maxBudget - this.usedBudget;
21922
- if (recipeToChangeId) {
21923
- remainingBudget += this.budgettedRecipesPrices[recipeToChangeId];
21924
- }
21925
- if (remainingBudget > 0) {
21926
- return remainingBudget;
21927
- }
21928
- return 0;
21929
- },
21930
- enumerable: false,
21931
- configurable: true
21932
- });
21933
- Object.defineProperty(MealsPlannerComponent.prototype, "remainingRecipesNumber", {
21934
- get: function () {
21935
- var _this = this;
21936
- return this.budgettedRecipes.reduce(function (acc, recipe, i) {
21937
- // Don't count null recipes and currently replacing recipe
21938
- return recipe && i !== _this.recipeToChangeIndex ? acc : acc + 1;
21939
- }, 0);
21940
- },
21941
- enumerable: false,
21942
- configurable: true
21943
- });
21944
- Object.defineProperty(MealsPlannerComponent.prototype, "excludedRecipesIds", {
21945
- get: function () {
21946
- return this.budgettedRecipes.filter(function (recipe) { return recipe; }).map(function (recipe) { return recipe.id; });
21947
- },
21948
- enumerable: false,
21949
- configurable: true
21950
- });
21993
+ MealsPlannerComponent.prototype.updateUsedBudget = function (usedBudget) {
21994
+ this.usedBudget = usedBudget;
21995
+ this.cdr.detectChanges();
21996
+ };
21951
21997
  return MealsPlannerComponent;
21952
21998
  }(EventTracerComponent));
21953
21999
  MealsPlannerComponent.ɵfac = function MealsPlannerComponent_Factory(t) { return new (t || MealsPlannerComponent)(i0__namespace.ɵɵdirectiveInject(i3__namespace.FormBuilder), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(AnalyticsService), i0__namespace.ɵɵdirectiveInject(ContextService), i0__namespace.ɵɵdirectiveInject(RecipesService), i0__namespace.ɵɵdirectiveInject(BasketsService), i0__namespace.ɵɵdirectiveInject(PointOfSalesService), i0__namespace.ɵɵdirectiveInject(RecipeDetailsService)); };
@@ -21966,7 +22012,7 @@
21966
22012
  i18n_1 = MSG_EXTERNAL_8408582562313036652$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_COMPONENT_TS__2;
21967
22013
  }
21968
22014
  else {
21969
- i18n_1 = $localize(templateObject_1$k || (templateObject_1$k = __makeTemplateObject([":\u241F3f30012e0912f74e7f63e47637dea7a01f9521fa\u241F8408582562313036652:Id\u00E9es repas"], [":\u241F3f30012e0912f74e7f63e47637dea7a01f9521fa\u241F8408582562313036652:Id\u00E9es repas"])));
22015
+ i18n_1 = $localize(templateObject_1$m || (templateObject_1$m = __makeTemplateObject([":\u241F3f30012e0912f74e7f63e47637dea7a01f9521fa\u241F8408582562313036652:Id\u00E9es repas"], [":\u241F3f30012e0912f74e7f63e47637dea7a01f9521fa\u241F8408582562313036652:Id\u00E9es repas"])));
21970
22016
  }
21971
22017
  var i18n_3;
21972
22018
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21974,7 +22020,7 @@
21974
22020
  i18n_3 = MSG_EXTERNAL_406825433402702343$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_COMPONENT_TS__4;
21975
22021
  }
21976
22022
  else {
21977
- i18n_3 = $localize(templateObject_2$f || (templateObject_2$f = __makeTemplateObject([":\u241F1699ac3b921e6d286c72605705ac342f122b2652\u241F406825433402702343:Planifier mes repas"], [":\u241F1699ac3b921e6d286c72605705ac342f122b2652\u241F406825433402702343:Planifier mes repas"])));
22023
+ i18n_3 = $localize(templateObject_2$h || (templateObject_2$h = __makeTemplateObject([":\u241F1699ac3b921e6d286c72605705ac342f122b2652\u241F406825433402702343:Planifier mes repas"], [":\u241F1699ac3b921e6d286c72605705ac342f122b2652\u241F406825433402702343:Planifier mes repas"])));
21978
22024
  }
21979
22025
  var i18n_5;
21980
22026
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -21982,9 +22028,9 @@
21982
22028
  i18n_5 = MSG_EXTERNAL_1931799427977453728$$LIB__WEB_COMPONENTS_MEALS_PLANNER_MEALS_PLANNER_COMPONENT_TS___6;
21983
22029
  }
21984
22030
  else {
21985
- i18n_5 = $localize(templateObject_3$b || (templateObject_3$b = __makeTemplateObject([":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"], [":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"])));
22031
+ i18n_5 = $localize(templateObject_3$c || (templateObject_3$c = __makeTemplateObject([":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"], [":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"])));
21986
22032
  }
21987
- return [[1, "miam-meals-planner-anchor"], ["miamMealsPlannerTopAnchor", ""], ["class", "miam-meals-planner", 4, "ngIf"], [1, "miam-meals-planner"], [1, "miam-meals-planner__header"], [1, "miam-meals-planner__header__breadcrumb", 3, "ngClass"], ["href", "/"], ["width", "18", "height", "18", "primaryColor", "#1F3543", 3, "iconName"], ["width", "24", "height", "24", 1, "chevron-right", 3, "iconName"], [1, "inactive", 3, "href"], i18n_1, ["href", "javascript:void(0)", 1, "active"], i18n_3, ["class", "chevron-right", "width", "24", "height", "24", 3, "iconName", 4, "ngIf"], ["href", "javascript:void(0)", "class", "subCategory", 4, "ngIf"], ["class", "miam-meals-planner__content", 4, "ngIf"], ["href", "javascript:void(0)", 1, "subCategory"], i18n_5, [1, "miam-meals-planner__content"], [3, "originTrace", "reduced", "form", "loading", "ngClass", "submitted", 4, "ngIf"], [3, "originTrace", "recipes", "usedBudget", "maxBudget", "loading", "recipeRemoval", "confirmed", "openCatalog", 4, "ngIf"], [3, "recipesIds", "usedBudget", "maxBudget", "ingredientsRegrouped", "originTrace", "ngClass", "closed", 4, "ngIf"], [3, "modifiedGuests", "originTrace", "remainingBudget", "remainingRecipesNumber", "excludedRecipesIds", "editRecipe", "canceled", 4, "ngIf"], [3, "recipesIds", "originTrace", "budget", 4, "ngIf"], [3, "originTrace", "reduced", "form", "loading", "ngClass", "submitted"], [3, "originTrace", "recipes", "usedBudget", "maxBudget", "loading", "recipeRemoval", "confirmed", "openCatalog"], [3, "recipesIds", "usedBudget", "maxBudget", "ingredientsRegrouped", "originTrace", "ngClass", "closed"], [3, "modifiedGuests", "originTrace", "remainingBudget", "remainingRecipesNumber", "excludedRecipesIds", "editRecipe", "canceled"], [3, "recipesIds", "originTrace", "budget"]];
22033
+ return [[1, "miam-meals-planner-anchor"], ["miamMealsPlannerTopAnchor", ""], ["class", "miam-meals-planner", 4, "ngIf"], [1, "miam-meals-planner"], [1, "miam-meals-planner__header"], [1, "miam-meals-planner__header__breadcrumb", 3, "ngClass"], ["href", "/"], ["width", "18", "height", "18", "primaryColor", "#1F3543", 3, "iconName"], ["width", "24", "height", "24", 1, "chevron-right", 3, "iconName"], [1, "inactive", 3, "href"], i18n_1, ["href", "javascript:void(0)", 1, "active"], i18n_3, ["class", "chevron-right", "width", "24", "height", "24", 3, "iconName", 4, "ngIf"], ["href", "javascript:void(0)", "class", "subCategory", 4, "ngIf"], ["class", "miam-meals-planner__content", 4, "ngIf"], ["href", "javascript:void(0)", 1, "subCategory"], i18n_5, [1, "miam-meals-planner__content"], [3, "originTrace", "reduced", "form", "loading", "ngClass", "submitted", 4, "ngIf"], [3, "originTrace", "recipes", "usedBudget", "maxBudget", "loading", "recipeRemoval", "confirmed", "openCatalog", 4, "ngIf"], [3, "recipesIds", "usedBudget", "maxBudget", "ingredientsRegrouped", "originTrace", "ngClass", "closed", "usedBudgetChanged", 4, "ngIf"], [3, "modifiedGuests", "originTrace", "remainingBudget", "remainingRecipesNumber", "excludedRecipesIds", "editRecipe", "canceled", 4, "ngIf"], [3, "recipesIds", "originTrace", "budget", 4, "ngIf"], [3, "originTrace", "reduced", "form", "loading", "ngClass", "submitted"], [3, "originTrace", "recipes", "usedBudget", "maxBudget", "loading", "recipeRemoval", "confirmed", "openCatalog"], [3, "recipesIds", "usedBudget", "maxBudget", "ingredientsRegrouped", "originTrace", "ngClass", "closed", "usedBudgetChanged"], [3, "modifiedGuests", "originTrace", "remainingBudget", "remainingRecipesNumber", "excludedRecipesIds", "editRecipe", "canceled"], [3, "recipesIds", "originTrace", "budget"]];
21988
22034
  }, template: function MealsPlannerComponent_Template(rf, ctx) {
21989
22035
  if (rf & 1) {
21990
22036
  i0__namespace.ɵɵelement(0, "div", 0, 1);
@@ -22010,7 +22056,7 @@
22010
22056
  args: ['miamMealsPlannerTopAnchor']
22011
22057
  }] });
22012
22058
  })();
22013
- var templateObject_1$k, templateObject_2$f, templateObject_3$b;
22059
+ var templateObject_1$m, templateObject_2$h, templateObject_3$c;
22014
22060
 
22015
22061
  var _c;
22016
22062
  var _c0$4 = ["categoryContent"];
@@ -22209,7 +22255,7 @@
22209
22255
  i18n_2 = MSG_EXTERNAL_8874543985358049965$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_CATEGORY_CATALOG_CATEGORY_COMPONENT_TS__3;
22210
22256
  }
22211
22257
  else {
22212
- i18n_2 = $localize(templateObject_1$j || (templateObject_1$j = __makeTemplateObject([":\u241Fab6947c0f33ef4dbeb1a52af1db5d1bf6b3a7ea2\u241F8874543985358049965:Voir tout"], [":\u241Fab6947c0f33ef4dbeb1a52af1db5d1bf6b3a7ea2\u241F8874543985358049965:Voir tout"])));
22258
+ i18n_2 = $localize(templateObject_1$l || (templateObject_1$l = __makeTemplateObject([":\u241Fab6947c0f33ef4dbeb1a52af1db5d1bf6b3a7ea2\u241F8874543985358049965:Voir tout"], [":\u241Fab6947c0f33ef4dbeb1a52af1db5d1bf6b3a7ea2\u241F8874543985358049965:Voir tout"])));
22213
22259
  }
22214
22260
  var i18n_4;
22215
22261
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22217,7 +22263,7 @@
22217
22263
  i18n_4 = MSG_EXTERNAL_5011068305185462335$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_CATEGORY_CATALOG_CATEGORY_COMPONENT_TS___5;
22218
22264
  }
22219
22265
  else {
22220
- i18n_4 = $localize(templateObject_2$e || (templateObject_2$e = __makeTemplateObject([":\u241F8f2c8f66fed7cbda7649b4ba2320375ff7526dbb\u241F5011068305185462335: Chargement des r\u00E9sultats... "], [":\u241F8f2c8f66fed7cbda7649b4ba2320375ff7526dbb\u241F5011068305185462335: Chargement des r\u00E9sultats... "])));
22266
+ i18n_4 = $localize(templateObject_2$g || (templateObject_2$g = __makeTemplateObject([":\u241F8f2c8f66fed7cbda7649b4ba2320375ff7526dbb\u241F5011068305185462335: Chargement des r\u00E9sultats... "], [":\u241F8f2c8f66fed7cbda7649b4ba2320375ff7526dbb\u241F5011068305185462335: Chargement des r\u00E9sultats... "])));
22221
22267
  }
22222
22268
  return [["class", "miam-catalog-category", 4, "ngIf"], [1, "miam-catalog-category"], [1, "miam-catalog-category__header"], [1, "miam-catalog-category__title", 3, "click"], [1, "miam-catalog-category__header__bottom"], [1, "miam-catalog-category__subtitle", "miam-ds-text", "size-s", "weight-l"], [1, "miam-catalog-category__link", "miam-ds-text", "size-s", "weight-xl", 3, "click"], i18n_2, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/arrow-right.svg", "alt", "Arrow"], [1, "miam-catalog-category__content"], ["categoryContent", ""], [1, "miam-catalog-category__cards"], ["categoryCards", ""], ["class", "miam-catalog-category__loader", 4, "ngIf"], [3, "recipe", "displayInfos", "displayPricing", "displayVariant", "originTrace", 4, "ngFor", "ngForOf"], [3, "article", 4, "ngFor", "ngForOf"], [1, "miam-catalog-category__loader"], i18n_4, [3, "recipe", "displayInfos", "displayPricing", "displayVariant", "originTrace"], [3, "article"]];
22223
22269
  }, template: function CatalogCategoryComponent_Template(rf, ctx) {
@@ -22271,7 +22317,7 @@
22271
22317
  args: [RecipeCardComponent]
22272
22318
  }] });
22273
22319
  })();
22274
- var templateObject_1$j, templateObject_2$e;
22320
+ var templateObject_1$l, templateObject_2$g;
22275
22321
 
22276
22322
  var _c2$4 = function (a0) { return { "active": a0 }; };
22277
22323
  function CatalogHeaderComponent_a_6_Template(rf, ctx) {
@@ -22474,7 +22520,7 @@
22474
22520
  i18n_0 = MSG_EXTERNAL_8408582562313036652$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS__1;
22475
22521
  }
22476
22522
  else {
22477
- i18n_0 = $localize(templateObject_1$i || (templateObject_1$i = __makeTemplateObject([":\u241F3f30012e0912f74e7f63e47637dea7a01f9521fa\u241F8408582562313036652:Id\u00E9es repas"], [":\u241F3f30012e0912f74e7f63e47637dea7a01f9521fa\u241F8408582562313036652:Id\u00E9es repas"])));
22523
+ i18n_0 = $localize(templateObject_1$k || (templateObject_1$k = __makeTemplateObject([":\u241F3f30012e0912f74e7f63e47637dea7a01f9521fa\u241F8408582562313036652:Id\u00E9es repas"], [":\u241F3f30012e0912f74e7f63e47637dea7a01f9521fa\u241F8408582562313036652:Id\u00E9es repas"])));
22478
22524
  }
22479
22525
  var i18n_3;
22480
22526
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22482,7 +22528,7 @@
22482
22528
  i18n_3 = MSG_EXTERNAL_7217545850499052803$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___4;
22483
22529
  }
22484
22530
  else {
22485
- i18n_3 = $localize(templateObject_2$d || (templateObject_2$d = __makeTemplateObject([":\u241Ff396be5757e2439b5c112e5aec33b2d2cf2ff554\u241F7217545850499052803:Votre recherche :\u00A0"], [":\u241Ff396be5757e2439b5c112e5aec33b2d2cf2ff554\u241F7217545850499052803:Votre recherche :\u00A0"])));
22531
+ i18n_3 = $localize(templateObject_2$f || (templateObject_2$f = __makeTemplateObject([":\u241Ff396be5757e2439b5c112e5aec33b2d2cf2ff554\u241F7217545850499052803:Votre recherche :\u00A0"], [":\u241Ff396be5757e2439b5c112e5aec33b2d2cf2ff554\u241F7217545850499052803:Votre recherche :\u00A0"])));
22486
22532
  }
22487
22533
  var i18n_5;
22488
22534
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22490,7 +22536,7 @@
22490
22536
  i18n_5 = MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___6;
22491
22537
  }
22492
22538
  else {
22493
- i18n_5 = $localize(templateObject_3$a || (templateObject_3$a = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
22539
+ i18n_5 = $localize(templateObject_3$b || (templateObject_3$b = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
22494
22540
  }
22495
22541
  var i18n_7;
22496
22542
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22498,7 +22544,7 @@
22498
22544
  i18n_7 = MSG_EXTERNAL_3472368054805241582$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___8;
22499
22545
  }
22500
22546
  else {
22501
- i18n_7 = $localize(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject([":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"], [":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"])));
22547
+ i18n_7 = $localize(templateObject_4$a || (templateObject_4$a = __makeTemplateObject([":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"], [":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"])));
22502
22548
  }
22503
22549
  var i18n_9;
22504
22550
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22506,7 +22552,7 @@
22506
22552
  i18n_9 = MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___10;
22507
22553
  }
22508
22554
  else {
22509
- i18n_9 = $localize(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
22555
+ i18n_9 = $localize(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
22510
22556
  }
22511
22557
  var i18n_11;
22512
22558
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22514,7 +22560,7 @@
22514
22560
  i18n_11 = MSG_EXTERNAL_8529048627562842272$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_HEADER_CATALOG_HEADER_COMPONENT_TS___12;
22515
22561
  }
22516
22562
  else {
22517
- i18n_11 = $localize(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject([":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"], [":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"])));
22563
+ i18n_11 = $localize(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject([":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"], [":\u241Fc3f91aba0ecfc75cb49a3b7424823664075a1df8\u241F8529048627562842272:Id\u00E9es repas en 1 clic"])));
22518
22564
  }
22519
22565
  return [[1, "miam-catalog-header", 3, "ngClass"], [1, "miam-catalog-header__left"], [1, "miam-catalog-header__nav"], ["href", "/"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Home.svg", "alt", "Home"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Caret.svg", "alt", "Caret"], ["href", "javascript:void(0)", "class", "miam-ds-text size-s weight-l", 3, "ngClass", "click", 4, "ngIf"], ["href", "javascript:void(0)", 3, "ngClass", "click", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Caret.svg", "alt", "Caret", 4, "ngIf"], ["href", "javascript:void(0)", "class", "miam-ds-text size-s weight-xxl", 3, "ngClass", 4, "ngIf"], ["class", "miam-catalog-header__title-container", 4, "ngIf"], ["class", "miam-catalog-header__right", 3, "background-image", 4, "ngIf"], ["href", "javascript:void(0)", 1, "miam-ds-text", "size-s", "weight-l", 3, "ngClass", "click"], i18n_0, ["href", "javascript:void(0)", 3, "ngClass", "click"], ["href", "javascript:void(0)", 1, "miam-ds-text", "size-s", "weight-xxl", 3, "ngClass"], ["class", "miam-catalog-header__search-label", 4, "ngIf"], [4, "ngIf"], ["class", "miam-catalog-header__favorites-label", 4, "ngIf"], ["class", "miam-catalog-header__personal-label", 4, "ngIf"], ["class", "miam-catalog-header__category-label", 4, "ngIf"], ["class", "miam-catalog-header__default-label", 4, "ngIf"], [1, "miam-catalog-header__search-label"], i18n_3, [1, "miam-catalog-header__favorites-label"], i18n_5, [1, "miam-catalog-header__personal-label"], i18n_7, [1, "miam-catalog-header__category-label"], [1, "miam-catalog-header__default-label"], i18n_9, [1, "miam-catalog-header__title-container"], [1, "miam-catalog-header__title"], [4, "ngIf", "ngIfElse"], ["baseTitle", ""], i18n_11, [1, "miam-catalog-header__right"]];
22520
22566
  }, template: function CatalogHeaderComponent_Template(rf, ctx) {
@@ -22578,7 +22624,7 @@
22578
22624
  type: i0.Output
22579
22625
  }] });
22580
22626
  })();
22581
- var templateObject_1$i, templateObject_2$d, templateObject_3$a, templateObject_4$9, templateObject_5$8, templateObject_6$7;
22627
+ var templateObject_1$k, templateObject_2$f, templateObject_3$b, templateObject_4$a, templateObject_5$9, templateObject_6$8;
22582
22628
 
22583
22629
  function CatalogToolbarComponent_input_5_Template(rf, ctx) {
22584
22630
  if (rf & 1) {
@@ -22771,7 +22817,7 @@
22771
22817
  i18n_0 = MSG_EXTERNAL_9174301238530403624$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS_1;
22772
22818
  }
22773
22819
  else {
22774
- i18n_0 = $localize(templateObject_1$h || (templateObject_1$h = __makeTemplateObject([":\u241F06dc8ebc29adf50996bc1248febbc1793af51f9c\u241F9174301238530403624:Je cherche mon repas pr\u00E9f\u00E9r\u00E9"], [":\u241F06dc8ebc29adf50996bc1248febbc1793af51f9c\u241F9174301238530403624:Je cherche mon repas pr\u00E9f\u00E9r\u00E9"])));
22820
+ i18n_0 = $localize(templateObject_1$j || (templateObject_1$j = __makeTemplateObject([":\u241F06dc8ebc29adf50996bc1248febbc1793af51f9c\u241F9174301238530403624:Je cherche mon repas pr\u00E9f\u00E9r\u00E9"], [":\u241F06dc8ebc29adf50996bc1248febbc1793af51f9c\u241F9174301238530403624:Je cherche mon repas pr\u00E9f\u00E9r\u00E9"])));
22775
22821
  }
22776
22822
  var i18n_2;
22777
22823
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22779,7 +22825,7 @@
22779
22825
  i18n_2 = MSG_EXTERNAL_140134066175509828$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS_3;
22780
22826
  }
22781
22827
  else {
22782
- i18n_2 = $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject([":\u241F163d8165cbdd63855b00156be6328830a422815a\u241F140134066175509828:Je cherche un ingr\u00E9dient ou un repas"], [":\u241F163d8165cbdd63855b00156be6328830a422815a\u241F140134066175509828:Je cherche un ingr\u00E9dient ou un repas"])));
22828
+ i18n_2 = $localize(templateObject_2$e || (templateObject_2$e = __makeTemplateObject([":\u241F163d8165cbdd63855b00156be6328830a422815a\u241F140134066175509828:Je cherche un ingr\u00E9dient ou un repas"], [":\u241F163d8165cbdd63855b00156be6328830a422815a\u241F140134066175509828:Je cherche un ingr\u00E9dient ou un repas"])));
22783
22829
  }
22784
22830
  var i18n_4;
22785
22831
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22787,7 +22833,7 @@
22787
22833
  i18n_4 = MSG_EXTERNAL_7018050884147735331$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__5;
22788
22834
  }
22789
22835
  else {
22790
- i18n_4 = $localize(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject([":\u241F9c1ee9470393e19cd9dc0dac8c351c7115e89332\u241F7018050884147735331:Pr\u00E9f\u00E9rences"], [":\u241F9c1ee9470393e19cd9dc0dac8c351c7115e89332\u241F7018050884147735331:Pr\u00E9f\u00E9rences"])));
22836
+ i18n_4 = $localize(templateObject_3$a || (templateObject_3$a = __makeTemplateObject([":\u241F9c1ee9470393e19cd9dc0dac8c351c7115e89332\u241F7018050884147735331:Pr\u00E9f\u00E9rences"], [":\u241F9c1ee9470393e19cd9dc0dac8c351c7115e89332\u241F7018050884147735331:Pr\u00E9f\u00E9rences"])));
22791
22837
  }
22792
22838
  var i18n_6;
22793
22839
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22795,7 +22841,7 @@
22795
22841
  i18n_6 = MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS__7;
22796
22842
  }
22797
22843
  else {
22798
- i18n_6 = $localize(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
22844
+ i18n_6 = $localize(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
22799
22845
  }
22800
22846
  var i18n_8;
22801
22847
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22803,7 +22849,7 @@
22803
22849
  i18n_8 = MSG_EXTERNAL_3472368054805241582$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_CATALOG_TOOLBAR_CATALOG_TOOLBAR_COMPONENT_TS___9;
22804
22850
  }
22805
22851
  else {
22806
- i18n_8 = $localize(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"], [":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"])));
22852
+ i18n_8 = $localize(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject([":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"], [":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"])));
22807
22853
  }
22808
22854
  return [[1, "miam-catalog-toolbar"], [1, "miam-catalog-toolbar__searchbar-container"], [1, "miam-catalog-toolbar__searchbar", 3, "ngClass"], [1, "miam-ds-button", "ghost", "small", "square", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Search.svg", "alt", "Search"], ["type", "text", "placeholder", i18n_0, "class", "miam-ds-text size-s weight-l", 3, "ngModel", "ngModelChange", "keydown.enter", "blur", 4, "ngIf"], ["type", "text", "placeholder", i18n_2, "class", "miam-ds-text size-s weight-l", 3, "ngModel", "ngModelChange", "keydown.enter", "blur", 4, "ngIf"], ["class", "miam-catalog-toolbar__controls__filter miam-ds-button ghost square", 3, "click", 4, "ngIf"], ["class", "miam-recipe-toolbar__return-button miam-ds-button ghost square", 3, "click", 4, "ngIf"], [1, "miam-catalog-toolbar__buttons-container"], [1, "miam-ds-button", "miam-catalog-toolbar__controls__preferences", 3, "ngClass", "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cog_neutral.svg", "alt", "preference icon"], ["class", "miam-catalog-toolbar__controls__preferences-label", 4, "ngIf"], ["class", "miam-catalog-toolbar__controls__filter-badge", 4, "ngIf"], [1, "miam-ds-button", "miam-catalog-toolbar__controls__favorites", 3, "ngClass", "disabled", "click"], ["alt", "Heart", 3, "src"], ["class", "miam-catalog-toolbar__controls__favorites-label", 4, "ngIf"], ["class", "miam-ds-button miam-catalog-toolbar__controls__personal", 3, "ngClass", "click", 4, "ngIf"], ["type", "text", "placeholder", i18n_0, 1, "miam-ds-text", "size-s", "weight-l", 3, "ngModel", "ngModelChange", "keydown.enter", "blur"], ["type", "text", "placeholder", i18n_2, 1, "miam-ds-text", "size-s", "weight-l", 3, "ngModel", "ngModelChange", "keydown.enter", "blur"], [1, "miam-catalog-toolbar__controls__filter", "miam-ds-button", "ghost", "square", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Filters.svg", "alt", "Filters"], [1, "miam-catalog-toolbar__controls__filter-badge"], [1, "miam-recipe-toolbar__return-button", "miam-ds-button", "ghost", "square", 3, "click"], ["alt", "return", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_dark.svg"], [1, "miam-catalog-toolbar__controls__preferences-label"], i18n_4, [1, "miam-catalog-toolbar__controls__favorites-label"], i18n_6, [1, "miam-ds-button", "miam-catalog-toolbar__controls__personal", 3, "ngClass", "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ChefHat.svg", "alt", "Chef hat"], ["class", "miam-catalog-toolbar__controls__personal-label", 4, "ngIf"], [1, "miam-catalog-toolbar__controls__personal-label"], i18n_8];
22809
22855
  }, template: function CatalogToolbarComponent_Template(rf, ctx) {
@@ -22906,7 +22952,7 @@
22906
22952
  type: i0.Output
22907
22953
  }] });
22908
22954
  })();
22909
- var templateObject_1$h, templateObject_2$c, templateObject_3$9, templateObject_4$8, templateObject_5$7;
22955
+ var templateObject_1$j, templateObject_2$e, templateObject_3$a, templateObject_4$9, templateObject_5$8;
22910
22956
 
22911
22957
  function PreferencesSearchComponent_button_6_Template(rf, ctx) {
22912
22958
  if (rf & 1) {
@@ -22985,7 +23031,7 @@
22985
23031
  i18n_0 = MSG_EXTERNAL_9021248963263785450$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_SEARCH_PREFERENCES_SEARCH_COMPONENT_TS_1;
22986
23032
  }
22987
23033
  else {
22988
- i18n_0 = $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject([":\u241F73a5a020ba7825b2f8aef4e6b0f9b6d19642376b\u241F9021248963263785450:Je n'aime pas..."], [":\u241F73a5a020ba7825b2f8aef4e6b0f9b6d19642376b\u241F9021248963263785450:Je n'aime pas..."])));
23034
+ i18n_0 = $localize(templateObject_1$i || (templateObject_1$i = __makeTemplateObject([":\u241F73a5a020ba7825b2f8aef4e6b0f9b6d19642376b\u241F9021248963263785450:Je n'aime pas..."], [":\u241F73a5a020ba7825b2f8aef4e6b0f9b6d19642376b\u241F9021248963263785450:Je n'aime pas..."])));
22989
23035
  }
22990
23036
  var i18n_2;
22991
23037
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -22993,7 +23039,7 @@
22993
23039
  i18n_2 = MSG_EXTERNAL_9128422682433667832$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_SEARCH_PREFERENCES_SEARCH_COMPONENT_TS__3;
22994
23040
  }
22995
23041
  else {
22996
- i18n_2 = $localize(templateObject_2$b || (templateObject_2$b = __makeTemplateObject([":\u241F38065386474cc9d4fe2e88d29c68a73a845e1aaf\u241F9128422682433667832:Pas de panique, nous ne trouvons pas cet ingr\u00E9dient. Aucun risque de le retrouver dans votre assiette."], [":\u241F38065386474cc9d4fe2e88d29c68a73a845e1aaf\u241F9128422682433667832:Pas de panique, nous ne trouvons pas cet ingr\u00E9dient. Aucun risque de le retrouver dans votre assiette."])));
23042
+ i18n_2 = $localize(templateObject_2$d || (templateObject_2$d = __makeTemplateObject([":\u241F38065386474cc9d4fe2e88d29c68a73a845e1aaf\u241F9128422682433667832:Pas de panique, nous ne trouvons pas cet ingr\u00E9dient. Aucun risque de le retrouver dans votre assiette."], [":\u241F38065386474cc9d4fe2e88d29c68a73a845e1aaf\u241F9128422682433667832:Pas de panique, nous ne trouvons pas cet ingr\u00E9dient. Aucun risque de le retrouver dans votre assiette."])));
22997
23043
  }
22998
23044
  return [[1, "preferences__search"], [1, "preferences__search-bar"], ["alt", "search input", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Search.svg", 1, "preferences__search-img"], ["type", "text", "placeholder", i18n_0, 1, "preferences__search-bar-input", 3, "ngModel", "keyup"], [1, "miam-ds-button", "ghost", "small", "square", "preferences__clear-input-button", 3, "click"], ["alt", "clear input", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross_neutralBlack.svg", 1, "preferences__clear-input-img"], ["class", "preferences__suggested__tag", 3, "click", 4, "ngFor", "ngForOf"], ["class", "preferences__not-found", 4, "ngIf"], [1, "preferences__suggested__tag", 3, "click"], [1, "preferences__not-found"], i18n_2];
22999
23045
  }, template: function PreferencesSearchComponent_Template(rf, ctx) {
@@ -23038,7 +23084,7 @@
23038
23084
  type: i0.Output
23039
23085
  }] });
23040
23086
  })();
23041
- var templateObject_1$g, templateObject_2$b;
23087
+ var templateObject_1$i, templateObject_2$d;
23042
23088
 
23043
23089
  function PreferencesComponent_ng_container_3_Template(rf, ctx) {
23044
23090
  if (rf & 1) {
@@ -23426,7 +23472,7 @@
23426
23472
  i18n_0 = MSG_EXTERNAL_5401047837790415175$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_COMPONENT_TS__1;
23427
23473
  }
23428
23474
  else {
23429
- i18n_0 = $localize(templateObject_1$f || (templateObject_1$f = __makeTemplateObject([":\u241F3cd64c67f5fdb9c118c39a9d44e787d728cf6635\u241F5401047837790415175:Mes pr\u00E9f\u00E9rences"], [":\u241F3cd64c67f5fdb9c118c39a9d44e787d728cf6635\u241F5401047837790415175:Mes pr\u00E9f\u00E9rences"])));
23475
+ i18n_0 = $localize(templateObject_1$h || (templateObject_1$h = __makeTemplateObject([":\u241F3cd64c67f5fdb9c118c39a9d44e787d728cf6635\u241F5401047837790415175:Mes pr\u00E9f\u00E9rences"], [":\u241F3cd64c67f5fdb9c118c39a9d44e787d728cf6635\u241F5401047837790415175:Mes pr\u00E9f\u00E9rences"])));
23430
23476
  }
23431
23477
  var i18n_2;
23432
23478
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -23434,7 +23480,7 @@
23434
23480
  i18n_2 = MSG_EXTERNAL_905346266832710189$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_COMPONENT_TS__3;
23435
23481
  }
23436
23482
  else {
23437
- i18n_2 = $localize(templateObject_2$a || (templateObject_2$a = __makeTemplateObject([":\u241Fe2950f2d6627f941e2020bd3c5d8d39d603c95d5\u241F905346266832710189:Je n'aime pas"], [":\u241Fe2950f2d6627f941e2020bd3c5d8d39d603c95d5\u241F905346266832710189:Je n'aime pas"])));
23483
+ i18n_2 = $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject([":\u241Fe2950f2d6627f941e2020bd3c5d8d39d603c95d5\u241F905346266832710189:Je n'aime pas"], [":\u241Fe2950f2d6627f941e2020bd3c5d8d39d603c95d5\u241F905346266832710189:Je n'aime pas"])));
23438
23484
  }
23439
23485
  var i18n_4;
23440
23486
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -23442,7 +23488,7 @@
23442
23488
  i18n_4 = MSG_EXTERNAL_980939234227251011$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_COMPONENT_TS__5;
23443
23489
  }
23444
23490
  else {
23445
- i18n_4 = $localize(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject([":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"], [":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"])));
23491
+ i18n_4 = $localize(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject([":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"], [":\u241Fb5462e8e9bfa6bb68b925926189d10a75d115a6d\u241F980939234227251011:Nombre de personnes"])));
23446
23492
  }
23447
23493
  var i18n_6;
23448
23494
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -23450,7 +23496,7 @@
23450
23496
  i18n_6 = MSG_EXTERNAL_6845852566956999721$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_COMPONENT_TS__7;
23451
23497
  }
23452
23498
  else {
23453
- i18n_6 = $localize(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject([":\u241F8529f4d811af3225e63076b81598965dd9927c29\u241F6845852566956999721: Avez-vous un r\u00E9gime particulier ? "], [":\u241F8529f4d811af3225e63076b81598965dd9927c29\u241F6845852566956999721: Avez-vous un r\u00E9gime particulier ? "])));
23499
+ i18n_6 = $localize(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject([":\u241F8529f4d811af3225e63076b81598965dd9927c29\u241F6845852566956999721: Avez-vous un r\u00E9gime particulier ? "], [":\u241F8529f4d811af3225e63076b81598965dd9927c29\u241F6845852566956999721: Avez-vous un r\u00E9gime particulier ? "])));
23454
23500
  }
23455
23501
  var i18n_8;
23456
23502
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -23458,7 +23504,7 @@
23458
23504
  i18n_8 = MSG_EXTERNAL_428330970509638390$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_COMPONENT_TS__9;
23459
23505
  }
23460
23506
  else {
23461
- i18n_8 = $localize(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject([":\u241F6625d9519b65462bd5c19dd4b51b1a5d786e46d0\u241F428330970509638390: Je n'aime pas "], [":\u241F6625d9519b65462bd5c19dd4b51b1a5d786e46d0\u241F428330970509638390: Je n'aime pas "])));
23507
+ i18n_8 = $localize(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([":\u241F6625d9519b65462bd5c19dd4b51b1a5d786e46d0\u241F428330970509638390: Je n'aime pas "], [":\u241F6625d9519b65462bd5c19dd4b51b1a5d786e46d0\u241F428330970509638390: Je n'aime pas "])));
23462
23508
  }
23463
23509
  var i18n_10;
23464
23510
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -23466,7 +23512,7 @@
23466
23512
  i18n_10 = MSG_EXTERNAL_70397346439942337$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_COMPONENT_TS__11;
23467
23513
  }
23468
23514
  else {
23469
- i18n_10 = $localize(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
23515
+ i18n_10 = $localize(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
23470
23516
  }
23471
23517
  var i18n_12;
23472
23518
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -23474,7 +23520,7 @@
23474
23520
  i18n_12 = MSG_EXTERNAL_4054406048657760914$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_COMPONENT_TS__13;
23475
23521
  }
23476
23522
  else {
23477
- i18n_12 = $localize(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject([":\u241F35c66edf53e6f56428e31f120e16be7b6b666ebc\u241F4054406048657760914: Mes \u00E9quipements "], [":\u241F35c66edf53e6f56428e31f120e16be7b6b666ebc\u241F4054406048657760914: Mes \u00E9quipements "])));
23523
+ i18n_12 = $localize(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject([":\u241F35c66edf53e6f56428e31f120e16be7b6b666ebc\u241F4054406048657760914: Mes \u00E9quipements "], [":\u241F35c66edf53e6f56428e31f120e16be7b6b666ebc\u241F4054406048657760914: Mes \u00E9quipements "])));
23478
23524
  }
23479
23525
  var i18n_14;
23480
23526
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -23482,7 +23528,7 @@
23482
23528
  i18n_14 = MSG_EXTERNAL_4359053901144852078$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_COMPONENT_TS__15;
23483
23529
  }
23484
23530
  else {
23485
- i18n_14 = $localize(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject([":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"], [":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"])));
23531
+ i18n_14 = $localize(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject([":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"], [":\u241F515812e22dc3f7668cb6ad93e54740e5c1a140b0\u241F4359053901144852078:R\u00E9initialiser"])));
23486
23532
  }
23487
23533
  var i18n_16;
23488
23534
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -23490,7 +23536,7 @@
23490
23536
  i18n_16 = MSG_EXTERNAL_4160637687093543290$$LIB__WEB_COMPONENTS_PREFERENCES_PREFERENCES_COMPONENT_TS__17;
23491
23537
  }
23492
23538
  else {
23493
- i18n_16 = $localize(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject([":\u241Fd52eb7599c75829bf96401d33dfdad4f9857822b\u241F4160637687093543290:Appliquer"], [":\u241Fd52eb7599c75829bf96401d33dfdad4f9857822b\u241F4160637687093543290:Appliquer"])));
23539
+ i18n_16 = $localize(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject([":\u241Fd52eb7599c75829bf96401d33dfdad4f9857822b\u241F4160637687093543290:Appliquer"], [":\u241Fd52eb7599c75829bf96401d33dfdad4f9857822b\u241F4160637687093543290:Appliquer"])));
23494
23540
  }
23495
23541
  return [["modalStyle", "right", 3, "noHeaderMode", "display", "close"], [1, "miam-preferences"], [1, "miam-preferences__header"], [4, "ngIf"], ["class", "miam-preferences_nav-and-title", 4, "ngIf"], [1, "miam-ds-button", "ghost", "square", "miam-preferences__back-button", 3, "click"], ["alt", "go back", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/arrow-right.svg", 1, "miam-preferences__back-image"], [1, "miam-ds-text", "size-l", "weight-xxl", "miam-preferences__title"], i18n_0, [1, "miam-ds-button", "ghost", "square", "miam-preferences__close-button", 3, "click"], ["alt", "close modal", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross_primary.svg", 1, "miam-preferences__close-image"], [1, "miam-preferences_nav-and-title"], [1, "miam-ds-button", "ghost", "square", "miam-preferences__search-back-button", 3, "click"], i18n_2, [1, "miam-preferences__guests"], [1, "miam-ds-text", "miam-preferences_guest-label"], i18n_4, [1, "miam-preferences_guest-counter", 3, "value", "valueChange"], [1, "miam-preferences__diet-section", 3, "isCollapsed", "isCollapsedChange"], [1, "miam-ds-text", "weight-xl"], i18n_6, [1, "miam-preferences__list"], ["class", "miam-preferences__list__item miam-ds-checkbox", 3, "click", 4, "ngFor", "ngForOf"], [1, "miam-preferences__dislikes-section", 3, "isCollapsed", "isCollapsedChange"], i18n_8, ["class", "miam-ds-badge miam-preferences__badge", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "miam-ds-badge", "miam-preferences__badge", 3, "click"], [1, "miam-preferences__badge_label"], i18n_10, ["alt", "add dislikes", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/plus-neutral-black.svg"], [1, "miam-preferences__equipments-section", 3, "isCollapsed", "isCollapsedChange"], i18n_12, [1, "miam-preferences__footer"], [1, "miam-ds-button", "secondary", "miam-preferences__footer__reset", 3, "click"], i18n_14, [1, "miam-ds-button", "primary", "miam-preferences__footer__recipes", 3, "click"], i18n_16, [1, "miam-preferences__list__item", "miam-ds-checkbox", 3, "click"], [1, "miam-ds-text", "miam-preferences__list__item__name"], ["type", "checkbox", 3, "checked"], [1, "miam-ds-badge", "miam-preferences__badge", 3, "ngClass", "click"], ["class", "miam-preferences__remove-tag", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross.svg", 3, "alt", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross.svg", 1, "miam-preferences__remove-tag", 3, "alt"], [1, "miam-preferences__list__item__name"], [3, "backAndReload"]];
23496
23542
  }, template: function PreferencesComponent_Template(rf, ctx) {
@@ -23539,7 +23585,7 @@
23539
23585
  type: i0.Input
23540
23586
  }] });
23541
23587
  })();
23542
- var templateObject_1$f, templateObject_2$a, templateObject_3$8, templateObject_4$7, templateObject_5$6, templateObject_6$6, templateObject_7$5, templateObject_8$2, templateObject_9$2;
23588
+ var templateObject_1$h, templateObject_2$c, templateObject_3$9, templateObject_4$8, templateObject_5$7, templateObject_6$7, templateObject_7$6, templateObject_8$3, templateObject_9$3;
23543
23589
 
23544
23590
  function RecipeFormComponent_form_0_ng_template_3_Template(rf, ctx) {
23545
23591
  if (rf & 1) {
@@ -24028,7 +24074,7 @@
24028
24074
  i18n_0 = MSG_EXTERNAL_1711750570766225138$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_FORM_RECIPE_FORM_COMPONENT_TS_1;
24029
24075
  }
24030
24076
  else {
24031
- i18n_0 = $localize(templateObject_1$e || (templateObject_1$e = __makeTemplateObject([":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"], [":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"])));
24077
+ i18n_0 = $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject([":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"], [":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"])));
24032
24078
  }
24033
24079
  var i18n_2;
24034
24080
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24036,7 +24082,7 @@
24036
24082
  i18n_2 = MSG_EXTERNAL_1017260045497969686$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_FORM_RECIPE_FORM_COMPONENT_TS_3;
24037
24083
  }
24038
24084
  else {
24039
- i18n_2 = $localize(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject([":\u241F96f1d34531cffd53eb8ac83937bc5301e8c882c2\u241F1017260045497969686: Enregistrer la recette "], [":\u241F96f1d34531cffd53eb8ac83937bc5301e8c882c2\u241F1017260045497969686: Enregistrer la recette "])));
24085
+ i18n_2 = $localize(templateObject_2$b || (templateObject_2$b = __makeTemplateObject([":\u241F96f1d34531cffd53eb8ac83937bc5301e8c882c2\u241F1017260045497969686: Enregistrer la recette "], [":\u241F96f1d34531cffd53eb8ac83937bc5301e8c882c2\u241F1017260045497969686: Enregistrer la recette "])));
24040
24086
  }
24041
24087
  var i18n_4;
24042
24088
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24044,7 +24090,7 @@
24044
24090
  i18n_4 = MSG_EXTERNAL_71394326071133031$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_FORM_RECIPE_FORM_COMPONENT_TS__5;
24045
24091
  }
24046
24092
  else {
24047
- i18n_4 = $localize(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject([":\u241F9ea7d16d4d768d931934d11267eab0fa2465b9af\u241F71394326071133031:Nombre de convives"], [":\u241F9ea7d16d4d768d931934d11267eab0fa2465b9af\u241F71394326071133031:Nombre de convives"])));
24093
+ i18n_4 = $localize(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject([":\u241F9ea7d16d4d768d931934d11267eab0fa2465b9af\u241F71394326071133031:Nombre de convives"], [":\u241F9ea7d16d4d768d931934d11267eab0fa2465b9af\u241F71394326071133031:Nombre de convives"])));
24048
24094
  }
24049
24095
  var i18n_6;
24050
24096
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24052,7 +24098,7 @@
24052
24098
  i18n_6 = MSG_EXTERNAL_2356701248526522547$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_FORM_RECIPE_FORM_COMPONENT_TS___7;
24053
24099
  }
24054
24100
  else {
24055
- i18n_6 = $localize(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject([":\u241F312a5f684a61a21bb47b38ff2975a5cb745bc3ec\u241F2356701248526522547:Titre de la recette"], [":\u241F312a5f684a61a21bb47b38ff2975a5cb745bc3ec\u241F2356701248526522547:Titre de la recette"])));
24101
+ i18n_6 = $localize(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject([":\u241F312a5f684a61a21bb47b38ff2975a5cb745bc3ec\u241F2356701248526522547:Titre de la recette"], [":\u241F312a5f684a61a21bb47b38ff2975a5cb745bc3ec\u241F2356701248526522547:Titre de la recette"])));
24056
24102
  }
24057
24103
  var i18n_8;
24058
24104
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24060,7 +24106,7 @@
24060
24106
  i18n_8 = MSG_EXTERNAL_4142863621251590306$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_FORM_RECIPE_FORM_COMPONENT_TS___9;
24061
24107
  }
24062
24108
  else {
24063
- i18n_8 = $localize(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject([":\u241Ffb8b4b6668befda8fc42e047c9b246d4777a881b\u241F4142863621251590306:Ajouter une photo"], [":\u241Ffb8b4b6668befda8fc42e047c9b246d4777a881b\u241F4142863621251590306:Ajouter une photo"])));
24109
+ i18n_8 = $localize(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject([":\u241Ffb8b4b6668befda8fc42e047c9b246d4777a881b\u241F4142863621251590306:Ajouter une photo"], [":\u241Ffb8b4b6668befda8fc42e047c9b246d4777a881b\u241F4142863621251590306:Ajouter une photo"])));
24064
24110
  }
24065
24111
  var i18n_10;
24066
24112
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24068,7 +24114,7 @@
24068
24114
  i18n_10 = MSG_EXTERNAL_4572808970531890280$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_FORM_RECIPE_FORM_COMPONENT_TS____11;
24069
24115
  }
24070
24116
  else {
24071
- i18n_10 = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":\u241F1bf4b0fad491a1a0e696a667d19d9d3dc115e765\u241F4572808970531890280:Temps de pr\u00E9paration"], [":\u241F1bf4b0fad491a1a0e696a667d19d9d3dc115e765\u241F4572808970531890280:Temps de pr\u00E9paration"])));
24117
+ i18n_10 = $localize(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject([":\u241F1bf4b0fad491a1a0e696a667d19d9d3dc115e765\u241F4572808970531890280:Temps de pr\u00E9paration"], [":\u241F1bf4b0fad491a1a0e696a667d19d9d3dc115e765\u241F4572808970531890280:Temps de pr\u00E9paration"])));
24072
24118
  }
24073
24119
  var i18n_12;
24074
24120
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24076,7 +24122,7 @@
24076
24122
  i18n_12 = MSG_EXTERNAL_2393638591256907077$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_FORM_RECIPE_FORM_COMPONENT_TS____13;
24077
24123
  }
24078
24124
  else {
24079
- i18n_12 = $localize(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject([":\u241Fa07c8ead07ddd40255963068a22a49f100921fdc\u241F2393638591256907077:Temps de cuisson"], [":\u241Fa07c8ead07ddd40255963068a22a49f100921fdc\u241F2393638591256907077:Temps de cuisson"])));
24125
+ i18n_12 = $localize(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject([":\u241Fa07c8ead07ddd40255963068a22a49f100921fdc\u241F2393638591256907077:Temps de cuisson"], [":\u241Fa07c8ead07ddd40255963068a22a49f100921fdc\u241F2393638591256907077:Temps de cuisson"])));
24080
24126
  }
24081
24127
  var i18n_14;
24082
24128
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24084,7 +24130,7 @@
24084
24130
  i18n_14 = MSG_EXTERNAL_6072926011312884563$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_FORM_RECIPE_FORM_COMPONENT_TS____15;
24085
24131
  }
24086
24132
  else {
24087
- i18n_14 = $localize(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject([":\u241Fe40e4ebcc3a18cd368968dc4398614113b47b366\u241F6072926011312884563:Temps de repos"], [":\u241Fe40e4ebcc3a18cd368968dc4398614113b47b366\u241F6072926011312884563:Temps de repos"])));
24133
+ i18n_14 = $localize(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject([":\u241Fe40e4ebcc3a18cd368968dc4398614113b47b366\u241F6072926011312884563:Temps de repos"], [":\u241Fe40e4ebcc3a18cd368968dc4398614113b47b366\u241F6072926011312884563:Temps de repos"])));
24088
24134
  }
24089
24135
  var i18n_16;
24090
24136
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24092,7 +24138,7 @@
24092
24138
  i18n_16 = MSG_EXTERNAL_4124824446230222423$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_FORM_RECIPE_FORM_COMPONENT_TS____17;
24093
24139
  }
24094
24140
  else {
24095
- i18n_16 = $localize(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject([":\u241Ff959874631711aa56d6caaaa49ad684b4ba32ed0\u241F4124824446230222423:Temps de pr\u00E9chauffage"], [":\u241Ff959874631711aa56d6caaaa49ad684b4ba32ed0\u241F4124824446230222423:Temps de pr\u00E9chauffage"])));
24141
+ i18n_16 = $localize(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject([":\u241Ff959874631711aa56d6caaaa49ad684b4ba32ed0\u241F4124824446230222423:Temps de pr\u00E9chauffage"], [":\u241Ff959874631711aa56d6caaaa49ad684b4ba32ed0\u241F4124824446230222423:Temps de pr\u00E9chauffage"])));
24096
24142
  }
24097
24143
  return [["class", "form-container", 3, "formGroup", 4, "ngIf"], [1, "button-row"], [1, "m-button-secondary", 3, "click"], i18n_0, [1, "m-button-primary", 3, "disabled", "click"], i18n_2, [1, "form-container", 3, "formGroup"], [3, "formGroup"], ["ngDefaultControl", "", 1, "m-title-text-input", 3, "formControl"], ["placeholder", ""], [1, "row-container"], [1, "input-container"], ["ngDefaultControl", "", 3, "formControl", "imageUrl", "photoMode"], ["buttonText", ""], [1, "recipe-form__guests", "m-default-card"], [1, "recipe-form__guests__label"], i18n_4, ["ngDefaultControl", "", "formControlName", "number-of-guests", "value", "4", "minRange", "0", "maxRange", "999", 3, "formControl"], [1, "recipe-form__attibutes"], [1, "recipe-form__attibutes__sliders"], [1, "recipe-form__attibutes__slider"], ["ngDefaultControl", "", 3, "steps", "formControl", "icons"], ["class", "recipe-form__attibutes__times", 4, "ngIf"], ["ngDefaultControl", "", "formArrayName", "ingredients", 3, "ingredientMode", "list", "deleteId"], ["ngDefaultControl", "", "formArrayName", "steps", 3, "list", "deleteId"], i18n_6, i18n_8, [1, "recipe-form__attibutes__times"], ["ngDefaultControl", "", 3, "formControl", "icon"], ["title", ""], i18n_10, i18n_12, i18n_14, i18n_16];
24098
24144
  }, template: function RecipeFormComponent_Template(rf, ctx) {
@@ -24141,7 +24187,7 @@
24141
24187
  type: i0.Output
24142
24188
  }] });
24143
24189
  })();
24144
- var templateObject_1$e, templateObject_2$9, templateObject_3$7, templateObject_4$6, templateObject_5$5, templateObject_6$5, templateObject_7$4, templateObject_8$1, templateObject_9$1;
24190
+ var templateObject_1$g, templateObject_2$b, templateObject_3$8, templateObject_4$7, templateObject_5$6, templateObject_6$6, templateObject_7$5, templateObject_8$2, templateObject_9$2;
24145
24191
 
24146
24192
  function TagsCreatorComponent_ng_miam_modal_0_Template(rf, ctx) {
24147
24193
  if (rf & 1) {
@@ -24202,7 +24248,7 @@
24202
24248
  i18n_0 = MSG_EXTERNAL_3391792799402335783$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_CREATOR_TAGS_CREATOR_COMPONENT_TS_1;
24203
24249
  }
24204
24250
  else {
24205
- i18n_0 = $localize(templateObject_1$d || (templateObject_1$d = __makeTemplateObject([":\u241F49ccc54d840caf7373bf84c67fbd8dee146321e1\u241F3391792799402335783:Nouveau Tag"], [":\u241F49ccc54d840caf7373bf84c67fbd8dee146321e1\u241F3391792799402335783:Nouveau Tag"])));
24251
+ i18n_0 = $localize(templateObject_1$f || (templateObject_1$f = __makeTemplateObject([":\u241F49ccc54d840caf7373bf84c67fbd8dee146321e1\u241F3391792799402335783:Nouveau Tag"], [":\u241F49ccc54d840caf7373bf84c67fbd8dee146321e1\u241F3391792799402335783:Nouveau Tag"])));
24206
24252
  }
24207
24253
  var i18n_2;
24208
24254
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24210,7 +24256,7 @@
24210
24256
  i18n_2 = MSG_EXTERNAL_1711750570766225138$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_CREATOR_TAGS_CREATOR_COMPONENT_TS_3;
24211
24257
  }
24212
24258
  else {
24213
- i18n_2 = $localize(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject([":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"], [":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"])));
24259
+ i18n_2 = $localize(templateObject_2$a || (templateObject_2$a = __makeTemplateObject([":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"], [":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"])));
24214
24260
  }
24215
24261
  var i18n_4;
24216
24262
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24218,7 +24264,7 @@
24218
24264
  i18n_4 = MSG_EXTERNAL_9222330152375559662$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_CREATOR_TAGS_CREATOR_COMPONENT_TS_5;
24219
24265
  }
24220
24266
  else {
24221
- i18n_4 = $localize(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject([":\u241F30a34083240dc18e84ba37513fa6a1cf320f443c\u241F9222330152375559662:Cr\u00E9er"], [":\u241F30a34083240dc18e84ba37513fa6a1cf320f443c\u241F9222330152375559662:Cr\u00E9er"])));
24267
+ i18n_4 = $localize(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject([":\u241F30a34083240dc18e84ba37513fa6a1cf320f443c\u241F9222330152375559662:Cr\u00E9er"], [":\u241F30a34083240dc18e84ba37513fa6a1cf320f443c\u241F9222330152375559662:Cr\u00E9er"])));
24222
24268
  }
24223
24269
  var i18n_6;
24224
24270
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24226,7 +24272,7 @@
24226
24272
  i18n_6 = MSG_EXTERNAL_2085089061823165347$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_CREATOR_TAGS_CREATOR_COMPONENT_TS__7;
24227
24273
  }
24228
24274
  else {
24229
- i18n_6 = $localize(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject([":\u241F387f7490e7233f6df0794d40c96af50417d823d4\u241F2085089061823165347:Nom du tag"], [":\u241F387f7490e7233f6df0794d40c96af50417d823d4\u241F2085089061823165347:Nom du tag"])));
24275
+ i18n_6 = $localize(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject([":\u241F387f7490e7233f6df0794d40c96af50417d823d4\u241F2085089061823165347:Nom du tag"], [":\u241F387f7490e7233f6df0794d40c96af50417d823d4\u241F2085089061823165347:Nom du tag"])));
24230
24276
  }
24231
24277
  return [["title", i18n_0, "cancelButtonText", i18n_2, "confirmButtonText", i18n_4, "modalStyle", "right", 3, "noHeaderMode", "display", "confirmButtonIsLoading", "close", "cancel", "confirm", 4, "ngIf"], ["title", i18n_0, "cancelButtonText", i18n_2, "confirmButtonText", i18n_4, "modalStyle", "right", 3, "noHeaderMode", "display", "confirmButtonIsLoading", "close", "cancel", "confirm"], [1, "tags-creator"], ["for", "tag-name"], i18n_6, ["type", "text", "id", "tag-name", "name", "tag-name", 3, "ngModel", "ngModelChange"]];
24232
24278
  }, template: function TagsCreatorComponent_Template(rf, ctx) {
@@ -24259,7 +24305,7 @@
24259
24305
  type: i0.Output
24260
24306
  }] });
24261
24307
  })();
24262
- var templateObject_1$d, templateObject_2$8, templateObject_3$6, templateObject_4$5;
24308
+ var templateObject_1$f, templateObject_2$a, templateObject_3$7, templateObject_4$6;
24263
24309
 
24264
24310
  function TagsSelectorComponent_ng_miam_modal_0_div_12_Template(rf, ctx) {
24265
24311
  if (rf & 1) {
@@ -24473,7 +24519,7 @@
24473
24519
  i18n_0 = MSG_EXTERNAL_2886222452920795806$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_SELECTOR_TAGS_SELECTOR_COMPONENT_TS_1;
24474
24520
  }
24475
24521
  else {
24476
- i18n_0 = $localize(templateObject_1$c || (templateObject_1$c = __makeTemplateObject([":\u241F1b42feb0ddb0cd94b0ece9294f1d94d0db1b1b75\u241F2886222452920795806:Ajoutez des tags \u00E0 la recette"], [":\u241F1b42feb0ddb0cd94b0ece9294f1d94d0db1b1b75\u241F2886222452920795806:Ajoutez des tags \u00E0 la recette"])));
24522
+ i18n_0 = $localize(templateObject_1$e || (templateObject_1$e = __makeTemplateObject([":\u241F1b42feb0ddb0cd94b0ece9294f1d94d0db1b1b75\u241F2886222452920795806:Ajoutez des tags \u00E0 la recette"], [":\u241F1b42feb0ddb0cd94b0ece9294f1d94d0db1b1b75\u241F2886222452920795806:Ajoutez des tags \u00E0 la recette"])));
24477
24523
  }
24478
24524
  var i18n_2;
24479
24525
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24481,7 +24527,7 @@
24481
24527
  i18n_2 = MSG_EXTERNAL_1711750570766225138$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_SELECTOR_TAGS_SELECTOR_COMPONENT_TS_3;
24482
24528
  }
24483
24529
  else {
24484
- i18n_2 = $localize(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject([":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"], [":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"])));
24530
+ i18n_2 = $localize(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject([":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"], [":\u241F12380235948088ddf227ad226ce8a2ae63878fe5\u241F1711750570766225138:Annuler"])));
24485
24531
  }
24486
24532
  var i18n_4;
24487
24533
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24489,7 +24535,7 @@
24489
24535
  i18n_4 = MSG_EXTERNAL_70397346439942337$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_SELECTOR_TAGS_SELECTOR_COMPONENT_TS_5;
24490
24536
  }
24491
24537
  else {
24492
- i18n_4 = $localize(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
24538
+ i18n_4 = $localize(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
24493
24539
  }
24494
24540
  var i18n_6;
24495
24541
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24497,7 +24543,7 @@
24497
24543
  i18n_6 = MSG_EXTERNAL_3382889714979906141$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_SELECTOR_TAGS_SELECTOR_COMPONENT_TS__7;
24498
24544
  }
24499
24545
  else {
24500
- i18n_6 = $localize(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject([":\u241F1f162c229c7251bff76c426e1996ec2e8027a614\u241F3382889714979906141: Type de plat "], [":\u241F1f162c229c7251bff76c426e1996ec2e8027a614\u241F3382889714979906141: Type de plat "])));
24546
+ i18n_6 = $localize(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject([":\u241F1f162c229c7251bff76c426e1996ec2e8027a614\u241F3382889714979906141: Type de plat "], [":\u241F1f162c229c7251bff76c426e1996ec2e8027a614\u241F3382889714979906141: Type de plat "])));
24501
24547
  }
24502
24548
  var i18n_8;
24503
24549
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24505,7 +24551,7 @@
24505
24551
  i18n_8 = MSG_EXTERNAL_2575761888491507638$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_SELECTOR_TAGS_SELECTOR_COMPONENT_TS__9;
24506
24552
  }
24507
24553
  else {
24508
- i18n_8 = $localize(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject([":\u241F13a158067c29e5c5211ea07d687c286c5ba99516\u241F2575761888491507638: Famille d'ingr\u00E9dients "], [":\u241F13a158067c29e5c5211ea07d687c286c5ba99516\u241F2575761888491507638: Famille d'ingr\u00E9dients "])));
24554
+ i18n_8 = $localize(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject([":\u241F13a158067c29e5c5211ea07d687c286c5ba99516\u241F2575761888491507638: Famille d'ingr\u00E9dients "], [":\u241F13a158067c29e5c5211ea07d687c286c5ba99516\u241F2575761888491507638: Famille d'ingr\u00E9dients "])));
24509
24555
  }
24510
24556
  var i18n_10;
24511
24557
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24513,7 +24559,7 @@
24513
24559
  i18n_10 = MSG_EXTERNAL_562570764080840354$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_SELECTOR_TAGS_SELECTOR_COMPONENT_TS__11;
24514
24560
  }
24515
24561
  else {
24516
- i18n_10 = $localize(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject([":\u241F94277b31f832a31dde2e1753c80b41b29ca0b80c\u241F562570764080840354: \u00C9quipements "], [":\u241F94277b31f832a31dde2e1753c80b41b29ca0b80c\u241F562570764080840354: \u00C9quipements "])));
24562
+ i18n_10 = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":\u241F94277b31f832a31dde2e1753c80b41b29ca0b80c\u241F562570764080840354: \u00C9quipements "], [":\u241F94277b31f832a31dde2e1753c80b41b29ca0b80c\u241F562570764080840354: \u00C9quipements "])));
24517
24563
  }
24518
24564
  var i18n_12;
24519
24565
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -24521,7 +24567,7 @@
24521
24567
  i18n_12 = MSG_EXTERNAL_4451987513851412958$$LIB__WEB_COMPONENTS_RECIPE_CREATION_TAGS_SELECTOR_TAGS_SELECTOR_COMPONENT_TS__13;
24522
24568
  }
24523
24569
  else {
24524
- i18n_12 = $localize(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject([":\u241Fd2b1f31f9c08d4d9ad0ac015b42eee66c7165a4e\u241F4451987513851412958: R\u00E9gimes alimentaires "], [":\u241Fd2b1f31f9c08d4d9ad0ac015b42eee66c7165a4e\u241F4451987513851412958: R\u00E9gimes alimentaires "])));
24570
+ i18n_12 = $localize(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject([":\u241Fd2b1f31f9c08d4d9ad0ac015b42eee66c7165a4e\u241F4451987513851412958: R\u00E9gimes alimentaires "], [":\u241Fd2b1f31f9c08d4d9ad0ac015b42eee66c7165a4e\u241F4451987513851412958: R\u00E9gimes alimentaires "])));
24525
24571
  }
24526
24572
  return [["title", i18n_0, "cancelButtonText", i18n_2, "confirmButtonText", i18n_4, "modalStyle", "right", 3, "noHeaderMode", "display", "close", "cancel", "confirm", 4, "ngIf", "ngIfElse"], ["tagsCreator", ""], ["title", i18n_0, "cancelButtonText", i18n_2, "confirmButtonText", i18n_4, "modalStyle", "right", 3, "noHeaderMode", "display", "close", "cancel", "confirm"], [1, "tags-selector"], [1, "tags-selector__selectors"], [1, "tags-selector__selector", 3, "ngClass", "click"], i18n_6, i18n_8, i18n_10, i18n_12, [1, "tags-selector__tags"], ["class", "tags-selector__tag", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], ["class", "tags-selector__tag", 3, "click", 4, "ngIf"], [1, "tags-selector__tag", 3, "ngClass", "click"], [1, "tags-selector__tag", 3, "click"], [3, "iconName"], [3, "display", "currentRecipe", "currentTagType", "close", "submit", 4, "ngIf"], [3, "display", "currentRecipe", "currentTagType", "close", "submit"]];
24527
24573
  }, template: function TagsSelectorComponent_Template(rf, ctx) {
@@ -24556,7 +24602,7 @@
24556
24602
  type: i0.Output
24557
24603
  }] });
24558
24604
  })();
24559
- var templateObject_1$c, templateObject_2$7, templateObject_3$5, templateObject_4$4, templateObject_5$4, templateObject_6$4, templateObject_7$3;
24605
+ var templateObject_1$e, templateObject_2$9, templateObject_3$6, templateObject_4$5, templateObject_5$5, templateObject_6$5, templateObject_7$4;
24560
24606
 
24561
24607
  var _c0$3 = ["topAnchor"];
24562
24608
  var _c1$2 = ["stepperLinks"];
@@ -25041,7 +25087,7 @@
25041
25087
  i18n_3 = MSG_EXTERNAL_8168765646794661881$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS_4;
25042
25088
  }
25043
25089
  else {
25044
- i18n_3 = $localize(templateObject_1$b || (templateObject_1$b = __makeTemplateObject([":\u241F7582755e46cff3b0d29465ce750a51c9b841ae9f\u241F8168765646794661881:Retour"], [":\u241F7582755e46cff3b0d29465ce750a51c9b841ae9f\u241F8168765646794661881:Retour"])));
25090
+ i18n_3 = $localize(templateObject_1$d || (templateObject_1$d = __makeTemplateObject([":\u241F7582755e46cff3b0d29465ce750a51c9b841ae9f\u241F8168765646794661881:Retour"], [":\u241F7582755e46cff3b0d29465ce750a51c9b841ae9f\u241F8168765646794661881:Retour"])));
25045
25091
  }
25046
25092
  var i18n_5;
25047
25093
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25049,7 +25095,7 @@
25049
25095
  i18n_5 = MSG_EXTERNAL_2366935786438666614$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS_6;
25050
25096
  }
25051
25097
  else {
25052
- i18n_5 = $localize(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject([":\u241Fbd154a9441096bace6ef74d094ac095223ff9a77\u241F2366935786438666614:Ma recette"], [":\u241Fbd154a9441096bace6ef74d094ac095223ff9a77\u241F2366935786438666614:Ma recette"])));
25098
+ i18n_5 = $localize(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject([":\u241Fbd154a9441096bace6ef74d094ac095223ff9a77\u241F2366935786438666614:Ma recette"], [":\u241Fbd154a9441096bace6ef74d094ac095223ff9a77\u241F2366935786438666614:Ma recette"])));
25053
25099
  }
25054
25100
  var i18n_7;
25055
25101
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25057,7 +25103,7 @@
25057
25103
  i18n_7 = MSG_EXTERNAL_4902817035128594900$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS_8;
25058
25104
  }
25059
25105
  else {
25060
- i18n_7 = $localize(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject([":\u241Feec715de352a6b114713b30b640d319fa78207a0\u241F4902817035128594900:Description"], [":\u241Feec715de352a6b114713b30b640d319fa78207a0\u241F4902817035128594900:Description"])));
25106
+ i18n_7 = $localize(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject([":\u241Feec715de352a6b114713b30b640d319fa78207a0\u241F4902817035128594900:Description"], [":\u241Feec715de352a6b114713b30b640d319fa78207a0\u241F4902817035128594900:Description"])));
25061
25107
  }
25062
25108
  var i18n_9;
25063
25109
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25065,7 +25111,7 @@
25065
25111
  i18n_9 = MSG_EXTERNAL_113705676033818564$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS_10;
25066
25112
  }
25067
25113
  else {
25068
- i18n_9 = $localize(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject([":\u241Fab3acd9b11f096a99bcf748296bb5b4fb11048be\u241F113705676033818564:Ingr\u00E9dients & \u00C9tapes"], [":\u241Fab3acd9b11f096a99bcf748296bb5b4fb11048be\u241F113705676033818564:Ingr\u00E9dients & \u00C9tapes"])));
25114
+ i18n_9 = $localize(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject([":\u241Fab3acd9b11f096a99bcf748296bb5b4fb11048be\u241F113705676033818564:Ingr\u00E9dients & \u00C9tapes"], [":\u241Fab3acd9b11f096a99bcf748296bb5b4fb11048be\u241F113705676033818564:Ingr\u00E9dients & \u00C9tapes"])));
25069
25115
  }
25070
25116
  var i18n_11;
25071
25117
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25073,7 +25119,7 @@
25073
25119
  i18n_11 = MSG_EXTERNAL_4078662097036588656$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS_12;
25074
25120
  }
25075
25121
  else {
25076
- i18n_11 = $localize(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject([":\u241F49375178588cf9deb7d988b78a2c8f00026e7285\u241F4078662097036588656:Image trop volumineuse"], [":\u241F49375178588cf9deb7d988b78a2c8f00026e7285\u241F4078662097036588656:Image trop volumineuse"])));
25122
+ i18n_11 = $localize(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject([":\u241F49375178588cf9deb7d988b78a2c8f00026e7285\u241F4078662097036588656:Image trop volumineuse"], [":\u241F49375178588cf9deb7d988b78a2c8f00026e7285\u241F4078662097036588656:Image trop volumineuse"])));
25077
25123
  }
25078
25124
  var i18n_13;
25079
25125
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25081,7 +25127,7 @@
25081
25127
  i18n_13 = MSG_EXTERNAL_9059155436017318544$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS_14;
25082
25128
  }
25083
25129
  else {
25084
- i18n_13 = $localize(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject([":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"], [":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"])));
25130
+ i18n_13 = $localize(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject([":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"], [":\u241F1a7391c494239efe2ad440cff51f17e9a03bc6b0\u241F9059155436017318544:Fermer"])));
25085
25131
  }
25086
25132
  var i18n_15;
25087
25133
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25089,7 +25135,7 @@
25089
25135
  i18n_15 = MSG_EXTERNAL_3282727732933154012$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS__16;
25090
25136
  }
25091
25137
  else {
25092
- i18n_15 = $localize(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject([":\u241F87c5e70b1624fcb3c2b2ccb937de1128495df83f\u241F3282727732933154012:* champs obligatoires"], [":\u241F87c5e70b1624fcb3c2b2ccb937de1128495df83f\u241F3282727732933154012:* champs obligatoires"])));
25138
+ i18n_15 = $localize(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject([":\u241F87c5e70b1624fcb3c2b2ccb937de1128495df83f\u241F3282727732933154012:* champs obligatoires"], [":\u241F87c5e70b1624fcb3c2b2ccb937de1128495df83f\u241F3282727732933154012:* champs obligatoires"])));
25093
25139
  }
25094
25140
  var i18n_17;
25095
25141
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25097,7 +25143,7 @@
25097
25143
  i18n_17 = MSG_EXTERNAL_3196451212397199710$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS__18;
25098
25144
  }
25099
25145
  else {
25100
- i18n_17 = $localize(templateObject_8 || (templateObject_8 = __makeTemplateObject([":\u241F69e064561c414aaa2bfb65a5d18a81afac86f282\u241F3196451212397199710:Ma recette est..."], [":\u241F69e064561c414aaa2bfb65a5d18a81afac86f282\u241F3196451212397199710:Ma recette est..."])));
25146
+ i18n_17 = $localize(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject([":\u241F69e064561c414aaa2bfb65a5d18a81afac86f282\u241F3196451212397199710:Ma recette est..."], [":\u241F69e064561c414aaa2bfb65a5d18a81afac86f282\u241F3196451212397199710:Ma recette est..."])));
25101
25147
  }
25102
25148
  var i18n_19;
25103
25149
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25105,7 +25151,7 @@
25105
25151
  i18n_19 = MSG_EXTERNAL_71394326071133031$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS__20;
25106
25152
  }
25107
25153
  else {
25108
- i18n_19 = $localize(templateObject_9 || (templateObject_9 = __makeTemplateObject([":\u241F9ea7d16d4d768d931934d11267eab0fa2465b9af\u241F71394326071133031:Nombre de convives"], [":\u241F9ea7d16d4d768d931934d11267eab0fa2465b9af\u241F71394326071133031:Nombre de convives"])));
25154
+ i18n_19 = $localize(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject([":\u241F9ea7d16d4d768d931934d11267eab0fa2465b9af\u241F71394326071133031:Nombre de convives"], [":\u241F9ea7d16d4d768d931934d11267eab0fa2465b9af\u241F71394326071133031:Nombre de convives"])));
25109
25155
  }
25110
25156
  var i18n_21;
25111
25157
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25113,7 +25159,7 @@
25113
25159
  i18n_21 = MSG_EXTERNAL_3871633483271028552$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS__22;
25114
25160
  }
25115
25161
  else {
25116
- i18n_21 = $localize(templateObject_10 || (templateObject_10 = __makeTemplateObject([":\u241Fcae61afdb3ceeca56e3ef0fcfd16185a99bd26b4\u241F3871633483271028552:L'image ne dispose d'aucun lien"], [":\u241Fcae61afdb3ceeca56e3ef0fcfd16185a99bd26b4\u241F3871633483271028552:L'image ne dispose d'aucun lien"])));
25162
+ i18n_21 = $localize(templateObject_10$1 || (templateObject_10$1 = __makeTemplateObject([":\u241Fcae61afdb3ceeca56e3ef0fcfd16185a99bd26b4\u241F3871633483271028552:L'image ne dispose d'aucun lien"], [":\u241Fcae61afdb3ceeca56e3ef0fcfd16185a99bd26b4\u241F3871633483271028552:L'image ne dispose d'aucun lien"])));
25117
25163
  }
25118
25164
  var i18n_23;
25119
25165
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25121,7 +25167,7 @@
25121
25167
  i18n_23 = MSG_EXTERNAL_3230183296193753148$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS__24;
25122
25168
  }
25123
25169
  else {
25124
- i18n_23 = $localize(templateObject_11 || (templateObject_11 = __makeTemplateObject([":\u241F130eba530aa81474422b1e98d9709219e560f308\u241F3230183296193753148:Description de ma recette"], [":\u241F130eba530aa81474422b1e98d9709219e560f308\u241F3230183296193753148:Description de ma recette"])));
25170
+ i18n_23 = $localize(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject([":\u241F130eba530aa81474422b1e98d9709219e560f308\u241F3230183296193753148:Description de ma recette"], [":\u241F130eba530aa81474422b1e98d9709219e560f308\u241F3230183296193753148:Description de ma recette"])));
25125
25171
  }
25126
25172
  var i18n_25;
25127
25173
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25129,7 +25175,7 @@
25129
25175
  i18n_25 = MSG_EXTERNAL_8796588647763794440$$LIB__WEB_COMPONENTS_RECIPE_CREATION_RECIPE_STEPPER_RECIPE_STEPPER_COMPONENT_TS__26;
25130
25176
  }
25131
25177
  else {
25132
- i18n_25 = $localize(templateObject_12 || (templateObject_12 = __makeTemplateObject([":\u241F493b33d1a738a86e7a76ef3f665b4663f9f34469\u241F8796588647763794440:Niveau de difficult\u00E9 de la recette"], [":\u241F493b33d1a738a86e7a76ef3f665b4663f9f34469\u241F8796588647763794440:Niveau de difficult\u00E9 de la recette"])));
25178
+ i18n_25 = $localize(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject([":\u241F493b33d1a738a86e7a76ef3f665b4663f9f34469\u241F8796588647763794440:Niveau de difficult\u00E9 de la recette"], [":\u241F493b33d1a738a86e7a76ef3f665b4663f9f34469\u241F8796588647763794440:Niveau de difficult\u00E9 de la recette"])));
25133
25179
  }
25134
25180
  var i18n_27;
25135
25181
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -25333,7 +25379,7 @@
25333
25379
  args: ['step']
25334
25380
  }] });
25335
25381
  })();
25336
- var templateObject_1$b, templateObject_2$6, templateObject_3$4, templateObject_4$3, templateObject_5$3, templateObject_6$3, templateObject_7$2, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23;
25382
+ var templateObject_1$d, templateObject_2$8, templateObject_3$5, templateObject_4$4, templateObject_5$4, templateObject_6$4, templateObject_7$3, templateObject_8$1, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23;
25337
25383
 
25338
25384
  var _c0$2 = ["miamCatalogTopAnchor"];
25339
25385
  var _c1$1 = ["returnHomeButton"];
@@ -26121,7 +26167,7 @@
26121
26167
  i18n_2 = MSG_EXTERNAL_8364051788143087484$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS___3;
26122
26168
  }
26123
26169
  else {
26124
- i18n_2 = $localize(templateObject_1$a || (templateObject_1$a = __makeTemplateObject([":\u241F7c740c47ef7c7eb8dffd4a0b2618491b77ce62cd\u241F8364051788143087484: repas dans votre panier"], [":\u241F7c740c47ef7c7eb8dffd4a0b2618491b77ce62cd\u241F8364051788143087484: repas dans votre panier"])));
26170
+ i18n_2 = $localize(templateObject_1$c || (templateObject_1$c = __makeTemplateObject([":\u241F7c740c47ef7c7eb8dffd4a0b2618491b77ce62cd\u241F8364051788143087484: repas dans votre panier"], [":\u241F7c740c47ef7c7eb8dffd4a0b2618491b77ce62cd\u241F8364051788143087484: repas dans votre panier"])));
26125
26171
  }
26126
26172
  var i18n_4;
26127
26173
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -26129,7 +26175,7 @@
26129
26175
  i18n_4 = MSG_EXTERNAL_5662079416005206400$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____5;
26130
26176
  }
26131
26177
  else {
26132
- i18n_4 = $localize(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject([":\u241F5c0cdf43c03194014ea2531acb78ce87c05a396b\u241F5662079416005206400:Votre recherche : "], [":\u241F5c0cdf43c03194014ea2531acb78ce87c05a396b\u241F5662079416005206400:Votre recherche : "])));
26178
+ i18n_4 = $localize(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject([":\u241F5c0cdf43c03194014ea2531acb78ce87c05a396b\u241F5662079416005206400:Votre recherche : "], [":\u241F5c0cdf43c03194014ea2531acb78ce87c05a396b\u241F5662079416005206400:Votre recherche : "])));
26133
26179
  }
26134
26180
  var i18n_6;
26135
26181
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -26137,7 +26183,7 @@
26137
26183
  i18n_6 = MSG_EXTERNAL_588207140585847047$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____7;
26138
26184
  }
26139
26185
  else {
26140
- i18n_6 = $localize(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
26186
+ i18n_6 = $localize(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject([":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"], [":\u241F90857fa8dc61f44c68e5e16dae900b3eb88f2888\u241F588207140585847047:Favoris"])));
26141
26187
  }
26142
26188
  var i18n_8;
26143
26189
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -26145,7 +26191,7 @@
26145
26191
  i18n_8 = MSG_EXTERNAL_3472368054805241582$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____9;
26146
26192
  }
26147
26193
  else {
26148
- i18n_8 = $localize(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject([":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"], [":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"])));
26194
+ i18n_8 = $localize(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject([":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"], [":\u241F8a1e056d8685c37c1de1b6bbcc961429bfd0e4ea\u241F3472368054805241582:Mon carnet perso"])));
26149
26195
  }
26150
26196
  var i18n_10;
26151
26197
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -26153,7 +26199,7 @@
26153
26199
  i18n_10 = MSG_EXTERNAL_7387753154079259338$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____11;
26154
26200
  }
26155
26201
  else {
26156
- i18n_10 = $localize(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
26202
+ i18n_10 = $localize(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject([":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"], [":\u241F1e0415ec0e248029811bbeb6a2892c6bf701f9be\u241F7387753154079259338:Votre s\u00E9lection"])));
26157
26203
  }
26158
26204
  var i18n_12;
26159
26205
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -26161,7 +26207,7 @@
26161
26207
  i18n_12 = MSG_EXTERNAL_1931799427977453728$$LIB__WEB_COMPONENTS_RECIPE_CATALOG_RECIPE_CATALOG_COMPONENT_TS____13;
26162
26208
  }
26163
26209
  else {
26164
- i18n_12 = $localize(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject([":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"], [":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"])));
26210
+ i18n_12 = $localize(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject([":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"], [":\u241F3b0b12b85604af610c07cfbd5d4f74662b9a881a\u241F1931799427977453728:Ajouter une id\u00E9e repas"])));
26165
26211
  }
26166
26212
  return [[1, "miam-catalog-anchor"], ["miamCatalogTopAnchor", ""], ["class", "miam-recipe-catalog", 4, "ngIf", "ngIfElse"], ["creationPage", ""], [1, "miam-recipe-catalog"], [1, "miam-recipe-catalog__content"], [3, "home", "searchTerm", "additionalFiltersTitle", "homeLabel", "pictureUrl", "catalogSetting", "returnButtonPressed"], ["class", "miam-recipe-catalog__toolbar-container-anchor", 4, "ngIf"], ["class", "miam-recipe-catalog__toolbar-container", 4, "ngIf"], ["class", "miam-recipe-catalog__content__myMeal__button", 3, "click", 4, "ngIf"], ["class", "miam-recipe-catalog__list", 4, "ngIf", "ngIfElse"], [3, "filters", "isFilterCollapsed", "filterToRemove", "position", "originTrace", "filterChanged", "filterCollapsed", "preferencesChanged"], [3, "isOpen", "filters", "isOpenChange", "preferencesChanged"], ["categoriesComponents", ""], [1, "miam-recipe-catalog__toolbar-container-anchor"], [1, "miam-recipe-catalog__toolbar-container"], ["stickyToolbar", ""], [3, "home", "searchTerm", "additionalFiltersTitle", "favoritesButtonHidden", "personalButtonHidden", "filterBadgeCount", "reduced", "filterButtonPressed", "preferencesButtonPressed", "searchStringChanged", "personalButtonPressed", "favoritesButtonPressed", "returnHomePressed"], [1, "miam-recipe-catalog__content__myMeal__button", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/cutlery-white.svg", "alt", "Cutlery", 1, "miam-recipe-catalog__myMeal__first__icon"], [1, "miam-recipe-catalog__myMeal__button__text", "miam-ds-text", "weight-xl"], i18n_2, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-white.svg", "alt", "Caret", 1, "miam-recipe-catalog__myMeal__second__icon"], [1, "miam-recipe-catalog__list"], [1, "miam-recipe-catalog__content__title"], [1, "miam-recipe-catalog__content__title-icon", "miam-ds-button", "primary", "square", 3, "click"], ["alt", "return", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_white.svg"], ["class", "miam-recipe-catalog__content__title__search__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__favorites__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__personal__text", 4, "ngIf"], ["class", "miam-recipe-catalog__content__title__category", 4, "ngIf"], ["class", "miam-recipe-catalog__content__default__text", 4, "ngIf"], ["stickyToolbarCollection", ""], ["class", "miam-recipe-catalog__list__create___button", 3, "click", 4, "ngIf"], [3, "ngClass", "filters", "originTrace", "displayPricing", "displayInfos", "modifiedGuests", "displayRecipeVariant", "filterRemoved", "recipeActionTriggered"], [1, "miam-recipe-catalog__content__title__search__text"], i18n_4, [1, "miam-recipe-catalog__content__title__favorites__text"], i18n_6, [1, "miam-recipe-catalog__content__title__personal__text"], i18n_8, [1, "miam-recipe-catalog__content__title__category"], [1, "miam-ds-text", "size-l", "weight-xxl"], ["class", "miam-ds-text size-s weight-l", 4, "ngIf"], [1, "miam-ds-text", "size-s", "weight-l"], [1, "miam-recipe-catalog__content__default__text"], i18n_10, [1, "miam-recipe-catalog__list__create___button", 3, "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-primary)", 3, "iconName"], i18n_12, ["class", "miam-recipe-catalog__categories", 4, "ngIf"], [1, "miam-recipe-catalog__categories"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["firstCategory", ""], [3, "title", "subtitle", "filters", "maxRecipeNumber", "displayInfos", "displayPricing", "originTrace", "modifiedGuests", "displayRecipeVariant", "displayList"], [1, "miam-recipe-catalog__first-category"], [4, "ngIf"], [3, "title", "subtitle", "filters", "displayInfos", "displayPricing", "maxRecipeNumber", "modifiedGuests", "displayRecipeVariant", "originTrace", "displayList", "isHidden"], [3, "recipeToUpdate", "originTrace", "recipeChange", "canceled", 4, "ngIf"], [3, "recipeToUpdate", "originTrace", "recipeChange", "canceled"]];
26167
26213
  }, template: function RecipeCatalogComponent_Template(rf, ctx) {
@@ -26221,7 +26267,7 @@
26221
26267
  type: i0.Input
26222
26268
  }] });
26223
26269
  })();
26224
- var templateObject_1$a, templateObject_2$5, templateObject_3$3, templateObject_4$2, templateObject_5$2, templateObject_6$2;
26270
+ var templateObject_1$c, templateObject_2$7, templateObject_3$4, templateObject_4$3, templateObject_5$3, templateObject_6$3;
26225
26271
 
26226
26272
  var RecipeCreationModule = /** @class */ (function () {
26227
26273
  // Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
@@ -26642,7 +26688,7 @@
26642
26688
  i18n_0 = MSG_EXTERNAL_8168765646794661881$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_ADDON_RECIPE_ADDON_COMPONENT_TS__1;
26643
26689
  }
26644
26690
  else {
26645
- i18n_0 = $localize(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject([":\u241F7582755e46cff3b0d29465ce750a51c9b841ae9f\u241F8168765646794661881:Retour"], [":\u241F7582755e46cff3b0d29465ce750a51c9b841ae9f\u241F8168765646794661881:Retour"])));
26691
+ i18n_0 = $localize(templateObject_1$b || (templateObject_1$b = __makeTemplateObject([":\u241F7582755e46cff3b0d29465ce750a51c9b841ae9f\u241F8168765646794661881:Retour"], [":\u241F7582755e46cff3b0d29465ce750a51c9b841ae9f\u241F8168765646794661881:Retour"])));
26646
26692
  }
26647
26693
  return [["class", "miam-recipe-addon", 4, "ngIf", "ngIfElse"], ["isLoading", ""], [1, "miam-recipe-addon"], [1, "miam-recipe-addon__header"], [1, "m-button-secondary", 3, "click"], ["primaryColor", "var(--m-color-primary)", 3, "iconName"], i18n_0, [3, "src", 4, "ngIf"], [1, "miam-recipe-addon__content"], ["class", "miam-recipe-addon__content__iframe", "frameBorder", "0", 3, "src", 4, "ngIf", "ngIfElse"], ["storytelling", ""], [3, "src"], ["frameBorder", "0", 1, "miam-recipe-addon__content__iframe", 3, "src"], [3, "sponsorBlocks"], [1, "miam-recipe-addon__loader"]];
26648
26694
  }, template: function RecipeAddonComponent_Template(rf, ctx) {
@@ -26671,7 +26717,7 @@
26671
26717
  type: i0.Output
26672
26718
  }] });
26673
26719
  })();
26674
- var templateObject_1$9;
26720
+ var templateObject_1$b;
26675
26721
 
26676
26722
  function RecipeDetailsInfosComponent_ng_template_0_Template(rf, ctx) {
26677
26723
  if (rf & 1) {
@@ -26785,7 +26831,7 @@
26785
26831
  i18n_0 = MSG_EXTERNAL_195336627705819465$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INFOS_RECIPE_DETAILS_INFOS_COMPONENT_TS__1;
26786
26832
  }
26787
26833
  else {
26788
- i18n_0 = $localize(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([":\u241F84e98d87dff8af8336d3f5bd9e175e30ff76592b\u241F195336627705819465:0 min"], [":\u241F84e98d87dff8af8336d3f5bd9e175e30ff76592b\u241F195336627705819465:0 min"])));
26834
+ i18n_0 = $localize(templateObject_1$a || (templateObject_1$a = __makeTemplateObject([":\u241F84e98d87dff8af8336d3f5bd9e175e30ff76592b\u241F195336627705819465:0 min"], [":\u241F84e98d87dff8af8336d3f5bd9e175e30ff76592b\u241F195336627705819465:0 min"])));
26789
26835
  }
26790
26836
  return [["defaultTime", ""], ["defaultText", ""], [1, "miam-recipe-details-infos__container", 3, "ngClass"], [1, "miam-ds-badge", "size-l", "miam-recipe-details-infos__badge", "miam-recipe-details-infos__badge__preparation-time", 3, "ngClass"], ["alt", "preparation time icon", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/knife-primary.svg"], [4, "ngIf", "ngIfElse"], [1, "miam-ds-badge", "size-l", "miam-recipe-details-infos__badge", "miam-recipe-details-infos__badge__cooking-time", 3, "ngClass"], ["alt", "cooking time icon", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/pan-primary.svg"], ["class", "miam-ds-badge size-l miam-recipe-details-infos__badge miam-recipe-details-infos__badge__difficulty", 3, "ngClass", 4, "ngIf"], ["class", "miam-ds-badge size-l miam-recipe-details-infos__badge more-info", 3, "click", 4, "ngIf"], ["class", "miam-ds-badge size-l miam-recipe-details-infos__badge tag", 4, "ngFor", "ngForOf"], [1, "miam-recipe-details-infos__no-time-placeholder"], i18n_0, [1, "miam-recipe-details-infos__no-data-placeholder"], [1, "miam-ds-badge", "size-l", "miam-recipe-details-infos__badge", "miam-recipe-details-infos__badge__difficulty", 3, "ngClass"], ["alt", "difficulty icon", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chef-hat-primary.svg"], [1, "miam-ds-badge", "size-l", "miam-recipe-details-infos__badge", "more-info", 3, "click"], ["alt", "more info icon", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/meatball-primary.svg"], [1, "miam-ds-badge", "size-l", "miam-recipe-details-infos__badge", "tag"]];
26791
26837
  }, template: function RecipeDetailsInfosComponent_Template(rf, ctx) {
@@ -26840,7 +26886,7 @@
26840
26886
  type: i0.Input
26841
26887
  }] });
26842
26888
  })();
26843
- var templateObject_1$8;
26889
+ var templateObject_1$a;
26844
26890
 
26845
26891
  function RecipeDetailsIngredientsComponent_div_0_span_5_Template(rf, ctx) {
26846
26892
  if (rf & 1) {
@@ -26930,7 +26976,7 @@
26930
26976
  i18n_0 = MSG_EXTERNAL_7521397528410775601$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INGREDIENTS_RECIPE_DETAILS_INGREDIENTS_COMPONENT_TS___1;
26931
26977
  }
26932
26978
  else {
26933
- i18n_0 = $localize(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject([":\u241Fe859ba2d36a6f30bb3acdc80852d4e82a5411aa0\u241F7521397528410775601:ingr\u00E9dients"], [":\u241Fe859ba2d36a6f30bb3acdc80852d4e82a5411aa0\u241F7521397528410775601:ingr\u00E9dients"])));
26979
+ i18n_0 = $localize(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject([":\u241Fe859ba2d36a6f30bb3acdc80852d4e82a5411aa0\u241F7521397528410775601:ingr\u00E9dients"], [":\u241Fe859ba2d36a6f30bb3acdc80852d4e82a5411aa0\u241F7521397528410775601:ingr\u00E9dients"])));
26934
26980
  }
26935
26981
  var i18n_2;
26936
26982
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -26938,7 +26984,7 @@
26938
26984
  i18n_2 = MSG_EXTERNAL_6517018329453008605$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_INGREDIENTS_RECIPE_DETAILS_INGREDIENTS_COMPONENT_TS___3;
26939
26985
  }
26940
26986
  else {
26941
- i18n_2 = $localize(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject([":\u241F50bd24ece9d857e744e5647b7bfb3a637b6f2a44\u241F6517018329453008605:ingr\u00E9dient"], [":\u241F50bd24ece9d857e744e5647b7bfb3a637b6f2a44\u241F6517018329453008605:ingr\u00E9dient"])));
26987
+ i18n_2 = $localize(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject([":\u241F50bd24ece9d857e744e5647b7bfb3a637b6f2a44\u241F6517018329453008605:ingr\u00E9dient"], [":\u241F50bd24ece9d857e744e5647b7bfb3a637b6f2a44\u241F6517018329453008605:ingr\u00E9dient"])));
26942
26988
  }
26943
26989
  return [["class", "miam-recipe-details-ingredients", 4, "ngIf"], [1, "miam-recipe-details-ingredients"], [1, "miam-ds-text", "weight-xxl", "miam-recipe-details-ingredients__header"], [4, "ngIf"], [1, "miam-recipe-details-ingredients__list"], ["class", "miam-recipe-details-ingredients__item", 4, "ngFor", "ngForOf"], i18n_0, i18n_2, [1, "miam-recipe-details-ingredients__item"], [1, "miam-recipe-details-ingredients__picture_container"], [1, "miam-recipe-details-ingredients__picture", 3, "src", "alt"], [1, "miam-ds-text", "size-s", "weight-xxl", "miam-recipe-details-ingredients__name"], [1, "miam-ds-text", "size-s", "weight-l", "miam-recipe-details-ingredients__row__qty"]];
26944
26990
  }, template: function RecipeDetailsIngredientsComponent_Template(rf, ctx) {
@@ -26964,7 +27010,7 @@
26964
27010
  type: i0.Input
26965
27011
  }] });
26966
27012
  })();
26967
- var templateObject_1$7, templateObject_2$4;
27013
+ var templateObject_1$9, templateObject_2$6;
26968
27014
 
26969
27015
  function RecipeDetailsStepsComponent_span_4_Template(rf, ctx) {
26970
27016
  if (rf & 1) {
@@ -27015,7 +27061,7 @@
27015
27061
  i18n_0 = MSG_EXTERNAL_8637234547790461302$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_STEPS_RECIPE_DETAILS_STEPS_COMPONENT_TS__1;
27016
27062
  }
27017
27063
  else {
27018
- i18n_0 = $localize(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject([":\u241Fcc53912b673207fb8f211965ce70a6126839560c\u241F8637234547790461302:\u00E9tape"], [":\u241Fcc53912b673207fb8f211965ce70a6126839560c\u241F8637234547790461302:\u00E9tape"])));
27064
+ i18n_0 = $localize(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([":\u241Fcc53912b673207fb8f211965ce70a6126839560c\u241F8637234547790461302:\u00E9tape"], [":\u241Fcc53912b673207fb8f211965ce70a6126839560c\u241F8637234547790461302:\u00E9tape"])));
27019
27065
  }
27020
27066
  var i18n_2;
27021
27067
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -27023,7 +27069,7 @@
27023
27069
  i18n_2 = MSG_EXTERNAL_2078952905340877546$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_STEPS_RECIPE_DETAILS_STEPS_COMPONENT_TS__3;
27024
27070
  }
27025
27071
  else {
27026
- i18n_2 = $localize(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject([":\u241F72dadcda5c07bc70b1fdafebbc6eade69922cc41\u241F2078952905340877546:\u00E9tapes"], [":\u241F72dadcda5c07bc70b1fdafebbc6eade69922cc41\u241F2078952905340877546:\u00E9tapes"])));
27072
+ i18n_2 = $localize(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject([":\u241F72dadcda5c07bc70b1fdafebbc6eade69922cc41\u241F2078952905340877546:\u00E9tapes"], [":\u241F72dadcda5c07bc70b1fdafebbc6eade69922cc41\u241F2078952905340877546:\u00E9tapes"])));
27027
27073
  }
27028
27074
  return [[1, "miam-recipe-details-steps"], [1, "miam-ds-text", "weight-xxl", "miam-recipe-details-steps__header"], [4, "ngIf"], [1, "miam-recipe-details-steps__list"], ["class", "miam-recipe-details-steps__step", 4, "ngFor", "ngForOf"], i18n_0, i18n_2, [1, "miam-recipe-details-steps__step"], [1, "miam-recipe-details-steps__step__idx"], [1, "miam-ds-text", "size-s", "weight-l"], [1, "miam-ds-text", "weight-l", "miam-recipe-details-steps__step__text"]];
27029
27075
  }, template: function RecipeDetailsStepsComponent_Template(rf, ctx) {
@@ -27066,7 +27112,7 @@
27066
27112
  type: i0.Input
27067
27113
  }] });
27068
27114
  })();
27069
- var templateObject_1$6, templateObject_2$3;
27115
+ var templateObject_1$8, templateObject_2$5;
27070
27116
 
27071
27117
  function StoreLocatorLinkComponent_div_0_span_1_Template(rf, ctx) {
27072
27118
  if (rf & 1) {
@@ -27086,7 +27132,7 @@
27086
27132
  i0__namespace.ɵɵelementStart(0, "div", 1);
27087
27133
  i0__namespace.ɵɵtemplate(1, StoreLocatorLinkComponent_div_0_span_1_Template, 2, 2, "span", 2);
27088
27134
  i0__namespace.ɵɵelementStart(2, "button", 3);
27089
- i0__namespace.ɵɵlistener("click", function StoreLocatorLinkComponent_div_0_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r3_1); var ctx_r2 = i0__namespace.ɵɵnextContext(); return ctx_r2.storeLocatorService.storeLocatorOpened$.next(true); });
27135
+ i0__namespace.ɵɵlistener("click", function StoreLocatorLinkComponent_div_0_Template_button_click_2_listener() { i0__namespace.ɵɵrestoreView(_r3_1); var ctx_r2 = i0__namespace.ɵɵnextContext(); return ctx_r2.storeLocatorService.openStoreLocator(); });
27090
27136
  i0__namespace.ɵɵelement(3, "img", 4);
27091
27137
  i0__namespace.ɵɵelementStart(4, "span");
27092
27138
  i0__namespace.ɵɵi18n(5, 5);
@@ -27129,7 +27175,7 @@
27129
27175
  i18n_0 = MSG_EXTERNAL_9004334984468055592$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_STORE_LOCATOR_LINK_STORE_LOCATOR_LINK_COMPONENT_TS__1;
27130
27176
  }
27131
27177
  else {
27132
- i18n_0 = $localize(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject([":\u241Fc368921f313712ef19fa1f7d05697982582598ef\u241F9004334984468055592:Changer"], [":\u241Fc368921f313712ef19fa1f7d05697982582598ef\u241F9004334984468055592:Changer"])));
27178
+ i18n_0 = $localize(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject([":\u241Fc368921f313712ef19fa1f7d05697982582598ef\u241F9004334984468055592:Changer"], [":\u241Fc368921f313712ef19fa1f7d05697982582598ef\u241F9004334984468055592:Changer"])));
27133
27179
  }
27134
27180
  return [["class", "miam-store-locator-link", 4, "ngIf"], [1, "miam-store-locator-link"], ["class", "miam-store-locator-link__store-name miam-ds-text weight-xl size-s", 4, "ngIf"], [1, "miam-store-locator-link__swap-pos-button", "miam-ds-button", "primary", "reverse", "small", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Swap.svg", "alt", "swap point of sale", 1, "miam-store-locator-link__swap-pos-icon"], i18n_0, [1, "miam-store-locator-link__store-name", "miam-ds-text", "weight-xl", "size-s"]];
27135
27181
  }, template: function StoreLocatorLinkComponent_Template(rf, ctx) {
@@ -27153,7 +27199,7 @@
27153
27199
  }]
27154
27200
  }], function () { return [{ type: StoreLocatorService }, { type: PointOfSalesService }, { type: SuppliersService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
27155
27201
  })();
27156
- var templateObject_1$5;
27202
+ var templateObject_1$7;
27157
27203
 
27158
27204
  var _c0$1 = ["topContainerImg"];
27159
27205
  function RecipeDetailsComponent_div_0_div_1_Template(rf, ctx) {
@@ -27256,7 +27302,7 @@
27256
27302
  if (rf & 1) {
27257
27303
  var _r27_1 = i0__namespace.ɵɵgetCurrentView();
27258
27304
  i0__namespace.ɵɵelementStart(0, "ng-miam-products-picker", 49);
27259
- i0__namespace.ɵɵlistener("closeModal", function RecipeDetailsComponent_div_0_div_3_ng_container_35_ng_miam_products_picker_1_Template_ng_miam_products_picker_closeModal_0_listener() { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r26 = i0__namespace.ɵɵnextContext(4); return ctx_r26.onClose(); })("guestsChange", function RecipeDetailsComponent_div_0_div_3_ng_container_35_ng_miam_products_picker_1_Template_ng_miam_products_picker_guestsChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r28 = i0__namespace.ɵɵnextContext(4); return ctx_r28.updateGuests($event); });
27305
+ i0__namespace.ɵɵlistener("closeModal", function RecipeDetailsComponent_div_0_div_3_ng_container_35_ng_miam_products_picker_1_Template_ng_miam_products_picker_closeModal_0_listener() { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r26 = i0__namespace.ɵɵnextContext(4); return ctx_r26.close(); })("guestsChange", function RecipeDetailsComponent_div_0_div_3_ng_container_35_ng_miam_products_picker_1_Template_ng_miam_products_picker_guestsChange_0_listener($event) { i0__namespace.ɵɵrestoreView(_r27_1); var ctx_r28 = i0__namespace.ɵɵnextContext(4); return ctx_r28.updateGuests($event); });
27260
27306
  i0__namespace.ɵɵelementEnd();
27261
27307
  }
27262
27308
  if (rf & 2) {
@@ -27376,7 +27422,7 @@
27376
27422
  if (rf & 1) {
27377
27423
  var _r43_1 = i0__namespace.ɵɵgetCurrentView();
27378
27424
  i0__namespace.ɵɵelementStart(0, "button", 72);
27379
- i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_div_37_ng_container_1_div_5_button_4_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r42 = i0__namespace.ɵɵnextContext(6); return ctx_r42.onClose(true); });
27425
+ i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_div_37_ng_container_1_div_5_button_4_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r43_1); var ctx_r42 = i0__namespace.ɵɵnextContext(6); return ctx_r42.close(true); });
27380
27426
  i0__namespace.ɵɵelementStart(1, "span", 73);
27381
27427
  i0__namespace.ɵɵi18n(2, 74);
27382
27428
  i0__namespace.ɵɵelementEnd();
@@ -27389,7 +27435,7 @@
27389
27435
  var _r45_1 = i0__namespace.ɵɵgetCurrentView();
27390
27436
  i0__namespace.ɵɵelementStart(0, "div", 68);
27391
27437
  i0__namespace.ɵɵelementStart(1, "button", 69);
27392
- i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_div_37_ng_container_1_div_5_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r45_1); var ctx_r44 = i0__namespace.ɵɵnextContext(5); return ctx_r44.onClose(); });
27438
+ i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_div_37_ng_container_1_div_5_Template_button_click_1_listener() { i0__namespace.ɵɵrestoreView(_r45_1); var ctx_r44 = i0__namespace.ɵɵnextContext(5); return ctx_r44.confirm(); });
27393
27439
  i0__namespace.ɵɵelementStart(2, "span", 61);
27394
27440
  i0__namespace.ɵɵi18n(3, 70);
27395
27441
  i0__namespace.ɵɵelementEnd();
@@ -27491,12 +27537,12 @@
27491
27537
  i0__namespace.ɵɵelementStart(3, "div", 10);
27492
27538
  i0__namespace.ɵɵelementStart(4, "div", 11);
27493
27539
  i0__namespace.ɵɵelementStart(5, "button", 12);
27494
- i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_5_listener() { i0__namespace.ɵɵrestoreView(_r47_1); var ctx_r46 = i0__namespace.ɵɵnextContext(2); return ctx_r46.onClose(); });
27540
+ i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_5_listener() { i0__namespace.ɵɵrestoreView(_r47_1); var ctx_r46 = i0__namespace.ɵɵnextContext(2); return ctx_r46.close(); });
27495
27541
  i0__namespace.ɵɵelement(6, "img", 13);
27496
27542
  i0__namespace.ɵɵelementEnd();
27497
27543
  i0__namespace.ɵɵelementStart(7, "div", 14);
27498
27544
  i0__namespace.ɵɵelementStart(8, "button", 15);
27499
- i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_8_listener() { i0__namespace.ɵɵrestoreView(_r47_1); var ctx_r48 = i0__namespace.ɵɵnextContext(2); return ctx_r48.onClose(); });
27545
+ i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_8_listener() { i0__namespace.ɵɵrestoreView(_r47_1); var ctx_r48 = i0__namespace.ɵɵnextContext(2); return ctx_r48.close(); });
27500
27546
  i0__namespace.ɵɵelement(9, "img", 16);
27501
27547
  i0__namespace.ɵɵelementEnd();
27502
27548
  i0__namespace.ɵɵtemplate(10, RecipeDetailsComponent_div_0_div_3_ng_miam_like_button_10_Template, 1, 2, "ng-miam-like-button", 17);
@@ -27520,7 +27566,7 @@
27520
27566
  i0__namespace.ɵɵelementStart(21, "div", 26);
27521
27567
  i0__namespace.ɵɵelementStart(22, "div", 27);
27522
27568
  i0__namespace.ɵɵelementStart(23, "button", 28);
27523
- i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_23_listener() { i0__namespace.ɵɵrestoreView(_r47_1); var ctx_r50 = i0__namespace.ɵɵnextContext(2); return ctx_r50.onClose(); });
27569
+ i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_23_listener() { i0__namespace.ɵɵrestoreView(_r47_1); var ctx_r50 = i0__namespace.ɵɵnextContext(2); return ctx_r50.close(); });
27524
27570
  i0__namespace.ɵɵelement(24, "img", 29);
27525
27571
  i0__namespace.ɵɵelementEnd();
27526
27572
  i0__namespace.ɵɵelementEnd();
@@ -27532,7 +27578,7 @@
27532
27578
  i0__namespace.ɵɵpipe(29, "async");
27533
27579
  i0__namespace.ɵɵelementStart(30, "div", 32);
27534
27580
  i0__namespace.ɵɵelementStart(31, "button", 33);
27535
- i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_31_listener() { i0__namespace.ɵɵrestoreView(_r47_1); var ctx_r51 = i0__namespace.ɵɵnextContext(2); return ctx_r51.onClose(); });
27581
+ i0__namespace.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_31_listener() { i0__namespace.ɵɵrestoreView(_r47_1); var ctx_r51 = i0__namespace.ɵɵnextContext(2); return ctx_r51.close(); });
27536
27582
  i0__namespace.ɵɵelement(32, "img", 34);
27537
27583
  i0__namespace.ɵɵelementEnd();
27538
27584
  i0__namespace.ɵɵelementEnd();
@@ -27665,6 +27711,7 @@
27665
27711
  _this.displayTags = false;
27666
27712
  _this.showAddon = false;
27667
27713
  _this.showStoreSelector = false;
27714
+ _this.isRecipeFetched = false;
27668
27715
  _this.icon = exports.Icon;
27669
27716
  _this.primaryButtonClicked$ = new i0.EventEmitter();
27670
27717
  _this.addButtonLoading = false;
@@ -27687,6 +27734,9 @@
27687
27734
  }
27688
27735
  this.subscriptions.push(this.storeLocatorService.storeLocatorOpened$.subscribe(function (storeLocatorOpened) {
27689
27736
  _this.showStoreSelector = storeLocatorOpened;
27737
+ if (!storeLocatorOpened && _this.isRecipeFetched) {
27738
+ _this.pageview();
27739
+ }
27690
27740
  _this.cdr.detectChanges();
27691
27741
  }), this.storeLocatorService.newStoreSelected$.subscribe(function () {
27692
27742
  _this.fetchRecipe(_this.recipeId);
@@ -27701,7 +27751,11 @@
27701
27751
  if (this.contextService.noSupplier) {
27702
27752
  this.subscriptions.push(this.posService.isPosValid().subscribe(function (isPosValid) {
27703
27753
  if (!isPosValid) {
27704
- _this.storeLocatorService.storeLocatorOpened$.next(true);
27754
+ _this.storeLocatorService.openStoreLocator(true);
27755
+ }
27756
+ else {
27757
+ _this.recipeDetailsService.checkIfPosIsInitializedAndValid();
27758
+ setTimeout(function () { return _this.cdr.detectChanges(); }); // we need to detect a change that is in a subscribe and thus async
27705
27759
  }
27706
27760
  }));
27707
27761
  }
@@ -27709,6 +27763,7 @@
27709
27763
  RecipeDetailsComponent.prototype.ngOnChanges = function (changes) {
27710
27764
  var _a;
27711
27765
  if (changes.recipeId && ((_a = this.recipeId) === null || _a === void 0 ? void 0 : _a.length) > 0) {
27766
+ this.recipeDetailsOpenTimestamp = Date.now();
27712
27767
  this.fetchRecipe(this.recipeId);
27713
27768
  this.cdr.detectChanges();
27714
27769
  }
@@ -27768,7 +27823,10 @@
27768
27823
  }).pipe(operators.skipWhile(function (result) { return result.is_loading; }), operators.tap(function (result) { return _this.sponsorHasStorytelling = !!result.data.length; }));
27769
27824
  }
27770
27825
  return rxjs.of(null);
27771
- })).subscribe(function () { return _this.cdr.detectChanges(); }));
27826
+ })).subscribe(function () {
27827
+ _this.isRecipeFetched = true;
27828
+ _this.cdr.detectChanges();
27829
+ }));
27772
27830
  };
27773
27831
  RecipeDetailsComponent.prototype.setupYoutubePlayer = function () {
27774
27832
  var _this = this;
@@ -27833,12 +27891,21 @@
27833
27891
  this.addButtonLoading = value;
27834
27892
  this.cdr.detectChanges();
27835
27893
  };
27894
+ RecipeDetailsComponent.prototype.confirm = function () {
27895
+ this.analyticsService.sendEventWhenReady(this.analyticsService.EVENT_RECIPE_CONTINUE, this.path(), Object.assign(Object.assign({}, this.props()), { time_passed: (Date.now() - this.recipeDetailsOpenTimestamp) / 1000 }));
27896
+ this.onClose();
27897
+ };
27898
+ RecipeDetailsComponent.prototype.close = function (openBasket) {
27899
+ if (openBasket === void 0) { openBasket = false; }
27900
+ this.analyticsService.sendEventWhenReady(this.analyticsService.EVENT_RECIPE_CLOSE, this.path(), Object.assign(Object.assign({}, this.props()), { time_passed: (Date.now() - this.recipeDetailsOpenTimestamp) / 1000 }));
27901
+ this.onClose(openBasket);
27902
+ };
27836
27903
  RecipeDetailsComponent.prototype.onClose = function (openBasket) {
27837
27904
  if (openBasket === void 0) { openBasket = false; }
27838
27905
  this.recipeDetailsService.displayEventWasSent = false;
27839
27906
  this.removeFromOriginPath('/detail/basket-preview');
27840
27907
  var originPath = this.eventTrace().originPath;
27841
- this.storeLocatorService.storeLocatorOpened$.next(false);
27908
+ this.storeLocatorService.closeStoreLocator();
27842
27909
  this.closeDetails.emit();
27843
27910
  this.cdr.detectChanges();
27844
27911
  this.activeTabIndex = 0;
@@ -27857,7 +27924,6 @@
27857
27924
  if (!this.recipeDetailsService.displayEventWasSent) {
27858
27925
  this.recipeDetailsService.displayEventWasSent = true;
27859
27926
  this.analyticsService.sendEventWhenReady(this.analyticsService.EVENT_RECIPE_DISPLAY, this.originTrace.originPath, this.props());
27860
- this.pageview();
27861
27927
  }
27862
27928
  };
27863
27929
  RecipeDetailsComponent.prototype.showPrice = function () {
@@ -27897,7 +27963,7 @@
27897
27963
  i18n_1 = MSG_EXTERNAL_7351539410416117833$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS____2;
27898
27964
  }
27899
27965
  else {
27900
- i18n_1 = $localize(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject([":\u241F0e74aab5b3701ead8f4185e43a9410b6a31b969e\u241F7351539410416117833:Je fais mes courses, Je cuisine"], [":\u241F0e74aab5b3701ead8f4185e43a9410b6a31b969e\u241F7351539410416117833:Je fais mes courses, Je cuisine"])));
27966
+ i18n_1 = $localize(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject([":\u241F0e74aab5b3701ead8f4185e43a9410b6a31b969e\u241F7351539410416117833:Je fais mes courses, Je cuisine"], [":\u241F0e74aab5b3701ead8f4185e43a9410b6a31b969e\u241F7351539410416117833:Je fais mes courses, Je cuisine"])));
27901
27967
  }
27902
27968
  var i18n_4;
27903
27969
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -27905,7 +27971,7 @@
27905
27971
  i18n_4 = MSG_EXTERNAL_70397346439942337$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS______5;
27906
27972
  }
27907
27973
  else {
27908
- i18n_4 = $localize(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
27974
+ i18n_4 = $localize(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject([":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"], [":\u241F8aa969e69241c7c5838b40348f913519d6349371\u241F70397346439942337:Ajouter"])));
27909
27975
  }
27910
27976
  var i18n_6;
27911
27977
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -27913,7 +27979,7 @@
27913
27979
  i18n_6 = MSG_EXTERNAL_5144484951400113194$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS_______7;
27914
27980
  }
27915
27981
  else {
27916
- i18n_6 = $localize(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject([":\u241F84c216d92afc9edd2b3bd2175d38197737ff86c5\u241F5144484951400113194:produit"], [":\u241F84c216d92afc9edd2b3bd2175d38197737ff86c5\u241F5144484951400113194:produit"])));
27982
+ i18n_6 = $localize(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject([":\u241F84c216d92afc9edd2b3bd2175d38197737ff86c5\u241F5144484951400113194:produit"], [":\u241F84c216d92afc9edd2b3bd2175d38197737ff86c5\u241F5144484951400113194:produit"])));
27917
27983
  }
27918
27984
  var i18n_8;
27919
27985
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -27921,7 +27987,7 @@
27921
27987
  i18n_8 = MSG_EXTERNAL_1112144680738962826$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS_______9;
27922
27988
  }
27923
27989
  else {
27924
- i18n_8 = $localize(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject([":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"], [":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"])));
27990
+ i18n_8 = $localize(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject([":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"], [":\u241F2571d7fbaeed8646df6ee852fb5d94185b0efd88\u241F1112144680738962826:produits"])));
27925
27991
  }
27926
27992
  var i18n_10;
27927
27993
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -27929,7 +27995,7 @@
27929
27995
  i18n_10 = MSG_EXTERNAL_2001694451572573558$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS______11;
27930
27996
  }
27931
27997
  else {
27932
- i18n_10 = $localize(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject([":\u241F0e81a4e1efd31ae65483ef21f4fa59c2dce0e6f1\u241F2001694451572573558:Continuer mes courses"], [":\u241F0e81a4e1efd31ae65483ef21f4fa59c2dce0e6f1\u241F2001694451572573558:Continuer mes courses"])));
27998
+ i18n_10 = $localize(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject([":\u241F0e81a4e1efd31ae65483ef21f4fa59c2dce0e6f1\u241F2001694451572573558:Continuer mes courses"], [":\u241F0e81a4e1efd31ae65483ef21f4fa59c2dce0e6f1\u241F2001694451572573558:Continuer mes courses"])));
27933
27999
  }
27934
28000
  var i18n_12;
27935
28001
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -27937,7 +28003,7 @@
27937
28003
  i18n_12 = MSG_EXTERNAL_4608908823120687376$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS_______13;
27938
28004
  }
27939
28005
  else {
27940
- i18n_12 = $localize(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject([":\u241Fca4bd838b53776d943e423b71318c2001a34ceb1\u241F4608908823120687376: Voir mon panier "], [":\u241Fca4bd838b53776d943e423b71318c2001a34ceb1\u241F4608908823120687376: Voir mon panier "])));
28006
+ i18n_12 = $localize(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject([":\u241Fca4bd838b53776d943e423b71318c2001a34ceb1\u241F4608908823120687376: Voir mon panier "], [":\u241Fca4bd838b53776d943e423b71318c2001a34ceb1\u241F4608908823120687376: Voir mon panier "])));
27941
28007
  }
27942
28008
  var i18n_14;
27943
28009
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -27945,7 +28011,7 @@
27945
28011
  i18n_14 = MSG_EXTERNAL_4122997114884311871$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS_____15;
27946
28012
  }
27947
28013
  else {
27948
- i18n_14 = $localize(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject([":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"], [":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"])));
28014
+ i18n_14 = $localize(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject([":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"], [":\u241Fddc8d487566c6a50356eb269a281761ef8ccffa8\u241F4122997114884311871:dans mon panier"])));
27949
28015
  }
27950
28016
  return [["class", "miam-recipe-details", 3, "hidden", 4, "ngIf"], [3, "recipe", "hideAddon", 4, "ngIf"], [3, "recipe", "basketEntry", "ingredient", "ignoreSelected", "loadOnSelect", "originTrace", "selected", 4, "ngIf"], [1, "miam-recipe-details"], ["class", "miam-ds-loader miam-recipe-details__loader", 4, "ngIf"], ["class", "miam-recipe-details__container", 4, "ngIf"], [1, "miam-ds-loader", "miam-recipe-details__loader"], [1, "miam-recipe-details__container"], [1, "miam-recipe-details__picture"], ["topContainerImg", ""], [1, "miam-recipe-details__banner_buttons"], [1, "miam-recipe-details__top-button-wrapper"], [1, "miam-recipe-details__close-button", "miam-ds-button", "square", "primary", "reverse", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross_primary.svg", "alt", "modal close button", 1, "miam-recipe-details__close-icon"], [1, "miam-recipe-details__mobile-header-buttons"], [1, "miam-recipe-details__back-button", "miam-ds-button", "square", "primary", "reverse", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-primary.svg", "alt", "modal back button", 1, "miam-recipe-details__back-icon"], ["class", "miam-recipe-details__like-button", 3, "recipe", "originTrace", 4, "ngIf"], [1, "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "valueChange"], ["alt", "recipe picture", "class", "miam-recipe-details__picture-img", 3, "src", "error", 4, "ngIf"], [3, "videoId", "width", "height", "playerVars", 4, "ngIf"], ["class", "miam-recipe-details__picture__filigrane", 4, "ngIf"], [1, "miam-recipe-details__sponsor"], [3, "hasStorytelling", "recipe", "showAddon", 4, "ngIf"], [1, "miam-recipe-details__sponsor-separator"], [1, "miam-recipe-details__sticky-header"], ["ngMiamReachTop", "", 1, "miam-recipe-details__title-container", 3, "stickyByDefault"], [1, "miam-recipe-details__back-button-mobile-container"], [1, "miam-recipe-details__back-button", "miam-ds-button", "small", "square", "ghost", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-primary.svg", "alt", "modal close button", 1, "miam-recipe-details__back-icon"], [1, "miam-recipe-details__title", "miam-ds-text", "size-xl", "weight-xxl"], [1, "miam-recipe-details__actions__icon"], [1, "miam-recipe-details__hideable-actions"], [1, "miam-recipe-details__close-button", "miam-ds-button", "square", "ghost", 3, "click"], ["alt", "modal close button", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross_primary.svg", 1, "miam-recipe-details__close-icon"], [4, "ngIf"], ["class", "miam-recipe-details__preparation-tab", 4, "ngIf"], ["class", "miam-recipe-details__footer", 3, "center", 4, "ngIf"], [1, "miam-recipe-details__like-button", 3, "recipe", "originTrace"], ["alt", "recipe picture", 1, "miam-recipe-details__picture-img", 3, "src", "error"], [3, "videoId", "width", "height", "playerVars"], [1, "miam-recipe-details__picture__filigrane"], ["alt", "filigrane logo", 3, "src"], [3, "hasStorytelling", "recipe", "showAddon"], [1, "miam-recipe-details__infos", 3, "recipe"], [1, "miam-recipe-details__tabs", 3, "ngClass"], ["tabs", i18n_1, 3, "selectedTabIndex", "selectedTabIndexChange"], ["class", "miam-recipe-details__products-picker", 3, "originTrace", "closeModal", "guestsChange", 4, "ngIf"], [3, "invalidPos", "posSelected", 4, "ngIf"], [1, "miam-recipe-details__products-picker", 3, "originTrace", "closeModal", "guestsChange"], [3, "invalidPos", "posSelected"], [1, "miam-recipe-details__preparation-tab"], [3, "ingredients"], [3, "recipe"], [1, "miam-recipe-details__footer"], ["class", "miam-recipe-details__price", 4, "ngIf"], ["class", "miam-recipe-details__add-to-basket-cta miam-ds-button primary", 3, "click", 4, "ngIf"], ["class", "miam-recipe-details__add-to-basket-cta miam-ds-button primary", 4, "ngIf"], ["class", "miam-recipe-details__recipe-is-in-basket-cta-container", 4, "ngIf"], [1, "miam-recipe-details__add-to-basket-cta", "miam-ds-button", "primary", 3, "click"], ["alt", "basket icon", "src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Basket.svg"], [1, "miam-recipe-details__add-to-basket-cta__text"], i18n_4, [1, "miam-recipe-details__add-to-basket-remaining-price"], [1, "miam-ds-loader"], i18n_6, i18n_8, [1, "miam-recipe-details__add-to-basket-cta", "miam-ds-button", "primary"], [1, "miam-recipe-details__recipe-is-in-basket-cta-container"], [1, "miam-ds-button", "secondary", "miam-recipe-details__continue-shopping-cta", 3, "click"], i18n_10, ["class", "miam-ds-button primary miam-recipe-details__see-basket-cta", 3, "click", 4, "ngIf"], [1, "miam-ds-button", "primary", "miam-recipe-details__see-basket-cta", 3, "click"], [1, "miam-recipe-details__see-basket__text"], i18n_12, [3, "recipeId", "serves", "fetchPricingOnScroll"], [1, "miam-recipe-details__price"], [1, "miam-recipe-details__price-label", "miam-ds-text", "size-l", "weight-xxl"], [3, "price"], [1, "miam-ds-loader", "primary"], [1, "miam-recipe-details__price-in-basket-label", "miam-ds-text", "size-xs"], i18n_14, [3, "recipe", "hideAddon"], [3, "recipe", "basketEntry", "ingredient", "ignoreSelected", "loadOnSelect", "originTrace", "selected"]];
27951
28017
  }, template: function RecipeDetailsComponent_Template(rf, ctx) {
@@ -28011,7 +28077,7 @@
28011
28077
  args: ['topContainerImg']
28012
28078
  }] });
28013
28079
  })();
28014
- var templateObject_1$4, templateObject_2$2, templateObject_3$2, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7$1;
28080
+ var templateObject_1$6, templateObject_2$4, templateObject_3$3, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7$2;
28015
28081
 
28016
28082
  var RecipeDetailsModule = /** @class */ (function () {
28017
28083
  // Create custom elements so the WebComponents can be interpreted by the browser regardless of the js framework used
@@ -28235,7 +28301,7 @@
28235
28301
  i18n_0 = MSG_EXTERNAL_2745229545355315372$$LIB__WEB_COMPONENTS_RECIPE_HELPER_RECIPE_HELPER_COMPONENT_TS__1;
28236
28302
  }
28237
28303
  else {
28238
- i18n_0 = $localize(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject([":\u241F7e92da6ffc9309858bc537f8c471f562a2c23ea2\u241F2745229545355315372:Faire mes courses \u00E0 partir de recettes"], [":\u241F7e92da6ffc9309858bc537f8c471f562a2c23ea2\u241F2745229545355315372:Faire mes courses \u00E0 partir de recettes"])));
28304
+ i18n_0 = $localize(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject([":\u241F7e92da6ffc9309858bc537f8c471f562a2c23ea2\u241F2745229545355315372:Faire mes courses \u00E0 partir de recettes"], [":\u241F7e92da6ffc9309858bc537f8c471f562a2c23ea2\u241F2745229545355315372:Faire mes courses \u00E0 partir de recettes"])));
28239
28305
  }
28240
28306
  var i18n_2;
28241
28307
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -28243,7 +28309,7 @@
28243
28309
  i18n_2 = MSG_EXTERNAL_875682303777018267$$LIB__WEB_COMPONENTS_RECIPE_HELPER_RECIPE_HELPER_COMPONENT_TS__3;
28244
28310
  }
28245
28311
  else {
28246
- i18n_2 = $localize(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject([":\u241Fc780da5a638e4882902bbfb1189214fd18e352b8\u241F875682303777018267:Dor\u00E9navant faites vos courses \u00E0 partir de recettes et ajoutez les ingr\u00E9dients en 1 clic !"], [":\u241Fc780da5a638e4882902bbfb1189214fd18e352b8\u241F875682303777018267:Dor\u00E9navant faites vos courses \u00E0 partir de recettes et ajoutez les ingr\u00E9dients en 1 clic !"])));
28312
+ i18n_2 = $localize(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject([":\u241Fc780da5a638e4882902bbfb1189214fd18e352b8\u241F875682303777018267:Dor\u00E9navant faites vos courses \u00E0 partir de recettes et ajoutez les ingr\u00E9dients en 1 clic !"], [":\u241Fc780da5a638e4882902bbfb1189214fd18e352b8\u241F875682303777018267:Dor\u00E9navant faites vos courses \u00E0 partir de recettes et ajoutez les ingr\u00E9dients en 1 clic !"])));
28247
28313
  }
28248
28314
  var i18n_4;
28249
28315
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -28251,7 +28317,7 @@
28251
28317
  i18n_4 = MSG_EXTERNAL_373143433767250089$$LIB__WEB_COMPONENTS_RECIPE_HELPER_RECIPE_HELPER_COMPONENT_TS__5;
28252
28318
  }
28253
28319
  else {
28254
- i18n_4 = $localize(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject([":\u241F6b3440183ef6e9a0959cf29ab136fc49d12f73c5\u241F373143433767250089:Comment \u00E7a marche ?"], [":\u241F6b3440183ef6e9a0959cf29ab136fc49d12f73c5\u241F373143433767250089:Comment \u00E7a marche ?"])));
28320
+ i18n_4 = $localize(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject([":\u241F6b3440183ef6e9a0959cf29ab136fc49d12f73c5\u241F373143433767250089:Comment \u00E7a marche ?"], [":\u241F6b3440183ef6e9a0959cf29ab136fc49d12f73c5\u241F373143433767250089:Comment \u00E7a marche ?"])));
28255
28321
  }
28256
28322
  var i18n_6;
28257
28323
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -28259,7 +28325,7 @@
28259
28325
  i18n_6 = MSG_EXTERNAL_4201906510803171506$$LIB__WEB_COMPONENTS_RECIPE_HELPER_RECIPE_HELPER_COMPONENT_TS__7;
28260
28326
  }
28261
28327
  else {
28262
- i18n_6 = $localize(templateObject_4 || (templateObject_4 = __makeTemplateObject([":\u241F9dbf18fe66bbecaa6af6687c2d2353c0d1a8f83f\u241F4201906510803171506:Retrouvez le d\u00E9tail de la recette en cliquant sur la carte."], [":\u241F9dbf18fe66bbecaa6af6687c2d2353c0d1a8f83f\u241F4201906510803171506:Retrouvez le d\u00E9tail de la recette en cliquant sur la carte."])));
28328
+ i18n_6 = $localize(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject([":\u241F9dbf18fe66bbecaa6af6687c2d2353c0d1a8f83f\u241F4201906510803171506:Retrouvez le d\u00E9tail de la recette en cliquant sur la carte."], [":\u241F9dbf18fe66bbecaa6af6687c2d2353c0d1a8f83f\u241F4201906510803171506:Retrouvez le d\u00E9tail de la recette en cliquant sur la carte."])));
28263
28329
  }
28264
28330
  var i18n_8;
28265
28331
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -28267,7 +28333,7 @@
28267
28333
  i18n_8 = MSG_EXTERNAL_8795484274290705925$$LIB__WEB_COMPONENTS_RECIPE_HELPER_RECIPE_HELPER_COMPONENT_TS__9;
28268
28334
  }
28269
28335
  else {
28270
- i18n_8 = $localize(templateObject_5 || (templateObject_5 = __makeTemplateObject([":\u241F1e93f602c861c1b1b382a7a30184216d862df758\u241F8795484274290705925:Ajustez le nombre de convives si n\u00E9cessaire."], [":\u241F1e93f602c861c1b1b382a7a30184216d862df758\u241F8795484274290705925:Ajustez le nombre de convives si n\u00E9cessaire."])));
28336
+ i18n_8 = $localize(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject([":\u241F1e93f602c861c1b1b382a7a30184216d862df758\u241F8795484274290705925:Ajustez le nombre de convives si n\u00E9cessaire."], [":\u241F1e93f602c861c1b1b382a7a30184216d862df758\u241F8795484274290705925:Ajustez le nombre de convives si n\u00E9cessaire."])));
28271
28337
  }
28272
28338
  var i18n_10;
28273
28339
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -28275,7 +28341,7 @@
28275
28341
  i18n_10 = MSG_EXTERNAL_5815399869678272559$$LIB__WEB_COMPONENTS_RECIPE_HELPER_RECIPE_HELPER_COMPONENT_TS__11;
28276
28342
  }
28277
28343
  else {
28278
- i18n_10 = $localize(templateObject_6 || (templateObject_6 = __makeTemplateObject([":\u241Fe6b557dabd98fdc8d4a2570c8e987bdbdbf09cc4\u241F5815399869678272559:Cliquez sur \"Ajouter les ingr\u00E9dients\" et ajustez les produits si besoin."], [":\u241Fe6b557dabd98fdc8d4a2570c8e987bdbdbf09cc4\u241F5815399869678272559:Cliquez sur \"Ajouter les ingr\u00E9dients\" et ajustez les produits si besoin."])));
28344
+ i18n_10 = $localize(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject([":\u241Fe6b557dabd98fdc8d4a2570c8e987bdbdbf09cc4\u241F5815399869678272559:Cliquez sur \"Ajouter les ingr\u00E9dients\" et ajustez les produits si besoin."], [":\u241Fe6b557dabd98fdc8d4a2570c8e987bdbdbf09cc4\u241F5815399869678272559:Cliquez sur \"Ajouter les ingr\u00E9dients\" et ajustez les produits si besoin."])));
28279
28345
  }
28280
28346
  var i18n_12;
28281
28347
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -28283,7 +28349,7 @@
28283
28349
  i18n_12 = MSG_EXTERNAL_269834836997346662$$LIB__WEB_COMPONENTS_RECIPE_HELPER_RECIPE_HELPER_COMPONENT_TS__13;
28284
28350
  }
28285
28351
  else {
28286
- i18n_12 = $localize(templateObject_7 || (templateObject_7 = __makeTemplateObject([":\u241F89bd8569b050f8b61a13bb8c80b42f2d51e4db1d\u241F269834836997346662:C'est tout, c'est ajout\u00E9 ! Retrouvez le d\u00E9tail"], [":\u241F89bd8569b050f8b61a13bb8c80b42f2d51e4db1d\u241F269834836997346662:C'est tout, c'est ajout\u00E9 ! Retrouvez le d\u00E9tail"])));
28352
+ i18n_12 = $localize(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject([":\u241F89bd8569b050f8b61a13bb8c80b42f2d51e4db1d\u241F269834836997346662:C'est tout, c'est ajout\u00E9 ! Retrouvez le d\u00E9tail"], [":\u241F89bd8569b050f8b61a13bb8c80b42f2d51e4db1d\u241F269834836997346662:C'est tout, c'est ajout\u00E9 ! Retrouvez le d\u00E9tail"])));
28287
28353
  }
28288
28354
  return [["class", "miam-recipe-helper__modal", 3, "display", "noHeaderMode", "close", 4, "ngIf"], [1, "miam-recipe-helper__modal", 3, "display", "noHeaderMode", "close"], [1, "miam-recipe-helper"], [1, "miam-recipe-helper__image"], [1, "miam-recipe-helper__content"], [1, "miam-recipe-helper__header"], [1, "miam-recipe-helper__title", "miam-ds-text", "size-xl", "weight-xxl"], i18n_0, [1, "miam-ds-text", "weight-l"], i18n_2, [1, "miam-recipe-helper__steps"], [1, "miam-recipe-helper__how", "miam-ds-text", "weight-xxl"], i18n_4, [1, "miam-recipe-helper__step"], [1, "miam-recipe-helper__step-number", "miam-ds-text", "size-s", "weight-xxl"], [1, "miam-recipe-helper__step-number__number"], [1, "miam-recipe-helper__step-description", "miam-ds-text", "size-s", "weight-l"], i18n_6, i18n_8, i18n_10, i18n_12];
28289
28355
  }, template: function RecipeHelperComponent_Template(rf, ctx) {
@@ -28310,7 +28376,7 @@
28310
28376
  type: i0.Output
28311
28377
  }] });
28312
28378
  })();
28313
- var templateObject_1$3, templateObject_2$1, templateObject_3$1, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
28379
+ var templateObject_1$5, templateObject_2$3, templateObject_3$2, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7$1;
28314
28380
 
28315
28381
  var _c0 = ["tag"];
28316
28382
  function RecipeTagsComponent_ng_container_0_div_1_div_2_Template(rf, ctx) {
@@ -28547,7 +28613,7 @@
28547
28613
  i18n_4 = MSG_EXTERNAL_8273924711540568207$$LIB__WEB_COMPONENTS_RECIPE_TAGS_RECIPE_TAGS_COMPONENT_TS___5;
28548
28614
  }
28549
28615
  else {
28550
- i18n_4 = $localize(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject([":\u241F3c5bb82ed6e0c7ec470e7e044e3d12f9642d5356\u241F8273924711540568207:repas"], [":\u241F3c5bb82ed6e0c7ec470e7e044e3d12f9642d5356\u241F8273924711540568207:repas"])));
28616
+ i18n_4 = $localize(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject([":\u241F3c5bb82ed6e0c7ec470e7e044e3d12f9642d5356\u241F8273924711540568207:repas"], [":\u241F3c5bb82ed6e0c7ec470e7e044e3d12f9642d5356\u241F8273924711540568207:repas"])));
28551
28617
  }
28552
28618
  return [[4, "ngIf", "ngIfElse"], ["reduced", ""], ["class", "miam-recipe-tags__container", 3, "ngStyle", 4, "ngIf"], [1, "miam-recipe-tags__container", 3, "ngStyle"], [1, "miam-recipe-tags__container__list"], ["class", "miam-recipe-tags__list__badge", 4, "ngFor", "ngForOf"], [1, "miam-recipe-tags__container__toggle", 3, "ngClass"], [1, "miam-recipe-tags__toggle__open", 3, "click"], [1, "miam-recipe-tags__toggle__ligne"], [1, "miam-recipe-tags__toggle__close", 3, "ngStyle", "click"], ["width", "24", "height", "24", "primaryColor", "var(--m-color-white)", 3, "iconName"], [1, "miam-recipe-tags__list__badge"], ["tag", ""], ["primaryColor", "var(--m-color-white)", 1, "miam-recipe-tags__badge__icon", 3, "iconName", "click"], [1, "miam-recipe-tag__badge__text", 3, "click"], ["class", "miam-recipe-tags__recipes", 3, "click", 4, "ngIf"], ["class", "miam-recipe-tags__modal", 3, "display", "noHeaderMode", "recipesCount", "close", 4, "ngIf"], [1, "miam-recipe-tags__recipes", 3, "click"], [1, "miam-recipe-tags__recipes__count"], i18n_4, [1, "miam-recipe-tags__modal", 3, "display", "noHeaderMode", "recipesCount", "close"]];
28553
28619
  }, template: function RecipeTagsComponent_Template(rf, ctx) {
@@ -28581,7 +28647,7 @@
28581
28647
  args: ['tag']
28582
28648
  }] });
28583
28649
  })();
28584
- var templateObject_1$2;
28650
+ var templateObject_1$4;
28585
28651
 
28586
28652
  var RecipeSelectionLog = /** @class */ (function (_super) {
28587
28653
  __extends(RecipeSelectionLog, _super);
@@ -28815,7 +28881,7 @@
28815
28881
  i18n_0 = MSG_EXTERNAL_3410334792873579856$$LIB__WEB_COMPONENTS_RECIPES_HISTORY_RECIPES_HISTORY_COMPONENT_TS_1;
28816
28882
  }
28817
28883
  else {
28818
- i18n_0 = $localize(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject([":\u241F57475cd8d9aa0563f913304441621bee29b5b1f2\u241F3410334792873579856:Mon historique de repas"], [":\u241F57475cd8d9aa0563f913304441621bee29b5b1f2\u241F3410334792873579856:Mon historique de repas"])));
28884
+ i18n_0 = $localize(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject([":\u241F57475cd8d9aa0563f913304441621bee29b5b1f2\u241F3410334792873579856:Mon historique de repas"], [":\u241F57475cd8d9aa0563f913304441621bee29b5b1f2\u241F3410334792873579856:Mon historique de repas"])));
28819
28885
  }
28820
28886
  var i18n_2;
28821
28887
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -28823,7 +28889,7 @@
28823
28889
  i18n_2 = MSG_EXTERNAL_9002871522056222346$$LIB__WEB_COMPONENTS_RECIPES_HISTORY_RECIPES_HISTORY_COMPONENT_TS__3;
28824
28890
  }
28825
28891
  else {
28826
- i18n_2 = $localize(templateObject_2 || (templateObject_2 = __makeTemplateObject([":\u241F216065a76eda382e233b8a2c032bd74da4947906\u241F9002871522056222346:page"], [":\u241F216065a76eda382e233b8a2c032bd74da4947906\u241F9002871522056222346:page"])));
28892
+ i18n_2 = $localize(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject([":\u241F216065a76eda382e233b8a2c032bd74da4947906\u241F9002871522056222346:page"], [":\u241F216065a76eda382e233b8a2c032bd74da4947906\u241F9002871522056222346:page"])));
28827
28893
  }
28828
28894
  var i18n_4;
28829
28895
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -28831,7 +28897,7 @@
28831
28897
  i18n_4 = MSG_EXTERNAL_6317414861786302811$$LIB__WEB_COMPONENTS_RECIPES_HISTORY_RECIPES_HISTORY_COMPONENT_TS__5;
28832
28898
  }
28833
28899
  else {
28834
- i18n_4 = $localize(templateObject_3 || (templateObject_3 = __makeTemplateObject([":\u241Fc452e641faa925d3d1e85e984181d96173e96ccd\u241F6317414861786302811:Vous n'avez aucun repas dans votre historique."], [":\u241Fc452e641faa925d3d1e85e984181d96173e96ccd\u241F6317414861786302811:Vous n'avez aucun repas dans votre historique."])));
28900
+ i18n_4 = $localize(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject([":\u241Fc452e641faa925d3d1e85e984181d96173e96ccd\u241F6317414861786302811:Vous n'avez aucun repas dans votre historique."], [":\u241Fc452e641faa925d3d1e85e984181d96173e96ccd\u241F6317414861786302811:Vous n'avez aucun repas dans votre historique."])));
28835
28901
  }
28836
28902
  return [[1, "miam-recipes-history"], [1, "miam-recipes-history__title"], i18n_0, ["class", "miam-recipes-history__title__pagination", 4, "ngIf"], [4, "ngIf"], ["class", "miam-recipes-history__groups", 4, "ngFor", "ngForOf"], [1, "miam-recipes-history__title__pagination"], ["height", "24", "width", "24", "primaryColor", "grey", 1, "left", 3, "iconName", "click"], i18n_2, ["height", "24", "width", "24", "primaryColor", "grey", 1, "right", 3, "iconName", "click"], i18n_4, [1, "miam-recipes-history__groups"], [1, "miam-recipes-history__groups__header", 3, "click"], [1, "miam-recipes-history__groups__header__date"], [1, "miam-recipes-history__groups__header__chevron", 3, "ngClass"], ["height", "32", "width", "32", 3, "iconName"], [1, "miam-recipes-history__groups__recipes", 3, "ngClass"], [4, "ngFor", "ngForOf"], ["class", "miam-recipes-history__groups__recipes__line", 3, "displayTotalPricing", "line", "originTrace", 4, "ngIf"], [1, "miam-recipes-history__groups__recipes__line", 3, "displayTotalPricing", "line", "originTrace"]];
28837
28903
  }, template: function RecipesHistoryComponent_Template(rf, ctx) {
@@ -28868,7 +28934,7 @@
28868
28934
  }]
28869
28935
  }], function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: RecipesService }, { type: RecipeSelectionLogsService }, { type: BasketsService }, { type: AnalyticsService }]; }, null);
28870
28936
  })();
28871
- var templateObject_1$1, templateObject_2, templateObject_3;
28937
+ var templateObject_1$3, templateObject_2$2, templateObject_3$1;
28872
28938
 
28873
28939
  /**
28874
28940
  * this service is made to add class miam-not-printable to root DOM's elements
@@ -28958,7 +29024,7 @@
28958
29024
  var ctx_r4 = i0__namespace.ɵɵnextContext(2);
28959
29025
  i0__namespace.ɵɵclassProp("hidden", ctx_r4.showStoreLocator);
28960
29026
  i0__namespace.ɵɵadvance(1);
28961
- i0__namespace.ɵɵproperty("recipeId", ctx_r4.recipe == null ? null : ctx_r4.recipe.id)("displayItemsUnitaryPrice", true)("originTrace", ctx_r4.eventTrace);
29027
+ i0__namespace.ɵɵproperty("recipeId", ctx_r4.recipe == null ? null : ctx_r4.recipe.id)("displayItemsUnitaryPrice", true)("isStoreLocatorDisplayed", ctx_r4.showStoreLocator)("originTrace", ctx_r4.eventTrace);
28962
29028
  }
28963
29029
  }
28964
29030
  function RecipeModalComponent_ng_miam_modal_0_ng_miam_recipe_details_8_Template(rf, ctx) {
@@ -28993,7 +29059,7 @@
28993
29059
  i0__namespace.ɵɵpipe(3, "async");
28994
29060
  i0__namespace.ɵɵtemplate(4, RecipeModalComponent_ng_miam_modal_0_ng_miam_store_locator_link_4_Template, 1, 0, "ng-miam-store-locator-link", 3);
28995
29061
  i0__namespace.ɵɵpipe(5, "async");
28996
- i0__namespace.ɵɵtemplate(6, RecipeModalComponent_ng_miam_modal_0_div_6_Template, 2, 5, "div", 4);
29062
+ i0__namespace.ɵɵtemplate(6, RecipeModalComponent_ng_miam_modal_0_div_6_Template, 2, 6, "div", 4);
28997
29063
  i0__namespace.ɵɵpipe(7, "async");
28998
29064
  i0__namespace.ɵɵtemplate(8, RecipeModalComponent_ng_miam_modal_0_ng_miam_recipe_details_8_Template, 2, 9, "ng-miam-recipe-details", 5);
28999
29065
  i0__namespace.ɵɵpipe(9, "async");
@@ -29103,7 +29169,12 @@
29103
29169
  _this.storeLocatorService.closeModalOnSelected = false;
29104
29170
  _this.hide();
29105
29171
  }
29106
- _this.cdr.detectChanges();
29172
+ else {
29173
+ if (!_this.showStoreLocator) {
29174
+ _this.storeLocatorService.closeModalOnSelected = false; // reset variable even if storeLocator was closed early
29175
+ }
29176
+ _this.cdr.detectChanges(); // hide does a detectChanges so we avoid a double change
29177
+ }
29107
29178
  }), this.productAdditionService.isModalOpen$.subscribe(function (isOpened) {
29108
29179
  _this.productAdditionModalOpened = isOpened;
29109
29180
  _this.cdr.detectChanges();
@@ -29124,9 +29195,10 @@
29124
29195
  _this.registerTrace(result === null || result === void 0 ? void 0 : result.eventTrace);
29125
29196
  if (!(result === null || result === void 0 ? void 0 : result.recipe)) {
29126
29197
  if (result === null || result === void 0 ? void 0 : result.force) {
29127
- _this.subscriptions.push(_this.posService.posWasInitialized().pipe(operators.take(1)).subscribe(function (wasInitialized) {
29128
- if (!wasInitialized) {
29129
- _this.storeLocatorService.storeLocatorOpened$.next(true);
29198
+ _this.subscriptions.push(_this.posService.isPosValid().pipe(operators.take(1)).subscribe(function (wasInitialized) {
29199
+ // if no pos and the modal wasn't opened from the pricing, open the store-locator
29200
+ if (!wasInitialized && !_this.storeLocatorService.closeModalOnSelected) {
29201
+ _this.storeLocatorService.openStoreLocator();
29130
29202
  }
29131
29203
  _this.previewMode.next(result.previewMode);
29132
29204
  _this.previewAllowed = result.previewAllowed;
@@ -29139,7 +29211,7 @@
29139
29211
  else {
29140
29212
  _this.show = false;
29141
29213
  _this._storeLocatorInit = false;
29142
- _this.storeLocatorService.storeLocatorOpened$.next(false);
29214
+ _this.storeLocatorService.closeStoreLocator();
29143
29215
  _this.cdr.detectChanges();
29144
29216
  }
29145
29217
  }
@@ -29186,7 +29258,7 @@
29186
29258
  this.productReplacementService.changeModalState(false);
29187
29259
  this.basketChangedSinceOpened = false;
29188
29260
  this._storeLocatorInit = false;
29189
- this.storeLocatorService.storeLocatorOpened$.next(false);
29261
+ this.storeLocatorService.closeStoreLocator();
29190
29262
  this.cdr.detectChanges();
29191
29263
  }
29192
29264
  };
@@ -29239,9 +29311,9 @@
29239
29311
  i18n_0 = MSG_EXTERNAL_171150506213829263$$LIB__WEB_COMPONENTS_RECIPE_MODAL_RECIPE_MODAL_COMPONENT_TS_1;
29240
29312
  }
29241
29313
  else {
29242
- i18n_0 = $localize(templateObject_1 || (templateObject_1 = __makeTemplateObject([":\u241Fd0309cdf7a6522949c4f145db5e71f70c9d9d66c\u241F171150506213829263:Mes repas"], [":\u241Fd0309cdf7a6522949c4f145db5e71f70c9d9d66c\u241F171150506213829263:Mes repas"])));
29314
+ i18n_0 = $localize(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject([":\u241Fd0309cdf7a6522949c4f145db5e71f70c9d9d66c\u241F171150506213829263:Mes repas"], [":\u241Fd0309cdf7a6522949c4f145db5e71f70c9d9d66c\u241F171150506213829263:Mes repas"])));
29243
29315
  }
29244
- return [["title", i18n_0, "modalStyle", "right", 3, "display", "noHeaderMode", "confirmButtonDisabled", "cancelButtonDisabled", "cancelButtonIsLoading", "placeOrderFooter", "totalPrice", "miam-recipe-modal__basket-preview-modal", "ngClass", "displayChange", "close", "cancel", "confirm", 4, "ngIf"], ["modalStyle", "right", 3, "noHeaderMode", "display", "cancelButtonDisabled", "cancelButtonIsLoading", "close", 4, "ngIf"], ["title", i18n_0, "modalStyle", "right", 3, "display", "noHeaderMode", "confirmButtonDisabled", "cancelButtonDisabled", "cancelButtonIsLoading", "placeOrderFooter", "totalPrice", "ngClass", "displayChange", "close", "cancel", "confirm"], ["header", "", 4, "ngIf"], ["class", "miam-wrapper-preview", 3, "hidden", 4, "ngIf"], [3, "recipeId", "guestNumber", "previewAllowed", "originTrace", "stepsOnLeftSide", "moreRecipesImageURL", "pricingGuestsText", "displayGuests", "helpButtonAllowed", "recipeAdded", "recipeError", "closeDetails", 4, "ngIf"], [3, "originTrace", 4, "ngIf"], ["header", ""], [1, "miam-wrapper-preview"], [3, "recipeId", "displayItemsUnitaryPrice", "originTrace"], [3, "recipeId", "guestNumber", "previewAllowed", "originTrace", "stepsOnLeftSide", "moreRecipesImageURL", "pricingGuestsText", "displayGuests", "helpButtonAllowed", "recipeAdded", "recipeError", "closeDetails"], ["details", ""], [3, "originTrace"], ["modalStyle", "right", 3, "noHeaderMode", "display", "cancelButtonDisabled", "cancelButtonIsLoading", "close"], [3, "addProductMode", "originTrace", "selected"], [3, "basketEntry", "loadOnSelect", "originTrace", "selected"]];
29316
+ return [["title", i18n_0, "modalStyle", "right", 3, "display", "noHeaderMode", "confirmButtonDisabled", "cancelButtonDisabled", "cancelButtonIsLoading", "placeOrderFooter", "totalPrice", "miam-recipe-modal__basket-preview-modal", "ngClass", "displayChange", "close", "cancel", "confirm", 4, "ngIf"], ["modalStyle", "right", 3, "noHeaderMode", "display", "cancelButtonDisabled", "cancelButtonIsLoading", "close", 4, "ngIf"], ["title", i18n_0, "modalStyle", "right", 3, "display", "noHeaderMode", "confirmButtonDisabled", "cancelButtonDisabled", "cancelButtonIsLoading", "placeOrderFooter", "totalPrice", "ngClass", "displayChange", "close", "cancel", "confirm"], ["header", "", 4, "ngIf"], ["class", "miam-wrapper-preview", 3, "hidden", 4, "ngIf"], [3, "recipeId", "guestNumber", "previewAllowed", "originTrace", "stepsOnLeftSide", "moreRecipesImageURL", "pricingGuestsText", "displayGuests", "helpButtonAllowed", "recipeAdded", "recipeError", "closeDetails", 4, "ngIf"], [3, "originTrace", 4, "ngIf"], ["header", ""], [1, "miam-wrapper-preview"], [3, "recipeId", "displayItemsUnitaryPrice", "isStoreLocatorDisplayed", "originTrace"], [3, "recipeId", "guestNumber", "previewAllowed", "originTrace", "stepsOnLeftSide", "moreRecipesImageURL", "pricingGuestsText", "displayGuests", "helpButtonAllowed", "recipeAdded", "recipeError", "closeDetails"], ["details", ""], [3, "originTrace"], ["modalStyle", "right", 3, "noHeaderMode", "display", "cancelButtonDisabled", "cancelButtonIsLoading", "close"], [3, "addProductMode", "originTrace", "selected"], [3, "basketEntry", "loadOnSelect", "originTrace", "selected"]];
29245
29317
  }, template: function RecipeModalComponent_Template(rf, ctx) {
29246
29318
  if (rf & 1) {
29247
29319
  i0__namespace.ɵɵtemplate(0, RecipeModalComponent_ng_miam_modal_0_Template, 11, 28, "ng-miam-modal", 0);
@@ -29276,7 +29348,7 @@
29276
29348
  type: i0.Output
29277
29349
  }] });
29278
29350
  })();
29279
- var templateObject_1;
29351
+ var templateObject_1$2;
29280
29352
 
29281
29353
  function ToasterStackComponent_ng_miam_toaster_1_Template(rf, ctx) {
29282
29354
  if (rf & 1) {
@@ -29340,13 +29412,424 @@
29340
29412
  }], function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: ToasterService }]; }, null);
29341
29413
  })();
29342
29414
 
29415
+ function NoSupplierOnboardingComponent_span_10_Template(rf, ctx) {
29416
+ if (rf & 1) {
29417
+ i0__namespace.ɵɵelementStart(0, "span", 19);
29418
+ i0__namespace.ɵɵi18n(1, 20);
29419
+ i0__namespace.ɵɵelementEnd();
29420
+ }
29421
+ }
29422
+ function NoSupplierOnboardingComponent_span_11_Template(rf, ctx) {
29423
+ if (rf & 1) {
29424
+ i0__namespace.ɵɵelementStart(0, "span", 21);
29425
+ i0__namespace.ɵɵelementStart(1, "span", 22);
29426
+ i0__namespace.ɵɵi18n(2, 23);
29427
+ i0__namespace.ɵɵelementEnd();
29428
+ i0__namespace.ɵɵelementStart(3, "span");
29429
+ i0__namespace.ɵɵi18n(4, 24);
29430
+ i0__namespace.ɵɵelementEnd();
29431
+ i0__namespace.ɵɵelementStart(5, "span", 22);
29432
+ i0__namespace.ɵɵi18n(6, 25);
29433
+ i0__namespace.ɵɵelementEnd();
29434
+ i0__namespace.ɵɵelementEnd();
29435
+ }
29436
+ }
29437
+ function NoSupplierOnboardingComponent_img_12_Template(rf, ctx) {
29438
+ if (rf & 1) {
29439
+ i0__namespace.ɵɵelement(0, "img", 26);
29440
+ }
29441
+ }
29442
+ function NoSupplierOnboardingComponent_span_13_Template(rf, ctx) {
29443
+ if (rf & 1) {
29444
+ i0__namespace.ɵɵelementStart(0, "span", 19);
29445
+ i0__namespace.ɵɵi18n(1, 27);
29446
+ i0__namespace.ɵɵelementEnd();
29447
+ }
29448
+ }
29449
+ function NoSupplierOnboardingComponent_span_14_Template(rf, ctx) {
29450
+ if (rf & 1) {
29451
+ i0__namespace.ɵɵelementStart(0, "span", 21);
29452
+ i0__namespace.ɵɵi18n(1, 28);
29453
+ i0__namespace.ɵɵelementEnd();
29454
+ }
29455
+ }
29456
+ function NoSupplierOnboardingComponent_span_15_Template(rf, ctx) {
29457
+ if (rf & 1) {
29458
+ i0__namespace.ɵɵelementStart(0, "span", 19);
29459
+ i0__namespace.ɵɵi18n(1, 29);
29460
+ i0__namespace.ɵɵelementEnd();
29461
+ }
29462
+ }
29463
+ function NoSupplierOnboardingComponent_span_16_Template(rf, ctx) {
29464
+ if (rf & 1) {
29465
+ i0__namespace.ɵɵelementStart(0, "span", 21);
29466
+ i0__namespace.ɵɵi18n(1, 30);
29467
+ i0__namespace.ɵɵelementEnd();
29468
+ }
29469
+ }
29470
+ function NoSupplierOnboardingComponent_span_17_Template(rf, ctx) {
29471
+ if (rf & 1) {
29472
+ i0__namespace.ɵɵelementStart(0, "span", 19);
29473
+ i0__namespace.ɵɵi18n(1, 31);
29474
+ i0__namespace.ɵɵelementEnd();
29475
+ }
29476
+ }
29477
+ function NoSupplierOnboardingComponent_span_18_Template(rf, ctx) {
29478
+ if (rf & 1) {
29479
+ i0__namespace.ɵɵelementStart(0, "span", 21);
29480
+ i0__namespace.ɵɵi18n(1, 32);
29481
+ i0__namespace.ɵɵelementEnd();
29482
+ }
29483
+ }
29484
+ function NoSupplierOnboardingComponent_button_24_Template(rf, ctx) {
29485
+ if (rf & 1) {
29486
+ var _r12_1 = i0__namespace.ɵɵgetCurrentView();
29487
+ i0__namespace.ɵɵelementStart(0, "button", 33);
29488
+ i0__namespace.ɵɵlistener("click", function NoSupplierOnboardingComponent_button_24_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r12_1); var ctx_r11 = i0__namespace.ɵɵnextContext(); return ctx_r11.previousStep(); });
29489
+ i0__namespace.ɵɵelement(1, "img", 34);
29490
+ i0__namespace.ɵɵelementEnd();
29491
+ }
29492
+ }
29493
+ function NoSupplierOnboardingComponent_button_25_Template(rf, ctx) {
29494
+ if (rf & 1) {
29495
+ var _r14_1 = i0__namespace.ɵɵgetCurrentView();
29496
+ i0__namespace.ɵɵelementStart(0, "button", 35);
29497
+ i0__namespace.ɵɵlistener("click", function NoSupplierOnboardingComponent_button_25_Template_button_click_0_listener() { i0__namespace.ɵɵrestoreView(_r14_1); var ctx_r13 = i0__namespace.ɵɵnextContext(); return ctx_r13.nextStep(); });
29498
+ i0__namespace.ɵɵelement(1, "img", 36);
29499
+ i0__namespace.ɵɵelementEnd();
29500
+ }
29501
+ }
29502
+ var NoSupplierOnboardingComponent = /** @class */ (function (_super) {
29503
+ __extends(NoSupplierOnboardingComponent, _super);
29504
+ function NoSupplierOnboardingComponent(storeLocatoreService, cdr, analyticsService) {
29505
+ var _this = _super.call(this, analyticsService) || this;
29506
+ _this.storeLocatoreService = storeLocatoreService;
29507
+ _this.cdr = cdr;
29508
+ _this.analyticsService = analyticsService;
29509
+ _this.display = false;
29510
+ _this.step = 1;
29511
+ _this.pictures = [
29512
+ 'https://storage.googleapis.com/assets.miam.tech/generic/images/8.7/noSupplierOnboardingStep1.png',
29513
+ 'https://storage.googleapis.com/assets.miam.tech/generic/images/8.7/noSupplierOnboardingStep2.png',
29514
+ 'https://storage.googleapis.com/assets.miam.tech/generic/images/8.7/noSupplierOnboardingStep3.png',
29515
+ 'https://storage.googleapis.com/assets.miam.tech/generic/images/8.7/noSupplierOnboardingStep4.png'
29516
+ ];
29517
+ _this.subscriptions = [];
29518
+ return _this;
29519
+ }
29520
+ NoSupplierOnboardingComponent.prototype.ngOnInit = function () {
29521
+ var _this = this;
29522
+ this.subscriptions.push(this.storeLocatoreService.showNoSupplierOnboarding.subscribe(function (show) {
29523
+ _this.display = show;
29524
+ if (show) {
29525
+ _this.pageview();
29526
+ }
29527
+ _this.cdr.detectChanges();
29528
+ }));
29529
+ };
29530
+ NoSupplierOnboardingComponent.prototype.ngOnDestroy = function () {
29531
+ this.subscriptions.forEach(function (s) { return s.unsubscribe(); });
29532
+ };
29533
+ NoSupplierOnboardingComponent.prototype.confirm = function () {
29534
+ this.storeLocatoreService.showNoSupplierOnboarding.next(false);
29535
+ sessionStorage.setItem('_miam/noSupplier/onboarding', 'was-closed');
29536
+ };
29537
+ NoSupplierOnboardingComponent.prototype.onConfirm = function () {
29538
+ this.sendEvent(this.analyticsService.EVENT_ONBOARDING_ACTION);
29539
+ this.confirm();
29540
+ };
29541
+ NoSupplierOnboardingComponent.prototype.onClose = function () {
29542
+ this.sendEvent(this.analyticsService.EVENT_ONBOARDING_CLOSE);
29543
+ this.onConfirm();
29544
+ };
29545
+ NoSupplierOnboardingComponent.prototype.previousStep = function () {
29546
+ this.step = Math.max(this.step - 1, 1);
29547
+ this.cdr.detectChanges();
29548
+ };
29549
+ NoSupplierOnboardingComponent.prototype.nextStep = function () {
29550
+ this.step = Math.min(this.step + 1, 4);
29551
+ this.cdr.detectChanges();
29552
+ };
29553
+ NoSupplierOnboardingComponent.prototype.currentPath = function () {
29554
+ return 'onboarding';
29555
+ };
29556
+ NoSupplierOnboardingComponent.prototype.currentProps = function () {
29557
+ return { steps_completed: this.step + 1 };
29558
+ };
29559
+ return NoSupplierOnboardingComponent;
29560
+ }(EventTracerComponent));
29561
+ NoSupplierOnboardingComponent.ɵfac = function NoSupplierOnboardingComponent_Factory(t) { return new (t || NoSupplierOnboardingComponent)(i0__namespace.ɵɵdirectiveInject(StoreLocatorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(AnalyticsService)); };
29562
+ NoSupplierOnboardingComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NoSupplierOnboardingComponent, selectors: [["ng-miam-no-supplier-onboarding"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 26, vars: 28, consts: function () {
29563
+ var i18n_0;
29564
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29565
+ var MSG_EXTERNAL_2816692981606991860$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS_1 = goog.getMsg("J'ai compris, je choisis un magasin !");
29566
+ i18n_0 = MSG_EXTERNAL_2816692981606991860$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS_1;
29567
+ }
29568
+ else {
29569
+ i18n_0 = $localize(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject([":\u241Fc4ad362fc9f0c9c22d1fd568d25aae97ee586a82\u241F2816692981606991860:J'ai compris, je choisis un magasin !"], [":\u241Fc4ad362fc9f0c9c22d1fd568d25aae97ee586a82\u241F2816692981606991860:J'ai compris, je choisis un magasin !"])));
29570
+ }
29571
+ var i18n_2;
29572
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29573
+ var MSG_EXTERNAL_1603121115579726702$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS_3 = goog.getMsg("NOUVEAU !");
29574
+ i18n_2 = MSG_EXTERNAL_1603121115579726702$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS_3;
29575
+ }
29576
+ else {
29577
+ i18n_2 = $localize(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject([":\u241Fc2443273b9a58e104cee8b97da0847f671e0bb19\u241F1603121115579726702:NOUVEAU !"], [":\u241Fc2443273b9a58e104cee8b97da0847f671e0bb19\u241F1603121115579726702:NOUVEAU !"])));
29578
+ }
29579
+ var i18n_4;
29580
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29581
+ var MSG_EXTERNAL_7092690753889758412$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__5 = goog.getMsg(" Nos recettes \u00E9voluent ! ");
29582
+ i18n_4 = MSG_EXTERNAL_7092690753889758412$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__5;
29583
+ }
29584
+ else {
29585
+ i18n_4 = $localize(templateObject_3 || (templateObject_3 = __makeTemplateObject([":\u241Fb07a5d39a9048c6a58c6d42808d744c0fdd8e46c\u241F7092690753889758412: Nos recettes \u00E9voluent ! "], [":\u241Fb07a5d39a9048c6a58c6d42808d744c0fdd8e46c\u241F7092690753889758412: Nos recettes \u00E9voluent ! "])));
29586
+ }
29587
+ var i18n_6;
29588
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29589
+ var MSG_EXTERNAL_5564097410576841229$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__7 = goog.getMsg("Commandez");
29590
+ i18n_6 = MSG_EXTERNAL_5564097410576841229$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__7;
29591
+ }
29592
+ else {
29593
+ i18n_6 = $localize(templateObject_4 || (templateObject_4 = __makeTemplateObject([":\u241Fd0761c4c3712e219f2ff2fbeab7f37f7b95926bc\u241F5564097410576841229:Commandez"], [":\u241Fd0761c4c3712e219f2ff2fbeab7f37f7b95926bc\u241F5564097410576841229:Commandez"])));
29594
+ }
29595
+ var i18n_8;
29596
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29597
+ var MSG_EXTERNAL_5871179754542290449$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__9 = goog.getMsg("d\u00E8s \u00E0 pr\u00E9sent les produits pour r\u00E9aliser nos recettes les plus populaires en cliquant sur le ");
29598
+ i18n_8 = MSG_EXTERNAL_5871179754542290449$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__9;
29599
+ }
29600
+ else {
29601
+ i18n_8 = $localize(templateObject_5 || (templateObject_5 = __makeTemplateObject([":\u241F0c5c49d35bdf0cf1bd425d50ef169f0b55d5bf17\u241F5871179754542290449:d\u00E8s \u00E0 pr\u00E9sent les produits pour r\u00E9aliser nos recettes les plus populaires en cliquant sur le "], [":\u241F0c5c49d35bdf0cf1bd425d50ef169f0b55d5bf17\u241F5871179754542290449:d\u00E8s \u00E0 pr\u00E9sent les produits pour r\u00E9aliser nos recettes les plus populaires en cliquant sur le "])));
29602
+ }
29603
+ var i18n_10;
29604
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29605
+ var MSG_EXTERNAL_9133667957593364481$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__11 = goog.getMsg("bouton :");
29606
+ i18n_10 = MSG_EXTERNAL_9133667957593364481$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__11;
29607
+ }
29608
+ else {
29609
+ i18n_10 = $localize(templateObject_6 || (templateObject_6 = __makeTemplateObject([":\u241Fc94e737b14e96e79cbf45f9f290387f5116e0a9f\u241F9133667957593364481:bouton :"], [":\u241Fc94e737b14e96e79cbf45f9f290387f5116e0a9f\u241F9133667957593364481:bouton :"])));
29610
+ }
29611
+ var i18n_12;
29612
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29613
+ var MSG_EXTERNAL_7245065393474850100$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__13 = goog.getMsg(" Choisissez un magasin ");
29614
+ i18n_12 = MSG_EXTERNAL_7245065393474850100$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__13;
29615
+ }
29616
+ else {
29617
+ i18n_12 = $localize(templateObject_7 || (templateObject_7 = __makeTemplateObject([":\u241F37a6f3a3c8f98dcbb08e05adf07f7e9cdbb8f7c0\u241F7245065393474850100: Choisissez un magasin "], [":\u241F37a6f3a3c8f98dcbb08e05adf07f7e9cdbb8f7c0\u241F7245065393474850100: Choisissez un magasin "])));
29618
+ }
29619
+ var i18n_14;
29620
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29621
+ var MSG_EXTERNAL_4355113013311350506$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__15 = goog.getMsg(" S\u00E9lectionnez un magasin parmi les enseignes participantes et disponibles proche de vous ");
29622
+ i18n_14 = MSG_EXTERNAL_4355113013311350506$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__15;
29623
+ }
29624
+ else {
29625
+ i18n_14 = $localize(templateObject_8 || (templateObject_8 = __makeTemplateObject([":\u241Fd85894a83b2bbb5017b10d88c0bb5f403c0c3475\u241F4355113013311350506: S\u00E9lectionnez un magasin parmi les enseignes participantes et disponibles proche de vous "], [":\u241Fd85894a83b2bbb5017b10d88c0bb5f403c0c3475\u241F4355113013311350506: S\u00E9lectionnez un magasin parmi les enseignes participantes et disponibles proche de vous "])));
29626
+ }
29627
+ var i18n_16;
29628
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29629
+ var MSG_EXTERNAL_1467011540921792116$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__17 = goog.getMsg(" Une recette, des produits ");
29630
+ i18n_16 = MSG_EXTERNAL_1467011540921792116$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__17;
29631
+ }
29632
+ else {
29633
+ i18n_16 = $localize(templateObject_9 || (templateObject_9 = __makeTemplateObject([":\u241F65885464cf4d7afd4902fe5c2a47e5956db9ff80\u241F1467011540921792116: Une recette, des produits "], [":\u241F65885464cf4d7afd4902fe5c2a47e5956db9ff80\u241F1467011540921792116: Une recette, des produits "])));
29634
+ }
29635
+ var i18n_18;
29636
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29637
+ var MSG_EXTERNAL_5086472943298816302$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__19 = goog.getMsg(" Ajoutez les produits de votre choix dans votre panier et ajustez les quantit\u00E9s. ");
29638
+ i18n_18 = MSG_EXTERNAL_5086472943298816302$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__19;
29639
+ }
29640
+ else {
29641
+ i18n_18 = $localize(templateObject_10 || (templateObject_10 = __makeTemplateObject([":\u241F375a7b05cf5e2aeb0d1492458220414e04b45633\u241F5086472943298816302: Ajoutez les produits de votre choix dans votre panier et ajustez les quantit\u00E9s. "], [":\u241F375a7b05cf5e2aeb0d1492458220414e04b45633\u241F5086472943298816302: Ajoutez les produits de votre choix dans votre panier et ajustez les quantit\u00E9s. "])));
29642
+ }
29643
+ var i18n_20;
29644
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29645
+ var MSG_EXTERNAL_1909477807174925261$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__21 = goog.getMsg(" Commande en 1 clic ");
29646
+ i18n_20 = MSG_EXTERNAL_1909477807174925261$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__21;
29647
+ }
29648
+ else {
29649
+ i18n_20 = $localize(templateObject_11 || (templateObject_11 = __makeTemplateObject([":\u241Fb088a78ffbfff3e8745b959e510ca57f54041a96\u241F1909477807174925261: Commande en 1 clic "], [":\u241Fb088a78ffbfff3e8745b959e510ca57f54041a96\u241F1909477807174925261: Commande en 1 clic "])));
29650
+ }
29651
+ var i18n_22;
29652
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29653
+ var MSG_EXTERNAL_3034721524441098149$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__23 = goog.getMsg(" Acc\u00E9dez \u00E0 votre panier et passez votre commande dans le magasin s\u00E9lectionn\u00E9. ");
29654
+ i18n_22 = MSG_EXTERNAL_3034721524441098149$$LIB__WEB_COMPONENTS_NO_SUPPLIER_ONBOARDING_NO_SUPPLIER_ONBOARDING_COMPONENT_TS__23;
29655
+ }
29656
+ else {
29657
+ i18n_22 = $localize(templateObject_12 || (templateObject_12 = __makeTemplateObject([":\u241F21f106b52a056618e02cbe6e46f923033841b836\u241F3034721524441098149: Acc\u00E9dez \u00E0 votre panier et passez votre commande dans le magasin s\u00E9lectionn\u00E9. "], [":\u241F21f106b52a056618e02cbe6e46f923033841b836\u241F3034721524441098149: Acc\u00E9dez \u00E0 votre panier et passez votre commande dans le magasin s\u00E9lectionn\u00E9. "])));
29658
+ }
29659
+ return [["modalStyle", "center", "confirmButtonText", i18n_0, 1, "miam-no-supplier-onboarding-modal", 3, "noHeaderMode", "display", "confirm", "close"], [1, "miam-no-supplier-onboarding"], [1, "miam-no-supplier-onboarding__header"], [1, "miam-no-supplier-onboarding__badge", "miam-ds-badge", "size-l"], i18n_2, [1, "miam-no-supplier-onboarding__close", "miam-ds-button", "square", "ghost", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross_primary.svg", "alt", "modal close button"], [1, "miam-no-supplier-onboarding__body"], [1, "miam-no-supplier-onboarding__img", 3, "src"], ["class", "miam-no-supplier-onboarding__title miam-ds-text size-xl weight-xl", 4, "ngIf"], ["class", "miam-no-supplier-onboarding__text miam-ds-text size-s weight-m", 4, "ngIf"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/8.7/noSupplierOnboardingButton.png", "alt", "Illustration of button to click", "class", "miam-no-supplier-onboarding__fake-button", 4, "ngIf"], [1, "miam-no-supplier-onboarding__track"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/8.7/BulletPoint.svg", 1, "step1", 3, "alt"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/8.7/BulletPoint.svg", 1, "step2", 3, "alt"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/8.7/BulletPoint.svg", 1, "step3", 3, "alt"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/8.7/BulletPoint.svg", 1, "step4", 3, "alt"], ["class", "miam-ds-button primary ghost square miam-no-supplier-onboarding__previous", 3, "click", 4, "ngIf"], ["class", "miam-ds-button primary ghost square miam-no-supplier-onboarding__next", 3, "click", 4, "ngIf"], [1, "miam-no-supplier-onboarding__title", "miam-ds-text", "size-xl", "weight-xl"], i18n_4, [1, "miam-no-supplier-onboarding__text", "miam-ds-text", "size-s", "weight-m"], [1, "miam-no-supplier-onboarding__bold"], i18n_6, i18n_8, i18n_10, ["src", "https://storage.googleapis.com/assets.miam.tech/generic/images/8.7/noSupplierOnboardingButton.png", "alt", "Illustration of button to click", 1, "miam-no-supplier-onboarding__fake-button"], i18n_12, i18n_14, i18n_16, i18n_18, i18n_20, i18n_22, [1, "miam-ds-button", "primary", "ghost", "square", "miam-no-supplier-onboarding__previous", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_dark.svg", "alt", "previous step"], [1, "miam-ds-button", "primary", "ghost", "square", "miam-no-supplier-onboarding__next", 3, "click"], ["src", "https://storage.googleapis.com/assets.miam.tech/generic/icons/ArrowLeft_dark.svg", "alt", "next step"]];
29660
+ }, template: function NoSupplierOnboardingComponent_Template(rf, ctx) {
29661
+ if (rf & 1) {
29662
+ i0__namespace.ɵɵelementStart(0, "ng-miam-modal", 0);
29663
+ i0__namespace.ɵɵlistener("confirm", function NoSupplierOnboardingComponent_Template_ng_miam_modal_confirm_0_listener() { return ctx.onConfirm(); })("close", function NoSupplierOnboardingComponent_Template_ng_miam_modal_close_0_listener() { return ctx.onClose(); });
29664
+ i0__namespace.ɵɵelementStart(1, "div", 1);
29665
+ i0__namespace.ɵɵelementStart(2, "div", 2);
29666
+ i0__namespace.ɵɵelementStart(3, "span", 3);
29667
+ i0__namespace.ɵɵi18n(4, 4);
29668
+ i0__namespace.ɵɵelementEnd();
29669
+ i0__namespace.ɵɵelementStart(5, "button", 5);
29670
+ i0__namespace.ɵɵlistener("click", function NoSupplierOnboardingComponent_Template_button_click_5_listener() { return ctx.onConfirm(); });
29671
+ i0__namespace.ɵɵelement(6, "img", 6);
29672
+ i0__namespace.ɵɵelementEnd();
29673
+ i0__namespace.ɵɵelementEnd();
29674
+ i0__namespace.ɵɵelementStart(7, "div", 7);
29675
+ i0__namespace.ɵɵelementStart(8, "div");
29676
+ i0__namespace.ɵɵelement(9, "img", 8);
29677
+ i0__namespace.ɵɵtemplate(10, NoSupplierOnboardingComponent_span_10_Template, 2, 0, "span", 9);
29678
+ i0__namespace.ɵɵtemplate(11, NoSupplierOnboardingComponent_span_11_Template, 7, 0, "span", 10);
29679
+ i0__namespace.ɵɵtemplate(12, NoSupplierOnboardingComponent_img_12_Template, 1, 0, "img", 11);
29680
+ i0__namespace.ɵɵtemplate(13, NoSupplierOnboardingComponent_span_13_Template, 2, 0, "span", 9);
29681
+ i0__namespace.ɵɵtemplate(14, NoSupplierOnboardingComponent_span_14_Template, 2, 0, "span", 10);
29682
+ i0__namespace.ɵɵtemplate(15, NoSupplierOnboardingComponent_span_15_Template, 2, 0, "span", 9);
29683
+ i0__namespace.ɵɵtemplate(16, NoSupplierOnboardingComponent_span_16_Template, 2, 0, "span", 10);
29684
+ i0__namespace.ɵɵtemplate(17, NoSupplierOnboardingComponent_span_17_Template, 2, 0, "span", 9);
29685
+ i0__namespace.ɵɵtemplate(18, NoSupplierOnboardingComponent_span_18_Template, 2, 0, "span", 10);
29686
+ i0__namespace.ɵɵelementEnd();
29687
+ i0__namespace.ɵɵelementStart(19, "div", 12);
29688
+ i0__namespace.ɵɵelement(20, "img", 13);
29689
+ i0__namespace.ɵɵelement(21, "img", 14);
29690
+ i0__namespace.ɵɵelement(22, "img", 15);
29691
+ i0__namespace.ɵɵelement(23, "img", 16);
29692
+ i0__namespace.ɵɵelementEnd();
29693
+ i0__namespace.ɵɵelementEnd();
29694
+ i0__namespace.ɵɵtemplate(24, NoSupplierOnboardingComponent_button_24_Template, 2, 0, "button", 17);
29695
+ i0__namespace.ɵɵtemplate(25, NoSupplierOnboardingComponent_button_25_Template, 2, 0, "button", 18);
29696
+ i0__namespace.ɵɵelementEnd();
29697
+ i0__namespace.ɵɵelementEnd();
29698
+ }
29699
+ if (rf & 2) {
29700
+ i0__namespace.ɵɵproperty("noHeaderMode", true)("display", ctx.display);
29701
+ i0__namespace.ɵɵadvance(8);
29702
+ i0__namespace.ɵɵclassMap("miam-no-supplier-onboarding__content step" + ctx.step);
29703
+ i0__namespace.ɵɵadvance(1);
29704
+ i0__namespace.ɵɵproperty("src", ctx.pictures[ctx.step - 1], i0__namespace.ɵɵsanitizeUrl);
29705
+ i0__namespace.ɵɵadvance(1);
29706
+ i0__namespace.ɵɵproperty("ngIf", ctx.step === 1);
29707
+ i0__namespace.ɵɵadvance(1);
29708
+ i0__namespace.ɵɵproperty("ngIf", ctx.step === 1);
29709
+ i0__namespace.ɵɵadvance(1);
29710
+ i0__namespace.ɵɵproperty("ngIf", ctx.step === 1);
29711
+ i0__namespace.ɵɵadvance(1);
29712
+ i0__namespace.ɵɵproperty("ngIf", ctx.step === 2);
29713
+ i0__namespace.ɵɵadvance(1);
29714
+ i0__namespace.ɵɵproperty("ngIf", ctx.step === 2);
29715
+ i0__namespace.ɵɵadvance(1);
29716
+ i0__namespace.ɵɵproperty("ngIf", ctx.step === 3);
29717
+ i0__namespace.ɵɵadvance(1);
29718
+ i0__namespace.ɵɵproperty("ngIf", ctx.step === 3);
29719
+ i0__namespace.ɵɵadvance(1);
29720
+ i0__namespace.ɵɵproperty("ngIf", ctx.step === 4);
29721
+ i0__namespace.ɵɵadvance(1);
29722
+ i0__namespace.ɵɵproperty("ngIf", ctx.step === 4);
29723
+ i0__namespace.ɵɵadvance(2);
29724
+ i0__namespace.ɵɵclassMap(ctx.step === 1 ? "active" : "");
29725
+ i0__namespace.ɵɵproperty("alt", ctx.step === 1 ? "step 1" : "");
29726
+ i0__namespace.ɵɵadvance(1);
29727
+ i0__namespace.ɵɵclassMap(ctx.step === 2 ? "active" : "");
29728
+ i0__namespace.ɵɵproperty("alt", ctx.step === 2 ? "step 2" : "");
29729
+ i0__namespace.ɵɵadvance(1);
29730
+ i0__namespace.ɵɵclassMap(ctx.step === 3 ? "active" : "");
29731
+ i0__namespace.ɵɵproperty("alt", ctx.step === 3 ? "step 3" : "");
29732
+ i0__namespace.ɵɵadvance(1);
29733
+ i0__namespace.ɵɵclassMap(ctx.step === 4 ? "active" : "");
29734
+ i0__namespace.ɵɵproperty("alt", ctx.step === 4 ? "step 4" : "");
29735
+ i0__namespace.ɵɵadvance(1);
29736
+ i0__namespace.ɵɵproperty("ngIf", ctx.step > 1);
29737
+ i0__namespace.ɵɵadvance(1);
29738
+ i0__namespace.ɵɵproperty("ngIf", ctx.step < 4);
29739
+ }
29740
+ }, directives: [ModalComponent, i2__namespace$2.NgIf], styles: [".miam-no-supplier-onboarding-modal .miam-modal__container.center .miam-shadow-overlay{z-index:calc(var(--m-z-index-modal) + 1)}.miam-no-supplier-onboarding-modal .miam-modal__container.center .miam-modal{width:375px;min-width:375px;height:716px;z-index:calc(var(--m-z-index-modal) + 2);padding:0}.miam-no-supplier-onboarding-modal .miam-modal__container.center .miam-modal .miam-modal__content-container .miam-modal__interactions .miam-ds-button{width:100%;border-radius:0}@media (max-width:1023px){.miam-no-supplier-onboarding-modal .miam-modal__container.center .miam-modal .miam-modal__content-container .miam-modal__content{padding:0}.miam-no-supplier-onboarding-modal .miam-modal__container.center .miam-modal .miam-modal__content-container .miam-modal__interactions{justify-content:flex-end;padding:0}}@media (max-width:600px){.miam-no-supplier-onboarding-modal .miam-modal__container.center .miam-modal{min-width:320px;width:100vw;max-width:100vw;top:unset;bottom:0;transform:translateX(-50%)}}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding{display:flex;flex-direction:column;height:100%}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__header{display:flex;width:100%;box-sizing:border-box;justify-content:space-between;align-items:flex-start;margin-bottom:16px;padding:16px 16px 0}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__header .miam-no-supplier-onboarding__close{padding:4px}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body{display:flex;flex-direction:column;justify-content:space-between;align-items:center;flex:1}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__content{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 16px 16px}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__content .miam-no-supplier-onboarding__img{width:343px;height:380px}@media (max-width:375px){.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__content .miam-no-supplier-onboarding__img{width:288px}}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__content .miam-no-supplier-onboarding__title{margin:16px 0}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__content .miam-no-supplier-onboarding__text{text-align:center}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__content .miam-no-supplier-onboarding__text span{display:inline;padding:0 4px 0 0}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__content .miam-no-supplier-onboarding__text .miam-no-supplier-onboarding__bold{font-weight:700}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__content .miam-no-supplier-onboarding__fake-button{margin-top:16px}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__track{display:flex;justify-content:space-between;width:60px;margin-bottom:16px}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__body .miam-no-supplier-onboarding__track img:not(.active){opacity:.2}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__next,.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__previous{position:absolute;top:230px;display:flex;width:48px;height:48px;justify-content:center;align-items:center;border-radius:1000px;box-shadow:0 4px 4px 0 rgba(0,0,0,.25)}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__next.miam-ds-button.primary.ghost,.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__previous.miam-ds-button.primary.ghost{background-color:#fff}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__previous{left:8px}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__next{right:8px}.miam-no-supplier-onboarding-modal .miam-no-supplier-onboarding .miam-no-supplier-onboarding__next img{transform:rotate(180deg)}"], encapsulation: 2, changeDetection: 0 });
29741
+ (function () {
29742
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(NoSupplierOnboardingComponent, [{
29743
+ type: i0.Component,
29744
+ args: [{
29745
+ selector: 'ng-miam-no-supplier-onboarding',
29746
+ templateUrl: './no-supplier-onboarding.component.html',
29747
+ styleUrls: ['./no-supplier-onboarding.component.scss'],
29748
+ encapsulation: i0.ViewEncapsulation.None,
29749
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
29750
+ }]
29751
+ }], function () { return [{ type: StoreLocatorService }, { type: i0__namespace.ChangeDetectorRef }, { type: AnalyticsService }]; }, null);
29752
+ })();
29753
+ var templateObject_1$1, templateObject_2$1, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
29754
+
29755
+ var WarningStoreLocatorComponent = /** @class */ (function () {
29756
+ function WarningStoreLocatorComponent(storeLocatoreService, cdr) {
29757
+ this.storeLocatoreService = storeLocatoreService;
29758
+ this.cdr = cdr;
29759
+ this.display = false;
29760
+ this.subscriptions = [];
29761
+ }
29762
+ WarningStoreLocatorComponent.prototype.ngOnInit = function () {
29763
+ var _this = this;
29764
+ this.subscriptions.push(this.storeLocatoreService.showStoreLocatorWarning.subscribe(function (show) {
29765
+ _this.display = show;
29766
+ _this.cdr.detectChanges();
29767
+ }));
29768
+ };
29769
+ WarningStoreLocatorComponent.prototype.ngOnDestroy = function () {
29770
+ this.subscriptions.forEach(function (s) { return s.unsubscribe(); });
29771
+ };
29772
+ WarningStoreLocatorComponent.prototype.onConfirm = function () {
29773
+ this.storeLocatoreService.changePos();
29774
+ this.storeLocatoreService.showStoreLocatorWarning.next(false);
29775
+ };
29776
+ return WarningStoreLocatorComponent;
29777
+ }());
29778
+ WarningStoreLocatorComponent.ɵfac = function WarningStoreLocatorComponent_Factory(t) { return new (t || WarningStoreLocatorComponent)(i0__namespace.ɵɵdirectiveInject(StoreLocatorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef)); };
29779
+ WarningStoreLocatorComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WarningStoreLocatorComponent, selectors: [["ng-miam-warning-store-locator"]], decls: 3, vars: 2, consts: function () {
29780
+ var i18n_0;
29781
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29782
+ var MSG_EXTERNAL_3978328765105102624$$LIB__WEB_COMPONENTS_WARNING_STORE_LOCATOR_WARNING_STORE_LOCATOR_COMPONENT_TS_1 = goog.getMsg("Ok, compris !");
29783
+ i18n_0 = MSG_EXTERNAL_3978328765105102624$$LIB__WEB_COMPONENTS_WARNING_STORE_LOCATOR_WARNING_STORE_LOCATOR_COMPONENT_TS_1;
29784
+ }
29785
+ else {
29786
+ i18n_0 = $localize(templateObject_1 || (templateObject_1 = __makeTemplateObject([":\u241F63204a8ecd75c38c9ac2b4bd76d1b55d69720b15\u241F3978328765105102624:Ok, compris !"], [":\u241F63204a8ecd75c38c9ac2b4bd76d1b55d69720b15\u241F3978328765105102624:Ok, compris !"])));
29787
+ }
29788
+ var i18n_2;
29789
+ if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
29790
+ var MSG_EXTERNAL_375270900922638068$$LIB__WEB_COMPONENTS_WARNING_STORE_LOCATOR_WARNING_STORE_LOCATOR_COMPONENT_TS_3 = goog.getMsg(" Si l'application CoursesU est install\u00E9e sur votre t\u00E9l\u00E9phone, il est pr\u00E9f\u00E9rable d'utiliser votre ordinateur pour commander les ingr\u00E9dients de vos recettes. ");
29791
+ i18n_2 = MSG_EXTERNAL_375270900922638068$$LIB__WEB_COMPONENTS_WARNING_STORE_LOCATOR_WARNING_STORE_LOCATOR_COMPONENT_TS_3;
29792
+ }
29793
+ else {
29794
+ i18n_2 = $localize(templateObject_2 || (templateObject_2 = __makeTemplateObject([":\u241Fa8112b11f26d29524e2a4d830ebada4f50f0e0ee\u241F375270900922638068: Si l'application CoursesU est install\u00E9e sur votre t\u00E9l\u00E9phone, il est pr\u00E9f\u00E9rable d'utiliser votre ordinateur pour commander les ingr\u00E9dients de vos recettes. "], [":\u241Fa8112b11f26d29524e2a4d830ebada4f50f0e0ee\u241F375270900922638068: Si l'application CoursesU est install\u00E9e sur votre t\u00E9l\u00E9phone, il est pr\u00E9f\u00E9rable d'utiliser votre ordinateur pour commander les ingr\u00E9dients de vos recettes. "])));
29795
+ }
29796
+ return [["modalStyle", "center", "confirmButtonText", i18n_0, 1, "miam-warning-store-locator", 3, "noHeaderMode", "display", "confirm", "close"], [1, "miam-warning-store-locator__content", "miam-ds-text", "size-s", "weight-m"], i18n_2];
29797
+ }, template: function WarningStoreLocatorComponent_Template(rf, ctx) {
29798
+ if (rf & 1) {
29799
+ i0__namespace.ɵɵelementStart(0, "ng-miam-modal", 0);
29800
+ i0__namespace.ɵɵlistener("confirm", function WarningStoreLocatorComponent_Template_ng_miam_modal_confirm_0_listener() { return ctx.onConfirm(); })("close", function WarningStoreLocatorComponent_Template_ng_miam_modal_close_0_listener() { return ctx.onConfirm(); });
29801
+ i0__namespace.ɵɵelementStart(1, "span", 1);
29802
+ i0__namespace.ɵɵi18n(2, 2);
29803
+ i0__namespace.ɵɵelementEnd();
29804
+ i0__namespace.ɵɵelementEnd();
29805
+ }
29806
+ if (rf & 2) {
29807
+ i0__namespace.ɵɵproperty("noHeaderMode", true)("display", ctx.display);
29808
+ }
29809
+ }, directives: [ModalComponent], styles: [".miam-warning-store-locator .miam-modal__container .miam-shadow-overlay{z-index:calc(var(--m-z-index-modal) + 1)}.miam-warning-store-locator .miam-modal__container .miam-modal{z-index:calc(var(--m-z-index-modal) + 2)}.miam-warning-store-locator .miam-warning-store-locator__content{text-align:center}"], encapsulation: 2, changeDetection: 0 });
29810
+ (function () {
29811
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WarningStoreLocatorComponent, [{
29812
+ type: i0.Component,
29813
+ args: [{
29814
+ selector: 'ng-miam-warning-store-locator',
29815
+ templateUrl: './warning-store-locator.component.html',
29816
+ styleUrls: ['./warning-store-locator.component.scss'],
29817
+ encapsulation: i0.ViewEncapsulation.None,
29818
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
29819
+ }]
29820
+ }], function () { return [{ type: StoreLocatorService }, { type: i0__namespace.ChangeDetectorRef }]; }, null);
29821
+ })();
29822
+ var templateObject_1, templateObject_2;
29823
+
29343
29824
  var WEB_COMPONENTS = [
29344
29825
  RecipeModalComponent,
29345
29826
  RecipesHistoryComponent,
29346
29827
  RecipeHelperComponent,
29347
29828
  RecipeTagsComponent,
29348
29829
  ToasterStackComponent,
29349
- BasketTransferModalComponent
29830
+ BasketTransferModalComponent,
29831
+ WarningStoreLocatorComponent,
29832
+ NoSupplierOnboardingComponent
29350
29833
  ];
29351
29834
  // Tag names as imported in client application
29352
29835
  // Warning : do not use caps, use dashed case only
@@ -29356,7 +29839,9 @@
29356
29839
  'recipe-helper',
29357
29840
  'recipe-tags',
29358
29841
  'toaster-stack',
29359
- 'basket-transfer-modal'
29842
+ 'basket-transfer-modal',
29843
+ 'warning-store-locator',
29844
+ 'no-supplier-onboarding'
29360
29845
  ];
29361
29846
  var WEBC_MODULES = [
29362
29847
  BasketPreviewModule,
@@ -29398,7 +29883,9 @@
29398
29883
  RecipeHelperComponent,
29399
29884
  RecipeTagsComponent,
29400
29885
  ToasterStackComponent,
29401
- BasketTransferModalComponent], imports: [i2$3.CommonModule,
29886
+ BasketTransferModalComponent,
29887
+ WarningStoreLocatorComponent,
29888
+ NoSupplierOnboardingComponent], imports: [i2$3.CommonModule,
29402
29889
  i3.FormsModule,
29403
29890
  i3.ReactiveFormsModule,
29404
29891
  ComponentsModule,
@@ -29424,7 +29911,9 @@
29424
29911
  RecipeHelperComponent,
29425
29912
  RecipeTagsComponent,
29426
29913
  ToasterStackComponent,
29427
- BasketTransferModalComponent] });
29914
+ BasketTransferModalComponent,
29915
+ WarningStoreLocatorComponent,
29916
+ NoSupplierOnboardingComponent] });
29428
29917
  })();
29429
29918
  (function () {
29430
29919
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(WebComponentsModule, [{
@@ -29460,46 +29949,21 @@
29460
29949
  }
29461
29950
  // Inject RecipeDetailsModal component dynamically when lib starts
29462
29951
  NgMiamModule.prototype.injectModals = function () {
29463
- this.injectDetailsModal();
29464
- this.injectHelperModal();
29465
- this.injectToasterStackModal();
29466
- this.injectBasketTransferModal();
29467
- };
29468
- NgMiamModule.prototype.injectDetailsModal = function () {
29952
+ this.injectModal(RecipeModalComponent);
29953
+ this.injectModal(RecipeHelperComponent);
29954
+ this.injectModal(ToasterStackComponent);
29955
+ this.injectModal(BasketTransferModalComponent);
29956
+ this.injectModal(WarningStoreLocatorComponent);
29957
+ this.injectModal(NoSupplierOnboardingComponent);
29958
+ };
29959
+ NgMiamModule.prototype.injectModal = function (elementClass) {
29469
29960
  // Instantiate RecipeDetailsModalComponent & attach it to root view ref
29470
- var factoryRecipeModal = this.factoryResolver.resolveComponentFactory(RecipeModalComponent);
29471
- var componentRefRecipeModal = factoryRecipeModal.create(this.injector);
29472
- this.appRef.attachView(componentRefRecipeModal.hostView);
29473
- // Append corresponding elements to DOM
29474
- var rootDomElemRecipeModal = componentRefRecipeModal.hostView.rootNodes[0];
29475
- document.body.appendChild(rootDomElemRecipeModal);
29476
- };
29477
- NgMiamModule.prototype.injectHelperModal = function () {
29478
- // Instantiate RecipeHelperComponent & attach it to root view ref
29479
- var factoryHelper = this.factoryResolver.resolveComponentFactory(RecipeHelperComponent);
29480
- var componentRefHelper = factoryHelper.create(this.injector);
29481
- this.appRef.attachView(componentRefHelper.hostView);
29482
- // Append corresponding elements to DOM
29483
- var rootDomElemHelper = componentRefHelper.hostView.rootNodes[0];
29484
- document.body.appendChild(rootDomElemHelper);
29485
- };
29486
- NgMiamModule.prototype.injectToasterStackModal = function () {
29487
- // Instantiate ToasterStackComponent & attach it to root view ref
29488
- var factoryToasterStack = this.factoryResolver.resolveComponentFactory(ToasterStackComponent);
29489
- var componentRefToasterStack = factoryToasterStack.create(this.injector);
29490
- this.appRef.attachView(componentRefToasterStack.hostView);
29491
- // Append corresponding elements to DOM
29492
- var rootDomElemToasterStack = componentRefToasterStack.hostView.rootNodes[0];
29493
- document.body.appendChild(rootDomElemToasterStack);
29494
- };
29495
- NgMiamModule.prototype.injectBasketTransferModal = function () {
29496
- // Instantiate BasketTransferModalComponent & attach it to root view ref
29497
- var factoryBasketTransfer = this.factoryResolver.resolveComponentFactory(BasketTransferModalComponent);
29498
- var componentRefBasketTransfer = factoryBasketTransfer.create(this.injector);
29499
- this.appRef.attachView(componentRefBasketTransfer.hostView);
29961
+ var factoryModal = this.factoryResolver.resolveComponentFactory(elementClass);
29962
+ var componentRef = factoryModal.create(this.injector);
29963
+ this.appRef.attachView(componentRef.hostView);
29500
29964
  // Append corresponding elements to DOM
29501
- var rootDomElemBasketTransfer = componentRefBasketTransfer.hostView.rootNodes[0];
29502
- document.body.appendChild(rootDomElemBasketTransfer);
29965
+ var rootDomElem = componentRef.hostView.rootNodes[0];
29966
+ document.body.appendChild(rootDomElem);
29503
29967
  };
29504
29968
  return NgMiamModule;
29505
29969
  }());
@@ -29643,6 +30107,7 @@
29643
30107
  exports.ModalComponent = ModalComponent;
29644
30108
  exports.NgMiamModule = NgMiamModule;
29645
30109
  exports.NoPosSelectedComponent = NoPosSelectedComponent;
30110
+ exports.NoSupplierOnboardingComponent = NoSupplierOnboardingComponent;
29646
30111
  exports.Package = Package;
29647
30112
  exports.PackageService = PackageService;
29648
30113
  exports.PointOfSale = PointOfSale;
@@ -29734,6 +30199,7 @@
29734
30199
  exports.UserService = UserService;
29735
30200
  exports.WEB_COMPONENTS = WEB_COMPONENTS;
29736
30201
  exports.WEB_COMPONENTS_NAMES = WEB_COMPONENTS_NAMES;
30202
+ exports.WarningStoreLocatorComponent = WarningStoreLocatorComponent;
29737
30203
  exports.WebComponentsModule = WebComponentsModule;
29738
30204
 
29739
30205
  Object.defineProperty(exports, '__esModule', { value: true });