1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[37261],{13269:(e,t,l)=>{l.r(t),l.d(t,{ProductTeaser:()=>p});var i=l(6029),a=l(91694),r=l(5700),n=l(93625),s=l(42861),d=l(90052),o=l(98769),c=l(44066),x=l(51459),m=l(90687),u=l(19844);let p=({itemGap:e,entries:t,isAdShopTeaser:l=!1})=>"de"===(0,a.Ym)()&&t?.items.length?l?(0,i.jsx)("div",{className:"min-h-[730px] md:min-h-[370px]",children:(0,i.jsx)(h,{itemGap:e,entries:t})}):(0,i.jsx)(h,{itemGap:e,entries:t}):null,h=({itemGap:e,entries:t})=>(0,i.jsx)(o.d,{className:"px-4 md:px-0 bg-skin-shop-widget",itemGap:e,fixedHeight:!0,entries:t?.items.length,headlineText:"Shop-Angebot",children:t?.items?.map(e=>(0,i.jsx)(g,{data:e},`single-teaser-${e.identifier}`))}),g=({data:e})=>{let t=(0,r.c)("common"),l=(0,n.Ay)(e,!1,!0),a=e?._navisionProduct?.internet_text||"";return(0,i.jsxs)("div",{className:"flex h-full flex-col overflow-hidden bg-skin-shop-widget px-0 md:flex-row md:flex-wrap md:justify-between md:px-4 lg:h-auto lg:flex-nowrap lg:space-x-8 lg:overflow-visible",children:[(0,i.jsxs)("div",{className:"relative z-10 order-1 mx-auto mb-4 flex w-full flex-col md:w-auto lg:mb-0 lg:w-[200px]",children:[(0,i.jsx)(d.A,{headlineUppercase:!1,headlineHeading:"h2",className:"mb-2 text-center",headlineSize:"xs",headlineStyle:"sm",headlineText:l?.title}),(0,i.jsx)("div",{className:"px-18 relative flex w-full justify-center md:p-0 lg:static",children:!!l?.image&&(0,i.jsx)(m._V,{width:300,cloudinary:l?.image,alt:l?.title})})]}),(0,i.jsxs)("div",{className:"order-3 contents grow flex-col md:order-3 md:block lg:order-2 lg:w-[calc(100%-200px)]",children:[!!a&&(0,i.jsx)("div",{className:"order-3 flex-1 overflow-hidden",children:(0,i.jsxs)("div",{className:"[&_a]:font-copy [&_a]:text-skin-shop-link [&_a]:underline",children:[(0,i.jsx)(s.X,{textSize:"md",className:"relative h-[10em] overflow-hidden before:absolute before:bottom-0 before:right-0 before:h-10 before:w-full before:bg-gradient-to-b before:from-transparent before:to-skin-shop-widget",__html:a}),(0,i.jsx)("div",{className:"mt-2",children:(0,i.jsx)(u.Link,{product:e?._navisionProduct,anchor:"mehr",className:"mt-2 underline",children:t("SHOP_EXPAND_INFO")})})]})}),(0,i.jsxs)("div",{className:"relative order-4 before:hidden before:w-full lg:flex lg:flex-col lg:before:absolute lg:before:-top-16 lg:before:right-0 lg:before:h-16 lg:before:bg-gradient-to-b lg:before:from-transparent lg:before:to-skin-shop-widget",children:[!!l?.price&&(0,i.jsx)("div",{className:"mb-2 mt-auto flex pt-2",children:(0,i.jsx)(x.g,{priceSize:"2xl",priceStyle:"headline",children:t("SHOP_PRICE_ONLY",{price:l.price})})}),(0,i.jsx)("div",{className:"mb-2",children:(0,i.jsx)(c.J,{sku:e?._navisionProduct?.id,product:e?._navisionProduct,roundedEdges:!0,buttonText:t("SHOP_BUY_BUTTON"),buttonColor:"shop-link"})}),(0,i.jsx)(s.X,{textSize:"xs",textType:"paragraph",className:"text-center",children:t("SHOP_PRICE_INFO")}),(0,i.jsx)("div",{className:"mt-2 text-center lg:hidden",children:(0,i.jsx)(u.Link,{product:e?._navisionProduct,anchor:"mehr",className:"text-skin-shop-link mt-2 underline",children:t("SHOP_EXPAND_INFO")})})]})]})]})}},44066:(e,t,l)=>{l.d(t,{J:()=>u});var i=l(6029),a=l(13301),r=l(75828),n=l.n(r),s=l(55729),d=l(65871),o=l(29037),c=l(61813),x=l(93433),m=l(27009);let u=({sku:e,buttonText:t="",instant:l=!1,allowMultiple:r=!1,product:u})=>{let{trackGaEvent:p,trackPiwikEvent:h}=(0,s.useContext)(c.f),{setPageType:g}=(0,m.A)(),b=(0,x.d)("roundedEdges",!0),f=(0,d.no)(globalThis?.window?.SHOPIFY_STOREFRONT_ENDPOINT,globalThis?.window?.SHOPIFY_STOREFRONT_TOKEN),w=u.isDeliverable,v=(0,o.dz)(u);v<0&&(v=0);let k=(0,s.useMemo)(()=>{let e=[],t=(0,o.G3)(u);t&&e.push({key:"binding",value:t});let l=(0,o.sN)(u,!1);if(l?.badge==="info"&&l.text.includes("Lieferbar ab")){let t=l.text.substring(l.text.indexOf("Lieferbar ab"));e.push({key:"delivery_date",value:t})}return e.length>0?e:void 0},[u]),{data:y}=(0,a.I)(["shop/buyButton",e],()=>f?.({sku:e,onlyMatchingVariant:!0}).then(e=>e||null).catch(e=>(console.warn("catch shop/buyButton",e),null)),{staleTime:18e4,enabled:!0});if(!y)return null;let N=String(u?.product_type).toLowerCase(),_=u?.file_type?"E-Book":"kalender"===N?"Kalender":"Buch",j={id:y.variants?.nodes[0]?.sku,name:u.title,taxonomy:_?[_]:[],unit_price:parseFloat(y.variants?.nodes[0]?.priceV2?.amount),unit_sale_price:parseFloat(y.variants?.nodes[0]?.priceV2?.amount),currency:y.variants?.nodes?.[0]?.priceV2?.currencyCode||"EUR",product_image_url:u?.images?.[0]?.src||"https://shop.delius-klasing.de/apple-touch-icon.png",url:window.location.origin+(0,o.F5)(u)};j?.id&&g("product",j);let S=!w||!e||!y?.variants?.nodes?.[0]?.id;return(0,i.jsx)(d.Jb,{variantId:y.variants.nodes[0].id,attributes:k,showCountSelection:r&&w&&!S,maxCountSelection:v<20?v:20,onProductAdded:(e,t)=>{if(window.dataLayer||(window.dataLayer=[]),window.location.search?.indexOf("utm_source=sps")!==-1&&(p("Shop",{aktion:"Einkaufswagen",linkText:"Weitere Produkte Slider"}),h("Shop","Weitere Produkte Slider","Einkaufswagen")),window.dataLayer.push({event:"addToCart",product:y}),void 0!==window.fbq&&window.fbq("track","AddToCart",{content_ids:[y.variants?.nodes[0]?.sku],content_type:"product",value:parseFloat(y.variants?.nodes[0]?.priceV2?.amount)||null,currency:"EUR"}),l){let e=new URL(t.checkoutUrl);if("function"==typeof window.upTag){let t=window.upTag("app","linker");t&&e.searchParams.set("_upl",t)}window.location.href=e.toString()}},buttonLabels:{default:t||"In den Warenkorb",disabled:"Nicht verf\xfcgbar"},disabled:S,classNameButton:n()({"bg-skin-shop-link text-white min-h-11 px-[0.9em] py-[0.4em] w-full text-center block font-sans font-medium transition-all duration-300 ease-in-out !no-underline px-4 py-2 text-lg md:hover:bg-opacity-90":!0,"min-h-11 bg-black text-white opacity-30 curs
1or-not-allowed":S}),classNameContainer:n()("flex",{"rounded-md overflow-hidden border-0 border-skin-shop-link ":b}),classNameCountSelection:n()("w-auto",{"border-0 text-skin-shop-link":!0})})}},51459:(e,t,l)=>{l.d(t,{g:()=>s});var i=l(6029),a=l(55729),r=l(75828),n=l.n(r);let s=({children:e,priceType:t="",priceSize:l,priceStyle:a,textPosition:r="",isFreeDownload:s})=>(0,i.jsxs)(d,{children:[(0,i.jsx)("span",{className:n()({"text-black":!t||"badgeInverted"===t,"text-skin-primary-ultralight ":"defaultInverted"===t||"badge"===t,"text-red-600":"discount"===t,"bg-skin-primary-ultradark px-[0.65em] py-[0.2em]":"badge"===t,"bg-skin-primary-ultralight px-[0.65em] py-[0.2em]":"badgeInverted"===t,"text-gray-500 relative after:block after:h-[1px] after:w-full after:absolute after:top-1/2 after:-translate-y-1/2 after:bg-gray-700 after:-rotate-12":"old"===t,"text-xs":"xs"===l,"text-sm":"sm"===l,"text-md":"md"===l,"text-lg":"lg"===l,"text-xl":"xl"===l,"text-2xl md:text-3xl":"2xl"===l,"text-3xl md:text-5xl":"3xl"===l,"font-serif font-bold leading-snug md:leading-snug":"headline"===a,"line-through":globalThis?.window?.isRetailer||s,"ml-auto":"right"===r}),children:e}),globalThis?.window?.isRetailer&&(0,i.jsx)("span",{className:n()({"text-black text-xs pl-2":!0}),children:"*ist Listenpreis"}),!globalThis?.window?.isRetailer&&s&&(0,i.jsx)("span",{className:n()({"text-black text-xs pl-2":!0}),children:"*als Abonnent(in)"})]}),d=({textPosition:e,children:t})=>globalThis?.window?.isRetailer&&"right"===e?(0,i.jsx)("div",{children:t}):(0,i.jsx)(a.Fragment,{children:t})},98769:(e,t,l)=>{l.d(t,{d:()=>n});var i=l(6029);l(55729);var a=l(75828),r=l.n(a);let n=({itemGap:e,entries:t,children:l,className:a,fixedHeight:n})=>(0,i.jsx)("div",{className:r()({"block relative mb-8 z-10 mx-auto max-w-screen-xl md:w-2/3 border border-solid border-skin-primary-ultralight":!0}),children:(0,i.jsx)("div",{className:r()({"px-2 py-2":!0,"md:px-0 md:py-0":"none"===e,"md:px-2 md:py-2":"small"===e,"md:px-4 md:py-4":"medium"===e||!e,"md:px-6 md:py-6":"big"===e,"h-full lg:h-auto":n},a),children:(0,i.jsx)("div",{className:r()({"grid grid-cols-1":!0,"md:grid-cols-1":1===t,"md:grid-cols-2":2===t,"md:grid-cols-3":t>2,"gap-0":"none"===e,"gap-2":"small"===e,"gap-4":"medium"===e||!e,"gap-6":"big"===e,"h-full overflow-hidden lg:h-auto lg:overflow-visible":n}),children:l})})})}}]);
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.