@bluepic/embed 0.5.1 → 0.5.4

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,934 +0,0 @@
1
- const s = (t) => ({
2
- IMPORTANT: {
3
- scope: "meta",
4
- begin: "!important"
5
- },
6
- BLOCK_COMMENT: t.C_BLOCK_COMMENT_MODE,
7
- HEXCOLOR: {
8
- scope: "number",
9
- begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
10
- },
11
- UNICODE_RANGE: {
12
- scope: "number",
13
- begin: /\b[Uu]\+[0-9A-Fa-f][0-9A-Fa-f?]{0,5}(-[0-9A-Fa-f][0-9A-Fa-f]{0,5})?/
14
- },
15
- FUNCTION_DISPATCH: {
16
- className: "built_in",
17
- begin: /[\w-]+(?=\()/
18
- },
19
- ATTRIBUTE_SELECTOR_MODE: {
20
- scope: "selector-attr",
21
- begin: /\[/,
22
- end: /\]/,
23
- illegal: "$",
24
- contains: [
25
- t.APOS_STRING_MODE,
26
- t.QUOTE_STRING_MODE
27
- ]
28
- },
29
- CSS_NUMBER_MODE: {
30
- scope: "number",
31
- begin: t.NUMBER_RE + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
32
- relevance: 0
33
- },
34
- CSS_VARIABLE: {
35
- className: "attr",
36
- begin: /--[A-Za-z_][A-Za-z0-9_-]*/
37
- }
38
- }), c = [
39
- "a",
40
- "abbr",
41
- "address",
42
- "article",
43
- "aside",
44
- "audio",
45
- "b",
46
- "blockquote",
47
- "body",
48
- "button",
49
- "canvas",
50
- "caption",
51
- "cite",
52
- "code",
53
- "dd",
54
- "del",
55
- "details",
56
- "dfn",
57
- "div",
58
- "dl",
59
- "dt",
60
- "em",
61
- "fieldset",
62
- "figcaption",
63
- "figure",
64
- "footer",
65
- "form",
66
- "h1",
67
- "h2",
68
- "h3",
69
- "h4",
70
- "h5",
71
- "h6",
72
- "header",
73
- "hgroup",
74
- "html",
75
- "i",
76
- "iframe",
77
- "img",
78
- "input",
79
- "ins",
80
- "kbd",
81
- "label",
82
- "legend",
83
- "li",
84
- "main",
85
- "mark",
86
- "menu",
87
- "nav",
88
- "object",
89
- "ol",
90
- "optgroup",
91
- "option",
92
- "p",
93
- "picture",
94
- "q",
95
- "quote",
96
- "samp",
97
- "section",
98
- "select",
99
- "source",
100
- "span",
101
- "strong",
102
- "summary",
103
- "sup",
104
- "table",
105
- "tbody",
106
- "td",
107
- "textarea",
108
- "tfoot",
109
- "th",
110
- "thead",
111
- "time",
112
- "tr",
113
- "ul",
114
- "var",
115
- "video"
116
- ], d = [
117
- "defs",
118
- "g",
119
- "marker",
120
- "mask",
121
- "pattern",
122
- "svg",
123
- "switch",
124
- "symbol",
125
- "feBlend",
126
- "feColorMatrix",
127
- "feComponentTransfer",
128
- "feComposite",
129
- "feConvolveMatrix",
130
- "feDiffuseLighting",
131
- "feDisplacementMap",
132
- "feFlood",
133
- "feGaussianBlur",
134
- "feImage",
135
- "feMerge",
136
- "feMorphology",
137
- "feOffset",
138
- "feSpecularLighting",
139
- "feTile",
140
- "feTurbulence",
141
- "linearGradient",
142
- "radialGradient",
143
- "stop",
144
- "circle",
145
- "ellipse",
146
- "image",
147
- "line",
148
- "path",
149
- "polygon",
150
- "polyline",
151
- "rect",
152
- "text",
153
- "use",
154
- "textPath",
155
- "tspan",
156
- "foreignObject",
157
- "clipPath"
158
- ], m = [
159
- ...c,
160
- ...d
161
- ], b = [
162
- "any-hover",
163
- "any-pointer",
164
- "aspect-ratio",
165
- "color",
166
- "color-gamut",
167
- "color-index",
168
- "device-aspect-ratio",
169
- "device-height",
170
- "device-width",
171
- "display-mode",
172
- "forced-colors",
173
- "grid",
174
- "height",
175
- "hover",
176
- "inverted-colors",
177
- "monochrome",
178
- "orientation",
179
- "overflow-block",
180
- "overflow-inline",
181
- "pointer",
182
- "prefers-color-scheme",
183
- "prefers-contrast",
184
- "prefers-reduced-motion",
185
- "prefers-reduced-transparency",
186
- "resolution",
187
- "scan",
188
- "scripting",
189
- "update",
190
- "width",
191
- // TODO: find a better solution?
192
- "min-width",
193
- "max-width",
194
- "min-height",
195
- "max-height"
196
- ].sort().reverse(), g = [
197
- "active",
198
- "any-link",
199
- "blank",
200
- "checked",
201
- "current",
202
- "default",
203
- "defined",
204
- "dir",
205
- // dir()
206
- "disabled",
207
- "drop",
208
- "empty",
209
- "enabled",
210
- "first",
211
- "first-child",
212
- "first-of-type",
213
- "fullscreen",
214
- "future",
215
- "focus",
216
- "focus-visible",
217
- "focus-within",
218
- "has",
219
- // has()
220
- "host",
221
- // host or host()
222
- "host-context",
223
- // host-context()
224
- "hover",
225
- "indeterminate",
226
- "in-range",
227
- "invalid",
228
- "is",
229
- // is()
230
- "lang",
231
- // lang()
232
- "last-child",
233
- "last-of-type",
234
- "left",
235
- "link",
236
- "local-link",
237
- "not",
238
- // not()
239
- "nth-child",
240
- // nth-child()
241
- "nth-col",
242
- // nth-col()
243
- "nth-last-child",
244
- // nth-last-child()
245
- "nth-last-col",
246
- // nth-last-col()
247
- "nth-last-of-type",
248
- //nth-last-of-type()
249
- "nth-of-type",
250
- //nth-of-type()
251
- "only-child",
252
- "only-of-type",
253
- "optional",
254
- "out-of-range",
255
- "past",
256
- "placeholder-shown",
257
- "read-only",
258
- "read-write",
259
- "required",
260
- "right",
261
- "root",
262
- "scope",
263
- "target",
264
- "target-within",
265
- "user-invalid",
266
- "valid",
267
- "visited",
268
- "where"
269
- // where()
270
- ].sort().reverse(), p = [
271
- "after",
272
- "backdrop",
273
- "before",
274
- "cue",
275
- "cue-region",
276
- "first-letter",
277
- "first-line",
278
- "grammar-error",
279
- "marker",
280
- "part",
281
- "placeholder",
282
- "selection",
283
- "slotted",
284
- "spelling-error"
285
- ].sort().reverse(), f = [
286
- "accent-color",
287
- "align-content",
288
- "align-items",
289
- "align-self",
290
- "alignment-baseline",
291
- "all",
292
- "anchor-name",
293
- "animation",
294
- "animation-composition",
295
- "animation-delay",
296
- "animation-direction",
297
- "animation-duration",
298
- "animation-fill-mode",
299
- "animation-iteration-count",
300
- "animation-name",
301
- "animation-play-state",
302
- "animation-range",
303
- "animation-range-end",
304
- "animation-range-start",
305
- "animation-timeline",
306
- "animation-timing-function",
307
- "appearance",
308
- "aspect-ratio",
309
- "backdrop-filter",
310
- "backface-visibility",
311
- "background",
312
- "background-attachment",
313
- "background-blend-mode",
314
- "background-clip",
315
- "background-color",
316
- "background-image",
317
- "background-origin",
318
- "background-position",
319
- "background-position-x",
320
- "background-position-y",
321
- "background-repeat",
322
- "background-size",
323
- "baseline-shift",
324
- "block-size",
325
- "border",
326
- "border-block",
327
- "border-block-color",
328
- "border-block-end",
329
- "border-block-end-color",
330
- "border-block-end-style",
331
- "border-block-end-width",
332
- "border-block-start",
333
- "border-block-start-color",
334
- "border-block-start-style",
335
- "border-block-start-width",
336
- "border-block-style",
337
- "border-block-width",
338
- "border-bottom",
339
- "border-bottom-color",
340
- "border-bottom-left-radius",
341
- "border-bottom-right-radius",
342
- "border-bottom-style",
343
- "border-bottom-width",
344
- "border-collapse",
345
- "border-color",
346
- "border-end-end-radius",
347
- "border-end-start-radius",
348
- "border-image",
349
- "border-image-outset",
350
- "border-image-repeat",
351
- "border-image-slice",
352
- "border-image-source",
353
- "border-image-width",
354
- "border-inline",
355
- "border-inline-color",
356
- "border-inline-end",
357
- "border-inline-end-color",
358
- "border-inline-end-style",
359
- "border-inline-end-width",
360
- "border-inline-start",
361
- "border-inline-start-color",
362
- "border-inline-start-style",
363
- "border-inline-start-width",
364
- "border-inline-style",
365
- "border-inline-width",
366
- "border-left",
367
- "border-left-color",
368
- "border-left-style",
369
- "border-left-width",
370
- "border-radius",
371
- "border-right",
372
- "border-right-color",
373
- "border-right-style",
374
- "border-right-width",
375
- "border-spacing",
376
- "border-start-end-radius",
377
- "border-start-start-radius",
378
- "border-style",
379
- "border-top",
380
- "border-top-color",
381
- "border-top-left-radius",
382
- "border-top-right-radius",
383
- "border-top-style",
384
- "border-top-width",
385
- "border-width",
386
- "bottom",
387
- "box-align",
388
- "box-decoration-break",
389
- "box-direction",
390
- "box-flex",
391
- "box-flex-group",
392
- "box-lines",
393
- "box-ordinal-group",
394
- "box-orient",
395
- "box-pack",
396
- "box-shadow",
397
- "box-sizing",
398
- "break-after",
399
- "break-before",
400
- "break-inside",
401
- "caption-side",
402
- "caret-color",
403
- "clear",
404
- "clip",
405
- "clip-path",
406
- "clip-rule",
407
- "color",
408
- "color-interpolation",
409
- "color-interpolation-filters",
410
- "color-profile",
411
- "color-rendering",
412
- "color-scheme",
413
- "column-count",
414
- "column-fill",
415
- "column-gap",
416
- "column-rule",
417
- "column-rule-color",
418
- "column-rule-style",
419
- "column-rule-width",
420
- "column-span",
421
- "column-width",
422
- "columns",
423
- "contain",
424
- "contain-intrinsic-block-size",
425
- "contain-intrinsic-height",
426
- "contain-intrinsic-inline-size",
427
- "contain-intrinsic-size",
428
- "contain-intrinsic-width",
429
- "container",
430
- "container-name",
431
- "container-type",
432
- "content",
433
- "content-visibility",
434
- "corner-bottom-left-shape",
435
- "corner-bottom-right-shape",
436
- "corner-shape",
437
- "corner-top-left-shape",
438
- "corner-top-right-shape",
439
- "counter-increment",
440
- "counter-reset",
441
- "counter-set",
442
- "cue",
443
- "cue-after",
444
- "cue-before",
445
- "cursor",
446
- "cx",
447
- "cy",
448
- "direction",
449
- "display",
450
- "dominant-baseline",
451
- "empty-cells",
452
- "enable-background",
453
- "field-sizing",
454
- "fill",
455
- "fill-opacity",
456
- "fill-rule",
457
- "filter",
458
- "flex",
459
- "flex-basis",
460
- "flex-direction",
461
- "flex-flow",
462
- "flex-grow",
463
- "flex-shrink",
464
- "flex-wrap",
465
- "float",
466
- "flood-color",
467
- "flood-opacity",
468
- "flow",
469
- "font",
470
- "font-display",
471
- "font-family",
472
- "font-feature-settings",
473
- "font-kerning",
474
- "font-language-override",
475
- "font-optical-sizing",
476
- "font-palette",
477
- "font-size",
478
- "font-size-adjust",
479
- "font-smooth",
480
- "font-smoothing",
481
- "font-stretch",
482
- "font-style",
483
- "font-synthesis",
484
- "font-synthesis-position",
485
- "font-synthesis-small-caps",
486
- "font-synthesis-style",
487
- "font-synthesis-weight",
488
- "font-variant",
489
- "font-variant-alternates",
490
- "font-variant-caps",
491
- "font-variant-east-asian",
492
- "font-variant-emoji",
493
- "font-variant-ligatures",
494
- "font-variant-numeric",
495
- "font-variant-position",
496
- "font-variation-settings",
497
- "font-weight",
498
- "forced-color-adjust",
499
- "gap",
500
- "glyph-orientation-horizontal",
501
- "glyph-orientation-vertical",
502
- "grid",
503
- "grid-area",
504
- "grid-auto-columns",
505
- "grid-auto-flow",
506
- "grid-auto-rows",
507
- "grid-column",
508
- "grid-column-end",
509
- "grid-column-start",
510
- "grid-gap",
511
- "grid-row",
512
- "grid-row-end",
513
- "grid-row-start",
514
- "grid-template",
515
- "grid-template-areas",
516
- "grid-template-columns",
517
- "grid-template-rows",
518
- "hanging-punctuation",
519
- "height",
520
- "hyphenate-character",
521
- "hyphenate-limit-chars",
522
- "hyphens",
523
- "icon",
524
- "image-orientation",
525
- "image-rendering",
526
- "image-resolution",
527
- "ime-mode",
528
- "initial-letter",
529
- "initial-letter-align",
530
- "inline-size",
531
- "inset",
532
- "inset-area",
533
- "inset-block",
534
- "inset-block-end",
535
- "inset-block-start",
536
- "inset-inline",
537
- "inset-inline-end",
538
- "inset-inline-start",
539
- "isolation",
540
- "justify-content",
541
- "justify-items",
542
- "justify-self",
543
- "kerning",
544
- "left",
545
- "letter-spacing",
546
- "lighting-color",
547
- "line-break",
548
- "line-height",
549
- "line-height-step",
550
- "list-style",
551
- "list-style-image",
552
- "list-style-position",
553
- "list-style-type",
554
- "margin",
555
- "margin-block",
556
- "margin-block-end",
557
- "margin-block-start",
558
- "margin-bottom",
559
- "margin-inline",
560
- "margin-inline-end",
561
- "margin-inline-start",
562
- "margin-left",
563
- "margin-right",
564
- "margin-top",
565
- "margin-trim",
566
- "marker",
567
- "marker-end",
568
- "marker-mid",
569
- "marker-start",
570
- "marks",
571
- "mask",
572
- "mask-border",
573
- "mask-border-mode",
574
- "mask-border-outset",
575
- "mask-border-repeat",
576
- "mask-border-slice",
577
- "mask-border-source",
578
- "mask-border-width",
579
- "mask-clip",
580
- "mask-composite",
581
- "mask-image",
582
- "mask-mode",
583
- "mask-origin",
584
- "mask-position",
585
- "mask-repeat",
586
- "mask-size",
587
- "mask-type",
588
- "masonry-auto-flow",
589
- "math-depth",
590
- "math-shift",
591
- "math-style",
592
- "max-block-size",
593
- "max-height",
594
- "max-inline-size",
595
- "max-width",
596
- "min-block-size",
597
- "min-height",
598
- "min-inline-size",
599
- "min-width",
600
- "mix-blend-mode",
601
- "nav-down",
602
- "nav-index",
603
- "nav-left",
604
- "nav-right",
605
- "nav-up",
606
- "none",
607
- "normal",
608
- "object-fit",
609
- "object-position",
610
- "offset",
611
- "offset-anchor",
612
- "offset-distance",
613
- "offset-path",
614
- "offset-position",
615
- "offset-rotate",
616
- "opacity",
617
- "order",
618
- "orphans",
619
- "outline",
620
- "outline-color",
621
- "outline-offset",
622
- "outline-style",
623
- "outline-width",
624
- "overflow",
625
- "overflow-anchor",
626
- "overflow-block",
627
- "overflow-clip-margin",
628
- "overflow-inline",
629
- "overflow-wrap",
630
- "overflow-x",
631
- "overflow-y",
632
- "overlay",
633
- "overscroll-behavior",
634
- "overscroll-behavior-block",
635
- "overscroll-behavior-inline",
636
- "overscroll-behavior-x",
637
- "overscroll-behavior-y",
638
- "padding",
639
- "padding-block",
640
- "padding-block-end",
641
- "padding-block-start",
642
- "padding-bottom",
643
- "padding-inline",
644
- "padding-inline-end",
645
- "padding-inline-start",
646
- "padding-left",
647
- "padding-right",
648
- "padding-top",
649
- "page",
650
- "page-break-after",
651
- "page-break-before",
652
- "page-break-inside",
653
- "paint-order",
654
- "pause",
655
- "pause-after",
656
- "pause-before",
657
- "perspective",
658
- "perspective-origin",
659
- "place-content",
660
- "place-items",
661
- "place-self",
662
- "pointer-events",
663
- "position",
664
- "position-anchor",
665
- "position-visibility",
666
- "print-color-adjust",
667
- "quotes",
668
- "r",
669
- "resize",
670
- "rest",
671
- "rest-after",
672
- "rest-before",
673
- "right",
674
- "rotate",
675
- "row-gap",
676
- "ruby-align",
677
- "ruby-position",
678
- "scale",
679
- "scroll-behavior",
680
- "scroll-margin",
681
- "scroll-margin-block",
682
- "scroll-margin-block-end",
683
- "scroll-margin-block-start",
684
- "scroll-margin-bottom",
685
- "scroll-margin-inline",
686
- "scroll-margin-inline-end",
687
- "scroll-margin-inline-start",
688
- "scroll-margin-left",
689
- "scroll-margin-right",
690
- "scroll-margin-top",
691
- "scroll-padding",
692
- "scroll-padding-block",
693
- "scroll-padding-block-end",
694
- "scroll-padding-block-start",
695
- "scroll-padding-bottom",
696
- "scroll-padding-inline",
697
- "scroll-padding-inline-end",
698
- "scroll-padding-inline-start",
699
- "scroll-padding-left",
700
- "scroll-padding-right",
701
- "scroll-padding-top",
702
- "scroll-snap-align",
703
- "scroll-snap-stop",
704
- "scroll-snap-type",
705
- "scroll-timeline",
706
- "scroll-timeline-axis",
707
- "scroll-timeline-name",
708
- "scrollbar-color",
709
- "scrollbar-gutter",
710
- "scrollbar-width",
711
- "shape-image-threshold",
712
- "shape-margin",
713
- "shape-outside",
714
- "shape-rendering",
715
- "speak",
716
- "speak-as",
717
- "src",
718
- // @font-face
719
- "stop-color",
720
- "stop-opacity",
721
- "stroke",
722
- "stroke-dasharray",
723
- "stroke-dashoffset",
724
- "stroke-linecap",
725
- "stroke-linejoin",
726
- "stroke-miterlimit",
727
- "stroke-opacity",
728
- "stroke-width",
729
- "tab-size",
730
- "table-layout",
731
- "text-align",
732
- "text-align-all",
733
- "text-align-last",
734
- "text-anchor",
735
- "text-combine-upright",
736
- "text-decoration",
737
- "text-decoration-color",
738
- "text-decoration-line",
739
- "text-decoration-skip",
740
- "text-decoration-skip-ink",
741
- "text-decoration-style",
742
- "text-decoration-thickness",
743
- "text-emphasis",
744
- "text-emphasis-color",
745
- "text-emphasis-position",
746
- "text-emphasis-style",
747
- "text-indent",
748
- "text-justify",
749
- "text-orientation",
750
- "text-overflow",
751
- "text-rendering",
752
- "text-shadow",
753
- "text-size-adjust",
754
- "text-transform",
755
- "text-underline-offset",
756
- "text-underline-position",
757
- "text-wrap",
758
- "text-wrap-mode",
759
- "text-wrap-style",
760
- "timeline-scope",
761
- "top",
762
- "touch-action",
763
- "transform",
764
- "transform-box",
765
- "transform-origin",
766
- "transform-style",
767
- "transition",
768
- "transition-behavior",
769
- "transition-delay",
770
- "transition-duration",
771
- "transition-property",
772
- "transition-timing-function",
773
- "translate",
774
- "unicode-bidi",
775
- "unicode-range",
776
- "user-modify",
777
- "user-select",
778
- "vector-effect",
779
- "vertical-align",
780
- "view-timeline",
781
- "view-timeline-axis",
782
- "view-timeline-inset",
783
- "view-timeline-name",
784
- "view-transition-name",
785
- "visibility",
786
- "voice-balance",
787
- "voice-duration",
788
- "voice-family",
789
- "voice-pitch",
790
- "voice-range",
791
- "voice-rate",
792
- "voice-stress",
793
- "voice-volume",
794
- "white-space",
795
- "white-space-collapse",
796
- "widows",
797
- "width",
798
- "will-change",
799
- "word-break",
800
- "word-spacing",
801
- "word-wrap",
802
- "writing-mode",
803
- "x",
804
- "y",
805
- "z-index",
806
- "zoom"
807
- ].sort().reverse();
808
- function h(t) {
809
- const i = t.regex, e = s(t), r = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, n = "and or not only", a = /@-?\w[\w]*(-\w+)*/, l = "[a-zA-Z-][a-zA-Z0-9_-]*", o = [
810
- t.APOS_STRING_MODE,
811
- t.QUOTE_STRING_MODE
812
- ];
813
- return {
814
- name: "CSS",
815
- case_insensitive: !0,
816
- illegal: /[=|'\$]/,
817
- keywords: { keyframePosition: "from to" },
818
- classNameAliases: {
819
- // for visual continuity with `tag {}` and because we
820
- // don't have a great class for this?
821
- keyframePosition: "selector-tag"
822
- },
823
- contains: [
824
- e.BLOCK_COMMENT,
825
- r,
826
- // to recognize keyframe 40% etc which are outside the scope of our
827
- // attribute value mode
828
- e.CSS_NUMBER_MODE,
829
- {
830
- className: "selector-id",
831
- begin: /#[A-Za-z0-9_-]+/,
832
- relevance: 0
833
- },
834
- {
835
- className: "selector-class",
836
- begin: "\\." + l,
837
- relevance: 0
838
- },
839
- e.ATTRIBUTE_SELECTOR_MODE,
840
- {
841
- className: "selector-pseudo",
842
- variants: [
843
- { begin: ":(" + g.join("|") + ")" },
844
- { begin: ":(:)?(" + p.join("|") + ")" }
845
- ]
846
- },
847
- // we may actually need this (12/2020)
848
- // { // pseudo-selector params
849
- // begin: /\(/,
850
- // end: /\)/,
851
- // contains: [ hljs.CSS_NUMBER_MODE ]
852
- // },
853
- e.CSS_VARIABLE,
854
- {
855
- className: "attribute",
856
- begin: "\\b(" + f.join("|") + ")\\b"
857
- },
858
- // attribute values
859
- {
860
- begin: /:/,
861
- end: /[;}{]/,
862
- contains: [
863
- e.BLOCK_COMMENT,
864
- e.HEXCOLOR,
865
- e.IMPORTANT,
866
- e.CSS_NUMBER_MODE,
867
- e.UNICODE_RANGE,
868
- ...o,
869
- // needed to highlight these as strings and to avoid issues with
870
- // illegal characters that might be inside urls that would trigger the
871
- // languages illegal stack
872
- {
873
- begin: /(url|data-uri)\(/,
874
- end: /\)/,
875
- relevance: 0,
876
- // from keywords
877
- keywords: { built_in: "url data-uri" },
878
- contains: [
879
- ...o,
880
- {
881
- className: "string",
882
- // any character other than `)` as in `url()` will be the start
883
- // of a string, which ends with `)` (from the parent mode)
884
- begin: /[^)]/,
885
- endsWithParent: !0,
886
- excludeEnd: !0
887
- }
888
- ]
889
- },
890
- e.FUNCTION_DISPATCH
891
- ]
892
- },
893
- {
894
- begin: i.lookahead(/@/),
895
- end: "[{;]",
896
- relevance: 0,
897
- illegal: /:/,
898
- // break on Less variables @var: ...
899
- contains: [
900
- {
901
- className: "keyword",
902
- begin: a
903
- },
904
- {
905
- begin: /\s/,
906
- endsWithParent: !0,
907
- excludeEnd: !0,
908
- relevance: 0,
909
- keywords: {
910
- $pattern: /[a-z-]+/,
911
- keyword: n,
912
- attribute: b.join(" ")
913
- },
914
- contains: [
915
- {
916
- begin: /[a-z-]+(?=:)/,
917
- className: "attribute"
918
- },
919
- ...o,
920
- e.CSS_NUMBER_MODE
921
- ]
922
- }
923
- ]
924
- },
925
- {
926
- className: "selector-tag",
927
- begin: "\\b(" + m.join("|") + ")\\b"
928
- }
929
- ]
930
- };
931
- }
932
- export {
933
- h as default
934
- };