1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8783],{7019:(e,t,c)=>{c.d(t,{t:()=>r});var n=c(76988);let r={trackSubmitTrueEvent:e=>{(0,n.sendGTMEvent)({event:"click_newsletter_subscribe",eventValues:{ec:"newsletter",ea:"click",el:`subscribenow_${e}`,subscription_type:e}})}}},68783:(e,t,c)=>{c.d(t,{b:()=>r});var n=c(76988);let r={trackEvent:e=>{(0,n.sendGTMEvent)(e)},clickCategoryOccasion:e=>{(0,n.sendGTMEvent)({event:"click_see_category_occasion",eventValues:{ec:"occasion landing page",ea:"click",el:e||"occasion_category",occasion_category:e||"occasionCategory"}})},pageValues:(e,t,c)=>{window?.dataLayer?.unshift({pageValues:{country:e,language:t,globalPath:c}})},pageview:(e,t=!1)=>{(0,n.sendGTMEvent)({event:"pageview",page:e,isPromotion:t})},contentGroups:e=>{(0,n.sendGTMEvent)({contentGroups:e})},converted_filters:({userToken:e,indexName:t,eventName:c,filters:r})=>{(0,n.sendGTMEvent)({event:"converted_filters",eventValues:{userToken:e,index:t,eventName:c,filters:r}})},followUsClick:e=>{(0,n.sendGTMEvent)({event:"click_social_follow",eventValues:{ec:"follow us",ea:"click",el:e,social_platform:e}})},clickSocialShare:(e,t,c,r)=>{(0,n.sendGTMEvent)({event:e,eventValues:{ec:t,ea:`click ${c} share`,el:r,social_platform:c}})},footerMore:e=>{(0,n.sendGTMEvent)({event:"click_footer_more",eventValues:{ec:"footer",ea:"click",el:`${e}`,more_option:e}})},footerAppStore:e=>{(0,n.sendGTMEvent)({event:"click_footer_appinstall",eventValues:{ec:"footer",ea:"click app store",el:e,app_device:e}})},footerAbout:e=>{(0,n.sendGTMEvent)({event:"click_footer_about",eventValues:{ec:"footer",ea:"click",el:`${e}`,about_option:e}})},footerFollowUs:e=>{(0,n.sendGTMEvent)({event:"click_footer_followus",eventValues:{ec:"footer",ea:"click",el:`footer_${e}`,social_platform:e}})},tertiaryLink:(e,t,c)=>{(0,n.sendGTMEvent)({event:"click_navigation_tertiary",eventValues:{ec:"navigation",ea:"click tertiary",el:`${e}_${t}_${c}`,navigation_primary:e,navigation_secondary:t,navigation_tertiary:c}})},secondaryLink:(e,t)=>{(0,n.sendGTMEvent)({event:"click_navigation_secondary",eventValues:{ec:"navigation",ea:"click secondary",el:`${e}_${t}`,navigation_primary:e,navigation_secondary:t}})},primaryLink:e=>{(0,n.sendGTMEvent)({event:"click_navigation_primary",eventValues:{ec:"navigation",ea:"click primary",el:e,navigation_primary:e}})},anchorNavigation:e=>{(0,n.sendGTMEvent)({event:"click_navigation_anchor",eventValues:{ec:"navigation",ea:"click anchor",el:e,target_name:e}})},homePageHeaderCTA:()=>{(0,n.sendGTMEvent)({event:"click_homepage_header",eventValues:{ec:"header",ea:"click",el:"homepage-header"}})},clickProductAccordion:(e,t)=>{(0,n.sendGTMEvent)({event:"click_product_accordion",eventValues:{ec:"product",ea:"click product detail",el:`accordion_${e}`,product_description_section:e,section_position:t}})},clickSeeCategoryProduct:e=>{(0,n.sendGTMEvent)({event:"click_see_category_product",eventValues:{ec:"product landing page",ea:"click",el:`${e?.category||"na"}`,target_product_category:e?.category||"na"}})},clickSeeSubcategoryProduct:e=>{(0,n.sendGTMEvent)({event:"click_see_subcategory_product",eventValues:{ec:"product landing page",ea:"click",el:`${e?.subcategory||"na"}`,product_category:e?.category||"category",product_subcategory:e?.subcategory||"na"}})},productTeaserCardClick:(e,t,c,r,a)=>{(0,n.sendGTMEvent)({event:"click_teaser_product",eventValues:{ec:"teaser product",ea:"click",el:`${a}_${e}`,container_title:c,container_position:r,container_type:a,target_name:e,target_position:t}})},productPage:e=>{let t=e?.categories?.[0]?.productSubcategoryPage;(0,n.sendGTMEvent)({customDimensionValues:{product_id:e.gtin,product_name:e.productTitle,product_category:t?.productCategoryPage?t?.productCategoryPage?.productCategoryName||"":t?.productSubcategoryPage?.productCategoryPage?.productCategoryName||"",product_subcategory:t?.productCategoryPage?t?.subcategoryPageName||"":t?.productSubcategoryPage?.subcategoryPageName||"",product_tags:e?.metaKeywords||"na",product_brand:"",product_filling_quantity:e?.fillingQuantity||""}})},clickBuyNow:e=>{(0,n.sendGTMEvent)({event:"click_online_shop",eventValues:{ec:"product",ea:"click",el:"oetker shop",external_link:e}})},clickSeeProduct:e=>{(0,n.sendGTMEvent)({event:"click_see_product",eventValues:{ec:"product landing page",ea:"click",el:`${e?.name||"product_name"}`,product_name:`${e?.name||"product_name"}`,product_category:e?.category||"category",product_subcategory:e?.
1subcategory||"na",product_tags:e?.tags||"tags",product_brand:e?.brand||"brand",product_filling_quantity:e?.fillingQuantity||"filterQuantity",filter_category:e?.filterCategory||"filterCategory",filter_used:e?.filtersUsed||"filtersUsed",sorting_used:e?.sortingUsed||"sortingUsed"}})},productPageTimeScrollPercentage:()=>{(0,n.sendGTMEvent)({event:"timer_product_10s_25p"})},productBuyNowButtonConversionAfterSearch:(e,t)=>{let[c]=r.getEventsBetweenTwoLatestPageViews(e||[],e=>e.find(e=>e?.event==="clickedObjectIDsAfterSearch"));if(c){let e=c?.eventValues;e&&r.convertedObjectIDsAfterSearch({indexName:e?.indexName,objectIDs:e?.objectIDs,queryID:e?.queryID,userToken:t,eventName:"product_buy_now_converted_after_search"})}},clickPopularSearch:(e,t)=>{let c=e?.category||"",r=e?.query||"";(0,n.sendGTMEvent)({event:"click_popular_search",eventValues:{ec:"search",ea:"click popular search",el:`${c}_${r}`,search_suggestion:r,search_suggestion_category:c,search_suggestion_position:t+1}})},clickSearchAllSuggestions:(e,t)=>{let c=e.current?.value;(0,n.sendGTMEvent)({event:"click_search_allsuggestions",eventValues:{ec:"search",ea:"click search all suggestions",el:`${c}_all`,search_term:c,search_suggestion_number:t<=0?0:t}})},trackResetSearchBoxEvent:e=>{(0,n.sendGTMEvent)({event:"click_search_try_newsearch",eventValues:{ec:"search",ea:"click no result",el:e,search_term:e}})},searchSubmit:(e,t)=>{(0,n.sendGTMEvent)({event:"click_search_enter",eventValues:{ec:"search",ea:"press enter",el:e||"",search_term:e||"",search_suggestion_number:t<=0?0:t}})},searchChange:(e,t,c,r)=>{(0,n.sendGTMEvent)({event:"view_search_result",eventValues:{ec:"search",ea:"view search result",el:e,search_term:e,filter_category:t||"none",filter_used:c||"none",sorting_used:r}})},searchCategoryChange:(e,t)=>
1{(0,n.sendGTMEvent)({event:"click_search_result_category",eventValues:{ec:"search",ea:"click result category",el:e,target_category:t}})},searchResult:(e,t,c,r,a,i,o,s)=>{(0,n.sendGTMEvent)({event:"click_search_result",eventValues:{ec:"search",ea:"click result link",el:`${e}_${t}_${c}`,teaser_position:a,current_category:r,target_name:c,target_category:e,target_subcategory:t,filter_category:i,filter_used:o,sorting_used:s}})},getFilterCategoriesCommaSeparatedList:e=>{let t=[];return e.map(e=>t.push(e.label)),t.join(", ")},getFilterOptionsCommaSeparatedList:e=>{let t=[];return e.forEach(e=>{t.push(e.options?.filter(e=>e?.selected===!0).map(e=>e?.label))}),t.join(", ")},trackNoResultsEvent:e=>{(0,n.sendGTMEvent)({event:"click_search_noresult",eventValues:{ec:"search",ea:"click no result",el:e,search_term:e}})},clickSuggestion:(e,t,c,r)=>{let{category:a,subCategory:i,searchSuggestion:o}=e;(0,n.sendGTMEvent)({event:"click_search_suggestion",eventValues:{ec:"search",ea:"click search suggestion",el:`${a}_${i}_${o}`,search_suggestion:o,search_term:c.current?.value,search_suggestion_category:a,search_suggestion_subcategory:i,search_suggestion_position:t+1,search_suggestion_number:r<=0?0:r}})},clickedObjectIDsAfterSearch:({indexName:e,objectIDs:t,positions:c,queryID:r,slug:a,objectType:i,userToken:o})=>{(0,n.sendGTMEvent)({event:"clickedObjectIDsAfterSearch",eventValues:{indexName:e,objectIDs:t,positions:c,queryID:r,slug:a,objectType:i,userToken:o}})},clickedDetailPageAnd30SecondsPlusStayed:({indexName:e,objectIDs:t,positions:c,queryID:r})=>{(0,n.sendGTMEvent)({event:"clickedObjectIDsAfterSearch",eventValues:{indexName:e,objectIDs:t,positions:c,queryID:r}})},convertedObjectIDsAfterSearch:({authenticatedUserToken:e,indexName:t,eventName:c,objectIDs:r,queryID:a,userToken:i})=>{(0,n.sendGTMEvent)({event:"convertedObjectIDsAfterSearch",eventValues:{objectIDs:r,queryID:a,eventName:c,authenticatedUserToken:e??"",userToken:i,indexName:t}})},clickTeaserRecipeList:e=>{(0,n.sendGTMEvent)({event:"click_teaser_recipe_list",eventValues:{ec:"teaser",ea:"click",el:"carousel_list",container_title:e?.containerTitle||"containerTitle",container_position:e?.containerPosition||"containerPosition",container_type:e?.containerType||""}})},clickPrintRecipe:e=>{(0,n.sendGTMEvent)({event:"click_print_recipe",eventValues:{ec:"recipe",ea:"print",el:e}}),window.print()},clickRatingRecipe:(e,t)=>{(0,n.sendGTMEvent)({event:"click_rating_recipe",eventValues:{ec:"recipe",ea:"click",el:e,recipe:t,rating:e}})},clickSeeCategoryRecipe:e=>{(0,n.sendGTMEvent)({event:"click_see_category_recipe",eventValues:{ec:"recipe landing page",ea:"click",el:`${e?.category||"na"}`,recipe_category:e?.category||"na"}})},clickSeeSubcategoryRecipe:e=>{(0,n.sendGTMEvent)({event:"click_see_subcategory_recipe",eventValues:{ec:"recipe landing page",ea:"click",el:`${e?.subcategory||"na"}`,recipe_category:e?.category||"category",recipe_subcategory:e?.subcategory||"na"}})},clickTeaserSeeRecipe:e=>{(0,n.sendGTMEvent)({event:"click_teaser_see_recipe",eventValues:{ec:"teaser recipe",ea:"click",el:`${e?.containerType}_${e?.teaserName||"teaserName"}`,container_title:e?.containerTitle||"containerTitle",container_position:e?.containerPosition||"containerPosition",container_type:e?.containerType||"containerType",teaser_name:e?.teaserName||"teaserName",teaser_position:e?.teaserPosition||"teaserPosition",teaser_recipe_id:e?.teaserRecipeId||"teaserRecipeId",teaser_recipe_title:e?.teaserRecipeTitle||"teaserRecipeTitle",teaser_recipe_difficulty:e?.teaserRecipeDifficulty||"teaserRecipeDifficulty",teaser_recipe_rating:e?.teaserRecipeRating||"teaserRecipeRating",teaser_recipe_duration_total:e?.teaserRecipeDuration||"teaserRecipeDuration"}})},recipePage:(e,t,c,r)=>{let a=c?c?.IngredientsAndEquipmentBlocks.reduce((e,t)=>e.concat(t.VisibleEquipmentItemPositions),[]).map(e=>e).length:0,i=c?c?.IngredientsAndEquipmentBlocks.reduce((e,t)=>e.concat(t.Ingredients),[]).map(e=>e).length:0;(0,n.sendGTMEvent)({customDimensionValues:{recipe_id:c?.Id||null,recipe_title:c?.Title||null,recipe_category:c?.Category?.GlobalCategory?.Title||null,recipe_subcategory:c?.Category?.Title||null,recipe_tags:t||null,recipe_difficulty:e||null,recipe_cost:c?.Price||null,recipe_rating:r?.value||null,recipe_rating_number:r?.amount||null,recipe_serving_amount:c?.ToServings||parseInt(c?.ServingsSummaryText?.match(/\d+/)?.[0]||"",10)||null,recipe_duration_total:c?.TotalTimeInMinutes||0,recipe_duration_preparation:c?.PreparationTimeInMinutes||0,recipe_duration_baking:c?.BakingTimeInMinutes||0,recipe_duration_resting:c?.RestingTimeInMinutes||0,recipe_ingredients_number:i||0,recipe_utensils_number:a||0}})},recipeStep:(e,t)=>{(0,n.sendGTMEvent)({event:"view_preparation_steps_recipe",eventValues:{ec:"teaser",ea:"view",el:`${e}_${t+1}`,preparation_step:`${t+1}`}})},recipePreparation:e=>{(0,n.sendGTMEvent)({event:"view_preparation_recipe",eventValues:{ec:"teaser",ea:"view",el:`${e}`}})},clickProductLinkRecipe:e=>{(0,n.sendGTMEvent)({event:"click_product_link_recipe",eventValues:{ec:"recipe",ea:"click product link",el:e.summary||"",target_product_name:e.summary||"",target_product_id:e.gtinId||""}})},seeRecipeClick:(e,t,c,r,a,i,o,s,l,_)=>{(0,n.sendGTMEvent)({event:"click_see_recipe",eventValues:{ec:"recipe landing page",ea:"click",el:c,target_recipe_id:r,target_recipe_title:c,target_recipe_category:e,target_recipe_subcategory:t,target_recipe_difficulty:a,target_recipe_rating:i,target_recipe_duration_total:o,filter_category:s,filter_used:l,sorting_used:_}})},subcategoryComponentRecipeClick:(e,t)=>{(0,n.sendGTMEvent)({event:"click_see_subcategory_recipe",eventValues:{ec:"recipe landing page",ea:"click",el:`${t}`,target_category:e,target_subcategory:t}})},recipePageTimeScrollPercentage:()=>{(0,n.sendGTMEvent)({event:"timer_recipe_30s_25p"})},recipePageTime:()=>{(0,n.sendGTMEvent)({event:"timer_recipe_5min"})},recipePageScroll:e=>{(0,n.sendGTMEvent)({event:"scroll_recipe",recipe_scroll_percentage:`${e}%`})},recipeDetailPageConversionAfterSearch:(e,t)=>{let[c]=r.getEventsBetweenTwoLatestPageViews(e||[],e=>e.find(e=>e?.event==="clickedObjectIDsAfterSearch"));if(c){let e=c?.eventValues;e&&r.convertedObjectIDsAfterSearch({indexName:e?.indexName,objectIDs:e?.objectIDs,queryID:e?.queryID,userToken:t,eventName:"recipe_converted_after_search"})}},filtersAppliedRecipeCategoryPage:({userToken:e,indexName:t,filters:c})=>
1{r.converted_filters({userToken:e,eventName:"filters_applied_recipe_category_page",indexName:t,filters:c})},recipeCategoryPageConversionAfterFiltering:(e,t,c,n)=>{let a=e?.find(e=>e?.event==="converted_filters");a&&r.convertedObjectIDsAfterSearch({indexName:a?.eventValues?.index,objectIDs:[t],queryID:c,userToken:n,eventName:"recipe_converted_after_filter"})},...c(7019).t,clickPromotionDownloadBtn:(e,t)=>{(0,n.sendGTMEvent)({event:"promotion_download",promotion_name:t,promotion_download:e})},viewPromotion:e=>{(0,n.sendGTMEvent)({event:"promotion_view",promotion_name:e})},promotionStep:(e,t,c)=>{(0,n.sendGTMEvent)({event:"promotion_step",promotion_name:c,promotion_step:e,promotion_answer:t})},promotionSubmit:e=>{(0,n.sendGTMEvent)({event:"promotion_submit",promotion_name:e})},createTrackingMarker:(e,t)=>{let c=document.createElement("div");return c.style.position="absolute",c.style.top=e,c.style.left="0",c.style.width="1px",c.style.height="1px",c.style.pointerEvents="none",c.style.visibility="hidden",c.style.zIndex="-1000",t&&(c.id=t),document.body.appendChild(c),c},getEventsBetweenTwoLatestPageViews:function(e,t,c="pageview"){let n=[...e].reverse(),r=-1,a=-1;for(let e=0;e<n.length;e++)if(n[e].event===c)if(-1===r)r=e;else{a=e;break}if(-1===a||-1===r)return[];let i=t(n.slice(r,a+1));return i?[i]:[]},articlePageConversionAfterSearch:(e,t)=>{let[c]=r.getEventsBetweenTwoLatestPageViews(e||[],e=>e.find(e=>e?.event==="clickedObjectIDsAfterSearch"));if(c){let e=c?.eventValues;e&&r.convertedObjectIDsAfterSearch({indexName:e?.indexName,objectIDs:e?.objectIDs,queryID:e?.queryID,userToken:t??"",eventName:"article_converted_after_recipe_click"})}}}}}]); 2//# sourceMappingURL=8783-6e3361b036625345.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.