@bluepic/embed 0.5.1 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/bash-DI5WKoY1.cjs +1 -0
  2. package/dist/bash-SfqkqXwO.js +169 -0
  3. package/dist/bluepic-embed.iife.js +240 -271
  4. package/dist/bluepic-embed.umd.js +240 -271
  5. package/dist/c-Bwju34J8.js +176 -0
  6. package/dist/c-CxjdkDqU.cjs +1 -0
  7. package/dist/client-zip-Dl4jBUKQ.cjs +1 -0
  8. package/dist/client-zip-DscsL7SZ.js +254 -0
  9. package/dist/components/BxDatePickerPopover.vue.d.ts +1 -1
  10. package/dist/components/BxInput.vue.d.ts +1 -1
  11. package/dist/components/BxTag.vue.d.ts +1 -1
  12. package/dist/components/TemplateEditor/BatchEditor.vue.d.ts +14 -10
  13. package/dist/components/TemplateEditor/BxTemplateEditor.vue.d.ts +80 -64
  14. package/dist/components/TemplateEditor/TemplateView.vue.d.ts +20 -16
  15. package/dist/cpp-BNKWamrP.js +225 -0
  16. package/dist/cpp-BlYqzAb6.cjs +1 -0
  17. package/dist/css-C6p-exw3.cjs +1 -0
  18. package/dist/css-yWyfM7J9.js +140 -0
  19. package/dist/decompress-3ZSaG6Ii.cjs +15 -0
  20. package/dist/decompress-C88dmWOf.js +643 -0
  21. package/dist/embed/embed.d.ts +4416 -1454
  22. package/dist/go-DnIuztGs.js +140 -0
  23. package/dist/go-RBRkffhh.cjs +1 -0
  24. package/dist/java-CYbswnVa.js +169 -0
  25. package/dist/java-DiqBJCuC.cjs +1 -0
  26. package/dist/javascript-DaG6fU1i.js +436 -0
  27. package/dist/javascript-hWWC5YVO.cjs +1 -0
  28. package/dist/json-CW2SpMXu.cjs +1 -0
  29. package/dist/json-Cu6rbgWf.js +36 -0
  30. package/dist/main.cjs +118 -146
  31. package/dist/main.mjs +73680 -85828
  32. package/dist/markdown-BaDHGYjR.cjs +1 -0
  33. package/dist/markdown-D3Gs6FWn.js +181 -0
  34. package/dist/markdown-it-BOugFJd0.cjs +13 -0
  35. package/dist/markdown-it-bsR6HXzL.js +2875 -0
  36. package/dist/postal-mime-BnhFNwEJ.cjs +28 -0
  37. package/dist/postal-mime-Bsdi2kUR.js +3210 -0
  38. package/dist/python-D1ZXre9G.js +238 -0
  39. package/dist/python-DawLCmeM.cjs +1 -0
  40. package/dist/rolldown-runtime-CEFd7nDs.js +30 -0
  41. package/dist/rolldown-runtime-CPUxUITh.cjs +1 -0
  42. package/dist/rust-B47KpJg8.cjs +1 -0
  43. package/dist/rust-DV3X-6zd.js +169 -0
  44. package/dist/scss-BwEwJffF.cjs +1 -0
  45. package/dist/scss-DVPIh7kT.js +150 -0
  46. package/dist/sql-BsfEDS1M.cjs +1 -0
  47. package/dist/sql-CmVzGP4w.js +118 -0
  48. package/dist/style.css +2 -1
  49. package/dist/theme.cjs +1 -1
  50. package/dist/theme.mjs +1394 -1273
  51. package/dist/typescript-CjqyVRRm.cjs +1 -0
  52. package/dist/typescript-DbET6Hbh.js +521 -0
  53. package/dist/unzipit.module-CWI6YKpy.js +697 -0
  54. package/dist/unzipit.module-DLgVBmhU.cjs +1 -0
  55. package/dist/util/gallery.d.ts +21 -37
  56. package/dist/xlsx-Bm1OL5B8.js +16261 -0
  57. package/dist/xlsx-C9EeNB50.cjs +38 -0
  58. package/dist/xml-Bh8MwSUt.cjs +1 -0
  59. package/dist/xml-Bxh-tO8n.js +166 -0
  60. package/dist/yaml-CIP4hiwy.cjs +1 -0
  61. package/dist/yaml-DT7UV549.js +144 -0
  62. package/package.json +9 -5
  63. package/dist/bash-BHkfQ7MG.cjs +0 -1
  64. package/dist/bash-CPB87Egg.js +0 -377
  65. package/dist/c-B4BAHWS4.cjs +0 -1
  66. package/dist/c-C0DTNf68.js +0 -336
  67. package/dist/cpp-BfO2fOQK.cjs +0 -1
  68. package/dist/cpp-DxGBPWa5.js +0 -538
  69. package/dist/css-Cx1gP-zj.js +0 -934
  70. package/dist/css-DTF39MN3.cjs +0 -1
  71. package/dist/decompress-BGiydwyp.cjs +0 -15
  72. package/dist/decompress-D5RzmD-2.js +0 -566
  73. package/dist/go-By8nj0Vi.cjs +0 -1
  74. package/dist/go-C8VcBUsu.js +0 -156
  75. package/dist/index-C99_zLhc.js +0 -175
  76. package/dist/index-D8N6IfRw.cjs +0 -1
  77. package/dist/java-BoRJOXvw.js +0 -249
  78. package/dist/java-DFXAwvvK.cjs +0 -1
  79. package/dist/javascript-C2jY0XE6.cjs +0 -1
  80. package/dist/javascript-CgRUYx2b.js +0 -660
  81. package/dist/json-C4rahuoJ.cjs +0 -1
  82. package/dist/json-DYK-YbD3.js +0 -44
  83. package/dist/markdown-BmL9j9cU.cjs +0 -1
  84. package/dist/markdown-D19noYwn.js +0 -215
  85. package/dist/markdown-it-5-ieF6Bh.js +0 -3790
  86. package/dist/markdown-it-CLB5Jta6.cjs +0 -16
  87. package/dist/postal-mime-Df-WB8Vq.js +0 -3337
  88. package/dist/postal-mime-_7WF5UBe.cjs +0 -28
  89. package/dist/python-BBUuE3AY.js +0 -404
  90. package/dist/python-Clt6L10q.cjs +0 -1
  91. package/dist/rust-DY-oA2gr.js +0 -319
  92. package/dist/rust-_vvcEGSJ.cjs +0 -1
  93. package/dist/scss-BWo_aR1L.js +0 -919
  94. package/dist/scss-ex7iHSUb.cjs +0 -1
  95. package/dist/sql-BSlOauVK.cjs +0 -1
  96. package/dist/sql-IeKX8fQ8.js +0 -615
  97. package/dist/typescript-BHqLHF13.js +0 -755
  98. package/dist/typescript-DYRnLHqF.cjs +0 -1
  99. package/dist/unzipit.module-4zGfAuq6.cjs +0 -1
  100. package/dist/unzipit.module-qN5XWVVT.js +0 -649
  101. package/dist/xlsx-BopDBbWb.js +0 -24176
  102. package/dist/xlsx-qn1xoUuv.cjs +0 -105
  103. package/dist/xml-Bse49fPV.js +0 -212
  104. package/dist/xml-CVmug_x4.cjs +0 -1
  105. package/dist/yaml-BslECvWp.js +0 -183
  106. package/dist/yaml-C6zsmLZx.cjs +0 -1
