golden-logic-ui 1.2.21 → 1.2.23

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 (68) hide show
  1. package/dist/ConfirmationModal-i3ekouBw.js +75 -0
  2. package/dist/DatatableAction-D-Qdjj2W.js +113 -0
  3. package/dist/DatatableCommand-BoU5cYJg.js +18 -0
  4. package/dist/DatatableConvertCronToHuman-Coiaa-wa.js +82 -0
  5. package/dist/DatatableDate-DtEktp_Z.js +20 -0
  6. package/dist/DatatableDateTime-PEXV-bY7.js +22 -0
  7. package/dist/DatatableDeleteAction-BQ6MyhV6.js +104 -0
  8. package/dist/DatatableDeleteEditAction-Cx324OUt.js +125 -0
  9. package/dist/DatatableFileDownload-BxP2_lpQ.js +87 -0
  10. package/dist/DatatableFiles-BROH3vBH.js +80 -0
  11. package/dist/DatatableHtml-ChZzeapg.js +17 -0
  12. package/dist/DatatableList-BSVI22pu.js +35 -0
  13. package/dist/DatatableListNested-BWEqWRCc.js +37 -0
  14. package/dist/DatatablePicture-DaWD4uIX.js +26 -0
  15. package/dist/DatatablePictures-xxeghKp3.js +39 -0
  16. package/dist/DatatableStatus-Dx60sa7s.js +31 -0
  17. package/dist/DatatableStatusGeneral-UOub65UY.js +59 -0
  18. package/dist/DatatableStatusServer-Dcq11U5_.js +37 -0
  19. package/dist/DatatableStatusSpecficColor-BYUuGgEb.js +64 -0
  20. package/dist/DatatableStatusTextLabelGeneral-J4MytOnh.js +83 -0
  21. package/dist/DeleteConfirmationModal-CQ07_qiL.js +96 -0
  22. package/dist/DynamicConfirmation-rEhA3jCe.js +115 -0
  23. package/dist/FilesUpload-JKyOru3A.js +300 -0
  24. package/dist/GLButton-ByIDh6vq.js +118 -0
  25. package/dist/GLDataTable-Bixwkdr4.js +278 -0
  26. package/dist/GLDataTableServerSide-Ra5AqDGB.js +16336 -0
  27. package/dist/GLTextarea-j7XXWI7A.js +110 -0
  28. package/dist/GlAccordion-BIAfvctc.js +91 -0
  29. package/dist/GlAccordionsWrapper-DsdunDzi.js +31 -0
  30. package/dist/GlCard-BVXmTv6q.js +37 -0
  31. package/dist/GlCodeCopy-C068yRcM.js +86 -0
  32. package/dist/GlCodeMirror-Ow8TJYSN.js +161 -0
  33. package/dist/GlCodeMirrorTranslate-CFmoM7d6.js +2068 -0
  34. package/dist/GlDataTableComponent-CSsMcDcX.js +366 -0
  35. package/dist/GlDataTableServerSideGroupBy-cG4BhXOA.js +260 -0
  36. package/dist/GlDateRangePicker-BWAEfZTB.js +124 -0
  37. package/dist/GlDropdown-B_zVkmxO.js +414 -0
  38. package/dist/GlLanguageSelector-DmWuIxzK.js +68 -0
  39. package/dist/GlModal-AMtSRssu.js +123 -0
  40. package/dist/GlModalShow-BzbcLu51.js +120 -0
  41. package/dist/GlModalWithoutOverflow-vR50Ulka.js +127 -0
  42. package/dist/GlMultiItemSlide-CxsiUcTr.js +409 -0
  43. package/dist/GlMultiItemSlideDynamic-BhdHrj3L.js +434 -0
  44. package/dist/GlMultiSelectDropdown-OaAC5ouZ.js +383 -0
  45. package/dist/GlTab-CUbU0yit.js +22 -0
  46. package/dist/GlTabShow-BBU3VU7O.js +21 -0
  47. package/dist/GlTabsWrapper-Dw7NAgDw.js +54 -0
  48. package/dist/GlTextCopy-CGgnIqPh.js +93 -0
  49. package/dist/GlTextInput-CoL8oZSw.js +126 -0
  50. package/dist/GlTextInputFile-BE2maeRQ.js +95 -0
  51. package/dist/GlTextInputWithText-C6fzOoYl.js +116 -0
  52. package/dist/GlTextTranslate-C3DzCK6k.js +125 -0
  53. package/dist/GlTextareaTranslate-DyU86Wf_.js +126 -0
  54. package/dist/GlTinymce-CjsbThKo.js +118 -0
  55. package/dist/GlTinymceTranslate-vp6hYqDK.js +188 -0
  56. package/dist/GlToastList-eeZ0hUJQ.js +126 -0
  57. package/dist/GlToggleBox-Dym29cx5.js +120 -0
  58. package/dist/GlToggleBoxTrueFalse-CjvcXXTw.js +112 -0
  59. package/dist/StatusConnectingConnectedDisconnected-CK5YzyQH.js +63 -0
  60. package/dist/StatusRunningSuccessFailed-CxK20462.js +41 -0
  61. package/dist/TailwindPagination-Dz89aS_l.js +276 -0
  62. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  63. package/dist/golden-logic-ui.css +1 -1
  64. package/dist/golden-logic-ui.js +217 -94352
  65. package/dist/golden-logic-ui.umd.cjs +94 -94
  66. package/dist/index-B4V16SEr.js +15668 -0
  67. package/dist/plugin-D6yBFU6i.js +53226 -0
  68. package/package.json +1 -1
