PageSourceSearch

https://mysoft.ai/_next/static/chunks/pages/auth/signup-c4df58370d56b2cc.js

js mysoft.ai collected 2026-10-05 13:57:25 UTC 3,817 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[613],{1906:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/signup",function(){return r(2760)}])},1046:function(e,t,r){"use strict";r.d(t,{O:function(){return a}});let a=(0,r(2629).createClient)("https://ivvaetsnjyfqurrxsmyk.supabase.co","sb_publishable_Fsvsm_6jskIugGOsHQq7XA_YaAABQ_q")},2760:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return u}});var a=r(5893),l=r(7294),s=r(1046),n=r(1163);function u(){let e=(0,n.useRouter)(),[t,r]=(0,l.useState)(""),[u,o]=(0,l.useState)(""),[c,d]=(0,l.useState)("buyer"),[i,b]=(0,l.useState)(""),[m,x]=(0,l.useState)(!1),[g,h]=(0,l.useState)(null),y=async()=>{x(!0),h(null);let{error:r}=await s.O.auth.signUp({email:t,password:u,options:{emailRedirectTo:"https://mysoft.ai/auth/callback",data:{full_name:i,role:c}}});r?h(r.message):e.push("/"),x(!1)};return(0,a.jsx)("main",{className:"min-h-screen bg-gray-950 text-white flex items-center justify-center",children:(0,a.jsxs)("div",{className:"bg-gray-900 p-8 rounded-xl border border-gray-800 w-full max-w-md",children:[(0,a.jsx)("a",{href:"/",className:"inline-block mb-2",children:(0,a.jsx)("img",{src:"/mysoft_new_400.png",alt:"mysoft.ai",style:{height:"40px",width:"auto"}})}),(0,a.jsx)("h1",{className:"text-2xl font-bold mb-6",children:"Create Account"}),g&&(0,a.jsx)("div",{className:"bg-red-900 border border-red-700 text-red-300 px-4 py-3 rounded mb-4",children:g}),(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("label",{className:"block text-gray-400 text-sm mb-2",children:"Full Name"}),(0,a.jsx)("input",{type:"text",value:i,onChange:e=>b(e.target.value),className:"w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 text-white focus:outline-none focus:border-blue-500",placeholder:"Your full name"})]}),(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("label",{className:"block text-gray-400 text-sm mb-2",children:"Email"}),(0,a.jsx)("input",{type:"email",value:t,onChange:e=>r(e.target.value),className:"w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 text-white focus:outline-none focus:border-blue-500",placeholder:"[email protected]"})]}),(0,a.jsxs)("div",{className:"mb-4",children:[(0,a.jsx)("label",{className:"block text-gray-400 text-sm mb-2",children:"Password"}),(0,a.jsx)("input",{type:"password",value:u,onChange:e=>o(e.target.value),className:"w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 text-white focus:outline-none focus:border-blue-500",placeholder:"••••••••"})]}),(0,a.jsxs)("div",{className:"mb-6",children:[(0,a.jsx)("label",{className:"block text-gray-400 text-sm mb-2",children:"I want to"}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,a.jsx)("button",{onClick:()=>d("buyer"),className:"py-3 rounded-lg border transition font-medium ".concat("buyer"===c?"border-blue-500 bg-blue-900 text-blue-300":"border-gray-700 text-gray-400 hover:border-gray-500"),children:"\uD83D\uDED2 Buy AI Products"}),(0,a.jsx)("button",{onClick:()=>d("seller"),className:"py-3 rounded-lg border transition font-medium ".concat("seller"===c?"border-blue-500 bg-blue-900 text-blue-300":"border-gray-700 text-gray-400 hover:border-gray-500"),children:"\uD83D\uDE80 Sell AI Products"})]})]}),(0,a.jsx)("button",{onClick:y,disabled:m,className:"w-full bg-blue-600 hover:bg-blue-700 py-3 rounded-lg font-semibold transition disabled:opacity-50",children:m?"Creating account...":"Create Account"}),(0,a.jsxs)("p",{className:"text-center text-gray-400 mt-4",children:["Already have an account?"," ",(0,a.jsx)("a",{href:"/auth/login",className:"text-blue-400 hover:underline",children:"Sign In"})]})]})})}},1163:function(e,t,r){e.exports=r(3079)}},function(e){e.O(0,[629,888,774,179],function(){return e(e.s=1906)}),_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.