1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3751],{12755:(e,s,n)=>{"use strict";n.r(s),n.d(s,{default:()=>j});var a=n(55427),r=n(97867),t=n(3540),i=n(52692),c=n(20548),l=n(77829),d=n.n(l),o=n(80823),b=n.n(o),u=n(11772),h=n(36693),m=n(33722),x=n(27152),_=n(92257);let p=()=>{let{t:e}=(0,i.A)("unsubscribe"),s=(0,t.useRouter)(),[n,l]=(0,r.useState)(!1),[o,p]=(0,r.useState)(!1),[j,g]=(0,r.useState)(""),{width:f}=(0,_.A)();(0,r.useEffect)(()=>{let{email:e}=s.query;e&&"string"==typeof e&&g(e)},[s.query]);let w=async()=>{l(!0);try{let e=await (0,u.G)({url:"/users/unsubscribe",method:"POST",data:{token:s.query.token||null}});e.success?p(!0):console.error("Unsubscribe failed:",e.message)}catch(e){console.error("Unsubscribe failed:",e)}finally{l(!1)}},N=()=>{s.push("/")};return o?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(b(),{children:[(0,a.jsxs)("title",{children:[e("success-title")," - eduwo.ch"]}),(0,a.jsx)("meta",{name:"description",content:e("success-description")},"description"),(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,a.jsx)("div",{className:"unsubscribe-page pt_160",children:(0,a.jsx)("div",{className:"unsubscribe-container row row980 py_150 px_20",children:(0,a.jsxs)("div",{className:"unsubscribe-content text_align_center box_shadow",children:[(0,a.jsx)("div",{className:"unsubscribe-icon mb_40",children:(0,a.jsxs)("svg",{width:"80",height:"80",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"#548135",strokeWidth:"2",fill:"#f0f8f0"}),(0,a.jsx)("path",{d:"m9 12 2 2 4-4",stroke:"#548135",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,a.jsx)("h1",{className:"h2 mb_30 text_align_center",children:e("success-title")}),(0,a.jsxs)("p",{className:"paragraph mb_40 text_align_center",children:[e("success-description"),j&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"fw_600",children:j})," ",e("success-email-info")]})]}),(0,a.jsx)("p",{className:"paragraph mb_60 text_align_center",children:e("success-resubscribe-info")}),(0,a.jsx)(c.default,{type:"primary",label:e("return-homepage"),onClick:N,className:"unsubscribe-btn"})]})})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(b(),{children:[(0,a.jsxs)("title",{children:[e("page-title")," - eduwo.ch"]}),(0,a.jsx)("meta",{name:"description",content:e("unsubscribe-description")},"description"),(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,a.jsx)("div",{className:"unsubscribe-page ".concat(f<x.A.tablet?"pt_60":""),children:(0,a.jsx)("div",{className:"unsubscribe-container row row860 py_150 px_20",children:(0,a.jsxs)("div",{className:"unsubscribe-content text_align_center box_shadow",children:[(0,a.jsx)("div",{className:"unsubscribe-icon mb_40",children:(0,a.jsxs)("svg",{width:"80",height:"80",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",stroke:"#0a50aa",strokeWidth:"2",fill:"#f8fbff"}),(0,a.jsx)("path",{d:"m22 7-10 5L2 7",stroke:"#0a50aa",strokeWidth:"2",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M16 14h6M19 11v6",stroke:"#c14338",strokeWidth:"2",strokeLinecap:"round"})]})}),(0,a.jsx)("h1",{className:"h2 mb_30 text_align_center",children:e("unsubscribe-title")}),(0,a.jsx)("p",{className:"paragraph mb_40 text_align_center",children:e("unsubscribe-description")}),j&&(0,a.jsx)("div",{className:"email-info mb_40 p_20 unsubscribe-email-box",children:(0,a.jsxs)("p",{className:"paragraph mb_0",children:[(0,a.jsx)("strong",{children:e("email-label")})," ",j]})}),(0,a.jsxs)("div",{className:"unsubscribe-warning mb_60 p_20",children:[(0,a.jsxs)("p",{className:"paragraph mb_0 warning-text",children:[(0,a.jsx)("strong",{children:e("warning-title")})," ",e("warning-description")]}),(0,a.jsxs)("ul",{className:"mt_20 mb_0 warning-list",children:[(0,a.jsx)("li",{children:e("warning-item-1")}),(0,a.jsx)("li",{children:e("warning-item-2")}),(0,a.jsx)("li",{children:e("warning-item-3")}),(0,a.jsx)("li",{children:e("warning-item-4")})]})]}),(0,a.jsxs)("div",{className:"unsubscribe-actions",children:[(0,a.jsx)(c.default,{type:"primary",label:e("keep-subscribed"),onClick:N,className:"keep-subscribed-btn ".concat(f<x.A.mobile?"centered":""),disabled:n}),(0,a.jsx)(c.default,{type:"secondary",label:e(n?"unsubscribing":"unsubscribe-confirm"),onClick:w,className:"unsubscribe-btn unsubscribe-danger ".concat(f<x.A.mobile?"centered":""),disabled:n})]}),(0,a.jsx)(h.A,{className:"unsubscribe-start-education-card ",title:e("dashboard:rec-free-consultation-title"),titleClassName:"fw_600",message:e("dashboard:rec-free-consultation-message-line1"),messageLine2:e("dashboard:rec-free-consultation-message-line2"),fromEduwoLabel:e("dashboard:rec-free-consultation-from-eduwo"),action:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d(),{className:"full_width mb_10 w_50",href:"https://calendly.com/marco-eduwo/kurz-beratung-kostenlos",target:"_blank",children:(0,a.jsx)(c.default,{className:" centered btn-label fw_500 px_20 py_5 RightSideNav__meeting_btn",type:"secondary",label:e("dashboard:rec-free-consultation-btn"),leftIcon:(0,a.jsx)(m.eQU,{})})}),(0,a.jsx)(d(),{className:"full_width mb_10 bg_transparent",href:"tel:0432150386",children:(0,a.jsx)(c.default,{className:" centered btn-label fw_400 px_10 py_5 bg_transparent c_white RightSideNav__btn ",type:"secondary",label:"043 215 03 86",leftIcon:(0,a.jsx)(m.Zf0,{})})}),(0,a.jsx)(d(),{className:"full_width w_50",href:"mailto:[email protected]",target:"_blank",children:(0,a.jsx)(c.default,{className:" centered btn-label fw_400 px_10 py_5 bg_transparent c_white RightSideNav__btn",type:"secondary",label:"[email protected]",leftIcon:(0,a.jsx)(m.aZ_,{})})})]})})]})})})]})},j=()=>(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(p,{})})},36693:(e,s,n)=>{"use strict";n.d(s,{A:()=>r});var a=n(55427);n(97867);let r=e=>
1{let{title:s,action:n,message:r,messageLine2:t,fromEduwoLabel:i,className:c,titleClassName:l}=e;return(0,a.jsxs)("div",{className:"p_15 flex_column StartEducationCard ".concat(c||""),children:[(0,a.jsxs)("h2",{className:"StartEducationCard__title paragraph fw_400 ".concat(l||""),children:[(0,a.jsx)("span",{children:s}),i&&(0,a.jsx)("span",{children:i})]}),(0,a.jsxs)("p",{className:"btn-label mb_20 fw_300",children:[(0,a.jsx)("span",{children:r}),i&&(0,a.jsxs)(a.Fragment,{children:[" ",(0,a.jsx)("span",{children:i})]}),t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),t]})]}),n]})}},99740:(e,s,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/unsubscribe",function(){return n(12755)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=99740)),_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.