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

73 lines
2.6 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 714882
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
var t;
(e.languages.tremor = {
comment: {
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,
lookbehind: !0,
},
"interpolated-string": null,
extractor: {
pattern: /\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,
greedy: !0,
inside: {
regex: { pattern: /(^re)\|[\s\S]+/, lookbehind: !0 },
function: /^\w+/,
value: /\|[\s\S]+/,
},
},
identifier: { pattern: /`[^`]*`/, greedy: !0 },
function: /\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,
keyword:
/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,
boolean: /\b(?:false|null|true)\b/i,
number:
/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,
"pattern-punctuation": { pattern: /%(?=[({[])/, alias: "punctuation" },
operator:
/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,
punctuation: /::|[;\[\]()\{\},.:]/,
}),
(t = /#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/
.source),
(e.languages.tremor["interpolated-string"] = {
pattern: RegExp(
/(^|[^\\])/.source +
'(?:"""(?:' +
/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source +
"|" +
t +
')*"""|"(?:' +
/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source +
"|" +
t +
')*")',
),
lookbehind: !0,
greedy: !0,
inside: {
interpolation: {
pattern: RegExp(t),
inside: {
punctuation: /^#\{|\}$/,
expression: { pattern: /[\s\S]+/, inside: e.languages.tremor },
},
},
string: /[\s\S]+/,
},
}),
(e.languages.troy = e.languages.tremor),
(e.languages.trickle = e.languages.tremor);
}
(t.exports = r), (r.displayName = "tremor"), (r.aliases = []);
};
export default moduleFactory;