{"version":3,"file":"notification-alert-bar-ba94128d.js","sources":["../../../frontend-v2/src/services/infra/markdown.service/markdown.service.ts","../../../frontend-v2/src/components/common/runai-html-wrapper/runai-html-wrapper.vue","../../../frontend-v2/src/components/common/notification-alert-bar/notification-alert-bar.vue"],"sourcesContent":["const _escape = document.createElement(\"textarea\");\n\nfunction escapeHTML(html: string) {\n _escape.textContent = html;\n return _escape.innerHTML;\n}\n\nexport function formatMarkdown(text: string) {\n return escapeHTML(text)\n .replace(/ /g, \" \")\n .replace(/\\*(.+?)\\*/g, \"$1\")\n .replace(/\\[(.+?)\\]\\((http.+?)\\)/g, \"$1\")\n .replace(/\\[(.+?)\\]\\((.+?)\\)/g, \"$1\");\n}\n","\n\n\n","\n\n\n\n\n"],"names":["_escape","escapeHTML","html","formatMarkdown","text","_sfc_main$1","defineComponent","levels","_sfc_main","RunaiHtmlWrapper","ENotificationBarStatusLevel","_openBlock","_createBlock","QBanner","_normalizeClass","_ctx","_withCtx","_createElementVNode","QIcon","_createCommentVNode","_renderSlot","_createVNode","_component_runai_html_wrapper"],"mappings":"oLAAA,MAAMA,EAAU,SAAS,cAAc,UAAU,EAEjD,SAASC,EAAWC,EAAc,CAChC,OAAAF,EAAQ,YAAcE,EACfF,EAAQ,SACjB,CAEO,SAASG,EAAeC,EAAc,CAC3C,OAAOH,EAAWG,CAAI,EACnB,QAAQ,KAAM,QAAQ,EACtB,QAAQ,aAAc,WAAW,EACjC,QAAQ,0BAA2B,qCAAqC,EACxE,QAAQ,sBAAuB,qBAAqB,CACzD,CCLA,MAAAC,EAAeC,EAAgB,CAC7B,MAAO,CACL,IAAK,CACH,KAAM,OACN,SAAU,GACV,QAAS,KACX,EACA,KAAM,CACJ,KAAM,OACN,SAAU,EACZ,CACF,EACA,SAAU,CACR,YAAa,CACX,OAAO,KAAK,KAAOH,EAAe,KAAK,IAAI,EAAI,EACjD,CACF,CACF,CAAC,2HCFKI,EAAS,CACb,QAAS,CACP,WAAY,gBACZ,MAAO,SACT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