mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 17:18:17 +08:00
68 lines
2.1 KiB
JavaScript
68 lines
2.1 KiB
JavaScript
import {
|
|
__commonJS
|
|
} from "./chunk-2TUXWMP5.js";
|
|
|
|
// node_modules/refractor/lang/lolcode.js
|
|
var require_lolcode = __commonJS({
|
|
"node_modules/refractor/lang/lolcode.js"(exports, module) {
|
|
module.exports = lolcode;
|
|
lolcode.displayName = "lolcode";
|
|
lolcode.aliases = [];
|
|
function lolcode(Prism) {
|
|
Prism.languages.lolcode = {
|
|
comment: [/\bOBTW\s[\s\S]*?\sTLDR\b/, /\bBTW.+/],
|
|
string: {
|
|
pattern: /"(?::.|[^":])*"/,
|
|
inside: {
|
|
variable: /:\{[^}]+\}/,
|
|
symbol: [/:\([a-f\d]+\)/i, /:\[[^\]]+\]/, /:[)>o":]/]
|
|
},
|
|
greedy: true
|
|
},
|
|
number: /(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,
|
|
symbol: {
|
|
pattern: /(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,
|
|
lookbehind: true,
|
|
inside: {
|
|
keyword: /A(?=\s)/
|
|
}
|
|
},
|
|
label: {
|
|
pattern: /((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,
|
|
lookbehind: true,
|
|
alias: "string"
|
|
},
|
|
function: {
|
|
pattern: /((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,
|
|
lookbehind: true
|
|
},
|
|
keyword: [
|
|
{
|
|
pattern: /(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,
|
|
lookbehind: true
|
|
},
|
|
/'Z(?=\s|,|$)/
|
|
],
|
|
boolean: {
|
|
pattern: /(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,
|
|
lookbehind: true
|
|
},
|
|
variable: {
|
|
pattern: /(^|\s)IT(?=\s|,|$)/,
|
|
lookbehind: true
|
|
},
|
|
operator: {
|
|
pattern: /(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,
|
|
lookbehind: true
|
|
},
|
|
punctuation: /\.{3}|…|,|!/
|
|
};
|
|
}
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_lolcode
|
|
};
|
|
//# sourceMappingURL=chunk-XRUE7NGQ.js.map
|