@camunda/copilot-chat 0.4.2 → 0.4.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 (222) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +5423 -28
  3. package/dist/package.json +6 -2
  4. package/package.json +6 -2
  5. package/dist/ConversationHistoryPanel/ConversationHistoryPanel.d.ts +0 -19
  6. package/dist/ConversationHistoryPanel/ConversationHistoryPanel.d.ts.map +0 -1
  7. package/dist/ConversationHistoryPanel/ConversationHistoryRow.d.ts +0 -14
  8. package/dist/ConversationHistoryPanel/ConversationHistoryRow.d.ts.map +0 -1
  9. package/dist/ConversationHistoryPanel/index.d.ts +0 -2
  10. package/dist/ConversationHistoryPanel/index.d.ts.map +0 -1
  11. package/dist/CopilotChat.d.ts +0 -18
  12. package/dist/CopilotChat.d.ts.map +0 -1
  13. package/dist/CopilotSidecar.d.ts +0 -12
  14. package/dist/CopilotSidecar.d.ts.map +0 -1
  15. package/dist/apl-B2DGVGxc.mjs +0 -76
  16. package/dist/asciiarmor-2LVJmxlE.mjs +0 -34
  17. package/dist/asn1-jKiBa2Ya.mjs +0 -95
  18. package/dist/asterisk-DS281yxp.mjs +0 -271
  19. package/dist/clike-BMALKCNj.mjs +0 -620
  20. package/dist/clojure-CCKyeQKf.mjs +0 -800
  21. package/dist/cmake-CuaCgAKt.mjs +0 -28
  22. package/dist/cobol-BlTKFDRj.mjs +0 -72
  23. package/dist/codemirror-runtime-DN57DLqx.mjs +0 -14620
  24. package/dist/coffeescript-BVCvwO8I.mjs +0 -179
  25. package/dist/commonlisp-D_kxz07b.mjs +0 -75
  26. package/dist/crystal-D309uH6_.mjs +0 -217
  27. package/dist/css-BkF-NPzE.mjs +0 -1553
  28. package/dist/cypher-BMq4Fwjl.mjs +0 -68
  29. package/dist/d-BZcgY6La.mjs +0 -127
  30. package/dist/diff-Cg9d_RX2.mjs +0 -18
  31. package/dist/dockerfile-BmicwmnY.mjs +0 -194
  32. package/dist/dtd-CtLokQ-U.mjs +0 -84
  33. package/dist/dylan-QYeExnWK.mjs +0 -234
  34. package/dist/ebnf-DUPDuY4r.mjs +0 -78
  35. package/dist/ecl-CiXN-g_D.mjs +0 -121
  36. package/dist/eiffel-yQhjl4T1.mjs +0 -110
  37. package/dist/elm-CNT9vbN0.mjs +0 -108
  38. package/dist/erlang-CFOYdy9e.mjs +0 -487
  39. package/dist/factor-CYi8BYN3.mjs +0 -65
  40. package/dist/fcl-CPC2WYrI.mjs +0 -103
  41. package/dist/forth-BmxRyE9S.mjs +0 -60
  42. package/dist/fortran-9bvPyrOW.mjs +0 -442
  43. package/dist/gas-cpmYfFX2.mjs +0 -183
  44. package/dist/gherkin-CJuwpceU.mjs +0 -34
  45. package/dist/groovy-DZeT_VM-.mjs +0 -146
  46. package/dist/haskell-CxiO_7JL.mjs +0 -375
  47. package/dist/haxe-70NVW1pR.mjs +0 -359
  48. package/dist/hooks/index.d.ts +0 -7
  49. package/dist/hooks/index.d.ts.map +0 -1
  50. package/dist/hooks/useAgentAdapter.d.ts +0 -3
  51. package/dist/hooks/useAgentAdapter.d.ts.map +0 -1
  52. package/dist/hooks/useConversationLifecycle.d.ts +0 -16
  53. package/dist/hooks/useConversationLifecycle.d.ts.map +0 -1
  54. package/dist/hooks/useCopilotSidecar.d.ts +0 -6
  55. package/dist/hooks/useCopilotSidecar.d.ts.map +0 -1
  56. package/dist/hooks/useEventProcessing.d.ts +0 -26
  57. package/dist/hooks/useEventProcessing.d.ts.map +0 -1
  58. package/dist/hooks/useToolExecution.d.ts +0 -11
  59. package/dist/hooks/useToolExecution.d.ts.map +0 -1
  60. package/dist/hooks/useTransportSubscription.d.ts +0 -6
  61. package/dist/hooks/useTransportSubscription.d.ts.map +0 -1
  62. package/dist/http-D9LttvKF.mjs +0 -44
  63. package/dist/idl-B6TRFYjl.mjs +0 -947
  64. package/dist/index-61nyxvLt.mjs +0 -138
  65. package/dist/index-9DDv9i4k.mjs +0 -555
  66. package/dist/index-9LzGM3Tf.mjs +0 -101
  67. package/dist/index-B68tiRpB.mjs +0 -342
  68. package/dist/index-BFfuxTl0.mjs +0 -248
  69. package/dist/index-BN1g2LCp.mjs +0 -270
  70. package/dist/index-BZylef8t.mjs +0 -612
  71. package/dist/index-BsJOd3yN.mjs +0 -253
  72. package/dist/index-BvOoeB_X.mjs +0 -310
  73. package/dist/index-C2BPUXNG.mjs +0 -946
  74. package/dist/index-CNSMHaJL.mjs +0 -302
  75. package/dist/index-CWVsn7Ik.mjs +0 -1918
  76. package/dist/index-CYJusi0T.mjs +0 -565
  77. package/dist/index-CYMOKrFz.mjs +0 -157
  78. package/dist/index-Cu_bl2ol.mjs +0 -1307
  79. package/dist/index-Ddm1PyM_.mjs +0 -289
  80. package/dist/index-DfGa1EZ6.mjs +0 -960
  81. package/dist/index-FIfj5vEl.mjs +0 -94
  82. package/dist/index-K8lyX8F9.mjs +0 -76
  83. package/dist/index-TBOAg0OP.mjs +0 -21326
  84. package/dist/index-bxhTUN49.mjs +0 -74
  85. package/dist/index-mqjp_-mu.mjs +0 -59
  86. package/dist/index-snW0nLB3.mjs +0 -136
  87. package/dist/index.d.ts +0 -20
  88. package/dist/index.d.ts.map +0 -1
  89. package/dist/javascript-DOuB9oqA.mjs +0 -691
  90. package/dist/julia-DpvXAuO6.mjs +0 -241
  91. package/dist/layout/attachSidecarLayout.d.ts +0 -4
  92. package/dist/layout/attachSidecarLayout.d.ts.map +0 -1
  93. package/dist/layout/index.d.ts +0 -2
  94. package/dist/layout/index.d.ts.map +0 -1
  95. package/dist/layout/sidecarDom.d.ts +0 -10
  96. package/dist/layout/sidecarDom.d.ts.map +0 -1
  97. package/dist/layout/sidecarMediaQuery.d.ts +0 -3
  98. package/dist/layout/sidecarMediaQuery.d.ts.map +0 -1
  99. package/dist/layout/sidecarState.d.ts +0 -29
  100. package/dist/layout/sidecarState.d.ts.map +0 -1
  101. package/dist/layout/sidecarTypes.d.ts +0 -14
  102. package/dist/layout/sidecarTypes.d.ts.map +0 -1
  103. package/dist/livescript-CanGTf8u.mjs +0 -272
  104. package/dist/lua-XplVlWi_.mjs +0 -217
  105. package/dist/mathematica-jaRHnSxC.mjs +0 -35
  106. package/dist/mbox-BctzC1hL.mjs +0 -76
  107. package/dist/mirc-CFBPAOaF.mjs +0 -72
  108. package/dist/mllike-BSnXJBGA.mjs +0 -272
  109. package/dist/modelica-vUgVs--1.mjs +0 -93
  110. package/dist/mscgen-Cpl0NYLN.mjs +0 -104
  111. package/dist/mumps-CQoS1kWX.mjs +0 -25
  112. package/dist/nginx-zDPm3Z74.mjs +0 -89
  113. package/dist/nsis-DYWPgAyk.mjs +0 -62
  114. package/dist/ntriples-CsNjv2QF.mjs +0 -79
  115. package/dist/octave-C8PmmSRH.mjs +0 -143
  116. package/dist/oz-Ce8aN8oE.mjs +0 -151
  117. package/dist/pascal-De0D6mP7.mjs +0 -77
  118. package/dist/perl-B4bSCe1C.mjs +0 -915
  119. package/dist/pig-D24Z8EXi.mjs +0 -54
  120. package/dist/powershell-DkYVfTzP.mjs +0 -249
  121. package/dist/properties-Dn9wna3M.mjs +0 -26
  122. package/dist/protobuf-BPIjwpzm.mjs +0 -49
  123. package/dist/pug-Bz8aeT0D.mjs +0 -248
  124. package/dist/puppet-nyd4dhjf.mjs +0 -45
  125. package/dist/python-BkR3uSy8.mjs +0 -313
  126. package/dist/q-DyHZGnqm.mjs +0 -86
  127. package/dist/r-LKEuhEGI.mjs +0 -104
  128. package/dist/registry/index.d.ts +0 -2
  129. package/dist/registry/index.d.ts.map +0 -1
  130. package/dist/registry/toolDefinitions.d.ts +0 -10
  131. package/dist/registry/toolDefinitions.d.ts.map +0 -1
  132. package/dist/registry/toolRegistry.d.ts +0 -29
  133. package/dist/registry/toolRegistry.d.ts.map +0 -1
  134. package/dist/rpm-IznJm2Xc.mjs +0 -57
  135. package/dist/ruby-CcYfvIk6.mjs +0 -228
  136. package/dist/sas-7E8yHoCW.mjs +0 -105
  137. package/dist/scheme-DjibxsNh.mjs +0 -124
  138. package/dist/shell-C0C2sNA_.mjs +0 -182
  139. package/dist/sidecar-api.d.ts +0 -5
  140. package/dist/sidecar-api.d.ts.map +0 -1
  141. package/dist/sieve-Bwz7vjP5.mjs +0 -72
  142. package/dist/simple-mode-mNVtnu0l.mjs +0 -89
  143. package/dist/smalltalk-Bhddl2pB.mjs +0 -48
  144. package/dist/solr-BNlsLglM.mjs +0 -41
  145. package/dist/sparql-FarWu_Gb.mjs +0 -197
  146. package/dist/spreadsheet-C-cy4P5N.mjs +0 -49
  147. package/dist/sql-CfG5lQ3l.mjs +0 -282
  148. package/dist/stex-Du4h4KAU.mjs +0 -129
  149. package/dist/store/agentStore.d.ts +0 -27
  150. package/dist/store/agentStore.d.ts.map +0 -1
  151. package/dist/store/agentStoreEventProcessor.d.ts +0 -21
  152. package/dist/store/agentStoreEventProcessor.d.ts.map +0 -1
  153. package/dist/store/chatStore.d.ts +0 -36
  154. package/dist/store/chatStore.d.ts.map +0 -1
  155. package/dist/store/historyStore.d.ts +0 -25
  156. package/dist/store/historyStore.d.ts.map +0 -1
  157. package/dist/store/index.d.ts +0 -5
  158. package/dist/store/index.d.ts.map +0 -1
  159. package/dist/store/sidecarStore.d.ts +0 -9
  160. package/dist/store/sidecarStore.d.ts.map +0 -1
  161. package/dist/styles/ensureSidecarStyles.d.ts +0 -2
  162. package/dist/styles/ensureSidecarStyles.d.ts.map +0 -1
  163. package/dist/stylus-CAdqWld3.mjs +0 -250
  164. package/dist/swift-DSxqR9R6.mjs +0 -230
  165. package/dist/sync-ottB0RsS.mjs +0 -1251
  166. package/dist/table-runtime-eW_FiMnH.mjs +0 -3606
  167. package/dist/tcl-xfoLljhY.mjs +0 -81
  168. package/dist/test-setup.d.ts +0 -1
  169. package/dist/test-setup.d.ts.map +0 -1
  170. package/dist/textile-D1AWE-pc.mjs +0 -295
  171. package/dist/tiddlywiki-5wqsXtSk.mjs +0 -155
  172. package/dist/tiki-__Kn3CeS.mjs +0 -181
  173. package/dist/toml-DWAmxCjl.mjs +0 -58
  174. package/dist/tools/kapaAi/KapaSearchBridge.d.ts +0 -7
  175. package/dist/tools/kapaAi/KapaSearchBridge.d.ts.map +0 -1
  176. package/dist/tools/kapaAi/kapaSearchExecutor.d.ts +0 -35
  177. package/dist/tools/kapaAi/kapaSearchExecutor.d.ts.map +0 -1
  178. package/dist/tools/kapaAi/kapaSearchTool.d.ts +0 -24
  179. package/dist/tools/kapaAi/kapaSearchTool.d.ts.map +0 -1
  180. package/dist/troff-D2UO-fKf.mjs +0 -35
  181. package/dist/ttcn-Bsa4sfRm.mjs +0 -123
  182. package/dist/ttcn-cfg-Bac_acMi.mjs +0 -88
  183. package/dist/turtle-xwJUxoPV.mjs +0 -80
  184. package/dist/types/agentTypes.d.ts +0 -11
  185. package/dist/types/agentTypes.d.ts.map +0 -1
  186. package/dist/types/chatTypes.d.ts +0 -45
  187. package/dist/types/chatTypes.d.ts.map +0 -1
  188. package/dist/types/eventTypes.d.ts +0 -28
  189. package/dist/types/eventTypes.d.ts.map +0 -1
  190. package/dist/types/historyTypes.d.ts +0 -34
  191. package/dist/types/historyTypes.d.ts.map +0 -1
  192. package/dist/types/index.d.ts +0 -5
  193. package/dist/types/index.d.ts.map +0 -1
  194. package/dist/types/toolTypes.d.ts +0 -51
  195. package/dist/types/toolTypes.d.ts.map +0 -1
  196. package/dist/types/transportTypes.d.ts +0 -49
  197. package/dist/types/transportTypes.d.ts.map +0 -1
  198. package/dist/utils/eventHandlers.d.ts +0 -34
  199. package/dist/utils/eventHandlers.d.ts.map +0 -1
  200. package/dist/utils/eventPredicates.d.ts +0 -10
  201. package/dist/utils/eventPredicates.d.ts.map +0 -1
  202. package/dist/utils/index.d.ts +0 -7
  203. package/dist/utils/index.d.ts.map +0 -1
  204. package/dist/utils/mapConversationMessages.d.ts +0 -12
  205. package/dist/utils/mapConversationMessages.d.ts.map +0 -1
  206. package/dist/utils/parseToolArguments.d.ts +0 -6
  207. package/dist/utils/parseToolArguments.d.ts.map +0 -1
  208. package/dist/utils/statusLabels.d.ts +0 -3
  209. package/dist/utils/statusLabels.d.ts.map +0 -1
  210. package/dist/utils/thinkingBlockUtils.d.ts +0 -18
  211. package/dist/utils/thinkingBlockUtils.d.ts.map +0 -1
  212. package/dist/utils/toolResultFormatter.d.ts +0 -6
  213. package/dist/utils/toolResultFormatter.d.ts.map +0 -1
  214. package/dist/vb-c2kQGd6-.mjs +0 -74
  215. package/dist/vbscript-1f_Dhg5H.mjs +0 -324
  216. package/dist/velocity-DJd0pTTC.mjs +0 -96
  217. package/dist/verilog-CiS1jyi5.mjs +0 -262
  218. package/dist/vhdl-T9HkrbI2.mjs +0 -106
  219. package/dist/webidl-CjfDENEo.mjs +0 -155
  220. package/dist/xquery-Ct6lEb4B.mjs +0 -422
  221. package/dist/yacas-C0absKBh.mjs +0 -73
  222. package/dist/z80-Pki2zAjW.mjs +0 -61
