Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

81 lines
2.3 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 206795
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
var t =
"(?:" +
[
/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,
/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,
/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,
/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/
.source,
].join("|") +
")",
i = {
markup: {
pattern: /(^<)[\s\S]+(?=>$)/,
lookbehind: !0,
alias: ["language-markup", "language-html", "language-xml"],
inside: e.languages.markup,
},
};
function r(e, i) {
return RegExp(
e.replace(/<ID>/g, function () {
return t;
}),
i,
);
}
(e.languages.dot = {
comment: { pattern: /\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m, greedy: !0 },
"graph-name": {
pattern: r(
/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,
"i",
),
lookbehind: !0,
greedy: !0,
alias: "class-name",
inside: i,
},
"attr-value": {
pattern: r(/(=[ \t\r\n]*)<ID>/.source),
lookbehind: !0,
greedy: !0,
inside: i,
},
"attr-name": {
pattern: r(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),
lookbehind: !0,
greedy: !0,
inside: i,
},
keyword: /\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,
"compass-point": {
pattern: /(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,
lookbehind: !0,
alias: "builtin",
},
node: {
pattern: r(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),
lookbehind: !0,
greedy: !0,
inside: i,
},
operator: /[=:]|-[->]/,
punctuation: /[\[\]{};,]/,
}),
(e.languages.gv = e.languages.dot);
}
(t.exports = r), (r.displayName = "dot"), (r.aliases = ["gv"]);
};
export default moduleFactory;