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

71 lines
2.3 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 957649
* 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, r, a;
(t = /\\\((?:[^()]|\([^()]*\))*\)/.source),
(i = RegExp(
/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(
/__/g,
function () {
return t;
},
),
)),
(r = {
interpolation: {
pattern: RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + t),
lookbehind: !0,
inside: {
content: {
pattern: /^(\\\()[\s\S]+(?=\)$)/,
lookbehind: !0,
inside: null,
},
punctuation: /^\\\(|\)$/,
},
},
}),
(a = e.languages.jq =
{
comment: /#.*/,
property: {
pattern: RegExp(i.source + /(?=\s*:(?!:))/.source),
lookbehind: !0,
greedy: !0,
inside: r,
},
string: { pattern: i, lookbehind: !0, greedy: !0, inside: r },
function: { pattern: /(\bdef\s+)[a-z_]\w+/i, lookbehind: !0 },
variable: /\B\$\w+/,
"property-literal": {
pattern: /\b[a-z_]\w*(?=\s*:(?!:))/i,
alias: "property",
},
keyword:
/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,
boolean: /\b(?:false|true)\b/,
number: /(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,
operator: [
{ pattern: /\|=?/, alias: "pipe" },
/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/,
],
"c-style-function": {
pattern: /\b[a-z_]\w*(?=\s*\()/i,
alias: "function",
},
punctuation: /::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,
dot: { pattern: /\./, alias: "important" },
}),
(r.interpolation.inside.content.inside = a);
}
(t.exports = r), (r.displayName = "jq"), (r.aliases = []);
};
export default moduleFactory;