PageSourceSearch

https://ai-dropshipping-studio.vercel.app/_next/static/chunks/app/login/page-58eb3367420eeb20.js

js ai-dropshipping-studio.vercel.app collected 2026-10-03 06:12:42 UTC 4,054 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2626],{75380:function(e,t,r){Promise.resolve().then(r.bind(r,93605))},99376:function(e,t,r){"use strict";var n=r(35475);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},93605:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return c}});var n=r(57437),s=r(2265),a=r(99376),i=r(96471);let o=(0,i.Z)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]),l=(0,i.Z)("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);function u(){let e=(0,a.useRouter)(),t=(0,a.useSearchParams)(),[r,i]=(0,s.useState)(""),[u,c]=(0,s.useState)(!1),[d,h]=(0,s.useState)(!1);async function p(n){n.preventDefault(),h(!0),c(!1);try{let n=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:r})}),s=await n.json().catch(()=>({}));if(n.ok&&s.success){let r=t.get("next")||"/";e.push(r),e.refresh()}else c(!0)}catch(e){c(!0)}finally{h(!1)}}return(0,n.jsxs)("div",{className:"glass-panel w-full max-w-[380px] rounded-2xl p-8 shadow-sp-panel",children:[(0,n.jsxs)("div",{className:"mb-6 flex flex-col items-center gap-3 text-center",children:[(0,n.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-xl bg-aurora",children:(0,n.jsx)(o,{className:"h-5 w-5 text-white"})}),(0,n.jsx)("span",{className:"text-[15px] font-bold text-display text-ink",children:"AI Dropshipping Studio"}),(0,n.jsx)("span",{className:"text-[12.5px] text-ink-dim",children:"Enter the password to continue"})]}),(0,n.jsxs)("form",{onSubmit:p,className:"flex flex-col gap-3",children:[(0,n.jsx)("input",{type:"password",autoFocus:!0,value:r,onChange:e=>{i(e.target.value),u&&c(!1)},placeholder:"Password",className:"focus-aurora w-full rounded-[10px] border border-sp-border bg-panel px-3.5 py-2.5 text-[13px] text-ink placeholder:text-ink-faint"}),u&&(0,n.jsx)("p",{className:"text-[12px] text-destructive",children:"Wrong password"}),(0,n.jsxs)("button",{type:"submit",disabled:d||0===r.length,className:"glow-hover glow-hover-strong mt-1 flex items-center justify-center gap-2 rounded-[10px] border border-sp-border-hi bg-panel-hi px-3.5 py-2.5 text-[13px] font-medium text-ink disabled:cursor-not-allowed disabled:opacity-50",children:[(0,n.jsx)(l,{className:"h-4 w-4"}),d?"Signing in…":"Sign in"]})]})]})}function c(){return(0,n.jsx)("div",{className:"flex min-h-screen w-full items-center justify-center bg-aurora-hero px-4",children:(0,n.jsx)(s.Suspense,{fallback:null,children:(0,n.jsx)(u,{})})})}},96471:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(2265);let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:o=2,absoluteStrokeWidth:l,className:u="",children:c,iconNode:d,...h}=e;return(0,n.createElement)("svg",{ref:t,...i,width:s,height:s,stroke:r,strokeWidth:l?24*Number(o)/Number(s):o,className:a("lucide",u),...h},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(c)?c:[c]])}),l=(e,t)=>{let r=(0,n.forwardRef)((r,i)=>{let{className:l,...u}=r;return(0,n.createElement)(o,{ref:i,iconNode:t,className:a("lucide-".concat(s(e)),l),...u})});return r.displayName="".concat(e),r}}},function(e){e.O(0,[2971,2117,1744],function(){return e(e.s=75380)}),_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.