PageSourceSearch

https://www.beatnews.ai/_next/static/chunks/app/api/auth/signin/pa…?dpl=dpl_Hw1iJgMzz8SinkpLE27VQtvcMgGJ

js beatnews.ai collected 2026-10-05 15:28:13 UTC 6,060 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[999],{37912:(e,r,s)=>{Promise.resolve().then(s.bind(s,46817))},46817:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>y});var t=s(95155),o=s(12115),a=s(19371),i=s(72994),n=s(79747),l=s(69539),c=s(77691),d=s(28708),u=s(17167),m=s(61650),p=s(55866),h=s(87880),x=s(25069),g=s(48366),v=s(94822),j=s(76046),b=s(3269),w=s(86901);function f(){let e=(0,j.useRouter)(),r=(0,j.useSearchParams)().get("callbackUrl")||"/feed",s=(0,g.m)({initialValues:{username:"",password:""},validate:{username:e=>e.length<1?"Username or email is required":null,password:e=>e.length<1?"Password is required":null}}),o=async s=>{try{let t=await (0,v.Jv)("credentials",{redirect:!1,Username:s.username,Password:s.password});if(null==t?void 0:t.error){b.$e.show({title:"Sign in failed",message:"Incorrect username or password. Please try again.",color:"red"});return}e.push(r)}catch(e){b.$e.show({title:"Error",message:"An error occurred during sign in",color:"red"})}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{style:{backgroundColor:"#1976d2",height:"60px",display:"flex",alignItems:"center",padding:"0 16px"},children:(0,t.jsx)(a.Text,{c:"white",fw:700,size:"xl",children:"Sign In"})}),(0,t.jsxs)(i.Container,{size:"xs",mt:"xl",children:[(0,t.jsx)(n.Center,{mb:"xl",children:(0,t.jsx)(w.A,{black:!0,w:"120px"})}),(0,t.jsxs)(l.Paper,{radius:"md",p:"xl",withBorder:!0,shadow:"sm",children:[(0,t.jsx)(c.Title,{order:2,ta:"center",mb:"xl",children:"Welcome back!"}),(0,t.jsx)(d.Button,{fullWidth:!0,variant:"outline",onClick:()=>{(0,v.Jv)("google",{callbackUrl:r})},mb:"xl",size:"md",children:"Sign in with Google"}),(0,t.jsx)(u.Divider,{label:"Or continue with username or email",labelPosition:"center",my:"lg"}),(0,t.jsx)("form",{onSubmit:s.onSubmit(o),children:(0,t.jsxs)(m.Stack,{children:[(0,t.jsx)(p.TextInput,{label:"Username or Email",placeholder:"Username or Email",required:!0,size:"md",...s.getInputProps("username")}),(0,t.jsx)(h.PasswordInput,{label:"Password",placeholder:"Your password",required:!0,size:"md",...s.getInputProps("password")}),(0,t.jsx)(x.Anchor,{component:"a",href:"/forgot-password",size:"sm",ta:"right",children:"Forgot password?"}),(0,t.jsx)(d.Button,{type:"submit",fullWidth:!0,mt:"xl",size:"md",children:"Sign in"})]})})]})]})]})}function y(){return(0,t.jsx)(o.Suspense,{fallback:(0,t.jsx)("div",{children:"Loading sign-in..."}),children:(0,t.jsx)(f,{})})}},86901:(e,r,s)=>{"use strict";s.d(r,{A:()=>a});var t=s(95155),o=s(91663);function a(e){let{black:r=!1,white:s=!1,...a}=e;return(0,t.jsx)(o.Image,{...a,src:"/logov5.jpeg",alt:"BeatNews-AI Logo"})}},25069:(e,r,s)=>{"use strict";s.d(r,{Anchor:()=>d});var t=s(95155),o=s(43463);s(12115);var a=s(16407),i=s(60668),n=s(19371),l={root:"m_849cf0da"};let c={underline:"hover"},d=(0,i.polymorphicFactory)((e,r)=>{let{underline:s,className:i,unstyled:d,mod:u,...m}=(0,a.useProps)("Anchor",c,e);return(0,t.jsx)(n.Text,{component:"a",ref:r,className:(0,o.A)({[l.root]:!d},i),...m,mod:[{underline:s},u],__staticSelector:"Anchor",unstyled:d})});d.classes=l,d.displayName="@mantine/core/Anchor"},79747:(e,r,s)=>{"use strict";s.d(r,{Center:()=>d});var t=s(95155);s(12115);var o=s(16407),a=s(5963),i=s(51743),n=s(60668),l={root:"m_4451eb3a"};let c={},d=(0,n.polymorphicFactory)((e,r)=>{let s=(0,o.useProps)("Center",c,e),{classNames:n,className:d,style:u,styles:m,unstyled:p,vars:h,inline:x,mod:g,...v}=s,j=(0,a.useStyles)({name:"Center",props:s,classes:l,className:d,style:u,classNames:n,styles:m,unstyled:p,vars:h});return(0,t.jsx)(i.Box,{ref:r,mod:[{inline:x},g],...j("root"),...v})});d.classes=l,d.displayName="@mantine/core/Center"},17167:(e,r,s)=>{"use strict";s.d(r,{Divider:()=>h});var t=s(95155);s(12115);var o=s(14987),a=s(42075),i=s(27151),n=s(16407),l=s(5963),c=s(51743),d=s(26707),u={root:"m_3eebeb36",label:"m_9e365f20"};let m={orientation:"horizontal"},p=(0,a.createVarsResolver)((e,r)=>{let{color:s,variant:t,size:a}=r;return{root:{"--divider-color":s?(0,i.getThemeColor)(s,e):void 0,"--divider-border-style":t,"--divider-size":(0,o.getSize)(a,"divider-size")}}}),h=(0,d.factory)((e,r)=>{let s=(0,n.useProps)("Divider",m,e),{classNames:o,className:a,style:i,styles:d,unstyled:h,vars:x,color:g,orientation:v,label:j,labelPosition:b,mod:w,...f}=s,y=(0,l.useStyles)({name:"Divider",classes:u,props:s,className:a,style:i,classNames:o,styles:d,unstyled:h,vars:x,varsResolver:p});return(0,t.jsx)(c.Box,{ref:r,mod:[{orientation:v,"with-label":!!j},w],...y("root"),...f,role:"separator",children:j&&(0,t.jsx)(c.Box,{component:"span",mod:{position:b},...y("label"),children:j})})});h.classes=u,h.displayName="@mantine/core/Divider"},91663:(e,r,s)=>{"use strict";s.d(r,{Image:()=>h});var t=s(95155),o=s(12115),a=s(14987),i=s(42075),n=s(16407),l=s(5963),c=s(51743),d=s(60668),u={root:"m_9e117634"};let m={},p=(0,i.createVarsResolver)((e,r)=>{let{radius:s,fit:t}=r;return{root:{"--image-radius":void 0===s?void 0:(0,a.getRadius)(s),"--image-object-fit":t}}}),h=(0,d.polymorphicFactory)((e,r)=>{let s=(0,n.useProps)("Image",m,e),{classNames:a,className:i,style:d,styles:h,unstyled:x,vars:g,onError:v,src:j,radius:b,fit:w,fallbackSrc:f,mod:y,...I}=s,[P,S]=(0,o.useState)(!j);(0,o.useEffect)(()=>S(!j),[j]);let _=(0,l.useStyles)({name:"Image",classes:u,props:s,className:i,style:d,classNames:a,styles:h,unstyled:x,vars:g,varsResolver:p});return P&&f?(0,t.jsx)(c.Box,{component:"img",ref:r,src:f,..._("root"),onError:v,mod:["fallback",y],...I}):(0,t.jsx)(c.Box,{component:"img",ref:r,..._("root"),src:j,onError:e=>{null==v||v(e),S(!0)},mod:y,...I})});h.classes=u,h.displayName="@mantine/core/Image"},55866:(e,r,s)=>{"use strict";s.d(r,{TextInput:()=>l});var t=s(95155);s(12115);var o=s(16407),a=s(26707),i=s(3674);let n={},l=(0,a.factory)((e,r)=>{let s=(0,o.useProps)("TextInput",n,e);return(0,t.jsx)(i.InputBase,{component:"input",ref:r,...s,__staticSelector:"TextInput"})});l.classes=i.InputBase.classes,l.displayName="@mantine/core/TextInput"}},e=>{var r=r=>e(e.s=r);e.O(0,[4227,3431,7880,652,2447,8441,1517,7358],()=>r(37912)),_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.