PageSourceSearch

https://sanaleo.com/_next/static/chunks/81f8575c64d4ac4e.js?dpl=dpl_78y8oaFkpptgsvey6TpL8v3YXSej

js sanaleo.com collected 2026-10-07 01:17:13 UTC 16,286 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69017,e=>{"use strict";var t=e.i(25981),a=e.i(59346),l=e.i(8790);e.i(39444);var r=e.i(49501),s=e.i(91496),i=e.i(51444);function n(e){let{tags:n,className:o,onSelectTag:c,selectedTag:d}=e,[u,x]=(0,l.useState)(!1),[h,m]=(0,l.useState)(!1),[p,g]=(0,l.useState)(!0),[f,b]=(0,l.useState)(!1),[v,j]=(0,s.default)({align:"start",containScroll:"trimSnaps",dragFree:!0,dragThreshold:5},[(0,i.WheelGesturesPlugin)()]);(0,l.useEffect)(()=>{x(!0)},[]);let w=(0,l.useCallback)(()=>{if(!j)return;let e=j.scrollProgress(),t=j.canScrollPrev(),a=j.canScrollNext();m(t&&e>.01),g(a&&e<.99)},[j]),N=(0,l.useCallback)(()=>{b(!1)},[]),k=(0,l.useCallback)(()=>{b(!0)},[]),y=(0,l.useCallback)(()=>{setTimeout(()=>b(!1),50)},[]);return(0,l.useEffect)(()=>{if(!j||!u)return;setTimeout(w,100),j.on("scroll",w),j.on("reInit",w),j.on("resize",w),j.on("pointerDown",N),j.on("pointerUp",y);let e=j.containerNode();return e&&e.addEventListener("pointermove",k),()=>{j.off("scroll",w),j.off("reInit",w),j.off("resize",w),j.off("pointerDown",N),j.off("pointerUp",y),e&&e.removeEventListener("pointermove",k)}},[j,u,w,N,k,y]),(0,t.jsx)("div",{className:(0,a.cn)("w-full sm:w-full",o),children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:`pointer-events-none absolute left-0 top-0 z-10 h-full w-12 bg-gradient-to-r from-white via-white/50 to-transparent transition-opacity duration-300 ${h?"opacity-100":"opacity-0"}`}),(0,t.jsx)("div",{className:`pointer-events-none absolute right-0 top-0 z-10 h-full w-12 bg-gradient-to-l from-white via-white/50 to-transparent transition-opacity duration-300 ${p?"opacity-100":"opacity-0"}`}),(0,t.jsx)("div",{className:"embla-tag-slider",ref:v,children:(0,t.jsx)("ul",{className:"embla__container",children:u&&n.map(e=>(0,t.jsx)("li",{className:"embla__slide",children:(0,t.jsx)("div",{onClickCapture:e=>{f&&(e.preventDefault(),e.stopPropagation())},className:"select-none",children:(0,t.jsx)(r.Tag,{onSelectTag:()=>c(e),selected:d===e,children:e})})},e))})})]})})}e.s(["TagSlider",()=>n])},70461,e=>{"use strict";var t=e.i(25981),a=e.i(8790),l=e.i(16771),r=e.i(59346);function s(e){let{items:s,className:i,heading:n="Häufige Fragen"}=e,[o,c]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e,t=()=>{window.innerWidth>=640?c(0):c(null)};t();let a=()=>{clearTimeout(e),e=setTimeout(()=>{t()},150)};return window.addEventListener("resize",a),()=>{clearTimeout(e),window.removeEventListener("resize",a)}},[]),(0,t.jsxs)("div",{className:(0,r.cn)("relative w-full overflow-auto pr-2 md:w-[340px] lg:w-[450px] xl:h-[679px] xl:w-[556px]",i),children:[(0,t.jsx)("h2",{id:"faq-heading",className:"mb-8 mt-4 w-full",children:n}),(0,t.jsx)("div",{className:"border-b border-gray-400"}),s.map((e,a)=>(0,t.jsxs)("section",{className:"border-b border-gray-400","aria-labelledby":`faq-question-${a}`,children:[(0,t.jsx)("h3",{className:"sr-only",id:`faq-question-${a}`,children:e.question}),(0,t.jsxs)("button",{className:(0,r.cn)("flex w-full items-center justify-between py-4 text-left text-[20px] font-bold leading-[28px] transition-colors",o===a?"text-sanaleo-orange":"!important text-sanaleo-dark-green hover:text-sanaleo-main-green"),onClick:()=>{c(o===a?null:a)},"aria-expanded":o===a,"aria-controls":`faq-answer-${a}`,"aria-labelledby":`faq-question-${a}`,children:[e.question,(0,t.jsx)(l.IoChevronDown,{className:`transform text-sanaleo-dark-green ${o===a?"rotate-180":"rotate-0"} transition-transform`})]}),(0,t.jsx)("div",{id:`faq-answer-${a}`,className:"grid",style:{gridTemplateRows:o===a?"1fr":"0fr",transition:"grid-template-rows 0.4s ease"},children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("p",{className:"pb-5 text-sanaleo-dark-green",children:e.answer})})})]},a))]})}e.s(["HeadlessFAQ",()=>s])},15740,(e,t,a)=>{t.exports=e.r(31346)},48928,e=>{"use strict";var t=e.i(25981),a=e.i(59346),l=e.i(15740),r=e.i(8790);function s(e){let{className:s,"data-etrusted-widget-id":i,...n}=e,[o,c]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let e=setTimeout(()=>{c(!0)},2e3);return()=>clearTimeout(e)},[]),o)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{strategy:"lazyOnload",src:"/etrusted.js"}),(0,t.jsx)("div",{className:(0,a.cn)("h-[170px] w-full",s),role:"region","aria-label":"Kundenstimmen",...n,children:(0,t.jsx)("etrusted-widget",{"data-etrusted-widget-id":i})})]}):(0,t.jsx)("div",{className:(0,a.cn)("h-[170px] w-full",s),role:"region","aria-label":"Kundenstimmen wird geladen",...n,children:(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center text-sanaleo-dark-green/50",children:(0,t.jsx)("span",{className:"text-sm",children:"Kundenbewertungen werden geladen..."})})})}e.s(["EtrustedCarousel",()=>s])},9795,e=>{"use strict";var t=e.i(25981);function a(e){let{orderData:a,products:l=[]}=e,{orderNumber:r,email:s,amount:i,currency:n="EUR",paymentType:o,estimatedDeliveryDate:c}=a;return r&&s&&void 0!==i?(0,t.jsxs)("div",{id:"trustedShopsCheckout",style:{display:"none"}
1,children:[(0,t.jsx)("span",{id:"tsCheckoutOrderNr",children:r}),(0,t.jsx)("span",{id:"tsCheckoutBuyerEmail",children:s}),(0,t.jsx)("span",{id:"tsCheckoutOrderAmount",children:i.toFixed(2)}),(0,t.jsx)("span",{id:"tsCheckoutOrderCurrency",children:n}),o&&(0,t.jsx)("span",{id:"tsCheckoutOrderPaymentType",children:o}),c&&(0,t.jsx)("span",{id:"tsCheckoutOrderEstDeliveryDate",children:c}),l.length>0&&(0,t.jsx)(t.Fragment,{children:l.map((e,a)=>(0,t.jsxs)("span",{className:"tsCheckoutProductItem",children:[(0,t.jsx)("span",{className:"tsCheckoutProductUrl",children:e.url}),(0,t.jsx)("span",{className:"tsCheckoutProductImageUrl",children:e.imageUrl||""}),(0,t.jsx)("span",{className:"tsCheckoutProductName",children:e.name}),(0,t.jsx)("span",{className:"tsCheckoutProductSKU",children:e.sku}),e.gtin&&(0,t.jsx)("span",{className:"tsCheckoutProductGTIN",children:e.gtin}),e.mpn&&(0,t.jsx)("span",{className:"tsCheckoutProductMPN",children:e.mpn}),(0,t.jsx)("span",{className:"tsCheckoutProductBrand",children:e.brand||"Sanaleo"})]},a))})]}):null}e.s(["TrustCard",()=>a])},85468,e=>{"use strict";var t=e.i(25981),a=e.i(56346),l=e.i(62319);e.i(81899);var r=e.i(46591),s=e.i(59346),i=e.i(88076);function n(e){let{specialTitle:n,productTitle:o,description:c,discount:d,image:u,link:x,buttonText:h,className:m,onClick:p,titleIsHeading:g=!0}=e;return(0,t.jsxs)("article",{"aria-label":n,className:(0,s.cn)("flex w-[296px] justify-between rounded-2xl bg-sanaleo-dark-green p-4 text-sanaleo-white lg:w-[415px] lg:rounded-[32px] lg:pl-8 xl:w-[507px]",m),children:[(0,t.jsxs)("div",{className:"flex flex-col justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("header",{children:(0,t.jsx)(g?"h2":"p",{className:"text-lg text-sanaleo-orange lg:text-[28px] xl:text-sanaleo-h3",children:x?(0,t.jsx)(l.default,{href:x,onClick:p,children:n}):n})}),o&&(0,t.jsx)("h3",{className:"inline-block text-sanaleo-h5 md:text-sanaleo-h6 lg:text-sanaleo-h4",children:o}),c&&(0,t.jsx)("p",{className:"text-sanaleo-p-small font-bold text-sanaleo-white lg:text-sanaleo-p",children:c})]}),x&&(0,t.jsx)(r.ButtonLink,{className:"hidden border-0 bg-sanaleo-white px-6 py-4 text-sanaleo-dark-green duration-75 hover:bg-sanaleo-dark-green hover:text-sanaleo-light-green xl:block",href:x,onClick:p,children:h||"Zum Angebot"}),x&&(0,t.jsx)("p",{className:"text-sm xl:hidden",children:(0,t.jsxs)(l.default,{href:x,onClick:p,className:"flex items-center gap-1 text-sanaleo-white",children:[h||"Zum Angebot"," ",(0,t.jsx)(i.IoIosArrowRoundForward,{className:"h-6 w-6"})]})})]}),(0,t.jsxs)("figure",{className:"relative h-[95px] w-[95px] shrink-0 self-center rounded-3xl lg:h-[115px] lg:w-[115px] xl:h-[155px] xl:w-[155px]",children:[(0,t.jsx)(a.default,{className:"rounded-3xl",placeholder:"blur",blurDataURL:u.blurDataURL,alt:u.alt,src:u.url,fill:!0,sizes:"(min-width: 640px) 155px, 95px"}),d&&(0,t.jsxs)("div",{className:"absolute -right-[25px] -top-[25px] flex h-[71px] w-[71px] items-center justify-center md:-right-[25px] md:-top-[29px]",children:[(0,t.jsx)("svg",{className:"h-[40px] w-[40px] text-sanaleo-orange md:h-[65px] md:w-[65px]",width:"71",height:"71",viewBox:"0 0 71 71",children:(0,t.jsx)("use",{href:"/other/circleSawBatch.svg#1"})}),(0,t.jsxs)("figcaption",{className:"text-sanaleo-base absolute text-center text-xs font-bold sm:text-base",children:["-",d,"%"]})]})]})]})}var o=e.i(91496),c=e.i(51444),d=e.i(8790),u=e.i(75679);function x(e){let{slides:a}=e,[l,r]=(0,d.useState)(0),s=(0,d.useRef)(null),[i,x]=(0,d.useState)(!1),h=(0,d.useRef)(null),m={align:"start",containScroll:"trimSnaps",dragFree:!1,loop:a.length>1},[p,g]=(0,o.default)(m,[(0,c.WheelGesturesPlugin)()]),f=(0,d.useCallback)(()=>{g&&g.scrollNext()},[g]),b=(0,d.useCallback)(()=>{s.current&&clearInterval(s.current),a.length>1&&(s.current=setInterval(()=>{i||f()},5e3))},[f,i,a.length]),v=(0,d.useCallback)(()=>{s.current&&(clearInterval(s.current),s.current=null)},[]),j=(0,d.useCallback)(()=>{x(!0)},[]),w=(0,d.useCallback)(()=>{x(!1)},[]),N=(0,d.useCallback)(e=>{r(e.selectedScrollSnap()),b()},[b]);return((0,d.useEffect)(()=>{if(g)return N(g),g.on("select",N),g.on("reInit",N),b(),()=>{g.off("select",N),g.off("reInit",N),v()}},[g,N,b,v]),(0,d.useEffect)(()=>{i||b()},[i,b]),a&&0!==a.length)?(0,t.jsxs)("div",{className:"relative w-full -translate-x-2 -translate-y-[6px] bg-white",onMouseEnter:j,onMouseLeave:w,children:[(0,t.jsx)("section",{className:"embla",children:(0,t.jsx)("div",{className:"embla__viewport",ref:p,children:(0,t.jsxs)("div",{className:"embla__container",children:[a.map(e=>(0,t.jsx)("div",{className:"embla__slide md:pr-4 md:pt-4",onPointerDown:e=>{h.current={x:e.clientX,y:e.clientY}},onClickCapture:e=>{if(h.current){let t=Math.abs(e.clientX-h.current.x),a=Math.abs(e.clientY-h.current.y);h.current=null,(t>5||a>5)&&e.preventDefault()}},children:(0,t.jsx)(n,{specialTitle:e.specialTitle,productTitle:e.productTitle,discount:e.discount,image:e.image,link:e.link,buttonText:e.buttonText,description:e.description,titleIsHeading:e.titleIsHeading,onClick:()=>{(0,u.sendGAEvent)({action:"select_promotion",category:"ecommerce",label:e.specialTitle,items:[{promotion_name:e.specialTitle}]})}})},e.id)),(0,t.jsx)("div",{},"invisibleSlideHack")]})})}),a.length>
11&&(0,t.jsx)("div",{className:"bottom-4 mr-2 mt-[10px] flex justify-end gap-2 md:absolute md:right-[145px] md:m-0 lg:right-[160px] xl:right-[198px]",children:a.map((e,a)=>(0,t.jsx)("div",{className:`h-2 w-2 rounded-full transition-all duration-200 ${a===l?"backdrop-invert":"backdrop-invert-[50%]"}`},a))})]}):null}e.s(["SpecialBoxSlider",()=>x],85468)},35517,e=>{"use strict";var t=e.i(25981),a=e.i(8790),l=e.i(56346),r=e.i(62319);function s(e){let{link:a,title:s,image:i,priority:n=!1}=e;return(0,t.jsxs)("div",{className:"group w-[104px] transition-all duration-300 sm:w-[180px]",children:[(0,t.jsx)(r.default,{href:a,className:"block w-full whitespace-nowrap text-center",draggable:!1,children:(0,t.jsx)("div",{className:"relative aspect-square w-full",children:(0,t.jsx)(l.default,{className:"rounded-3xl object-cover transition-all duration-300 group-hover:scale-105 group-hover:shadow-lg",sizes:"(min-width: 640px) 180px, 104px",src:i.url,alt:i.alt,fill:!0,placeholder:"blur",blurDataURL:i.blurDataURL,priority:n,draggable:!1})})}),(0,t.jsx)(r.default,{href:a,className:"whitespace-nowrap text-center group-hover:scale-105",draggable:!1,children:(0,t.jsx)("div",{className:"mt-1 text-base font-extrabold md:text-xl",children:s})})]})}var i=e.i(59346),n=e.i(91496),o=e.i(51444),c=e.i(88076),d=e.i(81848);let u=[{key:1,link:"/angebote",title:"Angebote",image:d.ANGEBOTE},{key:2,link:"/cbd-blueten",title:"CBD Blüten",image:d.BLUETEN},{key:3,link:"/cannabis-samen",title:"Cannabis Samen",image:d.SAMEN},{key:4,link:"/cbd-oele",title:"CBD Öle",image:d.OELE},{key:5,link:"/cbd-vape",title:"CBD Vapes",image:d.VAPE},{key:6,link:"/cbd-kosmetik",title:"Kosmetik",image:d.KOSMETIK},{key:7,link:"/rauchbedarf",title:"Rauchbedarf",image:d.RAUCHBEDARF},{key:8,link:"/tabakersatz",title:"Tabakersatz",image:d.TABAKERSATZ},{key:9,link:"/zubehoer",title:"Zubehör",image:d.ZUBEHOER}];function x(e){let{className:l}=e,[r,d]=(0,a.useState)(!1),[x,h]=(0,a.useState)(!0),[m,p]=(0,a.useState)(!1),[g,f]=(0,a.useState)(!1),[b,v]=(0,a.useState)(!0),[j,w]=(0,n.default)({align:"start",containScroll:"trimSnaps",dragFree:!0,dragThreshold:5},[(0,o.WheelGesturesPlugin)()]),N=(0,a.useCallback)(()=>{w&&w.scrollPrev()},[w]),k=(0,a.useCallback)(()=>{w&&w.scrollNext()},[w]),y=(0,a.useCallback)(()=>{if(!w)return;let e=w.scrollProgress(),t=w.canScrollPrev(),a=w.canScrollNext();
1f(t),v(a),d(t&&e>.01),h(a&&e<.99)},[w]),C=(0,a.useCallback)(()=>{p(!1)},[]),S=(0,a.useCallback)(()=>{p(!0)},[]),T=(0,a.useCallback)(()=>{setTimeout(()=>p(!1),50)},[]);return(0,a.useEffect)(()=>{if(!w)return;y(),w.on("scroll",y),w.on("reInit",y),w.on("resize",y),w.on("pointerDown",C),w.on("pointerUp",T);let e=w.containerNode();return e&&e.addEventListener("pointermove",S),()=>{w.off("scroll",y),w.off("reInit",y),w.off("resize",y),w.off("pointerDown",C),w.off("pointerUp",T),e&&e.removeEventListener("pointermove",S)}},[w,y,C,S,T]),(0,t.jsxs)("section",{className:(0,i.cn)("w-full",l),"aria-label":"Produktkategorien","aria-roledescription":"Karussell",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:`pointer-events-none absolute left-0 top-0 z-10 h-full w-12 bg-gradient-to-r from-white via-white/50 to-transparent transition-opacity duration-300 ${r?"opacity-100":"opacity-0"}`,"aria-hidden":"true"}),(0,t.jsx)("div",{className:`pointer-events-none absolute right-0 top-0 z-10 h-full w-12 bg-gradient-to-l from-white via-white/50 to-transparent transition-opacity duration-300 ${x?"opacity-100":"opacity-0"}`,"aria-hidden":"true"}),(0,t.jsx)("div",{className:"embla-category-tiles embla__viewport py-2",ref:j,role:"group","aria-label":"Kategorie-Slider",id:"category-carousel",children:(0,t.jsx)("ul",{className:"embla__container",role:"list",children:u.map((e,a)=>{let{key:l,link:r,title:i,image:n}=e;return(0,t.jsx)("li",{className:"embla__slide",children:(0,t.jsx)("div",{onClickCapture:e=>{m&&(e.preventDefault(),e.stopPropagation())},className:"select-none",children:(0,t.jsx)(s,{link:r,title:i,image:n,priority:a<3})})},l)})})})]}),(0,t.jsxs)("nav",{className:"mt-2 flex justify-end gap-4","aria-label":"Kategorie-Karussell Navigation",children:[(0,t.jsxs)("button",{onClick:N,className:(0,i.cn)("group relative flex items-center justify-center",!g&&"cursor-not-allowed opacity-30 hover:scale-100"),disabled:!g,"aria-label":"Vorherige Kategorien anzeigen","aria-controls":"category-carousel",children:[(0,t.jsx)(c.IoIosArrowBack,{className:"z-10 mr-1 h-9 w-9 text-sanaleo-main-green group-hover:text-sanaleo-white"}),(0,t.jsx)("div",{className:"absolute h-12 w-12 rounded-full border-2 border-sanaleo-main-green bg-sanaleo-light-green group-hover:bg-sanaleo-main-green"})]}),(0,t.jsxs)("button",{onClick:k,className:(0,i.cn)("group relative flex items-center justify-center",!b&&"cursor-not-allowed opacity-30 hover:scale-100"),disabled:!b,"aria-label":"Nächste Kategorien anzeigen","aria-controls":"category-carousel",children:[(0,t.jsx)(c.IoIosArrowForward,{className:"z-10 ml-1 h-9 w-9 text-sanaleo-main-green group-hover:text-sanaleo-white"}),(0,t.jsx)("div",{className:"absolute h-12 w-12 rounded-full border-2 border-sanaleo-main-green bg-sanaleo-light-green group-hover:bg-sanaleo-main-green"})]})]})]})}e.s(["DesktopCategorySquareTilesSlider",()=>x],35517)},73543,e=>{"use strict";var t=e.i(25981),a=e.i(8790),l=e.i(63851),r=e.i(69017);function s(e){let{cards:s,className:i}=e,[n,o]=(0,a.useState)(void 0),c=(0,a.useMemo)(()=>{let e=new Set;return s.forEach(t=>{t.tags.forEach(t=>e.add(t))}),Array.from(e)},[s]),d=(0,a.useMemo)(()=>n?s.filter(e=>e.tags.includes(n)):s,[s,n]);return(0,t.jsxs)("div",{className:i,children:[(0,t.jsx)(r.TagSlider,{className:"mt-4",tags:c,onSelectTag:e=>e===n?o(void 0):o(e),selectedTag:n}),(0,t.jsx)(l.CardSlider,{className:"mt-[4px]","aria-label":n?`Produkte gefiltert nach Tag ${n}`:"Produkte nach Tags filtern",cards:d.map((e,a)=>(0,t.jsx)("div",{children:e.product},a))})]})}e.s(["CardSliderFilterable",()=>s])}]);

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.