"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3753],{33753:(e,E,g)=>{g.d(E,{getMarkdownDetectionScore:()=>p});let _=[{name:"MD_HEADERS_REGEX",regexp:RegExp("^(#{1,6}\\s*[\\S]+)"),weight:10},{name:"MD_LINKS_REGEX",regexp:RegExp("(?:__|[.*])|[(.*?)](.*?)"),weight:10},{name:"MD_BOLD_REGEX",regexp:RegExp("\\*\\*(.*)\\*\\*"),weight:10},{name:"MD_EMPHASIS_REGEX",regexp:RegExp("_(.*?)_"),weight:10},{name:"MD_DEL_REGEX",regexp:RegExp("~~(.*?)~~"),weight:10},{name:"MD_INLINE_REGEX",regexp:RegExp("`(.*?)`"),weight:10},{name:"MD_BULLET_LIST_REGEX",regexp:RegExp("^(?:d.|[*+-]) [^]*?(?=^(?:d.|[*+-])|$(?![^]))","gm"),weight:10},{name:"MD_ORDERED_LIST_REGEX",regexp:RegExp("^(\\s*)(\\d+\\.\\s+)(.*)","gm"),weight:10},{name:"MD_BLOCKQUOTES_REGEX",regexp:RegExp("(&gt;|>)(.*)"),weight:10},{name:"MD_HORIZONTAL_REGEX",regexp:RegExp("-{3,}"),weight:10},{name:"MD_CODEBLOCK_REGEX",regexp:RegExp("```\\w*(.+)```","gms"),weight:50},{name:"MD_WORKFLOW_BLOCK_REGEX",regexp:RegExp("^::::WorkflowBlock\\s*([\\s\\S]+?)\\s*::::$","g"),weight:10},{name:"MD_WORKFLOW_BLOCK_ITEM_REGEX",regexp:RegExp("^:::WorkflowBlockItem\\s*(.*?)\\s*:::$","gm"),weight:10}],p=e=>{if(!e)return;let E=e.replace(`

`,"\n").split("\n"),g=0,p=0;return _.forEach(_=>{let t=_.regexp.test(e);_.regexp.test(e),t&&(p+=_.weight,g+=100/E.length)}),p>g?p:g}}}]);