44 lines
1.5 KiB
JavaScript
44 lines
1.5 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 969564
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
var t;
|
|
(t = /\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i),
|
|
(e.languages.nginx = {
|
|
comment: { pattern: /(^|[\s{};])#.*/, lookbehind: !0, greedy: !0 },
|
|
directive: {
|
|
pattern:
|
|
/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,
|
|
lookbehind: !0,
|
|
greedy: !0,
|
|
inside: {
|
|
string: {
|
|
pattern:
|
|
/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,
|
|
lookbehind: !0,
|
|
greedy: !0,
|
|
inside: {
|
|
escape: { pattern: /\\["'\\nrt]/, alias: "entity" },
|
|
variable: t,
|
|
},
|
|
},
|
|
comment: { pattern: /(\s)#.*/, lookbehind: !0, greedy: !0 },
|
|
keyword: { pattern: /^\S+/, greedy: !0 },
|
|
boolean: { pattern: /(\s)(?:off|on)(?!\S)/, lookbehind: !0 },
|
|
number: { pattern: /(\s)\d+[a-z]*(?!\S)/i, lookbehind: !0 },
|
|
variable: t,
|
|
},
|
|
},
|
|
punctuation: /[{};]/,
|
|
});
|
|
}
|
|
(t.exports = r), (r.displayName = "nginx"), (r.aliases = []);
|
|
};
|
|
|
|
export default moduleFactory;
|