1import{d as T,b as L,o as s,g as l,j as a,t as n,q as o,n as r,i as _,S as x,l as i,F as m,r as v,p as d,m as g,h,ai as w,aj as b,x as $,k as j}from"./XtaBBJMl.js";const M={class:"imagetextclean"},C={key:0,class:"container container-edge container-edge--right container-edge--lg"},H={class:"row"},N={class:"col-lg-4 g-lg-0 order-last order-lg-first d-flex flex-column justify-content-center"},z={class:"imagetextclean__text intersect intersect--up"},B={key:0,class:"imagetextclean__pretitle sds__pretitle w3-mb-1"},I=["innerHTML"],V=["innerHTML"],A={key:2,class:"imagetextclean__buttons"},D=["href"],E=["href"],F={key:3,class:"imagetextclean__badge d-md-flex justify-content-end w3-mt-4"},S=["src","alt"],W={class:"col-lg-7 g-0 order-first order-lg-last d-flex flex-column justify-content-center"},q={class:"imagetextclean__imagevideo intersect intersect--left my-4 my-lg-0"},O={key:0},P={playsinline:"",autoplay:"",muted:"",loop:"",poster:"",class:"img-fluid"},R=["src"],G=["src","alt"],J={key:1,class:"container container-edge container-edge--left container-edge--lg"},K={class:"row"},Q={class:"col-lg-5 g-0 d-flex flex-column justify-content-center"},U={class:"imagetextclean__imagevideo intersect intersect--right my-4 my-lg-0"},X={key:0},Y={playsinline:"",autoplay:"",muted:"",loop:"",poster:"",class:"img-fluid"},Z=["src"],ee=["src","alt"],te={class:"col-lg-7 g-lg-0 d-flex flex-column justify-content-center"},se={class:"imagetextclean__text intersect intersect--up"},ae={class:"imagetextclean__pretitle sds__pretitle w3-mb-1"},le=["innerHTML"],ie=["innerHTML"],ne={key:1,class:"imagetextclean__buttons"},oe=["href"],ce=["href"],de={key:2,class:"imagetextclean__badge d-md-flex justify-content-end w3-mt-4"},re=["src","alt"],_e=T({__name:"ImageTextClean",props:{data:{}},setup(f){const{$directus:c}=L(),e=f,k=$(()=>{if(e.data.video){const p=e.data.video.filename_disk.split(".").pop();return p==="mp4"||p==="MP4"}return!1}),u=$(()=>e.data.title_type||"h2");return(p,me)=>{const y=j;return s(),l("div",M,[f.data.is_image_right?(s(),l("div",C,[a("div",H,[a("div",N,[a("div",z,[e.data.pretitle?(s(),l("div",B,n(e.data.pretitle),1)):o("",!0),e.data.title?(s(),r(x(i(u)),{key:1,class:"h2 imagetextclean__title text-primary"},{default:_(()=>[a("span",{innerHTML:e.data.title?e.data.title.replace(/<\/?p[^>]*>/g,""):""},null,8,I)]),_:1})):o("",!0),a("div",{class:"imagetextclean__content text-primary w3-my-4",innerHTML:e.data.content||""},null,8,V),e.data.buttons?.length?(s(),l("div",A,[(s(!0),l(m,null,v(e.data.buttons,t=>(s(),l(m,{key:t.label},[t.link.startsWith("#")?(s(),l("a",{key:0,href:t.link,class:d(["btn w3-me-1 w3-mb-2",`btn ${t.type}`])},n(t.label),11,D)):t.external?(s(),l("a",{key:1,href:t.link,class:d(["btn w3-me-1 w3-mb-2",`btn ${t.type}`]),rel:"nofollow noopener",target:"_blank"},[g(n(t.label),1),h(i(w),{class:"d-inline-block ms-1 mt-n1-4",size:22,"stroke-width":"1"})],10,E)):(s(),r(y,{key:2,to:t.link,class:d(["btn w3-me-1 w3-mb-2",`btn ${t.type}`]),rel:"nofollow noopener",target:"_blank"},{default:_(()=>[g(n(t.label),1),h(i(b),{class:"d-inline-block ms-1 mt-n1-4",size:22,"stroke-width":"1"})]),_:2},1032,["to","class"]))],64))),128))])):o("",!0),e.data.badge?(s(),l("div",F,[a("img",{class:"img-fluid",width:"146",src:i(c).url+"assets/"+e.data.badge.filename_disk,alt:e.data.title},null,8,S)])):o("",!0)])]),a("div",W,[a("div",q,[i(k)?(s(),l("div",O,[a("video",P,[a("source",{src:`${i(c).url}assets/${e.data.video?.filename_disk}`,type:"video/mp4"},null,8,R)])])):(s(),l("img",{key:1,class:"img-fluid",src:`${i(c).url}assets/${e.data.image?.filename_disk}`,alt:e.data.title},null,8,G))])])])])):(s(),l("div",J,[a("div",K,[a("div",Q,[a("div",U,[i(k)?(s(),l("div",X,[a("video",Y,[a("source",{src:`${i(c).url}assets/${e.data.video?.filename_disk}`,type:"video/mp4"},null,8,Z)])])):(s(),l("img",{key:1,class:"img-fluid",src:`${i(c).url}assets/${e.data.image?.filename_disk}`,alt:e.data.title},null,8,ee))])]),a("div",te,[a("div",se,[a("div",ae,n(e.data.pretitle),1),e.data.title?(s(),r(x(i(u)),{key:0,class:"h2 imagetextclean__title text-primary"},{default:_(()=>[a("span",{innerHTML:e.data.title?e.data.title.replace(/<\/?p[^>]*>/g,""):""},null,8,le)]),_:1})):o("",!0),a("div",{class:"imagetextclean__content text-primary w3
1-my-4",innerHTML:e.data.content||""},null,8,ie),e.data.buttons?.length?(s(),l("div",ne,[(s(!0),l(m,null,v(e.data.buttons,t=>(s(),l(m,{key:t.label},[t.link.startsWith("#")?(s(),l("a",{key:0,href:t.link,class:d(["btn w3-me-1 w3-mb-2",`btn ${t.type}`])},n(t.label),11,oe)):t.external?(s(),l("a",{key:1,href:t.link,class:d(["btn w3-me-1 w3-mb-2",`btn ${t.type}`]),rel:"nofollow noopener",target:"_blank"},[g(n(t.label),1),h(i(w),{class:"d-inline-block ms-1 mt-n1-4",size:22,"stroke-width":"1"})],10,ce)):(s(),r(y,{key:2,to:t.link,class:d(["btn w3-me-1 w3-mb-2",`btn ${t.type}`]),rel:"nofollow noopener",target:"_blank"},{default:_(()=>[g(n(t.label),1),h(i(b),{class:"d-inline-block ms-1 mt-n1-4",size:22,"stroke-width":"1"})]),_:2},1032,["to","class"]))],64))),128))])):o("",!0),e.data.badge?(s(),l("div",de,[a("img",{class:"img-fluid",width:"146",src:i(c).url+"assets/"+e.data.badge.filename_disk,alt:e.data.title},null,8,re)])):o("",!0)])])])]))])}}}),he=Object.assign(_e,{__name:"BlocksImageTextClean"});export{he 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.