1import{a as e,c as t,o as n,s as r}from"./index-B8y37u76.js";import{t as i}from"./SiteLayout-QSy0krZ3.js";import{t as a}from"./utils-B32cpBNE.js";import{n as o,r as s,t as c}from"./button-BmBjMUbR.js";var l=t(r(),1),u=e(),d=l.forwardRef(({className:e,type:t,...n},r)=>(0,u.jsx)(`input`,{type:t,className:a(`flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,e),ref:r,...n}));d.displayName=`Input`;var f=l.forwardRef(({className:e,...t},n)=>(0,u.jsx)(`textarea`,{className:a(`flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,e),ref:n,...t}));f.displayName=`Textarea`,n();var p=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let n=s(`Primitive.${t}`),r=l.forwardRef((e,r)=>{let{asChild:i,...a}=e,o=i?n:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,u.jsx)(o,{...a,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),m=`Label`,h=l.forwardRef((e,t)=>(0,u.jsx)(p.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));h.displayName=m;var g=h,_=o(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`),v=l.forwardRef(({className:e,...t},n)=>(0,u.jsx)(g,{ref:n,className:a(_(),e),...t}));v.displayName=g.displayName;function y(){let[e,t]=(0,l.useState)(!1);return(0,u.jsx)(i,{children:(0,u.jsxs)(`div`,{className:`max-w-2xl mx-auto px-4 py-12`,children:[(0,u.jsx)(`h1`,{className:`text-3xl sm:text-4xl font-bold text-foreground`,children:`à¸à¸´à¸à¸à¹à¸à¹à¸£à¸²`}),(0,u.jsx)(`p`,{className:`mt-2 text-muted-foreground`,children:`หาà¸à¸¡à¸µà¸à¸³à¸à¸²à¸¡ à¸à¹à¸à¹à¸ªà¸à¸à¹à¸à¸° หรืà¸à¸à¸à¸à¸±à¸à¸«à¸²à¸à¸²à¸£à¹à¸à¹à¸à¸²à¸ à¸à¸£à¸¸à¸à¸²à¸ªà¹à¸à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¸¶à¸à¹à¸£à¸²`}),e?(0,u.jsxs)(`div`,{className:`mt-8 bg-card border border-border rounded-2xl p-6 text-center`,children:[(0,u.jsx)(`div`,{className:`text-2xl mb-2`,children:`â`}),(0,u.jsx)(`p`,{className:`text-foreground font-medium`,children:`สà¹à¸à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸£à¸µà¸¢à¸à¸£à¹à¸à¸¢à¹à¸¥à¹à¸§ à¸à¸à¸à¸à¸¸à¸à¸à¸µà¹à¸à¸´à¸à¸à¹à¸à¹à¸£à¸²`})]}):(0,u.jsxs)(`form`,{className:`mt-8 bg-card border border-border rounded-2xl p-6 space-y-4`,onSubmit:e=>{e.preventDefault(),t(!0)},children:[(0,u.jsxs)(`div`,{children:[(0,u.jsx)(v,{htmlFor:`name`,children:`à¸à¸·à¹à¸`}),(0,u.jsx)(d,{id:`name`,required:!0,className:`mt-1`})]}),(0,u.jsxs)(`div`,{children:[(0,u.jsx)(v,{htmlFor:`email`,children:`à¸à¸µà¹à¸¡à¸¥`}),(0,u.jsx)(d,{id:`email`,type:`email`,required:!0,className:`mt-1`})]}),(0,u.jsxs)(`div`,{children:[(0,u.jsx)(v,{htmlFor:`message`,children:`à¸à¹à¸à¸à¸§à¸²à¸¡`}),(0,u.jsx)(f,{id:`message`,required:!0,rows:6,className:`mt-1`})]}),(0,u.jsx)(c,{type:`submit`,size:`lg`,className:`bg-primary hover:bg-primary-hover text-primary-foreground`,children:`สà¹à¸à¸à¹à¸à¸à¸§à¸²à¸¡`})]})]})})}export{y as component};
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.