@@ -1,946 +0,0 @@
1
- import { L as be, E as $, C as he } from "./index-Cu_bl2ol.mjs";
2
- import { p as Te, s as Pe, t as b, E as xe, e as K, a as Ve, L as ye, i as we, f as ve, A as Xe } from "./codemirror-runtime-DN57DLqx.mjs";
3
- import { cssLanguage as J, css as $e } from "./index-DfGa1EZ6.mjs";
4
- import { typescriptLanguage as _e, jsxLanguage as qe, tsxLanguage as Ce, javascriptLanguage as M, javascript as ke } from "./index-9DDv9i4k.mjs";
5
- import { t as Qe } from "./index-TBOAg0OP.mjs";
6
- const Ae = 55, Ye = 1, Me = 56, Re = 2, Ee = 57, Ze = 3, z = 4, Be = 5, R = 6, ee = 7, te = 8, ae = 9, le = 10, ze = 11, De = 12, We = 13, _ = 58, Ne = 14, Ge = 15, D = 59, re = 21, Ie = 23, ne = 24, je = 25, A = 27, se = 28, Ue = 29, Le = 32, Fe = 35, He = 37, Ke = 38, Je = 0, et = 1, tt = {
7
- area: !0,
8
- base: !0,
9
- br: !0,
10
- col: !0,
11
- command: !0,
12
- embed: !0,
13
- frame: !0,
14
- hr: !0,
15
- img: !0,
16
- input: !0,
17
- keygen: !0,
18
- link: !0,
19
- meta: !0,
20
- param: !0,
21
- source: !0,
22
- track: !0,
23
- wbr: !0,
24
- menuitem: !0
25
- }, at = {
26
- dd: !0,
27
- li: !0,
28
- optgroup: !0,
29
- option: !0,
30
- p: !0,
31
- rp: !0,
32
- rt: !0,
33
- tbody: !0,
34
- td: !0,
35
- tfoot: !0,
36
- th: !0,
37
- tr: !0
38
- }, W = {
39
- dd: { dd: !0, dt: !0 },
40
- dt: { dd: !0, dt: !0 },
41
- li: { li: !0 },
42
- option: { option: !0, optgroup: !0 },
43
- optgroup: { optgroup: !0 },
44
- p: {
45
- address: !0,
46
- article: !0,
47
- aside: !0,
48
- blockquote: !0,
49
- dir: !0,
50
- div: !0,
51
- dl: !0,
52
- fieldset: !0,
53
- footer: !0,
54
- form: !0,
55
- h1: !0,
56
- h2: !0,
57
- h3: !0,
58
- h4: !0,
59
- h5: !0,
60
- h6: !0,
61
- header: !0,
62
- hgroup: !0,
63
- hr: !0,
64
- menu: !0,
65
- nav: !0,
66
- ol: !0,
67
- p: !0,
68
- pre: !0,
69
- section: !0,
70
- table: !0,
71
- ul: !0
72
- },
73
- rp: { rp: !0, rt: !0 },
74
- rt: { rp: !0, rt: !0 },
75
- tbody: { tbody: !0, tfoot: !0 },
76
- td: { td: !0, th: !0 },
77
- tfoot: { tbody: !0 },
78
- th: { td: !0, th: !0 },
79
- thead: { tbody: !0, tfoot: !0 },
80
- tr: { tr: !0 }
81
- };
82
- function lt(e) {
83
- return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
84
- }
85
- let N = null, G = null, I = 0;
86
- function Y(e, a) {
87
- let r = e.pos + a;
88
- if (I == r && G == e) return N;
89
- let l = e.peek(a), t = "";
90
- for (; lt(l); )
91
- t += String.fromCharCode(l), l = e.peek(++a);
92
- return G = e, I = r, N = t ? t.toLowerCase() : l == rt || l == nt ? void 0 : null;
93
- }
94
- const oe = 60, X = 62, E = 47, rt = 63, nt = 33, st = 45;
95
- function j(e, a) {
96
- this.name = e, this.parent = a;
97
- }
98
- const ot = [R, le, ee, te, ae], it = new he({
99
- start: null,
100
- shift(e, a, r, l) {
101
- return ot.indexOf(a) > -1 ? new j(Y(l, 1) || "", e) : e;
102
- },
103
- reduce(e, a) {
104
- return a == re && e ? e.parent : e;
105
- },
106
- reuse(e, a, r, l) {
107
- let t = a.type.id;
108
- return t == R || t == He ? new j(Y(l, 1) || "", e) : e;
109
- },
110
- strict: !1
111
- }), ut = new $((e, a) => {
112
- if (e.next != oe) {
113
- e.next < 0 && a.context && e.acceptToken(_);
114
- return;
115
- }
116
- e.advance();
117
- let r = e.next == E;
118
- r && e.advance();
119
- let l = Y(e, 0);
120
- if (l === void 0) return;
121
- if (!l) return e.acceptToken(r ? Ge : Ne);
122
- let t = a.context ? a.context.name : null;
123
- if (r) {
124
- if (l == t) return e.acceptToken(ze);
125
- if (t && at[t]) return e.acceptToken(_, -2);
126
- if (a.dialectEnabled(Je)) return e.acceptToken(De);
127
- for (let s = a.context; s; s = s.parent) if (s.name == l) return;
128
- e.acceptToken(We);
129
- } else {
130
- if (l == "script") return e.acceptToken(ee);
131
- if (l == "style") return e.acceptToken(te);
132
- if (l == "textarea") return e.acceptToken(ae);
133
- if (tt.hasOwnProperty(l)) return e.acceptToken(le);
134
- t && W[t] && W[t][l] ? e.acceptToken(_, -1) : e.acceptToken(R);
135
- }
136
- }, { contextual: !0 }), Ot = new $((e) => {
137
- for (let a = 0, r = 0; ; r++) {
138
- if (e.next < 0) {
139
- r && e.acceptToken(D);
140
- break;
141
- }
142
- if (e.next == st)
143
- a++;
144
- else if (e.next == X && a >= 2) {
145
- r >= 3 && e.acceptToken(D, -2);
146
- break;
147
- } else
148
- a = 0;
149
- e.advance();
150
- }
151
- });
152
- function dt(e) {
153
- for (; e; e = e.parent)
154
- if (e.name == "svg" || e.name == "math") return !0;
155
- return !1;
156
- }
157
- const ct = new $((e, a) => {
158
- if (e.next == E && e.peek(1) == X) {
159
- let r = a.dialectEnabled(et) || dt(a.context);
160
- e.acceptToken(r ? Be : z, 2);
161
- } else e.next == X && e.acceptToken(z, 1);
162
- });
163
- function Z(e, a, r) {
164
- let l = 2 + e.length;
165
- return new $((t) => {
166
- for (let s = 0, o = 0, i = 0; ; i++) {
167
- if (t.next < 0) {
168
- i && t.acceptToken(a);
169
- break;
170
- }
171
- if (s == 0 && t.next == oe || s == 1 && t.next == E || s >= 2 && s < l && t.next == e.charCodeAt(s - 2))
172
- s++, o++;
173
- else if (s == l && t.next == X) {
174
- i > o ? t.acceptToken(a, -o) : t.acceptToken(r, -(o - 2));
175
- break;
176
- } else if ((t.next == 10 || t.next == 13) && i) {
177
- t.acceptToken(a, 1);
178
- break;
179
- } else
180
- s = o = 0;
181
- t.advance();
182
- }
183
- });
184
- }
185
- const pt = Z("script", Ae, Ye), mt = Z("style", Me, Re), ft = Z("textarea", Ee, Ze), gt = Pe({
186
- "Text RawText IncompleteTag IncompleteCloseTag": b.content,
187
- "StartTag StartCloseTag SelfClosingEndTag EndTag": b.angleBracket,
188
- TagName: b.tagName,
189
- "MismatchedCloseTag/TagName": [b.tagName, b.invalid],
190
- AttributeName: b.attributeName,
191
- "AttributeValue UnquotedAttributeValue": b.attributeValue,
192
- Is: b.definitionOperator,
193
- "EntityReference CharacterReference": b.character,
194
- Comment: b.blockComment,
195
- ProcessingInst: b.processingInstruction,
196
- DoctypeDecl: b.documentMeta
197
- }), St = be.deserialize({
198
- version: 14,
199
- states: ",xOVO!rOOO!ZQ#tO'#CrO!`Q#tO'#C{O!eQ#tO'#DOO!jQ#tO'#DRO!oQ#tO'#DTO!tOaO'#CqO#PObO'#CqO#[OdO'#CqO$kO!rO'#CqOOO`'#Cq'#CqO$rO$fO'#DUO$zQ#tO'#DWO%PQ#tO'#DXOOO`'#Dl'#DlOOO`'#DZ'#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ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gwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~",
201
- goto: "%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^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",
202
- nodeNames: "⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteTag 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",
203
- maxTerm: 68,
204
- context: it,
205
- nodeProps: [
206
- ["closedBy", -10, 1, 2, 3, 7, 8, 9, 10, 11, 12, 13, "EndTag", 6, "EndTag SelfClosingEndTag", -4, 22, 31, 34, 37, "CloseTag"],
207
- ["openedBy", 4, "StartTag StartCloseTag", 5, "StartTag", -4, 30, 33, 36, 38, "OpenTag"],
208
- ["group", -10, 14, 15, 18, 19, 20, 21, 40, 41, 42, 43, "Entity", 17, "Entity TextContent", -3, 29, 32, 35, "TextContent Entity"],
209
- ["isolate", -11, 22, 30, 31, 33, 34, 36, 37, 38, 39, 42, 43, "ltr", -3, 27, 28, 40, ""]
210
- ],
211
- propSources: [gt],
212
- skippedNodes: [0],
213
- repeatNodeCount: 9,
214
- 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$|caPlW!b`!dpOX$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&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UVaP!dpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pTaPOv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!dpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&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!4t;'S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",
215
- tokenizers: [pt, mt, ft, ct, ut, Ot, 0, 1, 2, 3, 4, 5],
216
- topRules: { Document: [0, 16] },
217
- dialects: { noMatch: 0, selfClosing: 515 },
218
- tokenPrec: 517
219
- });
220
- function ie(e, a) {
221
- let r = /* @__PURE__ */ Object.create(null);
222
- for (let l of e.getChildren(ne)) {
223
- let t = l.getChild(je), s = l.getChild(A) || l.getChild(se);
224
- t && (r[a.read(t.from, t.to)] = s ? s.type.id == A ? a.read(s.from + 1, s.to - 1) : a.read(s.from, s.to) : "");
225
- }
226
- return r;
227
- }
228
- function U(e, a) {
229
- let r = e.getChild(Ie);
230
- return r ? a.read(r.from, r.to) : " ";
231
- }
232
- function q(e, a, r) {
233
- let l;
234
- for (let t of r)
235
- if (!t.attrs || t.attrs(l || (l = ie(e.node.parent.firstChild, a))))
236
- return { parser: t.parser, bracketed: !0 };
237
- return null;
238
- }
239
- function ue(e = [], a = []) {
240
- let r = [], l = [], t = [], s = [];
241
- for (let i of e)
242
- (i.tag == "script" ? r : i.tag == "style" ? l : i.tag == "textarea" ? t : s).push(i);
243
- let o = a.length ? /* @__PURE__ */ Object.create(null) : null;
244
- for (let i of a) (o[i.name] || (o[i.name] = [])).push(i);
245
- return Te((i, u) => {
246
- let f = i.type.id;
247
- if (f == Ue) return q(i, u, r);
248
- if (f == Le) return q(i, u, l);
249
- if (f == Fe) return q(i, u, t);
250
- if (f == re && s.length) {
251
- let p = i.node, d = p.firstChild, m = d && U(d, u), O;
252
- if (m) {
253
- for (let c of s)
254
- if (c.tag == m && (!c.attrs || c.attrs(O || (O = ie(d, u))))) {
255
- let S = p.lastChild, h = S.type.id == Ke ? S.from : p.to;
256
- if (h > d.to)
257
- return { parser: c.parser, overlay: [{ from: d.to, to: h }] };
258
- }
259
- }
260
- }
261
- if (o && f == ne) {
262
- let p = i.node, d;
263
- if (d = p.firstChild) {
264
- let m = o[u.read(d.from, d.to)];
265
- if (m) for (let O of m) {
266
- if (O.tagName && O.tagName != U(p.parent, u)) continue;
267
- let c = p.lastChild;
268
- if (c.type.id == A) {
269
- let S = c.from + 1, h = c.lastChild, T = c.to - (h && h.isError ? 0 : 1);
270
- if (T > S) return { parser: O.parser, overlay: [{ from: S, to: T }], bracketed: !0 };
271
- } else if (c.type.id == se)
272
- return { parser: O.parser, overlay: [{ from: c.from, to: c.to }] };
273
- }
274
- }
275
- }
276
- return null;
277
- });
278
- }
279
- const V = ["_blank", "_self", "_top", "_parent"], C = ["ascii", "utf-8", "utf-16", "latin1", "latin1"], k = ["get", "post", "put", "delete"], Q = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"], g = ["true", "false"], n = {}, bt = {
280
- a: {
281
- attrs: {
282
- href: null,
283
- ping: null,
284
- type: null,
285
- media: null,
286
- target: V,
287
- hreflang: null
288
- }
289
- },
290
- abbr: n,
291
- address: n,
292
- area: {
293
- attrs: {
294
- alt: null,
295
- coords: null,
296
- href: null,
297
- target: null,
298
- ping: null,
299
- media: null,
300
- hreflang: null,
301
- type: null,
302
- shape: ["default", "rect", "circle", "poly"]
303
- }
304
- },
305
- article: n,
306
- aside: n,
307
- audio: {
308
- attrs: {
309
- src: null,
310
- mediagroup: null,
311
- crossorigin: ["anonymous", "use-credentials"],
312
- preload: ["none", "metadata", "auto"],
313
- autoplay: ["autoplay"],
314
- loop: ["loop"],
315
- controls: ["controls"]
316
- }
317
- },
318
- b: n,
319
- base: { attrs: { href: null, target: V } },
320
- bdi: n,
321
- bdo: n,
322
- blockquote: { attrs: { cite: null } },
323
- body: n,
324
- br: n,
325
- button: {
326
- attrs: {
327
- form: null,
328
- formaction: null,
329
- name: null,
330
- value: null,
331
- autofocus: ["autofocus"],
332
- disabled: ["autofocus"],
333
- formenctype: Q,
334
- formmethod: k,
335
- formnovalidate: ["novalidate"],
336
- formtarget: V,
337
- type: ["submit", "reset", "button"]
338
- }
339
- },
340
- canvas: { attrs: { width: null, height: null } },
341
- caption: n,
342
- center: n,
343
- cite: n,
344
- code: n,
345
- col: { attrs: { span: null } },
346
- colgroup: { attrs: { span: null } },
347
- command: {
348
- attrs: {
349
- type: ["command", "checkbox", "radio"],
350
- label: null,
351
- icon: null,
352
- radiogroup: null,
353
- command: null,
354
- title: null,
355
- disabled: ["disabled"],
356
- checked: ["checked"]
357
- }
358
- },
359
- data: { attrs: { value: null } },
360
- datagrid: { attrs: { disabled: ["disabled"], multiple: ["multiple"] } },
361
- datalist: { attrs: { data: null } },
362
- dd: n,
363
- del: { attrs: { cite: null, datetime: null } },
364
- details: { attrs: { open: ["open"] } },
365
- dfn: n,
366
- div: n,
367
- dl: n,
368
- dt: n,
369
- em: n,
370
- embed: { attrs: { src: null, type: null, width: null, height: null } },
371
- eventsource: { attrs: { src: null } },
372
- fieldset: { attrs: { disabled: ["disabled"], form: null, name: null } },
373
- figcaption: n,
374
- figure: n,
375
- footer: n,
376
- form: {
377
- attrs: {
378
- action: null,
379
- name: null,
380
- "accept-charset": C,
381
- autocomplete: ["on", "off"],
382
- enctype: Q,
383
- method: k,
384
- novalidate: ["novalidate"],
385
- target: V
386
- }
387
- },
388
- h1: n,
389
- h2: n,
390
- h3: n,
391
- h4: n,
392
- h5: n,
393
- h6: n,
394
- head: {
395
- children: ["title", "base", "link", "style", "meta", "script", "noscript", "command"]
396
- },
397
- header: n,
398
- hgroup: n,
399
- hr: n,
400
- html: {
401
- attrs: { manifest: null }
402
- },
403
- i: n,
404
- iframe: {
405
- attrs: {
406
- src: null,
407
- srcdoc: null,
408
- name: null,
409
- width: null,
410
- height: null,
411
- sandbox: ["allow-top-navigation", "allow-same-origin", "allow-forms", "allow-scripts"],
412
- seamless: ["seamless"]
413
- }
414
- },
415
- img: {
416
- attrs: {
417
- alt: null,
418
- src: null,
419
- ismap: null,
420
- usemap: null,
421
- width: null,
422
- height: null,
423
- crossorigin: ["anonymous", "use-credentials"]
424
- }
425
- },
426
- input: {
427
- attrs: {
428
- alt: null,
429
- dirname: null,
430
- form: null,
431
- formaction: null,
432
- height: null,
433
- list: null,
434
- max: null,
435
- maxlength: null,
436
- min: null,
437
- name: null,
438
- pattern: null,
439
- placeholder: null,
440
- size: null,
441
- src: null,
442
- step: null,
443
- value: null,
444
- width: null,
445
- accept: ["audio/*", "video/*", "image/*"],
446
- autocomplete: ["on", "off"],
447
- autofocus: ["autofocus"],
448
- checked: ["checked"],
449
- disabled: ["disabled"],
450
- formenctype: Q,
451
- formmethod: k,
452
- formnovalidate: ["novalidate"],
453
- formtarget: V,
454
- multiple: ["multiple"],
455
- readonly: ["readonly"],
456
- required: ["required"],
457
- type: [
458
- "hidden",
459
- "text",
460
- "search",
461
- "tel",
462
- "url",
463
- "email",
464
- "password",
465
- "datetime",
466
- "date",
467
- "month",
468
- "week",
469
- "time",
470
- "datetime-local",
471
- "number",
472
- "range",
473
- "color",
474
- "checkbox",
475
- "radio",
476
- "file",
477
- "submit",
478
- "image",
479
- "reset",
480
- "button"
481
- ]
482
- }
483
- },
484
- ins: { attrs: { cite: null, datetime: null } },
485
- kbd: n,
486
- keygen: {
487
- attrs: {
488
- challenge: null,
489
- form: null,
490
- name: null,
491
- autofocus: ["autofocus"],
492
- disabled: ["disabled"],
493
- keytype: ["RSA"]
494
- }
495
- },
496
- label: { attrs: { for: null, form: null } },
497
- legend: n,
498
- li: { attrs: { value: null } },
499
- link: {
500
- attrs: {
501
- href: null,
502
- type: null,
503
- hreflang: null,
504
- media: null,
505
- sizes: ["all", "16x16", "16x16 32x32", "16x16 32x32 64x64"]
506
- }
507
- },
508
- map: { attrs: { name: null } },
509
- mark: n,
510
- menu: { attrs: { label: null, type: ["list", "context", "toolbar"] } },
511
- meta: {
512
- attrs: {
513
- content: null,
514
- charset: C,
515
- name: ["viewport", "application-name", "author", "description", "generator", "keywords"],
516
- "http-equiv": ["content-language", "content-type", "default-style", "refresh"]
517
- }
518
- },
519
- meter: { attrs: { value: null, min: null, low: null, high: null, max: null, optimum: null } },
520
- nav: n,
521
- noscript: n,
522
- object: {
523
- attrs: {
524
- data: null,
525
- type: null,
526
- name: null,
527
- usemap: null,
528
- form: null,
529
- width: null,
530
- height: null,
531
- typemustmatch: ["typemustmatch"]
532
- }
533
- },
534
- ol: {
535
- attrs: { reversed: ["reversed"], start: null, type: ["1", "a", "A", "i", "I"] },
536
- children: ["li", "script", "template", "ul", "ol"]
537
- },
538
- optgroup: { attrs: { disabled: ["disabled"], label: null } },
539
- option: { attrs: { disabled: ["disabled"], label: null, selected: ["selected"], value: null } },
540
- output: { attrs: { for: null, form: null, name: null } },
541
- p: n,
542
- param: { attrs: { name: null, value: null } },
543
- pre: n,
544
- progress: { attrs: { value: null, max: null } },
545
- q: { attrs: { cite: null } },
546
- rp: n,
547
- rt: n,
548
- ruby: n,
549
- samp: n,
550
- script: {
551
- attrs: {
552
- type: ["text/javascript"],
553
- src: null,
554
- async: ["async"],
555
- defer: ["defer"],
556
- charset: C
557
- }
558
- },
559
- section: n,
560
- select: {
561
- attrs: {
562
- form: null,
563
- name: null,
564
- size: null,
565
- autofocus: ["autofocus"],
566
- disabled: ["disabled"],
567
- multiple: ["multiple"]
568
- }
569
- },
570
- slot: { attrs: { name: null } },
571
- small: n,
572
- source: { attrs: { src: null, type: null, media: null } },
573
- span: n,
574
- strong: n,
575
- style: {
576
- attrs: {
577
- type: ["text/css"],
578
- media: null,
579
- scoped: null
580
- }
581
- },
582
- sub: n,
583
- summary: n,
584
- sup: n,
585
- table: n,
586
- tbody: n,
587
- td: { attrs: { colspan: null, rowspan: null, headers: null } },
588
- template: n,
589
- textarea: {
590
- attrs: {
591
- dirname: null,
592
- form: null,
593
- maxlength: null,
594
- name: null,
595
- placeholder: null,
596
- rows: null,
597
- cols: null,
598
- autofocus: ["autofocus"],
599
- disabled: ["disabled"],
600
- readonly: ["readonly"],
601
- required: ["required"],
602
- wrap: ["soft", "hard"]
603
- }
604
- },
605
- tfoot: n,
606
- th: { attrs: { colspan: null, rowspan: null, headers: null, scope: ["row", "col", "rowgroup", "colgroup"] } },
607
- thead: n,
608
- time: { attrs: { datetime: null } },
609
- title: n,
610
- tr: n,
611
- track: {
612
- attrs: {
613
- src: null,
614
- label: null,
615
- default: null,
616
- kind: ["subtitles", "captions", "descriptions", "chapters", "metadata"],
617
- srclang: null
618
- }
619
- },
620
- ul: { children: ["li", "script", "template", "ul", "ol"] },
621
- var: n,
622
- video: {
623
- attrs: {
624
- src: null,
625
- poster: null,
626
- width: null,
627
- height: null,
628
- crossorigin: ["anonymous", "use-credentials"],
629
- preload: ["auto", "metadata", "none"],
630
- autoplay: ["autoplay"],
631
- mediagroup: ["movie"],
632
- muted: ["muted"],
633
- controls: ["controls"]
634
- }
635
- },
636
- wbr: n
637
- }, Oe = {
638
- accesskey: null,
639
- class: null,
640
- contenteditable: g,
641
- contextmenu: null,
642
- dir: ["ltr", "rtl", "auto"],
643
- draggable: ["true", "false", "auto"],
644
- dropzone: ["copy", "move", "link", "string:", "file:"],
645
- hidden: ["hidden"],
646
- id: null,
647
- inert: ["inert"],
648
- itemid: null,
649
- itemprop: null,
650
- itemref: null,
651
- itemscope: ["itemscope"],
652
- itemtype: null,
653
- lang: ["ar", "bn", "de", "en-GB", "en-US", "es", "fr", "hi", "id", "ja", "pa", "pt", "ru", "tr", "zh"],
654
- spellcheck: g,
655
- autocorrect: g,
656
- autocapitalize: g,
657
- style: null,
658
- tabindex: null,
659
- title: null,
660
- translate: ["yes", "no"],
661
- rel: ["stylesheet", "alternate", "author", "bookmark", "help", "license", "next", "nofollow", "noreferrer", "prefetch", "prev", "search", "tag"],
662
- 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(" "),
663
- "aria-activedescendant": null,
664
- "aria-atomic": g,
665
- "aria-autocomplete": ["inline", "list", "both", "none"],
666
- "aria-busy": g,
667
- "aria-checked": ["true", "false", "mixed", "undefined"],
668
- "aria-controls": null,
669
- "aria-describedby": null,
670
- "aria-disabled": g,
671
- "aria-dropeffect": null,
672
- "aria-expanded": ["true", "false", "undefined"],
673
- "aria-flowto": null,
674
- "aria-grabbed": ["true", "false", "undefined"],
675
- "aria-haspopup": g,
676
- "aria-hidden": g,
677
- "aria-invalid": ["true", "false", "grammar", "spelling"],
678
- "aria-label": null,
679
- "aria-labelledby": null,
680
- "aria-level": null,
681
- "aria-live": ["off", "polite", "assertive"],
682
- "aria-multiline": g,
683
- "aria-multiselectable": g,
684
- "aria-owns": null,
685
- "aria-posinset": null,
686
- "aria-pressed": ["true", "false", "mixed", "undefined"],
687
- "aria-readonly": g,
688
- "aria-relevant": null,
689
- "aria-required": g,
690
- "aria-selected": ["true", "false", "undefined"],
691
- "aria-setsize": null,
692
- "aria-sort": ["ascending", "descending", "none", "other"],
693
- "aria-valuemax": null,
694
- "aria-valuemin": null,
695
- "aria-valuenow": null,
696
- "aria-valuetext": null
697
- }, de = /* @__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);
698
- for (let e of de)
699
- Oe[e] = null;
700
- class y {
701
- constructor(a, r) {
702
- this.tags = { ...bt, ...a }, this.globalAttrs = { ...Oe, ...r }, this.allTags = Object.keys(this.tags), this.globalAttrNames = Object.keys(this.globalAttrs);
703
- }
704
- }
705
- y.default = /* @__PURE__ */ new y();
706
- function P(e, a, r = e.length) {
707
- if (!a)
708
- return "";
709
- let l = a.firstChild, t = l && l.getChild("TagName");
710
- return t ? e.sliceString(t.from, Math.min(t.to, r)) : "";
711
- }
712
- function x(e, a = !1) {
713
- for (; e; e = e.parent)
714
- if (e.name == "Element")
715
- if (a)
716
- a = !1;
717
- else
718
- return e;
719
- return null;
720
- }
721
- function ce(e, a, r) {
722
- let l = r.tags[P(e, x(a))];
723
- return l?.children || r.allTags;
724
- }
725
- function B(e, a) {
726
- let r = [];
727
- for (let l = x(a); l && !l.type.isTop; l = x(l.parent)) {
728
- let t = P(e, l);
729
- if (t && l.lastChild.name == "CloseTag")
730
- break;
731
- t && r.indexOf(t) < 0 && (a.name == "EndTag" || a.from >= l.firstChild.to) && r.push(t);
732
- }
733
- return r;
734
- }
735
- const pe = /^[:\-\.\w\u00b7-\uffff]*$/;
736
- function L(e, a, r, l, t) {
737
- let s = /\s*>/.test(e.sliceDoc(t, t + 5)) ? "" : ">", o = x(r, r.name == "StartTag" || r.name == "TagName");
738
- return {
739
- from: l,
740
- to: t,
741
- options: ce(e.doc, o, a).map((i) => ({ label: i, type: "type" })).concat(B(e.doc, r).map((i, u) => ({
742
- label: "/" + i,
743
- apply: "/" + i + s,
744
- type: "type",
745
- boost: 99 - u
746
- }))),
747
- validFor: /^\/?[:\-\.\w\u00b7-\uffff]*$/
748
- };
749
- }
750
- function F(e, a, r, l) {
751
- let t = /\s*>/.test(e.sliceDoc(l, l + 5)) ? "" : ">";
752
- return {
753
- from: r,
754
- to: l,
755
- options: B(e.doc, a).map((s, o) => ({ label: s, apply: s + t, type: "type", boost: 99 - o })),
756
- validFor: pe
757
- };
758
- }
759
- function ht(e, a, r, l) {
760
- let t = [], s = 0;
761
- for (let o of ce(e.doc, r, a))
762
- t.push({ label: "<" + o, type: "type" });
763
- for (let o of B(e.doc, r))
764
- t.push({ label: "</" + o + ">", type: "type", boost: 99 - s++ });
765
- return { from: l, to: l, options: t, validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/ };
766
- }
767
- function Tt(e, a, r, l, t) {
768
- let s = x(r), o = s ? a.tags[P(e.doc, s)] : null, i = o && o.attrs ? Object.keys(o.attrs) : [], u = o && o.globalAttrs === !1 ? i : i.length ? i.concat(a.globalAttrNames) : a.globalAttrNames;
769
- return {
770
- from: l,
771
- to: t,
772
- options: u.map((f) => ({ label: f, type: "property" })),
773
- validFor: pe
774
- };
775
- }
776
- function Pt(e, a, r, l, t) {
777
- var s;
778
- let o = (s = r.parent) === null || s === void 0 ? void 0 : s.getChild("AttributeName"), i = [], u;
779
- if (o) {
780
- let f = e.sliceDoc(o.from, o.to), p = a.globalAttrs[f];
781
- if (!p) {
782
- let d = x(r), m = d ? a.tags[P(e.doc, d)] : null;
783
- p = m?.attrs && m.attrs[f];
784
- }
785
- if (p) {
786
- let d = e.sliceDoc(l, t).toLowerCase(), m = '"', O = '"';
787
- /^['"]/.test(d) ? (u = d[0] == '"' ? /^[^"]*$/ : /^[^']*$/, m = "", O = e.sliceDoc(t, t + 1) == d[0] ? "" : d[0], d = d.slice(1), l++) : u = /^[^\s<>='"]*$/;
788
- for (let c of p)
789
- i.push({ label: c, apply: m + c + O, type: "constant" });
790
- }
791
- }
792
- return { from: l, to: t, options: i, validFor: u };
793
- }
794
- function me(e, a) {
795
- let { state: r, pos: l } = a, t = K(r).resolveInner(l, -1), s = t.resolve(l);
796
- for (let o = l, i; s == t && (i = t.childBefore(o)); ) {
797
- let u = i.lastChild;
798
- if (!u || !u.type.isError || u.from < u.to)
799
- break;
800
- s = t = i, o = u.from;
801
- }
802
- return t.name == "TagName" ? t.parent && /CloseTag$/.test(t.parent.name) ? F(r, t, t.from, l) : L(r, e, t, t.from, l) : t.name == "StartTag" || t.name == "IncompleteTag" ? L(r, e, t, l, l) : t.name == "StartCloseTag" || t.name == "IncompleteCloseTag" ? F(r, t, l, l) : t.name == "OpenTag" || t.name == "SelfClosingTag" || t.name == "AttributeName" ? Tt(r, e, t, t.name == "AttributeName" ? t.from : l, l) : t.name == "Is" || t.name == "AttributeValue" || t.name == "UnquotedAttributeValue" ? Pt(r, e, t, t.name == "Is" ? l : t.from, l) : a.explicit && (s.name == "Element" || s.name == "Text" || s.name == "Document") ? ht(r, e, t, l) : null;
803
- }
804
- function qt(e) {
805
- return me(y.default, e);
806
- }
807
- function xt(e) {
808
- let { extraTags: a, extraGlobalAttributes: r } = e, l = r || a ? new y(a, r) : y.default;
809
- return (t) => me(l, t);
810
- }
811
- const Vt = /* @__PURE__ */ M.parser.configure({ top: "SingleExpression" }), fe = [
812
- {
813
- tag: "script",
814
- attrs: (e) => e.type == "text/typescript" || e.lang == "ts",
815
- parser: _e.parser
816
- },
817
- {
818
- tag: "script",
819
- attrs: (e) => e.type == "text/babel" || e.type == "text/jsx",
820
- parser: qe.parser
821
- },
822
- {
823
- tag: "script",
824
- attrs: (e) => e.type == "text/typescript-jsx",
825
- parser: Ce.parser
826
- },
827
- {
828
- tag: "script",
829
- attrs(e) {
830
- return /^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type);
831
- },
832
- parser: Vt
833
- },
834
- {
835
- tag: "script",
836
- attrs(e) {
837
- return !e.type || /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type);
838
- },
839
- parser: M.parser
840
- },
841
- {
842
- tag: "style",
843
- attrs(e) {
844
- return (!e.lang || e.lang == "css") && (!e.type || /^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type));
845
- },
846
- parser: J.parser
847
- }
848
- ], ge = /* @__PURE__ */ [
849
- {
850
- name: "style",
851
- parser: /* @__PURE__ */ J.parser.configure({ top: "Styles" })
852
- }
853
- ].concat(/* @__PURE__ */ de.map((e) => ({ name: e, parser: M.parser }))), Se = /* @__PURE__ */ ye.define({
854
- name: "html",
855
- parser: /* @__PURE__ */ St.configure({
856
- props: [
857
- /* @__PURE__ */ we.add({
858
- Element(e) {
859
- let a = /^(\s*)(<\/)?/.exec(e.textAfter);
860
- return e.node.to <= e.pos + a[0].length ? e.continue() : e.lineIndent(e.node.from) + (a[2] ? 0 : e.unit);
861
- },
862
- "OpenTag CloseTag SelfClosingTag"(e) {
863
- return e.column(e.node.from) + e.unit;
864
- },
865
- Document(e) {
866
- if (e.pos + /\s*/.exec(e.textAfter)[0].length < e.node.to)
867
- return e.continue();
868
- let a = null, r;
869
- for (let l = e.node; ; ) {
870
- let t = l.lastChild;
871
- if (!t || t.name != "Element" || t.to != l.to)
872
- break;
873
- a = l = t;
874
- }
875
- return a && !((r = a.lastChild) && (r.name == "CloseTag" || r.name == "SelfClosingTag")) ? e.lineIndent(a.from) + e.unit : null;
876
- }
877
- }),
878
- /* @__PURE__ */ ve.add({
879
- Element(e) {
880
- let a = e.firstChild, r = e.lastChild;
881
- return !a || a.name != "OpenTag" ? null : { from: a.to, to: r.name == "CloseTag" ? r.from : e.to };
882
- }
883
- }),
884
- /* @__PURE__ */ Xe.add({
885
- "OpenTag CloseTag": (e) => e.getChild("TagName")
886
- })
887
- ]
888
- }),
889
- languageData: {
890
- commentTokens: { block: { open: "<!--", close: "-->" } },
891
- indentOnInput: /^\s*<\/\w+\W$/,
892
- wordChars: "-_"
893
- }
894
- }), v = /* @__PURE__ */ Se.configure({
895
- wrap: /* @__PURE__ */ ue(fe, ge)
896
- });
897
- function Ct(e = {}) {
898
- let a = "", r;
899
- e.matchClosingTags === !1 && (a = "noMatch"), e.selfClosingTags === !0 && (a = (a ? a + " " : "") + "selfClosing"), (e.nestedLanguages && e.nestedLanguages.length || e.nestedAttributes && e.nestedAttributes.length) && (r = ue((e.nestedLanguages || []).concat(fe), (e.nestedAttributes || []).concat(ge)));
900
- let l = r ? Se.configure({ wrap: r, dialect: a }) : a ? v.configure({ dialect: a }) : v;
901
- return new Ve(l, [
902
- v.data.of({ autocomplete: xt(e) }),
903
- e.autoCloseTags !== !1 ? yt : [],
904
- ke().support,
905
- $e().support
906
- ]);
907
- }
908
- const H = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), yt = /* @__PURE__ */ xe.inputHandler.of((e, a, r, l, t) => {
909
- if (e.composing || e.state.readOnly || a != r || l != ">" && l != "/" || !v.isActiveAt(e.state, a, -1))
910
- return !1;
911
- let s = t(), { state: o } = s, i = o.changeByRange((u) => {
912
- var f, p, d;
913
- let m = o.doc.sliceString(u.from - 1, u.to) == l, { head: O } = u, c = K(o).resolveInner(O, -1), S;
914
- if (m && l == ">" && c.name == "EndTag") {
915
- let h = c.parent;
916
- if (((p = (f = h.parent) === null || f === void 0 ? void 0 : f.lastChild) === null || p === void 0 ? void 0 : p.name) != "CloseTag" && (S = P(o.doc, h.parent, O)) && !H.has(S)) {
917
- let T = O + (o.doc.sliceString(O, O + 1) === ">" ? 1 : 0), w = `</${S}>`;
918
- return { range: u, changes: { from: O, to: T, insert: w } };
919
- }
920
- } else if (m && l == "/" && c.name == "IncompleteCloseTag") {
921
- let h = c.parent;
922
- if (c.from == O - 2 && ((d = h.lastChild) === null || d === void 0 ? void 0 : d.name) != "CloseTag" && (S = P(o.doc, h, O)) && !H.has(S)) {
923
- let T = O + (o.doc.sliceString(O, O + 1) === ">" ? 1 : 0), w = `${S}>`;
924
- return {
925
- range: Qe.cursor(O + w.length, -1),
926
- changes: { from: O, to: T, insert: w }
927
- };
928
- }
929
- }
930
- return { range: u };
931
- });
932
- return i.changes.empty ? !1 : (e.dispatch([
933
- s,
934
- o.update(i, {
935
- userEvent: "input.complete",
936
- scrollIntoView: !0
937
- })
938
- ]), !0);
939
- });
940
- export {
941
- yt as autoCloseTags,
942
- Ct as html,
943
- qt as htmlCompletionSource,
944
- xt as htmlCompletionSourceWith,
945
- v as htmlLanguage
946
- };