56 lines
1.8 KiB
JavaScript
56 lines
1.8 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 910056
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
e.languages.neon = {
|
|
comment: { pattern: /#.*/, greedy: !0 },
|
|
datetime: {
|
|
pattern:
|
|
/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,
|
|
lookbehind: !0,
|
|
alias: "number",
|
|
},
|
|
key: {
|
|
pattern: /(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,
|
|
lookbehind: !0,
|
|
alias: "atrule",
|
|
},
|
|
number: {
|
|
pattern:
|
|
/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,
|
|
lookbehind: !0,
|
|
},
|
|
boolean: {
|
|
pattern: /(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,
|
|
lookbehind: !0,
|
|
},
|
|
null: {
|
|
pattern: /(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,
|
|
lookbehind: !0,
|
|
alias: "keyword",
|
|
},
|
|
string: {
|
|
pattern:
|
|
/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,
|
|
lookbehind: !0,
|
|
greedy: !0,
|
|
},
|
|
literal: {
|
|
pattern:
|
|
/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,
|
|
lookbehind: !0,
|
|
alias: "string",
|
|
},
|
|
punctuation: /[,:=[\]{}()-]/,
|
|
};
|
|
}
|
|
(t.exports = r), (r.displayName = "neon"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|