PageSourceSearch

https://h3video.org/assets/contact-CVVJD-at.js

js h3video.org collected 2026-10-04 12:27:54 UTC 3,480 bytes, 1 lines download raw bytes

1import{g as n,v as j,y as b,r as f,aQ as N,aR as C,j as e,aJ as y,aW as F,aX as v,bG as S,aL as w,bH as r,bI as o,bJ as l,bK as m,G as _,bL as i,bM as M,bN as E,B as P,aS as T,b7 as p,aT as L,a6 as h,bO as B,bP as H}from"./main-D26SNd6u.js";import{C as I}from"./container-BSnPGhGV.js";import{D as R}from"./dashboard-header-CEnkdSiH.js";import{T as k}from"./textarea-DgZtcCox.js";import"./IconArrowLeft-CiNZpb9Z.js";const D=()=>"Email",G=((s={},t={})=>(t.locale??n(),D())),J=()=>"Please enter a valid email address",O=((s={},t={})=>(t.locale??n(),J())),Y=()=>"Failed to send the message",K=((s={},t={})=>(t.locale??n(),Y())),Q=()=>"Send message",V=((s={},t={})=>(t.locale??n(),Q())),W=()=>"Message",X=((s={},t={})=>(t.locale??n(),W())),q=()=>"Message must not exceed 500 characters",z=((s={},t={})=>(t.locale??n(),q())),A=()=>"Message must be at least 10 characters",U=((s={},t={})=>(t.locale??n(),A())),Z=()=>"Name",$=((s={},t={})=>(t.locale??n(),Z())),ee=()=>"Name must not exceed 30 characters",te=((s={},t={})=>(t.locale??n(),ee())),se=()=>"Name must be at least 3 characters",ne=((s={},t={})=>(t.locale??n(),se())),ae=()=>"[email protected]",ce=((s={},t={})=>(t.locale??n(),ae())),re=()=>"Your message",oe=((s={},t={})=>(t.locale??n(),re())),le=()=>"Your name",me=((s={},t={})=>(t.locale??n(),le())),ie=()=>"Send",de=((s={},t={})=>(t.locale??n(),ie())),ue=()=>"Sending…",xe=((s={},t={})=>(t.locale??n(),ue())),_e=()=>"Message sent successfully",pe=((s={},t={})=>(t.locale??n(),_e())),he=j({method:"POST"}).handler(b("5adecc86995a8f279b326ab1ecac8615a68df72e77204cdb85b5175d4c764b7a")),ge=T({name:p().min(3,ne()).max(30,te()),email:L(O()),message:p().min(10,U()).max(500,z())});function je(){const[s,t]=f.useState(),a=N({resolver:C(ge),defaultValues:{name:"",email:"",message:""}}),d=a.formState.isSubmitting;async function g(c){t(void 0);try{await he({data:c}),h.success(pe()),a.reset()}catch(u){const x=u instanceof Error?u.message:K();t(x),h.error(x)}}return e.jsxs(y,{className:"mx-auto max-w-lg overflow-hidden pt-6 pb-0",children:[e.jsx(F,{children:e.jsx(v,{className:"text-lg font-semibold",children:V()})}),e.jsx(S,{...a,children:e.jsxs("form",{onSubmit:a.handleSubmit(g),className:"flex flex-col",children:[e.jsxs(w,{className:"space-y-6",children:[e.jsx(r,{control:a.control,name:"name",render:({field:c})=>e.jsxs(o,{children:[e.jsx(l,{children:$()}),e.jsx(m,{children:e.jsx(_,{placeholder:me(),...c})}),e.jsx(i,{})]})}),e.jsx(r,{control:a.control,name:"email",render:({field:c})=>e.jsxs(o,{children:[e.jsx(l,{children:G()}),e.jsx(m,{children:e.jsx(_,{type:"email",placeholder:ce(),...c})}),e.jsx(i,{})]})}),e.jsx(r,{control:a.control,name:"message",render:({field:c})=>e.jsxs(o,{children:[e.jsx(l,{children:X()}),e.jsx(m,{children:e.jsx(k,{placeholder:oe(),rows:3,...c})}),e.jsx(i,{})]})}),e.jsx(M,{message:s})]}),e.jsx(E,{className:"mt-6 flex items-center justify-between rounded-none border-t bg-muted px-6 py-4",children:e.jsx(P,{type:"submit",disabled:d,children:d?xe():de()})})]})})]})}function Fe(){return e.jsxs("div",{className:"flex min-h-svh flex-col",children:[e.jsx(R,{showBack:!0}),e.jsx(I,{className:"py-16 px-4",children:e.jsxs("div",{className:"mx-auto max-w-4xl space-y-8 pb-16",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx("h1",{className:"text-center text-3xl font-bold tracking-tight",children:B()}),e.jsx("p",{className:"text-center text-lg text-muted-foreground",children:H()})]}),e.jsx(je,{})]})})]})}export{Fe 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.