1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,453350,e=>{"use strict";var t=e.i(949866),s=e.i(378255);e.s(["AuthPageShell",0,function({title:e,subtitle:r,children:l,footer:i,className:n,sideContent:a}){return(0,t.jsx)("div",{className:"relative min-h-screen overflow-x-hidden bg-page-background text-slate-900",children:(0,t.jsx)("div",{className:"relative z-10 flex min-h-screen flex-col px-4 py-10 sm:px-8",children:(0,t.jsx)("div",{className:"flex flex-1 items-start justify-center lg:items-center",children:(0,t.jsxs)("div",{className:(0,s.cn)("w-full",a?"grid max-w-6xl items-center gap-10 lg:grid-cols-[minmax(0,1.08fr)_minmax(22rem,0.92fr)]":"max-w-md"),children:[a?(0,t.jsx)("div",{children:a}):null,(0,t.jsxs)("div",{className:(0,s.cn)("w-full max-w-md rounded-3xl border border-slate-200 bg-white/80 p-8 shadow-2xl backdrop-blur-2xl sm:p-10",n),children:[(0,t.jsxs)("header",{className:"mb-8 space-y-3 text-center",children:[(0,t.jsx)("h1",{className:"text-3xl font-semibold text-slate-900 sm:text-4xl",children:e}),r&&(0,t.jsx)("p",{className:"text-base text-slate-500",children:r})]}),(0,t.jsx)("div",{className:"space-y-8",children:l}),i&&(0,t.jsx)("div",{className:"mt-8 border-t border-slate-200 pt-6 text-center text-sm text-slate-600",children:i})]})]})})})})}])},643314,e=>{"use strict";var t=e.i(949866);e.i(443366);var s=e.i(141592),r=e.i(453872),l=e.i(335007),i=e.i(451004),n=e.i(828255),a=e.i(294500),o=e.i(761740);function c(){let e=a.default.env.NEXT_PUBLIC_SLOOTHY_SUPPORT_PHONE;return(0,t.jsxs)("div",{className:"text-sm text-slate-500",children:[e?(0,t.jsxs)(t.Fragment,{children:["Telefon: ",(0,t.jsx)("span",{className:"font-medium text-slate-700",children:e}),(0,t.jsx)("span",{className:"mx-2 text-slate-300",children:"·"})]}):(0,t.jsx)("span",{className:"mr-2",children:"Support:"}),(0,t.jsx)(o.FeedbackLauncher,{variant:"text"})]})}var d=e.i(956928),u=e.i(738847),h=e.i(691745),m=e.i(453350);let x=(0,r.default)(()=>e.A(150152).then(e=>e.LoginForm),{loadableGenerated:{modules:[989988]},ssr:!1}),f=(e,t,s)=>{let r=new URLSearchParams;t&&r.set("redirect",t),s&&r.set("slref",s);let l=r.toString();return`/onboarding/${e}${l?`?${l}`:""}`},g=(0,s.observer)(function(){let e=(0,l.useRouter)(),s=(0,l.useSearchParams)(),r=(0,n.useAuthStore)(),a=(0,n.useChatStore)(),o=s.get("mode")||"entry",g=(0,u.normalizeAuthRedirect)(s.get("redirect")),j=s.get("slref"),p=r.user?.accountType,b=(t,s)=>{let r=new URLSearchParams;r.set("mode",t),g&&r.set("redirect",g),j&&r.set("slref",j),Object.entries(s||{}).forEach(([e,t])=>{r.set(e,t)}),e.push(`/login?${r.toString()}`)};return((0,i.useEffect)(()=>(a.hideChatBar(),()=>{a.showChatBar()}),[a]),(0,i.useEffect)(()=>{if("register"!==o)return;let t=s.get("accountType"),r=["seller","buyer","provider"].includes(t||""),l=new URLSearchParams({mode:"role"});g&&l.set("redirect",g),j&&l.set("slref",j),e.replace(r?f(t,g,j):`/login?${l.toString()}`)},[j,o,g,e,s]),(0,i.useEffect)(()=>{r.isInitialized&&r.isAuthenticated&&e.replace(g||(0,d.getDefaultRouteForAccountType)(p))},[r.isAuthenticated,r.isInitialized,p,g,e]),"login"===o)?(0,t.jsx)(m.AuthPageShell,{title:"Willkommen zurück",subtitle:"Melden Sie sich an, um Ihr Projekt fortzusetzen.",sideContent:(0,t.jsx)(h.AuthLoginHero,{}),footer:(0,t.jsx)(c,{}),children:(0,t.jsx)(x,{showHeader:!1,onSuccess:()=>{},onSwitchToRegister:()=>{b("role")}})}):"register"===o?null:"role"===o?(0,t.jsx)(m.AuthPageShell,{title:"Neues Konto",subtitle:"Wie möchten Sie Sloothy nutzen?",className:"max-w-2xl",sideContent:(0,t.jsx)(h.AuthRoleHero,{}),footer:(0,t.jsx)(c,{}),children:(0,t.jsx)(h.AuthRoleChoices,{onSeller:()=>e.push(j?f("seller",g,j):"/fuer-sie/eigentuemer#funnel"),onProvider:()=>e.push(f("provider",g,j)),onBuyer:()=>e.push(f("buyer",g,j)),onBack:()=>b("entry")})}):(0,t.jsx)(m.AuthPageShell,{title:"Willkommen bei Sloothy",subtitle:"Haben Sie bereits ein Konto oder möchten Sie ein neues anlegen?",sideContent:(0,t.jsx)(h.AuthEntryHero,{}),footer:(0,t.jsx)(c,{}),children:(0,t.jsx)(h.AuthEntryChoices,{onLogin:()=>b("login"),onRegister:()=>b("role")})})});e.s(["default",0,g],643314)},150152,e=>{e.v(t=>Promise.all(["static/chunks/0sfg8xgj-18la.js"].map(t=>e.l(t))).then(()=>t(989988)))}]);
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.