1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9056],{12651:(e,a,s)=>{"use strict";s.d(a,{A:()=>t});let t=(0,s(90425).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},13545:(e,a,s)=>{"use strict";s.d(a,{A:()=>t});let t=(0,s(90425).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},17798:(e,a,s)=>{Promise.resolve().then(s.bind(s,22600))},22600:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>g});var t=s(95155),r=s(12115),l=s(92289),c=s(90425);let n=(0,c.A)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]),o=(0,c.A)("clock-3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6h4",key:"135r8i"}]]);var i=s(12651),d=s(13545),v=s(6296),x=s(56204),m=s(25680),u=s(21180),p=s(9675),h=s(90018);function g(){let{t:e}=(0,m.B)(),a=(0,u.t)(),s=(0,p.S$)(a),[c,g]=(0,r.useState)({name:"",email:"",subject:"",message:""}),[b,f]=(0,r.useState)(!1),[j,y]=(0,r.useState)(!1),[N,k]=(0,r.useState)(null),w=e=>g({...c,[e.target.name]:e.target.value}),S=async a=>{a.preventDefault(),y(!0),k(null);try{let a=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)});if(!a.ok){let s=await a.json();throw Error(s.error||e("v2.contact.failedToSend"))}f(!0),g({name:"",email:"",subject:"",message:""})}catch(a){k(a instanceof Error?a.message:e("v2.contact.failedToSend"))}finally{y(!1)}};return(0,t.jsx)(h.default,{children:(0,t.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,t.jsxs)("div",{className:"mb-5 flex items-start gap-3",children:[(0,t.jsx)("div",{className:"w-11 h-11 rounded-[var(--v2-radius)] flex items-center justify-center shrink-0",style:{background:"var(--v2-accent)"},children:(0,t.jsx)(l.A,{className:"w-5 h-5 text-white"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsxs)("h1",{className:"text-[22px] md:text-[26px] font-extrabold leading-[1.1] tracking-tight",style:{color:"var(--v2-text-primary)"},children:[e("pages.contact.title"),(0,t.jsx)("span",{style:{color:"var(--v2-accent)"},children:"."})]}),(0,t.jsx)("div",{className:"text-[12px] font-semibold uppercase tracking-[0.06em] mt-1",style:{color:"var(--v2-text-muted)"},children:e("pages.contact.subtitle")})]})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 mb-4",children:[{icon:(0,t.jsx)(l.A,{className:"w-4 h-4"}),label:e("pages.contact.email"),value:"[email protected]",href:"mailto:[email protected]"},{icon:(0,t.jsx)(n,{className:"w-4 h-4"}),label:"Telegram",value:"@statofcomm",href:s,external:!0},{icon:(0,t.jsx)(o,{className:"w-4 h-4"}),label:e("pages.contact.responseTime"),value:e("pages.contact.responseTimeValue")}].map((e,a)=>(0,t.jsxs)("div",{className:"rounded-[var(--v2-radius)] px-4 py-3 flex items-center gap-3",style:{background:"var(--v2-surface)",border:"1px solid var(--v2-border-subtle)",boxShadow:"var(--v2-shadow-sm)"},children:[(0,t.jsx)("div",{className:"w-9 h-9 rounded-[var(--v2-radius)] flex items-center justify-center shrink-0",style:{background:"var(--v2-accent-soft)",color:"var(--v2-accent)"},children:e.icon}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"text-[9.5px] font-bold uppercase tracking-wider",style:{color:"var(--v2-text-faint)"},children:e.label}),e.href?(0,t.jsx)("a",{href:e.href,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,className:"text-[12.5px] font-bold hover:underline truncate block",style:{color:"var(--v2-accent)"},children:e.value}):(0,t.jsx)("div",{className:"text-[12.5px] font-bold truncate",style:{color:"var(--v2-text-primary)"},children:e.value})]})]},a))}),b?(0,t.jsxs)("div",{className:"rounded-[var(--v2-radius)] py-12 text-center",style:{background:"var(--v2-surface)",border:"1px solid var(--v2-border-subtle)",boxShadow:"var(--v2-shadow-sm)"},children:[(0,t.jsx)("div",{className:"w-16 h-16 rounded-full mx-auto mb-4 flex items-center justify-center",style:{background:"var(--v2-positive-soft)"},children:(0,t.jsx)(i.A,{className:"w-8 h-8",style:{color:"var(--v2-positive)"}})}),(0,t.jsx)("h2",{className:"text-[18px] font-extrabold mb-1",style:{color:"var(--v2-text-primary)"},children:e("pages.contact.messageSent")}),(0,t.jsx)("p",{className:"text-[13px] mb-5 max-w-sm mx-auto",style:{color:"var(--v2-text-muted)"},children:e("pages.contact.thankYou")}),(0,t.jsx)("button",{onClick:()=>f(!1),className:"inline-flex items-center gap-1.5 px-5 h-10 rounded-[var(--v2-radius)] text-[13px] font-bold text-white",style:{background:"var(--v2-accent)"},children:e("pages.contact.sendAnother")})]}):(0,t.jsxs)("div",{className:"rounded-[var(--v2-radius)] overflow-hidden",style:{background:"var(--v2-surface)",border:"1px solid var(--v2-border-subtle)",boxShadow:"var(--v2-shadow-sm)"},children:[(0,t.jsx)("div",{className:"px-5 py-3",style:{borderBottom:"1px solid var(--v2-border-subtle)",background:"var(--v2-surface-row-alt)"},children:(0,t.jsx)("span",{className:"text-[9.5px] font-bold uppercase tracking-wider",style:{color:"var(--v2-text-muted)"},children:e("v2.contact.sendMessage")})}),(0,t.jsxs)("form",{onSubmit:S,className:"px-5 py-5",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4 mb-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"name",className:"block text-[10.5px] font-bold uppercase tracking-wider mb-1.5",style:{color:"var(--v2-text-muted)"},children:e("pages.contact.fullName")}
1),(0,t.jsx)("input",{type:"text",id:"name",name:"name",required:!0,value:c.name,onChange:w,placeholder:e("pages.contact.fullNamePlaceholder"),className:"w-full h-10 px-3 rounded-[var(--v2-radius)] text-[13px] font-semibold outline-none transition-all focus:ring-2 focus:ring-[var(--v2-accent)]/20",style:{background:"var(--v2-surface-hover)",border:"1px solid var(--v2-border-subtle)",color:"var(--v2-text-primary)"}})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"email",className:"block text-[10.5px] font-bold uppercase tracking-wider mb-1.5",style:{color:"var(--v2-text-muted)"},children:e("pages.contact.emailAddress")}),(0,t.jsx)("input",{type:"email",id:"email",name:"email",required:!0,value:c.email,onChange:w,placeholder:e("pages.contact.emailPlaceholder"),className:"w-full h-10 px-3 rounded-[var(--v2-radius)] text-[13px] font-semibold outline-none transition-all focus:ring-2 focus:ring-[var(--v2-accent)]/20",style:{background:"var(--v2-surface-hover)",border:"1px solid var(--v2-border-subtle)",color:"var(--v2-text-primary)"}})]})]}),(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("label",{htmlFor:"subject",className:"block text-[10.5px] font-bold uppercase tracking-wider mb-1.5",style:{color:"var(--v2-text-muted)"},children:e("pages.contact.subject")}),(0,t.jsxs)("select",{id:"subject",name:"subject",required:!0,value:c.subject,onChange:w,className:"w-full h-10 px-3 rounded-[var(--v2-radius)] text-[13px] font-semibold outline-none cursor-pointer transition-all focus:ring-2 focus:ring-[var(--v2-accent)]/20",style:{background:"var(--v2-surface-hover)",border:"1px solid var(--v2-border-subtle)",color:c.subject?"var(--v2-text-primary)":"var(--v2-text-muted)"},children:[(0,t.jsx)("option",{value:"",children:e("pages.contact.selectSubject")}),(0,t.jsx)("option",{value:"general",children:e("pages.contact.generalInquiry")}),(0,t.jsx)("option",{value:"support",children:e("pages.contact.technicalSupp
1ort")}),(0,t.jsx)("option",{value:"billing",children:e("pages.contact.billingSubscription")}),(0,t.jsx)("option",{value:"feedback",children:e("pages.contact.feedbackSuggestions")}),(0,t.jsx)("option",{value:"bug",children:e("pages.contact.reportBug")}),(0,t.jsx)("option",{value:"partnership",children:e("pages.contact.partnershipInquiry")}),(0,t.jsx)("option",{value:"other",children:e("pages.contact.other")})]})]}),(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("label",{htmlFor:"message",className:"block text-[10.5px] font-bold uppercase tracking-wider mb-1.5",style:{color:"var(--v2-text-muted)"},children:e("pages.contact.message")}),(0,t.jsx)("textarea",{id:"message",name:"message",required:!0,rows:5,value:c.message,onChange:w,placeholder:e("pages.contact.messagePlaceholder"),className:"w-full px-3 py-2.5 rounded-[var(--v2-radius)] text-[13px] font-semibold outline-none resize-vertical transition-all focus:ring-2 focus:ring-[var(--v2-accent)]/20",style:{background:"var(--v2-surface-hover)",border:"1px solid var(--v2-border-subtle)",color:"var(--v2-text-primary)"}})]}),N&&(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2.5 rounded-[var(--v2-radius)] mb-4 text-[12px] font-semibold",style:{background:"var(--v2-negative-soft)",color:"var(--v2-negative)"},role:"alert",children:[(0,t.jsx)(d.A,{className:"w-4 h-4 shrink-0"}),N]}),(0,t.jsx)("button",{type:"submit",disabled:j,className:"w-full inline-flex items-center justify-center gap-2 h-11 rounded-[var(--v2-radius)] text-[13.5px] font-extrabold text-white transition-all hover:opacity-95 disabled:opacity-50",style:{background:"var(--v2-accent)",boxShadow:"0 6px 18px rgba(59,130,246,0.3)"},children:j?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.A,{className:"w-4 h-4 animate-spin"})," ",e("pages.contact.sending")]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.A,{className:"w-4 h-4"})," ",e("pages.contact.sendMessage")]})})]})]})]})})}},90018:(e,a,s)=>{"use strict";s.d(a,{default:()=>n});var t=s(95155),r=s(4112),l=s(62993),c=s(54324);function n({children:e,showSidebar:a=!0,maxWidth:s=1320,hideFooter:n=!1}){return(0,t.jsxs)("div",{style:{background:"var(--v2-bg)",minHeight:"100vh"},children:[(0,t.jsx)(r.A,{}),(0,t.jsx)("div",{className:"mx-auto px-3 md:px-5 pt-5 pb-12 grid gap-5",style:{maxWidth:s,gridTemplateColumns:"minmax(0,1fr)"},children:a?(0,t.jsxs)("div",{className:"lg:grid lg:gap-5",style:{gridTemplateColumns:"minmax(0,1fr) 280px"},children:[(0,t.jsx)("main",{className:"min-w-0",children:e}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)(l.A,{})})}),(0,t.jsx)("div",{className:"lg:hidden mt-6",children:(0,t.jsx)(l.A,{})})]}):(0,t.jsx)("main",{className:"min-w-0",children:e})}),!n&&(0,t.jsx)(c.A,{})]})}}},e=>{e.O(0,[8500,5772,4902,6919,1917,3107,2787,2334,1271,359,6755,2993,8441,3794,7358],()=>e(e.s=17798)),_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.