1import{d as a,ah as p,f as u,c as i,o as d,a as s,g as m,S as h,t as l,h as y,e as v}from"#entry";import{_ as g}from"./DlAUqK2U.js";const _={class:"flex flex-col rounded-[10px]",style:{width:"98%","background-color":"#F1F4EF"}},f={class:""},x={class:"m-2"},b=["src"],S={class:"card-type mx-2 text-sm"},C={style:{"text-transform":"none"}},w=a({__name:"AboutCourseCard",props:{cardType:String,buttonText:String,imageUrl:String,link:String,type:String},setup(o){const t=p();function c(n){t.push(n)}return(n,e)=>{const r=u("v-btn");return d(),i("div",_,[s("div",null,[s("div",f,[s("div",x,[s("img",{src:o.imageUrl,alt:"Course Image",class:"rounded-[10px] w-full",style:h(o.type==="elearning_course"?"height: 200px; align-center":"height: 200px; object-fit: cover; object-position: 0% 20%;")},null,12,b)])]),s("p",S,l(o.cardType),1)]),m(r,{class:"my-2 mx-2",style:{border:"1px solid #757E74",height:"32px","background-color":"#F1F4EF"},rounded:"lg",onClick:e[0]||(e[0]=M=>c(o.link))},{default:y(()=>[s("span",C,l(o.buttonText),1)]),_:1})])}}}),F=g(w,[["__scopeId","data-v-d851e127"]]),T=o=>{const t=document.createElement("div");return t.innerHTML=o,t.querySelectorAll("img, div, p, span, figure, table, td, th, col, colgroup").forEach(e=>{e.style.removeProperty("width")}),t.querySelectorAll("tr").forEach(e=>{e.style.removeProperty("height")}),t.querySelectorAll("td div, th div").forEach(e=>{e.style.removeProperty("max-height")}),t.querySelectorAll("table, td, th, col, colgroup").forEach(e=>{e.removeAttribute("width")}),t.innerHTML},E=o=>{const t=document.createElement("div");return t.innerHTML=o,t.querySelectorAll("table").forEach(n=>{const e=n.parentElement;if(e?.classList.contains("table-responsive-wrapper"))return;if(e&&e!==t&&e.tagName.toLowerCase()==="div"){e.style.overflowX="auto",e.style.width="100%",e.classList.add("table-responsive-wrapper");return}const r=document.createElement("div");r.style.overflowX="auto",r.style.width="100%",r.classList.add("table-responsive-wrapper"),e?.insertBefore(r,n),r.appendChild(n)}),t.innerHTML},L=["innerHTML"],H=a({__name:"TinyMceContent",props:{tinyMceContent:{}},setup(o){const t=o,c=v(()=>n(t.tinyMceContent)),n=e=>E(T(e));return(e,r)=>(d(),i("div",{class:"tinymce-content-container",innerHTML:c.value},null,8,L))}});export{F as A,H as _};
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.