1import{_ as N}from"./Cagay7Cd.js";import{u as $,_ as B}from"./CtB5Z84Q.js";import{a as F,b as T,A as V}from"./BtCCwW_o.js";import{c as f,d as v}from"./CtwLZcLN.js";import{u as A}from"./CwgQ27b-.js";import{C as w}from"./ylO6s3A5.js";import{a6 as y,A as E,H as L,N as S,G as l,R as s,W as z,u as e,C as H,U as i,E as d,X as b,V as g,F as I,Y as O}from"./Ck-Sb0JD.js";import"./DBpHvrME.js";const P={class:"mod-banner"},x={class:"txt"},R={class:"zh"},U={class:"mod-case-detail"},G={class:"detail-con"},W={class:"meta"},X={key:0,class:"tags"},Y={class:"tag"},j={class:"action"},q=["href"],J={class:"detail-out"},K=["innerHTML"],Q={class:"do-r"},Z={class:"inner"},ss=["href"],es=["src","alt"],_s={__name:"[id]",async setup(ts){var u,h,p;let t,c;const{locale:_,t:m}=F(),D=T(),{data:a}=([t,c]=y(()=>f("caseDetail",()=>v(`/api/showcase/detail?id=${D.params.id||""}`))),t=await t,c(),t);if(!((u=a.value)!=null&&u.id))throw V({statusCode:404,statusMessage:"Showcase not found"});const{data:n}=([t,c]=y(()=>f("showcaseDetailBanners",()=>v("/api/banner/banners?location=showcaseDetail"))),t=await t,c(),t);return $({title:(w.seo.caseDetail.t(m)||"").replace(/\$title\$/gi,((h=a.value)==null?void 0:h.title)||""),description:(w.seo.caseDetail.d(m)||"").replace(/\$desc\$/gi,(((p=a.value)==null?void 0:p.content)||"").slice(0,50))}),E(()=>{}),(o,r)=>{const C=N,k=B;return l(),L(k,{name:"mobile"},{default:S(()=>[s("div",{class:z(["pg-mobile-showcasedetail",{EN:e(_)==="en"}])},[s("div",P,[s("div",x,[s("p",R,i(o.$t("showcase_title")),1)])]),s("div",U,[s("div",G,[s("h2",null,i(e(a).title),1),s("div",W,[r[0]||(r[0]=s("i",{class:"ICO ic-time"},null,-1)),g(" "+i(o.$t("homePublishTime"))+i(("useFormatDate"in o?o.useFormatDate:e(A))(e(a).publishTime,"yyyy/MM/dd")),1)]),e(_)==="zh"?(l(),d("div",X,[(l(!0),d(I,null,O(e(a).keywords,M=>(l(),d("span",Y,i(M),1))),256))])):b("",!0),s("div",j,[s("a",{href:o.localePath("/showcase"),class:"back"},[r[1]||(r[1]=s("i",{class:"ICO"},null,-1)),g(" "+i(e(_)==="en"?"Back":"è¿åä¸ä¸çº§"),1)],8,q)]),s("div",J,[s("div",{class:"do-l",innerHTML:e(a).content},null,8,K),s("div",Q,[s("div",Z,[e(n)&&e(n).length?(l(),d("a",{key:0,href:o.localePath(e(n)[0].url),target:"_blank"},[s("img",{src:e(n)[0].imageUrl,alt:e(n)[0].title},null,8,es)],8,ss)):b("",!0)])])])])]),H(C)],2)]),_:1})}}};export{_s as default};
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.