PageSourceSearch

https://livinglines.app/static/js/1946.b7dd894c.chunk.js

js livinglines.app collected 2026-10-07 13:38:05 UTC 20,163 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkranking=self.webpackChunkranking||[]).push([[1946],{1946(e,n,s){s.d(n,{A:()=>ze});var i=s(9379),t=s(7528),a=s(9950),l=s(4937),r=s(2875),o=s(7818),d=s(5300),c=s(486),h=s(8622),p=s(24),m=(s(4565),s(4414));const u=e=>{let{fallbackEmail:n,onChanged:s}=e;const[i,t]=(0,a.useState)(null),[l,r]=(0,a.useState)(""),[o,d]=(0,a.useState)("");(0,a.useEffect)(()=>{let e=!0;return(0,c.UnY)().then(n=>{e&&t(n.addresses||[])}).catch(()=>{e&&t([])}),()=>{e=!1}},[]);if(!i)return(0,m.jsx)("p",{className:"mail-addresses__hint",children:"Lade Adressen \u2026"});if(i.length<2){var h;const e=(null===(h=i[0])||void 0===h?void 0:h.email)||n;return e?(0,m.jsxs)("p",{className:"mail-addresses__hint",children:["Mails gehen an ",(0,m.jsx)("strong",{children:e}),"."]}):null}return(0,m.jsxs)("fieldset",{className:"mail-addresses",children:[(0,m.jsx)("legend",{children:"Mails gehen an"}),i.map(e=>(0,m.jsxs)("label",{className:"mail-addresses__option ".concat(e.main?"is-main":""),children:[(0,m.jsx)("input",{type:"radio",name:"mail-address",checked:e.main,disabled:!!l,onChange:()=>(async e=>{r(e),d("");try{const n=await(0,c.OAg)(e),a=i.map(e=>e.email);t([...n.addresses||[]].sort((e,n)=>(a.indexOf(e.email)+1||99)-(a.indexOf(n.email)+1||99))),null===s||void 0===s||s(e)}catch(n){d(n.message||"\xc4ndern fehlgeschlagen.")}finally{r("")}})(e.email)}),(0,m.jsxs)("span",{className:"mail-addresses__text",children:[e.email,(0,m.jsxs)("span",{className:"mail-addresses__sources",children:[e.sources.map(e=>(0,m.jsx)("span",{className:"mail-addresses__source",title:p.oU[e],children:(0,m.jsx)(p.rb,{provider:e,size:12})},e)),e.relay&&(0,m.jsx)("span",{className:"mail-addresses__tag",children:"Apple-Weiterleitung"}),l===e.email&&(0,m.jsx)("span",{className:"mail-addresses__tag",children:"Speichere \u2026"})]})]})]},e.email)),o&&(0,m.jsx)("p",{className:"login-methods__error",children:o})]})};var g,x,f,b,j,_,y,v,A,k,w,N,S,C,E,z,M,K,L,P,D,W,q,O,U,B,I,$,F,V,X,Y,J,Q,G;const R=l.Ay.div(g||(g=(0,t.A)(["\n    position: fixed;\n    inset: 0;\n    background: rgba(15, 23, 42, 0.45);\n    display: flex;\n    align-items: flex-start;\n    justify-content: center;\n    z-index: 1400;\n    padding: min(10vh, 80px) 16px 16px;\n"]))),T=l.Ay.div(x||(x=(0,t.A)(["\n    background: white;\n    width: min(460px, 100%);\n    max-height: calc(100vh - min(10vh, 80px) - 16px);\n    border-radius: 16px;\n    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);\n    padding: 20px;\n    display: flex;\n    flex-direction: column;\n    gap: 16px;\n    box-sizing: border-box;\n"]))),Z=l.Ay.div(f||(f=(0,t.A)(["\n    display: flex;\n    gap: 4px;\n    padding: 4px;\n    background: #f3f4f6;\n    border-radius: 12px;\n"]))),H=l.Ay.button(b||(b=(0,t.A)(["\n    flex: 1;\n    min-width: 0;\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 6px;\n    border: none;\n    border-radius: 9px;\n    padding: 8px 6px;\n    font: inherit;\n    font-size: 0.85rem;\n    font-weight: 600;\n    cursor: pointer;\n    white-space: nowrap;\n    color: ",";\n    background: ",";\n    box-shadow: ",";\n    transition: background 0.15s ease, color 0.15s ease;\n\n    &:hover {\n        color: #111827;\n    }\n\n    svg {\n        flex-shrink: 0;\n        font-size: 0.8rem;\n    }\n"])),e=>e.$active?"#111827":"#6b7280",e=>
1e.$active?"#ffffff":"transparent",e=>e.$active?"0 1px 3px rgba(15, 23, 42, 0.12)":"none"),ee=l.Ay.div(j||(j=(0,t.A)(["\n    display: flex;\n    flex-direction: column;\n    gap: 16px;\n    min-height: 320px;\n    overflow-y: auto;\n    margin: 0 -4px;\n    padding: 0 4px;\n"]))),ne=l.Ay.p(_||(_=(0,t.A)(["\n    margin: 0;\n    font-size: 0.85rem;\n    color: #6b7280;\n    line-height: 1.45;\n\n    strong {\n        color: #111827;\n        font-weight: 600;\n    }\n"]))),se=l.Ay.div(y||(y=(0,t.A)(["\n    border: 1px solid #e5e7eb;\n    border-radius: 12px;\n    overflow: hidden;\n"]))),ie=l.Ay.label(v||(v=(0,t.A)(["\n    display: flex;\n    align-items: flex-start;\n    justify-content: space-between;\n    gap: 16px;\n    padding: 12px 14px;\n    cursor: pointer;\n    background: #ffffff;\n    transition: background 0.15s ease;\n\n    & + & {\n        border-top: 1px solid #f1f5f9;\n    }\n\n    &:hover {\n        background: #f9fafb;\n    }\n"]))),te=l.Ay.span(A||(A=(0,t.A)(["\n    display: flex;\n    flex-direction: column;\n    gap: 2px;\n    font-size: 0.9rem;\n    font-weight: 600;\n    color: #111827;\n    line-height: 1.35;\n"]))),ae=l.Ay.span(k||(k=(0,t.A)(["\n    font-size: 0.8rem;\n    font-weight: 400;\n    color: #6b7280;\n    line-height: 1.4;\n"]))),le=(0,l.Ay)(ae)(w||(w=(0,t.A)(["\n    color: #4338ca;\n"]))),re=l.Ay.input.attrs({type:"checkbox",role:"switch"})(N||(N=(0,t.A)(["\n    appearance: none;\n    flex-shrink: 0;\n    position: relative;\n    width: 38px;\n    height: 22px;\n    margin: 1px 0 0;\n    border-radius: 999px;\n    background: #d1d5db;\n    cursor: pointer;\n    transition: background 0.2s ease;\n\n    &::after {\n        content: '';\n        position: absolute;\n        top: 3px;\n        left: 3px;\n        width: 16px;\n        height: 16px;\n        border-radius: 50%;\n        background: #ffffff;\n        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);\n        transition: transform 0.2s ease;\n    }\n\n    &:checked {\n        background: #4f46e5;\n    }\n\n    &:checked::after {\n        transform: translateX(16px);\n    }\n\n    &:focus-visible {\n        outline: 2px solid #6366f1;\n        outline-offset: 2px;\n    }\n"]))),oe=l.Ay.div(S||(S=(0,t.A)(["\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 12px;\n"]))),de=l.Ay.h3(C||(C=(0,t.A)(["\n    margin: 0;\n    font-size: 1.1rem;\n    font-weight: 600;\n    color: #111827;\n"]))),ce=l.Ay.button(E||(E=(0,t.A)(["\n    border: none;\n    background: #f3f4f6;\n    color: #6b7280;\n    width: 32px;\n    height: 32px;\n    border-radius: 50%;\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    cursor: pointer;\n    transition: all 0.2s ease;\n\n    &:hover {\n        background: #e5e7eb;\n        color: #374151;\n    }\n"]))),he=l.Ay.div(z||(z=(0,t.A)(["\n    display: flex;\n    align-items: center;\n    gap: 8px;\n"]))),pe=l.Ay.div(M||(M=(0,t.A)(["\n    display: flex;\n    flex-direction: column;\n    gap: 8px;\n"]))),me=l.Ay.label(K||(K=(0,t.A)(["\n    font-size: 0.8rem;\n    color: #6b7280;\n"]))),ue=l.Ay.input(L||(L=(0,t.A)(["\n    border: 1px solid #e5e7eb;\n    border-radius: 10px;\n    padding: 10px 12px;\n    font-size: 0.95rem;\n    transition: border 0.2s ease, box-shadow 0.2s ease;\n\n    &:focus {\n        outline: none;\n        border-color: #6366f1;\n        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);\n    }\n"]))),ge=l.Ay.div(P||(P=(0,t.A)(["\n    display: flex;\n    justify-content: flex-end;\n    gap: 8px;\n"]))),xe=l.Ay.button(D||(D=(0,t.A)(["\n    border: none;\n    border-radius: 10px;\n    padding: 10px 14px;\n    font-weight: 600;\n    cursor: pointer;\n    transition: transform 0.2s ease, background 0.2s ease;\n"]))),fe=(0,l.Ay)(xe)(W||(W=(0,t.A)(["\n    background: #f3f4f6;\n    color: #374151;\n\n    &:hover {\n        background: #e5e7eb;\n    }\n"]))),be=(0,l.Ay)(xe)(q||(q=(0,t.A)(["\n    background: #4f46e5;\n    color: white;\n\n    &:hover {\n        background: #4338ca;\n        transform: translateY(-1px);\n    }\n"]))),je=l.Ay.div(O||(O=(0,t.A)(["\n    display: flex;\n    flex-direction: column;\n    gap: 12px;\n"]))),_e=l.Ay.div(U||(U=(0,t.A)(["\n    display: flex;\n    justify-content: center;
1\n"]))),ye=l.Ay.div(B||(B=(0,t.A)(["\n    border: 1px solid #fee2e2;\n    background: #fff1f2;\n    border-radius: 12px;\n    padding: 12px;\n    display: flex;\n    flex-direction: column;\n    gap: 8px;\n"]))),ve=l.Ay.p(I||(I=(0,t.A)(["\n    margin: 0;\n    font-size: 0.8rem;\n    color: #7f1d1d;\n"]))),Ae=l.Ay.details($||($=(0,t.A)(["\n    display: flex;\n    flex-direction: column;\n    gap: 10px;\n\n    &[open] svg {\n        transform: rotate(180deg);\n    }\n"]))),ke=l.Ay.summary(F||(F=(0,t.A)(["\n    cursor: pointer;\n    font-size: 0.9rem;\n    font-weight: 700;\n    color: #991b1b;\n    list-style: none;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    gap: 8px;\n\n    &::-webkit-details-marker {\n        display: none;\n    }\n\n    svg {\n        transition: transform 0.2s ease;\n    }\n"]))),we=(0,l.Ay)(xe)(V||(V=(0,t.A)(["\n    background: #dc2626;\n    color: white;\n\n    &:hover {\n        background: #b91c1c;\n        transform: translateY(-1px);\n    }\n\n    &:disabled {\n        opacity: 0.7;\n        cursor: not-allowed;\n        transform: none;\n    }\n"]))),Ne=l.Ay.div(X||(X=(0,t.A)(["\n    display: flex;\n    justify-content: flex-end;\n    gap: 8px;\n"]))),Se=l.Ay.div(Y||(Y=(0,t.A)(["\n    position: absolute;\n    inset: 0;\n    background: rgba(15, 23, 42, 0.5);\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    padding: 16px;\n    z-index: 1500;\n"]))),Ce=l.Ay.div(J||(J=(0,t.A)(["\n    background: white;\n    width: min(360px, 100%);\n    border-radius: 14px;\n    padding: 18px;\n    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);\n    display: flex;\n    flex-direction: column;\n    gap: 12px;\n"]))),Ee=l.Ay.h4(Q||(Q=(0,t.A)(["\n    margin: 0;\n    font-size: 1rem;\n    color: #111827;\n"]))),ze=(l.Ay.hr(G||(G=(0,t.A)(["\n    border: none;\n    border-top: 1px solid #e5e7eb;\n    margin: 0;\n"]))),e=>{let{isOpen:n,user:s,onClose:t,onSave:l,onDelete:p,showLanguageSelector:g,LanguageSelector:x,onMailAddressChanged:f}=e;const{t:b,i18n:j}=(0,o.Bd)("auth"),[_,y]=(0,a.useState)(""),[v,A]=(0,a.useState)(""),[k,w]=(0,a.useState)(""),[N,S]=(0,a.useState)(!1),[C,E]=(0,a.useState)(!1),[z,M]=(0,a.useState)(!0),[K,L]=(0,a.useState)(!1),P="teacher"===(null===s||void 0===s?void 0:s.role)||"admin"===(null===s||void 0===s?void 0:s.role)||!(null===s||void 0===s||!s.isAdmin),[D,W]=(0,a.useState)(null),[q,O]=(0,a.useState)({}),[U,B]=(0,a.useState)(!1),[I,$]=(0,a.useState)("profil");(0,a.useEffect)(()=>{if(!n||!P||null===s||void 0===s||!s.email)return;let e=!0;return W(null),(0,c.BA)().then(n=>{e&&(W(n.kategorien),B(!!n.newsletter_bestaetigung_noetig),O(Object.fromEntries(n.kategorien.map(e=>[e.id,e.aktiv]))))}).catch(e=>console.error("Mail-Einstellungen nicht geladen:",e)),()=>{e=!1}},[n,P,null===s||void 0===s?void 0:s.email]);if((0,a.useEffect)(()=>{n&&s&&(y(s.name||""),A(s.avatar_seed||""),w((j.resolvedLanguage||j.language||"de").split("-")[0]),S(!1),E(!1),$("profil"),M(!1!==s.analysis_mail_opt_in),L(!!s.newsletter_opt_in))},[n,null===s||void 0===s?void 0:s.id]),!n)return null;const F=[{id:"profil",label:"Profil",icon:r.x$1},P&&{id:"anmeldewege",label:"Anmeldewege",icon:r.pXu},(null===s||void 0===s?void 0:s.email)&&{id:"mails",label:"E-Mails",icon:r.maD}].filter(Boolean);return(0,m.jsxs)(R,{onClick:t,children:[(0,m.jsxs)(T,{onClick:e=>e.stopPropagation(),children:[(0,m.jsxs)(oe,{children:[(0,m.jsx)(de,{children:b("authModal.settingsTitle","Einstellungen")}),(0,m.jsxs)(he,{children:[g&&x&&(0,m.jsx)(x,{value:k,onChange:w}),(0,m.jsx)(ce,{onClick:t,"aria-label":"Schlie\xdfen",children:(0,m.jsx)(r.QCr,{})})]})]}),F.length>1&&(0,m.jsx)(Z,{role:"tablist",children:F.map(e=>{let{id:n,label:s,icon:i}=e;return(0,m.jsxs)(H,{type:"button",role:"tab","aria-selected":I===n,$active:I===n,onClick:()=>$(n),children:[(0,m.jsx)(i,{})," ",s]},n)})}),(0,m.jsxs)(ee,{role:"tabpanel",children:["profil"===I&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(je,{children:[(0,m.jsx)(_e,{children:(0,m.jsx)(d.A,{initialSeed:v,onAvatarChange:e=>A(e)})}),(0,m.jsxs)(pe,{children:[(0,m.jsx)(me,{children:b("username","Name")}
1),(0,m.jsx)(ue,{type:"text",value:_,onChange:e=>y(e.target.value),placeholder:b("username","Name")})]})]}),p&&(0,m.jsx)(ye,{children:(0,m.jsxs)(Ae,{children:[(0,m.jsxs)(ke,{children:["Gefahrenzone",(0,m.jsx)(r.Vr3,{})]}),(0,m.jsx)(ve,{children:"Dein Konto und alle Daten werden dauerhaft gel\xf6scht."}),(0,m.jsx)(we,{type:"button",onClick:()=>S(!0),children:"Konto l\xf6schen"})]})})]}),"anmeldewege"===I&&(0,m.jsx)(h.A,{user:s}),"mails"===I&&(0,m.jsxs)(je,{children:[P?(0,m.jsx)(u,{fallbackEmail:s.email,onChanged:f}):(0,m.jsxs)(ne,{children:["Mails gehen an ",(0,m.jsx)("strong",{children:s.email}),"."]}),P&&(0,m.jsx)(ne,{children:"Wor\xfcber wir Sie informieren:"}),(0,m.jsx)(se,{children:P?(D||[]).map(e=>(0,m.jsxs)(ie,{children:[(0,m.jsxs)(te,{children:[e.label,(0,m.jsx)(ae,{children:e.text}),"newsletter"===e.id&&U&&e.aktiv&&!q.newsletter&&(0,m.jsx)(le,{children:"Nach dem Speichern schicken wir Ihnen eine Best\xe4tigungsmail. Eingeschaltet ist es, sobald Sie den Link darin anklicken."})]}),(0,m.jsx)(re,{checked:e.aktiv,onChange:()=>{return n=e.id,W(e=>e.map(e=>e.id===n?(0,i.A)((0,i.A)({},e),{},{aktiv:!e.aktiv}):e));var n}})]},e.id)):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(ie,{children:[(0,m.jsx)(te,{children:"Analyse-Ergebnisse per Mail erhalten"}),(0,m.jsx)(re,{checked:z,onChange:e=>M(e.target.checked)})]}),(0,m.jsxs)(ie,{children:[(0,m.jsx)(te,{children:"Aktuelle Updates & Infos zu neuen Features per Mail erhalten"}),(0,m.jsx)(re,{checked:K,onChange:e=>L(e.target.checked)})]})]})})]})]}),(0,m.jsxs)(ge,{children:[(0,m.jsx)(fe,{onClick:t,children:b("authModal.settingsCancel","Abbrechen")}),(0,m.jsx)(be,{onClick:async()=>{await(async()=>{if(!D)return;const e=Object.fromEntries(D.filter(e=>e.aktiv!==q[e.id]).map(e=>[e.id,e.aktiv]));if(Object.keys(e).length)try{await(0,c.ogQ)(e)}catch(n){console.error("Mail-Einstellungen nicht gespeichert:",n)}})(),await l(P?{name:_,avatar_seed:v}:{name:_,avatar_seed:v,analysis_mail_opt_in:z,newsletter_opt_in:K}),k&&j.changeLanguage(k)},children:b("authModal.settingsSave","Speichern")})]})]}),N&&(0,m.jsx)(Se,{onClick:()=>S(!1),children:(0,m.jsxs)(Ce,{onClick:e=>e.stopPropagation(),children:[(0,m.jsx)(Ee,{children:"Konto endg\xfcltig l\xf6schen?"}),(0,m.jsx)(ve,{children:"Dieser Schritt kann nicht r\xfcckg\xe4ngig gemacht werden."}),(0,m.jsxs)(Ne,{children:[(0,m.jsx)(fe,{type:"button",onClick:()=>S(!1),children:"Abbrechen"}),(0,m.jsx)(we,{type:"button",disabled:C,onClick:async()=>{try{E(!0),await p()}catch(e){console.error("Account deletion failed:",e),alert("L\xf6schen fehlgeschlagen. Bitte sp\xe4ter erneut versuchen.")}finally{E(!1)}},children:"Ja, endg\xfcltig l\xf6schen"})]})]})})]})})},8622(e,n,s){s.d(n,{A:()=>d,o:()=>l.oU});var i=s(9379),t=s(9950),a=s(486),l=s(24),r=(s(4565),s(4414));const o=e=>e?new Date(e).toLocaleDateString("de-DE"):null,d=e=>{let{user:n}=e;const[s,d]=(0,t.useState)(null),[c,h]=(0,t.useState)(""),[p,m]=(0,t.useState)(""),[u,g]=(0,t.useState)(!1),[x,f]=(0,t.useState)(""),[b,j]=(0,t.useState)(""),[_,y]=(0,t.useState)(""),[v,A]=(0,t.useState)(null);if((0,t.useEffect)(()=>{let e=!0;return(0,a.ECI)().then(n=>{e&&d(n)}).catch(e=>console.error("Anmeldewege nicht geladen:",e)),()=>{e=!1}},[null===n||void 0===n?void 0:n.id]),!s||!s.can_link)return null;const k=(s.identities||[]).filter(e=>"email"!==e.provider||e.has_password),w=k.length+(s.password?1:0),N=k.some(e=>"eduplaces"===e.provider),S=(s.linkable_providers||[]).filter(e=>"eduplaces"!==e||!N);return(0,r.jsxs)("div",{className:"login-methods",children:[(0,r.jsx)("p",{className:"login-methods__intro",children:"Mit jedem dieser Wege melden Sie sich in diesem Konto an. Wohin wir Mails schicken, stellen Sie unter E-Mails ein."}),(0,r.jsxs)("ul",{className:"login-methods__list",children:[s.password&&(0,r.jsxs)("li",{className:"login-methods__item",children:[(0,r.jsx)("span",{className:"login-methods__icon",children:(0,r.jsx)(l.rb,{provider:"email"})}),(0,r.jsxs)("span",{className:"login-methods__text",children:["E-Mail und Passwort",(0,r.jsxs)("span",{className:"login-methods__detail",children:[s.email,s.email_is_relay&&" \xb7 Apple-Weiterleitung"]})]})]}),k.map(e=>(0,r.jsxs)("li",{className:"login-methods__entry",children:[(0,r.jsxs)("div",{className:"login-methods__item",children:[(0,r.jsx)("span",{className:"login-methods__icon",children:(0,r.jsx)(l.rb,{provider:e.provider})}),(0,r.jsxs)("span",{className:"login-methods__text",children:[e.label,(0,r.jsx)("span",{className:"login-methods__detail",children:[e.email,e.last_login_at&&"zuletzt ".concat(o(e.last_login_at))].filter(
1Boolean).join(" \xb7 ")||"verkn\xfcpft ".concat(o(e.linked_at))})]}),(0,r.jsx)("span",{className:"login-methods__row-actions",children:w>1&&v!==e.id&&(0,r.jsx)("button",{type:"button",className:"login-methods__button login-methods__button--quiet",onClick:()=>A(e.id),disabled:!!c,children:"Entfernen"})})]}),v===e.id&&(0,r.jsxs)("div",{className:"login-methods__confirm",children:[(0,r.jsxs)("p",{children:["email"===e.provider?"Mit ".concat(e.email," und ihrem Passwort k\xf6nnen Sie sich danach nicht mehr anmelden. Die Adresse wird frei."):"".concat(e.label," wird aus Ihrem LivingLines-Konto entfernt. Ihr ").concat(e.label,"-Konto selbst bleibt, wie es ist."),e.relinks_by_email&&" Weil ".concat(e.email," auch eine Adresse Ihres LivingLines-Kontos ist, verbindet eine sp\xe4tere Anmeldung mit diesem ").concat(e.label,"-Konto es wieder."),!e.relinks_by_email&&"email"!==e.provider&&" Eine sp\xe4tere Anmeldung mit diesem ".concat(e.label,"-Konto legt ein neues LivingLines-Konto an.")]}),(0,r.jsxs)("div",{className:"login-methods__actions",children:[(0,r.jsx)("button",{type:"button",className:"login-methods__button login-methods__button--danger",onClick:()=>(async e=>{h(e.id),m("");try{d((0,i.A)((0,i.A)({},s),await(0,a.Kjq)(e.id))),A(null)}catch(n){m(n.message||"Entfernen fehlgeschlagen.")}finally{h("")}})(e),disabled:!!c,children:c===e.id?"Entferne \u2026":"Ja, entfernen"}),(0,r.jsx)("button",{type:"button",className:"login-methods__button login-methods__button--quiet",onClick:()=>A(null),disabled:!!c,children:"Abbrechen"})]})]})]},e.id))]}),S.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"login-methods__subtitle",children:"Weiteren Anmeldeweg hinzuf\xfcgen"}),(0,r.jsx)("div",{className:"login-methods__providers",children:S.map(e=>(0,r.jsxs)("button",{type:"button",className:"login-methods__provider",onClick:()=>(async e=>{h(e),m("");try{await(0,a.nXt)(e)}catch(n){m(n.message||"Verkn\xfcpfen lie\xdf sich nicht starten."),h("")}})(e),disabled:!!c,"aria-label":"".concat(l.oU[e]||e," verkn\xfcpfen"),children:[(0,r.jsx)(l.rb,{provider:e}),(0,r.jsx)("span",{children:c===e?"Weiter \u2026":l.oU[e]||e})]},e))})]}),(0,r.jsx)("p",{className:"login-methods__hint",children:"Sie haben aus Versehen ein zweites Konto angelegt? Melden Sie sich hier mit dessen Anmeldeweg an, dann k\xf6nnen Sie beide Konten zusammenf\xfchren."}),u?(0,r.jsxs)("form",{className:"login-methods__form",onSubmit:async e=>{e.preventDefault(),h("password"),m(""),y("");try{const e=await(0,a.eMq)(x.trim(),b);if("same_account"!==e.status)return void window.location.assign("/konto/anmeldewege?".concat(new URLSearchParams({proposal:e.proposal})));y("Das ist dieses Konto. Es gibt nichts zusammenzuf\xfchren.")}catch(n){m(401===n.status?"E-Mail oder Passwort stimmen nicht.":n.message||"Pr\xfcfung fehlgeschlagen.")}h("")},children:[(0,r.jsx)("input",{type:"email",autoComplete:"off",placeholder:"E-Mail des anderen Kontos",value:x,onChange:e=>f(e.target.value),required:!0}),(0,r.jsx)("input",{type:"password",autoComplete:"off",placeholder:"Passwort des anderen Kontos",value:b,onChange:e=>j(e.target.value),required:!0}),(0,r.jsxs)("div",{className:"login-methods__actions",children:[(0,r.jsx)("button",{type:"submit",className:"login-methods__button",disabled:!!c,children:"password"===c?"Pr\xfcfe \u2026":"Pr\xfcfen und weiter"}),(0,r.jsx)("button",{type:"button",className:"login-methods__button login-methods__button--quiet",onClick:()=>g(!1),children:"Abbrechen"})]})]}):(0,r.jsx)("div",{className:"login-methods__actions",children:(0,r.jsx)("button",{type:"button",className:"login-methods__button",onClick:()=>g(!0),disabled:!!c,children:"Zweites Konto mit E-Mail und Passwort"})}),_&&(0,r.jsx)("p",{className:"login-methods__hint",children:_}),p&&(0,r.jsx)("p",{className:"login-methods__error",children:p})]})}}}]);

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.