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 ProfessionalArticleTabs 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/professional_article/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 = ({ 33 data 34}) => { 35 if (!data || !data.metaInfo) 36 return []; 37 const { metaInfo } = data; 38 const metaTags = [ 39 { title: metaInfo.title }, 40 { 41 property: "og:title", 42 content: metaInfo.ogTitle 43 }, 44 { property: "og:description", content: metaInfo.ogDescription }, 45 { 46 name: "description", 47 content: metaInfo.description 48 } 49 ]; 50 if (metaInfo.canonical) { 51 metaTags.push({ 52 property: "og:url", 53 content: metaInfo.canonical 54 }); 55 } 56 if (metaInfo.ogImage) { 57 metaTags.push({ 58 property: "og:image", 59 content: `${data.baseUrl}/${metaInfo.ogImage}` 60 }); 61 } 62 return metaTags; 63}; 64function ProfessionalArticleDetail() { 65 const data = useLoaderData(); 66 return /* @__PURE__ */ React.createElement("div", { 67 className: "section-wrapper" 68 }, /* @__PURE__ */ React.createElement(ArticleDescriptionLayout, { 69 ...data 70 }), /* @__PURE__ */ React.createElement(ProfessionalArticleTabs, { 71 ...data 72 })); 73} 74 75export { 76 links, 77 meta, 78 ProfessionalArticleDetail 79}; 80//# sourceMappingURL=/build/_shared/chunk-TKXWTGLE.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.