1import { 2 require_config 3} from "/build/_shared/chunk-AROMJ2TK.js"; 4import { 5 article_image_default 6} from "/build/_shared/chunk-ODLDFHPZ.js"; 7import { 8 require_axios 9} from "/build/_shared/chunk-MOIKYNDV.js"; 10import { 11 ArticleDescriptionLayout, 12 ArticleTabs 13} from "/build/_shared/chunk-LTL4HYOU.js"; 14import { 15 init_esm, 16 useLoaderData 17} from "/build/_shared/chunk-46RNFGVL.js"; 18import { 19 React, 20 __toESM, 21 init_react 22} from "/build/_shared/chunk-BNRLY3XL.js"; 23 24// app/routes/search/main/$articleId.$articleName.tsx 25init_react(); 26init_esm(); 27var import_axios = __toESM(require_axios()); 28var import_config = __toESM(require_config()); 29var links = () => { 30 return [{ rel: "stylesheet", href: article_image_default }]; 31}; 32var meta = ({ data }) => { 33 if (!data || !data.metaInfo) 34 return []; 35 const { metaInfo } = data; 36 const metaTags = []; 37 if (metaInfo.title) { 38 metaTags.push({ title: metaInfo.title }); 39 } 40 if (metaInfo.ogTitle) { 41 metaTags.push({ property: "og:title", content: metaInfo.ogTitle }); 42 } 43 if (metaInfo.canonical) { 44 metaTags.push({ property: "og:url", content: metaInfo.canonical }); 45 } 46 if (metaInfo.ogDescription) { 47 metaTags.push({ 48 property: "og:description", 49 content: metaInfo.ogDescription 50 }); 51 } 52 if (metaInfo.ogImage) { 53 metaTags.push({ 54 property: "og:image", 55 content: `${data.baseUrl}/${metaInfo.ogImage}` 56 }); 57 } 58 if (metaInfo.description) { 59 metaTags.push({ name: "description", content: metaInfo.description }); 60 } 61 return metaTags; 62}; 63function ArticleDetail() { 64 const data = useLoaderData(); 65 return /* @__PURE__ */ React.createElement("div", { 66 className: "section-wrapper" 67 }, /* @__PURE__ */ React.createElement(ArticleDescriptionLayout, { 68 ...data 69 }), /* @__PURE__ */ React.createElement(ArticleTabs, { 70 ...data 71 })); 72} 73 74export { 75 links, 76 meta, 77 ArticleDetail 78}; 79//# sourceMappingURL=/build/_shared/chunk-YF2EO534.js.map
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.