const c=/("(?:[^"\\]|\\.)*")(?=\s*:)|("(?:[^"\\]|\\.)*")|(\.\.\.)|([{}\[\],])/g;function o(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(c,(r,s,e,t,a)=>s?`<span class='tok-key'>${s}</span>`:e?`<span class='tok-str'>${e}</span>`:t?"<span class='tok-comment'>...</span>":a?`<span class='tok-punct'>${a}</span>`:r)}export{o as c};
//# sourceMappingURL=chunk-YE5gLsn5.js.map
