decord/source/modules/markup/MarkupSubtextRule.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

41 lines
1 KiB
TypeScript

// Module ID: 5026
// Function ID: 5027
// Dependencies: [4257, 2]
// Module 5026
import set from "set" /* 2 */;
import t from "t" /* 4257 */;
import tDefault from "t" /* 4257 */;
const re2 = /\n$/;
const re3 = /^ *-# +((?!-#)[^\n]+)(?:\n|$)/;
let obj = {
order: tDefault.defaultRules.heading.order,
requiredFirstCharacters: ["-"],
match(arg0, allowSubtext, str) {
let tmp = null;
if (false !== allowSubtext.allowSubtext) {
if (null != str) {
if ("" !== str) {
let tmp4 = null;
}
tmp = tmp4;
}
tmp4 = t.anyScopeRegex(closure_3)(arg0, allowSubtext, str);
const obj = t;
}
return tmp;
},
parse(arg0, arg1, arg2) {
let obj = { content: null };
obj = {};
const trimmed = arg0[1].trim();
const merged = Object.assign(arg2);
obj.allowSubtext = false;
obj[0] = t.parseInline(arg1, trimmed, obj);
return obj;
}
};
const result = set.fileFinishedImporting("modules/markup/MarkupSubtextRule.tsx");
export default obj;