1import{D as n}from"./BStZey97.js";import{d as s,k as c,l,x as m,o as p,A as u}from"./BKXu5M1S.js";const k=["innerHTML"],d=s({__name:"UmbBlockGridDemoRichTextBlock",props:{richText:{}},setup(o){const t=o;function i(e){return e.replace(/<table([^>]*)>/gi,'<div class="bsg-table-wrapper"><table$1>').replace(/<\/table>/gi,"</table></div>")}const r=u(()=>{if(!t.richText?.markup)return"";const e=n.sanitize(t.richText.markup,{ADD_ATTR:["target","rel"],CUSTOM_ELEMENT_HANDLING:{attributeNameCheck:a=>!a.match(/^on/i)}});return i(e)});return(e,a)=>c(r)?(p(),l("div",{key:0,class:"rich-text-block text-shadow-grayscale-500 dark:text-white",innerHTML:c(r)},null,8,k)):m("",!0)}}),T=Object.assign(d,{__name:"UmbBlockGridDemoRichTextBlock"});export{T 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.