1import{E as e,e as l,g as t,j as n,b as a,c as o,d as s}from"./index-C2S2Yysw.js";import{e as i,r as d}from"./vendor-CK00QW4g.js";import"./main-BcBMYSYc.js";const r=r=>{var c,m;const{componentDataDispatcher:p,contentModel:u}=(n=>{const{id:a,contentModel:o,modelInternalName:s}=i.propsParser(n),r="source-details-ssr",{componentDataDispatcher:c,setComponentDataDispatcher:m,isComponentLoaded:p}=e({id:a,modelInternalName:s,modelKeyForSSR:r});let u;return(null==o?void 0:o.trim().length)&&(u=JSON.parse(o)),d.useEffect((()=>{var e;p&&(m({type:l.fetchingData}),(null==(e=null==o?void 0:o.trim())?void 0:e.length)&&(async()=>{m({type:l.dataFetched,data:await t(u,s,r,a)})})())}),[o]),{componentDataDispatcher:c,contentModel:o}})(r),{componentData:g,isLoading:x}=p;return n.jsxs(n.Fragment,{children:[n.jsx(a,{loaderClassName:"",contentModel:u,isLoading:x,componentData:g}),(null==g?void 0:g.id)&&!x&&n.jsx("div",{className:"source-details section-gap",children:n.jsx("div",{className:"container-small",children:n.jsxs("div",{className:"source-details-inner lg:p-16 md:p-10 p-6 bg-coolgray-50 rounded-2xl",children:[(null==g?void 0:g.source_image_emd)&&n.jsx("div",{className:"w-full lg:mb-10 md:mb-8 mb-4",children:n.jsx(o,{name:"sourceImage",className:"lg:w-[150px] md:w-[100px] w-[75px]",width:150,height:35,src:(null==g?void 0:g.source_image_emd)?null==g?void 0:g.source_image_emd[0]:""})}),n.jsxs("div",{className:"lg::[&_p]:text-2xl md:[&_p]:text-xl lg:[&_p]:leading-10 lg:text-lg text-base md:leading-8 [&_p]:text-coolgray-700 font-medium flex flex-wrap lg:gap-6 gap-4 w-full",children:[(null==g?void 0:g.description_et)&&n.jsx("div",{className:"w-full",dangerouslySetInnerHTML:{__html:null==g?void 0:g.description_et}}),(null==g?void 0:g.link_com)&&(null==g?void 0:g.link_com.length)&&n.jsx("p",{children:n.jsx(s,{name:null==g?void 0:g.title,target:"_blank",to:null==(c=null==g?void 0:g.link_com[0])?void 0:c.button_link_et,children:null==(m=null==g?void 0:g.link_com[0])?void 0:m.button_text_et})})]})]})})})]})};export{r 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.