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

67 lines
2.5 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 465000
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
var t, i;
(t = /#(?!\{).+/),
(i = { pattern: /#\{[^}]+\}/, alias: "variable" }),
(e.languages.coffeescript = e.languages.extend("javascript", {
comment: t,
string: [
{ pattern: /'(?:\\[\s\S]|[^\\'])*'/, greedy: !0 },
{
pattern: /"(?:\\[\s\S]|[^\\"])*"/,
greedy: !0,
inside: { interpolation: i },
},
],
keyword:
/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,
"class-member": { pattern: /@(?!\d)\w+/, alias: "variable" },
})),
e.languages.insertBefore("coffeescript", "comment", {
"multiline-comment": { pattern: /###[\s\S]+?###/, alias: "comment" },
"block-regex": {
pattern: /\/{3}[\s\S]*?\/{3}/,
alias: "regex",
inside: { comment: t, interpolation: i },
},
}),
e.languages.insertBefore("coffeescript", "string", {
"inline-javascript": {
pattern: /`(?:\\[\s\S]|[^\\`])*`/,
inside: {
delimiter: { pattern: /^`|`$/, alias: "punctuation" },
script: {
pattern: /[\s\S]+/,
alias: "language-javascript",
inside: e.languages.javascript,
},
},
},
"multiline-string": [
{ pattern: /'''[\s\S]*?'''/, greedy: !0, alias: "string" },
{
pattern: /"""[\s\S]*?"""/,
greedy: !0,
alias: "string",
inside: { interpolation: i },
},
],
}),
e.languages.insertBefore("coffeescript", "keyword", {
property: /(?!\d)\w+(?=\s*:(?!:))/,
}),
delete e.languages.coffeescript["template-string"],
(e.languages.coffee = e.languages.coffeescript);
}
(t.exports = r), (r.displayName = "coffeescript"), (r.aliases = ["coffee"]);
};
export default moduleFactory;