1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,766902,e=>{"use strict";var t=e.i(243029),i=e.i(644141),r=e.i(796615),a=e.i(515472);let s=(0,a.createServerReference)("400fd80b85431f68107464add4a2787c6dde2c0570",a.callServer,void 0,a.findSourceMapURL,"getActivePlans");var n=e.i(152088),l=e.i(981831),o=e.i(181241),c=e.i(275723),d=e.i(12770),h=e.i(262632);function u({plan:e,returnUrl:i}){return(0,t.jsxs)("div",{className:(0,n.cn)("relative flex flex-col overflow-hidden rounded-3xl transition-all duration-300 hover:-translate-y-1 hover:shadow-2xl",e.isPopular?"border-2 border-purple-500 bg-white shadow-2xl dark:bg-zinc-900 ring-4 ring-purple-500/10":"border border-zinc-200 bg-white/50 p-6 backdrop-blur-sm dark:border-zinc-800 dark:bg-zinc-950/50"),style:e.isPopular?{padding:"2rem"}:{},children:[e.isPopular&&(0,t.jsxs)("div",{className:"absolute top-0 right-0 flex items-center rounded-bl-2xl bg-purple-600 px-4 py-1.5 shadow-lg",children:[(0,t.jsx)(h.FaStar,{className:"size-3 text-white"}),(0,t.jsx)("span",{className:"ml-2 font-sans font-bold text-white text-xs uppercase tracking-wider",children:"Phá» Biến Nhất"})]}),(0,t.jsxs)("div",{className:"flex h-full flex-col",children:[(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h3",{className:"font-bold text-xl tracking-tight text-foreground",children:e.name}),(0,t.jsx)("p",{className:"mt-2 line-clamp-2 text-muted-foreground text-sm",children:e.description})]}),(0,t.jsx)("div",{className:"my-8 flex items-baseline justify-start gap-1",children:e.discountedPrice&&e.discountedPrice<e.price?(0,t.jsxs)(o.Tooltip,{children:[(0,t.jsx)(o.TooltipTrigger,{asChild:!0,children:(0,t.jsxs)("div",{className:"flex flex-col items-start gap-1",children:[(0,t.jsx)("span",{className:"font-medium text-muted-foreground text-sm line-through opacity-50",children:new Intl.NumberFormat("vi-VN",{style:"currency",currency:"VND",maximumFractionDigits:0}).format(e.price)}),(0,t.jsx)("div",{className:"flex items-baseline gap-1",children:(0,t.jsx)("span",{className:"font-bold text-4xl text-purple-600 tracking-tight",children:new Intl.NumberFormat("vi-VN",{style:"currency",currency:"VND",maximumFractionDigits:0}).format(e.discountedPrice)})})]})}),(0,t.jsx)(o.TooltipContent,{children:(0,t.jsx)("p",{children:"Bạn ÄÆ°á»£c giảm giá do ÄÆ°á»£c giá»i thiá»u bá»i ngưá»i bạn bè cá»§a bạn"})})]}):(0,t.jsx)("div",{className:"flex items-baseline gap-1",children:(0,t.jsx)("span",{className:"font-bold text-4xl text-foreground tracking-tight",children:new Intl.NumberFormat("vi-VN",{style:"currency",currency:"VND",maximumFractionDigits:0}).format(e.price)})})}),(0,t.jsxs)("ul",{className:"mt-8 space-y-4",children:[(0,t.jsxs)("li",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex size-5 shrink-0 items-center justify-center rounded-full bg-purple-500/20 text-purple-600",children:(0,t.jsx)(c.Check,{className:"size-3.5"})}),(0,t.jsxs)("span",{className:"font-semibold text-lg text-foreground",children:[new Intl.NumberFormat("vi-VN",{style:"decimal"}).format(e.creditAmount??0)," ","Credits"]})]}),e.features?.map((e,i)=>(0,t.jsxs)("li",{className:"flex items-start gap-3 text-foreground/80 text-sm",children:[(0,t.jsx)("div",{className:"mt-0.5 flex size-5 shrink-0 items-center justify-center rounded-full bg-emerald-500/20 text-emerald-600 dark:text-emerald-400",children:(0,t.jsx)(c.Check,{className:"size-3.5"})}),(0,t.jsx)("span",{children:e})]},i))]})]}),(0,t.jsx)("div",{className:"mt-8 border-t border-zinc-200 dark:border-zinc-800 pt-6",children:(0,t.jsx)(d.default,{className:(0,n.cn)((0,l.buttonVariants)({variant:e.isPopular?"default":"outline",size:"lg"}),"group relative flex h-12 w-full items-center justify-center gap-2 overflow-hidden rounded-xl font-bold transition-all duration-300",e.isPopular?"bg-purple-600 text-white hover:scale-[1.02] hover:shadow-lg hover:shadow-purple-500/25":"hover:border-purple-500/50 hover:bg-purple-500/5"),"data-umami-event":"click-pricing-card-item",href:i?`/dashboard/checkout/${e.id}?returnUrl=${encodeURIComponent(i)}`:`/dashboard/checkout/${e.id}`,children:"ÄÄng ký ngay"})})]})]})}e.s(["PricingCard",0,function({className:e,excludeFreePlan:a=!1}){let l=(0,r.usePathname)(),{data:o}=(0,i.useQuery)({queryKey:["plans"],queryFn:()=>s(a)});return(0,t.jsx)("div",{className:(0,n.cn)("grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",e),children:o?.map((e,i)=>(0,t.jsx)(u,{index:i,length:o.length,plan:e,returnUrl:l},e.id))})}],766902)},675897,e=>{"use strict";var t=e.i(243029);
1e.s(["Section",0,function({id:e,title:i,subtitle:r,description:a,children:s,className:n}){let l=i?i.toLowerCase().replace(/\s+/g,"-"):e;return(0,t.jsx)("section",{id:e||l,children:(0,t.jsx)("div",{className:n,children:(0,t.jsxs)("div",{className:"container relative mx-auto max-w-7xl px-4 py-16",children:[(0,t.jsxs)("div",{className:"mx-auto space-y-4 pb-6 text-center",children:[i&&(0,t.jsx)("h2",{className:"font-medium font-mono text-primary/80 dark:text-primary text-sm uppercase tracking-wider",children:i}),r&&(0,t.jsx)("h3",{className:"mx-auto mt-4 max-w-xs font-semibold text-3xl sm:max-w-none sm:text-4xl md:text-5xl",children:r}),a&&(0,t.jsx)("p",{className:"mx-auto mt-6 max-w-2xl text-lg text-slate-600 leading-8",children:a})]}),s]})})})}])},113005,e=>{"use strict";var t=e.i(243029),i=e.i(24012),r=e.i(656395),a=e.i(509390),s=e.i(827901),n=e.i(553010);let l=(0,n.default)("file-search",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["circle",{cx:"11.5",cy:"14.5",r:"2.5",key:"1bq0ko"}],["path",{d:"M13.3 16.3 15 18",key:"2quom7"}]]),o=(0,n.default)("files",[["path",{d:"M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8",key:"14sh0y"}],["path",{d:"M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z",key:"1970lx"}],["path",{d:"M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1",key:"l4dndm"}]]),c=(0,n.default)("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]]),d=(0,n.default)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);var h=e.i(400890);let u=(0,n.default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);var m=e.i(675897);let p=[{title:"Tra cứu mã HS thông minh",description:"Công cụ tìm kiếm mã HS dá»±a trên ngôn ngữ tá»± nhiên, gợi ý mã chÃnh xác ngay láºp tức.",icon:l},{title:"TrÃch xuất dữ liá»u chứng từ",description:"Sá» dụng OCR và AI Äá» trÃch xuất thông tin từ Invoice, Packing List tá»± Äá»ng.",icon:o},{title:"Trợ lý ảo 24/7",description:"Trò chuyá»n trá»±c tiếp vá»i trợ lý Linh Äá» ÄÆ°á»£c giải Äáp má»i thắc mắc vá» thá»§ tục hải quan.",icon:h.MessageSquare},{title:"Quản lý lá»ch sá» khai báo",description:"Lưu trữ và tra cứu lại toà n bá» lá»ch sá» khai báo cá»§a doanh nghiá»p má»t cách khoa há»c.",icon:d},{title:"Báo cáo & Thá»ng kê",description:"Theo dõi hiá»u suất khai báo và các chá» sá» xuất nháºp khẩu quan trá»ng cá»§a doanh nghiá»p.",icon:a.BarChart3},{title:"Lưu trữ Äám mây an toà n",description:"Má»i chứng từ và dữ liá»u cá»§a bạn ÄÆ°á»£c bảo máºt và lưu trữ an toà n trên ná»n tảng Äám mây.",icon:s.CloudUpload},{title:"Bảo máºt Äa tầng",description:"Há» thá»ng bảo máºt hiá»n Äại, Äảm bảo an toà n thông tin kinh doanh tuyá»t Äá»i.",icon:c},{title:"Cá»ng tác Äá»i ngÅ©",description:"Dá»
dà ng quản lý và phân quyá»n cho nhiá»u thà nh viên trong Äá»i ngÅ© xuất nháºp khẩu.",icon:u}];e.s(["Features",0,function(){let e=(0,r.useReducedMotion)();return(0,t.jsx)(m.Section,{id:"features",subtitle:"Má»i thứ bạn cần Äá» tá»i ưu hóa quy trình hải quan trong má»t ná»n tảng duy nhất",title:"TÃnh nÄng mạnh mẽ",children:(0,t.jsx)("div",{className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-4",children:p.map((r,a)=>(0,t.jsxs)(i.motion.div,{className:"group flex flex-col rounded-3xl border border-border bg-card p-6 transition-all hover:bg-primary/5 hover:border-primary/20 cursor-default",initial:e?{opacity:0}
1:{opacity:0,y:10},transition:{delay:.03*a,duration:.3,ease:"easeOut"},viewport:{once:!0},whileInView:{opacity:1,y:0},children:[(0,t.jsx)("div",{className:"mb-4 flex size-10 items-center justify-center rounded-xl bg-primary/10 text-primary group-hover:bg-primary group-hover:text-white transition-colors",children:(0,t.jsx)(r.icon,{className:"size-5"})}),(0,t.jsx)("h3",{className:"mb-2 font-bold text-lg text-foreground",children:r.title}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground leading-relaxed",children:r.description})]},a))})})}],113005)},53430,e=>{"use strict";var t=e.i(243029),i=e.i(981831),r=e.i(24012),a=e.i(656395),s=e.i(352889);let n=(0,e.i(553010).default)("file-up",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]]);var l=e.i(387807),o=e.i(670286),c=e.i(12770),d=e.i(842058),h=e.i(152088);let u=[.16,1,.3,1];function m(){let e=(0,a.useReducedMotion)();return(0,t.jsxs)(r.motion.a,{animate:{opacity:1,y:0},className:"inline-flex items-center gap-2 rounded-full border border-primary/20 bg-primary/5 px-3 py-1.5 transition-colors hover:bg-primary/10 cursor-pointer",href:"/blog/tu-dong-tao-to-khai-hai-quan",initial:e?{opacity:0}:{opacity:0,y:-20},transition:{duration:.8,ease:u},children:[(0,t.jsx)("span",{className:"rounded-full bg-primary px-2 py-0.5 font-bold text-[10px] text-primary-foreground uppercase tracking-wider",children:"Má»i"}),(0,t.jsx)("p",{className:"text-sm font-medium text-primary/80",children:"Khai báo hải quan tá»± Äá»ng bằng AI"})]})}function p(){let e=(0,a.useReducedMotion)();return(0,t.jsxs)(r.motion.div,{animate:{opacity:1,y:0},className:"flex flex-wrap items-center justify-center gap-4 lg:justify-start",initial:e?{opacity:0}:{opacity:0,y:20},transition:{delay:.4,duration:.8,ease:u},children:[(0,t.jsx)(c.default,{className:(0,h.cn)((0,i.buttonVariants)({size:"lg"}),"h-14 rounded-2xl bg-linear-to-r from-blue-500 to-blue-700 px-8 max-sm:px-4 font-bold text-lg max-sm:text-base text-white transition-all hover:scale-[1.02] cursor-pointer"),href:"/dashboard/customs",children:"Dùng thá» miá»
n phÃ"}),(0,t.jsx)(c.default,{className:(0,h.cn)((0,i.buttonVariants)({size:"lg",variant:"outline"}),"h-14 rounded-2xl bg-background px-8 max-sm:px-4 font-bold text-lg max-sm:text-base text-primary transition-all hover:bg-primary/5 curs
1or-pointer"),href:"#pricing",children:"Xem bảng giá"}),(0,t.jsx)(c.default,{className:(0,h.cn)((0,i.buttonVariants)({size:"lg",variant:"outline"}),"h-14 rounded-2xl bg-background px-8 max-sm:px-4 font-bold text-lg max-sm:text-base text-primary transition-all hover:bg-primary/5 cursor-pointer"),href:"/book-demo",children:"Äặt lá»ch demo"})]})}function x(){let[e,i]=(0,d.useState)(0),[a,c]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{let e,t,r=!1,a=s=>{r||(i(s),c(!1),e=setTimeout(()=>{if(!r){if(s<2)return void a(s+1);c(!0),t=setTimeout(()=>{r||a(0)},3e3)}},2e3))};return a(0),()=>{r=!0,e&&clearTimeout(e),t&&clearTimeout(t)}},[]),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 p-6 max-sm:p-2 max-sm:gap-0 sm:p-10",children:[(0,t.jsx)(r.motion.div,{animate:{opacity:0===e?1:.6,scale:0===e?1:.98,borderColor:0===e?"rgb(245, 158, 11)":"rgba(245, 158, 11, 0)"},className:(0,h.cn)("w-full rounded-2xl border-2 border-transparent bg-amber-50/50 p-6 max-sm:p-2 dark:bg-amber-950/10",0===e?"shadow-lg shadow-amber-500/10":""),children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-full bg-amber-500 text-white",children:(0,t.jsx)(n,{className:"size-6"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-bold text-lg text-zinc-900 dark:text-amber-100",children:"Bưá»c 1: Upload Chứng Từ"}),(0,t.jsx)("p",{className:"text-sm text-zinc-500 dark:text-zinc-400",children:"Invoice, Packing List & các chứng từ khác"}),(0,t.jsx)("div",{className:"mt-4 space-y-2",children:[{name:"Invoice.pdf"},{name:"Packing_List.pdf"},{name:"Các chứng từ khác..."}].map((e,i)=>(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-zinc-600 dark:text-zinc-400",children:[(0,t.jsx)("span",{className:"text-amber-600 font-bold",children:"ð"})," ",e.name]},i))})]})]}),(0,t.jsx)("div",{className:"flex size-6 items-center justify-center rounded-full bg-amber-600 shadow-sm",children:(0,t.jsx)(s.CheckCircle2,{className:"size-4 text-white"})})]})}),(0,t.jsx)("div",{className:"flex justify-center text-amber-600",children:(0,t.jsx)(r.motion.div,{animate:{y:[0,5,0]},transition:{repeat:1/0,duration:1.5},children:(0,t.jsx)("svg",{className:"size-8",fill:"none",stroke:"currentColor",strokeWidth:"3",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 5v14m0 0l-4-4m4 4l4-4",strokeLinecap:"round",strokeLinejoin:"round"})})})}),(0,t.jsx)(r.motion.div,{animate:{opacity:1===e?1:.6,scale:1===e?1:.98,borderColor:1===e?"rgb(180, 83, 9)":"rgba(180, 83, 9, 0)"},className:(0,h.cn)("w-full rounded-2xl border-2 border-transparent bg-amber-50/50 p-6 max-sm:p-2 dark:bg-amber-950/10",1===e?"shadow-lg shadow-amber-700/10":""),children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-full bg-amber-700 text-white",children:(0,t.jsx)(l.Loader2,{className:(0,h.cn)("size-6",1===e&&"animate-spin")})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-bold text-lg text-zinc-900 dark:text-amber-100",children:"Bưá»c 2: AI Xá» Lý"}),(0,t.jsx)("p",{className:"text-sm text-zinc-500 dark:text-zinc-400",children:"TrÃch xuất & Phân tÃch"}),(0,t.jsx)("div",{className:"mt-4 space-y-2",children:["TrÃch xuất thông tin tá»± Äá»ng","Tá»± Äá»ng HSCode & mô tả hà ng hóa"].map((e,i)=>(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-zinc-600 dark:text-zinc-400",children:[(0,t.jsx)(s.CheckCircle2,{className:"size-4 text-amber-600"})," ",e]},i))})]})]}),(0,t.jsx)("div",{className:"text-amber-700",children:(0,t.jsx)(r.motion.div,{animate:{rotate:360*(1===e)},transition:{repeat:1/0,duration:4,ease:"linear"},children:(0,t.jsxs)("svg",{className:"size-6",fill:"currentColor",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{d:"M12 15a3 3 0 100-6 3 3 0 000 6z",fillRule:"evenodd"}),(0,t.jsx)("path",{d:"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65z",fillRule:"evenodd"})]})})})]})}),(0,t.jsx)("div",{className:"flex justify-center text-amber-600",children:(0,t.jsx)(r.motion.div,{animate:{y:[0,5,0]},transition:{repeat:1/0,duration:1.5},children:(0,t.jsx)("svg",{className:"size-8",fill:"none",stroke:"currentColor",strokeWidth:"3",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 5v14m0 0l-4-4m4 4l4-4",strokeLinecap:"round",strokeLinejoin:"round"})})})}
1),(0,t.jsx)(r.motion.div,{animate:{opacity:2===e?1:.6,scale:2===e?1:.98,borderColor:2===e?"rgb(234, 88, 12)":"rgba(234, 88, 12, 0)"},className:(0,h.cn)("w-full rounded-2xl border-2 border-transparent bg-orange-50/50 p-6 max-sm:p-2 dark:bg-orange-950/10",2===e?"shadow-lg shadow-orange-500/10":""),children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[(0,t.jsx)("div",{className:"flex size-12 shrink-0 items-center justify-center rounded-full bg-orange-500 text-white",children:(0,t.jsx)(o.Send,{className:"size-6 text-white"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"font-bold text-lg text-zinc-900 dark:text-orange-100",children:"Bưá»c 3: Import eCUS"}),(0,t.jsx)("p",{className:"text-sm text-zinc-500 dark:text-zinc-400",children:"Khai báo hải quan"}),(0,t.jsx)("div",{className:"mt-4 rounded-xl border-l-4 border-orange-500 bg-white p-3 shadow-sm dark:bg-zinc-800",children:(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-zinc-800 dark:text-zinc-200",children:[(0,t.jsx)("span",{className:"text-blue-500",children:"â¬ï¸"})," File XML/Excel sẵn sà ng import và o eCUS"]})})]})]}),(0,t.jsx)("div",{className:"flex size-6 items-center justify-center rounded-full bg-cyan-600 shadow-sm",children:(0,t.jsx)(s.CheckCircle2,{className:"size-4 text-white"})})]})}),(0,t.jsxs)(r.motion.div,{animate:{scale:[1,1.05,1],opacity:1},className:"mt-4 flex items-center gap-3 rounded-full bg-orange-600 px-8 py-4 text-white shadow-xl shadow-orange-600/30",transition:{repeat:1/0,duration:2.5},children:[a?(0,t.jsx)(s.CheckCircle2,{className:"size-5 text-green-500"}):(0,t.jsx)(r.motion.div,{animate:{rotate:360},transition:{repeat:1/0,duration:2,ease:"linear"},children:(0,t.jsx)(l.Loader2,{className:"size-5"})}),(0,t.jsx)("span",{className:"text-md",children:"Hoà n thà nh trong 30 giây"})]})]})}e.s(["Hero",0,function(){return(0,t.jsxs)("section",{className:"relative overflow-hidden pt-18 pb-16 md:pt-32 md:pb-32",id:"hero",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute top-0 left-1/2 -z-10 size-[800px] -translate-x-1/2 -translate-y-1/2 bg-[radial-gradient(circle_at_center,var(--color-accent)_0%,transparent_70%)] opacity-[0.08]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute bottom-0 right-0 -z-10 size-[600px] translate-x-1/4 translate-y-1/4 bg-[radial-gradient(circle_at_center,var(--color-accent)_0%,transparent_70%)] opacity-[0.05]"}),(0,t.jsx)("div",{className:"container mx-auto px-4 lg:px-8",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-16 lg:flex-row lg:items-center",children:[(0,t.jsxs)("div",{className:"flex-1 space-y-10 text-center lg:text-left",children:[(0,t.jsx)(m,{}),(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)(r.motion.h1,{animate:{opacity:1,y:0},className:"font-bold text-5xl tracking-tight sm:text-6xl md:text-7xl lg:leading-[1.1] text-foreground max-sm:text-4xl",initial:{opacity:0,y:20},transition:{duration:.8,ease:u},children:["AI khai báo hải quan tá»± Äá»ng"," ",(0,t.jsx)("span",{className:"bg-linear-to-r from-blue-600 to-indigo-600 bg-clip-text text-transparent",children:"Äầu tiên"})," ","tại Viá»t Nam"]}),(0,t.jsxs)(r.motion.div,{animate:{opacity:1,y:0},className:"mx-auto max-w-2xl text-balance text-lg text-muted-foreground sm:text-xl lg:mx-0",initial:{opacity:0,y:20},transition:{delay:.2,duration:.8,ease:u},children:[(0,t.jsx)("p",{className:"mb-6",children:"Nâng tầm hiá»u suất, bứt phá giá»i hạn trong khai báo Hải quan"}),(0,t.jsx)("ul",{className:"grid gap-3 text-left lg:grid-cols-1",children:["Tá»± Äá»ng trÃch xuất dữ liá»u từ chứng từ (Invoice, Packing list..v.v)","Tá»± Äá»ng tra cứu và phân loại mã HS vá»i tá»· lá» chÃnh xác 99.99%","Tá»± Äá»ng tạo tá» khai hoà n chá»nh chá» bằng và i cú click chuá»t."].map((e,i)=>(0,t.jsxs)("li",{className:"flex items-start gap-3",children:[(0,t.jsx)(s.CheckCircle2,{className:"size-6 shrink-0 text-blue-600"}
1),(0,t.jsx)("span",{className:"font-medium text-foreground/80",children:e})]},i))})]})]}),(0,t.jsx)(p,{}),(0,t.jsxs)(r.motion.div,{animate:{opacity:1},className:"flex items-center justify-center gap-8 pt-4 lg:justify-start",initial:{opacity:0},transition:{delay:1,duration:1},children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"font-bold text-3xl text-blue-600",children:"100k+"}),(0,t.jsx)("span",{className:"text-sm font-medium text-muted-foreground text-nowrap",children:"Tin nhắn"})]}),(0,t.jsx)("div",{className:"h-10 w-px bg-border"}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"font-bold text-3xl text-blue-600",children:"99%"}),(0,t.jsx)("span",{className:"text-sm font-medium text-muted-foreground text-nowrap",children:"Äá» chÃnh xác AI"})]})]})]}),(0,t.jsxs)("div",{className:"relative flex-1 w-full max-w-2xl",children:[(0,t.jsx)(r.motion.div,{animate:{opacity:1,scale:1},className:"relative z-1 w-full overflow-hidden rounded-3xl border border-blue-200/50 bg-background/50 shadow-2xl backdrop-blur-md dark:bg-zinc-900/50 transition-all",initial:{opacity:0,scale:.9},transition:{delay:.5,duration:1,ease:u},children:(0,t.jsx)(x,{})}),(0,t.jsx)("div",{className:"absolute -top-10 -right-10 -z-10 size-40 animate-pulse rounded-full bg-blue-500/20 blur-3xl"}),(0,t.jsx)("div",{className:"absolute -bottom-10 -left-10 -z-10 size-40 animate-pulse rounded-full bg-indigo-500/20 blur-3xl"})]})]})})]})}],53430)},527386,e=>{"use strict";var t=e.i(243029),i=e.i(24012),r=e.i(394051),a=e.i(670286),s=e.i(842058),n=e.i(152088);let l=[{role:"user",content:"Chà o Linh, mình cần tra mã HS cho 'Loa thông báo thanh toán tÃch hợp 4G/Wifi' nhé."},{role:"assistant",content:"Dạ, em Linh xin chà o anh/chá». Em tư vấn ngay Äây ạ.\n\nThiết bá» nà y thuá»c Chương 85. Dá»±a trên tÃnh nÄng thông báo âm thanh qua mạng, mã HS phù hợp nhất là **8518.21.10** (Loa ÄÆ¡n, gắn trong vá», dùng cho viá»
n thông)."},{role:"user",content:"Cảm Æ¡n Linh! Váºy thuế suất nháºp khẩu cá»§a mã nà y là bao nhiêu?"},{role:"assistant",content:"Dạ, mã HS **8518.21.10** có thuế suất nháºp khẩu ưu Äãi (NKUD) là **15%**. Nếu có C/O form E hoặc form D, thuế suất có thá» giảm xuá»ng **0%** ạ."}];
1e.s(["HSCodeDemo",0,function(){let[e,o]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let e=setInterval(()=>{o(e=>(e+1)%(l.length+1))},4e3);return()=>clearInterval(e)},[]),(0,t.jsxs)("section",{className:"relative overflow-hidden bg-zinc-50 py-24 dark:bg-zinc-900/50",id:"hscode-assistant",children:[(0,t.jsx)("div",{className:"absolute inset-0 -z-10 bg-dot-pattern opacity-[0.03] text-zinc-900 dark:text-white dark:opacity-[0.05]"}),(0,t.jsx)("div",{className:"absolute -top-24 -left-20 -z-10 size-96 animate-pulse rounded-full bg-blue-500/10 blur-3xl"}),(0,t.jsx)("div",{className:"container mx-auto px-4 lg:px-8",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-16 lg:flex-row",children:[(0,t.jsxs)("div",{className:"flex-1 space-y-6",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-blue-500/10 px-3 py-1 text-blue-600 dark:text-blue-400",children:[(0,t.jsx)(r.Search,{className:"size-4"}),(0,t.jsx)("span",{className:"font-bold text-sm uppercase tracking-wider",children:"Trợ lý Mã HS"})]}),(0,t.jsxs)("h2",{className:"font-bold text-4xl tracking-tight sm:text-5xl",children:["Tra cứu mã HS & chÃnh sách mặt hà ng"," ",(0,t.jsx)("span",{className:"text-blue-600 font-black italic",children:"tức thì"})]}),(0,t.jsx)("p",{className:"max-w-xl text-lg text-muted-foreground leading-relaxed",children:"Không còn tá»n hà ng giá» tra cứu biá»u thuế. Linh hiá»u sâu sắc vá» Danh mục hà ng hóa XNK Viá»t Nam và các nghá» Äá»nh liên quan Äá» ÄÆ°a ra tư vấn chÃnh xác nhất."}),(0,t.jsx)("div",{className:"grid gap-4 sm:grid-cols-2",children:["Phân loại chÃnh xác 99%","Cáºp nháºt Nghá» Äá»nh má»i nhất","Tư vấn thuế suất ưu Äãi","Há» trợ giải Äáp 24/7"].map((e,i)=>(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"size-5 rounded-full bg-emerald-500/20 flex items-center justify-center",children:(0,t.jsx)("div",{className:"size-2 rounded-full bg-emerald-500"})}),(0,t.jsx)("span",{className:"font-medium",children:e})]},i))})]}),(0,t.jsx)("div",{className:"flex-1 w-full max-w-2xl",children:(0,t.jsxs)("div",{className:"overflow-hidden rounded-3xl border border-zinc-200 bg-white shadow-2xl dark:border-zinc-800 dark:bg-zinc-950",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b px-6 py-4 bg-zinc-50 dark:bg-zinc-900",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"size-10 rounded-full bg-primary flex items-center justify-center text-white font-bold",children:"L"}),(0,t.jsx)("div",{className:"absolute bottom-0 right-0 size-3 rounded-full border-2 border-white bg-emerald-500"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-bold leading-none text-zinc-900 dark:text-white",children:"Trợ lý Linh"}),(0,t.jsx)("span",{className:"text-xs text-emerald-500",children:"Äang trá»±c tuyến"})]})]}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("div",{className:"size-2 rounded-full bg-zinc-300"}),(0,t.jsx)("div",{className:"size-2 rounded-full bg-zinc-300"}),(0,t.jsx)("div",{className:"size-2 rounded-full bg-zinc-300"})]})]}),(0,t.jsxs)("div",{className:"h-[400px] overflow-y-auto p-6 space-y-4",children:[l.slice(0,e).map((e,r)=>(0,t.jsx)(i.motion.div,{animate:{opacity:1,y:0,scale:1},className:(0,n.cn)("flex max-w-[85%] flex-col gap-2 rounded-2xl p-4 text-sm sm:text-base","user"===e.role?"ml-auto bg-primary text-white":"bg-zinc-100 dark:bg-zinc-800"),initial:{opacity:0,y:10,scale:.95},children:(0,t.jsx)("div",{className:"whitespace-pre-wrap",children:e.content})},r)),e<l.length&&(0,t.jsxs)(i.motion.div,{animate:{opacity:1},className:"flex items-center gap-2 text-muted-foreground",initial:{opacity:0}
1,children:[(0,t.jsx)("div",{className:"size-2 animate-bounce rounded-full bg-zinc-300"}),(0,t.jsx)("div",{className:"size-2 animate-bounce rounded-full bg-zinc-300 [animation-delay:0.2s]"}),(0,t.jsx)("div",{className:"size-2 animate-bounce rounded-full bg-zinc-300 [animation-delay:0.4s]"})]})]}),(0,t.jsxs)("div",{className:"border-t p-4 flex gap-4 items-center",children:[(0,t.jsx)("div",{className:"flex-1 rounded-xl bg-zinc-100 px-4 py-3 text-sm text-muted-foreground dark:bg-zinc-900",children:"Nháºp câu há»i cá»§a bạn..."}),(0,t.jsx)("div",{className:"size-10 rounded-xl bg-primary flex items-center justify-center text-white",children:(0,t.jsx)(a.Send,{className:"size-5"})})]})]})})]})})]})}])},242107,e=>{"use strict";var t=e.i(243029),i=e.i(24012),r=e.i(656395),a=e.i(933543),s=e.i(86605),n=e.i(228879),n=n;let l=(0,e.i(553010).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);var o=e.i(675897);let c=[{title:"Phân loại mã HS sai sót",description:"Vá»i hÆ¡n 10,000 mã HS và các quy Äá»nh áp mã phức tạp, nhân viên chứng từ dá»
mắc lá»i phân loại, dẫn Äến rá»§i ro pháp lý và chi phà phát sinh.",icon:n.default,color:"text-red-500",bgColor:"bg-red-500/10"},{title:"Khai báo thá»§ công mất thá»i gian",description:"Má»i tá» khai hải quan yêu cầu nháºp liá»u hà ng trÄm trưá»ng thông tin, khiến nhân viên phải là m viá»c cáºt lá»±c hà ng giá» chá» Äá» hoà n thà nh má»t bá» há» sÆ¡.",icon:s.Clock,color:"text-amber-500",bgColor:"bg-amber-500/10"},{title:"Quy Äá»nh thay Äá»i liên tục",description:"Thông tư, nghá» Äá»nh vá» hải quan ÄÆ°á»£c cáºp nháºt thưá»ng xuyên, doanh nghiá»p khó theo ká»p và dá»
vi phạm do thiếu thông tin má»i nhất.",icon:a.AlertCircle,color:"text-blue-500",bgColor:"bg-blue-500/10"},{title:"Xá» lý chứng từ Äa ngôn ngữ",description:"Invoice, packing list từ nhiá»u quá»c gia vá»i ngôn ngữ khác nhau khiến viá»c trÃch xuất và nháºp liá»u trá» nên cháºm chạp và dá»
nhầm lẫn.",icon:l,color:"text-emerald-500",bgColor:"bg-emerald-500/10"}];e.s(["Problem",0,function(){let e=(0,r.useReducedMotion)();return(0,t.jsx)(o.Section,{id:"problem",subtitle:"Chúng tôi hiá»u những khó khÄn mà bạn Äang gặp phải hà ng ngà y",title:"Thách thức trong ngà nh xuất nháºp khẩu",children:(0,t.jsxs)("div",{className:"space-y-12",children:[(0,t.jsx)("div",{className:"grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:c.map((r,a)=>(0,t.jsxs)(i.motion.div,{className:"group relative overflow-hidden rounded-3xl border border-border bg-card p-8 transition-all hover:shadow-lg hover:shadow-primary/5 curs
1or-default",initial:e?{opacity:0}:{opacity:0,y:20},transition:{delay:.05*a,duration:.4,ease:"easeOut"},viewport:{once:!0},whileInView:{opacity:1,y:0},children:[(0,t.jsx)("div",{className:`mb-6 inline-flex size-12 items-center justify-center rounded-2xl ${r.bgColor} ${r.color}`,children:(0,t.jsx)(r.icon,{className:"size-6"})}),(0,t.jsx)("h3",{className:"mb-3 font-bold text-xl text-foreground group-hover:text-primary transition-colors",children:r.title}),(0,t.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:r.description})]},a))}),(0,t.jsx)(i.motion.div,{className:"text-center",initial:e?{opacity:0}:{opacity:0,y:20},transition:{delay:.3,duration:.4,ease:"easeOut"},viewport:{once:!0},whileInView:{opacity:1,y:0},children:(0,t.jsxs)("p",{className:"text-2xl md:text-3xl font-bold text-foreground",children:["Giải pháp nà y giúp nâng cao nÄng suất là m viá»c lên"," ",(0,t.jsx)("span",{className:"text-primary",children:"10 lần"})," cho Äá»i ngÅ© nhân viên chứng từ hải quan"]})})]})})}],242107)},626931,e=>{"use strict";var t=e.i(243029),i=e.i(24012),r=e.i(656395),a=e.i(850491),s=e.i(553010);let n=(0,s.default)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]),l=(0,s.default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var o=e.i(275328),c=e.i(675897);let d=[{title:"AI Phân loại Mã HS",description:"Công nghá» AI tiên tiến giúp nháºn diá»n và Äá» xuất mã HS chÃnh xác nhất dá»±a trên mô tả hà ng hóa và lá»ch sá» khai báo.",icon:a.Bot,color:"text-primary",bgColor:"bg-primary/10"},{title:"Tá»± Äá»ng hóa Quy trình",description:"TrÃch xuất dữ liá»u từ Invoice, Packing List và tá»± Äá»ng Äiá»n và o tá» khai eCUS chá» trong và i giây.",icon:o.Zap,color:"text-amber-500",bgColor:"bg-amber-500/10"},{title:"Cáºp nháºt Quy Äá»nh 24/7",description:"Há» thá»ng tá»± Äá»ng cáºp nháºt các quy Äá»nh hải quan má»i nhất, Äảm bảo má»i khai báo Äá»u tuân thá»§ pháp luáºt.",icon:l,color:"text-emerald-500",bgColor:"bg-emerald-500/10"},{title:"Phân tÃch Thông minh",description:"Há» thá»ng há»c máy liên tục cải thiá»n Äá» chÃnh xác từ dữ liá»u thá»±c tế, giúp tá»i ưu hóa chi phà thuế cho doanh nghiá»p.",icon:n,color:"text-blue-500",bgColor:"bg-blue-500/10"}];e.s(["Solution",0,function(){let e=(0,r.useReducedMotion)();return(0,t.jsx)(c.Section,{className:"bg-primary/5",id:"solution",subtitle:"Chúng tôi mang Äến công nghá» AI giúp bạn bứt phá nÄng suất là m viá»c",title:"Giải pháp Äá»t phá từ XNK.AI",children:(0,t.jsxs)("div",{className:"grid gap-12 lg:grid-cols-2 lg:items-center",children:[(0,t.jsx)("div",{className:"space-y-8",children:d.map((r,a)=>(0,t.jsxs)(i.motion.div,{className:"flex gap-6",initial:e?{opacity:0}:{opacity:0,x:-20},transition:{delay:.05*a,duration:.4,ease:"easeOut"},viewport:{once:!0},whileInView:{opacity:1,x:0},children:[(0,t.jsx)("div",{className:`flex size-14 shrink-0 items-center justify-center rounded-2xl ${r.bgColor} ${r.color}`,children:(0,t.jsx)(r.icon,{className:"size-7"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-2 font-bold text-xl text-foreground",children:r.title}),(0,t.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:r.description})]})]},a))}),(0,t.jsxs)(i.motion.div,{className:"relative aspect-square overflow-hidden rounded-3xl border border-border bg-card shadow-2xl",initial:{opacity:0,scale:.95},transition:{duration:.8},viewport:{once:!0},whileInView:{opacity:1,scale:1},children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/20 via-trans
1parent to-transparent"}),(0,t.jsxs)("div",{className:"flex h-full flex-col items-center justify-center p-12 text-center",children:[(0,t.jsx)("div",{className:"mb-6 rounded-full bg-primary/10 p-4",children:(0,t.jsx)(a.Bot,{className:"size-12 text-primary"})}),(0,t.jsx)("h4",{className:"mb-4 font-bold text-2xl",children:"Trợ lý Linh - Chuyên gia AI cá»§a bạn"}),(0,t.jsx)("p",{className:"text-muted-foreground",children:'"Linh giúp bạn xá» lý má»i thá»§ tục hải quan má»t cách thông minh, nhanh chóng và chÃnh xác nhất."'})]})]})]})})}],626931)},491913,e=>{"use strict";var t=e.i(243029),i=e.i(24012),r=e.i(656395);let a=(0,e.i(553010).default)("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);var s=e.i(319532),n=e.i(842058);let l=[{name:"Nguyá»
n VÄn Nam",role:"Giám Äá»c Logistics, VinShip",content:"XNK.AI giúp Äá»i ngÅ© cá»§a mình xá» lý há» sÆ¡ nhanh hÆ¡n gấp 3 lần. Äặc biá»t là tÃnh nÄng tra mã HS chÃnh xác tuyá»t Äá»i.",avatar:"NV",rating:5},{name:"Lê Minh Châu",role:"Trưá»ng phòng XNK, TechTrade",content:"Giao diá»n hiá»n Äại, dá»
dùng. Trợ lý Linh phản há»i cá»±c nhanh, giúp mình g
1iải quyết nhiá»u tình huá»ng khó khi khai báo.",avatar:"LMC",rating:5},{name:"Trần Thế Anh",role:"CEO, Global Link Logistics",content:"Sản phẩm tuyá»t vá»i cho doanh nghiá»p muá»n chuyá»n Äá»i sá» quy trình hải quan. Rất Äáng Äầu tư!",avatar:"TTA",rating:5}],o=[{label:"Cuá»c há»i thoại",value:3e4,suffix:"+"},{label:"Khách hà ng tin dùng",value:5e3,suffix:"+"},{label:"Äá» chÃnh xác AI",value:99,suffix:"%"}];function c({value:e,suffix:i}){let[a,s]=(0,n.useState)(0),l=(0,r.useReducedMotion)();return(0,n.useEffect)(()=>{if(l)return void s(e);let t=0,i=(e-0)/40,r=setInterval(()=>{(t+=i)>=e?(s(e),clearInterval(r)):s(t)},50);return()=>clearInterval(r)},[e,l]),(0,t.jsxs)("span",{className:"font-bold tabular-nums",children:[a%1==0?a.toLocaleString():a.toFixed(1),i]})}e.s(["Testimonials",0,function(){let e=(0,r.useReducedMotion)();return(0,t.jsxs)("section",{className:"relative overflow-hidden border-t border-border bg-background py-24",id:"testimonials",children:[(0,t.jsx)("div",{className:"absolute inset-0 -z-10 bg-grid-pattern opacity-[0.03] text-foreground"}),(0,t.jsx)("div",{className:"absolute -bottom-24 -right-20 -z-10 size-96 animate-pulse rounded-full bg-blue-500/5 blur-3xl lg:bg-blue-500/10"}),(0,t.jsxs)("div",{className:"container mx-auto px-4 lg:px-8",children:[(0,t.jsxs)("div",{className:"mb-20 text-center",children:[(0,t.jsxs)("h2",{className:"font-bold text-4xl tracking-tight sm:text-5xl mb-4",children:["Tin dùng bá»i các ",(0,t.jsx)("span",{className:"text-blue-600",children:"chuyên gia"})]}),(0,t.jsx)("p",{className:"mx-auto max-w-2xl text-lg text-muted-foreground",children:"Hà ng nghìn khách hà ng Äã và Äang tin tưá»ng sá» dụng XNK.AI."})]}),(0,t.jsx)("div",{className:"mb-20 grid gap-8 sm:grid-cols-3",children:o.map((e,r)=>(0,t.jsxs)(i.motion.div,{className:"text-center p-8 rounded-3xl border border-border bg-card/50 backdrop-blur-sm",initial:{opacity:0,y:20},transition:{delay:.1*r,duration:.5},viewport:{once:!0},whileInView:{opacity:1,y:0},children:[(0,t.jsx)("div",{className:"text-4xl md:text-5xl font-bold text-blue-600 mb-2",children:(0,t.jsx)(c,{suffix:e.suffix,value:e.value})}),(0,t.jsx)("div",{className:"text-muted-foreground font-medium uppercase tracking-wider text-sm",children:e.label})]},r))}),(0,t.jsx)("div",{className:"grid gap-6 md:grid-cols-3",children:l.map((r,n)=>(0,t.jsxs)(i.motion.div,{animate:{opacity:1,y:0},className:"relative flex flex-col justify-between rounded-3xl border border-border bg-card/50 p-8 shadow-sm backdrop-blur-sm transition-all hover:shadow-md hover:border-primary/20",initial:e?{opacity:0}:{opacity:0,y:20},transition:{delay:.1*n,duration:.8},children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-4 flex gap-1",children:[...Array(r.rating)].map((e,i)=>(0,t.jsx)(s.Star,{className:"size-4 fill-amber-500 text-amber-500"},i))}),(0,t.jsx)(a,{className:"absolute top-6 right-8 size-10 text-blue-600/5"}),(0,t.jsxs)("p",{className:"relative z-10 text-lg leading-relaxed text-foreground/80 italic",children:['"',r.content,'"']})]}),(0,t.jsxs)("div",{className:"mt-8 flex items-center gap-4",children:[(0,t.jsx)("div",{className:"flex size-12 items-center justify-center rounded-full bg-blue-600 font-bold text-white uppercase shadow-lg shadow-blue-500/20",children:r.avatar}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-bold text-foreground",children:r.name}),(0,t.jsx)("p",{className:"text-sm font-medium text-muted-foreground",children:r.role})]})]})]},n))})]})]})}],491913)},501860,e=>{"use strict";var t=e.i(842058),i=e.i(515201),r=e.i(161462),a=e.i(248490),s=e.i(203679),n=e.i(723673),l=e.i(371954),o=e.i(358894),c=e.i(934322),d=e.i(243029),h="Collapsible",[u,m]=(0,r.createContextScope)(h),[p,x]=u(h),g=t.forwardRef((e,i)=>{let{__scopeCollapsible:r,open:s,defaultOpen:n,disabled:o,onOpenChange:u,...m}=e,[x,g]=(0,a.useControllableState)({prop:s,defaultProp:n??!1,onChange:u,caller:h});return(0,d.jsx)(p,{scope:r,disabled:o,contentId:(0,c.useId)(),open:x,onOpenToggle:t.useCallback(()=>g(e=>!e),[g]),children:(0,d.jsx)(l.Primitive.div,{"data-state":N(x),"data-disabled":o?"":void 0,...m,ref:i})})});g.displayName=h;
1var f="CollapsibleTrigger",b=t.forwardRef((e,t)=>{let{__scopeCollapsible:r,...a}=e,s=x(f,r);return(0,d.jsx)(l.Primitive.button,{type:"button","aria-controls":s.open?s.contentId:void 0,"aria-expanded":s.open||!1,"data-state":N(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...a,ref:t,onClick:(0,i.composeEventHandlers)(e.onClick,s.onOpenToggle)})});b.displayName=f;var v="CollapsibleContent",y=t.forwardRef((e,t)=>{let{forceMount:i,...r}=e,a=x(v,e.__scopeCollapsible);return(0,d.jsx)(o.Presence,{present:i||a.open,children:({present:e})=>(0,d.jsx)(j,{...r,ref:t,present:e})})});y.displayName=v;var j=t.forwardRef((e,i)=>{let{__scopeCollapsible:r,present:a,children:o,...c}=e,h=x(v,r),[u,m]=t.useState(a),p=t.useRef(null),g=(0,n.useComposedRefs)(i,p),f=t.useRef(0),b=f.current,y=t.useRef(0),j=y.current,k=h.open||u,w=t.useRef(k),C=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.useLayoutEffect)(()=>{let e=p.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();f.current=t.height,y.current=t.width,w.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),m(a)}},[h.open,a]),(0,d.jsx)(l.Primitive.div,{"data-state":N(h.open),"data-disabled":h.disabled?"":void 0,id:h.contentId,hidden:!k,...c,ref:g,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...e.style},children:k&&o})});function N(e){return e?"open":"closed"}e.s(["Collapsible",0,g,"CollapsibleContent",0,y,"CollapsibleTrigger",0,b,"Content",0,y,"Root",0,g,"Trigger",0,b,"createCollapsibleScope",0,m])},644141,e=>{"use strict";let t;var i=e.i(646689),r=e.i(361221),a=e.i(869753),s=e.i(972692),n=e.i(473620),l=e.i(848011),o=e.i(813723),c=e.i(882756),d=class extends n.Subscribable{constructor(e,t){super(),this.options=t,this.#e=e,this.#t=null,this.#i=(0,l.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#e;#r=void 0;#a=void 0;#s=void 0;#n;#l;#i;#t;#o;#c;#d;#h;#u;#m;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#r.addObserver(this),h(this.#r,this.options)?this.#x():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return u(this.#r,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return u(this.#r,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#f(),this.#b(),this.#r.removeObserver(this)}setOptions(e){let t=this.options,i=this.#r;if(this.options=this.#e.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,o.resolveQueryBoolean)(this.options.enabled,this.#r))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#v(),this.#r.setOptions(this.options),t._defaulted&&!(0,o.shallowEqualObjects)(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#r,observer:this});let r=this.hasListeners();r&&m(this.#r,i,this.options,t)&&this.#x(),this.updateResult(),r&&(this.#r!==i||(0,o.resolveQueryBoolean)(this.options.enabled,this.#r)!==(0,o.resolveQueryBoolean)(t.enabled,this.#r)||(0,o.resolveStaleTime)(this.options.staleTime,this.#r)!==(0,o.resolveStaleTime)(t.staleTime,this.#r))&&this.#y();let a=this.#j();r&&(this.#r!==i||(0,o.resolveQueryBoolean)(this.options.enabled,this.#r)!==(0,o.resolveQueryBoolean)(t.enabled,this.#r)||a!==this.#m)&&this.#N(a)}getOptimisticResult(e){var t,i;let r=this.#e.getQueryCache().build(this.#e,e),a=this.createResult(r,e);return t=this,i=a,(0,o.shallowEqualObjects)(t.getCurrentResult(),i)||(this.#s=a,this.#l=this.options,this.#n=this.#r.state),a}getCurrentResult(){return this.#s}trackResult(e,t){return new Proxy(e,{get:(e,i)=>(this.trackProp(i),t?.(i),"promise"===i&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#i.status||this.#i.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,i))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#r}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),i=this.#e.getQueryCache().build(this.#e,t);return i.fetch().then(()=>this.createResult(i,t))}fetch(e){return this.#x({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#x(e){this.#v();let t=this.#r.fetch(this.options,e);return e?.throwOnError||(t=t.catch(o.noop)),t}#y(){this.#f();let e=(0,o.resolveStaleTime)(this.options.staleTime,this.#r);
1if(r.environmentManager.isServer()||this.#s.isStale||!(0,o.isValidTimeout)(e))return;let t=(0,o.timeUntilStale)(this.#s.dataUpdatedAt,e);this.#h=c.timeoutManager.setTimeout(()=>{this.#s.isStale||this.updateResult()},t+1)}#j(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#r):this.options.refetchInterval)??!1}#N(e){this.#b(),this.#m=e,!r.environmentManager.isServer()&&!1!==(0,o.resolveQueryBoolean)(this.options.enabled,this.#r)&&(0,o.isValidTimeout)(this.#m)&&0!==this.#m&&(this.#u=c.timeoutManager.setInterval(()=>{(this.options.refetchIntervalInBackground||i.focusManager.isFocused())&&this.#x()},this.#m))}#g(){this.#y(),this.#N(this.#j())}#f(){void 0!==this.#h&&(c.timeoutManager.clearTimeout(this.#h),this.#h=void 0)}#b(){void 0!==this.#u&&(c.timeoutManager.clearInterval(this.#u),this.#u=void 0)}createResult(e,t){let i,r=this.#r,a=this.options,n=this.#s,c=this.#n,d=this.#l,u=e!==r?e.state:this.#a,{state:x}=e,g={...x},f=!1;if(t._optimisticResults){let i=this.hasListeners(),n=!i&&h(e,t),l=i&&m(e,r,t,a);(n||l)&&(g={...g,...(0,s.fetchState)(x.data,e.options)}),"isRestoring"===t._optimisticResults&&(g.fetchStatus="idle")}let{error:b,errorUpdatedAt:v,status:y}=g;i=g.data;let j=!1;if(void 0!==t.placeholderData&&void 0===i&&"pending"===y){let e;n?.isPlaceholderData&&t.placeholderData===d?.placeholderData?(e=n.data,j=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#d?.state.data,this.#d):t.placeholderData,void 0!==e&&(y="success",i=(0,o.replaceData)(n?.data,e,t),f=!0)}if(t.select&&void 0!==i&&!j)if(n&&i===c?.data&&t.select===this.#o)i=this.#c;else try{this.#o=t.select,i=t.select(i),i=(0,o.replaceData)(n?.data,i,t),this.#c=i,this.#t=null}catch(e){this.#t=e}this.#t&&(b=this.#t,i=this.#c,v=Date.now(),y="error");let N="fetching"===g.fetchStatus,k="pending"===y,w="error"===y,C=k&&N,z=void 0!==i,R={status:y,fetchStatus:g.fetchStatus,isPending:k,isSuccess:"success"===y,isError:w,isInitialLoading:C,isLoading:C,data:i,dataUpdatedAt:g.dataUpdatedAt,error:b,errorUpdatedAt:v,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>u.dataUpdateCount||g.errorUpdateCount>u.errorUpdateCount,isFetching:N,isRefetching:N&&!k,isLoadingError:w&&!z,isPaused:"paused"===g.fetchStatus,isPlaceholderData:f,isRefetchError:w&&z,isStale:p(e,t),refetch:this.refetch,promise:this.#i,isEnabled:!1!==(0,o.resolveQueryBoolean)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==R.data,i="error"===R.status&&!t,a=e=>{i?e.reject(R.error):t&&e.resolve(R.data)},s=()=>{a(this.#i=R.promise=(0,l.pendingThenable)())},n=this.#i;switch(n.status){case"pending":e.queryHash===r.queryHash&&a(n);break;case"fulfilled":(i||R.data!==n.value)&&s();break;case"rejected":i&&R.error===n.reason||s()}}return R}updateResult(){let e=this.#s,t=this.createResult(this.#r,this.options);if(this.#n=this.#r.state,this.#l=this.options,void 0!==this.#n.data&&(this.#d=this.#r),(0,o.shallowEqualObjects)(t,e))return;this.#s=t;let i=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,i="function"==typeof t?t():t;if("all"===i||!i&&!this.#p.size)return!0;let r=new Set(i??this.#p);return this.options.throwOnError&&r.add("error"),Object.keys(this.#s).some(t=>this.#s[t]!==e[t]&&r.has(t))};this.#k({listeners:i()})}#v(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#r)return;let t=this.#r;this.#r=e,this.#a=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#k(e){a.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#s)}),this.#e.getQueryCache().notify({query:this.#r,type:"observerResultsUpdated"})})}};function h(e,t){return!1!==(0,o.resolveQueryBoolean)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,o.resolveQueryBoolean)(t.retryOnMount,e))||void 0!==e.state.data&&u(e,t,t.refetchOnMount)}function u(e,t,i){if(!1!==(0,o.resolveQueryBoolean)(t.enabled,e)&&"static"!==(0,o.resolveStaleTime)(t.staleTime,e)){let r="function"==typeof i?i(e):i;return"always"===r||!1!==r&&p(e,t)}return!1}function m(e,t,i,r){return(e!==t||!1===(0,o.resolveQueryBoolean)(r.enabled,e))&&(!i.suspense||"error"!==e.state.status)&&p(e,i)}function p(e,t){return!1!==(0,o.resolveQueryBoolean)(t.enabled,e)&&e.isStaleByTime((0,o.resolveStaleTime)(t.staleTime,e))}var x=e.i(842058),g=e.i(529999);e.i(243029);var f=x.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t})),b=x.createContext(!1);b.Provider;var v=(e,t,i)=>t.fetchOptimistic(e).catch(()=>{i.clearReset()});e.s(["useQuery",0,function(e,t){return function(e,t,i){let s,n=x.useContext(b),l=x.useContext(f),c=(0,g.useQueryClient)(i),d=c.defaultQueryOptions(e);c.getDefaultOptions().queries?._experimental_beforeQuery?.(d);let h=c.getQueryCache().get(d.queryHash);if(d._optimisticResults=n?"isRestoring":"optimistic",d.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=d.staleTime;d.staleTime="function"==typeof t?(...i)=>e(t(...i)):e(t),"number"==typeof d.gcTime&&(d.gcTime=Math.max(d.gcTime,1e3))}s=h?.state.error&&"function"==typeof d.throwOnError?(0,o.shouldThrowError)(d.throwOnError,[h.state.error,h]):d.throwOnError,(d.suspense||d.experimental_prefetchInRender||s)&&!l.isReset()&&(d.retryOnMount=!1),x.useEffect(()=>{l.clearReset()},[l]);let u=!c.getQueryCache().get(d.queryHash),[m]=x.useState(()=>new t(c,d)),p=m.getOptimisticResult(d),y=!n&&!1!==e.subscribed;if(x.useSyncExternalStore(x.useCallback(e=>{let t=y?m.subscribe(a.notifyManager.batchCalls(e)):o.noop;return m.updateResult(),t},[m,y]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),x.useEffect(()=>{m.setOptions(d)},[d,m]),d?.suspense&&p.isPending)throw v(d,m,l);if((({result:e,errorResetBoundary:t,throwOnError:i,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&void 0===e.data||(0,o.shouldThrowError)(i,[e.error,r])))({result:p,errorResetBoundary:l,throwOnError:d.throwOnError,query:h,suspense:d.suspense}))throw p.error;if(c.getDefaultOptions().queries?._experimental_afterQuery?.(d,p),d.experimental_prefetchInRender&&!r.environmentManager.isServer()&&p.isLoading&&p.isFetching&&!n){let e=u?v(d,m,l):h?.promise;e?.catch(o.noop).finally(()=>{m.updateResult()})}return d.notifyOnChangeProps?p:m.trackResult(p)}(e,d,t)}],644141)},656395,e=>{"use strict";e.i(487798);var t=e.i(900084),i=e.i(37024),r=e.i(842058);e.s(["useReducedMotion",0,function(){t.hasReducedMotionListener.current||(0,i.initPrefersReducedMotion)();let[e]=(0,r.useState)(t.prefersReducedMotion.current);return e}])},436292,e=>{"use strict";let t=(0,e.i(553010).default)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);e.s(["default",0,t])}
1,850491,e=>{"use strict";var t=e.i(436292);e.s(["Bot",()=>t.default])},509390,e=>{"use strict";let t=(0,e.i(553010).default)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);e.s(["BarChart3",0,t],509390)},967101,e=>{"use strict";let t=(0,e.i(553010).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},275723,e=>{"use strict";var t=e.i(967101);e.s(["Check",()=>t.default])},507295,e=>{"use strict";let t=(0,e.i(553010).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["default",0,t])},552086,e=>{"use strict";var t=e.i(507295);e.s(["ChevronUpIcon",()=>t.default])},933543,e=>{"use strict";let t=(0,e.i(553010).default)("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"}]]);e.s(["AlertCircle",0,t],933543)},90994,e=>{"use strict";let t=(0,e.i(553010).default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["default",0,t])},352889,e=>{"use strict";var t=e.i(90994);e.s(["CheckCircle2",()=>t.default])},827901,e=>{"use strict";let t=(0,e.i(553010).default)("cloud-upload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);e.s(["CloudUpload",0,t],827901)},228879,e=>{"use strict";let t=(0,e.i(553010).default)("file-exclamation-point",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},609137,e=>{"use strict";let t=(0,e.i(553010).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t])},387807,e=>{"use strict";var t=e.i(609137);e.s(["Loader2",()=>t.default])},438087,e=>{"use strict";let t=(0,e.i(553010).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"}]]);e.s(["default",0,t])},670286,e=>{"use strict";var t=e.i(438087);e.s(["Send",()=>t.default])},319532,e=>{"use strict";let t=(0,e.i(553010).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],319532)},994978,e=>{"use strict";var t=e.i(243029),i=e.i(12356),r=e.i(552086),a=e.i(842058),s=e.i(161462),n=e.i(744917),l=e.i(723673),o=e.i(515201),c=e.i(248490),d=e.i(371954),h=e.i(501860),u=e.i(934322),m=e.i(849577),p="Accordion",x=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[g,f,b]=(0,n.createCollection)(p),[v,y]=(0,s.createContextScope)(p,[b,h.createCollapsibleScope]),j=(0,h.createCollapsibleScope)(),N=a.forwardRef((e,i)=>{let{type:r,...a}=e;return(0,t.jsx)(g.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,t.jsx)(I,{...a,ref:i}):(0,t.jsx)(R,{...a,ref:i})})});N.displayName=p;var[k,w]=v(p),[C,z]=v(p,{collapsible:!1}),R=a.forwardRef((e,i)=>{let{value:r,defaultValue:s,onValueChange:n=()=>{},collapsible:l=!1,...o}=e,[d,h]=(0,c.useControllableState)({prop:r,defaultProp:s??"",onChange:n,caller:p});return(0,t.jsx)(k,{scope:e.__scopeAccordion,value:a.useMemo(()=>d?[d]:[],[d]),onItemOpen:h,onItemClose:a.useCallback(()=>l&&h(""),[l,h]),children:(0,t.jsx)(C,{scope:e.__scopeAccordion,collapsible:l,children:(0,t.jsx)(S,{...o,ref:i}
1)})})}),I=a.forwardRef((e,i)=>{let{value:r,defaultValue:s,onValueChange:n=()=>{},...l}=e,[o,d]=(0,c.useControllableState)({prop:r,defaultProp:s??[],onChange:n,caller:p}),h=a.useCallback(e=>d((t=[])=>[...t,e]),[d]),u=a.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(k,{scope:e.__scopeAccordion,value:o,onItemOpen:h,onItemClose:u,children:(0,t.jsx)(C,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(S,{...l,ref:i})})})}),[M,T]=v(p),S=a.forwardRef((e,i)=>{let{__scopeAccordion:r,disabled:s,dir:n,orientation:c="vertical",...h}=e,u=a.useRef(null),p=(0,l.useComposedRefs)(u,i),b=f(r),v="ltr"===(0,m.useDirection)(n),y=(0,o.composeEventHandlers)(e.onKeyDown,e=>{if(!x.includes(e.key))return;let t=e.target,i=b().filter(e=>!e.ref.current?.disabled),r=i.findIndex(e=>e.ref.current===t),a=i.length;if(-1===r)return;e.preventDefault();let s=r,n=a-1,l=()=>{(s=r+1)>n&&(s=0)},o=()=>{(s=r-1)<0&&(s=n)};switch(e.key){case"Home":s=0;break;case"End":s=n;break;case"ArrowRight":"horizontal"===c&&(v?l():o());break;case"ArrowDown":"vertical"===c&&l();break;case"ArrowLeft":"horizontal"===c&&(v?o():l());break;case"ArrowUp":"vertical"===c&&o()}let d=s%a;i[d].ref.current?.focus()});return(0,t.jsx)(M,{scope:r,disabled:s,direction:n,orientation:c,children:(0,t.jsx)(g.Slot,{scope:r,children:(0,t.jsx)(d.Primitive.div,{...h,"data-orientation":c,ref:p,onKeyDown:s?void 0:y})})})}),Q="AccordionItem",[A,O]=v(Q),q=a.forwardRef((e,i)=>{let{__scopeAccordion:r,value:a,...s}=e,n=T(Q,r),l=w(Q,r),o=j(r),c=(0,u.useId)(),d=a&&l.value.includes(a)||!1,m=n.disabled||e.disabled;return(0,t.jsx)(A,{scope:r,open:d,disabled:m,triggerId:c,children:(0,t.jsx)(h.Root,{"data-orientation":n.orientation,"data-state":V(d),...o,...s,ref:i,disabled:m,open:d,onOpenChange:e=>{e?l.onItemOpen(a):l.onItemClose(a)}})})});q.displayName=Q;var L="AccordionHeader",P=a.forwardRef((e,i)=>{let{__scopeAccordion:r,...a}=e,s=T(p,r),n=O(L,r);return(0,t.jsx)(d.Primitive.h3,{"data-orientation":s.orientation,"data-state":V(n.open),"data-disabled":n.disabled?"":void 0,...a,ref:i})});P.displayName=L;var D="AccordionTrigger",E=a.forwardRef((e,i)=>{let{__scopeAccordion:r,...a}=e,s=T(p,r),n=O(D,r),l=z(D,r),o=j(r);return(0,t.jsx)(g.ItemSlot,{scope:r,children:(0,t.jsx)(h.Trigger,{"aria-disabled":n.open&&!l.collapsible||void 0,"data-orientation":s.orientation,id:n.triggerId,...o,...a,ref:i})})});E.displayName=D;var _="AccordionContent",H=a.forwardRef((e,i)=>{let{__scopeAccordion:r,...a}=e,s=T(p,r),n=O(_,r),l=j(r);return(0,t.jsx)(h.Content,{role:"region","aria-labelledby":n.triggerId,"data-orientation":s.orientation,...l,...a,ref:i,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function V(e){return e?"open":"closed"}H.displayName=_,e.s(["Accordion",0,N,"AccordionContent",0,H,"AccordionHeader",0,P,"AccordionItem",0,q,"AccordionTrigger",0,E,"Content",0,H,"Header",0,P,"Item",0,q,"Root",0,N,"Trigger",0,E,"createAccordionScope",0,y],31908);var F=e.i(31908),F=F,B=e.i(632137);e.s(["Accordion",0,function({className:e,...i}){return(0,t.jsx)(F.Root,{className:(0,B.cn)("flex w-full flex-col",e),"data-slot":"accordion",...i})},"AccordionContent",0,function({className:e,children:i,...r}){return(0,t.jsx)(F.Content,{className:"overflow-hidden text-sm data-open:animate-accordion-down data-closed:animate-accordion-up","data-slot":"accordion-content",...r,children:(0,t.jsx)("div",{className:(0,B.cn)("h-(--radix-accordion-content-height) pt-0 pb-4 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4",e),children:i})})},"AccordionItem",0,function({className:e,...i}){return(0,t.jsx)(F.Item,{className:(0,B.cn)("not-last:border-b",e),"data-slot":"accordion-item",...i})},"AccordionTrigger",0,function({className:e,children:a,...s}){return(0,t.jsx)(F.Header,{className:"flex",children:(0,t.jsxs)(F.Trigger,{className:(0,B.cn)("group/accordion-trigger relative flex flex-1 items-start justify-between rounded-md border border-transparent py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring disabled:pointer-events-none disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground",e),"data-slot":"accordion-trigger",...s,children:[a,(0,t.jsx)(i.ChevronDownIcon,{className:"pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden","data-slot":"accordion-trigger-icon"}),(0,t.jsx)(r.ChevronUpIcon,{className:"pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline","data-slot":"accordion-trigger-icon"})]})})}],994978)}]);
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.