PageSourceSearch

https://entrepreneurship.de/_next/static/chunks/pages/ep-72de61286e28f582.js

js entrepreneurship.de collected 2026-10-02 08:40:45 UTC 11,808 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[791],{81766:function(e,l,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ep",function(){return s(54557)}])},81123:function(e,l,s){"use strict";s.d(l,{Z:function(){return f}});var t=s(85893),r=s(10593),n=s(42723),a=s(87536),i=s(94184),x=s.n(i),c=s(19427),d=s(9415),o=s(67294),p=s(20146),m=s(73106),u=s(11163),g=s(45504),h=s(28192);function f(){let{t:e}=(0,r.$G)([p.J.common,p.J.glossary]),{toast:l}=(0,d.p)(),{push:s,locale:i,query:{"newsleter-subscription-confirmed":f}}=(0,u.useRouter)(),{handleSubmit:b,register:j,reset:N,formState:{errors:w},getValues:v}=(0,a.cI)(),[y,_]=(0,o.useState)(""),[k,q]=(0,o.useState)(!1),[S,J]=(0,o.useState)(!1),[E,Z]=(0,o.useState)(i),[C,T]=(0,o.useState)(10),[z,A]=(0,o.useState)(!1),{loading:P,fetch:I}=(0,c.uV)({path:"/settings/newsletter/subscribe",onSuccess:s=>{let{exception:t,status:r}=s;if(t)l({status:"error",title:e("something-went-wrong",{ns:p.J.glossary})});else if("contact-exists"===r){let s=e("newsletter-email-exists",{ns:p.J.glossary});l({title:s,status:"info"}),_(s)}else{let s=e("newsletter-email-subscribed-mail-sent",{ns:p.J.glossary});l({title:s}),_(s),N()}["opt-in-email-sent","contact-exists"].includes(r)&&(q(!1),J(!0))}}),O=()=>{let{email:e}=v();I({email:e,language:E})},D=()=>{s("/",null,{locale:i}),A(!1)};return(0,o.useEffect)(()=>{if(!f||!C)return;A(!0);let e=setInterval(()=>{C-1==0&&(clearInterval(e),D()),T(C-1)},1e3);return()=>clearInterval(e)},[f,C]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("form",{onSubmit:b(()=>{q(!0)}),children:(0,t.jsx)("div",{className:"pb-10 lg:pb-14 xl:pb-16 2xl:pb-90px",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"bg-ec-green-100 rounded-lg xl:rounded-normal p-5 lg:p-7 xl:p-9 2xl:p-50px",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center justify-between gap-5 xl:gap-7",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-bold text-ec-green-900 mb-3 xl:mb-4 2xl:mb-[19px] text-2xl lg:text-3xl xl:text-4xl 2xl:text-[45px]",children:e("newsletter-box-title",{ns:p.J.glossary})}),(0,t.jsx)("p",{className:"leading-[1.263] text-base lg:text-[17px] 2xl:text-[19px]",dangerouslySetInnerHTML:{__html:e("newsletter-box-description",{ns:p.J.glossary})}})]}),(0,t.jsxs)("div",{className:"relative w-full md:max-w-[400px] 2xl:max-w-[490px]",children:[S?(0,t.jsxs)("div",{className:"bg-white h-[58px] lg:h-[72px] 2xl:h-[82px] rounded-md xl:rounded-normal flex items-center gap-3 px-4 xl:px-6 2xl:px-30px",children:[(0,t.jsx)(h.Z,{name:"envelope-2",className:"fill-ec-green-200 square-8 xl:square-10 2xl:square-11"}),(0,t.jsx)("p",{className:"text-ec-green-900 font-medium",children:y})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"email",placeholder:e("enter-your-email"),className:x()("bg-white placeholder:text-ec-gray-700 w-full outline-none h-[58px] lg:h-[72px] 2xl:h-[82px] rounded-md xl:rounded-normal text-md lg:text-base xl:text-[17px] pr-[120px] pl-4 xl:pr-[160px] xl:pl-6 2xl:pl-30px border-[2px] border-transparent transition-all duration-200",{"!border-red-600":w.email}),...j("email",{required:!0,pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i}})}),(0,t.jsx)(n.Z,{theme:"green",size:"big",className:"absolute z-2 top-2 right-2 2xl:right-10px 2xl:top-10px lg:min-w-[130px] 2xl:min-w-[140px]",children:e("subscribe")})]}),S&&(0,t.jsx)("p",{className:"mt-3 mb-0 text-sm font-medium text-ec-green-900 animate-fade-in",children:e("newsletter-email-subscribed-text",{ns:p.J.glossary})})]})]})})})})}),k&&(0,t.jsxs)(m.ZP,{title:"Confirm your newsletter subscription!",onClose:()=>q(!1),children:[(0,t.jsxs)(m.fe,{children:[(0,t.jsx)("p",{className:"text-md mb-4 text-ec-green-900",children:e("newsletter-explainer-lang-text",{ns:p.J.glossary})}),(0,t.jsx)("div",{className:"flex flex-col gap-4",children:["de","en"].map((l,s)=>(0,t.jsx)(g.Z,{value:l,checked:E===l,onChange:e=>Z(e.target.value),className:"!items-start gap-1",label:(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:"font-medium",children:e("locales.".concat(l))}),(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-xs text-ec-gray-900",children:e("newsletter-explainer",{context:l,ns:p.J.glossary})})]})},s))})]}),(0,t.jsx)(m.mz,{children:(0,t.jsx)(n.Z,{type:"button",theme:"green",loading:P,onClick:()=>O(),className:"!font-medium",children:e("subscribe-confirm")})})]}),z&&(0,t.jsx)(m.ZP,{onClose:()=>D(),children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h2",{className:"font-medium text-xl xl:text-2xl 2xl:text-3xl mb-4 xl:mb-5 2xl:mb-6",children:e("newsletter-confirmation-title",{ns:p.J.glossary})}),(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(n.Z,{theme:"green",onClick:()=>D(),children:e("close-newsletter-modal",{ns:p.J.glossary})})}),!!C&&(0,t.jsx)("p",{className:"text-xxs pt-3 italic",children:e("closing-in",{seconds:C,ns:p.J.glossary})})]})})]})}},45504:function(e,l,s){"use strict";var t=s(85893),r=s(94184),n=s.n(r),a=s(67294);
1s(28192);let i=(0,a.forwardRef)(function(e,l){let{label:s="",children:r,hasError:a=!1,className:i="",...x}=e;return(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{ref:l,className:n()("flex items-center cursor-pointer",i),children:[(0,t.jsx)("input",{type:"radio",...x,className:"peer pointer-events-none absolute opacity-0"}),(0,t.jsx)("span",{className:n()("\n            shrink-0\n            rounded-full border-2 border-[#DEDEDE] square-5 lg:square-[22px] xl:square-6 2xl:square-[26px] flex items-center justify-center transition duration-200\n            after:scale-[0.6] after:opacity-0 after:transition after:duration-150\n            after:square-2 lg:after:square-10px xl:after:square-3 2xl:after:square-[14px]\n            after:rounded-full after:bg-ec-green-200\n            peer-checked:border-ec-green-200\n            peer-checked:after:opacity-100 peer-checked:after:scale-100\n          ",{"!border-red-600":a})}),(0,t.jsx)("p",{className:"ml-5px text-xs lg:text-sm xl:text-md",children:s})]}),r]})});l.Z=i},19427:function(e,l,s){"use strict";s.d(l,{XD:function(){return i},uV:function(){return x}});var t=s(67294),r=s(83454);let n="".concat(r.env.NEXT_API_ROOT||"https://cms.entrepreneurship.de/api/v1");function a(e){let{path:l,method:s,data:r,start:a,authToken:i=null,returnPromise:x=!1,onSuccess:c=()=>{},onError:d=()=>{},onBefore:o=()=>{}}=e,[p,m]=(0,t.useState)({}),[u,g]=(0,t.useState)(!1),[h,f]=(0,t.useState)(-1),[b,j]=(0,t.useState)(!1),N={Accept:"application/json","Content-Type":"application/json"};i&&(N.Authorization="Bearer ".concat(i));let w=(0,t.useCallback)(async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0;if(u)return;g(!0),o();let i=e||r;a&&(N.Authorization="Bearer ".concat(a));let p=await fetch("".concat(n).concat(t||l),{method:s,headers:N,body:["GET","HEAD"].includes(s)?void 0:JSON.stringify(void 0===i?{}:i)});if(f(p.status),j(p.ok),x)return new Promise(async e=>{try{if(p.ok){let l=await p.json();c(l,i),e({data:l})}else e({error:!0})}catch(l){e({error:!0})}g(!1)});try{let e=await p.json();m(e),c&&c(e,i,p.headers)}catch(e){m({}),d(e)}g(!1)},[l,r,u,h,i,c]);return(0,t.useEffect)(()=>{a&&w()},[w,a]),{result:p,loading:u,refresh:()=>{w()},fetch:w,statusCode:h,responseOk:b}}let i=e=>{let{path:l,start:s,authToken:t,onSuccess:r,onError:n}=e;return a({path:l,method:"GET",authToken:t,start:s,onSuccess:r,onError:n})},x=e=>{let{path:l,method:s="POST",start:t,data:r,authToken:n,returnPromise:i,onSuccess:x,onError:c,onBefore:d}=e,o=a({path:l,method:s,start:t,data:r,authToken:n,returnPromise:i,onSuccess:x,onError:c,onBefore:d});return o}},54557:function(e,l,s){"use strict";s.r(l),s.d(l,{__N_SSP:function(){return h},default:function(){return f}});var t=s(85893),r=s(9008),n=s.n(r),a=s(41664),i=s.n(a),x=s(25675),c=s.n(x),d=s(81123),o=s(10593),p=s(20146),m=s(11163),u=s(42723),g=s(28192),h=!0;function f(){let{locale:e}=(0,m.useRouter)(),{t:l}=(0,o.$G)([p.J.common,p.J.peer_learning]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n(),{children:(0,t.jsx)("title",{children:"".concat(l("page-titles.ep")," - Stiftung Entrepreneurship")})}),(0,t.jsx)("section",{className:"bg-[#01151C] text-white mb-9 lg:mb-12 xl:mb-60px",children:(0,t.jsx)("div",{className:"bg-[url('/images/pl-hero-bg.jpg')] bg-cover bg-bottom",children:(0,t.jsx)("div",{className:"bg-[#01151C]/50",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"grid md:grid-cols-12 gap-11 md:gap-5 items-center p-[98px_0_58px_0] lg:p-[124px_0_64px_0] xl:p-[162px_0_80px_0] 2xl:p-[188px_0_92px_0] min-h-[80vh]",children:[(0,t.jsx)("div",{className:"md:col-span-5",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"font-bold text-2xl lg:text-4xl xl:text-5xl !leading-tight mb-4",children:l("intro-heading",{ns:p.J.peer_learning})}),(0,t.jsx)("p",{className:"mb-4",dangerouslySetInnerHTML:{__html:l("intro-text",{ns:p.J.peer_learning})}}),(0,t.jsx)(i(),{locale:e,href:"/ep/register",children:(0,t.jsx)(u.Z,{theme:"green",size:"big",className:"!font-semibold text-black xl:min-w-[137px]",children:l("intro-button",{ns:p.J.peer_learning})})})]})}),(0,t.jsx)("div",{className:"md:col-span-7",children:(0,t.jsx)("div",{className:"md:max-w-[630px] md:ml-auto",children:(0,t.jsxs)("div",{className:"grid grid-cols-[1fr_1fr] sm:grid-cols-[275px_1fr] gap-4 md:gap-5 xl:gap-25px relative items-start",children:[(0,t.jsx)("span",{className:"block w-[64%] md:w-[49%] border-dashed border-2 border-ec-green-200 absolute h-40 left-1/2 -translate-x-1/2 -translate-y-30px md:-translate-y-60px border-b-0 rounded-normal"}),(0,t.jsxs)("div",{className:"grid gap-4 md:gap-5 xl:gap-25px",children:[(0,t.jsx)("div",{className:"",children:(0,t.jsx)("figure",{className:"w-full relative z-2 overflow-hidden rounded-md xl:rounded-normal",children:(0,t.jsx)(c(),{src:"/images/pl-hero-artwork-3.jpg",alt:"",width:275,height:252,className:"block w-full h-auto"})})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("span",{className:"absolute rounded-full bg-ec-yellow-500 hidden lg:!block square-44 xl:square-[206px] top-0 left-0 lg:-translate-x-[42px] lg:-translate-y-[44px] xl:-translate-x-[66px] xl:-translate-y-[68px]"}),(0,t.jsx)("figure",{className:"w-full relative z-2 overflow-hidden rounded-md xl:rounded-normal border-2 xl:border-[3px] border-ec-green-200",children:(0,t.jsx)(c(),{src:"/images/ep-hero-artwork-1.jpg",alt:"",width:275,height:239,className:"block w-full h-auto"})})]})]}),(0,t.jsxs)("div",{className:"grid gap-4 md:gap-5 xl:gap-25px pt-10 xl:pt-11",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("span",{className:"absolute rounded-full bg-ec-green-100/10 lg:square-[275px] xl:square-[350px] hidden lg:block top-0 right-0 lg:translate-x-[42px] lg:-translate-y-[70px] xl:translate-x-[62px] xl:-translate-y-[94px]"}),(0,t.jsx)("figure",{className:"w-full relative z-2 overflow-hidden rounded-md xl:rounded-normal",children:(0,t.jsx)(c(),{src:"/images/pl-hero-artwork-1.jpg",alt:"",width:330,height:430,className:"block w-full h-auto"})})]}),(0,t.jsxs)("div",{className:"flex items-center border-2 xl:border-3 border-ec-green-200 p-2 xl:p-10px rounded-md xl:rounded-normal gap-2 md:gap-3 xl:gap-4",children:[(0,t.jsx)("span",{className:"bg-ec-green-200 rounded-md xl:rounded-normal square-8 md:square-12 xl:square-[58px] flex justify-center items-center",children:(0,t.jsx)(g.Z,{name:"learning-project",className:"fill-white square-4 md:square-7 xl:square-[34px]"})}),(0,t.jsx)("span",{className:"font-bold uppercase text-md md:text-[17px] xl:text-[18px] whitespace-nowrap",children:l("ep")})]})]})]})})})]})})})})}),(0,t.jsx)(d.Z,{})]})}}},function(e){e.O(0,[7536,9774,2888,179],function(){return e(e.s=81766)}),_N_E=e.O()}]);

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.