1import{_ as Q}from"./CAwncIpA.js";import{d as O,a as X,r as n,f as Z,u as ee,k as te,E as se,q as N,j as k,m as V,y as D,b as u,h as o,t as h,e as t,F as H,p as j,o as d,s as q,z as oe,ao as ne}from"./DXTaF4Pa.js";const ae={key:0,class:"error_message"},ie=["datetime"],le=["innerHTML"],pe={key:1,class:"newsDetailContent"},re=O({__name:"newsDetail",props:{newsCode:{},detailFlag:{type:Boolean,default:void 0}},emits:["updateTitle"],async setup(w,{emit:v}){var F,E,Y,$,I,M,S;let a,_;const g=w,f=X().$axcCommon.errCheck,i=n(Z),l=ee.news.newsDetail(),s=n(),e=n(),y=te().public.newsImageURL;[a,_]=se(()=>l.get([{code:g.newsCode}]).then(A=>{var C,p,r,c,m,B,P;i.value=f(A),s.value=l.newsDetail.value,(p=(C=s.value)==null?void 0:C.news)!=null&&p.length&&((c=(r=s.value)==null?void 0:r.news)==null?void 0:c.length)>0&&(e.value=(m=s.value)==null?void 0:m.news[0]),(P=(B=s.value)==null?void 0:B.news)==null||P.forEach(b=>{var R;(R=b==null?void 0:b.media)==null||R.forEach(U=>{U.url=y+U.url})})})),await a,_();const x=D.utils.date.dateStringFormat;N({title:(F=e.value)==null?void 0:F.title,meta:[{hid:"title",property:"title",content:(E=e.value)==null?void 0:E.meta_title},{hid:"type",property:"keywords",content:(Y=e.value)==null?void 0:Y.meta_keywords}]}),(($=e.value)==null?void 0:$.is_use_ogp)&&N({meta:[{hid:"og-image",property:"og:image",content:(I=e.value)==null?void 0:I.image}]}),k().public.frontSitePath.news.list;const z=D.pageCondition,W=g.detailFlag?n((M=V().query)==null?void 0:M.page):n(z.page()),G=k(),J=()=>{j(G.public.frontSitePath.news.list+"?page="+W.value)},K=v;return(S=e.value)!=null&&S.title&&K("updateTitle",e.value.title),(A,C)=>{var p,r,c,m;return o(i).check?(d(),u(H,{key:1},[t("h1",null,h((p=o(e))==null?void 0:p.title),1),(r=o(e))!=null&&r.body?(d(),u(H,{key:0},[t("time",{datetime:o(x)(o(e).post_date,"YYYY-MM-DD").date},h(o(x)((c=o(e))==null?void 0:c.post_date,"YYYY.MM.DD").date),9,ie),t("div",{class:"newsDetailContent",innerHTML:(m=o(e))==null?void 0:m.body},null,8,le)],64)):(d(),u("div",pe," ãã®ãç¥ããã¯è¡¨ç¤ºã§ãã¾ãã ")),t("div",{class:"btnWrap"},[t("button",{class:"btn is-black",onClick:J},"ãç¥ããä¸è¦§ã¸æ»ã")])],64)):(d(),u("p",ae,h(o(i).message),1))}}}),ce={class:"main"},me={id:"breadcrumb"},ue={class:"content__wrapper"},de={itemscope:"",itemtype:"https://schema.org/BreadcrumbList",class:"breadcrumb"},_e={itemprop:"itemListElement",itemscope:"",itemtype:"https://schema.org/ListItem",class:""},ge={itemprop:"itemListElement",itemscope:"",itemtype:"https://schema.org/ListItem",class:""},he={itemprop:"name"},we={class:"content__wrapper is-980"},ve={class:"newsDetail"},ke=O({__name:"detail",props:{detailFlag:{type:Boolean,default:void 0}},setup(w){var l;const v=w,a=n(""),_=s=>{a.value=s},g=D.pageCondition,L=k().public.frontSitePath,f=v.detailFlag?n((l=V().query)==null?void 0:l.page):n(g.page()),i=()=>j(L.news.list+"?page="+f.value);return(s,e)=>{const y=Q,T=re;return d(),u("main",ce,[t("section",me,[t("div",ue,[t("nav",null,[t("ol",de,[t("li",_e,[q(y,{to:"/",itemprop:"item",class:""},{default:oe(()=>e[0]||(e[0]=[t("span",{itemprop:"name"},"TOP",-1)])),_:1,__:[0]}),e[1]||(e[1]=t("meta",{itemprop:"position",content:"1"},null,-1))]),t("li",{itemprop:"itemListElement",itemscope:"",itemtype:"https://schema.org/ListItem",class:""},[t("a",{itemprop:"item",class:"",onClick:i},e[2]||(e[2]=[t("span",{itemprop:"name"},"ãç¥ãã",-1)])),e[3]||(e[3]=t("meta",{itemprop:"position",content:"2"},null,-1))]),t("li",ge,[t("span",he,h(a.value),1),e[4]||(e[4]=t("meta",{itemprop:"position",content:"3"},null,-1))])])])])]),t("section",null,[t("div",we,[t("div",ve,[q(T,{"news-code":(s._.provides[ne]||s.$route).params.code,onUpdateTitle:_},null,8,["news-code"])])])])])}}});export{ke 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.