PageSourceSearch

https://www.motanabbi.com/assets/ModuleArticlePage-DBmo6rus.js

js motanabbi.com collected 2026-10-09 17:02:42 UTC 1,914 bytes, 2 lines download raw bytes

1import{u as g,a as y,z as f,K as A,d as r,j as s,w as N,I as u,R as m,y as b,Q as T,v as I,N as v,T as L,f as x}from"./index-CdUOs3ic.js";import{P as _}from"./PageHeader-qZdAcDSm.js";import{g as M}from"./grid.module-0b81G5dV.js";const k="_meta_1361c_1",D="_layout_1361c_17",E="_hero_1361c_25",P="_prose_1361c_29",R="_audio_1361c_43",S="_audioLabel_1361c_53",w="_related_1361c_63",t={meta:k,layout:D,hero:E,prose:P,audio:R,audioLabel:S,related:w},z=3,q=()=>{const{t:l}=g(),{languageId:i}=y(),{moduleId:a="",storyId:d=""}=f(),{modules:h}=A(),n=h.find(e=>e.moduleId===a),j=r(e=>x.fetchModuleArticle(i,a,d,e),[i,a,d]),c=r(e=>x.fetchModuleArticles(i,a,1,"",e),[i,a]).data?.items.filter(e=>e.articleId!==d).slice(0,z)??[];return s.jsx(N,{state:j,loading:s.jsxs(s.Fragment,{children:[s.jsx(_,{title:l("Loading")}),s.jsx(L,{lines:10})]}),emptyTitle:l("No_Articles"),children:e=>e===null?null:s.jsxs("article",{children:[s.jsx(_,{trail:[{label:n?.title??l("back"),to:m.modules(a)}],title:e.title,children:e.displayDate!==""&&s.jsx("div",{className:t.meta,children:s.jsxs("span",{children:[s.jsx(u,{name:"calendar_month",size:16}),e.displayDate]})})}),s.jsxs("div",{className:t.layout,children:[e.picture!==""&&s.jsx(b,{src:e.picture,alt:"",ratio:"16 / 9",fallbackText:e.title,className:t.hero,loading:"eager"}),s.jsx("div",{className:t.prose,children:e.description.split(`
2`).filter(o=>o.trim()!=="").map((o,p)=>s.jsx("p",{children:o},p))}),e.hasAudio&&e.audio!==""&&s.jsxs("div",{className:t.audio,children:[s.jsxs("p",{className:t.audioLabel,children:[s.jsx(u,{name:"graphic_eq",size:18}),l("Audio")]}),s.jsx(T,{src:e.audio})]})]}),c.length>0&&s.jsxs("section",{className:t.related,children:[s.jsx(I,{title:n?.title??l("Others"),actionTo:m.modules(a),actionLabel:l("view_all")}),s.jsx("div",{className:M.cardGrid,children:c.map(o=>s.jsx(v,{article:o},o.articleId))})]})]})})};export{q as ModuleArticlePage,q 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.