mirror of
https://github.com/Funkoala14/knowledgebase_law.git
synced 2025-06-08 14:48:15 +08:00
45 lines
1.1 KiB
JavaScript
45 lines
1.1 KiB
JavaScript
import {
|
|
__commonJS
|
|
} from "./chunk-2TUXWMP5.js";
|
|
|
|
// node_modules/refractor/lang/json.js
|
|
var require_json = __commonJS({
|
|
"node_modules/refractor/lang/json.js"(exports, module) {
|
|
module.exports = json;
|
|
json.displayName = "json";
|
|
json.aliases = ["webmanifest"];
|
|
function json(Prism) {
|
|
Prism.languages.json = {
|
|
property: {
|
|
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
lookbehind: true,
|
|
greedy: true
|
|
},
|
|
string: {
|
|
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
|
|
lookbehind: true,
|
|
greedy: true
|
|
},
|
|
comment: {
|
|
pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
greedy: true
|
|
},
|
|
number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
|
|
punctuation: /[{}[\],]/,
|
|
operator: /:/,
|
|
boolean: /\b(?:false|true)\b/,
|
|
null: {
|
|
pattern: /\bnull\b/,
|
|
alias: "keyword"
|
|
}
|
|
};
|
|
Prism.languages.webmanifest = Prism.languages.json;
|
|
}
|
|
}
|
|
});
|
|
|
|
export {
|
|
require_json
|
|
};
|
|
//# sourceMappingURL=chunk-T6HOABKV.js.map
|