import{_ as x,o as V,w as B,f as o,b as s,i as c,q as r,u,R as d,t as a,F as _,l as f,e as k,a as F,m as N,k as y,c as R,j as n,h as p}from"./index-igTJW-fG.js";const q={key:0,class:"container section dim mono"},D={key:1,class:"section text-center"},P={class:"container"},A={class:"product-hero"},C={class:"container"},I={class:"pill"},L={class:"product-hero__tagline"},E={class:"product-hero__cta"},M={class:"section"},S={class:"container product-grid"},j={class:"product-grid__copy"},G={class:"product-grid__lead"},O={class:"product-grid__side"},T={class:"check-list"},W={key:0,class:"section section--tight features-section"},$={class:"container"},z={class:"grid grid--3 features"},H={key:1,class:"section"},J={class:"container"},K={class:"specs"},Q={class:"spec-row__label mono"},U={class:"spec-row__value"},X={class:"section cta"},Y={class:"container cta__inner"},Z={__name:"ProductDetailView",setup(ss){const g=N(),e=y(null),v=y(!0),m=y(!1);async function h(i){v.value=!0,m.value=!1;try{e.value=await F.getProduct(i),e.value?.name&&(document.title=`${e.value.name} — RisingCompute`)}catch{m.value=!0}finally{v.value=!1}}V(()=>h(g.params.slug)),B(()=>g.params.slug,i=>i&&h(i));const w={ai:"ai-ip",security:"security-ip",comms:"comms-ip",asic:"custom-asic"},b=R(()=>w[e.value?.category]||"other");return(i,t)=>v.value?(n(),o("div",q,"Loading…")):m.value?(n(),o("section",D,[s("div",P,[t[1]||(t[1]=s("h1",null,"Product not found.",-1)),t[2]||(t[2]=s("p",{class:"muted"},"It may have moved, or never existed.",-1)),c(u(d),{to:"/products",class:"btn btn--ghost"},{default:r(()=>[...t[0]||(t[0]=[p("Back to products",-1)])]),_:1})])])):(n(),o(_,{key:2},[s("section",A,[s("div",C,[c(u(d),{to:"/products",class:"back-link"},{default:r(()=>[...t[3]||(t[3]=[p("← All products",-1)])]),_:1}),s("span",I,a(e.value.category_label),1),s("h1",null,a(e.value.name),1),s("p",L,a(e.value.tagline),1),s("div",E,[c(u(d),{to:{path:"/contact",query:{interest:b.value}},class:"btn btn--primary"},{default:r(()=>[p(a(e.value.primary_cta_label),1)]),_:1},8,["to"]),c(u(d),{to:"/contact",class:"btn btn--ghost"},{default:r(()=>[...t[4]||(t[4]=[p("Request datasheet →",-1)])]),_:1})])])]),s("section",M,[s("div",S,[s("div",j,[t[5]||(t[5]=s("span",{class:"eyebrow"},"Overview",-1)),s("p",G,a(e.value.summary),1),s("p",null,a(e.value.description),1)]),s("aside",O,[t[7]||(t[7]=s("h3",{class:"aside-h"},"Benefits",-1)),s("ul",T,[(n(!0),o(_,null,f(e.value.benefits,l=>(n(),o("li",{key:l},[t[6]||(t[6]=s("span",{class:"check"},"✓",-1)),s("span",null,a(l),1)]))),128))])])])]),e.value.features?.length?(n(),o("section",W,[s("div",$,[t[9]||(t[9]=s("span",{class:"eyebrow"},"What's included",-1)),t[10]||(t[10]=s("h2",null,"Features",-1)),s("div",z,[(n(!0),o(_,null,f(e.value.features,l=>(n(),o("div",{key:l,class:"feature"},[t[8]||(t[8]=s("span",{class:"feature__dot mono"},"+",-1)),s("p",null,a(l),1)]))),128))])])])):k("",!0),e.value.spec_table?.length?(n(),o("section",H,[s("div",J,[t[11]||(t[11]=s("span",{class:"eyebrow"},"Spec sheet",-1)),t[12]||(t[12]=s("h2",null,"At a glance",-1)),s("div",K,[(n(!0),o(_,null,f(e.value.spec_table,l=>(n(),o("div",{key:l.label,class:"spec-row"},[s("span",Q,a(l.label),1),s("span",U,a(l.value),1)]))),128))]),t[13]||(t[13]=s("p",{class:"dim mono spec-note"}," Full numbers, gate counts, and target-node performance disclosed under NDA. ",-1))])])):k("",!0),s("section",X,[s("div",Y,[s("h2",null,"Evaluate "+a(e.value.name)+".",1),t[14]||(t[14]=s("p",{class:"muted"},"Get a datasheet, a reference design, and a 30-minute architect call.",-1)),c(u(d),{to:{path:"/contact",query:{interest:b.value}},class:"btn btn--primary"},{default:r(()=>[p(a(e.value.primary_cta_label),1)]),_:1},8,["to"])])])],64))}},es=x(Z,[["__scopeId","data-v-1995faa9"]]);export{es as default};
