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

81 lines
2.6 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
* Module id: 623646
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e, t, i) => {
"use strict";
function r(e) {
e.languages.hcl = {
comment: /(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,
heredoc: {
pattern: /<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,
greedy: !0,
alias: "string",
},
keyword: [
{
pattern:
/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,
inside: {
type: {
pattern: /(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,
lookbehind: !0,
alias: "variable",
},
},
},
{
pattern:
/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,
inside: {
type: {
pattern:
/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,
lookbehind: !0,
alias: "variable",
},
},
},
/[\w-]+(?=\s+\{)/,
],
property: [
/[-\w\.]+(?=\s*=(?!=))/,
/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/,
],
string: {
pattern:
/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,
greedy: !0,
inside: {
interpolation: {
pattern: /(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,
lookbehind: !0,
inside: {
type: {
pattern:
/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,
lookbehind: !0,
alias: "variable",
},
keyword:
/\b(?:count|data|local|module|path|self|terraform|var)\b/i,
function: /\w+(?=\()/,
string: { pattern: /"(?:\\[\s\S]|[^\\"])*"/, greedy: !0 },
number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
punctuation: /[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/,
},
},
},
},
number: /\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,
boolean: /\b(?:false|true)\b/i,
punctuation: /[=\[\]{}]/,
};
}
(t.exports = r), (r.displayName = "hcl"), (r.aliases = []);
};
export default moduleFactory;