PageSourceSearch

https://dashboard.voicedock.ai/_next/static/chunks/app/%5Blocale%5…?dpl=dpl_GYGRkCSnE6zuFmankUUmdZNDmxQz

js voicedock.ai collected 2026-10-05 13:47:16 UTC 15,568 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5495],{1933:(e,t,r)=>{"use strict";r.d(t,{jH:()=>s});var n=r(12115);r(95155);var a=n.createContext(void 0);function s(e){let t=n.useContext(a);return e||t||"ltr"}},4588:(e,t,r)=>{"use strict";r.d(t,{r:()=>a});let n=(0,r(93474).A)({locales:["en","nl"],defaultLocale:"nl"});async function a(e,t){try{let{data:r}=await e.auth.getUser();if(!r.user)return t;let{data:a}=await e.from("accounts").select("preferred_language").eq("user_id",r.user.id).single(),s=a?.preferred_language;if(s&&n.locales.includes(s))return s}catch{}return t}},6296:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(78340).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},8416:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var n=r(95155),a=r(7236),s=r(4588),l=r(4474),i=r(39658),o=r(79792),c=r(73321),u=r(12115),d=r(50910),m=r(53925),f=r(6296),h=r(82277),p=r(98500),x=r.n(p),g=r(5772),y=r(58282),v=r(17270);function b(){let[e,t]=(0,u.useState)(""),[r,p]=(0,u.useState)(""),[b,w]=(0,u.useState)(null),[N,k]=(0,u.useState)(!1),[j,E]=(0,u.useState)(!1),[A,S]=(0,u.useState)(null),T=(0,u.useRef)(null),M=(0,c.useRouter)(),C=(0,c.useParams)().locale,R=(0,d.c)("auth"),I=(0,d.c)("errors"),[L,O]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let e=window.location.hash;if(!e||!e.includes("type=recovery"))return;O(!0);let t=(0,a.U)(),r=!1,n=()=>{r||(r=!0,M.replace(`/${C}/reset-password`))},{data:{subscription:s}}=t.auth.onAuthStateChange((e,t)=>{("PASSWORD_RECOVERY"===e||"SIGNED_IN"===e&&t||"INITIAL_SESSION"===e&&t)&&n()}),l=setTimeout(async()=>{if(r)return;let{data:{session:e}}=await t.auth.getSession();e?n():O(!1)},5e3);return()=>{s.unsubscribe(),clearTimeout(l)}},[C,M]);let P=async t=>{if(t.preventDefault(),!A){w(R("captchaPending")),T.current?.reset();return}let n=(0,a.U)();k(!0),w(null);try{let{error:t}=await n.auth.signInWithPassword({email:e,password:r,options:{captchaToken:A}});if(t)throw t;let{data:a}=await n.auth.mfa.getAuthenticatorAssuranceLevel(),l=await (0,s.r)(n,C);a?.currentLevel==="aal1"&&a?.nextLevel==="aal2"?M.push(`/${l}/verify-2fa`):M.push(`/${l}/dashboard`)}catch(e){w(e instanceof Error?e.message:I("saveFailed")),T.current?.reset()}finally{k(!1)}};return L?(0,n.jsx)("div",{className:"flex min-h-svh items-center justify-center bg-gradient-to-br from-background via-background to-primary/5",children:(0,n.jsx)(f.A,{className:"h-8 w-8 animate-spin text-primary"})}):(0,n.jsxs)("div",{className:"relative flex min-h-svh w-full bg-gradient-to-br from-background via-background to-primary/5",children:[(0,n.jsx)(y.U,{}),(0,n.jsx)("div",{className:"hidden lg:flex lg:w-1/2 xl:w-3/5 relative flex-col items-center justify-center p-12",children:(0,n.jsxs)("div",{className:"relative z-10 text-center max-w-lg",children:[(0,n.jsx)("h1",{className:"text-4xl xl:text-5xl font-bold bg-gradient-to-br from-primary via-primary to-primary/70 bg-clip-text text-transparent mb-6 text-balance",children:R("welcomeBack")}),(0,n.jsx)("p",{className:"text-lg text-muted-foreground text-balance",children:R("loginWelcomeMessage")})]})}),(0,n.jsxs)("div",{className:"w-full lg:w-1/2 xl:w-2/5 flex flex-col items-center justify-center p-6 md:p-10 relative",children:[(0,n.jsxs)("div",{className:"absolute top-6 right-6 flex items-center gap-2 z-20",children:[(0,n.jsx)(h.U,{}),(0,n.jsx)(m.c,{})]}),(0,n.jsxs)("div",{className:"w-full max-w-md relative z-10",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center mb-8",children:[(0,n.jsx)(g.default,{src:"/voicedock-logo.png",alt:"VoiceDock",width:96,height:96,className:"mb-4 dark:invert"}),(0,n.jsx)("h2",{className:"text-2xl font-bold tracking-tight text-foreground",children:R("loginTitle")}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground mt-2",children:R("loginDescription")})]}),(0,n.jsxs)("div",{className:"bg-card/80 backdrop-blur-sm rounded-2xl p-8 shadow-lg border border-border/50",children:[(0,n.jsxs)("form",{onSubmit:P,className:"space-y-5",children:[(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)(o.Label,{htmlFor:"email",className:"text-sm font-medium text-foreground",children:R("email")}),(0,n.jsx)(i.p,{id:"email",type:"email",placeholder:R("emailPlaceholder"),required:!0,value:e,onCh
1ange:e=>t(e.target.value),className:"h-12 rounded-xl bg-background/80 border-border text-foreground placeholder:text-muted-foreground focus:border-primary focus:ring-primary/20"})]}),(0,n.jsxs)("div",{className:"space-y-2",children:[(0,n.jsx)(o.Label,{htmlFor:"password",className:"text-sm font-medium text-foreground",children:R("password")}),(0,n.jsx)(i.p,{id:"password",type:"password",placeholder:R("passwordPlaceholder"),required:!0,value:r,onChange:e=>p(e.target.value),className:"h-12 rounded-xl bg-background/80 border-border text-foreground focus:border-primary focus:ring-primary/20"})]}),(0,n.jsx)(v.$,{ref:T,onToken:S,className:"flex justify-center"}),b&&(0,n.jsx)("div",{className:"p-4 rounded-xl bg-destructive/10 border border-destructive/20",children:(0,n.jsx)("p",{className:"text-sm text-destructive",children:b})}),(0,n.jsx)(l.$,{type:"submit",className:"w-full h-12 rounded-xl text-base font-medium bg-primary hover:bg-primary/90 text-primary-foreground shadow-md hover:shadow-lg transition-all duration-200",disabled:N||j,children:N?(0,n.jsx)(f.A,{className:"h-5 w-5 animate-spin"}):R("login")})]}),(0,n.jsx)("div",{className:"mt-4 text-center",children:(0,n.jsx)(x(),{href:`/${C}/forgot-password`,className:"text-sm text-primary hover:underline",children:R("forgotPassword")})})]}),(0,n.jsxs)("p",{className:"text-center text-sm text-muted-foreground mt-6",children:[R("noAccount")," ",(0,n.jsx)(x(),{href:`/${C}/register`,className:"text-primary hover:underline font-medium",children:R("registerHere")})]})]})]})]})}},17270:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var n=r(95155),a=r(12115),s=r(53256);let l=r(41463).env.NEXT_PUBLIC_TURNSTILE_SITE_KEY||"0x4AAAAAAFEWTl4bgd1g0pIM",i="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",o=null,c=(0,a.forwardRef)(function({onToken:e,className:t},r){let c=(0,s.Ym)(),d=(0,a.useRef)(null),m=(0,a.useRef)(null),f=(0,a.useRef)(e);(0,a.useEffect)(()=>{f.current=e},[e]),(0,a.useEffect)(()=>{let e=!1;return(window.turnstile?Promise.resolve(window.turnstile):o||(o=new Promise((e,t)=>{let r=document.querySelector(`script[src="${i}"]`),n=r??document.createElement("script"),a=()=>{window.turnstile?e(window.turnstile):t(Error("Turnstile geladen maar window.turnstile ontbreekt"))};n.addEventListener("load",a),n.addEventListener("error",()=>{o=null,t(Error("Turnstile-script kon niet worden geladen"))}),r?window.turnstile&&a():(n.src=i,n.async=!0,n.defer=!0,document.head.appendChild(n))}))).then(t=>{e||!d.current||m.current||(m.current=t.render(d.current,{sitekey:l,theme:"auto",language:"nl"===c?"nl":"en",callback:e=>f.current(e),"expired-callback":()=>f.current(null),"timeout-callback":()=>f.current(null),"error-callback":()=>f.current(null)}))}).catch(()=>{}),()=>{e=!0,u(()=>{m.current&&window.turnstile?.remove(m.current)}),m.current=null}},[c]);let h=(0,a.useCallback)(()=>{f.current(null),u(()=>{m.current&&window.turnstile?.reset(m.current)})},[]);return(0,a.useImperativeHandle)(r,()=>({reset:h}),[h]),(0,n.jsx)("div",{ref:d,className:t})});function u(e){try{e()}catch{}}},29486:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var n=r(12115),a=r(55897),s=r(95155),l=n.forwardRef((e,t)=>(0,s.jsx)(a.sG.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName="Label";var i=l},36999:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(78340).A)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},50910:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(53256);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let s=a(0,n.c3);a(0,n.kc)},51900:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(78340).A)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},70460:(e,t,r)=>{"use strict";r.d(t,{D:()=>c,N:()=>u});var n=r(12115),a=(e,t,r,n,a,s,l,i)=>{let o=document.documentElement,c=["light","dark"];function u(t){var r;
1(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&s?a.map(e=>s[e]||e):a;r?(o.classList.remove(...n),o.classList.add(s&&s[t]?s[t]:t)):o.setAttribute(e,t)}),r=t,i&&c.includes(r)&&(o.style.colorScheme=r)}if(n)u(n);else try{let e=localStorage.getItem(t)||r,n=l&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;u(n)}catch(e){}},s=["light","dark"],l="(prefers-color-scheme: dark)",i=n.createContext(void 0),o={setTheme:e=>{},themes:[]},c=()=>{var e;return null!=(e=n.useContext(i))?e:o},u=e=>n.useContext(i)?n.createElement(n.Fragment,null,e.children):n.createElement(m,{...e}),d=["light","dark"],m=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:a=!0,storageKey:o="theme",themes:c=d,defaultTheme:u=r?"system":"light",attribute:m="data-theme",value:g,children:y,nonce:v,scriptProps:b})=>{let[w,N]=n.useState(()=>h(o,u)),[k,j]=n.useState(()=>"system"===w?x():w),E=g?Object.values(g):c,A=n.useCallback(e=>{let n=e;if(!n)return;"system"===e&&r&&(n=x());let l=g?g[n]:n,i=t?p(v):null,o=document.documentElement,c=e=>{"class"===e?(o.classList.remove(...E),l&&o.classList.add(l)):e.startsWith("data-")&&(l?o.setAttribute(e,l):o.removeAttribute(e))};if(Array.isArray(m)?m.forEach(c):c(m),a){let e=s.includes(u)?u:null,t=s.includes(n)?n:e;o.style.colorScheme=t}null==i||i()},[v]),S=n.useCallback(e=>{let t="function"==typeof e?e(w):e;N(t);try{localStorage.setItem(o,t)}catch(e){}},[w]),T=n.useCallback(t=>{j(x(t)),"system"===w&&r&&!e&&A("system")},[w,e]);n.useEffect(()=>{let e=window.matchMedia(l);return e.addListener(T),T(e),()=>e.removeListener(T)},[T]),n.useEffect(()=>{let e=e=>{e.key===o&&(e.newValue?N(e.newValue):S(u))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[S]),n.useEffect(()=>{A(null!=e?e:w)},[e,w]);let M=n.useMemo(()=>({theme:w,setTheme:S,forcedTheme:e,resolvedTheme:"system"===w?k:w,themes:r?[...c,"system"]:c,systemTheme:r?k:void 0}),[w,S,e,k,r,c]);return n.createElement(i.Provider,{value:M},n.createElement(f,{forcedTheme:e,storageKey:o,attribute:m,enableSystem:r,enableColorScheme:a,defaultTheme:u,value:g,themes:c,nonce:v,scriptProps:b}),y)},f=n.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:s,enableColorScheme:l,defaultTheme:i,value:o,themes:c,nonce:u,scriptProps:d})=>{let m=JSON.stringify([r,t,i,e,c,o,s,l]).slice(1,-1);return n.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:`(${a.toString()})(${m})`}})}),h=(e,t)=>{let r;try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t},p=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},x=e=>(e||(e=window.matchMedia(l)),e.matches?"dark":"light")},76094:(e,t,r)=>{"use strict";r.d(t,{N:()=>o});var n=r(12115),a=r(68599),s=r(47527),l=r(42442),i=r(95155);function o(e){let t=e+"CollectionProvider",[r,o]=(0,a.A)(t),[c,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,a=n.useRef(null),s=n.useRef(new Map).current;return(0,i.jsx)(c,{scope:t,itemMap:s,collectionRef:a,children:r})};d.displayName=t;let m=e+"CollectionSlot",f=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,a=u(m,r),o=(0,s.s)(t,a.collectionRef);return(0,i.jsx)(l.DX,{ref:o,children:n})});f.displayName=m;let h=e+"CollectionItemSlot",p="data-radix-collection-item",x=n.forwardRef((e,t)=>{let{scope:r,children:a,...o}=e,c=n.useRef(null),d=(0,s.s)(t,c),m=u(h,r);return n.useEffect(()=>(m.itemMap.set(c,{ref:c,...o}),()=>void m.itemMap.delete(c))),(0,i.jsx)(l.DX,{...{[p]:""},ref:d,children:a})});return x.displayName=h,[{Provider:d,Slot:f,ItemSlot:x},function(t){let r=u(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${p}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},o]}},83935:(e,t,r)=>{"use strict";r.d(t,{C:()=>l});var n=r(12115),a=r(47527),s=r(66294),l=e=>{var t;let r,l,{present:o,children:c}=e,u=function(e){var t,r;let[a,l]=n.useState(),o=n.useRef({}),c=n.useRef(e),u=n.useRef("none"),[d,m]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>
1r[e][t]??e,t));return n.useEffect(()=>{let e=i(o.current);u.current="mounted"===d?e:"none"},[d]),(0,s.N)(()=>{let t=o.current,r=c.current;if(r!==e){let n=u.current,a=i(t);e?m("MOUNT"):"none"===a||t?.display==="none"?m("UNMOUNT"):r&&n!==a?m("ANIMATION_OUT"):m("UNMOUNT"),c.current=e}},[e,m]),(0,s.N)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=i(o.current).includes(r.animationName);if(r.target===a&&n&&(m("ANIMATION_END"),!c.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(u.current=i(o.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}m("ANIMATION_END")},[a,m]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{e&&(o.current=getComputedStyle(e)),l(e)},[])}}(o),d="function"==typeof c?c({present:u.isPresent}):n.Children.only(c),m=(0,a.s)(u.ref,(t=d,(l=(r=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.ref:(l=(r=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof c||u.isPresent?n.cloneElement(d,{ref:m}):null};function i(e){return e?.animationName||"none"}l.displayName="Presence"},91614:(e,t,r)=>{Promise.resolve().then(r.bind(r,8416))},92451:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(78340).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},92972:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(78340).A)("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},93474:(e,t,r)=>{"use strict";function n(e){return e}r.d(t,{A:()=>n})}},e=>{e.O(0,[5730,8409,3256,478,4697,8500,417,5772,393,6685,8441,3794,7358],()=>e(e.s=91614)),_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.