(()=>{function G(j){let f=j.replace(/>/g,">").replace(/</g,"<");if(f=f.replace(/--/g,"—"),f=f.replace(/!\[([^\]]*)\]\((.*?)\)/g,'
').replace(/\[([^\]]+)\]\((.*?)\)/g,'$1').replace(/`([^`]+)`/g,'$1'),f=f.replace(/(?:^|>|\s)###### (.*?)(?=\n|<|$)/g,"
$1
").replace(/(?:^|>|\s)##### (.*?)(?=\n|<|$)/g,"$1
").replace(/(?:^|>|\s)#### (.*?)(?=\n|<|$)/g,"$1
").replace(/(?:^|>|\s)### (.*?)(?=\n|<|$)/g,"$1
").replace(/(?:^|>|\s)## (.*?)(?=\n|<|$)/g,"$1
").replace(/(?:^|>|\s)# (.*?)(?=\n|<|$)/g,"$1
"),f=f.replace(/(^|>|[\s(])\*\*([^\s*][^*]*[^\s*])\*\*([\s.,!?;:<()'"\/]|$)/g,"$1$2$3"),f=f.replace(/(^|>|[\s(])__([^\s_][^_]*[^\s_])__([\s.,!?;:<()'"\/]|$)/g,"$1$2$3"),f=f.replace(/(^|>|[\s(])\*([^\s*][^*]*[^\s*])\*([\s.,!?;:<()'"\/]|$)/g,"$1$2$3"),f=f.replace(/(^|>|[\s(])_([^\s_][^_]*[^\s_])_([\s.,!?;:<()'"\/]|$)/g,"$1$2$3"),f=f.replace(/(^|>|[\s(])~~([^\s~][^~]*[^\s~])~~([\s.,!?;:<()'"\/]|$)/g,"$1$2$3"),f=f.replace(/^[ \t]*>[ \t]?(.*?)[ \t]*$/gm,"$1
"),/^[ \t]*[-*+][ \t]+/m.test(j))f=f.replace(/^[ \t]*[-*+][ \t]+(.*?)[ \t]*$/gm,"$1");return f.replace(/(.*?<\/li>)/g,"").replace(/<\/ul>/g,"")}function D(){document.querySelectorAll("p, li, blockquote, td, th, h1, h2, h3, h4, h5, h6, footer, summary, .alert, .alert-box, .article-container, .article-meta, .author-box, .box, .callout, .card, .card-highlight, .card-tip, .closing, .code-block, .contact, .danger-box, .disclaimer, .fa-solid, .faq-item, .five-wh, .gallery, .highlight, .highlight-box, .important, .info-box, .intro-alert, .intro-box, .item, .lead, .lede, .markdown, .markdown-body, .meta, .meta-author, .meta-header, .meta-info, .narasi, .note, .note-box, .post-meta, .quote, .quote-box, .success-box, .timeline-item, .tip, .tip-box, .tips, .warn, .warning, .warning-box, .wh-item, .zdummy, .zdummy1, .zdummy2, .zdummy3").forEach((v)=>{let q=v;if(q.classList.contains("no-md")||q.classList.contains("rendered"))return;let y=q.innerHTML,z=y.trim();if(/[\*\#_\[\]`~\-]/.test(z)){let B=G(z);if(B!==y)q.classList.add("rendered"),q.innerHTML=B}})}function E(){if(!document.querySelector("pre code")||!window.hljs)return;document.querySelectorAll("pre code").forEach((f)=>{window.hljs.highlightElement(f)})}function F(){D(),E(),new MutationObserver(()=>{window.requestAnimationFrame(()=>{D(),E()})}).observe(document.body,{childList:!0,subtree:!0})}if(document.readyState==="loading")document.addEventListener("DOMContentLoaded",F);else F();})();