1window.rebuyHooks=window.rebuyHooks||{},window.rebuyHooks.crossSellAdd=function(){const cartElement=document.querySelector(".rebuy-cart__flyout"),notificationElement=document.createElement("div");notificationElement.classList.add("flyout-notification"),notificationElement.setAttribute("hidden",""),notificationElement.insertAdjacentHTML("afterbegin",` 2 <div class="flyout-notification__icon-wrap"> 3 <svg class="flyout-notification__icon" width="8" height="6" viewBox="0 0 8 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.5 2.62121L2.97059 5.16667L7.5 0.5" stroke="black"/></svg> 4 </div> 5 <p class="flyout-notification__text">Zum Warenkorb hinzugef\xFCgt!</p> 6 `),cartElement.append(notificationElement),setTimeout(()=>{notificationElement.classList.add("flyout-notification--show")},0),setTimeout(()=>{notificationElement.classList.remove("flyout-notification--show"),setTimeout(()=>{notificationElement.remove()},500)},2e3)};function toggleCartEmptyState(cart){setTimeout(()=>{cart.hasItems()?cart.view.$el.classList.remove("no-items"):(cart.view.$el.classList.add("no-items"),cart.view.$el.querySelector(".rebuy-cart__flyout-empty-cart").innerHTML=` 7 <p class="rebuy-cart__empty-title">Dein Warenkorb ist leer</p> 8 <p class="rebuy-cart__empty-description">Dass l\xE4sst sich \xE4ndern \u{1F447}</p> 9 <a class="rebuy-cart__empty-button" href="/collections/alle-zimmerpflanzen">PFLANZEN ENTDECKEN</p> 10 `)},0)}window.rebuyHooks.crossSellReady=widget=>{const toggleClickableOnLinks=(cells,action)=>{cells.forEach(cell=>{cell.element.querySelectorAll("a").forEach(link=>link.classList[action]("clickable"))})},loadImages=cells=>{cells.forEach(cell=>{const image=cell.element.querySelector("img");image&&(image.loading="eager")})};setTimeout(()=>{const carousel=widget.View.carousel;loadImages(carousel.cells),carousel.on("dragStart",()=>toggleClickableOnLinks(carousel.cells,"remove")),carousel.on("dragEnd",()=>toggleClickableOnLinks(carousel.cells,"add")),Object.assign(carousel.options,{prevNextButtons:!0,wrapAround:!1,freeScroll:!0,contain:!0}),carousel.resize()},0)},window.rebuyHooks.cartShow=toggleCartEmptyState,window.rebuyHooks.itemIncrease=toggleCartEmptyState,window.rebuyHooks.itemDecrease=toggleCartEmptyState,window.rebuyHooks.itemRemoved=toggleCartEmptyState; 11//# sourceMappingURL=/cdn/shop/t/54/assets/rebuy-redesign.js.map?v=110187952457405199691701858748
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.