PageSourceSearch

https://thebestschools.org/_next/static/chunks/2847.44e62199e8c99e66.js

js thebestschools.org collected 2026-09-24 08:53:19 UTC 1,836 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2847],{2847:(e,t,n)=>{n.r(t),n.d(t,{RichTextRender:()=>p});var r=n(80264),o=n(73737),i=n(16236),a=n(14862),s=n(90094),d=n(82009),u=n(12115),m=n(95155);(0,a.hY)();var c=(0,i.d)("RichTextEditor",o.o);function p({content:e,field:t}){let{tiptap:n={},options:o}=t,{extensions:i=[]}=n,a=(0,u.useMemo)(()=>[r.b.configure(o),...i],[t,i]),p=(0,u.useMemo)(()=>{if("object"==typeof e&&(null==e?void 0:e.type)==="doc")return e;if("string"==typeof e){if(/<\/?[a-z][\s\S]*>/i.test(e)){if("undefined"==typeof window)throw Error("generateJSON can only be used in a browser environment\nIf you want to use this in a Node environment, use the `@tiptap/html/server` import instead.");let t=(0,s._w)(a),n=new window.DOMParser().parseFromString(e,"text/html");if(!n)throw Error("Failed to parse HTML string");return d.S4.fromSchema(t).parse(n.body,void 0).toJSON()}return{type:"doc",content:[{type:"paragraph",content:[{type:"text",text:e}]}]}}return{type:"doc",content:[]}},[e,a]),w=(0,u.useMemo)(()=>(function(e,t){if("undefined"==typeof window)throw Error("generateHTML can only be used in a browser environment\nIf you want to use this in a Node environment, use the `@tiptap/html/server` import instead.");let n=(0,s._w)(t);var r=d.bP.fromJSON(n,e);if("undefined"==typeof window)throw Error("getHTMLFromFragment can only be used in a browser environment\nIf you want to use this in a Node environment, use the `@tiptap/html/server` import instead.");let o=window.document.createElement("div");return d.ZF.fromSchema(n).serializeFragment(r.content,{document:window.document},o),o.innerHTML})(p,a),[p,a]);return(0,m.jsx)("div",{className:c(),children:(0,m.jsx)("div",{className:"rich-text",dangerouslySetInnerHTML:{__html:w}})})}}}]);
2//# sourceMappingURL=2847.44e62199e8c99e66.js.map

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.