1import{d as u,j as e,m as x,H as f,o as g,S as b,s as h,p as n}from"./vendor-DMXidktG.js";import{C as p,a as j,b as y,d as v}from"./card-r8pgCFQZ.js";import{c as w,B as N}from"./button-Dri5X2zT.js";const c=u.forwardRef(({className:t,...s},a)=>e.jsx("textarea",{className:w("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...s}));c.displayName="Textarea";const k=({email:t})=>{const{data:s,setData:a,post:d,processing:l,reset:i,errors:o}=x({message:""}),m=r=>{r.preventDefault(),d(h("bp.agreement.contact"),{onSuccess:()=>{i(),n.success("Your message has been sent successfully.")},onError:()=>{n.error("Failed to send message. Please try again.")}})};return e.jsxs("div",{className:"min-h-screen bg-[#F8F8F8] flex flex-col items-center justify-center p-4 text-center",children:[e.jsx(f,{title:"Access Issue"}),e.jsxs(p,{className:"w-full max-w-md border-none shadow-lg",children:[e.jsxs(j,{children:[e.jsx("div",{className:"flex justify-center mb-2",children:e.jsx("div",{className:"bg-red-100 p-4 rounded-full",children:e.jsx(g,{className:"h-12 w-12 text-red-600"})})}),e.jsx(y,{className:"text-2xl font-bold",children:"We're Sorry"})]}),e.jsxs(v,{children:[e.jsx("p",{className:"text-[#707070] mb-6",children:"Our team has been notified of this issue. We will review your account and reach out to you shortly to resolve this."}),e.jsx("div",{className:"pt-4 border-t border-gray-100 text-left",children:e.jsxs("form",{onSubmit:m,className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"message",className:"block text-sm font-medium mb-1",children:"Send us a message"}),e.jsx(c,{id:"message",placeholder:"Let us know what you were looking for so we can help you get access.",className:"w-full min-h-[100px] bg-gray-50 border-gray-200 focus:border-blue-500 focus:ring-blue-500",value:s.message,onChange:r=>a("message",r.target.value),required:!0}),o.message&&e.jsx("p",{className:"text-red-500 text-xs mt-1",children:o.message})]}),e.jsxs(N,{type:"submit",variant:"destructive",className:"w-full",disabled:l,children:[e.jsx(b,{className:"h-4 w-4"}),l?"Sending...":"Send Message"]})]})})]})]})]})};export{k 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.