PageSourceSearch

https://bbcc.ai/build/assets/login-BEh3UF2e.js

js bbcc.ai collected 2026-10-05 12:13:08 UTC 9,304 bytes, 16 lines download raw bytes

1import{e as M,r as x,j as e,H as I}from"./app-DP13319Q.js";import{I as g,a as d}from"./input-Du_IreF9.js";import{T as c}from"./text-link-CaiCOl2M.js";import{B as s}from"./button-rFeFNNd5.js";import{C as f}from"./checkbox-C4JdPzUx.js";import{L as i}from"./label-CjdjKtaD.js";import{A as z}from"./auth-layout-D4SvDWCh.js";import{T as P}from"./TermsAndConditionsContent-kgFjQnlB.js";import{P as T}from"./PrivacyPolicyContent-CkZQpeat.js";import{M as H}from"./react-tooltip.min-DW3XhwOj.js";import{L as F}from"./loader-circle-C-YIUsb6.js";/* empty css            */import"./utils-SWYxlXfx.js";import"./clsx-B-dksMZM.js";import"./index-DGVtPzwd.js";import"./index-cNDDvm9q.js";import"./check-BA5_s5ky.js";import"./createLucideIcon-BZKkeQZf.js";import"./app-logo-icon-B_rIw4ab.js";import"./index-CtyZ6W6U.js";function te({status:m,canResetPassword:j,tooltips:l}){const{data:o,setData:r,post:v,processing:h,errors:n,reset:w}=M({email:"",password:"",remember:!1,agree_to_terms:!1}),[b,p]=x.useState(!1),[C,u]=x.useState(!1),t=(l==null?void 0:l["auth-tooltip"])||["Enter your registered email address","Click to reset your password","Enter your account password","Keep me logged in on this device","Read the Terms and Conditions","Read the Privacy Policy","Access your account","Receive a login link in your email","Create a new account","Continue with Google account","Continue with LinkedIn account"],y=a=>{a.preventDefault(),o.agree_to_terms&&v(route("login"),{onFinish:()=>w("password")})},N=()=>p(!0),k=()=>p(!1),_=()=>u(!0),L=()=>u(!1);return e.jsxs(z,{title:"Log in to your account",description:"Enter your email and password below to log in",children:[e.jsx(I,{title:"Log in",children:e.jsx("style",{dangerouslySetInnerHTML:{__html:`
2                            .react-tooltip {
3                                z-index: 99999 !important;
4                                opacity: 1 !important;
5                                font-size: 12px;
6                                padding: 4px 8px;
7                            }
8                            .enhanced-checkbox {
9                                border: 2px solid rgb(156 163 175) !important;
10                                border-radius: 4px;
11                            }
12                            .enhanced-checkbox[data-state="checked"] {
13                                background-color: hsl(142.1 76.2% 36.3%);
14                                border-color: hsl(142.1 76.2% 36.3%) !important;
15                            }
16                        `}})}),e.jsx(H,{id:"auth-tooltip"}),b&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/80 backdrop-blur-sm",children:e.jsx("div",{className:"relative max-w-4xl max-h-[90vh] overflow-y-auto",children:e.jsx(P,{onClose:k})})}),C&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/80 backdrop-blur-sm",children:e.jsx("div",{className:"relative max-w-4xl max-h-[90vh] overflow-y-auto",children:e.jsx(T,{onClose:L})})}),e.jsxs("form",{className:"flex flex-col gap-6",onSubmit:y,children:[e.jsxs("div",{className:"grid gap-6",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(i,{htmlFor:"email",children:"Email address"}),e.jsx(g,{id:"email",type:"email",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"email",value:o.email,onChange:a=>r("email",a.target.value),placeholder:"[email protected]","data-tooltip-id":"auth-tooltip","data-tooltip-content":t[0]}),e.jsx(d,{message:n.email})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(i,{htmlFor:"password",children:"Password"}),j&&e.jsx(c,{href:route("password.request"),className:"ml-auto text-sm",tabIndex:6,"data-tooltip-id":"auth-tooltip","data-tooltip-content":t[1],children:"Forgot password?"})]}),e.jsx(g,{id:"password",type:"password",required:!0,tabIndex:2,autoComplete:"current-password",value:o.password,onChange:a=>r("password",a.target.value),placeholder:"Password","data-tooltip-id":"auth-tooltip","data-tooltip-content":t[2]}),e.jsx(d,{message:n.password})]}),e.jsxs("div",{className:"flex items-center space-x-3",children:[e.jsx(f,{id:"remember",name:"remember",className:"enhanced-checkbox",checked:o.remember,onClick:()=>r("remember",!o.remember),tabIndex:3,"data-tooltip-id":"auth-tooltip","data-tooltip-content":t[3]}),e.jsx(i,{htmlFor:"remember",children:"Remember me"})]}),e.jsxs("div",{className:"flex items-start space-x-3 py-2",children:[e.jsx(f,{id:"agree_to_terms",name:"agree_to_terms",className:"enhanced-checkbox",required:!0,checked:o.agree_to_terms,onClick:()=>r("agree_to_terms",!o.agree_to_terms),tabIndex:4}),e.jsxs(i,{htmlFor:"agree_to_terms",className:"text-sm leading-normal",children:["I agree to the"," ",e.jsx("button",{type:"button",onClick:N,className:"text-primary text-yellow-400 hover:underline focus:outline-none focus:underline",tabIndex:5,"data-tooltip-id":"auth-tooltip","data-tooltip-content":t[4],
16children:"Terms and Conditions"})," ","and"," ",e.jsx("button",{type:"button",onClick:_,className:"text-primary text-yellow-400 hover:underline focus:outline-none focus:underline",tabIndex:6,"data-tooltip-id":"auth-tooltip","data-tooltip-content":t[5],children:"Privacy Policy"})]})]}),e.jsx(d,{message:n.agree_to_terms}),e.jsxs(s,{type:"submit",className:"mt-2 w-full",tabIndex:7,disabled:h,"data-tooltip-id":"auth-tooltip","data-tooltip-content":t[6],children:[h&&e.jsx(F,{className:"h-4 w-4 animate-spin"}),"Log in"]}),e.jsxs("div",{className:"space-y-3",children:[e.jsx(s,{asChild:!0,variant:"outline",className:"w-full","data-tooltip-id":"auth-tooltip","data-tooltip-content":t[9],children:e.jsxs("a",{href:route("auth.google"),children:[e.jsxs("svg",{className:"w-4 h-4 mr-2",viewBox:"0 0 24 24",children:[e.jsx("path",{fill:"currentColor",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),e.jsx("path",{fill:"currentColor",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),e.jsx("path",{fill:"currentColor",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),e.jsx("path",{fill:"currentColor",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),"Login with Google"]})}),e.jsx(s,{asChild:!0,variant:"outline",className:"w-full","data-tooltip-id":"auth-tooltip","data-tooltip-content":"Login with LinkedIn",children:e.jsxs("a",{href:route("login.linkedin"),children:[e.jsx("svg",{className:"w-4 h-4 mr-2",viewBox:"0 0 24 24",fill:"currentColor",children:e.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),"Login with LinkedIn"]})}),e.jsx(s,{asChild:!0,variant:"outline",className:"w-full","data-tooltip-id":"auth-tooltip","data-tooltip-content":"Login with Reddit",children:e.jsxs("a",{href:route("auth.reddit"),children:[e.jsx("svg",{className:"w-4 h-4 mr-2",viewBox:"0 0 24 24",fill:"currentColor",children:e.jsx("path",{d:"M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"})}),"Login with Reddit"]})})]}),e.jsxs("div",{className:"text-muted-foreground text-center text-sm",children:["Or, ",e.jsx(c,{href:route("magic-link.show"),tabIndex:8,"data-tooltip-id":"auth-tooltip","data-tooltip-content":t[7],children:"log in with magic link"})]})]}),e.jsxs("div",{className:"text-muted-foreground text-center text-sm",children:["Don't have an account?"," ",e.jsx(c,{href:route("register"),tabIndex:9,"data-tooltip-id":"auth-tooltip","data-tooltip-content":t[8],children:"Sign up"})]})]}),m&&e.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:m})]})}
16export{te as default};

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.