ng-miam 8.2.2 → 8.2.4
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.
- package/bundles/ng-miam.umd.js +146 -100
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +1 -1
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_components/modal/modal.component.js +6 -3
- package/esm2015/lib/_services/interceptor.service.js +2 -2
- package/esm2015/lib/_web-components/preferences/preferences.component.js +1 -1
- package/esm2015/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.js +17 -4
- package/esm2015/lib/_web-components/recipe-catalog/catalog-list/catalog-list.component.js +1 -1
- package/esm2015/lib/_web-components/recipe-catalog/recipe-catalog.component.js +3 -5
- package/esm2015/lib/_web-components/recipe-details/recipe-details.component.js +113 -87
- package/esm2015/lib/_web-components/recipe-modal/recipe-modal.component.js +5 -5
- package/fesm2015/ng-miam.js +139 -100
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_components/modal/modal.component.d.ts.map +1 -1
- package/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.d.ts +3 -0
- package/lib/_web-components/recipe-cards/recipe-card/recipe-card.component.d.ts.map +1 -1
- package/lib/_web-components/recipe-catalog/recipe-catalog.component.d.ts.map +1 -1
- package/lib/_web-components/recipe-details/recipe-details.component.d.ts +2 -1
- package/lib/_web-components/recipe-details/recipe-details.component.d.ts.map +1 -1
- package/package.json +1 -1
package/fesm2015/ng-miam.js
CHANGED
|
@@ -6943,7 +6943,7 @@ class MiamInterceptor {
|
|
|
6943
6943
|
request = request.clone({
|
|
6944
6944
|
setHeaders: {
|
|
6945
6945
|
'miam-origin': this.context.origin.value,
|
|
6946
|
-
'miam-front-version': '8.2.
|
|
6946
|
+
'miam-front-version': '8.2.4',
|
|
6947
6947
|
'miam-front-type': 'web',
|
|
6948
6948
|
'miam-api-version': '4.7.0',
|
|
6949
6949
|
'language-id': environment$1.lang
|
|
@@ -7190,8 +7190,11 @@ class ModalComponent {
|
|
|
7190
7190
|
observeNavigation() {
|
|
7191
7191
|
this.currentPath = window.location.href;
|
|
7192
7192
|
this.mutationObserver = new MutationObserver(() => {
|
|
7193
|
-
if (this.
|
|
7194
|
-
this.
|
|
7193
|
+
if (this.currentPath !== window.location.href) {
|
|
7194
|
+
this.currentPath = window.location.href;
|
|
7195
|
+
if (this.display) {
|
|
7196
|
+
this.onClose();
|
|
7197
|
+
}
|
|
7195
7198
|
}
|
|
7196
7199
|
});
|
|
7197
7200
|
this.mutationObserver.observe(document.body, { childList: true });
|
|
@@ -15087,7 +15090,7 @@ function RecipeCardComponent_ng_miam_actions_popin_2_Template(rf, ctx) { if (rf
|
|
|
15087
15090
|
i0.ɵɵlistener("close", function RecipeCardComponent_ng_miam_actions_popin_2_Template_ng_miam_actions_popin_close_0_listener() { i0.ɵɵrestoreView(_r33); const ctx_r32 = i0.ɵɵnextContext(); return ctx_r32.closeMoreActions(); })("actionTriggered", function RecipeCardComponent_ng_miam_actions_popin_2_Template_ng_miam_actions_popin_actionTriggered_0_listener($event) { i0.ɵɵrestoreView(_r33); const ctx_r34 = i0.ɵɵnextContext(); return ctx_r34.actionTriggered.emit($event); });
|
|
15088
15091
|
i0.ɵɵelementEnd();
|
|
15089
15092
|
} }
|
|
15090
|
-
const _c4 = function (a0, a1, a2) { return { "variant-1": a0, "variant-2": a1, "variant-3": a2 }; };
|
|
15093
|
+
const _c4 = function (a0, a1, a2, a3) { return { "variant-1": a0, "variant-2": a1, "variant-3": a2, "in-basket": a3 }; };
|
|
15091
15094
|
const recipeIncludes$4 = ['recipe-provider', 'sponsors'];
|
|
15092
15095
|
const recipeSparseFields$4 = {
|
|
15093
15096
|
recipes: ['title', 'number-of-guests', 'media-url', 'video-id', 'filigrane-logo-url', 'difficulty', 'preparation-time', 'cooking-time',
|
|
@@ -15132,6 +15135,7 @@ class RecipeCardComponent extends EventTracerComponent {
|
|
|
15132
15135
|
this.icon = Icon;
|
|
15133
15136
|
this.actionsOpened = false;
|
|
15134
15137
|
this.isloaded = false;
|
|
15138
|
+
this.inBasket = false;
|
|
15135
15139
|
this.displayLikesBottom = false;
|
|
15136
15140
|
this.displayBadge = false;
|
|
15137
15141
|
this.primaryButtonClicked$ = new EventEmitter();
|
|
@@ -15151,6 +15155,7 @@ class RecipeCardComponent extends EventTracerComponent {
|
|
|
15151
15155
|
this.updateDisplayVariant();
|
|
15152
15156
|
if (this.recipe) {
|
|
15153
15157
|
this.updateGuestsIfNecessary();
|
|
15158
|
+
this.checkRecipeInBasket();
|
|
15154
15159
|
this.isloaded = true;
|
|
15155
15160
|
}
|
|
15156
15161
|
else if (this.recipeId) {
|
|
@@ -15232,6 +15237,7 @@ class RecipeCardComponent extends EventTracerComponent {
|
|
|
15232
15237
|
})).subscribe((result) => {
|
|
15233
15238
|
this.recipe = result;
|
|
15234
15239
|
this.updateGuestsIfNecessary();
|
|
15240
|
+
this.checkRecipeInBasket();
|
|
15235
15241
|
this.isloaded = true;
|
|
15236
15242
|
this.cdr.detectChanges();
|
|
15237
15243
|
}));
|
|
@@ -15247,6 +15253,7 @@ class RecipeCardComponent extends EventTracerComponent {
|
|
|
15247
15253
|
if ((results === null || results === void 0 ? void 0 : results.length) > 0) {
|
|
15248
15254
|
this.recipe = results[0];
|
|
15249
15255
|
this.updateGuestsIfNecessary();
|
|
15256
|
+
this.checkRecipeInBasket();
|
|
15250
15257
|
this.isloaded = true;
|
|
15251
15258
|
}
|
|
15252
15259
|
else {
|
|
@@ -15277,9 +15284,18 @@ class RecipeCardComponent extends EventTracerComponent {
|
|
|
15277
15284
|
this.cdr.detectChanges();
|
|
15278
15285
|
}));
|
|
15279
15286
|
}
|
|
15287
|
+
checkRecipeInBasket() {
|
|
15288
|
+
if (!this.basketSubscription && this.recipe) {
|
|
15289
|
+
this.basketSubscription = this.basketsService.recipeIsInBasket(this.recipe.id).subscribe(inBasket => {
|
|
15290
|
+
this.inBasket = inBasket;
|
|
15291
|
+
this.cdr.detectChanges();
|
|
15292
|
+
});
|
|
15293
|
+
this.subscriptions.push(this.basketSubscription);
|
|
15294
|
+
}
|
|
15295
|
+
}
|
|
15280
15296
|
}
|
|
15281
15297
|
RecipeCardComponent.ɵfac = function RecipeCardComponent_Factory(t) { return new (t || RecipeCardComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(RecipesService), i0.ɵɵdirectiveInject(BasketsService), i0.ɵɵdirectiveInject(UserService), i0.ɵɵdirectiveInject(ContextService), i0.ɵɵdirectiveInject(AnalyticsService), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
15282
|
-
RecipeCardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe", randomModeEnable: "randomModeEnable", productIds: "productIds", previewAllowed: "previewAllowed", helpButtonAllowed: "helpButtonAllowed", displayInfos: "displayInfos", displayPricing: "displayPricing", displayGuests: "displayGuests", addRecipeMode: "addRecipeMode", replaceMode: "replaceMode", displayVariant: "displayVariant" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", actionTriggered: "actionTriggered", removeFromMealsPlanner: "removeFromMealsPlanner", addToMealsPlanner: "addToMealsPlanner", openCatalog: "openCatalog", hide: "hide" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars:
|
|
15298
|
+
RecipeCardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeCardComponent, selectors: [["ng-miam-recipe-card"]], inputs: { recipeId: "recipeId", recipe: "recipe", randomModeEnable: "randomModeEnable", productIds: "productIds", previewAllowed: "previewAllowed", helpButtonAllowed: "helpButtonAllowed", displayInfos: "displayInfos", displayPricing: "displayPricing", displayGuests: "displayGuests", addRecipeMode: "addRecipeMode", replaceMode: "replaceMode", displayVariant: "displayVariant" }, outputs: { removedFromFavorite: "removedFromFavorite", displayed: "displayed", actionTriggered: "actionTriggered", removeFromMealsPlanner: "removeFromMealsPlanner", addToMealsPlanner: "addToMealsPlanner", openCatalog: "openCatalog", hide: "hide" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 3, vars: 9, consts: function () { let i18n_0; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
15283
15299
|
const MSG_EXTERNAL_9004334984468055592$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS___1 = goog.getMsg("Changer");
|
|
15284
15300
|
i18n_0 = MSG_EXTERNAL_9004334984468055592$$LIB__WEB_COMPONENTS_RECIPE_CARDS_RECIPE_CARD_RECIPE_CARD_COMPONENT_TS___1;
|
|
15285
15301
|
}
|
|
@@ -15298,7 +15314,7 @@ RecipeCardComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeCardComponent,
|
|
|
15298
15314
|
i0.ɵɵtemplate(2, RecipeCardComponent_ng_miam_actions_popin_2_Template, 1, 0, "ng-miam-actions-popin", 2);
|
|
15299
15315
|
i0.ɵɵelementEnd();
|
|
15300
15316
|
} if (rf & 2) {
|
|
15301
|
-
i0.ɵɵproperty("condition", !!ctx.recipe)("ngClass", i0.ɵɵ
|
|
15317
|
+
i0.ɵɵproperty("condition", !!ctx.recipe)("ngClass", i0.ɵɵpureFunction4(4, _c4, ctx.displayVariant !== 2 && ctx.displayVariant !== 3, ctx.displayVariant === 2, ctx.displayVariant === 3, ctx.inBasket));
|
|
15302
15318
|
i0.ɵɵadvance(1);
|
|
15303
15319
|
i0.ɵɵproperty("ngIf", ctx.recipe);
|
|
15304
15320
|
i0.ɵɵadvance(1);
|
|
@@ -16311,7 +16327,7 @@ CatalogListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CatalogListComponent
|
|
|
16311
16327
|
i0.ɵɵproperty("ngForOf", ctx.currentRecipes)("ngForTrackBy", ctx.trackByFn);
|
|
16312
16328
|
i0.ɵɵadvance(1);
|
|
16313
16329
|
i0.ɵɵproperty("ngForOf", ctx.articles);
|
|
16314
|
-
} }, directives: [i2$1.NgIf, i2$1.NgForOf, IconComponent, i2$1.NgClass, LoaderComponent, CardCreateRecipeComponent, RecipeCardComponent, LoadOnScrollDirective, i2$1.NgTemplateOutlet, CatalogArticleCardComponent], pipes: [i2$1.AsyncPipe], styles: [".miam-catalog-list{width:100%;padding:0 80px;box-sizing:border-box}.miam-catalog-list .miam-catalog-list__notFound{display:flex;flex-direction:column;width:100%;justify-content:center;text-align:center;padding:36px 0 0}.miam-catalog-list .miam-catalog-list__notFound .miam-catalog-list__notFound__title1{margin-top:36px;margin-bottom:8px;font-size:24px;font-weight:700;color:var(--m-color-primary)}.miam-catalog-list .miam-catalog-list__notFound .miam-catalog-list__notFound__title1.filtering span{display:inline}.miam-catalog-list .miam-catalog-list__notFound .miam-catalog-list__notFound__title1.filtering span+span{margin-left:5px}.miam-catalog-list .miam-catalog-list__notFound .miam-catalog-list__notFound__title2{font-size:22px;color:var(--m-color-grey-text)}.miam-catalog-list .miam-catalog-list__loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-catalog-list .miam-catalog-list__loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}.miam-catalog-list .miam-catalog-list__cards{display:grid;grid-template-columns:repeat(auto-fill,var(--m-catalog-card-width));justify-content:center;gap:16px;position:relative;width:100%;box-sizing:border-box}@media (max-width:1024px){.miam-catalog-list{padding:0 32px}}@media (max-width:700px){.miam-catalog-list{padding:0 20px}}"], encapsulation: 2, changeDetection: 0 });
|
|
16330
|
+
} }, directives: [i2$1.NgIf, i2$1.NgForOf, IconComponent, i2$1.NgClass, LoaderComponent, CardCreateRecipeComponent, RecipeCardComponent, LoadOnScrollDirective, i2$1.NgTemplateOutlet, CatalogArticleCardComponent], pipes: [i2$1.AsyncPipe], styles: [".miam-catalog-list{width:100%;padding:0 80px;box-sizing:border-box}.miam-catalog-list .miam-catalog-list__notFound{display:flex;flex-direction:column;width:100%;justify-content:center;text-align:center;padding:36px 0 0}.miam-catalog-list .miam-catalog-list__notFound .miam-catalog-list__notFound__title1{margin-top:36px;margin-bottom:8px;font-size:24px;font-weight:700;color:var(--m-color-primary)}.miam-catalog-list .miam-catalog-list__notFound .miam-catalog-list__notFound__title1.filtering span{display:inline}.miam-catalog-list .miam-catalog-list__notFound .miam-catalog-list__notFound__title1.filtering span+span{margin-left:5px}.miam-catalog-list .miam-catalog-list__notFound .miam-catalog-list__notFound__title2{font-size:22px;color:var(--m-color-grey-text)}.miam-catalog-list .miam-catalog-list__loader{width:100%;font-size:20px;font-weight:700;color:var(--m-color-grey-text);text-align:center}.miam-catalog-list .miam-catalog-list__loader .miam-loader{margin-top:80px;margin-bottom:16px;margin-left:calc(50% - 40px);height:80px;width:80px}.miam-catalog-list .miam-catalog-list__cards{display:grid;grid-template-columns:repeat(auto-fill,var(--m-catalog-card-width));justify-content:center;gap:16px;position:relative;width:100%;box-sizing:border-box}.miam-catalog-list .miam-catalog-list__cards:not(:has(.miam-recipe-card)){grid-template-columns:unset}@media (max-width:1024px){.miam-catalog-list{padding:0 32px}}@media (max-width:700px){.miam-catalog-list{padding:0 20px}}"], encapsulation: 2, changeDetection: 0 });
|
|
16315
16331
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogListComponent, [{
|
|
16316
16332
|
type: Component,
|
|
16317
16333
|
args: [{
|
|
@@ -18323,7 +18339,7 @@ PreferencesComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PreferencesComponent
|
|
|
18323
18339
|
i0.ɵɵproperty("ngIf", ctx.displayType === ctx.preferenceViewEnum.DEFAULT);
|
|
18324
18340
|
i0.ɵɵadvance(1);
|
|
18325
18341
|
i0.ɵɵproperty("ngIf", ctx.displayType === ctx.preferenceViewEnum.SEARCH);
|
|
18326
|
-
} }, directives: [ModalComponent, i2$1.NgIf, CounterInputComponent, AccordionComponent, AccordionTitleDirective, AccordionContentDirective, i2$1.NgForOf, i2$1.NgClass, PreferencesSearchComponent], pipes: [i2$1.TitleCasePipe], styles: [".miam-preferences{position:relative;display:flex;flex-direction:column;gap:24px;margin-bottom:72px}.miam-preferences .miam-preferences__header{display:flex;padding:8px;align-items:center;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1)}.miam-preferences .miam-preferences__header .miam-preferences_nav-and-title{display:flex;align-items:center}.miam-preferences .miam-preferences__header .miam-preferences__back-image{transform:rotate(180deg)}@media (min-width:1024px){.miam-preferences .miam-preferences__header{justify-content:space-between}}@media (min-width:1024px){.miam-preferences .miam-preferences__header .miam-preferences__back-button{display:none}}.miam-preferences .miam-preferences__header .miam-preferences__close-button{display:none}@media (min-width:1024px){.miam-preferences .miam-preferences__header .miam-preferences__close-button{display:block}}.miam-preferences .miam-preferences__header .miam-preferences__title{padding-left:8px;color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-preferences .miam-preferences__guests{display:flex;justify-content:space-between;align-items:center;padding:0 16px}.miam-preferences .miam-preferences__guests .miam-preferences_guest-counter{border-radius:6px;border:1px solid var(--miam-ds-color-primary);color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-preferences .miam-preferences__guests .miam-preferences_guest-counter .miam-counter-input .miam-counter-input__value-container{position:relative;gap:0}.miam-preferences .miam-preferences__guests .miam-preferences_guest-counter .miam-counter-input .miam-counter-input__value-container:after{content:\"\";background-image:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/cutlery-neutral-black.svg);background-repeat:no-repeat;background-position:50%;background-size:contain;width:18px;height:18px}.miam-preferences ng-miam-accordion .miam-accordion__header{height:48px;display:flex;align-items:center;justify-content:space-between;margin:0 16px 12px;padding:8px 16px;border-radius:8px;background:var(--miam-ds-color-primary-50,#f0f3f4);color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-preferences ng-miam-accordion .miam-accordion__collapsable-container{margin:0 16px;padding:0 8px;border-bottom:0}.miam-preferences ng-miam-accordion .miam-accordion__collapsable-content{border-bottom:0}.miam-preferences .miam-preferences__list{display:flex;flex-direction:column}.miam-preferences .miam-preferences__list .miam-preferences__list__item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;cursor:pointer}.miam-preferences .miam-preferences__list .miam-preferences__list__item .miam-preferences__list__item__name{color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-preferences .miam-preferences__list input{position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border:1px solid var(--miam-ds-color-neutral-200,#d9dde1);border-radius:4px}.miam-preferences .miam-preferences__list input:checked{background-color:var(--miam-color-primary,#24748f);border-color:var(--miam-color-primary,#24748f)}.miam-preferences .miam-preferences__list input:after{content:\"\";width:100%;height:100%;position:absolute;left:0;top:0;background-image:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/Check.svg);background-repeat:no-repeat;background-position:50%}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content{display:flex;align-items:flex-start;align-content:flex-start;gap:12px;align-self:stretch;flex-wrap:wrap}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content .miam-preferences__badge{color:var(--miam-ds-color-neutral-black,#1f3543);padding:16px;cursor:pointer;transition:all .25s ease-in;-webkit-tap-highlight-color:transparent;border:none;display:flex;align-items:center}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content .miam-preferences__badge.checked{background:var(--miam-color-primary,#24748f);color:var(--miam-ds-color-neutral-white,#fff)}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content .miam-preferences__badge .miam-preferences__badge_label{display:flex;gap:8px}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content .miam-preferences__badge .miam-preferences__badge_label .miam-preferences__remove-tag{height:16px;width:16px}.miam-preferences .miam-preferences__footer{position:fixed;width:450px;bottom:0;display:flex;justify-content:center;gap:16px;padding:12px 16px;background:var(--miam-ds-color-neutral-white,#fff);border-top:1px solid var(--miam-ds-color-neutral-200,#d9dde1)}@media (max-width:1024px){.miam-preferences .miam-preferences__footer{width:100%}}.miam-preferences .miam-preferences__footer .miam-preferences__footer__recipes .miam-preferences__footer__number-recipes{margin-right:8px}"], encapsulation: 2, changeDetection: 0 });
|
|
18342
|
+
} }, directives: [ModalComponent, i2$1.NgIf, CounterInputComponent, AccordionComponent, AccordionTitleDirective, AccordionContentDirective, i2$1.NgForOf, i2$1.NgClass, PreferencesSearchComponent], pipes: [i2$1.TitleCasePipe], styles: ["@media (min-width:450px){ng-miam-preferences .miam-modal__container.left .miam-modal,ng-miam-preferences .miam-modal__container.right .miam-modal,webc-miam-preferences .miam-modal__container.left .miam-modal,webc-miam-preferences .miam-modal__container.right .miam-modal{width:450px}}.miam-preferences{position:relative;display:flex;flex-direction:column;gap:24px;margin-bottom:72px}.miam-preferences .miam-preferences__header{display:flex;padding:8px;align-items:center;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1)}.miam-preferences .miam-preferences__header .miam-preferences_nav-and-title{display:flex;align-items:center}.miam-preferences .miam-preferences__header .miam-preferences__back-image{transform:rotate(180deg)}@media (min-width:1024px){.miam-preferences .miam-preferences__header{justify-content:space-between}}@media (min-width:1024px){.miam-preferences .miam-preferences__header .miam-preferences__back-button{display:none}}.miam-preferences .miam-preferences__header .miam-preferences__close-button{display:none}@media (min-width:1024px){.miam-preferences .miam-preferences__header .miam-preferences__close-button{display:block}}.miam-preferences .miam-preferences__header .miam-preferences__title{padding-left:8px;color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-preferences .miam-preferences__guests{display:flex;justify-content:space-between;align-items:center;padding:0 16px}.miam-preferences .miam-preferences__guests .miam-preferences_guest-counter{border-radius:6px;border:1px solid var(--miam-ds-color-primary);color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-preferences .miam-preferences__guests .miam-preferences_guest-counter .miam-counter-input .miam-counter-input__value-container{position:relative;gap:0}.miam-preferences .miam-preferences__guests .miam-preferences_guest-counter .miam-counter-input .miam-counter-input__value-container:after{content:\"\";background-image:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/cutlery-neutral-black.svg);background-repeat:no-repeat;background-position:50%;background-size:contain;width:18px;height:18px}.miam-preferences ng-miam-accordion .miam-accordion__header{height:48px;display:flex;align-items:center;justify-content:space-between;margin:0 16px 12px;padding:8px 16px;border-radius:8px;background:var(--miam-ds-color-primary-50,#f0f3f4);color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-preferences ng-miam-accordion .miam-accordion__collapsable-container{margin:0 16px;padding:0 8px;border-bottom:0}.miam-preferences ng-miam-accordion .miam-accordion__collapsable-content{border-bottom:0}.miam-preferences .miam-preferences__list{display:flex;flex-direction:column}.miam-preferences .miam-preferences__list .miam-preferences__list__item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;cursor:pointer}.miam-preferences .miam-preferences__list .miam-preferences__list__item .miam-preferences__list__item__name{color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-preferences .miam-preferences__list input{position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border:1px solid var(--miam-ds-color-neutral-200,#d9dde1);border-radius:4px}.miam-preferences .miam-preferences__list input:checked{background-color:var(--miam-color-primary,#24748f);border-color:var(--miam-color-primary,#24748f)}.miam-preferences .miam-preferences__list input:after{content:\"\";width:100%;height:100%;position:absolute;left:0;top:0;background-image:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/Check.svg);background-repeat:no-repeat;background-position:50%}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content{display:flex;align-items:flex-start;align-content:flex-start;gap:12px;align-self:stretch;flex-wrap:wrap}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content .miam-preferences__badge{color:var(--miam-ds-color-neutral-black,#1f3543);padding:16px;cursor:pointer;transition:all .25s ease-in;-webkit-tap-highlight-color:transparent;border:none;display:flex;align-items:center}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content .miam-preferences__badge.checked{background:var(--miam-color-primary,#24748f);color:var(--miam-ds-color-neutral-white,#fff)}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content .miam-preferences__badge .miam-preferences__badge_label{display:flex;gap:8px}.miam-preferences .miam-preferences__dislikes-section ng-miam-accordion-content .miam-preferences__badge .miam-preferences__badge_label .miam-preferences__remove-tag{height:16px;width:16px}.miam-preferences .miam-preferences__footer{position:fixed;width:450px;bottom:0;display:flex;justify-content:center;gap:16px;padding:12px 16px;background:var(--miam-ds-color-neutral-white,#fff);border-top:1px solid var(--miam-ds-color-neutral-200,#d9dde1);box-sizing:border-box}@media (max-width:1024px){.miam-preferences .miam-preferences__footer{width:100%}}.miam-preferences .miam-preferences__footer .miam-preferences__footer__recipes .miam-preferences__footer__number-recipes{margin-right:8px}"], encapsulation: 2, changeDetection: 0 });
|
|
18327
18343
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PreferencesComponent, [{
|
|
18328
18344
|
type: Component,
|
|
18329
18345
|
args: [{
|
|
@@ -20228,12 +20244,10 @@ class RecipeCatalogComponent extends EventTracerComponent {
|
|
|
20228
20244
|
this.cdr.detectChanges();
|
|
20229
20245
|
}
|
|
20230
20246
|
ngOnDestroy() {
|
|
20231
|
-
var _a;
|
|
20247
|
+
var _a, _b;
|
|
20232
20248
|
this.subscriptions.forEach(s => s.unsubscribe());
|
|
20233
20249
|
(_a = this.headerHeightSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
20234
|
-
|
|
20235
|
-
this.stickyToolbarObserver.unobserve(document.querySelector('.miam-recipe-catalog__toolbar-container'));
|
|
20236
|
-
}
|
|
20250
|
+
(_b = this.stickyToolbarObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
20237
20251
|
}
|
|
20238
20252
|
currentPath() {
|
|
20239
20253
|
return 'miam/recipes';
|
|
@@ -21387,26 +21401,26 @@ function RecipeDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
21387
21401
|
i0.ɵɵelement(0, "div", 6);
|
|
21388
21402
|
} }
|
|
21389
21403
|
function RecipeDetailsComponent_div_0_div_3_ng_miam_like_button_10_Template(rf, ctx) { if (rf & 1) {
|
|
21390
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
21404
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 44);
|
|
21391
21405
|
} if (rf & 2) {
|
|
21392
21406
|
const ctx_r6 = i0.ɵɵnextContext(3);
|
|
21393
21407
|
i0.ɵɵproperty("recipe", ctx_r6.recipeDetailsService.recipe);
|
|
21394
21408
|
} }
|
|
21395
21409
|
function RecipeDetailsComponent_div_0_div_3_img_14_Template(rf, ctx) { if (rf & 1) {
|
|
21396
|
-
i0.ɵɵelement(0, "img",
|
|
21410
|
+
i0.ɵɵelement(0, "img", 45);
|
|
21397
21411
|
} if (rf & 2) {
|
|
21398
21412
|
const ctx_r7 = i0.ɵɵnextContext(3);
|
|
21399
21413
|
i0.ɵɵproperty("src", ctx_r7.recipeDetailsService.recipe == null ? null : ctx_r7.recipeDetailsService.recipe.attributes["media-url"], i0.ɵɵsanitizeUrl);
|
|
21400
21414
|
} }
|
|
21401
21415
|
function RecipeDetailsComponent_div_0_div_3_youtube_player_15_Template(rf, ctx) { if (rf & 1) {
|
|
21402
|
-
i0.ɵɵelement(0, "youtube-player",
|
|
21416
|
+
i0.ɵɵelement(0, "youtube-player", 46);
|
|
21403
21417
|
} if (rf & 2) {
|
|
21404
21418
|
const ctx_r8 = i0.ɵɵnextContext(3);
|
|
21405
21419
|
i0.ɵɵproperty("videoId", ctx_r8.recipeDetailsService.recipe.videoId)("width", ctx_r8.playerWidth)("height", ctx_r8.playerHeight)("playerVars", ctx_r8.playerVars);
|
|
21406
21420
|
} }
|
|
21407
21421
|
function RecipeDetailsComponent_div_0_div_3_div_16_Template(rf, ctx) { if (rf & 1) {
|
|
21408
|
-
i0.ɵɵelementStart(0, "div",
|
|
21409
|
-
i0.ɵɵelement(1, "img",
|
|
21422
|
+
i0.ɵɵelementStart(0, "div", 47);
|
|
21423
|
+
i0.ɵɵelement(1, "img", 48);
|
|
21410
21424
|
i0.ɵɵelementEnd();
|
|
21411
21425
|
} if (rf & 2) {
|
|
21412
21426
|
const ctx_r9 = i0.ɵɵnextContext(3);
|
|
@@ -21414,16 +21428,16 @@ function RecipeDetailsComponent_div_0_div_3_div_16_Template(rf, ctx) { if (rf &
|
|
|
21414
21428
|
i0.ɵɵproperty("src", ctx_r9.recipeDetailsService.recipe.filigraneLogoUrl, i0.ɵɵsanitizeUrl);
|
|
21415
21429
|
} }
|
|
21416
21430
|
function RecipeDetailsComponent_div_0_div_3_ng_miam_addon_link_18_Template(rf, ctx) { if (rf & 1) {
|
|
21417
|
-
const
|
|
21418
|
-
i0.ɵɵelementStart(0, "ng-miam-addon-link",
|
|
21419
|
-
i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_div_3_ng_miam_addon_link_18_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(
|
|
21431
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
21432
|
+
i0.ɵɵelementStart(0, "ng-miam-addon-link", 49);
|
|
21433
|
+
i0.ɵɵlistener("showAddon", function RecipeDetailsComponent_div_0_div_3_ng_miam_addon_link_18_Template_ng_miam_addon_link_showAddon_0_listener() { i0.ɵɵrestoreView(_r19); const ctx_r18 = i0.ɵɵnextContext(3); return ctx_r18.toggleAddon(); });
|
|
21420
21434
|
i0.ɵɵelementEnd();
|
|
21421
21435
|
} if (rf & 2) {
|
|
21422
21436
|
const ctx_r10 = i0.ɵɵnextContext(3);
|
|
21423
21437
|
i0.ɵɵproperty("hasStorytelling", ctx_r10.sponsorHasStorytelling)("recipe", ctx_r10.recipeDetailsService.recipe);
|
|
21424
21438
|
} }
|
|
21425
21439
|
function RecipeDetailsComponent_div_0_div_3_ng_miam_like_button_28_Template(rf, ctx) { if (rf & 1) {
|
|
21426
|
-
i0.ɵɵelement(0, "ng-miam-like-button",
|
|
21440
|
+
i0.ɵɵelement(0, "ng-miam-like-button", 50);
|
|
21427
21441
|
} if (rf & 2) {
|
|
21428
21442
|
const ctx_r11 = i0.ɵɵnextContext(3);
|
|
21429
21443
|
i0.ɵɵproperty("recipe", ctx_r11.recipeDetailsService.recipe)("originTrace", ctx_r11.eventTrace());
|
|
@@ -21432,15 +21446,15 @@ function RecipeDetailsComponent_div_0_div_3_ng_miam_store_locator_link_33_Templa
|
|
|
21432
21446
|
i0.ɵɵelement(0, "ng-miam-store-locator-link");
|
|
21433
21447
|
} }
|
|
21434
21448
|
function RecipeDetailsComponent_div_0_div_3_ng_miam_products_picker_37_Template(rf, ctx) { if (rf & 1) {
|
|
21435
|
-
const
|
|
21436
|
-
i0.ɵɵelementStart(0, "ng-miam-products-picker",
|
|
21437
|
-
i0.ɵɵlistener("closeModal", function RecipeDetailsComponent_div_0_div_3_ng_miam_products_picker_37_Template_ng_miam_products_picker_closeModal_0_listener() { i0.ɵɵrestoreView(
|
|
21449
|
+
const _r21 = i0.ɵɵgetCurrentView();
|
|
21450
|
+
i0.ɵɵelementStart(0, "ng-miam-products-picker", 51);
|
|
21451
|
+
i0.ɵɵlistener("closeModal", function RecipeDetailsComponent_div_0_div_3_ng_miam_products_picker_37_Template_ng_miam_products_picker_closeModal_0_listener() { i0.ɵɵrestoreView(_r21); const ctx_r20 = i0.ɵɵnextContext(3); return ctx_r20.onClose(); });
|
|
21438
21452
|
i0.ɵɵelementEnd();
|
|
21439
21453
|
} }
|
|
21440
21454
|
function RecipeDetailsComponent_div_0_div_3_div_38_Template(rf, ctx) { if (rf & 1) {
|
|
21441
|
-
i0.ɵɵelementStart(0, "div",
|
|
21442
|
-
i0.ɵɵelement(1, "ng-miam-recipe-details-ingredients",
|
|
21443
|
-
i0.ɵɵelement(2, "ng-miam-recipe-details-steps",
|
|
21455
|
+
i0.ɵɵelementStart(0, "div", 52);
|
|
21456
|
+
i0.ɵɵelement(1, "ng-miam-recipe-details-ingredients", 53);
|
|
21457
|
+
i0.ɵɵelement(2, "ng-miam-recipe-details-steps", 54);
|
|
21444
21458
|
i0.ɵɵelementEnd();
|
|
21445
21459
|
} if (rf & 2) {
|
|
21446
21460
|
const ctx_r14 = i0.ɵɵnextContext(3);
|
|
@@ -21449,20 +21463,20 @@ function RecipeDetailsComponent_div_0_div_3_div_38_Template(rf, ctx) { if (rf &
|
|
|
21449
21463
|
i0.ɵɵadvance(1);
|
|
21450
21464
|
i0.ɵɵproperty("recipe", ctx_r14.recipeDetailsService.recipe);
|
|
21451
21465
|
} }
|
|
21452
|
-
function
|
|
21466
|
+
function RecipeDetailsComponent_div_0_div_3_ng_container_40_button_1_span_7_Template(rf, ctx) { if (rf & 1) {
|
|
21453
21467
|
i0.ɵɵelementStart(0, "span");
|
|
21454
21468
|
i0.ɵɵi18n(1, 64);
|
|
21455
21469
|
i0.ɵɵelementEnd();
|
|
21456
21470
|
} }
|
|
21457
|
-
function
|
|
21471
|
+
function RecipeDetailsComponent_div_0_div_3_ng_container_40_button_1_span_8_Template(rf, ctx) { if (rf & 1) {
|
|
21458
21472
|
i0.ɵɵelementStart(0, "span");
|
|
21459
21473
|
i0.ɵɵi18n(1, 65);
|
|
21460
21474
|
i0.ɵɵelementEnd();
|
|
21461
21475
|
} }
|
|
21462
|
-
function
|
|
21463
|
-
const
|
|
21476
|
+
function RecipeDetailsComponent_div_0_div_3_ng_container_40_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
21477
|
+
const _r28 = i0.ɵɵgetCurrentView();
|
|
21464
21478
|
i0.ɵɵelementStart(0, "button", 58);
|
|
21465
|
-
i0.ɵɵlistener("click", function
|
|
21479
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_ng_container_40_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r28); const ctx_r27 = i0.ɵɵnextContext(4); return ctx_r27.recipeDetailsService.addAllIngredientsToBasket(ctx_r27.eventTrace()); });
|
|
21466
21480
|
i0.ɵɵelement(1, "img", 59);
|
|
21467
21481
|
i0.ɵɵelementStart(2, "div", 60);
|
|
21468
21482
|
i0.ɵɵelementStart(3, "span");
|
|
@@ -21471,8 +21485,8 @@ function RecipeDetailsComponent_div_0_div_3_button_41_Template(rf, ctx) { if (rf
|
|
|
21471
21485
|
i0.ɵɵelementStart(5, "span");
|
|
21472
21486
|
i0.ɵɵtext(6);
|
|
21473
21487
|
i0.ɵɵelementEnd();
|
|
21474
|
-
i0.ɵɵtemplate(7,
|
|
21475
|
-
i0.ɵɵtemplate(8,
|
|
21488
|
+
i0.ɵɵtemplate(7, RecipeDetailsComponent_div_0_div_3_ng_container_40_button_1_span_7_Template, 2, 0, "span", 36);
|
|
21489
|
+
i0.ɵɵtemplate(8, RecipeDetailsComponent_div_0_div_3_ng_container_40_button_1_span_8_Template, 2, 0, "span", 36);
|
|
21476
21490
|
i0.ɵɵelementStart(9, "div", 62);
|
|
21477
21491
|
i0.ɵɵtext(10, " ( ");
|
|
21478
21492
|
i0.ɵɵelementStart(11, "span");
|
|
@@ -21487,29 +21501,29 @@ function RecipeDetailsComponent_div_0_div_3_button_41_Template(rf, ctx) { if (rf
|
|
|
21487
21501
|
i0.ɵɵelementEnd();
|
|
21488
21502
|
i0.ɵɵelementEnd();
|
|
21489
21503
|
} if (rf & 2) {
|
|
21490
|
-
const
|
|
21504
|
+
const ctx_r22 = i0.ɵɵnextContext(4);
|
|
21491
21505
|
i0.ɵɵadvance(6);
|
|
21492
|
-
i0.ɵɵtextInterpolate(
|
|
21506
|
+
i0.ɵɵtextInterpolate(ctx_r22.recipeDetailsService.remainingBasketEntries.length);
|
|
21493
21507
|
i0.ɵɵadvance(1);
|
|
21494
|
-
i0.ɵɵproperty("ngIf",
|
|
21508
|
+
i0.ɵɵproperty("ngIf", ctx_r22.recipeDetailsService.remainingBasketEntries.length <= 1);
|
|
21495
21509
|
i0.ɵɵadvance(1);
|
|
21496
|
-
i0.ɵɵproperty("ngIf",
|
|
21510
|
+
i0.ɵɵproperty("ngIf", ctx_r22.recipeDetailsService.remainingBasketEntries.length > 1);
|
|
21497
21511
|
i0.ɵɵadvance(3);
|
|
21498
|
-
i0.ɵɵclassProp("hidden", i0.ɵɵpipeBind1(12, 8,
|
|
21512
|
+
i0.ɵɵclassProp("hidden", i0.ɵɵpipeBind1(12, 8, ctx_r22.recipeDetailsService.ingredientToBasketLoading$));
|
|
21499
21513
|
i0.ɵɵadvance(2);
|
|
21500
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(14, 10,
|
|
21514
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(14, 10, ctx_r22.recipeDetailsService.recipePrice.remaining, ctx_r22.suppliersService.supplier$.value.currency), " ");
|
|
21501
21515
|
i0.ɵɵadvance(2);
|
|
21502
|
-
i0.ɵɵclassProp("hidden", !i0.ɵɵpipeBind1(16, 13,
|
|
21516
|
+
i0.ɵɵclassProp("hidden", !i0.ɵɵpipeBind1(16, 13, ctx_r22.recipeDetailsService.ingredientToBasketLoading$));
|
|
21503
21517
|
} }
|
|
21504
|
-
function
|
|
21518
|
+
function RecipeDetailsComponent_div_0_div_3_ng_container_40_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
21505
21519
|
i0.ɵɵelementStart(0, "button", 66);
|
|
21506
21520
|
i0.ɵɵelement(1, "div", 63);
|
|
21507
21521
|
i0.ɵɵelementEnd();
|
|
21508
21522
|
} }
|
|
21509
|
-
function
|
|
21510
|
-
const
|
|
21523
|
+
function RecipeDetailsComponent_div_0_div_3_ng_container_40_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
21524
|
+
const _r30 = i0.ɵɵgetCurrentView();
|
|
21511
21525
|
i0.ɵɵelementStart(0, "button", 67);
|
|
21512
|
-
i0.ɵɵlistener("click", function
|
|
21526
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_ng_container_40_button_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r30); const ctx_r29 = i0.ɵɵnextContext(4); return ctx_r29.onClose(); });
|
|
21513
21527
|
i0.ɵɵelementStart(1, "div", 60);
|
|
21514
21528
|
i0.ɵɵelementStart(2, "span");
|
|
21515
21529
|
i0.ɵɵi18n(3, 68);
|
|
@@ -21517,46 +21531,72 @@ function RecipeDetailsComponent_div_0_div_3_button_45_Template(rf, ctx) { if (rf
|
|
|
21517
21531
|
i0.ɵɵelementEnd();
|
|
21518
21532
|
i0.ɵɵelementEnd();
|
|
21519
21533
|
} }
|
|
21520
|
-
function
|
|
21521
|
-
i0.ɵɵ
|
|
21522
|
-
i0.ɵɵ
|
|
21534
|
+
function RecipeDetailsComponent_div_0_div_3_ng_container_40_Template(rf, ctx) { if (rf & 1) {
|
|
21535
|
+
i0.ɵɵelementContainerStart(0);
|
|
21536
|
+
i0.ɵɵtemplate(1, RecipeDetailsComponent_div_0_div_3_ng_container_40_button_1_Template, 18, 15, "button", 55);
|
|
21537
|
+
i0.ɵɵpipe(2, "async");
|
|
21538
|
+
i0.ɵɵtemplate(3, RecipeDetailsComponent_div_0_div_3_ng_container_40_button_3_Template, 2, 0, "button", 56);
|
|
21539
|
+
i0.ɵɵpipe(4, "async");
|
|
21540
|
+
i0.ɵɵtemplate(5, RecipeDetailsComponent_div_0_div_3_ng_container_40_button_5_Template, 4, 0, "button", 57);
|
|
21541
|
+
i0.ɵɵelementContainerEnd();
|
|
21542
|
+
} if (rf & 2) {
|
|
21543
|
+
const ctx_r15 = i0.ɵɵnextContext(3);
|
|
21544
|
+
i0.ɵɵadvance(1);
|
|
21545
|
+
i0.ɵɵproperty("ngIf", ctx_r15.recipeDetailsService.remainingBasketEntries.length > 0 && !i0.ɵɵpipeBind1(2, 3, ctx_r15.recipeDetailsService.allIngredientsToBasketLoading$));
|
|
21546
|
+
i0.ɵɵadvance(2);
|
|
21547
|
+
i0.ɵɵproperty("ngIf", ctx_r15.recipeDetailsService.remainingBasketEntries.length > 0 && i0.ɵɵpipeBind1(4, 5, ctx_r15.recipeDetailsService.allIngredientsToBasketLoading$));
|
|
21548
|
+
i0.ɵɵadvance(2);
|
|
21549
|
+
i0.ɵɵproperty("ngIf", ctx_r15.recipeDetailsService.remainingBasketEntries.length === 0);
|
|
21550
|
+
} }
|
|
21551
|
+
function RecipeDetailsComponent_div_0_div_3_ng_container_41_Template(rf, ctx) { if (rf & 1) {
|
|
21552
|
+
i0.ɵɵelementContainerStart(0);
|
|
21553
|
+
i0.ɵɵelement(1, "ng-miam-recipe-pricing", 69);
|
|
21554
|
+
i0.ɵɵelementContainerEnd();
|
|
21555
|
+
} if (rf & 2) {
|
|
21556
|
+
const ctx_r16 = i0.ɵɵnextContext(3);
|
|
21557
|
+
i0.ɵɵadvance(1);
|
|
21558
|
+
i0.ɵɵproperty("recipeId", ctx_r16.recipeDetailsService.recipe.id)("serves", ctx_r16.recipeDetailsService.recipe.modifiedGuests)("fetchPricingOnScroll", false);
|
|
21559
|
+
} }
|
|
21560
|
+
function RecipeDetailsComponent_div_0_div_3_div_42_Template(rf, ctx) { if (rf & 1) {
|
|
21561
|
+
i0.ɵɵelementStart(0, "div", 70);
|
|
21562
|
+
i0.ɵɵelementStart(1, "div", 71);
|
|
21523
21563
|
i0.ɵɵelementStart(2, "span");
|
|
21524
21564
|
i0.ɵɵpipe(3, "async");
|
|
21525
21565
|
i0.ɵɵpipe(4, "async");
|
|
21526
21566
|
i0.ɵɵtext(5);
|
|
21527
21567
|
i0.ɵɵpipe(6, "currency");
|
|
21528
21568
|
i0.ɵɵelementEnd();
|
|
21529
|
-
i0.ɵɵelement(7, "div",
|
|
21569
|
+
i0.ɵɵelement(7, "div", 72);
|
|
21530
21570
|
i0.ɵɵpipe(8, "async");
|
|
21531
21571
|
i0.ɵɵpipe(9, "async");
|
|
21532
21572
|
i0.ɵɵelementEnd();
|
|
21533
|
-
i0.ɵɵelementStart(10, "span",
|
|
21573
|
+
i0.ɵɵelementStart(10, "span", 73);
|
|
21534
21574
|
i0.ɵɵtext(11, "dans mon panier");
|
|
21535
21575
|
i0.ɵɵelementEnd();
|
|
21536
21576
|
i0.ɵɵelementEnd();
|
|
21537
21577
|
} if (rf & 2) {
|
|
21538
|
-
const
|
|
21578
|
+
const ctx_r17 = i0.ɵɵnextContext(3);
|
|
21539
21579
|
i0.ɵɵadvance(2);
|
|
21540
|
-
i0.ɵɵclassProp("hidden", i0.ɵɵpipeBind1(3, 5,
|
|
21580
|
+
i0.ɵɵclassProp("hidden", i0.ɵɵpipeBind1(3, 5, ctx_r17.recipeDetailsService.ingredientToBasketLoading$) || i0.ɵɵpipeBind1(4, 7, ctx_r17.recipeDetailsService.updateIngredientFromBasketLoading$));
|
|
21541
21581
|
i0.ɵɵadvance(3);
|
|
21542
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 9,
|
|
21582
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(6, 9, ctx_r17.recipeDetailsService.recipePrice.inBasket, ctx_r17.suppliersService.supplier$.value.currency), " ");
|
|
21543
21583
|
i0.ɵɵadvance(2);
|
|
21544
|
-
i0.ɵɵclassProp("hidden", !(i0.ɵɵpipeBind1(8, 12,
|
|
21584
|
+
i0.ɵɵclassProp("hidden", !(i0.ɵɵpipeBind1(8, 12, ctx_r17.recipeDetailsService.ingredientToBasketLoading$) || i0.ɵɵpipeBind1(9, 14, ctx_r17.recipeDetailsService.updateIngredientFromBasketLoading$)));
|
|
21545
21585
|
} }
|
|
21546
21586
|
const _c11 = function (a0) { return { "hidden": a0 }; };
|
|
21547
21587
|
function RecipeDetailsComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
21548
|
-
const
|
|
21588
|
+
const _r32 = i0.ɵɵgetCurrentView();
|
|
21549
21589
|
i0.ɵɵelementStart(0, "div", 7);
|
|
21550
21590
|
i0.ɵɵelementStart(1, "div", 8, 9);
|
|
21551
21591
|
i0.ɵɵelementStart(3, "div", 10);
|
|
21552
21592
|
i0.ɵɵelementStart(4, "div", 11);
|
|
21553
21593
|
i0.ɵɵelementStart(5, "button", 12);
|
|
21554
|
-
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_5_listener() { i0.ɵɵrestoreView(
|
|
21594
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r32); const ctx_r31 = i0.ɵɵnextContext(2); return ctx_r31.onClose(); });
|
|
21555
21595
|
i0.ɵɵelement(6, "img", 13);
|
|
21556
21596
|
i0.ɵɵelementEnd();
|
|
21557
21597
|
i0.ɵɵelementStart(7, "div", 14);
|
|
21558
21598
|
i0.ɵɵelementStart(8, "button", 15);
|
|
21559
|
-
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_8_listener() { i0.ɵɵrestoreView(
|
|
21599
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r32); const ctx_r33 = i0.ɵɵnextContext(2); return ctx_r33.onClose(); });
|
|
21560
21600
|
i0.ɵɵelement(9, "img", 16);
|
|
21561
21601
|
i0.ɵɵelementEnd();
|
|
21562
21602
|
i0.ɵɵtemplate(10, RecipeDetailsComponent_div_0_div_3_ng_miam_like_button_10_Template, 1, 1, "ng-miam-like-button", 17);
|
|
@@ -21564,7 +21604,7 @@ function RecipeDetailsComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
21564
21604
|
i0.ɵɵelementEnd();
|
|
21565
21605
|
i0.ɵɵelementEnd();
|
|
21566
21606
|
i0.ɵɵelementStart(12, "ng-miam-counter-input", 18);
|
|
21567
|
-
i0.ɵɵlistener("valueChange", function RecipeDetailsComponent_div_0_div_3_Template_ng_miam_counter_input_valueChange_12_listener($event) { i0.ɵɵrestoreView(
|
|
21607
|
+
i0.ɵɵlistener("valueChange", function RecipeDetailsComponent_div_0_div_3_Template_ng_miam_counter_input_valueChange_12_listener($event) { i0.ɵɵrestoreView(_r32); const ctx_r34 = i0.ɵɵnextContext(2); return ctx_r34.updateGuests($event); });
|
|
21568
21608
|
i0.ɵɵtext(13, " > ");
|
|
21569
21609
|
i0.ɵɵelementEnd();
|
|
21570
21610
|
i0.ɵɵelementEnd();
|
|
@@ -21580,7 +21620,7 @@ function RecipeDetailsComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
21580
21620
|
i0.ɵɵelementStart(21, "div", 26);
|
|
21581
21621
|
i0.ɵɵelementStart(22, "div", 27);
|
|
21582
21622
|
i0.ɵɵelementStart(23, "button", 28);
|
|
21583
|
-
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_23_listener() { i0.ɵɵrestoreView(
|
|
21623
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_23_listener() { i0.ɵɵrestoreView(_r32); const ctx_r35 = i0.ɵɵnextContext(2); return ctx_r35.onClose(); });
|
|
21584
21624
|
i0.ɵɵelement(24, "img", 29);
|
|
21585
21625
|
i0.ɵɵelementEnd();
|
|
21586
21626
|
i0.ɵɵelementEnd();
|
|
@@ -21592,7 +21632,7 @@ function RecipeDetailsComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
21592
21632
|
i0.ɵɵpipe(29, "async");
|
|
21593
21633
|
i0.ɵɵelementStart(30, "div", 33);
|
|
21594
21634
|
i0.ɵɵelementStart(31, "button", 34);
|
|
21595
|
-
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_31_listener() { i0.ɵɵrestoreView(
|
|
21635
|
+
i0.ɵɵlistener("click", function RecipeDetailsComponent_div_0_div_3_Template_button_click_31_listener() { i0.ɵɵrestoreView(_r32); const ctx_r36 = i0.ɵɵnextContext(2); return ctx_r36.onClose(); });
|
|
21596
21636
|
i0.ɵɵelement(32, "img", 35);
|
|
21597
21637
|
i0.ɵɵelementEnd();
|
|
21598
21638
|
i0.ɵɵelementEnd();
|
|
@@ -21603,26 +21643,21 @@ function RecipeDetailsComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
21603
21643
|
i0.ɵɵelement(34, "ng-miam-recipe-details-infos", 37);
|
|
21604
21644
|
i0.ɵɵelementStart(35, "div", 38);
|
|
21605
21645
|
i0.ɵɵelementStart(36, "ng-miam-slider-tabs", 39);
|
|
21606
|
-
i0.ɵɵlistener("selectedTabIndexChange", function RecipeDetailsComponent_div_0_div_3_Template_ng_miam_slider_tabs_selectedTabIndexChange_36_listener($event) { i0.ɵɵrestoreView(
|
|
21646
|
+
i0.ɵɵlistener("selectedTabIndexChange", function RecipeDetailsComponent_div_0_div_3_Template_ng_miam_slider_tabs_selectedTabIndexChange_36_listener($event) { i0.ɵɵrestoreView(_r32); const ctx_r37 = i0.ɵɵnextContext(2); return ctx_r37.activeTabIndex = $event; })("selectedTabIndexChange", function RecipeDetailsComponent_div_0_div_3_Template_ng_miam_slider_tabs_selectedTabIndexChange_36_listener() { i0.ɵɵrestoreView(_r32); const ctx_r38 = i0.ɵɵnextContext(2); return ctx_r38.cdr.detectChanges(); });
|
|
21607
21647
|
i0.ɵɵelementEnd();
|
|
21608
21648
|
i0.ɵɵelementEnd();
|
|
21609
21649
|
i0.ɵɵtemplate(37, RecipeDetailsComponent_div_0_div_3_ng_miam_products_picker_37_Template, 1, 0, "ng-miam-products-picker", 40);
|
|
21610
21650
|
i0.ɵɵtemplate(38, RecipeDetailsComponent_div_0_div_3_div_38_Template, 3, 2, "div", 41);
|
|
21611
21651
|
i0.ɵɵelementStart(39, "div", 42);
|
|
21612
|
-
i0.ɵɵ
|
|
21613
|
-
i0.ɵɵtemplate(41,
|
|
21614
|
-
i0.ɵɵ
|
|
21615
|
-
i0.ɵɵtemplate(43, RecipeDetailsComponent_div_0_div_3_button_43_Template, 2, 0, "button", 44);
|
|
21616
|
-
i0.ɵɵpipe(44, "async");
|
|
21617
|
-
i0.ɵɵtemplate(45, RecipeDetailsComponent_div_0_div_3_button_45_Template, 4, 0, "button", 45);
|
|
21618
|
-
i0.ɵɵelementContainerEnd();
|
|
21619
|
-
i0.ɵɵtemplate(46, RecipeDetailsComponent_div_0_div_3_div_46_Template, 12, 16, "div", 46);
|
|
21652
|
+
i0.ɵɵtemplate(40, RecipeDetailsComponent_div_0_div_3_ng_container_40_Template, 6, 7, "ng-container", 36);
|
|
21653
|
+
i0.ɵɵtemplate(41, RecipeDetailsComponent_div_0_div_3_ng_container_41_Template, 2, 3, "ng-container", 36);
|
|
21654
|
+
i0.ɵɵtemplate(42, RecipeDetailsComponent_div_0_div_3_div_42_Template, 12, 16, "div", 43);
|
|
21620
21655
|
i0.ɵɵelementEnd();
|
|
21621
21656
|
i0.ɵɵelementEnd();
|
|
21622
21657
|
} if (rf & 2) {
|
|
21623
21658
|
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
21624
21659
|
i0.ɵɵadvance(10);
|
|
21625
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(11,
|
|
21660
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(11, 21, ctx_r4.userService.isLogged$));
|
|
21626
21661
|
i0.ɵɵadvance(2);
|
|
21627
21662
|
i0.ɵɵproperty("floating", true)("value", ctx_r4.recipeDetailsService.recipe.modifiedGuests)("minRange", 1);
|
|
21628
21663
|
i0.ɵɵadvance(2);
|
|
@@ -21636,25 +21671,25 @@ function RecipeDetailsComponent_div_0_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
21636
21671
|
i0.ɵɵadvance(8);
|
|
21637
21672
|
i0.ɵɵtextInterpolate1(" ", ctx_r4.recipeDetailsService.recipe == null ? null : ctx_r4.recipeDetailsService.recipe.attributes["title"], " ");
|
|
21638
21673
|
i0.ɵɵadvance(2);
|
|
21639
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(29,
|
|
21674
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(29, 23, ctx_r4.userService.isLogged$));
|
|
21640
21675
|
i0.ɵɵadvance(5);
|
|
21641
21676
|
i0.ɵɵproperty("ngIf", ctx_r4.contextService.noSupplier);
|
|
21642
21677
|
i0.ɵɵadvance(1);
|
|
21643
21678
|
i0.ɵɵproperty("recipe", ctx_r4.recipeDetailsService.recipe);
|
|
21644
21679
|
i0.ɵɵadvance(1);
|
|
21645
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
21680
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(25, _c11, ctx_r4.recipeDetailsService.onlyShowPreparation));
|
|
21646
21681
|
i0.ɵɵadvance(1);
|
|
21647
21682
|
i0.ɵɵproperty("selectedTabIndex", ctx_r4.activeTabIndex);
|
|
21648
21683
|
i0.ɵɵadvance(1);
|
|
21649
21684
|
i0.ɵɵproperty("ngIf", ctx_r4.activeTabIndex === 0);
|
|
21650
21685
|
i0.ɵɵadvance(1);
|
|
21651
21686
|
i0.ɵɵproperty("ngIf", ctx_r4.activeTabIndex === 1);
|
|
21652
|
-
i0.ɵɵadvance(
|
|
21653
|
-
i0.ɵɵ
|
|
21654
|
-
i0.ɵɵadvance(
|
|
21655
|
-
i0.ɵɵproperty("ngIf", ctx_r4.recipeDetailsService.
|
|
21656
|
-
i0.ɵɵadvance(
|
|
21657
|
-
i0.ɵɵproperty("ngIf", ctx_r4.recipeDetailsService.
|
|
21687
|
+
i0.ɵɵadvance(1);
|
|
21688
|
+
i0.ɵɵclassProp("center", ctx_r4.recipeDetailsService.onlyShowPreparation);
|
|
21689
|
+
i0.ɵɵadvance(1);
|
|
21690
|
+
i0.ɵɵproperty("ngIf", !ctx_r4.recipeDetailsService.onlyShowPreparation);
|
|
21691
|
+
i0.ɵɵadvance(1);
|
|
21692
|
+
i0.ɵɵproperty("ngIf", ctx_r4.recipeDetailsService.onlyShowPreparation);
|
|
21658
21693
|
i0.ɵɵadvance(1);
|
|
21659
21694
|
i0.ɵɵproperty("ngIf", ctx_r4.showPrice());
|
|
21660
21695
|
} }
|
|
@@ -21662,7 +21697,7 @@ function RecipeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21662
21697
|
i0.ɵɵelementStart(0, "div", 3);
|
|
21663
21698
|
i0.ɵɵtemplate(1, RecipeDetailsComponent_div_0_div_1_Template, 1, 0, "div", 4);
|
|
21664
21699
|
i0.ɵɵpipe(2, "async");
|
|
21665
|
-
i0.ɵɵtemplate(3, RecipeDetailsComponent_div_0_div_3_Template,
|
|
21700
|
+
i0.ɵɵtemplate(3, RecipeDetailsComponent_div_0_div_3_Template, 43, 27, "div", 5);
|
|
21666
21701
|
i0.ɵɵpipe(4, "async");
|
|
21667
21702
|
i0.ɵɵelementEnd();
|
|
21668
21703
|
} if (rf & 2) {
|
|
@@ -21673,18 +21708,18 @@ function RecipeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
21673
21708
|
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(4, 4, ctx_r0.recipeDetailsService.recipeLoading$));
|
|
21674
21709
|
} }
|
|
21675
21710
|
function RecipeDetailsComponent_ng_miam_recipe_addon_2_Template(rf, ctx) { if (rf & 1) {
|
|
21676
|
-
const
|
|
21677
|
-
i0.ɵɵelementStart(0, "ng-miam-recipe-addon",
|
|
21678
|
-
i0.ɵɵlistener("hideAddon", function RecipeDetailsComponent_ng_miam_recipe_addon_2_Template_ng_miam_recipe_addon_hideAddon_0_listener() { i0.ɵɵrestoreView(
|
|
21711
|
+
const _r40 = i0.ɵɵgetCurrentView();
|
|
21712
|
+
i0.ɵɵelementStart(0, "ng-miam-recipe-addon", 74);
|
|
21713
|
+
i0.ɵɵlistener("hideAddon", function RecipeDetailsComponent_ng_miam_recipe_addon_2_Template_ng_miam_recipe_addon_hideAddon_0_listener() { i0.ɵɵrestoreView(_r40); const ctx_r39 = i0.ɵɵnextContext(); return ctx_r39.toggleAddon(); });
|
|
21679
21714
|
i0.ɵɵelementEnd();
|
|
21680
21715
|
} if (rf & 2) {
|
|
21681
21716
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
21682
21717
|
i0.ɵɵproperty("recipe", ctx_r1.recipeDetailsService.recipe);
|
|
21683
21718
|
} }
|
|
21684
21719
|
function RecipeDetailsComponent_ng_miam_replace_item_3_Template(rf, ctx) { if (rf & 1) {
|
|
21685
|
-
const
|
|
21686
|
-
i0.ɵɵelementStart(0, "ng-miam-replace-item",
|
|
21687
|
-
i0.ɵɵlistener("selected", function RecipeDetailsComponent_ng_miam_replace_item_3_Template_ng_miam_replace_item_selected_0_listener() { i0.ɵɵrestoreView(
|
|
21720
|
+
const _r42 = i0.ɵɵgetCurrentView();
|
|
21721
|
+
i0.ɵɵelementStart(0, "ng-miam-replace-item", 75);
|
|
21722
|
+
i0.ɵɵlistener("selected", function RecipeDetailsComponent_ng_miam_replace_item_3_Template_ng_miam_replace_item_selected_0_listener() { i0.ɵɵrestoreView(_r42); const ctx_r41 = i0.ɵɵnextContext(); return ctx_r41.recipeDetailsService.basketEntryToReplace = null; });
|
|
21688
21723
|
i0.ɵɵelementEnd();
|
|
21689
21724
|
} if (rf & 2) {
|
|
21690
21725
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
@@ -21723,6 +21758,7 @@ class RecipeDetailsComponent extends EventTracerComponent {
|
|
|
21723
21758
|
this.pricingGuestsText = 'par-personne';
|
|
21724
21759
|
this.recipeAdded = new EventEmitter();
|
|
21725
21760
|
this.recipeError = new EventEmitter();
|
|
21761
|
+
this.closeDetails = new EventEmitter();
|
|
21726
21762
|
this.removedIngredients = [];
|
|
21727
21763
|
this.isMobile = false;
|
|
21728
21764
|
this.displayTags = false;
|
|
@@ -21871,6 +21907,7 @@ class RecipeDetailsComponent extends EventTracerComponent {
|
|
|
21871
21907
|
onClose() {
|
|
21872
21908
|
this.recipeDetailsService.displayEventWasSent = false;
|
|
21873
21909
|
const originPath = this.eventTrace().originPath;
|
|
21910
|
+
this.closeDetails.emit();
|
|
21874
21911
|
this.recipesService.hide();
|
|
21875
21912
|
this.cdr.detectChanges();
|
|
21876
21913
|
this.activeTabIndex = 0;
|
|
@@ -21905,37 +21942,37 @@ RecipeDetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsCompo
|
|
|
21905
21942
|
} if (rf & 2) {
|
|
21906
21943
|
let _t;
|
|
21907
21944
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topContainerImg = _t.first);
|
|
21908
|
-
} }, inputs: { recipeId: "recipeId", guestNumber: "guestNumber", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayGuests: "displayGuests", helpButtonAllowed: "helpButtonAllowed", stepsOnLeftSide: "stepsOnLeftSide", cookingTimeAsPrimaryInfo: "cookingTimeAsPrimaryInfo", moreRecipesImageURL: "moreRecipesImageURL", pricingGuestsText: "pricingGuestsText" }, outputs: { recipeAdded: "recipeAdded", recipeError: "recipeError" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 5, vars: 7, consts: function () { let i18n_1; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
21945
|
+
} }, inputs: { recipeId: "recipeId", guestNumber: "guestNumber", previewAllowed: "previewAllowed", ingredientsPictures: "ingredientsPictures", forceDisplayTags: "forceDisplayTags", displayTagsIcons: "displayTagsIcons", displayPricing: "displayPricing", displayGuests: "displayGuests", helpButtonAllowed: "helpButtonAllowed", stepsOnLeftSide: "stepsOnLeftSide", cookingTimeAsPrimaryInfo: "cookingTimeAsPrimaryInfo", moreRecipesImageURL: "moreRecipesImageURL", pricingGuestsText: "pricingGuestsText" }, outputs: { recipeAdded: "recipeAdded", recipeError: "recipeError", closeDetails: "closeDetails" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], decls: 5, vars: 7, consts: function () { let i18n_1; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
21909
21946
|
const MSG_EXTERNAL_7351539410416117833$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS___2 = goog.getMsg("Je fais mes courses, Je cuisine");
|
|
21910
21947
|
i18n_1 = MSG_EXTERNAL_7351539410416117833$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS___2;
|
|
21911
21948
|
}
|
|
21912
21949
|
else {
|
|
21913
21950
|
i18n_1 = $localize `:␟0e74aab5b3701ead8f4185e43a9410b6a31b969e␟7351539410416117833:Je fais mes courses, Je cuisine`;
|
|
21914
21951
|
} let i18n_3; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
21915
|
-
const MSG_EXTERNAL_70397346439942337$$
|
|
21916
|
-
i18n_3 = MSG_EXTERNAL_70397346439942337$$
|
|
21952
|
+
const MSG_EXTERNAL_70397346439942337$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS_____4 = goog.getMsg("Ajouter");
|
|
21953
|
+
i18n_3 = MSG_EXTERNAL_70397346439942337$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS_____4;
|
|
21917
21954
|
}
|
|
21918
21955
|
else {
|
|
21919
21956
|
i18n_3 = $localize `:␟8aa969e69241c7c5838b40348f913519d6349371␟70397346439942337:Ajouter`;
|
|
21920
21957
|
} let i18n_5; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
21921
|
-
const MSG_EXTERNAL_5144484951400113194$$
|
|
21922
|
-
i18n_5 = MSG_EXTERNAL_5144484951400113194$$
|
|
21958
|
+
const MSG_EXTERNAL_5144484951400113194$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS______6 = goog.getMsg("produit");
|
|
21959
|
+
i18n_5 = MSG_EXTERNAL_5144484951400113194$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS______6;
|
|
21923
21960
|
}
|
|
21924
21961
|
else {
|
|
21925
21962
|
i18n_5 = $localize `:␟84c216d92afc9edd2b3bd2175d38197737ff86c5␟5144484951400113194:produit`;
|
|
21926
21963
|
} let i18n_7; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
21927
|
-
const MSG_EXTERNAL_1112144680738962826$$
|
|
21928
|
-
i18n_7 = MSG_EXTERNAL_1112144680738962826$$
|
|
21964
|
+
const MSG_EXTERNAL_1112144680738962826$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS______8 = goog.getMsg("produits");
|
|
21965
|
+
i18n_7 = MSG_EXTERNAL_1112144680738962826$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS______8;
|
|
21929
21966
|
}
|
|
21930
21967
|
else {
|
|
21931
21968
|
i18n_7 = $localize `:␟2571d7fbaeed8646df6ee852fb5d94185b0efd88␟1112144680738962826:produits`;
|
|
21932
21969
|
} let i18n_9; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
21933
|
-
const MSG_EXTERNAL_2001694451572573558$$
|
|
21934
|
-
i18n_9 = MSG_EXTERNAL_2001694451572573558$$
|
|
21970
|
+
const MSG_EXTERNAL_2001694451572573558$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS_____10 = goog.getMsg("Continuer mes courses");
|
|
21971
|
+
i18n_9 = MSG_EXTERNAL_2001694451572573558$$LIB__WEB_COMPONENTS_RECIPE_DETAILS_RECIPE_DETAILS_COMPONENT_TS_____10;
|
|
21935
21972
|
}
|
|
21936
21973
|
else {
|
|
21937
21974
|
i18n_9 = $localize `:␟0e81a4e1efd31ae65483ef21f4fa59c2dce0e6f1␟2001694451572573558:Continuer mes courses`;
|
|
21938
|
-
} return [["class", "miam-recipe-details", 4, "ngIf"], [3, "recipe", "hideAddon", 4, "ngIf"], [3, "recipe", "basketEntry", "ingredient", "ignoreSelected", "loadOnSelect", "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", 4, "ngIf"], [1, "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "valueChange"], ["alt", "recipe picture", "class", "miam-recipe-details__picture-img", 3, "src", 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"], [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"], ["class", "miam-recipe-details__like-button", 3, "recipe", "originTrace", 4, "ngIf"], [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"], [1, "miam-recipe-details__infos", 3, "recipe"], [1, "miam-recipe-details__tabs", 3, "ngClass"], ["tabs", i18n_1, 3, "selectedTabIndex", "selectedTabIndexChange"], [3, "closeModal", 4, "ngIf"], ["class", "miam-recipe-details__preparation-tab", 4, "ngIf"], [1, "miam-recipe-details__footer"], ["class", "miam-recipe-
|
|
21975
|
+
} return [["class", "miam-recipe-details", 4, "ngIf"], [3, "recipe", "hideAddon", 4, "ngIf"], [3, "recipe", "basketEntry", "ingredient", "ignoreSelected", "loadOnSelect", "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", 4, "ngIf"], [1, "miam-recipe-details__guest-counter", 3, "floating", "value", "minRange", "valueChange"], ["alt", "recipe picture", "class", "miam-recipe-details__picture-img", 3, "src", 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"], [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"], ["class", "miam-recipe-details__like-button", 3, "recipe", "originTrace", 4, "ngIf"], [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"], [1, "miam-recipe-details__infos", 3, "recipe"], [1, "miam-recipe-details__tabs", 3, "ngClass"], ["tabs", i18n_1, 3, "selectedTabIndex", "selectedTabIndexChange"], [3, "closeModal", 4, "ngIf"], ["class", "miam-recipe-details__preparation-tab", 4, "ngIf"], [1, "miam-recipe-details__footer"], ["class", "miam-recipe-details__price", 4, "ngIf"], [1, "miam-recipe-details__like-button", 3, "recipe"], ["alt", "recipe picture", 1, "miam-recipe-details__picture-img", 3, "src"], [3, "videoId", "width", "height", "playerVars"], [1, "miam-recipe-details__picture__filigrane"], ["alt", "filigrane logo", 3, "src"], [3, "hasStorytelling", "recipe", "showAddon"], [1, "miam-recipe-details__like-button", 3, "recipe", "originTrace"], [3, "closeModal"], [1, "miam-recipe-details__preparation-tab"], [3, "ingredients"], [3, "recipe"], ["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-ds-button secondary", 3, "click", 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_3, [1, "miam-recipe-details__add-to-basket-remaining-price"], [1, "miam-ds-loader"], i18n_5, i18n_7, [1, "miam-recipe-details__add-to-basket-cta", "miam-ds-button", "primary"], [1, "miam-ds-button", "secondary", 3, "click"], i18n_9, [3, "recipeId", "serves", "fetchPricingOnScroll"], [1, "miam-recipe-details__price"], [1, "miam-recipe-details__price-label", "miam-ds-text", "size-l", "weight-xxl"], [1, "miam-ds-loader", "primary"], [1, "miam-recipe-details__price-in-basket-label", "miam-ds-text", "size-xs"], [3, "recipe", "hideAddon"], [3, "recipe", "basketEntry", "ingredient", "ignoreSelected", "loadOnSelect", "selected"]]; }, template: function RecipeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21939
21976
|
i0.ɵɵtemplate(0, RecipeDetailsComponent_div_0_Template, 5, 6, "div", 0);
|
|
21940
21977
|
i0.ɵɵpipe(1, "async");
|
|
21941
21978
|
i0.ɵɵtemplate(2, RecipeDetailsComponent_ng_miam_recipe_addon_2_Template, 1, 1, "ng-miam-recipe-addon", 1);
|
|
@@ -21947,7 +21984,7 @@ RecipeDetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsCompo
|
|
|
21947
21984
|
i0.ɵɵproperty("ngIf", !ctx.showDetail);
|
|
21948
21985
|
i0.ɵɵadvance(1);
|
|
21949
21986
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(4, 5, ctx.recipeDetailsService.basketEntryToReplace$));
|
|
21950
|
-
} }, directives: [i2$1.NgIf, CounterInputComponent, ReachTopDirective, RecipeDetailsInfosComponent, i2$1.NgClass, SliderTabsComponent, LikeButtonComponent, i8.YouTubePlayer, AddonLinkComponent, StoreLocatorLinkComponent, ProductsPickerComponent, RecipeDetailsIngredientsComponent, RecipeDetailsStepsComponent, RecipeAddonComponent, ReplaceItemComponent], pipes: [i2$1.AsyncPipe, i2$1.CurrencyPipe], styles: [".miam-recipe-details{min-height:100dvh}.miam-recipe-details .miam-recipe-details__loader{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;width:40px;height:40px;background-position-x:20px;background-size:20px 20px}.miam-recipe-details .miam-recipe-details__container{position:relative}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sponsor-separator{border-top:1px solid var(--miam-ds-color-neutral-200,#d9dde1);margin:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture{position:relative;max-height:600px;display:flex}@media (min-width:1023px) and (max-height:1000px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture{max-height:400px}}@media (min-width:1023px) and (max-height:800px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture{max-height:300px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons{position:absolute;display:flex;flex-direction:row;justify-content:space-between;align-items:flex-end;gap:24px;top:16px;right:16px;left:16px;bottom:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper{flex:1;width:100%;height:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__close-button{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons{display:flex;justify-content:space-between;height:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons .miam-recipe-details__back-button{transform:rotate(90deg);border-radius:100%;height:40px;width:40px;position:sticky;top:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons .miam-recipe-details__back-button .miam-recipe-details__back-icon{display:block}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons .miam-recipe-details__back-button:hover img.miam-recipe-details__back-icon{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-white.svg)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons .miam-recipe-details__like-button{position:absolute;top:0;right:0}@media (min-width:1023px) and (max-height:800px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__guest-counter .miam-counter-input{padding:2px}}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons{top:24px;right:24px;left:24px;bottom:24px;flex-direction:column}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper{width:inherit}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__close-button{display:flex;position:sticky;top:24px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__close-button:hover img.miam-recipe-details__close-icon{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross.svg)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__picture-img{width:100%;max-height:100%;-o-object-position:center;object-position:center;-o-object-fit:cover;object-fit:cover}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header{z-index:2;position:sticky;top:-1px;overflow:hidden}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container{display:flex;justify-content:space-between;align-items:center;padding:16px;background:var(--miam-ds-color-neutral-white,#fff);transition:padding .3s}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__back-button-mobile-container{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__title{width:100%;transition:font-size .3s;color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__actions__icon{display:flex;position:absolute;right:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__actions__icon .miam-recipe-details__hideable-actions{max-width:0;overflow:hidden;transition:max-width .3s}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__actions__icon .miam-recipe-details__close-button{margin-left:16px;padding:8px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned{padding:12px 16px;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__title{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__actions__icon{position:relative;top:unset;right:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__actions__icon .miam-recipe-details__like-button{margin-right:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__actions__icon .miam-recipe-details__hideable-actions{max-width:64px}@media (max-width:1024px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container{justify-content:flex-start}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__back-button-mobile-container{display:flex;align-items:center;justify-content:center;max-width:0;overflow:hidden;transition:max-width .3s}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__back-button-mobile-container .miam-recipe-details__back-icon{transform:rotate(90deg)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__title{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__actions__icon{max-width:0;overflow:hidden;transition:max-width .3s}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__hideable-actions{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned{padding:4px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__back-button-mobile-container{overflow:visible;max-width:48px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__back-button-mobile-container .miam-recipe-details__back-button{margin:8px 0;width:40px;height:40px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__title{font-size:14px;font-weight:500}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__actions__icon{max-width:40px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__infos{padding:8px 16px 16px;display:block}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__tabs{padding:8px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__tabs.hidden{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer{box-sizing:border-box;background:var(--miam-ds-color-neutral-white,#fff);border-top:1px solid var(--miam-ds-color-neutral-200,#d9dde1);padding:16px 12px;position:sticky;bottom:0;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;z-index:2;height:80px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer.center{justify-content:center}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer.hidden{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta{display:flex;gap:8px}@media (max-width:1024px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta.miam-ds-button.primary:hover{background-color:var(--miam-ds-color-primary)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta .miam-recipe-details__add-to-basket-cta__text{display:flex;gap:4px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta .miam-recipe-details__add-to-basket-cta__text .miam-recipe-details__add-to-basket-remaining-price{display:flex}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta .miam-recipe-details__add-to-basket-cta__text .miam-recipe-details__add-to-basket-remaining-price .hidden{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer ng-miam-recipe-pricing .miam-recipe-pricing__wrapper{align-items:flex-end}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer ng-miam-recipe-pricing .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{color:var(--miam-ds-color-primary-700);margin-right:4px}@media (max-width:1024px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer ng-miam-recipe-pricing .miam-recipe-pricing__wrapper{flex-direction:column;align-items:flex-start}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__price{display:flex;flex-direction:column}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__price .miam-recipe-details__price-label{color:var(--miam-ds-color-primary,#24748f)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__price .miam-recipe-details__price-label .hidden{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__price .miam-recipe-details__price-in-basket-label{color:var(--miam-ds-color-neutral-black,#1f3543);opacity:.65}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__preparation-tab{padding:16px;display:flex;flex-direction:column;gap:24px}"], encapsulation: 2, changeDetection: 0 });
|
|
21987
|
+
} }, directives: [i2$1.NgIf, CounterInputComponent, ReachTopDirective, RecipeDetailsInfosComponent, i2$1.NgClass, SliderTabsComponent, LikeButtonComponent, i8.YouTubePlayer, AddonLinkComponent, StoreLocatorLinkComponent, ProductsPickerComponent, RecipeDetailsIngredientsComponent, RecipeDetailsStepsComponent, RecipePricingComponent, RecipeAddonComponent, ReplaceItemComponent], pipes: [i2$1.AsyncPipe, i2$1.CurrencyPipe], styles: [".miam-recipe-details{min-height:100dvh}.miam-recipe-details .miam-recipe-details__loader{position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;width:40px;height:40px;background-position-x:20px;background-size:20px 20px}.miam-recipe-details .miam-recipe-details__container{position:relative}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sponsor-separator{border-top:1px solid var(--miam-ds-color-neutral-200,#d9dde1);margin:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture{position:relative;max-height:600px;display:flex}@media (min-width:1023px) and (max-height:1000px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture{max-height:400px}}@media (min-width:1023px) and (max-height:800px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture{max-height:300px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons{position:absolute;display:flex;flex-direction:row;justify-content:space-between;align-items:flex-end;gap:24px;top:16px;right:16px;left:16px;bottom:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper{flex:1;width:100%;height:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__close-button{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons{display:flex;justify-content:space-between;height:100%}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons .miam-recipe-details__back-button{transform:rotate(90deg);border-radius:100%;height:40px;width:40px;position:sticky;top:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons .miam-recipe-details__back-button .miam-recipe-details__back-icon{display:block}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons .miam-recipe-details__back-button:hover img.miam-recipe-details__back-icon{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/chevron-down-white.svg)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons .miam-recipe-details__like-button{position:absolute;top:0;right:0}@media (min-width:1023px) and (max-height:800px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__guest-counter .miam-counter-input{padding:2px}}@media (min-width:1023px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons{top:24px;right:24px;left:24px;bottom:24px;flex-direction:column}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper{width:inherit}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__mobile-header-buttons{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__close-button{display:flex;position:sticky;top:24px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__banner_buttons .miam-recipe-details__top-button-wrapper .miam-recipe-details__close-button:hover img.miam-recipe-details__close-icon{content:url(https://storage.googleapis.com/assets.miam.tech/generic/icons/Cross.svg)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__picture .miam-recipe-details__picture-img{width:100%;max-height:100%;-o-object-position:center;object-position:center;-o-object-fit:cover;object-fit:cover}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header{z-index:2;position:sticky;top:-1px;overflow:hidden}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container{display:flex;justify-content:space-between;align-items:center;padding:16px;background:var(--miam-ds-color-neutral-white,#fff);transition:padding .3s}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__back-button-mobile-container{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__title{width:100%;transition:font-size .3s;color:var(--miam-ds-color-neutral-black,#1f3543)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__actions__icon{display:flex;position:absolute;right:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__actions__icon .miam-recipe-details__hideable-actions{max-width:0;overflow:hidden;transition:max-width .3s}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__actions__icon .miam-recipe-details__close-button{margin-left:16px;padding:8px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned{padding:12px 16px;border-bottom:1px solid var(--miam-ds-color-neutral-200,#d9dde1)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__title{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__actions__icon{position:relative;top:unset;right:unset}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__actions__icon .miam-recipe-details__like-button{margin-right:16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__actions__icon .miam-recipe-details__hideable-actions{max-width:64px}@media (max-width:1024px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container{justify-content:flex-start}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__back-button-mobile-container{display:flex;align-items:center;justify-content:center;max-width:0;overflow:hidden;transition:max-width .3s}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__back-button-mobile-container .miam-recipe-details__back-icon{transform:rotate(90deg)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__title{font-size:20px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__actions__icon{max-width:0;overflow:hidden;transition:max-width .3s}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container .miam-recipe-details__hideable-actions{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned{padding:4px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__back-button-mobile-container{overflow:visible;max-width:48px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__back-button-mobile-container .miam-recipe-details__back-button{margin:8px 0;width:40px;height:40px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__title{font-size:14px;font-weight:500}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__sticky-header .miam-recipe-details__title-container.is-pinned .miam-recipe-details__actions__icon{max-width:40px}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__infos{padding:8px 16px 16px;display:block}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__tabs{padding:8px 16px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__tabs.hidden{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer{box-sizing:border-box;background:var(--miam-ds-color-neutral-white,#fff);border-top:1px solid var(--miam-ds-color-neutral-200,#d9dde1);padding:16px 12px;position:sticky;bottom:0;display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;z-index:2;height:80px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer.center{justify-content:center}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer.hidden{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta{display:flex;gap:8px}@media (max-width:1024px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta.miam-ds-button.primary:hover{background-color:var(--miam-ds-color-primary)}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta .miam-recipe-details__add-to-basket-cta__text{display:flex;gap:4px}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta .miam-recipe-details__add-to-basket-cta__text .miam-recipe-details__add-to-basket-remaining-price{display:flex}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__add-to-basket-cta .miam-recipe-details__add-to-basket-cta__text .miam-recipe-details__add-to-basket-remaining-price .hidden{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer ng-miam-recipe-pricing .miam-recipe-pricing__wrapper{align-items:flex-end}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer ng-miam-recipe-pricing .miam-recipe-pricing__wrapper .miam-recipe-pricing__wrapper__price{color:var(--miam-ds-color-primary-700);margin-right:4px}@media (max-width:1024px){.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer ng-miam-recipe-pricing .miam-recipe-pricing__wrapper{flex-direction:column;align-items:flex-start}}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__price{display:flex;flex-direction:column}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__price .miam-recipe-details__price-label{color:var(--miam-ds-color-primary,#24748f)}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__price .miam-recipe-details__price-label .hidden{display:none}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__footer .miam-recipe-details__price .miam-recipe-details__price-in-basket-label{color:var(--miam-ds-color-neutral-black,#1f3543);opacity:.65}.miam-recipe-details .miam-recipe-details__container .miam-recipe-details__preparation-tab{padding:16px;display:flex;flex-direction:column;gap:24px}"], encapsulation: 2, changeDetection: 0 });
|
|
21951
21988
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecipeDetailsComponent, [{
|
|
21952
21989
|
type: Component,
|
|
21953
21990
|
args: [{
|
|
@@ -21987,6 +22024,8 @@ RecipeDetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeDetailsCompo
|
|
|
21987
22024
|
type: Output
|
|
21988
22025
|
}], recipeError: [{
|
|
21989
22026
|
type: Output
|
|
22027
|
+
}], closeDetails: [{
|
|
22028
|
+
type: Output
|
|
21990
22029
|
}], topContainerImg: [{
|
|
21991
22030
|
type: ViewChild,
|
|
21992
22031
|
args: ['topContainerImg']
|
|
@@ -22820,16 +22859,16 @@ function RecipeModalComponent_ng_miam_modal_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
22820
22859
|
function RecipeModalComponent_ng_miam_modal_2_ng_miam_recipe_details_1_Template(rf, ctx) { if (rf & 1) {
|
|
22821
22860
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
22822
22861
|
i0.ɵɵelementStart(0, "ng-miam-recipe-details", 9, 10);
|
|
22823
|
-
i0.ɵɵlistener("recipeAdded", function RecipeModalComponent_ng_miam_modal_2_ng_miam_recipe_details_1_Template_ng_miam_recipe_details_recipeAdded_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.togglePreviewMode(); })("recipeError", function RecipeModalComponent_ng_miam_modal_2_ng_miam_recipe_details_1_Template_ng_miam_recipe_details_recipeError_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r12 = i0.ɵɵnextContext(2); return ctx_r12.hide(); });
|
|
22862
|
+
i0.ɵɵlistener("recipeAdded", function RecipeModalComponent_ng_miam_modal_2_ng_miam_recipe_details_1_Template_ng_miam_recipe_details_recipeAdded_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.togglePreviewMode(); })("recipeError", function RecipeModalComponent_ng_miam_modal_2_ng_miam_recipe_details_1_Template_ng_miam_recipe_details_recipeError_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r12 = i0.ɵɵnextContext(2); return ctx_r12.hide(); })("closeDetails", function RecipeModalComponent_ng_miam_modal_2_ng_miam_recipe_details_1_Template_ng_miam_recipe_details_closeDetails_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r13 = i0.ɵɵnextContext(2); return ctx_r13.hide(); });
|
|
22824
22863
|
i0.ɵɵelementEnd();
|
|
22825
22864
|
} if (rf & 2) {
|
|
22826
22865
|
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
22827
22866
|
i0.ɵɵproperty("recipeId", ctx_r8.recipe.id)("guestNumber", ctx_r8.recipe.modifiedGuests)("previewAllowed", ctx_r8.previewAllowed)("originTrace", ctx_r8.eventTrace)("stepsOnLeftSide", ctx_r8.detailsStepsOnLeftSide)("moreRecipesImageURL", ctx_r8.detailsMoreRecipesImageURL)("pricingGuestsText", ctx_r8.detailsPricingGuestsText)("displayGuests", ctx_r8.displayGuestsInDetails)("helpButtonAllowed", ctx_r8.helpButtonAllowedInDetails);
|
|
22828
22867
|
} }
|
|
22829
22868
|
function RecipeModalComponent_ng_miam_modal_2_Template(rf, ctx) { if (rf & 1) {
|
|
22830
|
-
const
|
|
22869
|
+
const _r15 = i0.ɵɵgetCurrentView();
|
|
22831
22870
|
i0.ɵɵelementStart(0, "ng-miam-modal", 7);
|
|
22832
|
-
i0.ɵɵlistener("displayChange", function RecipeModalComponent_ng_miam_modal_2_Template_ng_miam_modal_displayChange_0_listener($event) { i0.ɵɵrestoreView(
|
|
22871
|
+
i0.ɵɵlistener("displayChange", function RecipeModalComponent_ng_miam_modal_2_Template_ng_miam_modal_displayChange_0_listener($event) { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.show = $event; })("close", function RecipeModalComponent_ng_miam_modal_2_Template_ng_miam_modal_close_0_listener() { i0.ɵɵrestoreView(_r15); const ctx_r16 = i0.ɵɵnextContext(); return ctx_r16.hide(); })("cancel", function RecipeModalComponent_ng_miam_modal_2_Template_ng_miam_modal_cancel_0_listener() { i0.ɵɵrestoreView(_r15); const ctx_r17 = i0.ɵɵnextContext(); return ctx_r17.removeRecipe(); })("confirm", function RecipeModalComponent_ng_miam_modal_2_Template_ng_miam_modal_confirm_0_listener() { i0.ɵɵrestoreView(_r15); const ctx_r18 = i0.ɵɵnextContext(); return ctx_r18.hide(); });
|
|
22833
22872
|
i0.ɵɵtemplate(1, RecipeModalComponent_ng_miam_modal_2_ng_miam_recipe_details_1_Template, 2, 9, "ng-miam-recipe-details", 8);
|
|
22834
22873
|
i0.ɵɵelementEnd();
|
|
22835
22874
|
} if (rf & 2) {
|
|
@@ -22973,7 +23012,7 @@ RecipeModalComponent.ɵcmp = i0.ɵɵdefineComponent({ type: RecipeModalComponent
|
|
|
22973
23012
|
}
|
|
22974
23013
|
else {
|
|
22975
23014
|
i18n_0 = $localize `:␟d0309cdf7a6522949c4f145db5e71f70c9d9d66c␟171150506213829263:Mes repas`;
|
|
22976
|
-
} return [["title", i18n_0, "modalStyle", "right", "class", "miam-recipe-modal__basket-preview-modal", 3, "display", "noHeaderMode", "confirmButtonDisabled", "cancelButtonIsLoading", "displayChange", "close", "cancel", "confirm", 4, "ngIf"], ["modalStyle", "right", 3, "noHeaderMode", "display", "cancelButtonDisabled", "cancelButtonIsLoading", "displayChange", "close", "cancel", "confirm", 4, "ngIf"], ["title", i18n_0, "modalStyle", "right", 1, "miam-recipe-modal__basket-preview-modal", 3, "display", "noHeaderMode", "confirmButtonDisabled", "cancelButtonIsLoading", "displayChange", "close", "cancel", "confirm"], ["header", "", 4, "ngIf"], [1, "miam-wrapper-preview"], [3, "recipeId", "displayItemsUnitaryPrice", "originTrace"], ["header", ""], ["modalStyle", "right", 3, "noHeaderMode", "display", "cancelButtonDisabled", "cancelButtonIsLoading", "displayChange", "close", "cancel", "confirm"], [3, "recipeId", "guestNumber", "previewAllowed", "originTrace", "stepsOnLeftSide", "moreRecipesImageURL", "pricingGuestsText", "displayGuests", "helpButtonAllowed", "recipeAdded", "recipeError", 4, "ngIf"], [3, "recipeId", "guestNumber", "previewAllowed", "originTrace", "stepsOnLeftSide", "moreRecipesImageURL", "pricingGuestsText", "displayGuests", "helpButtonAllowed", "recipeAdded", "recipeError"], ["details", ""]]; }, template: function RecipeModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23015
|
+
} return [["title", i18n_0, "modalStyle", "right", "class", "miam-recipe-modal__basket-preview-modal", 3, "display", "noHeaderMode", "confirmButtonDisabled", "cancelButtonIsLoading", "displayChange", "close", "cancel", "confirm", 4, "ngIf"], ["modalStyle", "right", 3, "noHeaderMode", "display", "cancelButtonDisabled", "cancelButtonIsLoading", "displayChange", "close", "cancel", "confirm", 4, "ngIf"], ["title", i18n_0, "modalStyle", "right", 1, "miam-recipe-modal__basket-preview-modal", 3, "display", "noHeaderMode", "confirmButtonDisabled", "cancelButtonIsLoading", "displayChange", "close", "cancel", "confirm"], ["header", "", 4, "ngIf"], [1, "miam-wrapper-preview"], [3, "recipeId", "displayItemsUnitaryPrice", "originTrace"], ["header", ""], ["modalStyle", "right", 3, "noHeaderMode", "display", "cancelButtonDisabled", "cancelButtonIsLoading", "displayChange", "close", "cancel", "confirm"], [3, "recipeId", "guestNumber", "previewAllowed", "originTrace", "stepsOnLeftSide", "moreRecipesImageURL", "pricingGuestsText", "displayGuests", "helpButtonAllowed", "recipeAdded", "recipeError", "closeDetails", 4, "ngIf"], [3, "recipeId", "guestNumber", "previewAllowed", "originTrace", "stepsOnLeftSide", "moreRecipesImageURL", "pricingGuestsText", "displayGuests", "helpButtonAllowed", "recipeAdded", "recipeError", "closeDetails"], ["details", ""]]; }, template: function RecipeModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22977
23016
|
i0.ɵɵtemplate(0, RecipeModalComponent_ng_miam_modal_0_Template, 4, 8, "ng-miam-modal", 0);
|
|
22978
23017
|
i0.ɵɵpipe(1, "async");
|
|
22979
23018
|
i0.ɵɵtemplate(2, RecipeModalComponent_ng_miam_modal_2_Template, 2, 5, "ng-miam-modal", 1);
|