const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./8_mBGcxL.js","./CHnjGnDd.js","./BSfFG59R.js","./DINJ4NqB.js","./vendor-ui.DEdkfWPu.css","./BXzo-atK.js","./CFJhv-VP.js","./entry.CsdC453Y.css","./DoOoYcOa.js","./BQHNewu7.js","./DZ6PF7WB.js","./44NoomrI.js","./DMUEFhzJ.js","./DsqzQK0g.js","./DbmKxkvg.js","./Dxr58r9-.js","./MsgDialog.BDaNYNqb.css","./CTF0BHY7.js","./MxqnY5dH.js","./Cg7PsxLe.js","./DM_MVJzS.js","./B9BCBWqv.js","./Cpj98o6Y.js","./DCRYA0L6.js","./AiChatDialog.CzxyO192.css"])))=>i.map(i=>d[i]);
import{u as Q,_ as rt,e as et,k as kt,l as At,c as Ct,a as it,h as ct}from"./BSfFG59R.js";import dt from"./CHnjGnDd.js";import{_ as H,a as at}from"./Cg7PsxLe.js";import{a as ot,b as st,o as a,c as l,a4 as t,$ as n,u as e,a6 as B,a5 as f,_ as S,ah as E,a8 as r,a2 as U,aj as M,T as lt,e as A,d as z,w as G,ae as tt,af as Bt,i as ut,al as pt,n as $t,l as V,ar as ht,z as Z,aA as Lt,r as R,aB as Mt,aC as Tt,aD as Ut,aE as St,ak as L,ad as mt,an as nt,ao as Et,Y as vt}from"./DINJ4NqB.js";import{G as Pt,s as jt,d as It,t as zt,X as Vt,u as Dt,C as q}from"./CFJhv-VP.js";import{F as Ot}from"./B9BCBWqv.js";import{c as Y}from"./BQHNewu7.js";import{r as Kt}from"./BXzo-atK.js";import{r as Qt}from"./DgvEro_h.js";import{t as Rt}from"./Dxr58r9-.js";import{u as ft}from"./DMUEFhzJ.js";import{u as Ft}from"./DsqzQK0g.js";const Nt={key:0,class:"absolute right-0 top-full mt-2 min-w-[9rem] w-max max-w-[min(12rem,calc(100vw-2rem))] rounded-xl overflow-hidden origin-top-right border border-slate-200 bg-white py-1 shadow-[0_12px_30px_rgba(15,23,42,0.08)]"},Gt=["onClick"],Ht={class:"leading-snug"},Zt={class:"inline-flex h-5 w-5 items-center justify-center"},Yt={__name:"LanguageSwitcher",props:{isNonTransparent:{type:Boolean,default:!1}},setup(m){const{locale:s,locales:i,setLocale:u}=Q(),b=async x=>{p.value=!1,await u(x)},p=A(!1),c=A(null),y=x=>{c.value&&!c.value.contains(x.target)&&(p.value=!1)};return ot(()=>{document.addEventListener("click",y)}),st(()=>{document.removeEventListener("click",y)}),(x,o)=>(a(),l("div",{ref_key:"containerRef",ref:c,class:"relative z-50"},[t("button",{onClick:o[0]||(o[0]=d=>p.value=!p.value),class:B(["flex items-center gap-2 p-2 rounded-lg transition-colors duration-200 cursor-pointer",m.isNonTransparent?p.value?"bg-slate-100 text-slate-900":"text-slate-900 hover:bg-slate-100":p.value?"bg-white/10 text-white":"text-white hover:bg-white/10"])},[n(e(Pt),{class:"h-5 w-5"})],2),n(lt,{"enter-active-class":"transition duration-100 ease-out","enter-from-class":"transform scale-95 opacity-0 translate-y-1","enter-to-class":"transform scale-100 opacity-100 translate-y-0","leave-active-class":"transition duration-75 ease-in","leave-from-class":"transform scale-100 opacity-100 translate-y-0","leave-to-class":"transform scale-95 opacity-0 translate-y-1"},{default:f(()=>[p.value?(a(),l("div",Nt,[(a(!0),l(S,null,E(e(i),d=>(a(),l("button",{key:d.code,onClick:v=>b(d.code),class:B(["w-full text-left px-4 py-2.5 text-sm flex items-start justify-between gap-3 transition-colors duration-150 cursor-pointer",e(s)===d.code?"text-brand-dark font-semibold bg-slate-50":"text-slate-600 hover:bg-slate-50 hover:text-slate-900"])},[t("span",Ht,r(d.name),1),t("span",Zt,[e(s)===d.code?(a(),U(e(jt),{key:0,class:"h-4 w-4"})):M("",!0)])],10,Gt))),128))])):M("",!0)]),_:1})],512))}},Jt={class:"p-2 flex items-center justify-center transition-colors duration-300 rounded-lg"},Wt=["placeholder"],Xt={key:0,class:"flex-shrink-0 w-8 h-10 flex items-center justify-center mr-1"},qt={key:0,class:"animate-spin h-4 w-4 text-brand-dark opacity-50",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},te={key:0,class:"absolute top-full right-0 mt-3 w-[min(24rem,calc(100vw-2rem))] sm:w-[26rem] bg-white rounded-xl shadow-2xl overflow-hidden"},ee={class:"max-h-[60vh] overflow-y-auto custom-scrollbar"},ae={class:"flex-1 min-w-0"},oe={class:"flex items-start justify-between gap-2 mb-0.5"},se={class:"text-sm font-medium text-gray-900 group-hover:text-brand-main line-clamp-2 leading-snug"},le={class:"shrink-0 bg-brand-light/30 text-brand-dark text-xs font-bold px-2 py-1 rounded-md"},ne={class:"text-xs text-gray-500 line-clamp-2 leading-relaxed"},re={class:"px-4 py-2 bg-gray-50 border-t border-gray-100 flex justify-between items-center text-[10px] text-gray-400"},ie={key:1,class:"absolute top-full right-0 mt-3 w-[min(20rem,calc(100vw-2rem))] bg-white rounded-xl shadow-2xl p-6 text-center"},ce={class:"text-sm text-gray-500"},de=z({__name:"GlobalSearch",props:{isNonTransparent:{type:Boolean,default:!1}},setup(m){const s=A(""),i=A([]),u=A(!1),b=A(null),p=A(null),{locale:c,t:y}=Q(),x=A([]),o=A(!1),d=A(null),v=async(g=!1)=>{if(!o.value&&!(!g&&d.value===c.value&&x.value.length)){o.value=!0;try{const k=await $fetch(`/api/search-index?lang=${c.value}`);x.value=Array.isArray(k)?k:[],d.value=c.value}catch(k){console.error("Failed to load search index:",k),x.value=[]}finally{o.value=!1}}},C=V(()=>x.value?.length?new Ot(x.value,{keys:["title","code","content"],ignoreLocation:!0,threshold:.1,minMatchCharLength:2,includeScore:!0}):null),w=()=>{u.value?s.value||(u.value=!1):(u.value=!0,v(),$t(()=>b.value?.focus()))},$=()=>{if(!s.value||!C.value){i.value=[];return}i.value=C.value.search(s.value).map(g=>g.item)},P=g=>{p.value&&!p.value.contains(g.target)&&(s.value||(u.value=!1),s.value||(i.value=[]))},D=()=>{u.value=!1},T=g=>({news:y("layout.search.news"),page:y("layout.search.page"),product:y("layout.search.product")})[g]||g;return ot(()=>{document.addEventListener("click",P)}),st(()=>{document.removeEventListener("click",P)}),G(c,()=>{x.value=[],i.value=[],d.value=null,u.value&&v(!0)}),(g,k)=>{const O=H;return a(),l("div",{ref_key:"containerRef",ref:p,class:"relative flex justify-end items-center z-50"},[t("div",{class:B(["flex items-center transition-all duration-500 ease-[cubic-bezier(0.4,0,0.2,1)] overflow-hidden rounded-lg",[e(u)?"w-[min(20rem,calc(100vw-6rem))] sm:w-72 md:w-80 bg-white border-white shadow-lg":m.isNonTransparent?"w-9 bg-transparent cursor-pointer hover:bg-slate-100":"w-9 bg-transparent cursor-pointer hover:bg-white/10"]]),onClick:w},[t("div",Jt,[n(e(It),{class:B(["h-5 w-5 transition-colors duration-300",e(u)||m.isNonTransparent?"text-slate-900":"text-white"])},null,8,["class"])]),tt(t("input",{ref_key:"inputRef",ref:b,"onUpdate:modelValue":k[0]||(k[0]=j=>ut(s)?s.value=j:null),onInput:$,type:"text",class:B(["w-full h-full bg-transparent border-none outline-none text-gray-800 text-sm placeholder-gray-400 px-2 transition-opacity duration-300",e(u)?"opacity-100":"opacity-0 pointer-events-none"]),placeholder:g.$t("common.searchTip"),autocomplete:"off"},null,42,Wt),[[Bt,e(s)]]),e(u)?(a(),l("div",Xt,[e(o)?(a(),l("svg",qt,[...k[2]||(k[2]=[t("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),t("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1)])])):e(s)?(a(),l("button",{key:1,onClick:k[1]||(k[1]=pt(j=>{s.value="",e(b)?.focus(),$()},["stop"])),class:"text-gray-400 hover:text-red-500 transition-colors"},[...k[3]||(k[3]=[t("svg",{class:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):M("",!0)])):M("",!0)],2),n(lt,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"transform opacity-0 translate-y-2","enter-to-class":"transform opacity-100 translate-y-0","leave-active-class":"transition ease-in duration-150","leave-from-class":"transform opacity-100 translate-y-0","leave-to-class":"transform opacity-0 translate-y-2"},{default:f(()=>[e(s)&&e(u)&&e(i).length?(a(),l("div",te,[t("ul",ee,[(a(!0),l(S,null,E(e(i),j=>(a(),l("li",{key:j.id},[n(O,{to:j.url,onClick:D,class:"flex items-start gap-3 px-5 py-3.5 hover:bg-gray-50 transition-colors duration-150 group border-b border-gray-50 last:border-0"},{default:f(()=>[t("div",ae,[t("div",oe,[t("span",se,r(j.title),1),t("span",le,r(T(j.type)),1)]),t("p",ne,r(j.content||"--"),1)])]),_:2},1032,["to"])]))),128))]),t("div",re,[t("span",null,r(g.$t("layout.search.foundResult",[e(i).length])),1)])])):e(s)&&e(u)&&!e(i).length&&!e(o)?(a(),l("div",ie,[k[4]||(k[4]=t("svg",{class:"mx-auto h-10 w-10 text-gray-300 mb-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),t("p",ce,r(g.$t("layout.search.noFound")),1)])):M("",!0)]),_:1})],512)}}}),ue=Object.assign(rt(de,[["__scopeId","data-v-4d3b256d"]]),{__name:"GlobalSearch"}),pe=z({__name:"Drawer",props:{activeSnapPoint:{},closeThreshold:{},shouldScaleBackground:{type:Boolean,default:!0},setBackgroundColorOnScale:{type:Boolean},scrollLockTimeout:{},fixed:{type:Boolean},dismissible:{type:Boolean},modal:{type:Boolean},open:{type:Boolean},defaultOpen:{type:Boolean},nested:{type:Boolean},direction:{},noBodyStyles:{type:Boolean},handleOnly:{type:Boolean},preventScrollRestoration:{type:Boolean},snapPoints:{},fadeFromIndex:{}},emits:["drag","release","close","update:open","update:activeSnapPoint","animationEnd"],setup(m,{emit:s}){const b=ht(m,s);return(p,c)=>(a(),U(e(Lt),Z({"data-slot":"drawer"},e(b)),{default:f(()=>[R(p.$slots,"default")]),_:3},16))}}),he=z({__name:"DrawerClose",props:{asChild:{type:Boolean},as:{}},setup(m){const s=m;return(i,u)=>(a(),U(e(Mt),Z({"data-slot":"drawer-close"},s),{default:f(()=>[R(i.$slots,"default")]),_:3},16))}}),me=z({__name:"DrawerOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(m){const s=m,i=Kt(s,"class");return(u,b)=>(a(),U(e(Tt),Z({"data-slot":"drawer-overlay"},e(i),{class:e(Y)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",s.class)}),null,16,["class"]))}}),ve=z({__name:"DrawerContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(m,{emit:s}){const i=m,b=ht(i,s);return(p,c)=>(a(),U(e(St),null,{default:f(()=>[n(me),n(e(Ut),Z({"data-slot":"drawer-content"},e(b),{class:e(Y)("group/drawer-content bg-background fixed z-50 flex h-auto flex-col","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:sm:max-w-sm",i.class)}),{default:f(()=>[c[0]||(c[0]=t("div",{class:"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"},null,-1)),R(p.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),fe=z({__name:"DrawerHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(m){const s=m;return(i,u)=>(a(),l("div",{"data-slot":"drawer-header",class:B(e(Y)("flex flex-col gap-1.5 p-2",s.class))},[R(i.$slots,"default")],2))}}),xt="data:image/png;base64,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",xe={class:"md:hidden"},ge={class:"flex items-center justify-between"},be={class:"flex items-center gap-2"},ye=["src"],we={class:"flex-1 overflow-y-auto py-4"},_e={class:"space-y-1"},ke={key:0,class:"mt-6 pt-6 border-t border-gray-100"},Ae={class:"space-y-1"},Ce={key:0,class:"pl-4 bg-gray-50/50"},Be={key:0,class:"space-y-1"},$e=z({__name:"HeaderMobileMenu.client",props:{isNonTransparent:{type:Boolean},navLinks:{},productTreeItems:{}},setup(m){const s=et(),i=A(!1),u=A(null),b=p=>{if(u.value===p){u.value=null;return}u.value=p};return(p,c)=>{const y=H,x=at;return a(),l("div",xe,[t("button",{onClick:c[0]||(c[0]=o=>i.value=!0),class:B(["p-2 rounded-lg transition-colors",m.isNonTransparent?"hover:bg-slate-100":"hover:bg-white/10"]),"aria-label":"Open menu"},[n(e(zt),{class:"w-6 h-6"})],2),n(e(pe),{open:e(i),"onUpdate:open":c[6]||(c[6]=o=>ut(i)?i.value=o:null)},{default:f(()=>[n(e(ve),{class:"w-full !max-h-[100vh] h-full bg-white"},{default:f(()=>[n(e(fe),{class:"border-b border-gray-100"},{default:f(()=>[t("div",ge,[t("div",be,[t("img",{src:e(xt),alt:"Chico Future",width:"32",height:"32",loading:"eager"},null,8,ye),c[7]||(c[7]=t("span",{class:"font-bold text-lg text-brand-deep"},"Chico Future",-1))]),n(e(he),{class:"rounded-lg hover:bg-gray-100"},{default:f(()=>[n(e(Vt),{class:"w-5 h-5"})]),_:1})])]),_:1}),t("div",we,[t("nav",_e,[(a(!0),l(S,null,E(m.navLinks,o=>(a(),U(y,{key:o.name,to:o.path?.startsWith("http")?o.path:e(s)(o.path),target:o.path?.startsWith("http")?"_blank":void 0,class:"block px-4 py-3 text-base font-medium text-slate-700 hover:bg-gray-50 hover:text-brand-deep transition-colors",onClick:c[1]||(c[1]=d=>i.value=!1)},{default:f(()=>[L(r(p.$t(o.name)),1)]),_:2},1032,["to","target"]))),128))]),m.productTreeItems?.length?(a(),l("div",ke,[n(y,{to:"/product",class:"block px-4 pb-3 text-sm font-semibold text-slate-500 tracking-wider",onClick:c[2]||(c[2]=o=>i.value=!1)},{default:f(()=>[L(r(p.$t("layout.nav.products")),1)]),_:1}),t("div",Ae,[(a(!0),l(S,null,E(m.productTreeItems,o=>(a(),l("div",{key:o.id},[n(y,{to:o.tdkUrl?.startsWith("http")?o.tdkUrl:e(s)(o.tdkUrl?`/product/${o.tdkUrl}`:"/product"),class:"w-full flex items-center justify-between px-4 py-3 text-base font-medium text-slate-700 hover:bg-gray-50 transition-colors",onClick:c[3]||(c[3]=d=>i.value=!1)},{default:f(()=>[t("span",null,r(o.name),1),n(e(Dt),{class:B(["w-4 h-4 transition-transform rounded-full bg-brand-light/30",e(u)===o.tdkUrl?"rotate-180":""]),onClick:pt(d=>b(o.tdkUrl),["prevent","stop"])},null,8,["class","onClick"])]),_:2},1032,["to"]),e(u)===o.tdkUrl&&o.children?.length?(a(),l("div",Ce,[(a(!0),l(S,null,E(o.children,d=>(a(),l("div",{key:d.id},[n(x,{to:d.tdkUrl?.startsWith("http")?d.tdkUrl:e(s)(d.tdkUrl&&e(u)?`/product/${e(u)}?category=${d.tdkUrl}`:"/product"),class:"block px-4 py-2 text-sm font-semibold text-slate-600 border-b border-gray-100",onClick:c[4]||(c[4]=v=>i.value=!1)},{default:f(()=>[L(r(d.name),1)]),_:2},1032,["to"]),d.children?.length?(a(),l("div",Be,[(a(!0),l(S,null,E(d.children,v=>(a(),U(x,{key:v.id,to:v.tdkUrl?.startsWith("http")?v.tdkUrl:e(s)(v.tdkUrl&&o.tdkUrl?`/product/${o.tdkUrl}?category=${v.tdkUrl}`:"/product"),class:"block px-6 py-2 text-sm text-slate-600 hover:text-brand-deep hover:bg-gray-100 transition-colors",onClick:c[5]||(c[5]=C=>i.value=!1)},{default:f(()=>[L(r(v.name),1)]),_:2},1032,["to"]))),128))])):M("",!0)]))),128))])):M("",!0)]))),128))])])):M("",!0)])]),_:1})]),_:1},8,["open"])])}}}),Le=Object.assign($e,{__name:"LayoutHeaderMobileMenu"}),Me="data:image/png;base64,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",gt=async()=>{const s=kt().$i18n?.locale??{value:"en"},i=Ct();return await At(`shared-product-tree-${s.value}`,async()=>{try{return(await $fetch(`${i.public.apiBase}/v1/category/read/tree-by-biz-type?bizType=0`,{retry:0,timeout:4e3,headers:{"BT-Domain":i.public.btDomain,"BT-Language":Rt(s.value)}}))?.data||[]}catch{return[]}},{default:()=>[],watch:[s]})},Te={class:"flex h-full"},Ue=["src"],Se={class:"hidden md:flex text-[13px] lg:text-sm font-medium h-full group relative"},Ee={class:"bg-white shadow-[0_20px_50px_-12px_rgba(0,0,0,0.15)] rounded-[28px] overflow-hidden border border-slate-100 transition-all duration-500"},Pe={class:"flex h-[380px] transition-all duration-800 ease-[cubic-bezier(0.16,1,0.3,1)]"},je={class:"w-[220px] bg-slate-50/40 py-4 border-r border-slate-100/40 flex flex-col shrink-0"},Ie={class:"px-5 py-2 mb-2 shrink-0"},ze={class:"text-sm font-bold text-slate-900 tracking-tight"},Ve={class:"space-y-0.5 px-2.5 flex-1 overflow-y-auto scrollbar-hide overscroll-contain"},De={class:"text-sm font-medium leading-snug tracking-tight"},Oe={class:"w-[300px] py-4 bg-white border-r border-slate-100/40 flex flex-col shrink-0"},Ke={class:"px-5 py-2 mb-2 shrink-0"},Qe={class:"text-sm font-bold text-slate-900 tracking-tight leading-snug line-clamp-2"},Re={class:"space-y-0.5 px-2.5 flex-1 overflow-y-auto scrollbar-hide overscroll-contain"},Fe={class:"text-sm font-medium leading-snug tracking-tight line-clamp-2"},Ne={class:"px-5 py-2 mb-2 shrink-0"},Ge={class:"text-sm font-bold text-slate-900 tracking-tight leading-snug line-clamp-2"},He={class:"space-y-0.5 px-2.5 flex-1 overflow-y-auto scrollbar-hide overscroll-contain pb-2"},Ze={class:"text-sm font-medium leading-snug tracking-tight line-clamp-2 transition-colors duration-500"},Ye={class:"flex items-center gap-2 text-xs md:text-sm"},Je=z({__name:"Header",props:{transparent:{type:Boolean,default:!1}},async setup(m){let s,i;const u=et(),{locale:b,t:p}=Q(),c=A(!1),y=m,x=A(!1),o=V(()=>!y.transparent||c.value||x.value),d=()=>{c.value=window.scrollY>80};ot(()=>{window.addEventListener("scroll",d),d()}),st(()=>{window.removeEventListener("scroll",d)});const v=[{name:"layout.nav.home",path:"/"},{name:"layout.nav.solution",path:"/solution"},{name:"layout.nav.products",path:"/product",hoverPanel:!0},{name:"layout.nav.ai",path:"https://ai.chico-future.com"},{name:"layout.nav.news",path:"/news"},{name:"layout.nav.support",path:"/support"},{name:"layout.nav.about",path:"/about"}],C=it(),w=_=>{let I="";const F=Qt(C.fullPath,b.value);return(F===_.path||_.path!=="/"&&F.startsWith(_.path))&&(I=I+" active_line"),x.value&&_.hoverPanel&&(I=I+" menu-item-hover"),I},{data:$,pending:P,error:D}=([s,i]=mt(()=>gt()),s=await s,i(),s),T=A($.value?.[0]?.tdkUrl||null),g=A(null);G(T,()=>{g.value=null});const k=V(()=>$.value?.find(_=>_.tdkUrl===T.value)?.name||""),O=V(()=>$.value?.find(_=>_.tdkUrl===T.value)?.children||[]),j=V(()=>O.value.find(_=>_.id===g.value)?.name||""),J=V(()=>O.value.find(_=>_.id===g.value)?.children||[]),bt=()=>{K&&(clearTimeout(K),K=null)};let K=null;const yt=_=>{_&&(clearTimeout(K),x.value=!0)},W=_=>{_&&(K=setTimeout(()=>{x.value=!1},150))};return(_,I)=>{const F=H,N=at,wt=Yt,_t=ue;return a(),l("header",{class:B(["chico-nav",[y.transparent?"fixed":"sticky","top-0 w-full z-50 transition-all duration-500 ease-in-out",{"is-non-transparent":e(o)}]]),onMouseleave:I[1]||(I[1]=h=>W(e(x)))},[t("div",{class:B(["absolute inset-0 transition-all duration-500 z-0",e(o)?"bg-white/70 backdrop-blur-2xl shadow-sm":"bg-transparent border-b-0 shadow-none"])},null,2),t("div",{class:B(["container mx-auto h-14 flex items-center justify-between transition-colors duration-500 relative z-10",e(o)?"text-slate-900":"text-white"])},[t("div",Te,[n(F,{class:"flex items-center mr-4 cursor-pointer",to:"/"},{default:f(()=>[t("img",{src:e(o)?e(xt):e(Me),alt:"Chico Future - company logo",width:"30",height:"30",loading:"eager"},null,8,Ue)]),_:1}),t("nav",Se,[(a(),l(S,null,E(v,h=>n(N,{key:h.name,class:B([w(h),"relative flex items-center px-4 lg:px-5 xl:px-6 whitespace-nowrap menu-item"]),to:h.path?.startsWith("http")?h.path:e(u)(h.path),target:h.path?.startsWith("http")?"_blank":void 0,"active-class":"active_line",onMouseenter:X=>yt(h.hoverPanel),onMouseleave:X=>W(h.hoverPanel)},{default:f(()=>[L(r(_.$t(h.name)),1)]),_:2},1032,["class","to","target","onMouseenter","onMouseleave"])),64)),tt(t("div",{class:"absolute left-1/2 -translate-x-1/2 top-full pt-3 w-fit z-50",onMouseenter:bt,onMouseleave:I[0]||(I[0]=h=>W(e(x)))},[n(lt,{"enter-active-class":"transition ease-out duration-500","enter-from-class":"opacity-0 translate-y-4 scale-95","enter-to-class":"opacity-100 translate-y-0 scale-100","leave-active-class":"transition ease-in duration-300","leave-from-class":"opacity-100 translate-y-0 scale-100","leave-to-class":"opacity-0 translate-y-4 scale-95"},{default:f(()=>[tt(t("div",Ee,[t("div",Pe,[t("div",je,[t("div",Ie,[t("span",ze,r(_.$t("layout.nav.products")),1)]),t("ul",Ve,[(a(!0),l(S,null,E(e($),h=>(a(),l("li",{key:h.id},[n(N,{to:h.tdkUrl?.startsWith("http")?h.tdkUrl:e(u)(`/product/${h.tdkUrl}`),onMouseenter:X=>T.value=h.tdkUrl,class:B(["w-full text-left px-4 py-2.5 flex items-center justify-between group transition-all duration-300 rounded-2xl cursor-pointer",[e(T)===h.tdkUrl?"bg-brand-deep text-white shadow-sm":"text-slate-600"]])},{default:f(()=>[t("span",De,r(h.name),1),h.children?.length?(a(),U(e(q),{key:0,class:B(["w-3.5 h-3.5 transition-all duration-500",e(T)===h.tdkUrl?"translate-x-0 opacity-100":"opacity-0 -translate-x-3 group-hover:opacity-40 group-hover:translate-x-0"])},null,8,["class"])):M("",!0)]),_:2},1032,["to","onMouseenter","class"])]))),128))])]),t("div",Oe,[t("div",Ke,[t("span",Qe,r(e(k)),1)]),t("ul",Re,[(a(!0),l(S,null,E(e(O),h=>(a(),l("li",{key:h.id},[n(N,{to:h.tdkUrl?.startsWith("http")?h.tdkUrl:e(u)(`/product/${e(T)}?category=${h.tdkUrl}`),onMouseenter:X=>g.value=h.id,class:B(["w-full text-left px-4 py-2.5 flex items-center justify-between group transition-all duration-300 rounded-2xl cursor-pointer border border-transparent",[e(g)===h.id?"bg-brand-deep text-white shadow-sm":"text-slate-600"]])},{default:f(()=>[t("span",Fe,r(h.name),1),h.children?.length?(a(),U(e(q),{key:0,class:B(["w-3.5 h-3.5 transition-all duration-500",e(g)===h.id?"translate-x-0 opacity-100":"opacity-0 -translate-x-2 group-hover:opacity-100 group-hover:translate-x-0"])},null,8,["class"])):M("",!0)]),_:2},1032,["to","onMouseenter","class"])]))),128))])]),t("div",{class:"overflow-hidden transition-all duration-800 ease-[cubic-bezier(0.16,1,0.3,1)] bg-slate-50/20 flex flex-col py-4",style:Et({width:e(J).length?"300px":"0px",opacity:e(J).length?"1":"0"})},[t("div",Ne,[t("span",Ge,r(e(j)),1)]),t("ul",He,[(a(!0),l(S,null,E(e(J),h=>(a(),l("li",{key:h.id},[n(N,{to:h.tdkUrl?.startsWith("http")?h.tdkUrl:e(u)(`/product/${e(T)}?category=${h.tdkUrl}`),class:"w-full text-left px-4 py-2.5 flex items-center justify-between group transition-all duration-300 rounded-2xl cursor-pointer border border-transparent text-slate-600 hover:bg-slate-100/50 hover:text-brand-deep"},{default:f(()=>[t("span",Ze,r(h.name),1),h.children?.length?(a(),U(e(q),{key:0,class:"w-3.5 h-3.5 opacity-0 -translate-x-2 group-hover:opacity-100 group-hover:translate-x-0 transition-all duration-500 text-brand-main"})):M("",!0)]),_:2},1032,["to"])]))),128))])],4)])],512),[[nt,e(x)]])]),_:1})],544),[[nt,e(x)]])])]),t("div",Ye,[n(wt,{"is-non-transparent":e(o)},null,8,["is-non-transparent"]),n(_t,{"is-non-transparent":e(o)},null,8,["is-non-transparent"]),n(Le,{"is-non-transparent":e(o),"nav-links":v,"product-tree-items":e($)||[]},null,8,["is-non-transparent","product-tree-items"])])],2)],34)}}}),We=Object.assign(rt(Je,[["__scopeId","data-v-72fd6033"]]),{__name:"LayoutHeader"}),Xe=z({__name:"Skeleton",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(m){const s=m;return(i,u)=>(a(),l("div",{"data-slot":"skeleton",class:B(e(Y)("animate-pulse rounded-md bg-primary/10",s.class))},null,2))}}),qe=""+new URL("logo.BoHoVBNH.png",import.meta.url).href,ta=""+new URL("chico-future-wx-qrcode.BgKtCIsu.jpg",import.meta.url).href,ea=""+new URL("chico-hq-wx-qrcode.C3pGvKhh.jpg",import.meta.url).href,aa={class:"bg-slate-50 text-slate-900 pt-16 pb-6 border-t border-slate-100"},oa={class:"container mx-auto"},sa={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-12 gap-8 lg:gap-12 mb-16"},la={class:"col-span-1 md:col-span-2 lg:col-span-4"},na={class:"text-2xl font-bold flex items-center gap-2 mb-6"},ra=["src"],ia={class:"text-sm text-slate-500 leading-relaxed mb-6"},ca={key:0,class:"flex gap-4 mt-4 md:mt-0"},da={class:"w-8 h-8 rounded-full flex items-center justify-center bg-white shadow-sm cursor-pointer hover:bg-slate-50 transition-colors"},ua={class:"relative group/item"},pa={class:"absolute top-full mr-4 px-3 py-2 bg-slate-900 text-white rounded-lg shadow-xl opacity-0 invisible translate-x-2 group-hover/item:opacity-100 group-hover/item:visible group-hover/item:translate-x-0 transition-all whitespace-nowrap"},ha={class:"flex gap-2 w-62 h-30"},ma=["src"],va=["src"],fa={key:1,class:"flex gap-4 mt-4 md:mt-0"},xa={class:"w-8 h-8 rounded-full flex items-center justify-center bg-white shadow-sm cursor-pointer hover:bg-slate-50 transition-colors"},ga={href:"https://www.linkedin.com/company/%E5%B9%BF%E4%B8%9C%E6%99%BA%E7%A7%91%E7%94%B5%E5%AD%90%E8%82%A1%E4%BB%BD%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8",target:"_blank",rel:"noopener noreferrer"},ba={class:"w-8 h-8 rounded-full flex items-center justify-center bg-white shadow-sm cursor-pointer hover:bg-slate-50 transition-colors"},ya={href:"https://api.whatsapp.com/send?phone=8613336402066",target:"_blank",rel:"noopener noreferrer"},wa={class:"lg:col-span-2"},_a={class:"font-bold mb-6 text-slate-900 text-base"},ka={class:"text-sm text-slate-500 space-y-3"},Aa={href:"https://ai.chico-future.com",target:"_blank",rel:"noopener noreferrer",class:"hover:text-brand-main transition-colors duration-300"},Ca={href:"mailto:career@chico-future.com",class:"hover:text-brand-main transition-colors duration-300"},Ba={class:"lg:col-span-2"},$a={class:"font-bold mb-6 text-slate-900 text-base"},La={key:0,class:"text-sm text-slate-400 space-y-3"},Ma={key:1,class:"text-sm text-slate-500 space-y-3"},Ta={class:"lg:col-span-4"},Ua={class:"font-bold mb-6 text-slate-900 text-base"},Sa={class:"text-sm text-slate-500 space-y-3 mb-6"},Ea={key:0},Pa={key:1},ja={key:2},Ia={key:3},za={key:4},Va=["href","innerHTML"],Da={class:"py-6 flex flex-col md:flex-row justify-between items-center text-xs text-slate-400"},Oa={key:0,class:"border-t border-slate-100 pt-6 text-center text-xs text-slate-400"},Ka={__name:"LayoutFooter",async setup(m){let s,i;const u=et(),{locale:b,t:p}=Q(),{data:c,status:y,error:x}=([s,i]=mt(()=>gt()),s=await s,i(),s),o=ft(),d=()=>{o?.setVisible(!0)},v=V(()=>{const C=b.value==="cn";return{desc:p("layout.desc"),link:p("layout.link"),product:p("layout.product"),getTouch:p("layout.getTouch"),contactBtn:p("layout.footerContactBtn"),companyName:p("layout.companyName"),companyEmail:p("layout.companyEmail"),companyPhone:p("layout.companyPhone"),companyAddress:p("layout.companyAddress"),joinUs:p("layout.joinUs"),mapUrl:C?"https://www.amap.com/search?query="+encodeURIComponent("广东省佛山市南海区桂城街道桂平中路35号智科大厦"):"https://www.google.com/maps/search/?api=1&query="+encodeURIComponent("The Chico, No. 35 Guiping Middle Road, Guicheng Street, Nanhai District, Foshan, Guangdong"),rights:p("layout.rights",{year:new Date().getFullYear()})}});return(C,w)=>{const $=dt,P=H,D=Xe,T=at;return a(),l("footer",aa,[t("div",oa,[t("div",sa,[t("div",la,[t("div",na,[t("img",{src:e(qe),alt:"Chico Future - Company Logo",class:"h-auto w-[164px] sm:w-[176px]",loading:"lazy"},null,8,ra)]),t("p",ia,r(v.value.desc),1),e(b)==="cn"?(a(),l("div",ca,[w[0]||(w[0]=t("div",{class:"w-8 h-8 rounded-full flex items-center justify-center bg-white shadow-sm cursor-pointer hover:bg-slate-50 transition-colors"},[t("a",{href:"https://xhslink.com/m/77eXKrXROPn",target:"_blank",rel:"noopener noreferrer"},[t("svg",{t:"1777015052417",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4781",width:"20",height:"20"},[t("path",{d:"M960 797.248V226.784C960 137.248 886.752 64 797.216 64H226.784C137.248 64 64 137.248 64 226.784v570.464c0 88.64 71.808 161.344 160.16 162.752h575.68c88.32-1.408 160.16-74.08 160.16-162.752",fill:"#515151","p-id":"4782","data-spm-anchor-id":"a313x.search_index.0.i1.31723a81lOZx3H",class:"selected"}),t("path",{d:"M700.544 384h50.4v18.048c0 1.44 0.704 2.112 2.08 2.08 29.888-0.896 60 0.064 75.424 30.72 9.184 18.176 7.296 45.824 6.784 67.52-0.032 1.28 0.576 1.984 1.792 2.112 3.52 0.32 6.944 0.64 10.272 1.056 59.424 7.136 47.68 63.168 47.872 107.2 0.096 15.36-1.632 26.592-5.12 33.76-7.36 14.848-20.544 23.36-39.552 25.472H813.44l-18.944-43.968a1.44 1.44 0 0 1 0.096-1.344 1.376 1.376 0 0 1 1.152-0.64l40.192-0.032c2.24 0 4.352-0.96 5.888-2.624a8.896 8.896 0 0 0 2.368-6.176c-0.192-13.44-0.288-26.848-0.224-40.256 0-12.064-5.696-18.24-17.184-18.56-12.992-0.32-37.6-0.32-73.856 0.064-1.28 0-1.92 0.704-1.92 2.08l-0.192 111.456H700.48l-0.16-111.936a1.984 1.984 0 0 0-1.952-2.048h-47.04a2.24 2.24 0 0 1-2.176-2.24l0.064-48.704c0-1.632 0.768-2.464 2.304-2.464l46.496 0.096a2.208 2.208 0 0 0 1.6-0.704 2.432 2.432 0 0 0 0.64-1.664v-42.112a2.784 2.784 0 0 0-2.688-2.848l-28.704 0.128c-1.504 0-2.24-0.8-2.24-2.368l-0.096-48.96c0-1.44 0.64-2.144 2.08-2.144h29.728c1.28 0 1.92-0.64 1.92-2.016l0.32-17.984z m52.192 120.736l31.264-0.064c0.512 0 0.992-0.224 1.344-0.608a2.016 2.016 0 0 0 0.544-1.408l-0.16-39.136c0-3.072-2.24-5.568-4.96-5.568l-25.088 0.064a4.704 4.704 0 0 0-3.52 1.664 5.984 5.984 0 0 0-1.44 4l0.16 39.136c0 1.088 0.864 1.92 1.856 1.92zM429.344 508.256c-12.16 0.224-34.144 3.616-38.944-12.032-2.912-9.344 3.68-22.368 7.68-31.488 11.392-25.952 22.56-52 33.536-78.144 0.448-1.056 1.216-1.6 2.304-1.6h48.096c0.416 0 0.768 0.224 0.96 0.576a1.28 1.28 0 0 1 0.128 1.152l-27.84 65.056c-0.64 1.504-0.48 3.2 0.352 4.608a4.544 4.544 0 0 0 3.84 2.176h41.216c0.512 0 0.96 0.256 1.248 0.672 0.256 0.448 0.32 0.96 0.096 1.44-11.904 27.744-23.776 55.296-35.616 82.656-1.184 2.72-1.696 4.736-1.504 6.016 0.416 2.784 1.984 4.192 4.672 4.224l26.08 0.16c1.504 0.032 1.984 0.768 1.376 2.24l-16.864 39.68a3.328 3.328 0 0 1-3.2 2.208c-26.496 0.32-45.024 0.32-55.584-0.16-17.472-0.8-21.76-16.096-14.976-31.872l23.968-55.936a1.216 1.216 0 0 0-0.096-1.088 1.088 1.088 0 0 0-0.96-0.544zM229.504 671.968h-18.88l-18.496-43.424a1.408 1.408 0 0 1 0.096-1.312 1.28 1.28 0 0 1 1.088-0.64l26.112-0.064a6.112 6.112 0 0 0 5.984-6.24l0.704-230.304a2.24 2.24 0 0 1 2.208-2.304h44.928c2.112 0 3.168 1.12 3.2 3.328 0.192 77.984 0.192 154.624 0 229.952-0.128 30.912-14.464 52.032-46.944 51.008z",fill:"#FFFFFF","p-id":"4783"}),t("path",{d:"M650.944 671.968h-170.432l22.848-51.52a3.04 3.04 0 0 1 2.976-1.952l41.728 0.064c1.472 0 2.24-0.736 2.24-2.24v-156.32c0-1.344-0.64-2.016-1.92-2.016l-27.68-0.032c-1.248 0-2.24-1.088-2.24-2.4v-50.144c0-0.768 0.576-1.408 1.312-1.408h112.832c1.408 0 2.08 0.736 2.08 2.208l0.064 49.6c0 1.44-0.704 2.176-2.112 2.176h-27.904c-1.28 0-1.92 0.672-1.92 2.016v156.224c0 1.504 0.736 2.24 2.144 2.24l44.224 0.096c1.216 0 1.824 0.64 1.824 1.92L650.944 672zM853.92 408.864c34.816-23.936 59.328 37.088 21.184 47.552-6.208 1.728-16.096 1.824-29.632 0.32-1.216-0.128-1.792-0.8-1.792-2.08-0.192-14.4-3.04-36.672 10.24-45.76zM373.312 588.288l-23.04 53.664c-2.08 4.8-4.352 4.896-6.88 0.384-16.96-30.656-22.72-55.68-26.048-93.792-2.56-29.6-4.768-59.2-6.688-88.864-0.064-1.344 0.544-2.016 1.824-2.016l46.688 0.032c1.312 0 2.048 0.704 2.144 2.048 2.4 34.496 4.928 68.896 7.552 103.2 0.672 8.832 2.176 16.16 4.48 21.984a4.16 4.16 0 0 1-0.032 3.36zM128 586.304v-2.208a22.592 22.592 0 0 0 4.16-10.112c3.456-38.08 6.272-76.128 8.48-114.208 0.096-1.184 0.672-1.792 1.792-1.792h47.68c0.416 0 0.832 0.192 1.152 0.544 0.288 0.32 0.448 0.768 0.416 1.216a6351.04 6351.04 0 0 1-8.416 105.184c-2.24 25.44-10.368 59.488-27.36 80.128-1.088 1.312-2.016 1.184-2.72-0.416L128 586.304zM453.184 671.968h-69.056l-8.8-3.488c-1.248-0.48-1.6-1.344-1.024-2.592l21.664-49.6c0.64-1.44 1.664-1.984 3.136-1.6 23.68 6.432 51.104 3.776 75.328 3.872 1.504 0.032 1.92 0.768 1.28 2.176l-22.528 51.2z",fill:"#FFFFFF","p-id":"4784"})])])],-1)),t("div",da,[t("div",ua,[n($,{name:"tdesign:logo-wechat",mode:"svg",class:"h-4 w-4 text-slate-600"}),t("div",pa,[t("div",ha,[t("img",{class:"h-30 w-30",src:e(ta),alt:""},null,8,ma),t("img",{class:"h-30 w-30",src:e(ea),alt:""},null,8,va)])])])])])):(a(),l("div",fa,[t("div",xa,[t("a",ga,[n($,{name:"tabler:brand-linkedin-filled",mode:"svg",class:"h-4 w-4 text-slate-600"})])]),t("div",ba,[t("a",ya,[n($,{name:"tabler:brand-whatsapp-filled",mode:"svg",class:"h-4 w-4 text-slate-600"})])])]))]),t("div",wa,[t("h4",_a,r(v.value.link),1),t("ul",ka,[t("li",null,[n(P,{to:"/",class:"hover:text-brand-main transition-colors duration-300"},{default:f(()=>[L(r(C.$t("layout.nav.home")),1)]),_:1})]),t("li",null,[n(P,{to:"/solution",class:"hover:text-brand-main transition-colors duration-300"},{default:f(()=>[L(r(C.$t("layout.nav.solution")),1)]),_:1})]),t("li",null,[n(P,{to:"/product",class:"hover:text-brand-main transition-colors duration-300"},{default:f(()=>[L(r(C.$t("layout.nav.products")),1)]),_:1})]),t("li",null,[t("a",Aa,r(C.$t("layout.nav.ai")),1)]),t("li",null,[n(P,{to:"/news",class:"hover:text-brand-main transition-colors duration-300"},{default:f(()=>[L(r(C.$t("layout.nav.news")),1)]),_:1})]),t("li",null,[n(P,{to:"/support",class:"hover:text-brand-main transition-colors duration-300"},{default:f(()=>[L(r(C.$t("layout.nav.support")),1)]),_:1})]),t("li",null,[n(P,{to:"/about",class:"hover:text-brand-main transition-colors duration-300"},{default:f(()=>[L(r(C.$t("layout.nav.about")),1)]),_:1})]),t("li",null,[t("a",Ca,r(v.value.joinUs),1)])])]),t("div",Ba,[t("h4",$a,r(v.value.product),1),e(y)==="pending"?(a(),l("ul",La,[n(D,{class:"h-4 w-1/2 bg-slate-200"}),n(D,{class:"h-4 w-1/2 bg-slate-200"}),n(D,{class:"h-4 w-1/2 bg-slate-200"})])):(a(),l("ul",Ma,[(a(!0),l(S,null,E(e(c),g=>(a(),l("li",{key:g.id,class:"cursor-pointer hover:text-brand-main transition-colors duration-300"},[n(T,{to:g.tdkUrl.startsWith("http")?g.tdkUrl:e(u)(g.tdkUrl?`/product/${g.tdkUrl}`:"/product")},{default:f(()=>[L(r(g.name),1)]),_:2},1032,["to"])]))),128))]))]),t("div",Ta,[t("h4",Ua,r(v.value.getTouch),1),t("ul",Sa,[t("li",null,r(v.value.companyName),1),e(b)==="cn"?(a(),l("li",Ea,[...w[1]||(w[1]=[t("a",{href:"mailto:chico@chico-future.com",class:"hover:text-brand-main transition-colors duration-300"},r("chico@chico-future.com"),-1)])])):(a(),l("li",Pa,[...w[2]||(w[2]=[t("a",{href:"mailto:contact@chico-future.com",class:"hover:text-brand-main transition-colors duration-300"},r("contact@chico-future.com"),-1)])])),e(b)==="cn"?(a(),l("li",ja,[...w[3]||(w[3]=[L(r("李先生: "),-1),t("a",{href:"tel:+8613302810530",class:"hover:text-brand-main transition-colors duration-300"},r("+86 13302810530"),-1)])])):M("",!0),e(b)==="cn"?(a(),l("li",Ia,[...w[4]||(w[4]=[L(r("龙先生: "),-1),t("a",{href:"tel:+8613318313419",class:"hover:text-brand-main transition-colors duration-300"},r("+86 13318313419"),-1)])])):(a(),l("li",za,[...w[5]||(w[5]=[t("a",{href:"tel:+8613336402066",class:"hover:text-brand-main transition-colors duration-300"},r("+86 13336402066"),-1)])])),t("li",null,[t("a",{href:v.value.mapUrl,target:"_blank",rel:"noopener noreferrer",class:"hover:text-brand-main transition-colors duration-300 leading-relaxed block",innerHTML:v.value.companyAddress},null,8,Va)])]),t("button",{onClick:d,class:"inline-flex items-center gap-2 px-5 py-2.5 cursor-pointer rounded-full bg-slate-900 text-white text-[13px] font-medium tracking-wide hover:bg-brand-main transition-colors duration-300"},[n($,{name:"lucide:mail",class:"w-4 h-4"}),L(" "+r(v.value.contactBtn),1)])])]),t("div",Da,[t("div",null,r(v.value.rights),1)]),e(b)==="cn"?(a(),l("div",Oa,[...w[6]||(w[6]=[t("a",{href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener noreferrer",class:"hover:text-brand-main transition-colors duration-300"},r("粤ICP备16087234号"),-1)])])):M("",!0)])])}}},Qa=vt(()=>ct(()=>import("./8_mBGcxL.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url).then(m=>m.default||m)),Ra=vt(()=>ct(()=>import("./CTF0BHY7.js"),__vite__mapDeps([17,18,3,4,2,5,6,7,19,20,1,21,22,13,12,23,14,15,24]),import.meta.url).then(m=>m.default||m)),Fa={class:"min-h-screen flex flex-col"},Na={class:"flex-1"},Ga={class:"z-[9999] fixed bottom-8 right-8 flex flex-col gap-4"},Ha={class:"relative group/contact flex flex-col items-center justify-end"},Za={class:"absolute bottom-[56px] flex flex-col items-center gap-4 opacity-0 invisible translate-y-4 group-hover/contact:opacity-100 group-hover/contact:visible group-hover/contact:translate-y-0 transition-all duration-500 z-10 pointer-events-none group-hover/contact:pointer-events-auto pb-6 pt-4"},Ya={href:"https://api.whatsapp.com/send?phone=8613336402066",target:"_blank",rel:"noopener noreferrer",class:"relative group/item flex items-center justify-center w-12 h-12 bg-white rounded-full shadow-[0_4px_12px_rgba(0,0,0,0.05)] border border-slate-100 hover:bg-slate-50 cursor-pointer transition-all hover:scale-110"},Ja={class:"absolute right-full mr-4 px-3 py-2 bg-slate-900 text-white rounded-lg shadow-xl opacity-0 invisible translate-x-2 group-hover/item:opacity-100 group-hover/item:visible group-hover/item:translate-x-0 transition-all whitespace-nowrap"},Wa={class:"flex flex-col items-end gap-0.5"},Xa={class:"text-[11px] font-bold text-slate-200"},qa={key:0,href:"mailto:chico@chico-future.com",class:"relative group/item flex items-center justify-center w-12 h-12 bg-white rounded-full shadow-[0_4px_12px_rgba(0,0,0,0.05)] border border-slate-100 hover:bg-slate-50 cursor-pointer transition-all hover:scale-110"},to={key:1,href:"mailto:contact@chico-future.com",class:"relative group/item flex items-center justify-center w-12 h-12 bg-white rounded-full shadow-[0_4px_12px_rgba(0,0,0,0.05)] border border-slate-100 hover:bg-slate-50 cursor-pointer transition-all hover:scale-110"},eo={class:"absolute right-full mr-4 px-3 py-2 bg-slate-900 text-white text-xs font-medium rounded-lg shadow-xl opacity-0 invisible translate-x-2 group-hover/contact:opacity-100 group-hover/contact:visible group-hover/contact:translate-x-0 transition-all whitespace-nowrap"},ao={class:"absolute right-full mr-4 px-3 py-2 bg-slate-900 text-white text-xs font-medium rounded-lg shadow-xl opacity-0 invisible translate-x-2 group-hover:opacity-100 group-hover:visible group-hover:translate-x-0 transition-all whitespace-nowrap"},fo=z({__name:"default",setup(m){const s=it(),{locale:i}=Q(),u=V(()=>s.meta.headerMode==="transparent"),b=A(!1),p=A(!1);let c=null,y=null;c=ft(),y=Ft(),y.setVisible(!1),c.setVisible(!1),G(()=>c.visiable,o=>{o&&(b.value=!0)},{immediate:!0}),G(()=>y.visiable,o=>{o&&(p.value=!0)},{immediate:!0});const x=o=>{!c||!y||(o==="msg"?(b.value=!0,c.setVisible(!c.visiable),y.setVisible(!1)):o==="aiChat"&&(p.value=!0,y.setVisible(!y.visiable),c.setVisible(!1)))};return(o,d)=>{const v=dt,C=Qa,w=Ra;return a(),l("div",Fa,[n(We,{transparent:e(u)},null,8,["transparent"]),t("main",Na,[R(o.$slots,"default")]),n(Ka),t("div",Ga,[t("div",Ha,[t("div",Za,[t("a",Ya,[n(v,{name:"lucide:message-circle",mode:"svg",class:"h-5 w-5 text-slate-500 group-hover/item:text-[#86c5e7] transition-colors duration-300"}),t("div",Ja,[t("div",Wa,[t("span",Xa,r(o.$t("layout.hub.whatsappTitle")),1),d[2]||(d[2]=t("span",{class:"text-[10px] font-mono opacity-80"},"+86 13336402066",-1))])])]),e(i)==="cn"?(a(),l("a",qa,[n(v,{name:"lucide:mail",mode:"svg",class:"h-5 w-5 text-slate-500 group-hover/item:text-[#86c5e7] transition-colors duration-300"}),d[3]||(d[3]=t("div",{class:"absolute right-full mr-4 px-3 py-2 bg-slate-900 text-white rounded-lg shadow-xl opacity-0 invisible translate-x-2 group-hover/item:opacity-100 group-hover/item:visible group-hover/item:translate-x-0 transition-all whitespace-nowrap"},[t("div",{class:"flex flex-col items-end gap-0.5"},[t("span",{class:"text-[11px] font-bold text-slate-200"},"Email"),t("span",{class:"text-[10px] opacity-80 font-mono"},"chico@chico-future.com")])],-1))])):(a(),l("a",to,[n(v,{name:"lucide:mail",mode:"svg",class:"h-5 w-5 text-slate-500 group-hover/item:text-[#86c5e7] transition-colors duration-300"}),d[4]||(d[4]=t("div",{class:"absolute right-full mr-4 px-3 py-2 bg-slate-900 text-white rounded-lg shadow-xl opacity-0 invisible translate-x-2 group-hover/item:opacity-100 group-hover/item:visible group-hover/item:translate-x-0 transition-all whitespace-nowrap"},[t("div",{class:"flex flex-col items-end gap-0.5"},[t("span",{class:"text-[11px] font-bold text-slate-200"},"Email"),t("span",{class:"text-[10px] opacity-80 font-mono"},"contact@chico-future.com")])],-1))]))]),t("button",{onClick:d[0]||(d[0]=$=>x("msg")),class:"group flex items-center justify-center w-14 h-14 bg-white backdrop-blur-xl rounded-full shadow-[0_8px_30px_rgba(15,23,42,0.08)] hover:shadow-[0_12px_40px_rgba(134,197,231,0.15)] border border-slate-200/60 hover:border-[#86c5e7]/40 transition-all duration-500 cursor-pointer relative z-20 hover:-translate-y-1"},[n(v,{name:"lucide:headphones",mode:"svg",class:"h-6 w-6 text-slate-500 group-hover:text-[#86c5e7] transition-all duration-500"}),t("div",eo,r(o.$t("layout.getTouch")),1)])]),t("button",{onClick:d[1]||(d[1]=$=>x("aiChat")),class:"group flex items-center justify-center w-14 h-14 bg-white backdrop-blur-xl rounded-full shadow-[0_8px_30px_rgba(15,23,42,0.08)] hover:shadow-[0_12px_40px_rgba(134,197,231,0.15)] border border-slate-200/60 hover:border-[#86c5e7]/40 transition-all duration-500 hover:-translate-y-1 cursor-pointer relative z-20"},[n(v,{name:"ph:sparkle-fill",mode:"svg",class:"h-6 w-6 text-[#86c5e7] group-hover:scale-110 transition-transform duration-500"}),t("div",ao,r(o.$t("layout.hub.aiTitle")),1)])]),b.value?(a(),U(C,{key:0})):M("",!0),p.value?(a(),U(w,{key:1})):M("",!0)])}}});export{fo as default};
