1/*! @license Third-party license notices: /THIRD_PARTY_NOTICES.txt */ 2import{r as e}from"./MKS-4bfa.js";import{ei as t,or as n}from"./DGdVYqCg.js";import{I as r,It as i,P as a,Wt as o,Y as s,Zt as c,et as l,lt as u,ot as d}from"./CovcTdXs.js";import{t as f}from"./B6Gq4vXF.js";var p=e({default:()=>m});i(),s();var m=f({__name:`ScRichText`,props:{field:{type:Object,default:()=>({value:``})},tag:{type:String,default:`div`}},setup(e){let i=e,s=o(null),f=t();d(()=>{let e=i.field?.value,t=i.field&&i.field.editable&&i.editable;e&&!t&&m()});let p=e=>{e.preventDefault();let t=e.target;t.pathname||(t=t.closest(`a`));let n=t.hash?`${t.pathname}${t.hash}`:t.pathname;f.push(n)},m=async()=>{await l();let e=s.value?.$el;e&&e.querySelectorAll(`a[href^="/"]`).forEach(e=>{e.removeEventListener(`click`,p,!1),e.addEventListener(`click`,p,!1)})},h=a(()=>{let{field:e}=i,{value:t}=e||{};return typeof t==`string`?{...e,value:t.replace(/\r\n/g,` 3`)}:e});return(t,i)=>(u(),r(c(n),{ref_key:`richText`,ref:s,class:`rich-text-component prose`,tag:e.tag,field:h.value},null,8,[`tag`,`field`]))}},[[`__scopeId`,`data-v-2d8d58b5`]]);export{p as n,m as t};
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.