PageSourceSearch

https://www.7hauben.com/_next/static/chunks/3626-456b52908d8ac437.js

js 7hauben.com collected 2026-10-06 00:31:06 UTC 17,308 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3626,2372],{8217:function(e,t,s){s.d(t,{Qd:function(){return o},UQ:function(){return c},o4:function(){return h},vF:function(){return d}});var l=s(97758),a=s(80665),r=s(6647),i=s(10564),n=s(89750);let c=r.fC,o=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,l.jsx)(r.ck,{ref:t,className:(0,n.cn)("border-b",s),...a})});o.displayName="AccordionItem";let h=a.forwardRef((e,t)=>{let{className:s,children:a,...c}=e;return(0,l.jsx)(r.h4,{className:"flex",children:(0,l.jsxs)(r.xz,{ref:t,className:(0,n.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180 m-0",s),...c,children:[a,(0,l.jsx)(i.v4q,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});h.displayName=r.xz.displayName;let d=a.forwardRef((e,t)=>{let{className:s,children:a,...i}=e;return(0,l.jsx)(r.VY,{ref:t,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...i,children:(0,l.jsx)("div",{className:(0,n.cn)("pb-4 pt-0",s),children:a})})});d.displayName=r.VY.displayName},63784:function(e,t,s){s.d(t,{ZB:function(){return c},pX:function(){return n}});let l={title:"Ein Pass. Alle Kurse.",description:"Mit dem 7hauben Pass bekommst du Zugriff auf alle Kurse – auch auf jene, die neu dazukommen."},a=e=>"string"==typeof e&&""!==e.trim()?e:null,r=e=>{var t;return e&&"object"==typeof e&&("reference"===e.type&&e.reference&&("object"!=typeof e.reference||e.reference.value)||"custom"===e.type&&a(e.url)||"functional"===e.type&&a(e.functionType))?{...e,label:null!==(t=a(e.label))&&void 0!==t?t:"Jetzt loslegen"}:null},i=e=>e&&"object"==typeof e?e:null;function n(e,t){var s,n,c,o,h,d,m,x,u,p,f,g;return{title:null!==(n=null!==(s=a(e.title))&&void 0!==s?s:null==t?void 0:t.title)&&void 0!==n?n:l.title,description:null!==(o=null!==(c=a(e.description))&&void 0!==c?c:null==t?void 0:t.description)&&void 0!==o?o:l.description,link:null!==(d=null!==(h=r(e.link))&&void 0!==h?h:null==t?void 0:t.link)&&void 0!==d?d:null,image:null!==(x=null!==(m=i(e.image))&&void 0!==m?m:null==t?void 0:t.image)&&void 0!==x?x:null,footnote:null!==(p=null!==(u=a(e.footnote))&&void 0!==u?u:null==t?void 0:t.footnote)&&void 0!==p?p:null,textBelowButton:null!==(g=null!==(f=a(e.textBelowButton))&&void 0!==f?f:null==t?void 0:t.textBelowButton)&&void 0!==g?g:null}}function c(e){return"boolean"==typeof e.showAboBox?e.showAboBox:null!==a(e.aboBoxTitle)}},72637:function(e,t,s){var l=s(97758);s(80665);var a=s(23494),r=s(55738),i=s(30756),n=s(13462);t.Z=e=>{let{courses:t,fullWidth:s,startedCourses:c=null,showPrice:o=!1,linkCategories:h=!1,showMoreButton:d=!1,showMore:m=null,buy:x=!1}=e,u=(0,r.Z)(e=>e.currentUserOverview);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"grid flex-1 gap-8 md:grid-cols-2 ".concat(s?"lg:grid-cols-3":""),children:[t.map((e,t)=>(0,l.jsx)(a.Z,{course:e,started:c&&c.find(t=>t.id===e.id),showPrice:o,linkCategories:h,buy:x},e.id)),!(null==u?void 0:u.abo)&&(0,l.jsx)("div",{className:"col-start-1 row-start-2 md:col-span-2 md:row-start-2",children:(0,l.jsx)(i.Z,{className:"h-full [&>div]:h-full"})})]}),d&&(0,l.jsx)("div",{className:"text-center pt-2.5 w-full flex justify-center",children:(0,l.jsx)(n.Z,{variant:"outline",onClick:m,children:"Mehr Kurse anzeigen"})})]})}},86252:function(e,t,s){s.d(t,{B5:function(){return i},G9:function(){return l},IQ:function(){return r},aT:function(){return a}});let l="bg-lobster-01-main text-white overflow-hidden text-left [&_h3]:!text-dark-01-main",a="rounded-tr-[4px] !h-[150px] absolute right-4 top-0 max-[575px]:!h-[100px] min-[1600px]:!h-[175px]",r="rounded-tr-[10px] !h-[170px] absolute right-0 top-0 max-[575px]:!h-[100px]",i="px-[200px] pt-10 pb-3 text-2xl font-reco bg-dark absolute right-0 top-0 [transform:rotate(45deg)_translate(50%)] origin-top-right [&_span]:font-reco"},52372:function(e,t,s){var l=s(97758),a=s(2154),r=s.n(a),i=s(13462),n=s(80665),c=s(97834),o=s(75361),h=s(86446),d=s(94652),m=s(13930),x=s(7042),u=s(62897),p=s(94565),f=s(16453),g=s(43695),j=s(97139),v=s(93285),N=s(40444),w=s(83127),b=s(12383),k=s(95723),y=s(22871);t.Z=e=>{var t,s;let{style:a="light",className:B=""}
1=e,[Z,z]=(0,n.useState)(!1),[_,H]=(0,n.useState)(!1),T=(0,n.useContext)(c.V),C=(0,y.Z)(),L=()=>{H(!1),z(!1)},M=(0,k.useRouter)();return(0,n.useEffect)(()=>{let e=()=>{L()};return M.events.on("routeChangeStart",e),()=>{M.events.off("routeChangeStart",e)}},[]),(0,n.useEffect)(()=>{if(!window)return;let e=e=>{if(e.path){for(let t of null==e?void 0:e.path)if("menu"===t.id)return;z(!1),H(!1)}};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},[]),(0,l.jsxs)("div",{className:"px-2 lg:px-4 py-2 md:py-6 xl:py-12 "+B+" "+o.v9+" "+("dark"===a?o.y9:""),id:"menu",children:[(0,l.jsxs)("div",{className:o.HZ+" h-full",children:[(0,l.jsx)("div",{className:o.Z_,children:(0,l.jsx)(r(),{href:"/",className:"mr-0 sm:mr-4 xl:mr-12 self-center","aria-label":"zur Startseite",children:"dark"===a?(0,l.jsx)(d.Z,{}):(0,l.jsx)(m.Z,{})})}),(0,l.jsxs)("ul",{className:"h-full max-[840px]:!hidden",children:[(0,l.jsx)("li",{className:"select-none flex items-center",children:(0,l.jsx)(r(),{href:"/kochkurse",passHref:!0,children:"Kochkurse"})}),(0,l.jsx)("li",{className:"select-none flex sm:hidden lg:flex items-center",children:(0,l.jsx)(r(),{href:"/playlists",passHref:!0,className:o.HM,children:"Playlists"})}),(0,l.jsxs)("li",{className:"select-none relative flex items-center",onClick:e=>{z(!Z),H(!1)},children:[(0,l.jsx)("span",{children:"Mehr"}),(0,l.jsx)(u.Z,{className:"ml-1 w-6 h-6 "+("dark"!==a&&"svg-light")}),Z&&(0,l.jsx)("div",{className:o.TJ+" "+o.mK,children:(0,l.jsxs)("ul",{children:[(0,l.jsx)(r(),{href:"/rezepte",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/rezepte"===M.pathname?o.rs:"",children:"Rezepte"})}),(0,l.jsx)(r(),{href:"/gutscheine",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/gutscheine"===M.pathname?o.rs:"",children:"Gutscheine"})}),(0,l.jsx)(r(),{href:"/experten",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/experten"===M.pathname?o.rs:"",children:"Experten"})}),(0,l.jsx)(r(),{href:"/preise",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/preise"===M.pathname?o.rs:"",children:"Preise"})}),(0,l.jsx)(r(),{href:"/blog",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/blog"===M.pathname?o.rs:"",children:"Blog"})}),(0,l.jsx)(r(),{href:"/faq",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:M.asPath.startsWith("/faq")?o.rs:"",children:"Fragen & Antworten"})}),(0,l.jsx)(r(),{href:"/kooperationen",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/kooperationen"===M.pathname?o.rs:"",children:"Kooperationen"})})]})})]})]})]}),(0,l.jsx)("div",{className:o.Rp,children:(0,l.jsx)(r(),{href:"/","aria-label":"zur Startseite",children:(0,l.jsx)(h.Z,{})})}),(0,l.jsx)("div",{className:"/suche"===M.pathname?"hidden":o._K+" cursor-pointer",children:(0,l.jsx)(r(),{href:"/suche",className:"flex items-center p-2 lg:p-0","aria-label":"zur Suche",children:(0,l.jsx)(N.Z,{className:("light"===a?"svg-light":"")+" mr-4 lg:mr-6 w-[24px] lg:w-[32px]"})})}),(0,l.jsx)("div",{className:("light"===a?"text-white ":"text-dark-01-main ")+o.WY+" select-none",onClick:()=>{T.setShowMobileOverlay(!0)},children:"Men\xfc"}),(null==T?void 0:T.isLoggedIn)&&(0,l.jsx)("div",{className:o.gL,onClick:e=>{H(!_),z(!1)},children:(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)(i.Z,{className:"relative",variant:"solid-dark",size:"small",children:[(0,l.jsx)(x.Z,{className:"svg-light w-6 h-6"}),"Mein Profil"]}),_&&(0,l.jsx)("div",{className:o.TJ+" "+o.mK,children:(0,l.jsxs)("ul",{children:[(0,l.jsx)(r(),{href:"/kochkurse",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/profil/kurse"===M.pathname?o.rs:"",children:(0,l.jsxs)("a",{className:"flex items-center",children:[(0,l.jsx)(p.Z,{className:"svg-light w-6 h-6"}),"Meine Kurse"]})})}),(0,l.jsx)(r(),{href:"/profil/rezepte",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/profil/rezepte"===M.pathname?o.rs:"",children:(0,l.jsxs)("a",{className:"flex items-center",children:[(0,l.jsx)(f.Z,{className:"svg-light w-6 h-6"}),"Meine Rezepte"]})})}),(0,l.jsx)(r(),{href:"/profil/gutscheine",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/profil/gutscheine"===M.pathname?o.rs:"",children:(0,l.jsxs)("a",{className:"flex items-center",children:[(0,l.jsx)(g.Z,{className:"svg-light w-6 h-6"}),"Meine Gutscheine"]})})}),(0,l.jsx)(r(),{href:"/profil/mein-account",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/profil/mein-account"===M.pathname?o.rs:"",children:(0,l.jsxs)("a",{className:"flex items-center",children:[(0,l.jsx)(x.Z,{className:"svg-light w-6 h-6"}),"Mein Account"]})})}),(0,l.jsx)(r(),{href:"/profil/vorteile",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/profil/vorteile"===M.pathname?o.rs:"",children:(0,l.jsxs)("a",{className:"flex items-center",children:[(0,l.jsx)(v.Z,{className:"svg-light w-6 h-6"}),"Meine Vorteile"]})})}),C&&(0,l.jsx)(r(),{href:"/profil/weiterempfehlung",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/profil/weiterempfehlung"===M.pathname?o.rs:"",children:(0,l.jsxs)("a",{className:"flex items-center",children:[(0,l.jsx)(w.Z,{className:"svg-light w-6 h-6"}),"Weiterempfehlung"]})})}),(null==T?void 0:null===(s=T.currentUserOverview)||void 0===s?void 0:null===(t=s.current)||void 0===t?void 0:t.isAffiliate)&&(0,l.jsx)(r(),{href:"/profil/affiliate",passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("li",{className:"/profil/affiliate"===M.pathname?o.rs:"",children:(0,l.jsxs)("a",{className:"flex items-center",children:[(0,l.jsx)(b.Z,{className:"svg-light w-6 h-6"}),"Affiliate"]})})}),(0,l.jsx)("li",{onClick:()=>{T.logout(),L()},children:(0,l.jsxs)("a",{className:"flex items-center",children:[(0,l.jsx)(j.Z,{className:"svg-light w-6 h-6"}),"Logout"]})})]})})]})}),!(null==T?void 0:T.isLoggedIn)&&(0,l.jsx)("div",{className:o.gL,children:(0,l.jsxs)(i.Z,{variant:"solid-dark",size:"small",onClick:()=>T.handleLogin(!0),children:[(0,l.jsx)(x.Z,{className:"svg-light w-6 h-6"}),"Login"]})})]})}},30756:function(e,t,s){var l=s(97758),a=s(86252),r=s(30507),i=s(20986),n=s(13462),c=s(80665),o=s(97834),h=s(13105),d=s(93029),m=s(91175),x=s(37365),u=s(48809),p=s(95723),f=s(41578),g=s(54161),j=s(60758),v=s(1545),N=s(63784);t.Z=e=>{let{className:t=null,showImage:s=!0,title:w,description:b,customImage:k,aboBoxLink:y,footnote:
1B,textBelowButton:Z}=e,z=(0,c.useContext)(o.V),_=(0,x.rH)(),H=m.Z,T=(0,d.Z)(e=>{var t;return null===(t=e.aboBasic)||void 0===t?void 0:t.price}),C=H.calculatePriceForProduct(null==_?void 0:_.aboBasic,0,z.isGiftcard.current),L=(0,N.pX)({title:w,description:b,link:y,footnote:B,textBelowButton:Z},(0,v.D)()),M=Math.round((T-(null==C?void 0:C.totalPrice))/T*100),P=(0,u.Z)(e=>e.overridePrice),A=(0,u.Z)(e=>e.stripeLink),D=(0,u.Z)(e=>e.promoBoxTitle),F=(0,u.Z)(e=>e.promoBoxDescription),E=(0,u.Z)(e=>e.promoBoxDiscount),S=(0,u.Z)(e=>e.promoBoxPrice),G=(0,u.Z)(e=>e.promoBoxPriceBefore),K=(0,u.Z)(e=>e.isPreSale),Q=(0,u.Z)(e=>e.preSaleDate),R=(0,p.useRouter)(),U=()=>{R.push(A)},I=R.pathname.includes("/lp/"),V=Math.floor((new Date(Q).getTime()-new Date().getTime())/864e5),J=e=>new Date(e).toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric"}),q=()=>{P?U():z.handlePassBuy()},O=K&&!isNaN(new Date(Q).getTime())&&I,W=w||(P?D:L.title),Y=b||(P?F:L.description),X=null!=k?k:L.image?(0,l.jsx)(j.N,{media:L.image,fit:"contain"}):null;return(0,l.jsxs)("div",{className:"".concat(t," relative ").concat(K?"":"cursor-pointer"," overflow-hidden rounded-[10px] max-w-[1000px] shadow"),onClick:()=>q(),children:[(0,l.jsxs)("div",{className:"".concat(a.G9," grid grid-cols-12 items-center p-10 rounded-[10px]"),children:[O?(0,l.jsxs)("div",{className:"".concat(a.B5," right-0 top-0 z-10 text-center !text-sm !leading-[1.2rem] md:!text-[1.2rem] md:!leading-[1.5rem]"),children:["Start",(0,l.jsx)("br",{}),"in ",V," Tag",1===V?"":"en"]}):M>0?(0,l.jsx)("div",{className:"".concat(a.B5," right-0 top-0 z-10 text-center"),children:P?(0,l.jsx)("span",{className:"text-2xl",children:E}):(0,l.jsxs)("span",{className:"text-3xl",children:["-",M,"%"]})}):(0,l.jsx)(r.Z,{url:"https://7h-strapi.s3.eu-central-1.amazonaws.com/83_user_pass_994318a768.png",className:"".concat(a.IQ," right-0 top-0 z-10")}),(0,l.jsxs)("div",{className:"hidden lg:block col-span-12 ".concat(s?"lg:col-span-7":""," px-0 pr-0 xl:pr-1 text-center"),children:[(0,l.jsx)("h3",{dangerouslySetInnerHTML:{__html:W}}),(0,l.jsx)("p",{className:"text-white mt-2 max-w-card mx-auto",children:Y}),O?(0,l.jsxs)("div",{className:"text-left text-2xl font-bold mt-5",children:["Aktion g\xfcltig ab ",J(Q)]}):(0,l.jsxs)("div",{className:"flex flex-col justify-items-center items-center pr-12 xl:pr-0",children:[P?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("span",{className:"text-center line-through mt-4",children:["statt ",(0,f.Q)(G)]}),(0,l.jsx)("h5",{className:"text-white text-center",children:(0,f.Q)(S)})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(h.Z,{className:"mt-6",mode:"year"}),(0,l.jsxs)("h4",{className:"text-white h5",children:["ab ",(0,l.jsx)(i.Z,{mode:"year",className:"h5"})]})]}),L.link?(0,l.jsx)("div",{className:"mt-6 mb-2",children:(0,l.jsx)(g.F4,{...L.link,className:"".concat((0,g.CV)(L.link.appearance)," !m-0"),style:{color:"white"}})}):(0,l.jsx)(n.Z,{className:"mt-6 mb-2",variant:"dark",size:"small",children:(0,l.jsx)("span",{className:"text-white",children:"Jetzt loslegen"})}),L.textBelowButton&&(0,l.jsx)("p",{className:"text-white small-text",children:L.textBelowButton}),!L.textBelowButton&&!(null==C?void 0:C.voucherTag)&&(0,l.jsx)("p",{className:"text-white small-text",children:"14 Tage Geld-zur\xfcck-Garantie"})]})]}),(0,l.jsxs)("div",{className:"block lg:hidden col-span-12 text-center",children:[(0,l.jsx)("h3",{dangerouslySetInnerHTML:{__html:W}}),(0,l.jsx)("p",{className:"text-white mt-2 max-w-card mx-auto",children:Y}),O&&(0,l.jsxs)("div",{className:"text-center text-2xl font-bold mt-5",children:["Aktion g\xfcltig ab ",J(Q)]}),!O&&(0,l.jsxs)("div",{className:"flex flex-col justify-items-center items-center",children:[P?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("span",{className:"text-center line-through mt-4",children:["statt ",(0,f.Q)(G)]}),(0,l.jsx)("h5",{className:"text-white text-center",children:(0,f.Q)(S)})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(h.Z,{className:"mt-6",mode:"year"}),(0,l.jsxs)("h5",{className:"text-white",children:["ab ",(0,l.jsx)(i.Z,{mode:"year",className:"h5"})]})]}),L.link?(0,l.jsx)("div",{className:"mt-6 mb-2 mx-auto",children:(0,l.jsx)(g.F4,{...L.link,className:"".concat((0,g.CV)(L.link.appearance)," !m-0"),style:{color:"white"}})}):(0,l.jsx)(n.Z,{className:"mt-6 mb-2 mx-auto",variant:"dark",size:"small",children:(0,l.jsx)("span",{className:"text-white",children:"Jetzt loslegen"})}),L.textBelowButton&&(0,l.jsx)("p",{className:"text-white small-text",children:L.textBelowButton}),!L.textBelowButton&&(0,l.jsx)("p",{className:"text-white small-text",children:"14 Tage Geld-zur\xfcck-Garantie"})]})]}),s&&(0,l.jsx)("div",{className:" hidden lg:block col-span-12 lg:col-span-5 px-0 lg:pr-6 xl:pl-12",children:null!=X?X:(0,l.jsx)(r.Z,{url:"https://7h-strapi.s3.eu-central-1.amazonaws.com/mockup_pass_4505b57f72.png"})})]}),L.footnote&&(0,l.jsx)("p",{className:"text-center text-xs text-white/60 mt-2 px-4",children:L.footnote})]})}},22138:function(e,t,s){s.d(t,{Z:function(){return n}});var l=s(97758);s(80665);let a={primary:"bg-lobster-01-main [--highlight-color:theme(colors.dark.01-main)]",dar
1k:"bg-dark-01-main text-white [--highlight-color:theme(colors.lobster.DEFAULT)]","dark-00":"bg-dark text-white [--highlight-color:theme(colors.lobster.DEFAULT)]","cream-01":"bg-cream text-dark-01-main [--highlight-color:theme(colors.lobster.DEFAULT)]","cream-02":"bg-cream-01 text-dark-01-main [--highlight-color:theme(colors.lobster.DEFAULT)]",sepia:"bg-cream-02",transparent:"bg-transparent [--highlight-color:theme(colors.lobster.DEFAULT)]"},r={both:"py-20 min-[1200px]:py-28","both-small":"py-8","both-large":"py-40",tb:"pt-40 pb-16",top:"!pb-0 pt-20 min-[1200px]:pt-28",bottom:"!pt-0 pb-20 min-[1200px]:pb-28",none:"!py-0"},i={left:"text-left",center:"text-center",right:"text-right"};var n=e=>{let{ypadding:t="both",variant:s="transparent",className:n="",children:c,id:o="",textAlign:h="left"}=e,d=["w-full",a[s]||"",r[t]||"",i[h]||"","primary"===s?"[&_h1]:!text-dark-01-main [&_h2]:!text-dark-01-main [&_h3]:!text-dark-01-main [&_h4]:!text-dark-01-main [&_h5]:!text-dark-01-main [&_h6]:!text-dark-01-main [&_p]:!text-white":"",n].filter(Boolean).join(" ");return(0,l.jsx)("section",{className:d,id:o,children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("div",{className:"bs-row mx-auto [&>*:not([class*='col-span-'])]:col-span-12 [&>svg:not([class*='col-span-'])]:block",children:c})})})}},43442:function(e,t,s){s.d(t,{h:function(){return l}});let l=(0,s(66741).ZP)(()=>s.e(6371).then(s.bind(s,76371)),{resolveComponent:e=>e.default})}}]);

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.