1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6933],{46933:(e,t,n)=>{n.r(t),n.d(t,{RichTextRender:()=>u});var c=n(44880),o=n(54852),s=n(96344),r=n(36658),a=n(85680),d=n(79812),i=n(63336);(0,r.hY)();var p=(0,s.d)("RichTextEditor",o.o);function u({content:e,field:t}){let{tiptap:n={},options:o}=t,{extensions:s=[]}=n,r=(0,d.useMemo)(()=>[c.b.configure(o),...s],[t,s]),u=(0,d.useMemo)(()=>"object"==typeof e&&(null==e?void 0:e.type)==="doc"?e:"string"==typeof e?e?/<\/?[a-z][\s\S]*>/i.test(e)?(0,a.y)(e,r):{type:"doc",content:[{type:"paragraph",content:[{type:"text",text:e}]}]}:{type:"doc",content:[]}:{type:"doc",content:[]},[e,r]),h=(0,d.useMemo)(()=>(0,a.Z)(u,r),[u,r]);return(0,i.jsx)("div",{className:p(),children:(0,i.jsx)("div",{className:"rich-text",dangerouslySetInnerHTML:{__html:h}})})}}}]);
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.