PageSourceSearch

https://starbank.up.railway.app/_next/static/chunks/pages/index-048dd179d377c70d.js

js starbank.up.railway.app collected 2026-10-03 12:14:17 UTC 5,309 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[332],{396:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>F});var s=a(7876),r=a(4232),i=a(4e3),n=a(7328),l=a.n(n),o=a(8230),A=a.n(o),c=a(4587),x=a.n(c),p=a(2075),d=a(158),m=a(6676),u=a(5068),h=a(4413);let g={src:"/_next/static/media/logo-simple.24169fff.png",height:424,width:656,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAKlBMVEVMaXH////////////7//////////////8A1I8F0pEAz4kA1ZD////////aGozyAAAADnRSTlMAhh54EFJpM05bd3aYX7jDoPgAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAArSURBVHicFcbJEQAgDAOxtRMIZ//tMuglyCTZA6v1aGtiXSkAd534oexKeA2tAI9thwIxAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5};var b=a(5816),f=a(8056),y=a(1372),w=a(1398),j=a(7485),N=a(6374),S=a(2324),k=a(178),v=a(303),E=a(7960),B=a(2500);function F(){let e=(0,i.useRouter)(),[t,a]=(0,r.useState)(""),[n,o]=(0,r.useState)(""),{setEmailContext:c}=(0,B.u)(),{t:F,i18n:C}=(0,d.Bd)(),_=C.language||"en",G="en"===_?b.A:"zh"===_?f.A:"hi"===_?y.A:"es"===_?w.A:"pt-BR"===_?j.A:"ru"===_?N.A:"fr"===_?S.A:"de"===_?k.A:"ja"===_?v.A:"it"===_?E.A:b.A,R=["en","zh","hi","es","pt-BR","ru","fr","de","ja","it"],O=async a=>{a.preventDefault(),localStorage.setItem("localPassword",n);try{let a=await u.A.post("".concat("https://starbank-backend.up.railway.app","/auth/login"),{email:t,password:n});200===a.status&&(c(t),e.push("/home"))}catch(e){var s,r;(null==(s=e.response)?void 0:s.status)===401?alert(F("wrongPassword")):(null==(r=e.response)?void 0:r.status)===404?alert(F("userNotFound")):alert(F("loginError"))}};return(0,s.jsxs)("main",{className:"h-screen bg-primary select-none",children:[(0,s.jsx)(l(),{children:(0,s.jsx)("title",{children:"StarBank"})}),(0,s.jsxs)(m.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.6,ease:"easeInOut"},children:[(0,s.jsxs)("header",{className:"flex flex-row sm:items-start px-5 sm:px-10 pt-[20px] sm:pt-[30px] md:items-center justify-between md:justify-center",children:[(0,s.jsxs)("div",{className:"flex flex-col md:mt-[20px]",children:[(0,s.jsx)(x(),{src:g,alt:"StarBank logo",className:"block sm:hidden w-[110px] h-[70px]"}),(0,s.jsx)("h1",{className:"shine-text hidden md:block text-[30px] mb-[-10px] mr-[130px]",children:F("welcome")}),(0,s.jsx)(x(),{src:h.A,alt:"StarBank logo",priority:!0,className:"hidden sm:block w-[300px] h-[60px]"})]}),(0,s.jsx)("button",{onClick:()=>(()=>{let e=C.language,t=(R.indexOf(e)+1)%R.length;p.A.changeLanguage(R[t])})(),className:"sm:mr-[-8px] md:absolute md:right-[30px] md:mb-[70px] opacity-50 hover:opacity-100 transition duration-300 ease active:opacity-50",children:(0,s.jsx)(x(),{src:G,alt:"Country flag",className:"w-[50px] h-[50px] sm:w-[60px] sm:h-[60px]"})})]}),(0,s.jsx)("div",{className:"flex justify-center mt-[-30px] scale-[75%] sm:mt-[80px] sm:scale-[100%] md:mt-[60px]",children:(0,s.jsxs)("form",{onSubmit:O,className:"flex flex-col justify-center w-[450px] h-[520px] bg-secondary border-tertiary border-[2px] px-12 py-6 rounded-[25px]",children:[(0,s.jsxs)("fieldset",{className:"flex flex-col group",children:[(0,s.jsx)("label",{htmlFor:"email",className:"text-[25px] text-tertiary group-focus-within:text-sbgreen transition duration-300 ease",children:F("email")}),(0,s.jsx)("input",{type:"email",onChange:e=>a(e.target.value),className:"mt-1 mb-[30px] h-[50px] pl-3 text-[20px] rounded-lg border-tertiary border-[2px] bg-primary focus:outline-none focus:border-sbgreen transition duration-300 ease"})]}),(0,s.jsxs)("fieldset",{className:"flex flex-col group",children:[(0,s.jsx)("label",{htmlFor:"password",className:"text-[25px] text-tertiary group-focus-within:text-sbgreen transition duration-300 ease",children:F("password")}),(0,s.jsx)("input",{type:"password",onChange:e=>o(e.target.value),className:"mt-1 mb-[8px] h-[50px] pl-3 text-[20px] rounded-lg border-tertiary border-[2px] bg-primary focus:outline-none focus:border-sbgreen transition duration-300 ease"}),(0,s.jsx)(A(),{href:"/forgotPassword",className:"mb-[45px] text-center text-sbgreen text-[20px] font-medium whitespace-nowrap opacity-50 hover:opacity-100 transition duration-300 ease active:opacity-50",children:F("forgotPassword")})]}),(0,s.jsx)("button",{type:"submit",className:"mt-1 mb-[45px] py-[10px] text-center text-[30px] font-semibold rounded-lg bg-sbgreen bg-opacity-50 active:bg-opacity-25 transition duration-200 ease",children:F("login")}),(0,s.jsxs)("div",{className:"flex flex-row gap-2 justify-center text-[18px] sm:text-[23px]",children:[(0,s.jsx)("h2",{className:"shine-text",children:F("noAccount")}),(0,s.jsx)(A(),{href:"/register",className:"text-sbgreen font-medium opacity-50 hover:opacity-100 transition duration-300 ease active:opacity-50",children:F("register")})]})]})})]},"login")]})}},4413:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s={src:"/_next/static/media/logo.e7f7ed97.png",height:182,width:892,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAFVBMVEX////////////////////O+Oz///9Y4nG4AAAAB3RSTlNzEyOELypGKjkNMwAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABpJREFUeJxjYGFkZGNiZGJlYGBmYGZmYGAAAAFnACAOJqDSAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:2}},6760:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return a(396)}])}},e=>{e.O(0,[676,144,95,619,163,636,593,792],()=>e(e.s=6760)),_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.