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

83 lines
2.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 659752
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
var t = /\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;
function i(e, i) {
return RegExp(e.replace(/<nonId>/g, t), i);
}
(e.languages.kumir = {
comment: { pattern: /\|.*/ },
prolog: { pattern: /#.*/, greedy: !0 },
string: { pattern: /"[^\n\r"]*"|'[^\n\r']*'/, greedy: !0 },
boolean: {
pattern: i(/(^|[<nonId>])(?:да|нет)(?=[<nonId>]|$)/.source),
lookbehind: !0,
},
"operator-word": {
pattern: i(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),
lookbehind: !0,
alias: "keyword",
},
"system-variable": {
pattern: i(/(^|[<nonId>])знач(?=[<nonId>]|$)/.source),
lookbehind: !0,
alias: "keyword",
},
type: [
{
pattern: i(
/(^|[<nonId>])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[<nonId>]|$)/
.source,
),
lookbehind: !0,
alias: "builtin",
},
{
pattern: i(
/(^|[<nonId>])(?:компл|сканкод|файл|цвет)(?=[<nonId>]|$)/.source,
),
lookbehind: !0,
alias: "important",
},
],
keyword: {
pattern: i(
/(^|[<nonId>])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[<nonId>]|$)/
.source,
),
lookbehind: !0,
},
name: {
pattern: i(
/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>]+)*(?=[<nonId>]|$)/
.source,
),
lookbehind: !0,
},
number: {
pattern: i(
/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/
.source,
"i",
),
lookbehind: !0,
},
punctuation: /:=|[(),:;\[\]]/,
"operator-char": {
pattern: /\*\*?|<[=>]?|>=?|[-+/=]/,
alias: "operator",
},
}),
(e.languages.kum = e.languages.kumir);
}
(t.exports = r), (r.displayName = "kumir"), (r.aliases = ["kum"]);
};
export default moduleFactory;