PageSourceSearch

https://www.effi.de/_next/static/chunks/1zq915aos06ty.js

js effi.de collected 2026-10-01 23:53:20 UTC 29,756 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="e5a35674-d321-562b-e84b-68848a2ef2b4")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,480809,349702,e=>{"use strict";var t=e.i(641816);e.s(["Hidden",0,function(e){return(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("title",{children:"Hidden"}),(0,t.jsx)("path",{d:"M4.5 3.75L19.5 20.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M14.5225 14.7748C13.7848 15.4436 12.8116 15.7926 11.8156 15.7451C10.8196 15.6977 9.88424 15.2578 9.21407 14.5214C8.54389 13.785 8.19298 12.8125 8.23844 11.8165C8.28389 10.8205 8.72199 9.88411 9.45713 9.21216",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M6.93698 6.43054C3.11486 8.36618 1.55371 12 1.55371 12C1.55371 12 4.15353 18.8571 12.0001 18.8571C13.8581 18.8725 15.6878 18.3935 17.3036 17.4696",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M19.5571 15.0161C21.6 13.1357 22.4466 12 22.4466 12C22.4466 12 19.8468 5.14286 12.0001 5.14286C11.4494 5.14286 10.913 5.17768 10.3928 5.24464",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M12.7054 8.35714C13.4934 8.52897 14.2052 8.94533 14.7413 9.54635C15.2774 10.1474 15.6107 10.9029 15.6929 11.7054",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}],480809),e.s(["Visible",0,function(e){return(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("title",{children:"Visible"}),(0,t.jsx)("path",{d:"M22.0318 10.654C22.2987 11.0232 22.4466 11.5028 22.4466 12C22.4466 12.4972 22.2987 12.9768 22.0318 13.346C20.3411 15.6161 16.4926 20.0357 12.0001 20.0357C7.50766 20.0357 3.65928 15.6161 1.96856 13.346C1.70153 12.9768 1.55371 12.4972 1.55371 12C1.55371 11.5028 1.70153 11.0232 1.96856 10.654C3.65928 8.38393 7.50766 3.96429 12.0001 3.96429C16.4926 3.96429 20.3411 8.38393 22.0318 10.654Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M11.9999 15.2143C13.7751 15.2143 15.2142 13.7752 15.2142 12C15.2142 10.2248 13.7751 8.78571 11.9999 8.78571C10.2247 8.78571 8.78564 10.2248 8.78564 12C8.78564 13.7752 10.2247 15.2143 11.9999 15.2143Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}],349702)},847941,e=>{"use strict";var t=e.i(641816),r=e.i(317281),n=e.i(778802),i=e.i(985245),a=e.i(515433),s=e.i(200376),o=e.i(737282);function l(e){return(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("title",{children:"Apple"}),(0,t.jsx)("mask",{id:"path-1-inside-1_5994_808",fill:"white",children:(0,t.jsx)("path",{d:"M10.1268 5.74667C9.33676 5.74667 8.11426 4.84833 6.82676 4.88C5.12676 4.9025 3.56843 5.86583 2.69259 7.39167C0.928425 10.4542 2.23759 14.9775 3.95843 17.4667C4.80259 18.6783 5.79843 20.0417 7.11843 19.9992C8.38509 19.945 8.86009 19.1767 10.3976 19.1767C11.9234 19.1767 12.3559 19.9992 13.6976 19.9667C15.0618 19.945 15.9276 18.7333 16.7609 17.51C17.7243 16.1033 18.1243 14.7392 18.1459 14.6642C18.1134 14.6533 15.4943 13.6467 15.4626 10.6167C15.4409 8.08333 17.5293 6.87167 17.6268 6.8175C16.4359 5.07583 14.6076 4.88083 13.9684 4.8375C12.3018 4.7075 10.9059 5.74667 10.1268 5.74667ZM12.9418 3.19167C13.6443 2.34833 14.1084 1.16917 13.9793 0C12.9734 0.0433333 11.7609 0.670833 11.0359 1.515C10.3859 2.26167 9.82426 3.46333 9.97509 4.61C11.0901 4.69667 12.2376 4.03667 12.9409 3.1925"})}),(0,t.jsx)("path",{d:"M10.1268 5.74667C9.33676 5.74667 8.11426 4.84833 6.82676 4.88C5.12676 4.9025 3.56843 5.86583 2.69259 7.39167C0.928425 10.4542 2.23759 14.9775 3.95843 17.4667C4.80259 18.6783 5.79843 20.0417 7.11843 19.9992C8.38509 19.945 8.86009 19.1767 10.3976 19.1767C11.9234 19.1767 12.3559 19.9992 13.6976 19.9667C15.0618 19.945 15.9276 18.7333 16.7609 17.51C17.7243 16.1033 18.1243 14.7392 18.1459 14.6642C18.1134 14.6533 15.4943 13.6467 15.4626 10.6167C15.4409 8.08333 17.5293 6.87167 17.6268 6.8175C16.4359 5.07583 14.6076 4.88083 13.9684 4.8375C12.3018 4.7075 10.9
2059 5.74667 10.1268 5.74667ZM12.9418 3.19167C13.6443 2.34833 14.1084 1.16917 13.9793 0C12.9734 0.0433333 11.7609 0.670833 11.0359 1.515C10.3859 2.26167 9.82426 3.46333 9.97509 4.61C11.0901 4.69667 12.2376 4.03667 12.9409 3.1925",fill:"#131515"}),(0,t.jsx)("path",{d:"M6.82676 4.88L6.84436 6.20988L6.85191 6.20978L6.85946 6.2096L6.82676 4.88ZM2.69259 7.39167L3.84505 8.05555L3.84607 8.05377L2.69259 7.39167ZM3.95843 17.4667L2.8644 18.223L2.86716 18.227L3.95843 17.4667ZM7.11843 19.9992L7.16123 21.3286L7.17525 21.328L7.11843 19.9992ZM13.6976 19.9667L13.6765 18.6368L13.6654 18.6371L13.6976 19.9667ZM16.7609 17.51L15.6636 16.7585L15.6617 16.7612L16.7609 17.51ZM18.1459 14.6642L19.4237 15.0333L19.7781 13.8063L18.5665 13.4024L18.1459 14.6642ZM15.4626 10.6167L14.1326 10.628L14.1327 10.6306L15.4626 10.6167ZM17.6268 6.8175L18.2727 7.98013L19.5483 7.27144L18.7247 6.06683L17.6268 6.8175ZM13.9684 4.8375L13.865 6.16354L13.8785 6.16445L13.9684 4.8375ZM13.9793 0L15.3012 -0.146047L15.1646 -1.3823L13.922 -1.32877L13.9793 0ZM11.0359 1.515L12.0391 2.38829L12.0449 2.38154L11.0359 1.515ZM9.97509 4.61L8.65645 4.78346L8.79707 5.85245L9.87203 5.936L9.97509 4.61ZM10.1268 5.74667V4.41667C10.154 4.41667 10.098 4.41943 9.8877 4.34782C9.67858 4.27659 9.47094 4.18895 9.14686 4.06247C8.57785 3.8404 7.72955 3.52739 6.79406 3.5504L6.82676 4.88L6.85946 6.2096C7.21147 6.20094 7.61817 6.32127 8.17978 6.54045C8.42102 6.63459 8.7476 6.76956 9.03011 6.86578C9.31148 6.96161 9.70454 7.07667 10.1268 7.07667V5.74667ZM6.82676 4.88L6.80916 3.55012C4.60574 3.57928 2.63185 4.82586 1.53911 6.72956L2.69259 7.39167L3.84607 8.05377C4.50501 6.90581 5.64777 6.22572 6.84436 6.20988L6.82676 4.88ZM2.69259 7.39167L1.54013 6.72779C0.447035 8.62535 0.355649 10.8728 0.708854 12.8752C1.06384 14.8877 1.8946 16.8202 2.86441 18.223L3.95843 17.4667L5.05244 16.7103C4.30141 15.624 3.61717 14.0502 3.32841 12.4131C3.03787 10.766 3.17398 9.22049 3.84505 8.05555L2.69259 7.39167ZM3.95843 17.4667L2.86716 18.227C3.28
2015 18.8197 3.81408 19.5771 4.45038 20.1735C5.09015 20.7733 5.99727 21.366 7.16123 21.3285L7.11843 19.9992L7.07563 18.6699C6.91959 18.6749 6.66878 18.6071 6.2696 18.2329C5.86694 17.8554 5.48087 17.3253 5.04969 16.7064L3.95843 17.4667ZM7.11843 19.9992L7.17525 21.328C8.08965 21.2889 8.74713 20.9737 9.17537 20.7922C9.58185 20.6199 9.89149 20.5067 10.3976 20.5067V19.1767V17.8467C9.36619 17.8467 8.66958 18.1176 8.13752 18.343C7.62723 18.5593 7.41386 18.6553 7.0616 18.6704L7.11843 19.9992ZM10.3976 19.1767V20.5067C10.8778 20.5067 11.1604 20.6195 11.5892 20.8048C12.0579 21.0073 12.7399 21.3203 13.7298 21.2963L13.6976 19.9667L13.6654 18.6371C13.3136 18.6456 13.1086 18.5636 12.6441 18.3629C12.1398 18.145 11.4432 17.8467 10.3976 17.8467V19.1767ZM13.6976 19.9667L13.7187 21.2965C14.8349 21.2788 15.6931 20.7613 16.336 20.1611C16.9522 19.5858 17.4552 18.8533 17.8601 18.2588L16.7609 17.51L15.6617 16.7612C15.2334 17.3901 14.8867 17.8751 14.5207 18.2168C14.1813 18.5337 13.9244 18.6329 13.6765 18.6368L13.6976 19.9667ZM16.7609 17.51L17.8583 18.2615C18.9372 16.6861 19.385 15.1673 19.4237 15.0333L18.1459 14.6642L16.8682 14.295C16.8636 14.311 16.5114 15.5206 15.6636 16.7585L16.7609 17.51ZM18.1459 14.6642L18.5665 13.4024C18.6955 13.4454 18.2148 13.28 17.7216 12.8099C17.2625 12.3723 16.8039 11.688 16.7925 10.6028L15.4626 10.6167L14.1327 10.6306C14.153 12.5753 15.0198 13.9094 15.8863 14.7353C16.7187 15.5287 17.5638 15.8721 17.7253 15.9259L18.1459 14.6642ZM15.4626 10.6167L16.7925 10.6053C16.7851 9.73578 17.1322 9.09793 17.514 8.64798C17.9083 8.18337 18.3096 7.95963 18.2727 7.98013L17.6268 6.8175L16.9809 5.65487C16.8205 5.74396 14.1042 7.2999 14.1326 10.628L15.4626 10.6167ZM17.6268 6.8175L18.7247 6.06683C17.1695 3.79234 14.785 3.55981 14.0584 3.51055L13.9684 4.8375L13.8785 6.16445C14.4301 6.20186 15.7023 6.35933 16.5289 7.56817L17.6268 6.8175ZM13.9684 4.8375L14.0719 3.51153C12.9425 3.42344 11.9543 3.73519 11.2511 3.99679C10.8077 4.16174 10.6744 4.22628 10.3731 4.33414C10.1168 4.4259 10.0723 4.41667 10.1268 4.41667V5.74667V7.07667C10.5708 7.07667 10.993 6.93753 11.2696 6.83851C11.5012 6.7556 11.9672 6.56847 12.1785 6.48988C12.7846 6.26439 13.3277 6.12156 13.865 6.16347L13.9684 4.8375ZM12.9418 3.19167L13.9637 4.04291C14.8477 2.98161 15.4779 1.45322 15.3012 -0.146047L13.9793 0L12.6573 0.146047C12.739 0.885118 12.4408 1.71505 11.9199 2.34042L12.9418 3.19167ZM13.9793 0L13.922 -1.32877C12.5038 -1.26767 10.9607 -0.438793 10.027 0.648464L11.0359 1.515L12.0449 2.38154C12.5611 1.78046 13.443 1.35434 14.0365 1.32877L13.9793 0ZM11.0359 1.515L10.0328 0.641728C9.22624 1.56822 8.43989 3.13712 8.65645 4.78346L9.97509 4.61L11.2937 4.43655C11.2086 3.78955 11.5456 2.95511 12.0391 2.38827L11.0359 1.515ZM9.97509 4.61L9.87203 5.936C11.5437 6.06594 13.0766 5.10741 13.9627 4.04385L12.9409 3.1925L11.9191 2.34115C11.3986 2.96593 10.6364 3.32739 10.0782 3.284L9.97509 4.61Z",fill:"#131515",mask:"url(#path-1-inside-1_5994_808)"})]})}function d(e){return(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("title",{children:"Google"}),(0,t.jsx)("path",{d:"M5.1228 13.3344C5.41447 13.7794 5.76292 14.1858 6.16187 14.5414C6.76271 15.0769 7.46452 15.4879 8.22534 15.7504C8.98604 16.0128 9.79142 16.1217 10.5945 16.0707C11.2418 16.0295 11.8763 15.8823 12.4763 15.641L14.6189 17.3148C13.3968 18.06 11.8594 18.5013 9.99976 18.5013C7.17335 18.5012 4.67229 17.0517 3.17163 14.8265L5.1228 13.3344ZM18.2478 8.99841C18.2773 9.32616 18.2937 9.66053 18.2937 10.0004C18.2936 12.1594 17.6921 14.0929 16.5662 15.5619L14.696 14.101C15.2811 13.461 15.7265 12.7023 15.9958 11.8715L16.2781 11.0013H10.6648V8.99841H18.2478ZM4.17358 9.24939C4.14332 9.49567 4.12671 9.7464 4.12671 10.0004C4.12672 10.274 4.14653 10.5427 4.1814 10.806L2.05249 12.4349C1.82264 11.6457 1.70558 10.8264 1.70679 10.0013V10.0004C1.70679 9.14975 1.82903 8.32845 2.05542 7.55408L4.17358 9.24939ZM9.99976 1.49841C12.2126 1.49841 13.9726 2.12129 15.2878 3.1449L13.5896 4.94666C12.9948 4.54845 12.3335 4.25608 11.6345 4.08728C10.7312 3.86917 9.78958 3.86148 8.88257 4.06384C7.9756 4.26624 7.12703 4.67384 6.4021 5.25525C5.89453 5.66236 5.45833 6.14788 5.1062 6.6908L3.1853 5.15466C4.68617 2.94006 7.18184 1.49853 9.99976 1.49841Z",fill:"#131515",stroke:"#131515",strokeWidth:"1.33"})]})}var c=e.i(977324),u=e.i(619795),g=e.i(534085),h=e.i(422649),p=e.i(762075),m=e.i(44004),C=e.i(137817),S=e.i(772148),v=e.i(961229),f=e.i(520133);e.s(["LoginForm",0,function(){let e=(0,a.useTranslations)("login"),w=(0,a.useTranslations)("common"),{signInWithGoogle:x,signInWithApple:E,isLoading:I,providerLoginLoading:L,providerLoginError:A,isAuthenticated:_,refreshUser:P}=(0,c.useAuth)(),N=(0,f.useRouter)(),k=(0,i.useSearchParams)(),[M,b]=(0,s.use
2State)(!1),R=k.get("redirect"),[T,j]=(0,s.useState)(R?(0,S.validateRedirectPath)(R):null),{register:y,handleSubmit:U,trigger:O,setError:V,clearErrors:Z,formState:{errors:D,isSubmitting:F}}=(0,o.useForm)({mode:"onBlur",defaultValues:{email:"",password:""}});(0,s.useEffect)(()=>{C.authTracking.openLoginScreen()},[]),(0,s.useEffect)(()=>{A&&p.toast.error(e("provider_login_error"))},[A,e]),(0,s.useEffect)(()=>{if(!T&&document.referrer)try{let e=new URL(document.referrer);if(e.origin!==window.location.origin)return;let t=e.pathname+e.search;if(m.AUTH_ROUTES.some(e=>t.includes(e)))return;let r=(0,S.validateRedirectPath)(t);if(!r)return;localStorage.setItem("redirectAfterLogin",r),j(r)}catch{}},[T]),(0,s.useEffect)(()=>{_&&N.push(T||m.PROPERTIES_ROUTE)},[_,N,T]);let H=(e,t=!1)=>{let r=new URLSearchParams({email:e});return t&&r.set("not-confirmed","true"),T&&r.set("redirect",T),`/signup?${r.toString()}`},W=async t=>{try{let e=await (0,n.signIn)({username:t.email,password:" "});if(!e.isSignedIn&&e.nextStep?.signInStep==="CONFIRM_SIGN_UP")return void N.push(H(t.email,!0));e.isSignedIn&&N.push(T||m.PROPERTIES_ROUTE)}catch(i){let{name:n}=i;if("UserNotFoundException"===n)return void N.push(H(t.email));if("NotAuthorizedException"===n)return void b(!0);r.captureException(i,{extra:{step:"email"}}),p.toast.error(e("provider_login_error"))}},$=async t=>{try{let e=await (0,n.signIn)({username:t.email,password:t.password});if(!e.isSignedIn&&e.nextStep?.signInStep==="CONFIRM_SIGN_UP")return void N.push(H(t.email,!0));e.isSignedIn&&N.push(T||m.PROPERTIES_ROUTE)}catch(n){let{name:t}=n;if("NotAuthorizedException"===t)return void V("password",{type:"manual",message:e("incorrect_password")});if("UnexpectedSignInInterruptionException"===t&&await P()){r.captureMessage("Recovered from UnexpectedSignInInterruptionException",{level:"info",tags:{context:"login"}}),N.push(T||m.PROPERTIES_ROUTE);return}r.captureException(n,{extra:{step:"password"}}),p.toast.error(e("provider_login_error"))}},B=async e=>{Z("password"),M?await $(e):await W(e)};return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,t.jsx)("div",{className:"heading-md font-heading",children:e(M?"welcome_back":"title")}),!M&&(0,t.jsx)("div",{className:"mb-6 font-body text-base",children:e("subtitle")})]}),(0,t.jsxs)("form",{onSubmit:U(B),className:"flex w-full flex-col gap-4",children:[(0,t.jsxs)("div",{className:"mb-0 flex flex-col gap-2",children:[(0,t.jsx)(g.Input,{label:w("email_address"),id:"email",type:"email",placeholder:w("email_placeholder"),disabled:I,error:D.email?D.email.message:"",...y("email",{required:e("email_required"),pattern:{value:v.EMAIL_PATTERN,message:e("email_invalid_format")},onBlur:()=>O("email")})}),M&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.Input,{label:w("password"),id:"password",type:"password",placeholder:w("password"),disabled:I,error:D.password?D.password.message:"",...y("password",{required:e("password_required"),onChange:()=>Z("password")})}),(0,t.jsx)(f.Link,{href:"/forgot-password",className:"text-primary-600 text-sm",children:e("forgot_password")})]})]}),(0,t.jsxs)(u.Button,{dataCy:"continue-login",type:"submit",className:"mb-2 flex w-full items-center gap-1",children:[F&&(0,t.jsx)(h.Spinner,{size:4,className:"mr-4"}),e("continue_login")]}),(0,t.jsxs)("div",{className:"relative mb-2",children:[(0,t.jsx)("div",{className:"absolute inset-0 flex items-center px-2",children:(0,t.jsx)("div",{className:"w-full border-border border-t"})}),(0,t.jsx)("div",{className:"relative flex justify-center text-sm",children:(0,t.jsx)("span",{className:"bg-background px-2 text-muted-foreground",children:e("or")})})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-col gap-3",children:[(0,t.jsxs)(u.Button,{variant:"social-login",size:"md",type:"button",onClick:E,disabled:L.apple,dataCy:"continue-with-apple",children:[L.apple?(0,t.jsx)(h.Spinner,{size:4}):(0,t.jsx)(l,{}),e("continue_with",{provider:"Apple"})]}),(0,t.jsxs)(u.Button,{variant:"social-login",size:"md",type:"button",onClick:x,disabled:L.google,dataCy:"continue-with-google",children:[L.google?(0,t.jsx)(h.Spinner,{size:4}):(0,t.jsx)(d,{}),e("continue_with",{provider:"Google"})]})]}),(0,t.jsx)("div",{className:"text-center text-muted-foreground text-xs",children:e.rich("terms_and_policy",{termsLink:e=>(0,t.jsx)("a",{href:"/nutzungsbedingungen",className:"font-semibold text-primary-600",children:e}),privacyLink:e=>(0,t.jsx)("a",{href:"/datenschutz",className:"font-semibold text-primary-600",children:e})})})]})]})}],847941)},534085,e=>{"use strict";var t=e.i(641816),r=e.i(294237),n=e.i(200376),i=e.i(480809),a=e.i(349702),s=e.i(647163);let o=(0,r.cva)((0,s.cn)("flex h-12 w-full rounded-md border-2 bg-custom-bg-input-30 px-3 py-1 shadow-2","text-base text-foreground placeholder:text-muted-foreground","focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-50","file:border-0 file:bg-transparent file:text-base file:font-medium file:text-foreground"),{variants:{hasError:{true:(0,s.cn)("border-destructive","focus-visible:border-destructive focus-visible:shadow-[var(--shadow-focus-destructive)]"),false:(0,s.cn)("border-input","focus-visible:border-ring focus-visible:shadow-[var(--shadow-focus)]")}
2,hasLeadingIcon:{true:"pl-10",false:""},hasTrailingIcon:{true:"pr-10",false:""}},defaultVariants:{hasError:!1,hasLeadingIcon:!1,hasTrailingIcon:!1}}),l=(0,n.forwardRef)(({className:e,type:r,id:l,label:d,description:c,descriptionPlacement:u="underInput",error:g,errorMessageId:h,leadingIcon:p,trailingIcon:m,labelLink:C,orientation:S="vertical",...v},f)=>{let w=(0,n.useId)(),[x,E]=(0,n.useState)(!1),I=l??w,L=c?`${I}-description`:void 0,A=g?h??`${I}-error`:void 0,_="password"===r,P=!!g,N=!!p,k=!!m||_,M=[L,A].filter(Boolean).join(" ")||void 0,b=d&&(0,t.jsx)("label",{htmlFor:I,className:(0,s.cn)("text-sm",P?"text-destructive":"text-foreground"),children:d}),R=c&&(0,t.jsx)("p",{id:L,className:"text-muted-foreground text-sm",children:c}),T=C&&(0,t.jsx)("a",{href:C.href,className:"absolute top-0 right-0 text-foreground text-sm",children:C.text}),j=(0,t.jsxs)("div",{className:"relative flex items-center",children:[p&&(0,t.jsx)("span",{className:"pointer-events-none absolute left-3 flex items-center text-muted-foreground",children:p}),(0,t.jsx)("input",{ref:f,id:I,type:_&&x?"text":r,"data-slot":"input",className:(0,s.cn)(o({hasError:P,hasLeadingIcon:N,hasTrailingIcon:k}),e),"aria-describedby":M,"aria-invalid":P,...v}),_&&(0,t.jsx)("button",{type:"button",onClick:()=>E(!x),className:(0,s.cn)("absolute right-3 rounded-sm p-1 text-muted-foreground transition-colors","hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"),"aria-label":x?"Hide password":"Show password",children:x?(0,t.jsx)(i.Hidden,{width:20,height:20}):(0,t.jsx)(a.Visible,{width:20,height:20})}),!_&&m&&(0,t.jsx)("span",{className:"absolute right-3 flex items-center text-muted-foreground",children:m})]}),y=!h&&g?.trim()&&(0,t.jsx)("p",{id:A,className:"text-destructive text-sm",children:g});return"responsive"===S?(0,t.jsxs)("div",{className:"relative flex w-full items-start gap-3",children:[(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-1.5",children:[b,R]}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-1.5",children:[j,y]})]}):(0,t.jsxs)("div",{className:"relative flex w-full flex-col gap-1.5",children:[b,T,"underLabel"===u&&R,j,"underInput"===u&&R,y]})});l.displayName="Input",e.s(["Input",0,l,"inputVariants",0,o])},137817,e=>{"use strict";var t=e.i(558249);let r="auth";e.s(["authTracking",0,{signUpSuccess(){(0,t.trackEvent)(`${r}_sign_up_success`)},openLoginScreen(){(0,t.trackEvent)(`${r}_start_db_login`)},openProfile(){(0,t.trackEvent)(`${r}_start_db_profile`)},authStart(){(0,t.trackEvent)(`${r}_start`)},logout(){(0,t.trackEvent)(`${r}_logout`)},deleteAccountProfile(){(0,t.trackEvent)(`${r}_delete_account_profile`)},deleteAccountReason(){(0,t.trackEvent)(`${r}_delete_account_reason`)},deleteAccountFinish(){(0,t.trackEvent)(`${r}_delete_account_finish`)},deleteAlternativeOption(){(0,t.trackEvent)(`${r}_delete_alternative`)},deleteRelevantOption(){(0,t.trackEvent)(`${r}_delete_relevant`)},deleteExpectationsOption(){(0,t.trackEvent)(`${r}_delete_expectations`)},deleteErrorsOption(){(0,t.trackEvent)(`${r}_delete_errors`)},deletePrivacyOption(){(0,t.trackEvent)(`${r}_delete_privacy`)},deleteJobDoneOption(){(0,t.trackEvent)(`${r}_delete_job_done`)},deleteOtherOption(e){(0,t.trackEvent)(`${r}_delete_other`,e?{message:e}:void 0)}}])},961229,e=>{"use strict";e.s(["EMAIL_PATTERN",0,/^[^\s@]+@[^\s@]+\.[^\s@]+$/])},55621,917144,e=>{"use strict";let t;function r(){return{active:!1}}let n=(t=(i=(e,t)=>{switch(t.type){case"SET_USERNAME":return{...e,username:t.value};case"SET_SESSION":return{...e,session:t.value};case"START":return{...e,active:!0};case"RESET":return r();default:return e}})(r(),{type:"RESET"}),{getState:()=>t,dispatch:e=>{t=i(t,e)}});e.s(["autoSignInStore",0,n],917144);var i,a=e.i(457052),s=e.i(606780);let o=async()=>{throw new a.AuthError({name:s.AUTO_SIGN_IN_EXCEPTION,message:"The autoSignIn flow has not started, or has been cancelled/completed.",recoverySuggestion:"Please try to use the signIn API or log out before starting a new autoSignIn flow."})},l=o;e.s(["autoSignIn",()=>l,"resetAutoSignIn",0,function(e=!0){e&&(l=o),n.dispatch({type:"RESET"})},"setAutoSignIn",0,function(e){l=e}],55621)},778802,693425,e=>{"use strict";var t=e.i(757270),r=e.i(936770),n=e.i(691516),i=e.i(790318),a=e.i(710073),s=e.i(293143),o=e.i(668149),l=e.i(457765),d=e.i(501981),c=e.i(361196),u=e.i(106775),g=e.i(364990),h=e.i(41065),p=e.i(55621);async function m(e){let{username:r,password:n}=e,m=i.Amplify.getConfig().Auth?.Cognito,C={loginId:r,authFlowType:"USER_SRP_AUTH"};(0,a.assertTokenProviderConfig)(m);let S=e.options?.clientMetadata;(0,o.assertValidationError)(!!r,s.AuthValidationErrorCode.EmptySignInUsername),(0,o.assertValidationError)(!!n,s.AuthValidationErrorCode.EmptySignInPassword);try{let{ChallengeName:e,ChallengeParameters:i,AuthenticationResult:a,Session:s}=await (0,t.handleUserSRPAuthFlow)(r,n,S,m,u.tokenOrchestrator),o=(0,t.getActiveSignInUsername)(r);if((0,d.setActiveSignInState)({signInSession:s,username:o,challengeName:e,signInDetail
2s:C}),a)return await (0,c.cacheCognitoTokens)({username:o,...a,NewDeviceMetadata:await (0,h.getNewDeviceMetadata)({userPoolId:m.userPoolId,userPoolEndpoint:m.userPoolEndpoint,newDeviceMetadata:a.NewDeviceMetadata,accessToken:a.AccessToken}),signInDetails:C}),(0,d.resetActiveSignInState)(),await (0,g.dispatchSignedInHubEvent)(),(0,p.resetAutoSignIn)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}};return(0,t.getSignInResult)({challengeName:e,challengeParameters:i})}catch(r){(0,d.resetActiveSignInState)(),(0,p.resetAutoSignIn)(),(0,l.assertServiceError)(r);let e=(0,t.getSignInResultFromError)(r.name);if(e)return e;throw r}}var C=e.i(421620);async function S(e){let{username:r,password:n,options:m}=e,S=i.Amplify.getConfig().Auth?.Cognito,v={loginId:r,authFlowType:"USER_PASSWORD_AUTH"};(0,a.assertTokenProviderConfig)(S);let f=m?.clientMetadata;(0,o.assertValidationError)(!!r,s.AuthValidationErrorCode.EmptySignInUsername),(0,o.assertValidationError)(!!n,s.AuthValidationErrorCode.EmptySignInPassword);try{let{ChallengeName:e,ChallengeParameters:i,AuthenticationResult:a,Session:s}=await (0,C.retryOnResourceNotFoundException)(t.handleUserPasswordAuthFlow,[r,n,f,S,u.tokenOrchestrator],r,u.tokenOrchestrator),o=(0,t.getActiveSignInUsername)(r);if((0,d.setActiveSignInState)({signInSession:s,username:o,challengeName:e,signInDetails:v}),a)return await (0,c.cacheCognitoTokens)({...a,username:o,NewDeviceMetadata:await (0,h.getNewDeviceMetadata)({userPoolId:S.userPoolId,userPoolEndpoint:S.userPoolEndpoint,newDeviceMetadata:a.NewDeviceMetadata,accessToken:a.AccessToken}),signInDetails:v}),(0,d.resetActiveSignInState)(),await (0,g.dispatchSignedInHubEvent)(),(0,p.resetAutoSignIn)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}};return(0,t.getSignInResult)({challengeName:e,challengeParameters:i})}catch(r){(0,d.resetActiveSignInState)(),(0,p.resetAutoSignIn)(),(0,l.assertServiceError)(r);let e=(0,t.getSignInResultFromError)(r.name);if(e)return e;throw r}}var v=e.i(917144),f=e.i(365658),w=e.i(360883),x=e.i(173370),E=e.i(35773),I=e.i(286784),L=e.i(994286),A=e.i(320146),_=e.i(198101);async function P({username:e,clientMetadata:t,config:r,tokenOrchestrator:n,preferredChallenge:i,password:a,session:l}){let{userPoolId:d,userPoolClientId:c,userPoolEndpoint:u}=r,g=(0,w.getUserContextData)({username:e,userPoolId:d,userPoolClientId:c}),h={USERNAME:e};if(i){if(r.passwordless&&(("EMAIL_OTP"!==i||r.passwordless.emailOtpEnabled)&&("SMS_OTP"!==i||r.passwordless.smsOtpEnabled)&&("WEB_AUTHN"!==i||r.passwordless.webAuthn)||(0,o.assertValidationError)(!1,s.AuthValidationErrorCode.InvalidPreferredChallenge)),"PASSWORD_SRP"===i)return(0,o.assertValidationError)(!!a,s.AuthValidationErrorCode.EmptySignInPassword),(0,A.handlePasswordSRP)({username:e,password:a,clientMetadata:t,config:r,tokenOrchestrator:n,authFlow:"USER_AUTH",preferredChallenge:i});"PASSWORD"===i&&((0,o.assertValidationError)(!!a,s.AuthValidationErrorCode.EmptySignInPassword),h.PASSWORD=a),h.PREFERRED_CHALLENGE=i}let p={AuthFlow:"USER_AUTH",AuthParameters:h,ClientMetadata:t,ClientId:c,UserContextData:g};l&&(p.Session=l);let m=(0,x.createInitiateAuthClient)({endpointResolver:(0,E.createCognitoUserPoolEndpointResolver)({endpointOverride:u})}),C=await m({region:(0,I.getRegionFromUserPoolId)(d),userAgentValue:(0,L.getAuthUserAgentValue)(f.AuthAction.SignIn)},p);return(0,_.setActiveSignInUsername)(e),C}async function N(e){let{username:r,password:n,options:m}=e,C=i.Amplify.getConfig().Auth?.Cognito,S={loginId:r,authFlowType:"USER_AUTH"};(0,a.assertTokenProviderConfig)(C);let f=m?.clientMetadata,w=m?.preferredChallenge??C?.passwordless?.preferredChallenge;(0,o.assertValidationError)(!!r,s.AuthValidationErrorCode.EmptySignInUsername);try{let e={username:r,config:C,tokenOrchestrator:u.tokenOrchestrator,clientMetadata:f,preferredChallenge:w,password:n},i=v.autoSignInStore.getState();i.active&&i.username===r&&(e.session=i.session);let a=await P(e),s=(0,t.getActiveSignInUsername)(r);if((0,d.setActiveSignInState)({signInSession:a.Session,username:s,challengeName:a.ChallengeName,signInDetails:S}
2),a.AuthenticationResult)return await (0,c.cacheCognitoTokens)({username:s,...a.AuthenticationResult,NewDeviceMetadata:await (0,h.getNewDeviceMetadata)({userPoolId:C.userPoolId,userPoolEndpoint:C.userPoolEndpoint,newDeviceMetadata:a.AuthenticationResult.NewDeviceMetadata,accessToken:a.AuthenticationResult.AccessToken}),signInDetails:S}),(0,d.resetActiveSignInState)(),await (0,g.dispatchSignedInHubEvent)(),(0,p.resetAutoSignIn)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}};return(0,t.getSignInResult)({challengeName:a.ChallengeName,challengeParameters:a.ChallengeParameters,availableChallenges:"AvailableChallenges"in a?a.AvailableChallenges:void 0})}catch(r){(0,d.resetActiveSignInState)(),(0,p.resetAutoSignIn)(),(0,l.assertServiceError)(r);let e=(0,t.getSignInResultFromError)(r.name);if(e)return e;throw r}}async function k(e){(0,p.resetAutoSignIn)(!1);let i=e.options?.authFlowType;switch(await (0,t.assertUserNotAuthenticated)(),i){case"USER_SRP_AUTH":default:return m(e);case"USER_PASSWORD_AUTH":return S(e);case"CUSTOM_WITHOUT_SRP":return(0,r.signInWithCustomAuth)(e);case"CUSTOM_WITH_SRP":return(0,n.signInWithCustomSRPAuth)(e);case"USER_AUTH":return N(e)}}e.s(["signInWithUserAuth",0,N],693425),e.s(["signIn",0,k],778802)},936770,691516,e=>{"use strict";var t=e.i(790318),r=e.i(710073),n=e.i(293143),i=e.i(668149),a=e.i(457765),s=e.i(757270),o=e.i(501981),l=e.i(361196),d=e.i(106775),c=e.i(364990),u=e.i(421620),g=e.i(41065);async function h(e){let h=t.Amplify.getConfig().Auth?.Cognito;(0,r.assertTokenProviderConfig)(h);let{username:p,password:m,options:C}=e,S={loginId:p,authFlowType:"CUSTOM_WITHOUT_SRP"},v=C?.clientMetadata;(0,i.assertValidationError)(!!p,n.AuthValidationErrorCode.EmptySignInUsername),(0,i.assertValidationError)(!m,n.AuthValidationErrorCode.CustomAuthSignInPassword);try{let{ChallengeName:e,ChallengeParameters:t,AuthenticationResult:r,Session:n}=await (0,u.retryOnResourceNotFoundException)(s.handleCustomAuthFlowWithoutSRP,[p,v,h,d.tokenOrchestrator],p,d.tokenOrchestrator),i=(0,s.getActiveSignInUsername)(p);if((0,o.setActiveSignInState)({signInSession:n,username:i,challengeName:e,signInDetails:S}),r)return await (0,l.cacheCognitoTokens)({username:i,...r,NewDeviceMetadata:await (0,g.getNewDeviceMetadata)({userPoolId:h.userPoolId,userPoolEndpoint:h.userPoolEndpoint,newDeviceMetadata:r.NewDeviceMetadata,accessToken:r.AccessToken}),signInDetails:S}),(0,o.resetActiveSignInState)(),await (0,c.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}};return(0,s.getSignInResult)({challengeName:e,challengeParameters:t})}catch(t){(0,o.resetActiveSignInState)(),(0,a.assertServiceError)(t);let e=(0,s.getSignInResultFromError)(t.name);if(e)return e;throw t}}async function p(e){let{username:u,password:h,options:p}=e,m={loginId:u,authFlowType:"CUSTOM_WITH_SRP"},C=t.Amplify.getConfig().Auth?.Cognito;(0,r.assertTokenProviderConfig)(C);let S=p?.clientMetadata;(0,i.assertValidationError)(!!u,n.AuthValidationErrorCode.EmptySignInUsername),(0,i.assertValidationError)(!!h,n.AuthValidationErrorCode.EmptySignInPassword);try{let{ChallengeName:e,ChallengeParameters:t,AuthenticationResult:r,Session:n}=await (0,s.handleCustomSRPAuthFlow)(u,h,S,C,d.tokenOrchestrator),i=(0,s.getActiveSignInUsername)(u);if((0,o.setActiveSignInState)({signInSession:n,username:i,challengeName:e,signInDetails:m}),r)return await (0,l.cacheCognitoTokens)({username:i,...r,NewDeviceMetadata:await (0,g.getNewDeviceMetadata)({userPoolId:C.userPoolId,userPoolEndpoint:C.userPoolEndpoint,newDeviceMetadata:r.NewDeviceMetadata,accessToken:r.AccessToken}),signInDetails:m}),(0,o.resetActiveSignInState)(),await (0,c.dispatchSignedInHubEvent)(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}};return(0,s.getSignInResult)({challengeName:e,challengeParameters:t})}catch(t){(0,o.resetActiveSignInState)(),(0,a.assertServiceError)(t);let e=(0,s.getSignInResultFromError)(t.name);if(e)return e;throw t}}e.s(["signInWithCustomAuth",0,h],936770),e.s(["signInWithCustomSRPAuth",0,p],691516)}]);
3
4//# debugId=e5a35674-d321-562b-e84b-68848a2ef2b4

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.