1import{r as e,j as t}from"./vendor-react-CYOoHjOf.js";import{j as n}from"./vendor-redux-BXotTMQH.js";import{O as I}from"./OpgDetailPage-DxDfUVeJ.js";import{X as g,i as j,bg as b,o as D,af as F}from"./index-NXCSpy0w.js";import"./vendor-lodash-Cp5T_Ztg.js";import"./vendor-axios-BLlBCaos.js";import"./vendor-mui-A_M4pNO3.js";import"./vendor-auth-DXBuXNeD.js";import"./vendor-motion-CwbUqb9k.js";const S=l=>{const{articleCode:s,themeRelativeUrl:a}=g(),o=j(),[i,m]=e.useState(null),[c,f]=e.useState(!1),[p,u]=e.useState();return e.useEffect(()=>{s&&a&&o(b({fanclubSiteId:D(),themeRelativeUrl:a,articleCode:s})).then(n).then(r=>{const{articleTitle:d,thumbnailUrl:h}=r.article;m({title:d,description:"",thumbnailUrl:h}),o(F()).then(n).then(x=>{u(x.platformId)})}).catch(r=>{r===404&&f(!0)})},[o,s,a]),i?t.jsx(I,{image:i.thumbnailUrl,title:i.title,description:i.description,platformId:p,siteInfo:l}):c?t.jsxs(t.Fragment,{children:[t.jsx("div",{id:"no-detail-meta"}),t.jsx("div",{id:"common-meta"})]}):t.jsx("div",{})},w=e.memo(S);export{w 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.