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

66 lines
2.3 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 62498
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
(e.languages.scss = e.languages.extend("css", {
comment: {
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
lookbehind: !0,
},
atrule: {
pattern: /@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,
inside: { rule: /@[\w-]+/ },
},
url: /(?:[-a-z]+-)?url(?=\()/i,
selector: {
pattern:
/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,
inside: {
parent: { pattern: /&/, alias: "important" },
placeholder: /%[-\w]+/,
variable: /\$[-\w]+|#\{\$[-\w]+\}/,
},
},
property: {
pattern: /(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,
inside: { variable: /\$[-\w]+|#\{\$[-\w]+\}/ },
},
})),
e.languages.insertBefore("scss", "atrule", {
keyword: [
/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,
{ pattern: /( )(?:from|through)(?= )/, lookbehind: !0 },
],
}),
e.languages.insertBefore("scss", "important", {
variable: /\$[-\w]+|#\{\$[-\w]+\}/,
}),
e.languages.insertBefore("scss", "function", {
"module-modifier": {
pattern: /\b(?:as|hide|show|with)\b/i,
alias: "keyword",
},
placeholder: { pattern: /%[-\w]+/, alias: "selector" },
statement: {
pattern: /\B!(?:default|optional)\b/i,
alias: "keyword",
},
boolean: /\b(?:false|true)\b/,
null: { pattern: /\bnull\b/, alias: "keyword" },
operator: {
pattern: /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,
lookbehind: !0,
},
}),
(e.languages.scss.atrule.inside.rest = e.languages.scss);
}
(t.exports = r), (r.displayName = "scss"), (r.aliases = []);
};
export default moduleFactory;