@@ -0,0 +1,2068 @@
1
+ import { ref as te, onMounted as Je, watch as ae, onUnmounted as et, createElementBlock as W, openBlock as E, Fragment as tt, createCommentVNode as le, normalizeClass as _, createElementVNode as Q, withDirectives as at, toDisplayString as X, vModelText as lt } from "vue";
2
+ import { p as rt, L as xe, c as $, s as we, C as nt, t as i, e as ot, f as Te, i as Xe, g as ve, m as st, n as Ot, q as ke, r as F, N as it, I as ut, u as dt, v as ct, w as pt, x as K, b as x, j as Ve, y as mt, z as ft, E as St, h as A, k as re, a as ne, d as oe, S as gt, l as ht, o as se } from "./index-B4V16SEr.js";
3
+ const bt = 54, Qt = 1, yt = 55, Pt = 2, $t = 56, xt = 3, Oe = 4, wt = 5, Z = 6, _e = 7, qe = 8, Ce = 9, Ze = 10, Tt = 11, Xt = 12, vt = 13, U = 57, kt = 14, ie = 58, Re = 20, Vt = 22, ze = 23, _t = 24, j = 26, Ye = 27, qt = 28, Ct = 31, Zt = 34, Rt = 36, zt = 37, Yt = 0, Wt = 1, Et = {
4
+ area: !0,
5
+ base: !0,
6
+ br: !0,
7
+ col: !0,
8
+ command: !0,
9
+ embed: !0,
10
+ frame: !0,
11
+ hr: !0,
12
+ img: !0,
13
+ input: !0,
14
+ keygen: !0,
15
+ link: !0,
16
+ meta: !0,
17
+ param: !0,
18
+ source: !0,
19
+ track: !0,
20
+ wbr: !0,
21
+ menuitem: !0
22
+ }, At = {
23
+ dd: !0,
24
+ li: !0,
25
+ optgroup: !0,
26
+ option: !0,
27
+ p: !0,
28
+ rp: !0,
29
+ rt: !0,
30
+ tbody: !0,
31
+ td: !0,
32
+ tfoot: !0,
33
+ th: !0,
34
+ tr: !0
35
+ }, ue = {
36
+ dd: { dd: !0, dt: !0 },
37
+ dt: { dd: !0, dt: !0 },
38
+ li: { li: !0 },
39
+ option: { option: !0, optgroup: !0 },
40
+ optgroup: { optgroup: !0 },
41
+ p: {
42
+ address: !0,
43
+ article: !0,
44
+ aside: !0,
45
+ blockquote: !0,
46
+ dir: !0,
47
+ div: !0,
48
+ dl: !0,
49
+ fieldset: !0,
50
+ footer: !0,
51
+ form: !0,
52
+ h1: !0,
53
+ h2: !0,
54
+ h3: !0,
55
+ h4: !0,
56
+ h5: !0,
57
+ h6: !0,
58
+ header: !0,
59
+ hgroup: !0,
60
+ hr: !0,
61
+ menu: !0,
62
+ nav: !0,
63
+ ol: !0,
64
+ p: !0,
65
+ pre: !0,
66
+ section: !0,
67
+ table: !0,
68
+ ul: !0
69
+ },
70
+ rp: { rp: !0, rt: !0 },
71
+ rt: { rp: !0, rt: !0 },
72
+ tbody: { tbody: !0, tfoot: !0 },
73
+ td: { td: !0, th: !0 },
74
+ tfoot: { tbody: !0 },
75
+ th: { td: !0, th: !0 },
76
+ thead: { tbody: !0, tfoot: !0 },
77
+ tr: { tr: !0 }
78
+ };
79
+ function Ut(e) {
80
+ return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
81
+ }
82
+ function We(e) {
83
+ return e == 9 || e == 10 || e == 13 || e == 32;
84
+ }
85
+ let de = null, ce = null, pe = 0;
86
+ function L(e, l) {
87
+ let r = e.pos + l;
88
+ if (pe == r && ce == e) return de;
89
+ let a = e.peek(l);
90
+ for (; We(a); ) a = e.peek(++l);
91
+ let t = "";
92
+ for (; Ut(a); )
93
+ t += String.fromCharCode(a), a = e.peek(++l);
94
+ return ce = e, pe = r, de = t ? t.toLowerCase() : a == Gt || a == Nt ? void 0 : null;
95
+ }
96
+ const Ee = 60, R = 62, H = 47, Gt = 63, Nt = 33, Bt = 45;
97
+ function me(e, l) {
98
+ this.name = e, this.parent = l;
99
+ }
100
+ const Mt = [Z, Ze, _e, qe, Ce], Dt = new nt({
101
+ start: null,
102
+ shift(e, l, r, a) {
103
+ return Mt.indexOf(l) > -1 ? new me(L(a, 1) || "", e) : e;
104
+ },
105
+ reduce(e, l) {
106
+ return l == Re && e ? e.parent : e;
107
+ },
108
+ reuse(e, l, r, a) {
109
+ let t = l.type.id;
110
+ return t == Z || t == Rt ? new me(L(a, 1) || "", e) : e;
111
+ },
112
+ strict: !1
113
+ }), It = new $((e, l) => {
114
+ if (e.next != Ee) {
115
+ e.next < 0 && l.context && e.acceptToken(U);
116
+ return;
117
+ }
118
+ e.advance();
119
+ let r = e.next == H;
120
+ r && e.advance();
121
+ let a = L(e, 0);
122
+ if (a === void 0) return;
123
+ if (!a) return e.acceptToken(r ? kt : Z);
124
+ let t = l.context ? l.context.name : null;
125
+ if (r) {
126
+ if (a == t) return e.acceptToken(Tt);
127
+ if (t && At[t]) return e.acceptToken(U, -2);
128
+ if (l.dialectEnabled(Yt)) return e.acceptToken(Xt);
129
+ for (let n = l.context; n; n = n.parent) if (n.name == a) return;
130
+ e.acceptToken(vt);
131
+ } else {
132
+ if (a == "script") return e.acceptToken(_e);
133
+ if (a == "style") return e.acceptToken(qe);
134
+ if (a == "textarea") return e.acceptToken(Ce);
135
+ if (Et.hasOwnProperty(a)) return e.acceptToken(Ze);
136
+ t && ue[t] && ue[t][a] ? e.acceptToken(U, -1) : e.acceptToken(Z);
137
+ }
138
+ }, { contextual: !0 }), jt = new $((e) => {
139
+ for (let l = 0, r = 0; ; r++) {
140
+ if (e.next < 0) {
141
+ r && e.acceptToken(ie);
142
+ break;
143
+ }
144
+ if (e.next == Bt)
145
+ l++;
146
+ else if (e.next == R && l >= 2) {
147
+ r >= 3 && e.acceptToken(ie, -2);
148
+ break;
149
+ } else
150
+ l = 0;
151
+ e.advance();
152
+ }
153
+ });
154
+ function Lt(e) {
155
+ for (; e; e = e.parent)
156
+ if (e.name == "svg" || e.name == "math") return !0;
157
+ return !1;
158
+ }
159
+ const Ft = new $((e, l) => {
160
+ if (e.next == H && e.peek(1) == R) {
161
+ let r = l.dialectEnabled(Wt) || Lt(l.context);
162
+ e.acceptToken(r ? wt : Oe, 2);
163
+ } else e.next == R && e.acceptToken(Oe, 1);
164
+ });
165
+ function J(e, l, r) {
166
+ let a = 2 + e.length;
167
+ return new $((t) => {
168
+ for (let n = 0, o = 0, O = 0; ; O++) {
169
+ if (t.next < 0) {
170
+ O && t.acceptToken(l);
171
+ break;
172
+ }
173
+ if (n == 0 && t.next == Ee || n == 1 && t.next == H || n >= 2 && n < a && t.next == e.charCodeAt(n - 2))
174
+ n++, o++;
175
+ else if ((n == 2 || n == a) && We(t.next))
176
+ o++;
177
+ else if (n == a && t.next == R) {
178
+ O > o ? t.acceptToken(l, -o) : t.acceptToken(r, -(o - 2));
179
+ break;
180
+ } else if ((t.next == 10 || t.next == 13) && O) {
181
+ t.acceptToken(l, 1);
182
+ break;
183
+ } else
184
+ n = o = 0;
185
+ t.advance();
186
+ }
187
+ });
188
+ }
189
+ const Kt = J("script", bt, Qt), Ht = J("style", yt, Pt), Jt = J("textarea", $t, xt), ea = we({
190
+ "Text RawText": i.content,
191
+ "StartTag StartCloseTag SelfClosingEndTag EndTag": i.angleBracket,
192
+ TagName: i.tagName,
193
+ "MismatchedCloseTag/TagName": [i.tagName, i.invalid],
194
+ AttributeName: i.attributeName,
195
+ "AttributeValue UnquotedAttributeValue": i.attributeValue,
196
+ Is: i.definitionOperator,
197
+ "EntityReference CharacterReference": i.character,
198
+ Comment: i.blockComment,
199
+ ProcessingInst: i.processingInstruction,
200
+ DoctypeDecl: i.documentMeta
201
+ }), ta = xe.deserialize({
202
+ version: 14,
203
+ states: ",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}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ROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",
205
+ goto: "%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",
206
+ nodeNames: "⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",
207
+ maxTerm: 67,
208
+ context: Dt,
209
+ nodeProps: [
210
+ ["closedBy", -10, 1, 2, 3, 7, 8, 9, 10, 11, 12, 13, "EndTag", 6, "EndTag SelfClosingEndTag", -4, 21, 30, 33, 36, "CloseTag"],
211
+ ["openedBy", 4, "StartTag StartCloseTag", 5, "StartTag", -4, 29, 32, 35, 37, "OpenTag"],
212
+ ["group", -9, 14, 17, 18, 19, 20, 39, 40, 41, 42, "Entity", 16, "Entity TextContent", -3, 28, 31, 34, "TextContent Entity"],
213
+ ["isolate", -11, 21, 29, 30, 32, 33, 35, 36, 37, 38, 41, 42, "ltr", -3, 26, 27, 39, ""]
214
+ ],
215
+ propSources: [ea],
216
+ skippedNodes: [0],
217
+ repeatNodeCount: 9,
218
+ tokenData: "!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&X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PURE__ */ Object.create(null);
226
+ for (let a of e.getChildren(ze)) {
227
+ let t = a.getChild(_t), n = a.getChild(j) || a.getChild(Ye);
228
+ t && (r[l.read(t.from, t.to)] = n ? n.type.id == j ? l.read(n.from + 1, n.to - 1) : l.read(n.from, n.to) : "");
229
+ }
230
+ return r;
231
+ }
232
+ function fe(e, l) {
233
+ let r = e.getChild(Vt);
234
+ return r ? l.read(r.from, r.to) : " ";
235
+ }
236
+ function G(e, l, r) {
237
+ let a;
238
+ for (let t of r)
239
+ if (!t.attrs || t.attrs(a || (a = Ae(e.node.parent.firstChild, l))))
240
+ return { parser: t.parser };
241
+ return null;
242
+ }
243
+ function Ue(e = [], l = []) {
244
+ let r = [], a = [], t = [], n = [];
245
+ for (let O of e)
246
+ (O.tag == "script" ? r : O.tag == "style" ? a : O.tag == "textarea" ? t : n).push(O);
247
+ let o = l.length ? /* @__PURE__ */ Object.create(null) : null;
248
+ for (let O of l) (o[O.name] || (o[O.name] = [])).push(O);
249
+ return rt((O, d) => {
250
+ let S = O.type.id;
251
+ if (S == qt) return G(O, d, r);
252
+ if (S == Ct) return G(O, d, a);
253
+ if (S == Zt) return G(O, d, t);
254
+ if (S == Re && n.length) {
255
+ let f = O.node, m = f.firstChild, c = m && fe(m, d), u;
256
+ if (c) {
257
+ for (let p of n)
258
+ if (p.tag == c && (!p.attrs || p.attrs(u || (u = Ae(m, d))))) {
259
+ let g = f.lastChild, h = g.type.id == zt ? g.from : f.to;
260
+ if (h > m.to)
261
+ return { parser: p.parser, overlay: [{ from: m.to, to: h }] };
262
+ }
263
+ }
264
+ }
265
+ if (o && S == ze) {
266
+ let f = O.node, m;
267
+ if (m = f.firstChild) {
268
+ let c = o[d.read(m.from, m.to)];
269
+ if (c) for (let u of c) {
270
+ if (u.tagName && u.tagName != fe(f.parent, d)) continue;
271
+ let p = f.lastChild;
272
+ if (p.type.id == j) {
273
+ let g = p.from + 1, h = p.lastChild, y = p.to - (h && h.isError ? 0 : 1);
274
+ if (y > g) return { parser: u.parser, overlay: [{ from: g, to: y }] };
275
+ } else if (p.type.id == Ye)
276
+ return { parser: u.parser, overlay: [{ from: p.from, to: p.to }] };
277
+ }
278
+ }
279
+ }
280
+ return null;
281
+ });
282
+ }
283
+ const aa = 101, Se = 1, la = 102, ra = 103, ge = 2, Ge = [
284
+ 9,
285
+ 10,
286
+ 11,
287
+ 12,
288
+ 13,
289
+ 32,
290
+ 133,
291
+ 160,
292
+ 5760,
293
+ 8192,
294
+ 8193,
295
+ 8194,
296
+ 8195,
297
+ 8196,
298
+ 8197,
299
+ 8198,
300
+ 8199,
301
+ 8200,
302
+ 8201,
303
+ 8202,
304
+ 8232,
305
+ 8233,
306
+ 8239,
307
+ 8287,
308
+ 12288
309
+ ], na = 58, oa = 40, Ne = 95, sa = 91, q = 45, Oa = 46, ia = 35, ua = 37, da = 38, ca = 92, pa = 10;
310
+ function k(e) {
311
+ return e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 161;
312
+ }
313
+ function Be(e) {
314
+ return e >= 48 && e <= 57;
315
+ }
316
+ const ma = new $((e, l) => {
317
+ for (let r = !1, a = 0, t = 0; ; t++) {
318
+ let { next: n } = e;
319
+ if (k(n) || n == q || n == Ne || r && Be(n))
320
+ !r && (n != q || t > 0) && (r = !0), a === t && n == q && a++, e.advance();
321
+ else if (n == ca && e.peek(1) != pa)
322
+ e.advance(), e.next > -1 && e.advance(), r = !0;
323
+ else {
324
+ r && e.acceptToken(n == oa ? la : a == 2 && l.canShift(ge) ? ge : ra);
325
+ break;
326
+ }
327
+ }
328
+ }), fa = new $((e) => {
329
+ if (Ge.includes(e.peek(-1))) {
330
+ let { next: l } = e;
331
+ (k(l) || l == Ne || l == ia || l == Oa || l == sa || l == na && k(e.peek(1)) || l == q || l == da) && e.acceptToken(aa);
332
+ }
333
+ }), Sa = new $((e) => {
334
+ if (!Ge.includes(e.peek(-1))) {
335
+ let { next: l } = e;
336
+ if (l == ua && (e.advance(), e.acceptToken(Se)), k(l)) {
337
+ do
338
+ e.advance();
339
+ while (k(e.next) || Be(e.next));
340
+ e.acceptToken(Se);
341
+ }
342
+ }
343
+ }), ga = we({
344
+ "AtKeyword import charset namespace keyframes media supports": i.definitionKeyword,
345
+ "from to selector": i.keyword,
346
+ NamespaceName: i.namespace,
347
+ KeyframeName: i.labelName,
348
+ KeyframeRangeName: i.operatorKeyword,
349
+ TagName: i.tagName,
350
+ ClassName: i.className,
351
+ PseudoClassName: i.constant(i.className),
352
+ IdName: i.labelName,
353
+ "FeatureName PropertyName": i.propertyName,
354
+ AttributeName: i.attributeName,
355
+ NumberLiteral: i.number,
356
+ KeywordQuery: i.keyword,
357
+ UnaryQueryOp: i.operatorKeyword,
358
+ "CallTag ValueName": i.atom,
359
+ VariableName: i.variableName,
360
+ Callee: i.operatorKeyword,
361
+ Unit: i.unit,
362
+ "UniversalSelector NestingSelector": i.definitionOperator,
363
+ MatchOp: i.compareOperator,
364
+ "ChildOp SiblingOp, LogicOp": i.logicOperator,
365
+ BinOp: i.arithmeticOperator,
366
+ Important: i.modifier,
367
+ Comment: i.blockComment,
368
+ ColorLiteral: i.color,
369
+ "ParenthesizedContent StringLiteral": i.string,
370
+ ":": i.punctuation,
371
+ "PseudoOp #": i.derefOperator,
372
+ "; ,": i.separator,
373
+ "( )": i.paren,
374
+ "[ ]": i.squareBracket,
375
+ "{ }": i.brace
376
+ }), ha = { __proto__: null, lang: 34, "nth-child": 34, "nth-last-child": 34, "nth-of-type": 34, "nth-last-of-type": 34, dir: 34, "host-context": 34, url: 62, "url-prefix": 62, domain: 62, regexp: 62, selector: 140 }, ba = { __proto__: null, "@import": 120, "@media": 144, "@charset": 148, "@namespace": 152, "@keyframes": 158, "@supports": 170 }, Qa = { __proto__: null, not: 134, only: 134 }, ya = xe.deserialize({
377
+ version: 14,
378
+ states: ":|QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$[QXO'#CaO$fQ[O'#CiO$qQ[O'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*s*y+PPPPPPPPPPP+V+`,O,RP,w,z-Q-ZRkQ_bOPdhw!n#tmYOPdhrstuw!n#R#h#t$pmSOPdhrstuw!n#R#h#t$pQmTR!tnQ{VR!uoQ!u}Q#Z!XR#y!wq![Z]!T!m#S#U#X#q#{$Q$[$k$l$t$y%Xp![Z]!T!m#S#U#X#q#{$Q$[$k$l$t$y%XU$f#m$h$|R${$eq!XZ]!T!m#S#U#X#q#{$Q$[$k$l$t$y%Xp![Z]!T!m#S#U#X#q#{$Q$[$k$l$t$y%XQ!f^R#l!gT#^!Z#_Q|VR!voQ!u|R#y!vQ!PWR!xpQ!RXR!yqQxUQ#PvQ#i!cQ#o!jQ#p!kQ%O$gR%^$}SgPwQ!phQ#s!nR$n#tZfPhw!n#ta!b[`a!V!^!`#d#eR#b!^R!g^R!i_R#n!iS$g#m$hR%[$|V$e#m$h$|Q!rjR#w!rQdOShPwU!ldh#tR#t!nQ$Q#SU$s$Q$y%XQ$y$[R%X$tQ#_!ZR$Y#_Q$u$QR%Y$uQ$q#}R%W$qQvUR#OvQ$l#qR%S$lQ!ogS#u!o#vR#v!pQ#f!_R$`#fQ$h#mR%P$hQ$}$gR%]$}_cOPdhw!n#t^UOPdhw!n#tQ!zrQ!{sQ!|tQ!}uQ#}#RQ$a#hR%V$pR$R#SQ!VZQ!d]Q#V!TQ#q!m[$P#S$Q$[$t$y%XQ$S#UQ$U#XS$j#q$lQ$o#{R%R$kR$O#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$^#dR$_#e",
381
+ nodeNames: "⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector . ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",
382
+ maxTerm: 118,
383
+ nodeProps: [
384
+ ["isolate", -2, 3, 25, ""],
385
+ ["openedBy", 18, "(", 33, "[", 51, "{"],
386
+ ["closedBy", 19, ")", 34, "]", 52, "}"]
387
+ ],
388
+ propSources: [ga],
389
+ skippedNodes: [0, 3, 88],
390
+ repeatNodeCount: 12,
391
+ tokenData: "J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSp`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#]~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#]~p`OX%^X^'f^p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lO#a~~", 28, 107)],
393
+ topRules: { StyleSheet: [0, 4], Styles: [1, 87] },
394
+ specialized: [{ term: 102, get: (e) => ha[e] || -1 }, { term: 59, get: (e) => ba[e] || -1 }, { term: 103, get: (e) => Qa[e] || -1 }],
395
+ tokenPrec: 1246
396
+ });
397
+ let N = null;
398
+ function B() {
399
+ if (!N && typeof document == "object" && document.body) {
400
+ let { style: e } = document.body, l = [], r = /* @__PURE__ */ new Set();
401
+ for (let a in e)
402
+ a != "cssText" && a != "cssFloat" && typeof e[a] == "string" && (/[A-Z]/.test(a) && (a = a.replace(/[A-Z]/g, (t) => "-" + t.toLowerCase())), r.has(a) || (l.push(a), r.add(a)));
403
+ N = l.sort().map((a) => ({ type: "property", label: a, apply: a + ": " }));
404
+ }
405
+ return N || [];
406
+ }
407
+ const he = /* @__PURE__ */ [
408
+ "active",
409
+ "after",
410
+ "any-link",
411
+ "autofill",
412
+ "backdrop",
413
+ "before",
414
+ "checked",
415
+ "cue",
416
+ "default",
417
+ "defined",
418
+ "disabled",
419
+ "empty",
420
+ "enabled",
421
+ "file-selector-button",
422
+ "first",
423
+ "first-child",
424
+ "first-letter",
425
+ "first-line",
426
+ "first-of-type",
427
+ "focus",
428
+ "focus-visible",
429
+ "focus-within",
430
+ "fullscreen",
431
+ "has",
432
+ "host",
433
+ "host-context",
434
+ "hover",
435
+ "in-range",
436
+ "indeterminate",
437
+ "invalid",
438
+ "is",
439
+ "lang",
440
+ "last-child",
441
+ "last-of-type",
442
+ "left",
443
+ "link",
444
+ "marker",
445
+ "modal",
446
+ "not",
447
+ "nth-child",
448
+ "nth-last-child",
449
+ "nth-last-of-type",
450
+ "nth-of-type",
451
+ "only-child",
452
+ "only-of-type",
453
+ "optional",
454
+ "out-of-range",
455
+ "part",
456
+ "placeholder",
457
+ "placeholder-shown",
458
+ "read-only",
459
+ "read-write",
460
+ "required",
461
+ "right",
462
+ "root",
463
+ "scope",
464
+ "selection",
465
+ "slotted",
466
+ "target",
467
+ "target-text",
468
+ "valid",
469
+ "visited",
470
+ "where"
471
+ ].map((e) => ({ type: "class", label: e })), be = /* @__PURE__ */ [
472
+ "above",
473
+ "absolute",
474
+ "activeborder",
475
+ "additive",
476
+ "activecaption",
477
+ "after-white-space",
478
+ "ahead",
479
+ "alias",
480
+ "all",
481
+ "all-scroll",
482
+ "alphabetic",
483
+ "alternate",
484
+ "always",
485
+ "antialiased",
486
+ "appworkspace",
487
+ "asterisks",
488
+ "attr",
489
+ "auto",
490
+ "auto-flow",
491
+ "avoid",
492
+ "avoid-column",
493
+ "avoid-page",
494
+ "avoid-region",
495
+ "axis-pan",
496
+ "background",
497
+ "backwards",
498
+ "baseline",
499
+ "below",
500
+ "bidi-override",
501
+ "blink",
502
+ "block",
503
+ "block-axis",
504
+ "bold",
505
+ "bolder",
506
+ "border",
507
+ "border-box",
508
+ "both",
509
+ "bottom",
510
+ "break",
511
+ "break-all",
512
+ "break-word",
513
+ "bullets",
514
+ "button",
515
+ "button-bevel",
516
+ "buttonface",
517
+ "buttonhighlight",
518
+ "buttonshadow",
519
+ "buttontext",
520
+ "calc",
521
+ "capitalize",
522
+ "caps-lock-indicator",
523
+ "caption",
524
+ "captiontext",
525
+ "caret",
526
+ "cell",
527
+ "center",
528
+ "checkbox",
529
+ "circle",
530
+ "cjk-decimal",
531
+ "clear",
532
+ "clip",
533
+ "close-quote",
534
+ "col-resize",
535
+ "collapse",
536
+ "color",
537
+ "color-burn",
538
+ "color-dodge",
539
+ "column",
540
+ "column-reverse",
541
+ "compact",
542
+ "condensed",
543
+ "contain",
544
+ "content",
545
+ "contents",
546
+ "content-box",
547
+ "context-menu",
548
+ "continuous",
549
+ "copy",
550
+ "counter",
551
+ "counters",
552
+ "cover",
553
+ "crop",
554
+ "cross",
555
+ "crosshair",
556
+ "currentcolor",
557
+ "cursive",
558
+ "cyclic",
559
+ "darken",
560
+ "dashed",
561
+ "decimal",
562
+ "decimal-leading-zero",
563
+ "default",
564
+ "default-button",
565
+ "dense",
566
+ "destination-atop",
567
+ "destination-in",
568
+ "destination-out",
569
+ "destination-over",
570
+ "difference",
571
+ "disc",
572
+ "discard",
573
+ "disclosure-closed",
574
+ "disclosure-open",
575
+ "document",
576
+ "dot-dash",
577
+ "dot-dot-dash",
578
+ "dotted",
579
+ "double",
580
+ "down",
581
+ "e-resize",
582
+ "ease",
583
+ "ease-in",
584
+ "ease-in-out",
585
+ "ease-out",
586
+ "element",
587
+ "ellipse",
588
+ "ellipsis",
589
+ "embed",
590
+ "end",
591
+ "ethiopic-abegede-gez",
592
+ "ethiopic-halehame-aa-er",
593
+ "ethiopic-halehame-gez",
594
+ "ew-resize",
595
+ "exclusion",
596
+ "expanded",
597
+ "extends",
598
+ "extra-condensed",
599
+ "extra-expanded",
600
+ "fantasy",
601
+ "fast",
602
+ "fill",
603
+ "fill-box",
604
+ "fixed",
605
+ "flat",
606
+ "flex",
607
+ "flex-end",
608
+ "flex-start",
609
+ "footnotes",
610
+ "forwards",
611
+ "from",
612
+ "geometricPrecision",
613
+ "graytext",
614
+ "grid",
615
+ "groove",
616
+ "hand",
617
+ "hard-light",
618
+ "help",
619
+ "hidden",
620
+ "hide",
621
+ "higher",
622
+ "highlight",
623
+ "highlighttext",
624
+ "horizontal",
625
+ "hsl",
626
+ "hsla",
627
+ "hue",
628
+ "icon",
629
+ "ignore",
630
+ "inactiveborder",
631
+ "inactivecaption",
632
+ "inactivecaptiontext",
633
+ "infinite",
634
+ "infobackground",
635
+ "infotext",
636
+ "inherit",
637
+ "initial",
638
+ "inline",
639
+ "inline-axis",
640
+ "inline-block",
641
+ "inline-flex",
642
+ "inline-grid",
643
+ "inline-table",
644
+ "inset",
645
+ "inside",
646
+ "intrinsic",
647
+ "invert",
648
+ "italic",
649
+ "justify",
650
+ "keep-all",
651
+ "landscape",
652
+ "large",
653
+ "larger",
654
+ "left",
655
+ "level",
656
+ "lighter",
657
+ "lighten",
658
+ "line-through",
659
+ "linear",
660
+ "linear-gradient",
661
+ "lines",
662
+ "list-item",
663
+ "listbox",
664
+ "listitem",
665
+ "local",
666
+ "logical",
667
+ "loud",
668
+ "lower",
669
+ "lower-hexadecimal",
670
+ "lower-latin",
671
+ "lower-norwegian",
672
+ "lowercase",
673
+ "ltr",
674
+ "luminosity",
675
+ "manipulation",
676
+ "match",
677
+ "matrix",
678
+ "matrix3d",
679
+ "medium",
680
+ "menu",
681
+ "menutext",
682
+ "message-box",
683
+ "middle",
684
+ "min-intrinsic",
685
+ "mix",
686
+ "monospace",
687
+ "move",
688
+ "multiple",
689
+ "multiple_mask_images",
690
+ "multiply",
691
+ "n-resize",
692
+ "narrower",
693
+ "ne-resize",
694
+ "nesw-resize",
695
+ "no-close-quote",
696
+ "no-drop",
697
+ "no-open-quote",
698
+ "no-repeat",
699
+ "none",
700
+ "normal",
701
+ "not-allowed",
702
+ "nowrap",
703
+ "ns-resize",
704
+ "numbers",
705
+ "numeric",
706
+ "nw-resize",
707
+ "nwse-resize",
708
+ "oblique",
709
+ "opacity",
710
+ "open-quote",
711
+ "optimizeLegibility",
712
+ "optimizeSpeed",
713
+ "outset",
714
+ "outside",
715
+ "outside-shape",
716
+ "overlay",
717
+ "overline",
718
+ "padding",
719
+ "padding-box",
720
+ "painted",
721
+ "page",
722
+ "paused",
723
+ "perspective",
724
+ "pinch-zoom",
725
+ "plus-darker",
726
+ "plus-lighter",
727
+ "pointer",
728
+ "polygon",
729
+ "portrait",
730
+ "pre",
731
+ "pre-line",
732
+ "pre-wrap",
733
+ "preserve-3d",
734
+ "progress",
735
+ "push-button",
736
+ "radial-gradient",
737
+ "radio",
738
+ "read-only",
739
+ "read-write",
740
+ "read-write-plaintext-only",
741
+ "rectangle",
742
+ "region",
743
+ "relative",
744
+ "repeat",
745
+ "repeating-linear-gradient",
746
+ "repeating-radial-gradient",
747
+ "repeat-x",
748
+ "repeat-y",
749
+ "reset",
750
+ "reverse",
751
+ "rgb",
752
+ "rgba",
753
+ "ridge",
754
+ "right",
755
+ "rotate",
756
+ "rotate3d",
757
+ "rotateX",
758
+ "rotateY",
759
+ "rotateZ",
760
+ "round",
761
+ "row",
762
+ "row-resize",
763
+ "row-reverse",
764
+ "rtl",
765
+ "run-in",
766
+ "running",
767
+ "s-resize",
768
+ "sans-serif",
769
+ "saturation",
770
+ "scale",
771
+ "scale3d",
772
+ "scaleX",
773
+ "scaleY",
774
+ "scaleZ",
775
+ "screen",
776
+ "scroll",
777
+ "scrollbar",
778
+ "scroll-position",
779
+ "se-resize",
780
+ "self-start",
781
+ "self-end",
782
+ "semi-condensed",
783
+ "semi-expanded",
784
+ "separate",
785
+ "serif",
786
+ "show",
787
+ "single",
788
+ "skew",
789
+ "skewX",
790
+ "skewY",
791
+ "skip-white-space",
792
+ "slide",
793
+ "slider-horizontal",
794
+ "slider-vertical",
795
+ "sliderthumb-horizontal",
796
+ "sliderthumb-vertical",
797
+ "slow",
798
+ "small",
799
+ "small-caps",
800
+ "small-caption",
801
+ "smaller",
802
+ "soft-light",
803
+ "solid",
804
+ "source-atop",
805
+ "source-in",
806
+ "source-out",
807
+ "source-over",
808
+ "space",
809
+ "space-around",
810
+ "space-between",
811
+ "space-evenly",
812
+ "spell-out",
813
+ "square",
814
+ "start",
815
+ "static",
816
+ "status-bar",
817
+ "stretch",
818
+ "stroke",
819
+ "stroke-box",
820
+ "sub",
821
+ "subpixel-antialiased",
822
+ "svg_masks",
823
+ "super",
824
+ "sw-resize",
825
+ "symbolic",
826
+ "symbols",
827
+ "system-ui",
828
+ "table",
829
+ "table-caption",
830
+ "table-cell",
831
+ "table-column",
832
+ "table-column-group",
833
+ "table-footer-group",
834
+ "table-header-group",
835
+ "table-row",
836
+ "table-row-group",
837
+ "text",
838
+ "text-bottom",
839
+ "text-top",
840
+ "textarea",
841
+ "textfield",
842
+ "thick",
843
+ "thin",
844
+ "threeddarkshadow",
845
+ "threedface",
846
+ "threedhighlight",
847
+ "threedlightshadow",
848
+ "threedshadow",
849
+ "to",
850
+ "top",
851
+ "transform",
852
+ "translate",
853
+ "translate3d",
854
+ "translateX",
855
+ "translateY",
856
+ "translateZ",
857
+ "transparent",
858
+ "ultra-condensed",
859
+ "ultra-expanded",
860
+ "underline",
861
+ "unidirectional-pan",
862
+ "unset",
863
+ "up",
864
+ "upper-latin",
865
+ "uppercase",
866
+ "url",
867
+ "var",
868
+ "vertical",
869
+ "vertical-text",
870
+ "view-box",
871
+ "visible",
872
+ "visibleFill",
873
+ "visiblePainted",
874
+ "visibleStroke",
875
+ "visual",
876
+ "w-resize",
877
+ "wait",
878
+ "wave",
879
+ "wider",
880
+ "window",
881
+ "windowframe",
882
+ "windowtext",
883
+ "words",
884
+ "wrap",
885
+ "wrap-reverse",
886
+ "x-large",
887
+ "x-small",
888
+ "xor",
889
+ "xx-large",
890
+ "xx-small"
891
+ ].map((e) => ({ type: "keyword", label: e })).concat(/* @__PURE__ */ [
892
+ "aliceblue",
893
+ "antiquewhite",
894
+ "aqua",
895
+ "aquamarine",
896
+ "azure",
897
+ "beige",
898
+ "bisque",
899
+ "black",
900
+ "blanchedalmond",
901
+ "blue",
902
+ "blueviolet",
903
+ "brown",
904
+ "burlywood",
905
+ "cadetblue",
906
+ "chartreuse",
907
+ "chocolate",
908
+ "coral",
909
+ "cornflowerblue",
910
+ "cornsilk",
911
+ "crimson",
912
+ "cyan",
913
+ "darkblue",
914
+ "darkcyan",
915
+ "darkgoldenrod",
916
+ "darkgray",
917
+ "darkgreen",
918
+ "darkkhaki",
919
+ "darkmagenta",
920
+ "darkolivegreen",
921
+ "darkorange",
922
+ "darkorchid",
923
+ "darkred",
924
+ "darksalmon",
925
+ "darkseagreen",
926
+ "darkslateblue",
927
+ "darkslategray",
928
+ "darkturquoise",
929
+ "darkviolet",
930
+ "deeppink",
931
+ "deepskyblue",
932
+ "dimgray",
933
+ "dodgerblue",
934
+ "firebrick",
935
+ "floralwhite",
936
+ "forestgreen",
937
+ "fuchsia",
938
+ "gainsboro",
939
+ "ghostwhite",
940
+ "gold",
941
+ "goldenrod",
942
+ "gray",
943
+ "grey",
944
+ "green",
945
+ "greenyellow",
946
+ "honeydew",
947
+ "hotpink",
948
+ "indianred",
949
+ "indigo",
950
+ "ivory",
951
+ "khaki",
952
+ "lavender",
953
+ "lavenderblush",
954
+ "lawngreen",
955
+ "lemonchiffon",
956
+ "lightblue",
957
+ "lightcoral",
958
+ "lightcyan",
959
+ "lightgoldenrodyellow",
960
+ "lightgray",
961
+ "lightgreen",
962
+ "lightpink",
963
+ "lightsalmon",
964
+ "lightseagreen",
965
+ "lightskyblue",
966
+ "lightslategray",
967
+ "lightsteelblue",
968
+ "lightyellow",
969
+ "lime",
970
+ "limegreen",
971
+ "linen",
972
+ "magenta",
973
+ "maroon",
974
+ "mediumaquamarine",
975
+ "mediumblue",
976
+ "mediumorchid",
977
+ "mediumpurple",
978
+ "mediumseagreen",
979
+ "mediumslateblue",
980
+ "mediumspringgreen",
981
+ "mediumturquoise",
982
+ "mediumvioletred",
983
+ "midnightblue",
984
+ "mintcream",
985
+ "mistyrose",
986
+ "moccasin",
987
+ "navajowhite",
988
+ "navy",
989
+ "oldlace",
990
+ "olive",
991
+ "olivedrab",
992
+ "orange",
993
+ "orangered",
994
+ "orchid",
995
+ "palegoldenrod",
996
+ "palegreen",
997
+ "paleturquoise",
998
+ "palevioletred",
999
+ "papayawhip",
1000
+ "peachpuff",
1001
+ "peru",
1002
+ "pink",
1003
+ "plum",
1004
+ "powderblue",
1005
+ "purple",
1006
+ "rebeccapurple",
1007
+ "red",
1008
+ "rosybrown",
1009
+ "royalblue",
1010
+ "saddlebrown",
1011
+ "salmon",
1012
+ "sandybrown",
1013
+ "seagreen",
1014
+ "seashell",
1015
+ "sienna",
1016
+ "silver",
1017
+ "skyblue",
1018
+ "slateblue",
1019
+ "slategray",
1020
+ "snow",
1021
+ "springgreen",
1022
+ "steelblue",
1023
+ "tan",
1024
+ "teal",
1025
+ "thistle",
1026
+ "tomato",
1027
+ "turquoise",
1028
+ "violet",
1029
+ "wheat",
1030
+ "white",
1031
+ "whitesmoke",
1032
+ "yellow",
1033
+ "yellowgreen"
1034
+ ].map((e) => ({ type: "constant", label: e }))), Pa = /* @__PURE__ */ [
1035
+ "a",
1036
+ "abbr",
1037
+ "address",
1038
+ "article",
1039
+ "aside",
1040
+ "b",
1041
+ "bdi",
1042
+ "bdo",
1043
+ "blockquote",
1044
+ "body",
1045
+ "br",
1046
+ "button",
1047
+ "canvas",
1048
+ "caption",
1049
+ "cite",
1050
+ "code",
1051
+ "col",
1052
+ "colgroup",
1053
+ "dd",
1054
+ "del",
1055
+ "details",
1056
+ "dfn",
1057
+ "dialog",
1058
+ "div",
1059
+ "dl",
1060
+ "dt",
1061
+ "em",
1062
+ "figcaption",
1063
+ "figure",
1064
+ "footer",
1065
+ "form",
1066
+ "header",
1067
+ "hgroup",
1068
+ "h1",
1069
+ "h2",
1070
+ "h3",
1071
+ "h4",
1072
+ "h5",
1073
+ "h6",
1074
+ "hr",
1075
+ "html",
1076
+ "i",
1077
+ "iframe",
1078
+ "img",
1079
+ "input",
1080
+ "ins",
1081
+ "kbd",
1082
+ "label",
1083
+ "legend",
1084
+ "li",
1085
+ "main",
1086
+ "meter",
1087
+ "nav",
1088
+ "ol",
1089
+ "output",
1090
+ "p",
1091
+ "pre",
1092
+ "ruby",
1093
+ "section",
1094
+ "select",
1095
+ "small",
1096
+ "source",
1097
+ "span",
1098
+ "strong",
1099
+ "sub",
1100
+ "summary",
1101
+ "sup",
1102
+ "table",
1103
+ "tbody",
1104
+ "td",
1105
+ "template",
1106
+ "textarea",
1107
+ "tfoot",
1108
+ "th",
1109
+ "thead",
1110
+ "tr",
1111
+ "u",
1112
+ "ul"
1113
+ ].map((e) => ({ type: "type", label: e })), $a = /* @__PURE__ */ [
1114
+ "@charset",
1115
+ "@color-profile",
1116
+ "@container",
1117
+ "@counter-style",
1118
+ "@font-face",
1119
+ "@font-feature-values",
1120
+ "@font-palette-values",
1121
+ "@import",
1122
+ "@keyframes",
1123
+ "@layer",
1124
+ "@media",
1125
+ "@namespace",
1126
+ "@page",
1127
+ "@position-try",
1128
+ "@property",
1129
+ "@scope",
1130
+ "@starting-style",
1131
+ "@supports",
1132
+ "@view-transition"
1133
+ ].map((e) => ({ type: "keyword", label: e })), P = /^(\w[\w-]*|-\w[\w-]*|)$/, xa = /^-(-[\w-]*)?$/;
1134
+ function wa(e, l) {
1135
+ var r;
1136
+ if ((e.name == "(" || e.type.isError) && (e = e.parent || e), e.name != "ArgList")
1137
+ return !1;
1138
+ let a = (r = e.parent) === null || r === void 0 ? void 0 : r.firstChild;
1139
+ return (a == null ? void 0 : a.name) != "Callee" ? !1 : l.sliceString(a.from, a.to) == "var";
1140
+ }
1141
+ const Qe = /* @__PURE__ */ new it(), Ta = ["Declaration"];
1142
+ function Xa(e) {
1143
+ for (let l = e; ; ) {
1144
+ if (l.type.isTop)
1145
+ return l;
1146
+ if (!(l = l.parent))
1147
+ return e;
1148
+ }
1149
+ }
1150
+ function Me(e, l, r) {
1151
+ if (l.to - l.from > 4096) {
1152
+ let a = Qe.get(l);
1153
+ if (a)
1154
+ return a;
1155
+ let t = [], n = /* @__PURE__ */ new Set(), o = l.cursor(ut.IncludeAnonymous);
1156
+ if (o.firstChild())
1157
+ do
1158
+ for (let O of Me(e, o.node, r))
1159
+ n.has(O.label) || (n.add(O.label), t.push(O));
1160
+ while (o.nextSibling());
1161
+ return Qe.set(l, t), t;
1162
+ } else {
1163
+ let a = [], t = /* @__PURE__ */ new Set();
1164
+ return l.cursor().iterate((n) => {
1165
+ var o;
1166
+ if (r(n) && n.matchContext(Ta) && ((o = n.node.nextSibling) === null || o === void 0 ? void 0 : o.name) == ":") {
1167
+ let O = e.sliceString(n.from, n.to);
1168
+ t.has(O) || (t.add(O), a.push({ label: O, type: "variable" }));
1169
+ }
1170
+ }), a;
1171
+ }
1172
+ }
1173
+ const va = (e) => (l) => {
1174
+ let { state: r, pos: a } = l, t = F(r).resolveInner(a, -1), n = t.type.isError && t.from == t.to - 1 && r.doc.sliceString(t.from, t.to) == "-";
1175
+ if (t.name == "PropertyName" || (n || t.name == "TagName") && /^(Block|Styles)$/.test(t.resolve(t.to).name))
1176
+ return { from: t.from, options: B(), validFor: P };
1177
+ if (t.name == "ValueName")
1178
+ return { from: t.from, options: be, validFor: P };
1179
+ if (t.name == "PseudoClassName")
1180
+ return { from: t.from, options: he, validFor: P };
1181
+ if (e(t) || (l.explicit || n) && wa(t, r.doc))
1182
+ return {
1183
+ from: e(t) || n ? t.from : a,
1184
+ options: Me(r.doc, Xa(t), e),
1185
+ validFor: xa
1186
+ };
1187
+ if (t.name == "TagName") {
1188
+ for (let { parent: d } = t; d; d = d.parent)
1189
+ if (d.name == "Block")
1190
+ return { from: t.from, options: B(), validFor: P };
1191
+ return { from: t.from, options: Pa, validFor: P };
1192
+ }
1193
+ if (t.name == "AtKeyword")
1194
+ return { from: t.from, options: $a, validFor: P };
1195
+ if (!l.explicit)
1196
+ return null;
1197
+ let o = t.resolve(a), O = o.childBefore(a);
1198
+ return O && O.name == ":" && o.name == "PseudoClassSelector" ? { from: a, options: he, validFor: P } : O && O.name == ":" && o.name == "Declaration" || o.name == "ArgList" ? { from: a, options: be, validFor: P } : o.name == "Block" || o.name == "Styles" ? { from: a, options: B(), validFor: P } : null;
1199
+ }, ka = /* @__PURE__ */ va((e) => e.name == "VariableName"), z = /* @__PURE__ */ Te.define({
1200
+ name: "css",
1201
+ parser: /* @__PURE__ */ ya.configure({
1202
+ props: [
1203
+ /* @__PURE__ */ Xe.add({
1204
+ Declaration: /* @__PURE__ */ st()
1205
+ }),
1206
+ /* @__PURE__ */ ve.add({
1207
+ "Block KeyframeList": Ot
1208
+ })
1209
+ ]
1210
+ }),
1211
+ languageData: {
1212
+ commentTokens: { block: { open: "/*", close: "*/" } },
1213
+ indentOnInput: /^\s*\}$/,
1214
+ wordChars: "-"
1215
+ }
1216
+ });
1217
+ function Va() {
1218
+ return new ke(z, z.data.of({ autocomplete: ka }));
1219
+ }
1220
+ const v = ["_blank", "_self", "_top", "_parent"], M = ["ascii", "utf-8", "utf-16", "latin1", "latin1"], D = ["get", "post", "put", "delete"], I = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"], b = ["true", "false"], s = {}, _a = {
1221
+ a: {
1222
+ attrs: {
1223
+ href: null,
1224
+ ping: null,
1225
+ type: null,
1226
+ media: null,
1227
+ target: v,
1228
+ hreflang: null
1229
+ }
1230
+ },
1231
+ abbr: s,
1232
+ address: s,
1233
+ area: {
1234
+ attrs: {
1235
+ alt: null,
1236
+ coords: null,
1237
+ href: null,
1238
+ target: null,
1239
+ ping: null,
1240
+ media: null,
1241
+ hreflang: null,
1242
+ type: null,
1243
+ shape: ["default", "rect", "circle", "poly"]
1244
+ }
1245
+ },
1246
+ article: s,
1247
+ aside: s,
1248
+ audio: {
1249
+ attrs: {
1250
+ src: null,
1251
+ mediagroup: null,
1252
+ crossorigin: ["anonymous", "use-credentials"],
1253
+ preload: ["none", "metadata", "auto"],
1254
+ autoplay: ["autoplay"],
1255
+ loop: ["loop"],
1256
+ controls: ["controls"]
1257
+ }
1258
+ },
1259
+ b: s,
1260
+ base: { attrs: { href: null, target: v } },
1261
+ bdi: s,
1262
+ bdo: s,
1263
+ blockquote: { attrs: { cite: null } },
1264
+ body: s,
1265
+ br: s,
1266
+ button: {
1267
+ attrs: {
1268
+ form: null,
1269
+ formaction: null,
1270
+ name: null,
1271
+ value: null,
1272
+ autofocus: ["autofocus"],
1273
+ disabled: ["autofocus"],
1274
+ formenctype: I,
1275
+ formmethod: D,
1276
+ formnovalidate: ["novalidate"],
1277
+ formtarget: v,
1278
+ type: ["submit", "reset", "button"]
1279
+ }
1280
+ },
1281
+ canvas: { attrs: { width: null, height: null } },
1282
+ caption: s,
1283
+ center: s,
1284
+ cite: s,
1285
+ code: s,
1286
+ col: { attrs: { span: null } },
1287
+ colgroup: { attrs: { span: null } },
1288
+ command: {
1289
+ attrs: {
1290
+ type: ["command", "checkbox", "radio"],
1291
+ label: null,
1292
+ icon: null,
1293
+ radiogroup: null,
1294
+ command: null,
1295
+ title: null,
1296
+ disabled: ["disabled"],
1297
+ checked: ["checked"]
1298
+ }
1299
+ },
1300
+ data: { attrs: { value: null } },
1301
+ datagrid: { attrs: { disabled: ["disabled"], multiple: ["multiple"] } },
1302
+ datalist: { attrs: { data: null } },
1303
+ dd: s,
1304
+ del: { attrs: { cite: null, datetime: null } },
1305
+ details: { attrs: { open: ["open"] } },
1306
+ dfn: s,
1307
+ div: s,
1308
+ dl: s,
1309
+ dt: s,
1310
+ em: s,
1311
+ embed: { attrs: { src: null, type: null, width: null, height: null } },
1312
+ eventsource: { attrs: { src: null } },
1313
+ fieldset: { attrs: { disabled: ["disabled"], form: null, name: null } },
1314
+ figcaption: s,
1315
+ figure: s,
1316
+ footer: s,
1317
+ form: {
1318
+ attrs: {
1319
+ action: null,
1320
+ name: null,
1321
+ "accept-charset": M,
1322
+ autocomplete: ["on", "off"],
1323
+ enctype: I,
1324
+ method: D,
1325
+ novalidate: ["novalidate"],
1326
+ target: v
1327
+ }
1328
+ },
1329
+ h1: s,
1330
+ h2: s,
1331
+ h3: s,
1332
+ h4: s,
1333
+ h5: s,
1334
+ h6: s,
1335
+ head: {
1336
+ children: ["title", "base", "link", "style", "meta", "script", "noscript", "command"]
1337
+ },
1338
+ header: s,
1339
+ hgroup: s,
1340
+ hr: s,
1341
+ html: {
1342
+ attrs: { manifest: null }
1343
+ },
1344
+ i: s,
1345
+ iframe: {
1346
+ attrs: {
1347
+ src: null,
1348
+ srcdoc: null,
1349
+ name: null,
1350
+ width: null,
1351
+ height: null,
1352
+ sandbox: ["allow-top-navigation", "allow-same-origin", "allow-forms", "allow-scripts"],
1353
+ seamless: ["seamless"]
1354
+ }
1355
+ },
1356
+ img: {
1357
+ attrs: {
1358
+ alt: null,
1359
+ src: null,
1360
+ ismap: null,
1361
+ usemap: null,
1362
+ width: null,
1363
+ height: null,
1364
+ crossorigin: ["anonymous", "use-credentials"]
1365
+ }
1366
+ },
1367
+ input: {
1368
+ attrs: {
1369
+ alt: null,
1370
+ dirname: null,
1371
+ form: null,
1372
+ formaction: null,
1373
+ height: null,
1374
+ list: null,
1375
+ max: null,
1376
+ maxlength: null,
1377
+ min: null,
1378
+ name: null,
1379
+ pattern: null,
1380
+ placeholder: null,
1381
+ size: null,
1382
+ src: null,
1383
+ step: null,
1384
+ value: null,
1385
+ width: null,
1386
+ accept: ["audio/*", "video/*", "image/*"],
1387
+ autocomplete: ["on", "off"],
1388
+ autofocus: ["autofocus"],
1389
+ checked: ["checked"],
1390
+ disabled: ["disabled"],
1391
+ formenctype: I,
1392
+ formmethod: D,
1393
+ formnovalidate: ["novalidate"],
1394
+ formtarget: v,
1395
+ multiple: ["multiple"],
1396
+ readonly: ["readonly"],
1397
+ required: ["required"],
1398
+ type: [
1399
+ "hidden",
1400
+ "text",
1401
+ "search",
1402
+ "tel",
1403
+ "url",
1404
+ "email",
1405
+ "password",
1406
+ "datetime",
1407
+ "date",
1408
+ "month",
1409
+ "week",
1410
+ "time",
1411
+ "datetime-local",
1412
+ "number",
1413
+ "range",
1414
+ "color",
1415
+ "checkbox",
1416
+ "radio",
1417
+ "file",
1418
+ "submit",
1419
+ "image",
1420
+ "reset",
1421
+ "button"
1422
+ ]
1423
+ }
1424
+ },
1425
+ ins: { attrs: { cite: null, datetime: null } },
1426
+ kbd: s,
1427
+ keygen: {
1428
+ attrs: {
1429
+ challenge: null,
1430
+ form: null,
1431
+ name: null,
1432
+ autofocus: ["autofocus"],
1433
+ disabled: ["disabled"],
1434
+ keytype: ["RSA"]
1435
+ }
1436
+ },
1437
+ label: { attrs: { for: null, form: null } },
1438
+ legend: s,
1439
+ li: { attrs: { value: null } },
1440
+ link: {
1441
+ attrs: {
1442
+ href: null,
1443
+ type: null,
1444
+ hreflang: null,
1445
+ media: null,
1446
+ sizes: ["all", "16x16", "16x16 32x32", "16x16 32x32 64x64"]
1447
+ }
1448
+ },
1449
+ map: { attrs: { name: null } },
1450
+ mark: s,
1451
+ menu: { attrs: { label: null, type: ["list", "context", "toolbar"] } },
1452
+ meta: {
1453
+ attrs: {
1454
+ content: null,
1455
+ charset: M,
1456
+ name: ["viewport", "application-name", "author", "description", "generator", "keywords"],
1457
+ "http-equiv": ["content-language", "content-type", "default-style", "refresh"]
1458
+ }
1459
+ },
1460
+ meter: { attrs: { value: null, min: null, low: null, high: null, max: null, optimum: null } },
1461
+ nav: s,
1462
+ noscript: s,
1463
+ object: {
1464
+ attrs: {
1465
+ data: null,
1466
+ type: null,
1467
+ name: null,
1468
+ usemap: null,
1469
+ form: null,
1470
+ width: null,
1471
+ height: null,
1472
+ typemustmatch: ["typemustmatch"]
1473
+ }
1474
+ },
1475
+ ol: {
1476
+ attrs: { reversed: ["reversed"], start: null, type: ["1", "a", "A", "i", "I"] },
1477
+ children: ["li", "script", "template", "ul", "ol"]
1478
+ },
1479
+ optgroup: { attrs: { disabled: ["disabled"], label: null } },
1480
+ option: { attrs: { disabled: ["disabled"], label: null, selected: ["selected"], value: null } },
1481
+ output: { attrs: { for: null, form: null, name: null } },
1482
+ p: s,
1483
+ param: { attrs: { name: null, value: null } },
1484
+ pre: s,
1485
+ progress: { attrs: { value: null, max: null } },
1486
+ q: { attrs: { cite: null } },
1487
+ rp: s,
1488
+ rt: s,
1489
+ ruby: s,
1490
+ samp: s,
1491
+ script: {
1492
+ attrs: {
1493
+ type: ["text/javascript"],
1494
+ src: null,
1495
+ async: ["async"],
1496
+ defer: ["defer"],
1497
+ charset: M
1498
+ }
1499
+ },
1500
+ section: s,
1501
+ select: {
1502
+ attrs: {
1503
+ form: null,
1504
+ name: null,
1505
+ size: null,
1506
+ autofocus: ["autofocus"],
1507
+ disabled: ["disabled"],
1508
+ multiple: ["multiple"]
1509
+ }
1510
+ },
1511
+ slot: { attrs: { name: null } },
1512
+ small: s,
1513
+ source: { attrs: { src: null, type: null, media: null } },
1514
+ span: s,
1515
+ strong: s,
1516
+ style: {
1517
+ attrs: {
1518
+ type: ["text/css"],
1519
+ media: null,
1520
+ scoped: null
1521
+ }
1522
+ },
1523
+ sub: s,
1524
+ summary: s,
1525
+ sup: s,
1526
+ table: s,
1527
+ tbody: s,
1528
+ td: { attrs: { colspan: null, rowspan: null, headers: null } },
1529
+ template: s,
1530
+ textarea: {
1531
+ attrs: {
1532
+ dirname: null,
1533
+ form: null,
1534
+ maxlength: null,
1535
+ name: null,
1536
+ placeholder: null,
1537
+ rows: null,
1538
+ cols: null,
1539
+ autofocus: ["autofocus"],
1540
+ disabled: ["disabled"],
1541
+ readonly: ["readonly"],
1542
+ required: ["required"],
1543
+ wrap: ["soft", "hard"]
1544
+ }
1545
+ },
1546
+ tfoot: s,
1547
+ th: { attrs: { colspan: null, rowspan: null, headers: null, scope: ["row", "col", "rowgroup", "colgroup"] } },
1548
+ thead: s,
1549
+ time: { attrs: { datetime: null } },
1550
+ title: s,
1551
+ tr: s,
1552
+ track: {
1553
+ attrs: {
1554
+ src: null,
1555
+ label: null,
1556
+ default: null,
1557
+ kind: ["subtitles", "captions", "descriptions", "chapters", "metadata"],
1558
+ srclang: null
1559
+ }
1560
+ },
1561
+ ul: { children: ["li", "script", "template", "ul", "ol"] },
1562
+ var: s,
1563
+ video: {
1564
+ attrs: {
1565
+ src: null,
1566
+ poster: null,
1567
+ width: null,
1568
+ height: null,
1569
+ crossorigin: ["anonymous", "use-credentials"],
1570
+ preload: ["auto", "metadata", "none"],
1571
+ autoplay: ["autoplay"],
1572
+ mediagroup: ["movie"],
1573
+ muted: ["muted"],
1574
+ controls: ["controls"]
1575
+ }
1576
+ },
1577
+ wbr: s
1578
+ }, De = {
1579
+ accesskey: null,
1580
+ class: null,
1581
+ contenteditable: b,
1582
+ contextmenu: null,
1583
+ dir: ["ltr", "rtl", "auto"],
1584
+ draggable: ["true", "false", "auto"],
1585
+ dropzone: ["copy", "move", "link", "string:", "file:"],
1586
+ hidden: ["hidden"],
1587
+ id: null,
1588
+ inert: ["inert"],
1589
+ itemid: null,
1590
+ itemprop: null,
1591
+ itemref: null,
1592
+ itemscope: ["itemscope"],
1593
+ itemtype: null,
1594
+ lang: ["ar", "bn", "de", "en-GB", "en-US", "es", "fr", "hi", "id", "ja", "pa", "pt", "ru", "tr", "zh"],
1595
+ spellcheck: b,
1596
+ autocorrect: b,
1597
+ autocapitalize: b,
1598
+ style: null,
1599
+ tabindex: null,
1600
+ title: null,
1601
+ translate: ["yes", "no"],
1602
+ rel: ["stylesheet", "alternate", "author", "bookmark", "help", "license", "next", "nofollow", "noreferrer", "prefetch", "prev", "search", "tag"],
1603
+ role: /* @__PURE__ */ "alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),
1604
+ "aria-activedescendant": null,
1605
+ "aria-atomic": b,
1606
+ "aria-autocomplete": ["inline", "list", "both", "none"],
1607
+ "aria-busy": b,
1608
+ "aria-checked": ["true", "false", "mixed", "undefined"],
1609
+ "aria-controls": null,
1610
+ "aria-describedby": null,
1611
+ "aria-disabled": b,
1612
+ "aria-dropeffect": null,
1613
+ "aria-expanded": ["true", "false", "undefined"],
1614
+ "aria-flowto": null,
1615
+ "aria-grabbed": ["true", "false", "undefined"],
1616
+ "aria-haspopup": b,
1617
+ "aria-hidden": b,
1618
+ "aria-invalid": ["true", "false", "grammar", "spelling"],
1619
+ "aria-label": null,
1620
+ "aria-labelledby": null,
1621
+ "aria-level": null,
1622
+ "aria-live": ["off", "polite", "assertive"],
1623
+ "aria-multiline": b,
1624
+ "aria-multiselectable": b,
1625
+ "aria-owns": null,
1626
+ "aria-posinset": null,
1627
+ "aria-pressed": ["true", "false", "mixed", "undefined"],
1628
+ "aria-readonly": b,
1629
+ "aria-relevant": null,
1630
+ "aria-required": b,
1631
+ "aria-selected": ["true", "false", "undefined"],
1632
+ "aria-setsize": null,
1633
+ "aria-sort": ["ascending", "descending", "none", "other"],
1634
+ "aria-valuemax": null,
1635
+ "aria-valuemin": null,
1636
+ "aria-valuenow": null,
1637
+ "aria-valuetext": null
1638
+ }, Ie = /* @__PURE__ */ "beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map((e) => "on" + e);
1639
+ for (let e of Ie)
1640
+ De[e] = null;
1641
+ class Y {
1642
+ constructor(l, r) {
1643
+ this.tags = Object.assign(Object.assign({}, _a), l), this.globalAttrs = Object.assign(Object.assign({}, De), r), this.allTags = Object.keys(this.tags), this.globalAttrNames = Object.keys(this.globalAttrs);
1644
+ }
1645
+ }
1646
+ Y.default = /* @__PURE__ */ new Y();
1647
+ function w(e, l, r = e.length) {
1648
+ if (!l)
1649
+ return "";
1650
+ let a = l.firstChild, t = a && a.getChild("TagName");
1651
+ return t ? e.sliceString(t.from, Math.min(t.to, r)) : "";
1652
+ }
1653
+ function T(e, l = !1) {
1654
+ for (; e; e = e.parent)
1655
+ if (e.name == "Element")
1656
+ if (l)
1657
+ l = !1;
1658
+ else
1659
+ return e;
1660
+ return null;
1661
+ }
1662
+ function je(e, l, r) {
1663
+ let a = r.tags[w(e, T(l))];
1664
+ return (a == null ? void 0 : a.children) || r.allTags;
1665
+ }
1666
+ function ee(e, l) {
1667
+ let r = [];
1668
+ for (let a = T(l); a && !a.type.isTop; a = T(a.parent)) {
1669
+ let t = w(e, a);
1670
+ if (t && a.lastChild.name == "CloseTag")
1671
+ break;
1672
+ t && r.indexOf(t) < 0 && (l.name == "EndTag" || l.from >= a.firstChild.to) && r.push(t);
1673
+ }
1674
+ return r;
1675
+ }
1676
+ const Le = /^[:\-\.\w\u00b7-\uffff]*$/;
1677
+ function ye(e, l, r, a, t) {
1678
+ let n = /\s*>/.test(e.sliceDoc(t, t + 5)) ? "" : ">", o = T(r, !0);
1679
+ return {
1680
+ from: a,
1681
+ to: t,
1682
+ options: je(e.doc, o, l).map((O) => ({ label: O, type: "type" })).concat(ee(e.doc, r).map((O, d) => ({
1683
+ label: "/" + O,
1684
+ apply: "/" + O + n,
1685
+ type: "type",
1686
+ boost: 99 - d
1687
+ }))),
1688
+ validFor: /^\/?[:\-\.\w\u00b7-\uffff]*$/
1689
+ };
1690
+ }
1691
+ function Pe(e, l, r, a) {
1692
+ let t = /\s*>/.test(e.sliceDoc(a, a + 5)) ? "" : ">";
1693
+ return {
1694
+ from: r,
1695
+ to: a,
1696
+ options: ee(e.doc, l).map((n, o) => ({ label: n, apply: n + t, type: "type", boost: 99 - o })),
1697
+ validFor: Le
1698
+ };
1699
+ }
1700
+ function qa(e, l, r, a) {
1701
+ let t = [], n = 0;
1702
+ for (let o of je(e.doc, r, l))
1703
+ t.push({ label: "<" + o, type: "type" });
1704
+ for (let o of ee(e.doc, r))
1705
+ t.push({ label: "</" + o + ">", type: "type", boost: 99 - n++ });
1706
+ return { from: a, to: a, options: t, validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/ };
1707
+ }
1708
+ function Ca(e, l, r, a, t) {
1709
+ let n = T(r), o = n ? l.tags[w(e.doc, n)] : null, O = o && o.attrs ? Object.keys(o.attrs) : [], d = o && o.globalAttrs === !1 ? O : O.length ? O.concat(l.globalAttrNames) : l.globalAttrNames;
1710
+ return {
1711
+ from: a,
1712
+ to: t,
1713
+ options: d.map((S) => ({ label: S, type: "property" })),
1714
+ validFor: Le
1715
+ };
1716
+ }
1717
+ function Za(e, l, r, a, t) {
1718
+ var n;
1719
+ let o = (n = r.parent) === null || n === void 0 ? void 0 : n.getChild("AttributeName"), O = [], d;
1720
+ if (o) {
1721
+ let S = e.sliceDoc(o.from, o.to), f = l.globalAttrs[S];
1722
+ if (!f) {
1723
+ let m = T(r), c = m ? l.tags[w(e.doc, m)] : null;
1724
+ f = (c == null ? void 0 : c.attrs) && c.attrs[S];
1725
+ }
1726
+ if (f) {
1727
+ let m = e.sliceDoc(a, t).toLowerCase(), c = '"', u = '"';
1728
+ /^['"]/.test(m) ? (d = m[0] == '"' ? /^[^"]*$/ : /^[^']*$/, c = "", u = e.sliceDoc(t, t + 1) == m[0] ? "" : m[0], m = m.slice(1), a++) : d = /^[^\s<>='"]*$/;
1729
+ for (let p of f)
1730
+ O.push({ label: p, apply: c + p + u, type: "constant" });
1731
+ }
1732
+ }
1733
+ return { from: a, to: t, options: O, validFor: d };
1734
+ }
1735
+ function Ra(e, l) {
1736
+ let { state: r, pos: a } = l, t = F(r).resolveInner(a, -1), n = t.resolve(a);
1737
+ for (let o = a, O; n == t && (O = t.childBefore(o)); ) {
1738
+ let d = O.lastChild;
1739
+ if (!d || !d.type.isError || d.from < d.to)
1740
+ break;
1741
+ n = t = O, o = d.from;
1742
+ }
1743
+ return t.name == "TagName" ? t.parent && /CloseTag$/.test(t.parent.name) ? Pe(r, t, t.from, a) : ye(r, e, t, t.from, a) : t.name == "StartTag" ? ye(r, e, t, a, a) : t.name == "StartCloseTag" || t.name == "IncompleteCloseTag" ? Pe(r, t, a, a) : t.name == "OpenTag" || t.name == "SelfClosingTag" || t.name == "AttributeName" ? Ca(r, e, t, t.name == "AttributeName" ? t.from : a, a) : t.name == "Is" || t.name == "AttributeValue" || t.name == "UnquotedAttributeValue" ? Za(r, e, t, t.name == "Is" ? a : t.from, a) : l.explicit && (n.name == "Element" || n.name == "Text" || n.name == "Document") ? qa(r, e, t, a) : null;
1744
+ }
1745
+ function za(e) {
1746
+ let { extraTags: l, extraGlobalAttributes: r } = e, a = r || l ? new Y(l, r) : Y.default;
1747
+ return (t) => Ra(a, t);
1748
+ }
1749
+ const Ya = /* @__PURE__ */ K.parser.configure({ top: "SingleExpression" }), Fe = [
1750
+ {
1751
+ tag: "script",
1752
+ attrs: (e) => e.type == "text/typescript" || e.lang == "ts",
1753
+ parser: dt.parser
1754
+ },
1755
+ {
1756
+ tag: "script",
1757
+ attrs: (e) => e.type == "text/babel" || e.type == "text/jsx",
1758
+ parser: ct.parser
1759
+ },
1760
+ {
1761
+ tag: "script",
1762
+ attrs: (e) => e.type == "text/typescript-jsx",
1763
+ parser: pt.parser
1764
+ },
1765
+ {
1766
+ tag: "script",
1767
+ attrs(e) {
1768
+ return /^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type);
1769
+ },
1770
+ parser: Ya
1771
+ },
1772
+ {
1773
+ tag: "script",
1774
+ attrs(e) {
1775
+ return !e.type || /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type);
1776
+ },
1777
+ parser: K.parser
1778
+ },
1779
+ {
1780
+ tag: "style",
1781
+ attrs(e) {
1782
+ return (!e.lang || e.lang == "css") && (!e.type || /^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type));
1783
+ },
1784
+ parser: z.parser
1785
+ }
1786
+ ], Ke = /* @__PURE__ */ [
1787
+ {
1788
+ name: "style",
1789
+ parser: /* @__PURE__ */ z.parser.configure({ top: "Styles" })
1790
+ }
1791
+ ].concat(/* @__PURE__ */ Ie.map((e) => ({ name: e, parser: K.parser }))), He = /* @__PURE__ */ Te.define({
1792
+ name: "html",
1793
+ parser: /* @__PURE__ */ ta.configure({
1794
+ props: [
1795
+ /* @__PURE__ */ Xe.add({
1796
+ Element(e) {
1797
+ let l = /^(\s*)(<\/)?/.exec(e.textAfter);
1798
+ return e.node.to <= e.pos + l[0].length ? e.continue() : e.lineIndent(e.node.from) + (l[2] ? 0 : e.unit);
1799
+ },
1800
+ "OpenTag CloseTag SelfClosingTag"(e) {
1801
+ return e.column(e.node.from) + e.unit;
1802
+ },
1803
+ Document(e) {
1804
+ if (e.pos + /\s*/.exec(e.textAfter)[0].length < e.node.to)
1805
+ return e.continue();
1806
+ let l = null, r;
1807
+ for (let a = e.node; ; ) {
1808
+ let t = a.lastChild;
1809
+ if (!t || t.name != "Element" || t.to != a.to)
1810
+ break;
1811
+ l = a = t;
1812
+ }
1813
+ return l && !((r = l.lastChild) && (r.name == "CloseTag" || r.name == "SelfClosingTag")) ? e.lineIndent(l.from) + e.unit : null;
1814
+ }
1815
+ }),
1816
+ /* @__PURE__ */ ve.add({
1817
+ Element(e) {
1818
+ let l = e.firstChild, r = e.lastChild;
1819
+ return !l || l.name != "OpenTag" ? null : { from: l.to, to: r.name == "CloseTag" ? r.from : e.to };
1820
+ }
1821
+ }),
1822
+ /* @__PURE__ */ mt.add({
1823
+ "OpenTag CloseTag": (e) => e.getChild("TagName")
1824
+ })
1825
+ ]
1826
+ }),
1827
+ languageData: {
1828
+ commentTokens: { block: { open: "<!--", close: "-->" } },
1829
+ indentOnInput: /^\s*<\/\w+\W$/,
1830
+ wordChars: "-._"
1831
+ }
1832
+ }), C = /* @__PURE__ */ He.configure({
1833
+ wrap: /* @__PURE__ */ Ue(Fe, Ke)
1834
+ });
1835
+ function Wa(e = {}) {
1836
+ let l = "", r;
1837
+ e.matchClosingTags === !1 && (l = "noMatch"), e.selfClosingTags === !0 && (l = (l ? l + " " : "") + "selfClosing"), (e.nestedLanguages && e.nestedLanguages.length || e.nestedAttributes && e.nestedAttributes.length) && (r = Ue((e.nestedLanguages || []).concat(Fe), (e.nestedAttributes || []).concat(Ke)));
1838
+ let a = r ? He.configure({ wrap: r, dialect: l }) : l ? C.configure({ dialect: l }) : C;
1839
+ return new ke(a, [
1840
+ C.data.of({ autocomplete: za(e) }),
1841
+ e.autoCloseTags !== !1 ? Ea : [],
1842
+ Ve().support,
1843
+ Va().support
1844
+ ]);
1845
+ }
1846
+ const $e = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), Ea = /* @__PURE__ */ x.inputHandler.of((e, l, r, a, t) => {
1847
+ if (e.composing || e.state.readOnly || l != r || a != ">" && a != "/" || !C.isActiveAt(e.state, l, -1))
1848
+ return !1;
1849
+ let n = t(), { state: o } = n, O = o.changeByRange((d) => {
1850
+ var S, f, m;
1851
+ let c = o.doc.sliceString(d.from - 1, d.to) == a, { head: u } = d, p = F(o).resolveInner(u, -1), g;
1852
+ if (c && a == ">" && p.name == "EndTag") {
1853
+ let h = p.parent;
1854
+ if (((f = (S = h.parent) === null || S === void 0 ? void 0 : S.lastChild) === null || f === void 0 ? void 0 : f.name) != "CloseTag" && (g = w(o.doc, h.parent, u)) && !$e.has(g)) {
1855
+ let y = u + (o.doc.sliceString(u, u + 1) === ">" ? 1 : 0), V = `</${g}>`;
1856
+ return { range: d, changes: { from: u, to: y, insert: V } };
1857
+ }
1858
+ } else if (c && a == "/" && p.name == "IncompleteCloseTag") {
1859
+ let h = p.parent;
1860
+ if (p.from == u - 2 && ((m = h.lastChild) === null || m === void 0 ? void 0 : m.name) != "CloseTag" && (g = w(o.doc, h, u)) && !$e.has(g)) {
1861
+ let y = u + (o.doc.sliceString(u, u + 1) === ">" ? 1 : 0), V = `${g}>`;
1862
+ return {
1863
+ range: ft.cursor(u + V.length, -1),
1864
+ changes: { from: u, to: y, insert: V }
1865
+ };
1866
+ }
1867
+ }
1868
+ return { range: d };
1869
+ });
1870
+ return O.changes.empty ? !1 : (e.dispatch([
1871
+ n,
1872
+ o.update(O, {
1873
+ userEvent: "input.complete",
1874
+ scrollIntoView: !0
1875
+ })
1876
+ ]), !0);
1877
+ }), Aa = { class: "font-bold ptext-lg dark:text-white" }, Ua = ["id"], Ga = ["name", "id"], Na = ["for"], Ba = ["name", "id"], Ma = ["name", "id"], Da = { class: "gl-span-form-error" }, Ia = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Fa = {
1878
+ __name: "GlCodeMirrorTranslate",
1879
+ props: {
1880
+ modelValue: {
1881
+ type: String,
1882
+ default: ""
1883
+ },
1884
+ language: {
1885
+ type: String,
1886
+ default: "javascript"
1887
+ },
1888
+ theme: {
1889
+ type: String,
1890
+ default: ""
1891
+ },
1892
+ is_required: { type: Boolean, default: !1 },
1893
+ show: { type: Boolean, default: !1 },
1894
+ error_message: { type: String, default: "" },
1895
+ model_value: { type: [String, Number], default: null },
1896
+ type: { type: String, default: "text" },
1897
+ field_name: { type: String, default: "" },
1898
+ label_name: { type: String, default: "" },
1899
+ description: { type: String, default: "" },
1900
+ modelValueTranslate: {
1901
+ type: [String, Object],
1902
+ default: ""
1903
+ },
1904
+ showLineNumbers: {
1905
+ type: Boolean,
1906
+ default: !0
1907
+ },
1908
+ highlightActiveLine: {
1909
+ type: Boolean,
1910
+ default: !0
1911
+ }
1912
+ },
1913
+ emits: ["update:modelValue", "change"],
1914
+ setup(e, { emit: l }) {
1915
+ const r = e, a = l, t = te(null), n = te(null);
1916
+ let o = null;
1917
+ const O = (c) => {
1918
+ switch (c) {
1919
+ case "javascript":
1920
+ return Ve();
1921
+ case "html":
1922
+ return Wa();
1923
+ // Add more languages here
1924
+ default:
1925
+ return [];
1926
+ }
1927
+ }, d = (c) => {
1928
+ switch (c) {
1929
+ case "one-dark":
1930
+ return se;
1931
+ default:
1932
+ return document.body.classList.contains("dark") ? se : [];
1933
+ }
1934
+ }, S = (c) => c ? [ht()] : [], f = (c) => c ? [A()] : [], m = () => {
1935
+ n.value && a("update:modelValueTranslate", n.value.value);
1936
+ };
1937
+ return Je(() => {
1938
+ if (t.value) {
1939
+ const c = St.create({
1940
+ doc: r.modelValue,
1941
+ extensions: [
1942
+ ...S(r.showLineNumbers),
1943
+ ...f(r.highlightActiveLine),
1944
+ A(),
1945
+ //
1946
+ re.of(oe),
1947
+ O(r.language),
1948
+ ...d(r.theme),
1949
+ ne(),
1950
+ x.updateListener.of((u) => {
1951
+ if (u.docChanged) {
1952
+ const p = u.state.doc.toString();
1953
+ a("update:modelValue", p), a("change", p);
1954
+ }
1955
+ }),
1956
+ x.lineWrapping
1957
+ ]
1958
+ });
1959
+ o = new x({
1960
+ state: c,
1961
+ parent: t.value
1962
+ });
1963
+ }
1964
+ r.modelValueTranslate && (a("update:modelValueTranslate", r.modelValueTranslate), n.value.value = r.modelValueTranslate), t.value.classList.add("gl-multilanguage");
1965
+ }), ae(
1966
+ () => r.modelValue,
1967
+ (c) => {
1968
+ if (o) {
1969
+ const u = o.state.doc.toString();
1970
+ c !== u && o.dispatch({
1971
+ changes: {
1972
+ from: 0,
1973
+ to: u.length,
1974
+ insert: c
1975
+ }
1976
+ });
1977
+ }
1978
+ }
1979
+ ), ae(
1980
+ () => [r.language, r.theme, r.showLineNumbers, r.highlightActiveLine],
1981
+ ([c, u, p, g]) => {
1982
+ o && o.dispatch({
1983
+ effects: gt.reconfigure.of([
1984
+ ...S(p),
1985
+ ...f(g),
1986
+ A(),
1987
+ // Ensure it's included if highlightActiveLine is true
1988
+ re.of([...oe]),
1989
+ O(c),
1990
+ ...d(u),
1991
+ ne(),
1992
+ x.updateListener.of((h) => {
1993
+ if (h.docChanged) {
1994
+ const y = h.state.doc.toString();
1995
+ a("update:modelValue", y), a("change", y);
1996
+ }
1997
+ }),
1998
+ x.lineWrapping
1999
+ ])
2000
+ });
2001
+ }
2002
+ ), et(() => {
2003
+ o && o.destroy();
2004
+ }), (c, u) => (E(), W(tt, null, [
2005
+ e.show ? (E(), W("div", {
2006
+ key: 0,
2007
+ class: _(e.field_name)
2008
+ }, [
2009
+ Q("h3", Aa, X(e.label_name), 1),
2010
+ Q("p", {
2011
+ id: e.field_name,
2012
+ class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
2013
+ }, X(e.model_value), 9, Ua),
2014
+ at(Q("input", {
2015
+ type: "hidden",
2016
+ "data-i18n": "true",
2017
+ name: e.field_name + "_i18n",
2018
+ id: e.field_name + "_i18n",
2019
+ ref_key: "input_translate",
2020
+ ref: n,
2021
+ "onUpdate:modelValue": u[0] || (u[0] = (p) => c.inputTranslateValue = p)
2022
+ }, null, 8, Ga), [
2023
+ [lt, c.inputTranslateValue]
2024
+ ]),
2025
+ u[1] || (u[1] = Q("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
2026
+ ], 2)) : le("", !0),
2027
+ e.show ? le("", !0) : (E(), W("div", {
2028
+ key: 1,
2029
+ class: _(["mb-4", e.field_name])
2030
+ }, [
2031
+ Q("label", {
2032
+ class: _({
2033
+ "gl-label-translation-form": e.error_message == "",
2034
+ "gl-label-translation-form-invalid": e.error_message !== "",
2035
+ required: e.is_required
2036
+ }),
2037
+ for: e.field_name
2038
+ }, X(e.label_name), 11, Na),
2039
+ u[2] || (u[2] = Q("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-blue-900 dark:text-blue-300" }, null, -1)),
2040
+ Q("input", {
2041
+ class: "mb-4",
2042
+ type: "hidden",
2043
+ "data-i18n": "true",
2044
+ name: e.field_name + "_i18n",
2045
+ id: e.field_name + "_i18n",
2046
+ onChange: m,
2047
+ ref_key: "input_translate",
2048
+ ref: n
2049
+ }, null, 40, Ba),
2050
+ Q("div", {
2051
+ ref_key: "editor",
2052
+ ref: t,
2053
+ class: _(["CodeEditor custom-editor form-input-translation", {
2054
+ "gl-input-form": e.error_message == "",
2055
+ "gl-input-form-invalid ": e.error_message !== ""
2056
+ }]),
2057
+ name: e.field_name,
2058
+ id: e.field_name
2059
+ }, null, 10, Ma),
2060
+ Q("span", Da, X(e.error_message), 1),
2061
+ Q("small", Ia, X(e.description), 1)
2062
+ ], 2))
2063
+ ], 64));
2064
+ }
2065
+ };
2066
+ export {
2067
+ Fa as default
2068
+ };