1import{r as e,ab as I,m as b,bB as g,F as j,v as l,av as v,j as t}from"./index-Dbs4T2cU.js";import{O as F}from"./OpgDetailPage-CLAu-hm2.js";const D=o=>{const{articleCode:s,themeRelativeUrl:i}=I(),n=b(),[a,c]=e.useState(null),[u,d]=e.useState(!1),[m,f]=e.useState();return e.useEffect(()=>{s&&i&&n(g({fanclubSiteId:j(),themeRelativeUrl:i,articleCode:s})).then(l).then(r=>{const{articleTitle:p,thumbnailUrl:h}=r.article;c({title:p,description:"",thumbnailUrl:h}),n(v()).then(l).then(x=>{f(x.platformId)})}).catch(r=>{r===404&&d(!0)})},[n,s,i]),a?t.jsx(F,{image:a.thumbnailUrl,title:a.title,description:a.description,platformId:m,siteInfo:o}):u?t.jsxs(t.Fragment,{children:[t.jsx("div",{id:"no-detail-meta"}),t.jsx("div",{id:"common-meta"})]}):t.jsx("div",{})},E=e.memo(D);export{E 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.