(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20355,e=>{"use strict";var a=e.i(47264),s=e.i(34589),t=e.i(79684),r=e.i(17414);let i=(0,t.cva)("inline-flex items-center justify-center rounded-full border border-transparent px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",ghost:"[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",link:"text-primary underline-offset-4 [a&]:hover:underline"}},defaultVariants:{variant:"default"}});function l({className:e,variant:t="default",asChild:l=!1,...d}){let n=l?s.Slot:"span";return(0,a.jsx)(n,{"data-slot":"badge","data-variant":t,className:(0,r.cn)(i({variant:t}),e),...d})}e.s(["Badge",()=>l])},42542,e=>{"use strict";var a=e.i(47264),s=e.i(17414);function t({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card",className:(0,s.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function r({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-header",className:(0,s.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function i({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-title",className:(0,s.cn)("leading-none font-semibold",e),...t})}function l({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-description",className:(0,s.cn)("text-muted-foreground text-sm",e),...t})}function d({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"card-content",className:(0,s.cn)("px-6",e),...t})}e.s(["Card",()=>t,"CardContent",()=>d,"CardDescription",()=>l,"CardHeader",()=>r,"CardTitle",()=>i])},29714,e=>{"use strict";var a=e.i(47264),s=e.i(68727),t=e.i(90143),r=e.i(20355),i=e.i(67387),l=e.i(17414);function d({className:e,type:s,...t}){return(0,a.jsx)("input",{type:s,"data-slot":"input",className:(0,l.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...t})}function n({className:e,...s}){return(0,a.jsx)("textarea",{"data-slot":"textarea",className:(0,l.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...s})}var c=e.i(42542),o=e.i(89506);let x=(0,o.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),m=(0,o.default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]),h=(0,o.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),u=(0,o.default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]),b=(0,o.default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);function f(){let[e,l]=(0,s.useState)(!1),[o,f]=(0,s.useState)(!1);async function g(e){l(!0),await new Promise(e=>setTimeout(e,1500)),l(!1),f(!0)}return(0,a.jsx)("div",{className:"pt-32 pb-20",children:(0,a.jsxs)("div",{className:"container-custom",children:[(0,a.jsxs)("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[(0,a.jsx)(r.Badge,{variant:"outline",className:"mb-4",children:"联系我们"}),(0,a.jsx)("h1",{className:"text-4xl sm:text-5xl font-bold text-black mb-6",children:"与我们取得联系"}),(0,a.jsx)("p",{className:"text-lg text-gray-600",children:"无论您有任何问题或合作意向,我们都很乐意与您交流"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 max-w-6xl mx-auto",children:[(0,a.jsxs)("div",{className:"space-y-8",children:[(0,a.jsxs)(c.Card,{children:[(0,a.jsx)(c.CardHeader,{children:(0,a.jsx)(c.CardTitle,{children:"联系方式"})}),(0,a.jsxs)(c.CardContent,{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[(0,a.jsx)("div",{className:"w-10 h-10 bg-black rounded-lg flex items-center justify-center flex-shrink-0",children:(0,a.jsx)(h,{className:"w-5 h-5 text-white"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-semibold text-black",children:"公司地址"}),(0,a.jsx)("p",{className:"text-gray-600",children:t.COMPANY_INFO.address})]})]}),(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[(0,a.jsx)("div",{className:"w-10 h-10 bg-black rounded-lg flex items-center justify-center flex-shrink-0",children:(0,a.jsx)(m,{className:"w-5 h-5 text-white"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-semibold text-black",children:"联系电话"}),(0,a.jsx)("p",{className:"text-gray-600",children:t.COMPANY_INFO.phone})]})]}),(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[(0,a.jsx)("div",{className:"w-10 h-10 bg-black rounded-lg flex items-center justify-center flex-shrink-0",children:(0,a.jsx)(x,{className:"w-5 h-5 text-white"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-semibold text-black",children:"电子邮箱"}),(0,a.jsx)("p",{className:"text-gray-600",children:t.COMPANY_INFO.email})]})]})]})]}),(0,a.jsxs)(c.Card,{children:[(0,a.jsx)(c.CardHeader,{children:(0,a.jsx)(c.CardTitle,{children:"工作时间"})}),(0,a.jsx)(c.CardContent,{children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("span",{className:"text-gray-600",children:"周一至周五"}),(0,a.jsx)("span",{className:"text-black font-medium",children:"9:00 - 18:00"})]}),(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("span",{className:"text-gray-600",children:"周六"}),(0,a.jsx)("span",{className:"text-black font-medium",children:"9:00 - 12:00"})]}),(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("span",{className:"text-gray-600",children:"周日"}),(0,a.jsx)("span",{className:"text-gray-400",children:"休息"})]})]})})]})]}),(0,a.jsxs)(c.Card,{children:[(0,a.jsx)(c.CardHeader,{children:(0,a.jsx)(c.CardTitle,{children:"发送消息"})}),(0,a.jsx)(c.CardContent,{children:o?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,a.jsx)(u,{className:"w-8 h-8 text-green-600"})}),(0,a.jsx)("h3",{className:"text-xl font-semibold text-black mb-2",children:"消息已发送"}),(0,a.jsx)("p",{className:"text-gray-600",children:"感谢您的留言,我们会尽快与您联系!"})]}):(0,a.jsxs)("form",{action:g,className:"space-y-6",children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700 mb-2",children:"姓名 *"}),(0,a.jsx)(d,{id:"name",name:"name",placeholder:"请输入您的姓名",required:!0})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"phone",className:"block text-sm font-medium text-gray-700 mb-2",children:"电话"}),(0,a.jsx)(d,{id:"phone",name:"phone",type:"tel",placeholder:"请输入您的电话"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700 mb-2",children:"邮箱 *"}),(0,a.jsx)(d,{id:"email",name:"email",type:"email",placeholder:"请输入您的邮箱",required:!0})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"subject",className:"block text-sm font-medium text-gray-700 mb-2",children:"主题 *"}),(0,a.jsx)(d,{id:"subject",name:"subject",placeholder:"请输入消息主题",required:!0})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700 mb-2",children:"消息内容 *"}),(0,a.jsx)(n,{id:"message",name:"message",placeholder:"请输入您想要咨询的内容",rows:5,required:!0})]}),(0,a.jsx)(i.Button,{type:"submit",className:"w-full",disabled:e,children:e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{className:"mr-2 h-4 w-4 animate-spin"}),"发送中..."]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u,{className:"mr-2 h-4 w-4"}),"发送消息"]})})]})})]})]})]})})}e.s(["default",()=>f],29714)}]);