@@ -1,336 +0,0 @@
1
- function S(t) {
2
- const n = t.regex, a = t.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), l = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", E = "(" + l + "|" + n.optional(r) + "[a-zA-Z_]\\w*" + n.optional("<[^<>]+>") + ")", f = n.concat(/\batomic_/, n.either(
3
- "bool",
4
- "char",
5
- "schar",
6
- "uchar",
7
- "short",
8
- "ushort",
9
- "int",
10
- "uint",
11
- "long",
12
- "ulong",
13
- "llong",
14
- "ullong",
15
- "char16_t",
16
- "char32_t",
17
- "wchar_t",
18
- "int_least8_t",
19
- "uint_least8_t",
20
- "int_least16_t",
21
- "uint_least16_t",
22
- "int_least32_t",
23
- "uint_least32_t",
24
- "int_least64_t",
25
- "uint_least64_t",
26
- "int_fast8_t",
27
- "uint_fast8_t",
28
- "int_fast16_t",
29
- "uint_fast16_t",
30
- "int_fast32_t",
31
- "uint_fast32_t",
32
- "int_fast64_t",
33
- "uint_fast64_t",
34
- "intptr_t",
35
- "uintptr_t",
36
- "size_t",
37
- "ptrdiff_t",
38
- "intmax_t",
39
- "uintmax_t"
40
- ), /\b/), i = {
41
- className: "type",
42
- variants: [
43
- { begin: "\\b[a-z\\d_]*_t\\b" },
44
- { match: f }
45
- ]
46
- }, s = {
47
- className: "string",
48
- variants: [
49
- {
50
- begin: '(u8?|U|L)?"',
51
- end: '"',
52
- illegal: "\\n",
53
- contains: [t.BACKSLASH_ESCAPE]
54
- },
55
- {
56
- begin: "(u8?|U|L)?'(" + "\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)" + "|.)",
57
- end: "'",
58
- illegal: "."
59
- },
60
- // https://en.cppreference.com/w/cpp/language/string_literal
61
- // a d-char-sequence never contains parentheses, backslashes or whitespace;
62
- // quotes are excluded as well so the closing delimiter cannot swallow the
63
- // quote that actually terminates the literal
64
- t.END_SAME_AS_BEGIN({
65
- begin: /(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,
66
- end: /\)([^()\\\s"]{0,16})"/
67
- })
68
- ]
69
- }, o = {
70
- className: "number",
71
- variants: [
72
- { match: /\b(0b[01']+)/ },
73
- { match: /(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/ },
74
- { match: /(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/ },
75
- { match: /(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/ }
76
- ],
77
- relevance: 0
78
- }, m = {
79
- scope: "meta",
80
- begin: /#\s*include\b/,
81
- end: /$/,
82
- keywords: { keyword: "include" },
83
- contains: [
84
- {
85
- // the `\` at the end of a line signaling continuation
86
- begin: /\\\n/
87
- },
88
- s,
89
- {
90
- scope: "string",
91
- begin: /<.*?>/
92
- },
93
- a,
94
- t.C_BLOCK_COMMENT_MODE
95
- ]
96
- }, u = {
97
- className: "meta",
98
- begin: /#\s*[a-z]+\b/,
99
- end: /$/,
100
- keywords: { keyword: "if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include" },
101
- contains: [
102
- {
103
- begin: /\\\n/,
104
- relevance: 0
105
- },
106
- t.inherit(s, { className: "string" }),
107
- a,
108
- t.C_BLOCK_COMMENT_MODE
109
- ]
110
- }, c = [
111
- m,
112
- u
113
- ], p = {
114
- className: "title",
115
- begin: n.optional(r) + t.IDENT_RE,
116
- relevance: 0
117
- }, d = n.optional(r) + t.IDENT_RE + "\\s*\\(", g = 12, e = {
118
- keyword: [
119
- "asm",
120
- "auto",
121
- "break",
122
- "case",
123
- "continue",
124
- "default",
125
- "do",
126
- "else",
127
- "enum",
128
- "extern",
129
- "for",
130
- "fortran",
131
- "goto",
132
- "if",
133
- "inline",
134
- "register",
135
- "restrict",
136
- "return",
137
- "sizeof",
138
- "typeof",
139
- "typeof_unqual",
140
- "struct",
141
- "switch",
142
- "typedef",
143
- "union",
144
- "volatile",
145
- "while",
146
- "_Alignas",
147
- "_Alignof",
148
- "_Atomic",
149
- "_Generic",
150
- "_Noreturn",
151
- "_Static_assert",
152
- "_Thread_local",
153
- // aliases
154
- "alignas",
155
- "alignof",
156
- "noreturn",
157
- "static_assert",
158
- "thread_local",
159
- // not a C keyword but is, for all intents and purposes, treated exactly like one.
160
- "_Pragma"
161
- ],
162
- type: [
163
- "float",
164
- "double",
165
- "signed",
166
- "unsigned",
167
- "int",
168
- "short",
169
- "long",
170
- "char",
171
- "void",
172
- "_Bool",
173
- "_BitInt",
174
- "_Complex",
175
- "_Imaginary",
176
- "_Decimal32",
177
- "_Decimal64",
178
- "_Decimal96",
179
- "_Decimal128",
180
- "_Decimal64x",
181
- "_Decimal128x",
182
- "_Float16",
183
- "_Float32",
184
- "_Float64",
185
- "_Float128",
186
- "_Float32x",
187
- "_Float64x",
188
- "_Float128x",
189
- // modifiers
190
- "const",
191
- "static",
192
- "constexpr",
193
- // aliases
194
- "complex",
195
- "bool",
196
- "imaginary"
197
- ],
198
- literal: "true false NULL",
199
- // TODO: apply hinting work similar to what was done in cpp.js
200
- built_in: "std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"
201
- }, _ = [
202
- ...c,
203
- i,
204
- a,
205
- t.C_BLOCK_COMMENT_MODE,
206
- o,
207
- s
208
- ], C = {
209
- // This mode covers expression context where we can't expect a function
210
- // definition and shouldn't highlight anything that looks like one:
211
- // `return some()`, `else if()`, `(x*sum(1, 2))`
212
- variants: [
213
- {
214
- begin: /=/,
215
- end: /;/
216
- },
217
- {
218
- begin: /\(/,
219
- end: /\)/
220
- },
221
- {
222
- beginKeywords: "new throw return else",
223
- end: /;/
224
- }
225
- ],
226
- keywords: e,
227
- contains: _.concat([
228
- {
229
- begin: /\(/,
230
- end: /\)/,
231
- keywords: e,
232
- contains: _.concat(["self"]),
233
- relevance: 0
234
- }
235
- ]),
236
- relevance: 0
237
- }, b = {
238
- begin: "(" + E + "[\\*&\\s]+){1," + g + "}" + d,
239
- returnBegin: !0,
240
- end: /[{;=]/,
241
- excludeEnd: !0,
242
- keywords: e,
243
- illegal: /[^\w\s\*&:<>.]/,
244
- contains: [
245
- {
246
- // to prevent it from being confused as the function title
247
- begin: l,
248
- keywords: e,
249
- relevance: 0
250
- },
251
- {
252
- begin: d,
253
- returnBegin: !0,
254
- contains: [t.inherit(p, { className: "title.function" })],
255
- relevance: 0
256
- },
257
- // allow for multiple declarations, e.g.:
258
- // extern void f(int), g(char);
259
- {
260
- relevance: 0,
261
- match: /,/
262
- },
263
- {
264
- className: "params",
265
- begin: /\(/,
266
- end: /\)/,
267
- keywords: e,
268
- relevance: 0,
269
- contains: [
270
- a,
271
- t.C_BLOCK_COMMENT_MODE,
272
- s,
273
- o,
274
- i,
275
- // Count matching parentheses.
276
- {
277
- begin: /\(/,
278
- end: /\)/,
279
- keywords: e,
280
- relevance: 0,
281
- contains: [
282
- "self",
283
- a,
284
- t.C_BLOCK_COMMENT_MODE,
285
- s,
286
- o,
287
- i
288
- ]
289
- }
290
- ]
291
- },
292
- i,
293
- a,
294
- t.C_BLOCK_COMMENT_MODE,
295
- ...c
296
- ]
297
- };
298
- return {
299
- name: "C",
300
- aliases: ["h"],
301
- keywords: e,
302
- // Until differentiations are added between `c` and `cpp`, `c` will
303
- // not be auto-detected to avoid auto-detect conflicts between C and C++
304
- disableAutodetect: !0,
305
- illegal: "</",
306
- contains: [].concat(
307
- C,
308
- b,
309
- _,
310
- [
311
- ...c,
312
- {
313
- begin: t.IDENT_RE + "::",
314
- keywords: e
315
- },
316
- {
317
- className: "class",
318
- beginKeywords: "enum class struct union",
319
- end: /[{;:<>=]/,
320
- contains: [
321
- { beginKeywords: "final class struct" },
322
- t.TITLE_MODE
323
- ]
324
- }
325
- ]
326
- ),
327
- exports: {
328
- preprocessor: u,
329
- strings: s,
330
- keywords: e
331
- }
332
- };
333
- }
334
- export {
335
- S as default
336
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function w(e){const n=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),_="decltype\\(auto\\)",c="[a-zA-Z_]\\w*::",m="(?!struct)("+_+"|"+n.optional(c)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},r={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\\s"]{0,16})\(/,end:/\)([^()\\\s"]{0,16})"/})]},i={className:"number",variants:[{begin:"[+-]?(?:(?:\\b[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|\\b[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|\\b0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},E={scope:"meta",begin:/#\s*include\b/,end:/$/,keywords:{keyword:"include"},contains:[{begin:/\\\n/},r,{scope:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(r,{className:"string"}),a,e.C_BLOCK_COMMENT_MODE]},o=[E,f],g={className:"title",begin:n.optional(c)+e.IDENT_RE,relevance:0},u=n.optional(c)+e.IDENT_RE+"\\s*\\(",b=12,d=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],N=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],T=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],C=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],t={type:N,keyword:d,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:T},p={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:n.concat(/\b/,`(?!${d.join("|")})`,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},l=[p,...o,s,a,e.C_BLOCK_COMMENT_MODE,i,r],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:t,contains:l.concat([{begin:/\(/,end:/\)/,keywords:t,contains:l.concat(["self"]),relevance:0}]),relevance:0},O={className:"function",begin:"("+m+"[\\*&\\s]+){1,"+b+"}"+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:t,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:_,keywords:t,relevance:0},{begin:u,returnBegin:!0,contains:[g],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[r,i]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,r,i,s,{begin:/\(/,end:/\)/,keywords:t,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,r,i,s]}]},s,a,e.C_BLOCK_COMMENT_MODE,...o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:t,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(y,O,p,l,[...o,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:t,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:t},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}exports.default=w;