Version Description
- Updated css for wordpress v5.8
Download this release
Release Info
Developer | arniebradfo |
Plugin | HTML Editor Syntax Highlighter |
Version | 2.4.3 |
Comparing to | |
See all releases |
Code changes from version 2.4.2 to 2.4.3
- hesh.css +2531 -1516
- hesh.js +1 -1
- html-editor-syntax-highlighter.php +1 -1
- readme.txt +8 -6
hesh.css
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
padding: 4px 0;
|
10 |
}
|
11 |
|
12 |
-
.CodeMirror pre {
|
13 |
padding: 0 4px;
|
14 |
}
|
15 |
|
@@ -66,11 +66,16 @@
|
|
66 |
|
67 |
.cm-animate-fat-cursor {
|
68 |
width: auto;
|
69 |
-
border: 0;
|
70 |
animation: a 1.06s steps(1) infinite;
|
71 |
background-color: #7e7;
|
72 |
}
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
.cm-tab {
|
75 |
display: inline-block;
|
76 |
text-decoration: inherit;
|
@@ -81,7 +86,7 @@
|
|
81 |
left: 0;
|
82 |
right: 0;
|
83 |
top: -50px;
|
84 |
-
bottom:
|
85 |
overflow: hidden;
|
86 |
}
|
87 |
|
@@ -220,22 +225,23 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
220 |
|
221 |
.CodeMirror-scroll {
|
222 |
overflow: scroll!important;
|
223 |
-
margin-bottom: -
|
224 |
-
margin-right: -
|
225 |
-
padding-bottom:
|
226 |
height: 100%;
|
227 |
outline: none;
|
228 |
}
|
229 |
|
230 |
.CodeMirror-sizer {
|
231 |
position: relative;
|
232 |
-
border-right:
|
233 |
}
|
234 |
|
235 |
.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar {
|
236 |
position: absolute;
|
237 |
z-index: 6;
|
238 |
display: none;
|
|
|
239 |
}
|
240 |
|
241 |
.CodeMirror-vscrollbar {
|
@@ -275,7 +281,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
275 |
height: 100%;
|
276 |
display: inline-block;
|
277 |
vertical-align: top;
|
278 |
-
margin-bottom: -
|
279 |
}
|
280 |
|
281 |
.CodeMirror-gutter-wrapper {
|
@@ -311,7 +317,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
311 |
min-height: 1px;
|
312 |
}
|
313 |
|
314 |
-
.CodeMirror pre {
|
315 |
border-radius: 0;
|
316 |
border-width: 0;
|
317 |
background: transparent;
|
@@ -326,11 +332,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
326 |
position: relative;
|
327 |
overflow: visible;
|
328 |
-webkit-tap-highlight-color: transparent;
|
329 |
-
-webkit-font-variant-ligatures: contextual;
|
330 |
font-variant-ligatures: contextual;
|
331 |
}
|
332 |
|
333 |
-
.CodeMirror-wrap pre {
|
334 |
word-wrap: break-word;
|
335 |
white-space: pre-wrap;
|
336 |
word-break: normal;
|
@@ -419,6 +424,12 @@ div.CodeMirror-cursors {
|
|
419 |
padding-right: .1px;
|
420 |
}
|
421 |
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
.cm-tab-wrap-hack:after {
|
423 |
content: "";
|
424 |
}
|
@@ -444,7 +455,7 @@ span.CodeMirror-selectedtext {
|
|
444 |
background: #d6d5d4;
|
445 |
}
|
446 |
|
447 |
-
.cm-s-3024-day .CodeMirror-line
|
448 |
background: #d9d9d9;
|
449 |
}
|
450 |
|
@@ -619,6 +630,188 @@ span.CodeMirror-selectedtext {
|
|
619 |
color: #fff!important;
|
620 |
}
|
621 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
622 |
.cm-s-abcdef.CodeMirror {
|
623 |
background: #0f0f0f;
|
624 |
color: #defdef;
|
@@ -908,2122 +1101,2776 @@ span.CodeMirror-selectedtext {
|
|
908 |
background-image: url("data:image/png;base64,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");
|
909 |
}
|
910 |
|
911 |
-
.cm-s-
|
912 |
-
background: #
|
913 |
-
color: #
|
914 |
}
|
915 |
|
916 |
-
.cm-s-
|
917 |
-
background: #
|
918 |
}
|
919 |
|
920 |
-
.cm-s-
|
921 |
-
background:
|
922 |
}
|
923 |
|
924 |
-
.cm-s-
|
925 |
-
background:
|
926 |
}
|
927 |
|
928 |
-
.cm-s-
|
929 |
-
background: #
|
930 |
border-right: 0;
|
931 |
}
|
932 |
|
933 |
-
.cm-s-
|
934 |
-
color: #
|
935 |
}
|
936 |
|
937 |
-
.cm-s-
|
938 |
-
color: #
|
939 |
}
|
940 |
|
941 |
-
.cm-s-
|
942 |
-
border-left: 1px solid #
|
943 |
}
|
944 |
|
945 |
-
.cm-s-
|
946 |
-
color: #
|
947 |
}
|
948 |
|
949 |
-
.cm-s-
|
950 |
-
color: #
|
951 |
}
|
952 |
|
953 |
-
.cm-s-
|
954 |
-
color: #
|
955 |
}
|
956 |
|
957 |
-
.cm-s-
|
958 |
-
color: #
|
959 |
}
|
960 |
|
961 |
-
.cm-s-
|
962 |
-
color: #
|
963 |
}
|
964 |
|
965 |
-
.cm-s-
|
966 |
-
color: #
|
967 |
}
|
968 |
|
969 |
-
.cm-s-
|
970 |
-
color: #
|
971 |
}
|
972 |
|
973 |
-
.cm-s-
|
974 |
-
color: #
|
975 |
}
|
976 |
|
977 |
-
.cm-s-
|
978 |
-
color: #
|
979 |
}
|
980 |
|
981 |
-
.cm-s-
|
982 |
-
color: #
|
983 |
}
|
984 |
|
985 |
-
.cm-s-
|
986 |
-
color: #
|
987 |
}
|
988 |
|
989 |
-
.cm-s-
|
990 |
-
|
991 |
-
color: #b0b0b0;
|
992 |
}
|
993 |
|
994 |
-
.cm-s-
|
995 |
-
|
996 |
}
|
997 |
|
998 |
-
.cm-s-
|
999 |
-
|
1000 |
-
color: #fff!important;
|
1001 |
}
|
1002 |
|
1003 |
-
.cm-s-
|
1004 |
-
|
1005 |
-
color: #202020;
|
1006 |
}
|
1007 |
|
1008 |
-
.cm-s-
|
1009 |
-
|
1010 |
}
|
1011 |
|
1012 |
-
.cm-s-
|
1013 |
-
|
1014 |
}
|
1015 |
|
1016 |
-
.cm-s-
|
1017 |
-
|
1018 |
}
|
1019 |
|
1020 |
-
.cm-s-
|
1021 |
-
|
1022 |
-
border-right: 0;
|
1023 |
}
|
1024 |
|
1025 |
-
.cm-s-
|
1026 |
-
color: #
|
1027 |
}
|
1028 |
|
1029 |
-
.cm-s-
|
1030 |
-
color: #
|
1031 |
}
|
1032 |
|
1033 |
-
.cm-s-
|
1034 |
-
|
1035 |
}
|
1036 |
|
1037 |
-
.cm-s-
|
1038 |
-
|
|
|
1039 |
}
|
1040 |
|
1041 |
-
.cm-s-
|
1042 |
-
|
|
|
1043 |
}
|
1044 |
|
1045 |
-
.cm-s-
|
1046 |
-
|
1047 |
}
|
1048 |
|
1049 |
-
.cm-s-
|
1050 |
-
|
1051 |
}
|
1052 |
|
1053 |
-
.cm-s-
|
1054 |
-
|
1055 |
}
|
1056 |
|
1057 |
-
.cm-s-
|
1058 |
-
|
1059 |
}
|
1060 |
|
1061 |
-
.cm-s-
|
1062 |
-
|
|
|
1063 |
}
|
1064 |
|
1065 |
-
.cm-s-
|
1066 |
-
color: #
|
1067 |
}
|
1068 |
|
1069 |
-
.cm-s-
|
1070 |
-
color: #
|
1071 |
}
|
1072 |
|
1073 |
-
.cm-s-
|
1074 |
-
color: #
|
1075 |
}
|
1076 |
|
1077 |
-
.cm-s-
|
1078 |
-
|
1079 |
}
|
1080 |
|
1081 |
-
.cm-s-
|
1082 |
-
background: #
|
1083 |
-
color: #505050;
|
1084 |
}
|
1085 |
|
1086 |
-
.cm-s-
|
1087 |
-
|
|
|
1088 |
}
|
1089 |
|
1090 |
-
.cm-s-
|
1091 |
-
color: #
|
1092 |
-
background-color: #6a9fb5!important;
|
1093 |
}
|
1094 |
|
1095 |
-
.cm-s-
|
1096 |
-
|
1097 |
-
color: #9d9b97;
|
1098 |
}
|
1099 |
|
1100 |
-
.cm-s-
|
1101 |
-
|
1102 |
}
|
1103 |
|
1104 |
-
.cm-s-
|
1105 |
-
|
1106 |
-
border-right: 0;
|
1107 |
}
|
1108 |
|
1109 |
-
.cm-s-
|
1110 |
-
color: #
|
1111 |
}
|
1112 |
|
1113 |
-
.cm-s-
|
1114 |
-
|
1115 |
}
|
1116 |
|
1117 |
-
.cm-s-
|
1118 |
-
color: #
|
1119 |
}
|
1120 |
|
1121 |
-
.cm-s-
|
1122 |
-
color: #
|
1123 |
}
|
1124 |
|
1125 |
-
.cm-s-
|
1126 |
-
color: #
|
1127 |
}
|
1128 |
|
1129 |
-
.cm-s-
|
1130 |
-
color: #
|
1131 |
}
|
1132 |
|
1133 |
-
.cm-s-
|
1134 |
-
color: #
|
1135 |
}
|
1136 |
|
1137 |
-
.cm-s-
|
1138 |
-
color: #
|
1139 |
}
|
1140 |
|
1141 |
-
.cm-s-
|
1142 |
-
color: #
|
1143 |
}
|
1144 |
|
1145 |
-
.cm-s-
|
1146 |
-
color: #
|
1147 |
}
|
1148 |
|
1149 |
-
.cm-s-
|
1150 |
-
|
1151 |
-
color: #797977;
|
1152 |
}
|
1153 |
|
1154 |
-
.cm-s-
|
1155 |
-
color: #
|
1156 |
}
|
1157 |
|
1158 |
-
.cm-s-
|
1159 |
-
color: #
|
1160 |
}
|
1161 |
|
1162 |
-
.cm-s-
|
1163 |
-
color: #
|
1164 |
}
|
1165 |
|
1166 |
-
.cm-s-
|
1167 |
-
|
1168 |
-
color: #fff!important;
|
1169 |
}
|
1170 |
|
1171 |
-
.cm-s-
|
1172 |
-
|
1173 |
}
|
1174 |
|
1175 |
-
.cm-s-
|
1176 |
-
background: #
|
1177 |
-
color: #f8f8f8;
|
1178 |
}
|
1179 |
|
1180 |
-
.cm-s-
|
1181 |
-
|
|
|
1182 |
}
|
1183 |
|
1184 |
-
.cm-s-
|
1185 |
-
background:
|
|
|
1186 |
}
|
1187 |
|
1188 |
-
.cm-s-
|
1189 |
-
background:
|
1190 |
}
|
1191 |
|
1192 |
-
.cm-s-
|
1193 |
-
background:
|
1194 |
-
border-right: 0;
|
1195 |
}
|
1196 |
|
1197 |
-
.cm-s-
|
1198 |
-
|
1199 |
}
|
1200 |
|
1201 |
-
.cm-s-
|
1202 |
-
|
|
|
1203 |
}
|
1204 |
|
1205 |
-
.cm-s-
|
1206 |
-
|
1207 |
}
|
1208 |
|
1209 |
-
.cm-s-
|
1210 |
-
color: #
|
1211 |
}
|
1212 |
|
1213 |
-
.cm-s-
|
1214 |
-
|
1215 |
}
|
1216 |
|
1217 |
-
.cm-s-
|
1218 |
-
color: #
|
1219 |
}
|
1220 |
|
1221 |
-
.cm-s-
|
1222 |
-
color: #
|
1223 |
}
|
1224 |
|
1225 |
-
.cm-s-
|
1226 |
-
color: #
|
1227 |
}
|
1228 |
|
1229 |
-
.cm-s-
|
1230 |
-
color: #
|
1231 |
}
|
1232 |
|
1233 |
-
.cm-s-
|
1234 |
-
color: #
|
1235 |
}
|
1236 |
|
1237 |
-
.cm-s-
|
1238 |
-
color: #
|
1239 |
}
|
1240 |
|
1241 |
-
.cm-s-
|
1242 |
-
color: #
|
1243 |
}
|
1244 |
|
1245 |
-
.cm-s-
|
1246 |
-
color: #
|
1247 |
}
|
1248 |
|
1249 |
-
.cm-s-
|
1250 |
-
color: #
|
1251 |
}
|
1252 |
|
1253 |
-
.cm-s-
|
1254 |
-
color: #
|
1255 |
}
|
1256 |
|
1257 |
-
.cm-s-
|
1258 |
-
|
1259 |
-
color: #f8f8f8;
|
1260 |
}
|
1261 |
|
1262 |
-
.cm-s-
|
1263 |
-
|
1264 |
}
|
1265 |
|
1266 |
-
.cm-s-
|
1267 |
-
|
1268 |
-
color: #
|
1269 |
}
|
1270 |
|
1271 |
-
.cm-s-
|
1272 |
-
background: #
|
1273 |
-
color: #fff;
|
1274 |
}
|
1275 |
|
1276 |
-
.cm-s-
|
1277 |
-
|
|
|
1278 |
}
|
1279 |
|
1280 |
-
.cm-s-
|
1281 |
-
background:
|
|
|
1282 |
}
|
1283 |
|
1284 |
-
.cm-s-
|
1285 |
-
background:
|
1286 |
}
|
1287 |
|
1288 |
-
.cm-s-
|
1289 |
-
background: #
|
1290 |
-
border-right: 1px solid #aaa;
|
1291 |
}
|
1292 |
|
1293 |
-
.cm-s-
|
1294 |
-
|
1295 |
}
|
1296 |
|
1297 |
-
.cm-s-
|
1298 |
-
|
|
|
1299 |
}
|
1300 |
|
1301 |
-
.cm-s-
|
1302 |
-
|
1303 |
}
|
1304 |
|
1305 |
-
.cm-s-
|
1306 |
-
color: #
|
1307 |
}
|
1308 |
|
1309 |
-
.cm-s-
|
1310 |
-
|
1311 |
}
|
1312 |
|
1313 |
-
.cm-s-
|
1314 |
-
color: #
|
1315 |
}
|
1316 |
|
1317 |
-
.cm-s-
|
1318 |
-
color: #
|
1319 |
}
|
1320 |
|
1321 |
-
.cm-s-
|
1322 |
-
color: #
|
1323 |
}
|
1324 |
|
1325 |
-
.cm-s-
|
1326 |
-
color: #
|
1327 |
}
|
1328 |
|
1329 |
-
.cm-s-
|
1330 |
-
color: #
|
1331 |
}
|
1332 |
|
1333 |
-
.cm-s-
|
1334 |
-
color: #
|
1335 |
}
|
1336 |
|
1337 |
-
.cm-s-
|
1338 |
-
color: #
|
1339 |
}
|
1340 |
|
1341 |
-
.cm-s-
|
1342 |
-
color: #
|
1343 |
}
|
1344 |
|
1345 |
-
.cm-s-
|
1346 |
-
color: #
|
1347 |
}
|
1348 |
|
1349 |
-
.cm-s-
|
1350 |
-
color: #
|
1351 |
}
|
1352 |
|
1353 |
-
.cm-s-
|
1354 |
-
|
1355 |
}
|
1356 |
|
1357 |
-
.cm-s-
|
1358 |
-
|
1359 |
-
color: #
|
1360 |
}
|
1361 |
|
1362 |
-
.cm-s-
|
1363 |
-
background: #
|
1364 |
-
color: #f8f8f8;
|
1365 |
}
|
1366 |
|
1367 |
-
.cm-s-
|
1368 |
-
|
1369 |
-
|
1370 |
}
|
1371 |
|
1372 |
-
.cm-s-
|
1373 |
-
|
|
|
1374 |
}
|
1375 |
|
1376 |
-
.cm-s-
|
1377 |
-
|
1378 |
}
|
1379 |
|
1380 |
-
.cm-s-
|
1381 |
-
|
|
|
1382 |
}
|
1383 |
|
1384 |
-
.cm-s-
|
1385 |
-
|
1386 |
}
|
1387 |
|
1388 |
-
.cm-s-
|
1389 |
-
|
1390 |
}
|
1391 |
|
1392 |
-
.cm-s-
|
1393 |
-
color: #
|
1394 |
-
font-weight: 700;
|
1395 |
}
|
1396 |
|
1397 |
-
.cm-s-
|
1398 |
-
color: #
|
1399 |
}
|
1400 |
|
1401 |
-
.cm-s-
|
1402 |
-
color: #
|
1403 |
}
|
1404 |
|
1405 |
-
.cm-s-
|
1406 |
-
color: #
|
1407 |
}
|
1408 |
|
1409 |
-
.cm-s-
|
1410 |
-
color: #
|
1411 |
}
|
1412 |
|
1413 |
-
.cm-s-
|
1414 |
-
color: #
|
1415 |
}
|
1416 |
|
1417 |
-
.cm-s-
|
1418 |
-
color: #
|
1419 |
}
|
1420 |
|
1421 |
-
.cm-s-
|
1422 |
-
color: #
|
1423 |
}
|
1424 |
|
1425 |
-
.cm-s-
|
1426 |
-
|
|
|
1427 |
}
|
1428 |
|
1429 |
-
.cm-s-
|
1430 |
-
color: #
|
1431 |
}
|
1432 |
|
1433 |
-
.cm-s-
|
1434 |
-
color: #
|
1435 |
}
|
1436 |
|
1437 |
-
.cm-s-
|
1438 |
-
color: #
|
1439 |
}
|
1440 |
|
1441 |
-
.cm-s-
|
1442 |
-
|
|
|
1443 |
}
|
1444 |
|
1445 |
-
.cm-s-
|
1446 |
-
|
1447 |
}
|
1448 |
|
1449 |
-
.cm-s-
|
1450 |
-
|
|
|
1451 |
}
|
1452 |
|
1453 |
-
.cm-s-
|
1454 |
-
background: #
|
1455 |
}
|
1456 |
|
1457 |
-
.cm-s-
|
1458 |
-
background:
|
1459 |
}
|
1460 |
|
1461 |
-
.cm-s-
|
1462 |
-
background:
|
1463 |
}
|
1464 |
|
1465 |
-
.cm-s-
|
1466 |
-
|
|
|
1467 |
}
|
1468 |
|
1469 |
-
.cm-s-
|
1470 |
-
|
1471 |
-
color: #a9b7c6;
|
1472 |
}
|
1473 |
|
1474 |
-
.cm-s-
|
1475 |
-
color: #
|
1476 |
}
|
1477 |
|
1478 |
-
.cm-s-
|
1479 |
-
|
1480 |
}
|
1481 |
|
1482 |
-
.cm-s-
|
1483 |
-
color: #
|
1484 |
-
line-height: 1em;
|
1485 |
-
font-weight: 700;
|
1486 |
}
|
1487 |
|
1488 |
-
.cm-s-
|
1489 |
-
color: #
|
1490 |
-
font-style: italic;
|
1491 |
}
|
1492 |
|
1493 |
-
.cm-s-
|
1494 |
-
color: #
|
1495 |
}
|
1496 |
|
1497 |
-
.cm-s-
|
1498 |
-
color: #
|
1499 |
}
|
1500 |
|
1501 |
-
.cm-s-
|
1502 |
-
color: #
|
1503 |
-
font-weight: 700;
|
1504 |
}
|
1505 |
|
1506 |
-
.cm-s-
|
1507 |
-
color: #
|
1508 |
}
|
1509 |
|
1510 |
-
.cm-s-
|
1511 |
-
color: #
|
1512 |
}
|
1513 |
|
1514 |
-
.cm-s-
|
1515 |
-
color: #
|
1516 |
}
|
1517 |
|
1518 |
-
.cm-s-
|
1519 |
-
color: #
|
1520 |
-
font-style: italic;
|
1521 |
}
|
1522 |
|
1523 |
-
.cm-s-
|
1524 |
-
color: #
|
1525 |
}
|
1526 |
|
1527 |
-
.cm-s-
|
1528 |
-
color: #
|
1529 |
}
|
1530 |
|
1531 |
-
.cm-s-
|
1532 |
-
color: #
|
1533 |
-
font-weight: 700;
|
1534 |
-
font-style: italic;
|
1535 |
-
text-decoration: underline;
|
1536 |
}
|
1537 |
|
1538 |
-
.cm-s-
|
1539 |
-
|
|
|
1540 |
}
|
1541 |
|
1542 |
-
.cm-s-
|
1543 |
-
|
1544 |
}
|
1545 |
|
1546 |
-
.cm-s-
|
1547 |
-
|
|
|
1548 |
}
|
1549 |
|
1550 |
-
.cm-s-
|
1551 |
-
|
|
|
1552 |
}
|
1553 |
|
1554 |
-
.cm-s-
|
1555 |
-
|
1556 |
}
|
1557 |
|
1558 |
-
.cm-s-
|
1559 |
-
background:
|
1560 |
}
|
1561 |
|
1562 |
-
.cm-s-
|
1563 |
-
background:
|
1564 |
-
border-right: 1px solid #313335;
|
1565 |
}
|
1566 |
|
1567 |
-
.cm-s-
|
|
|
|
|
|
|
|
|
|
|
1568 |
color: #ffee80;
|
1569 |
}
|
1570 |
|
1571 |
-
.cm-s-
|
1572 |
color: #d0d0d0;
|
1573 |
}
|
1574 |
|
1575 |
-
.cm-s-
|
1576 |
-
|
1577 |
}
|
1578 |
|
1579 |
-
.cm-s-
|
1580 |
-
|
1581 |
-
color: #ffef28!important;
|
1582 |
-
font-weight: 700;
|
1583 |
}
|
1584 |
|
1585 |
-
.cm-s-
|
1586 |
-
|
1587 |
}
|
1588 |
|
1589 |
-
.
|
1590 |
-
|
1591 |
-
color: #9c9e9e;
|
1592 |
-
background-color: #3b3e3f!important;
|
1593 |
}
|
1594 |
|
1595 |
-
.
|
1596 |
-
|
1597 |
-
color: #9c9e9e!important;
|
1598 |
}
|
1599 |
|
1600 |
-
.cm-s-
|
1601 |
-
|
1602 |
-
color: #f8f8f2!important;
|
1603 |
-
border: none;
|
1604 |
}
|
1605 |
|
1606 |
-
.cm-s-
|
1607 |
-
color: #
|
1608 |
}
|
1609 |
|
1610 |
-
.cm-s-
|
1611 |
-
|
1612 |
}
|
1613 |
|
1614 |
-
.cm-s-
|
1615 |
-
color: #
|
1616 |
}
|
1617 |
|
1618 |
-
.cm-s-
|
1619 |
-
|
1620 |
}
|
1621 |
|
1622 |
-
.cm-s-
|
1623 |
-
|
1624 |
}
|
1625 |
|
1626 |
-
.cm-s-
|
1627 |
-
|
1628 |
}
|
1629 |
|
1630 |
-
.cm-s-
|
1631 |
-
color: #
|
1632 |
}
|
1633 |
|
1634 |
-
.cm-s-
|
1635 |
-
|
1636 |
}
|
1637 |
|
1638 |
-
.cm-s-
|
1639 |
-
|
|
|
1640 |
}
|
1641 |
|
1642 |
-
.cm-s-
|
1643 |
-
|
|
|
1644 |
}
|
1645 |
|
1646 |
-
.cm-s-
|
1647 |
-
|
|
|
1648 |
}
|
1649 |
|
1650 |
-
.cm-s-
|
1651 |
-
color: #
|
1652 |
}
|
1653 |
|
1654 |
-
.cm-s-
|
1655 |
-
color: #
|
1656 |
}
|
1657 |
|
1658 |
-
.cm-s-
|
1659 |
-
color: #
|
1660 |
}
|
1661 |
|
1662 |
-
.cm-s-
|
1663 |
-
|
1664 |
}
|
1665 |
|
1666 |
-
.cm-s-
|
1667 |
-
color: #
|
1668 |
}
|
1669 |
|
1670 |
-
.cm-s-
|
1671 |
-
color: #
|
|
|
1672 |
}
|
1673 |
|
1674 |
-
.cm-s-
|
1675 |
-
color: #
|
1676 |
}
|
1677 |
|
1678 |
-
.cm-s-
|
1679 |
-
color: #
|
1680 |
}
|
1681 |
|
1682 |
-
.cm-s-
|
1683 |
-
color: #
|
1684 |
}
|
1685 |
|
1686 |
-
.cm-s-
|
1687 |
-
|
1688 |
}
|
1689 |
|
1690 |
-
.cm-s-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1691 |
text-decoration: underline;
|
1692 |
-
color: #fff!important;
|
1693 |
}
|
1694 |
|
1695 |
-
.cm-s-
|
1696 |
-
|
1697 |
-
color: #6c6783;
|
1698 |
}
|
1699 |
|
1700 |
-
.cm-s-
|
1701 |
-
|
1702 |
}
|
1703 |
|
1704 |
-
.cm-s-
|
1705 |
-
|
1706 |
-
border-right: 0;
|
1707 |
}
|
1708 |
|
1709 |
-
.cm-s-
|
1710 |
-
color: #
|
1711 |
}
|
1712 |
|
1713 |
-
.cm-s-
|
1714 |
-
|
1715 |
-
|
1716 |
-
|
1717 |
}
|
1718 |
|
1719 |
-
.cm-s-
|
1720 |
-
|
1721 |
-
|
|
|
1722 |
}
|
1723 |
|
1724 |
-
.cm-s-
|
1725 |
-
|
1726 |
-
opacity: .5;
|
1727 |
}
|
1728 |
|
1729 |
-
.cm-s-
|
1730 |
-
|
1731 |
}
|
1732 |
|
1733 |
-
.cm-s-
|
1734 |
-
|
|
|
1735 |
}
|
1736 |
|
1737 |
-
.cm-s-
|
1738 |
-
color: #
|
1739 |
}
|
1740 |
|
1741 |
-
.cm-s-
|
1742 |
-
color: #
|
1743 |
}
|
1744 |
|
1745 |
-
.cm-s-
|
1746 |
-
color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1747 |
}
|
1748 |
|
1749 |
-
.cm-s-
|
1750 |
-
color: #
|
|
|
1751 |
}
|
1752 |
|
1753 |
-
.cm-s-
|
1754 |
-
|
|
|
1755 |
}
|
1756 |
|
1757 |
-
.cm-s-
|
1758 |
-
color: #
|
1759 |
}
|
1760 |
|
1761 |
-
.cm-s-
|
1762 |
-
|
1763 |
}
|
1764 |
|
1765 |
-
.cm-s-
|
1766 |
-
color:
|
1767 |
}
|
1768 |
|
1769 |
-
.cm-s-
|
1770 |
-
|
1771 |
}
|
1772 |
|
1773 |
-
.cm-s-
|
1774 |
-
|
1775 |
-
color: #eeebff!important;
|
1776 |
}
|
1777 |
|
1778 |
-
.cm-s-
|
1779 |
-
|
1780 |
-
color: #b29762;
|
1781 |
}
|
1782 |
|
1783 |
-
.cm-s-
|
1784 |
-
|
1785 |
}
|
1786 |
|
1787 |
-
.cm-s-
|
1788 |
-
|
1789 |
-
border-right: 0;
|
1790 |
}
|
1791 |
|
1792 |
-
.cm-s-
|
1793 |
-
color: #
|
1794 |
}
|
1795 |
|
1796 |
-
.cm-s-
|
1797 |
-
|
1798 |
-
border-right: .5em solid #93abdc;
|
1799 |
-
opacity: .5;
|
1800 |
}
|
1801 |
|
1802 |
-
.cm-s-
|
1803 |
-
|
1804 |
-
opacity: .5;
|
1805 |
}
|
1806 |
|
1807 |
-
.cm-s-
|
1808 |
-
|
1809 |
-
opacity: .5;
|
1810 |
}
|
1811 |
|
1812 |
-
.cm-s-
|
1813 |
-
color: #
|
1814 |
}
|
1815 |
|
1816 |
-
.cm-s-
|
1817 |
-
|
1818 |
}
|
1819 |
|
1820 |
-
.cm-s-
|
1821 |
-
|
|
|
1822 |
}
|
1823 |
|
1824 |
-
.cm-s-
|
1825 |
-
color: #
|
1826 |
}
|
1827 |
|
1828 |
-
.cm-s-
|
1829 |
-
|
|
|
1830 |
}
|
1831 |
|
1832 |
-
.cm-s-
|
1833 |
-
|
1834 |
}
|
1835 |
|
1836 |
-
.cm-s-
|
1837 |
-
|
|
|
1838 |
}
|
1839 |
|
1840 |
-
.cm-s-
|
1841 |
-
color:
|
1842 |
}
|
1843 |
|
1844 |
-
.cm-s-
|
1845 |
-
|
1846 |
}
|
1847 |
|
1848 |
-
.cm-s-
|
1849 |
-
|
1850 |
-
color: #faf8f5!important;
|
1851 |
}
|
1852 |
|
1853 |
-
.cm-s-
|
1854 |
-
color: #
|
1855 |
}
|
1856 |
|
1857 |
-
.cm-s-
|
1858 |
-
|
1859 |
-
font-weight: 700;
|
1860 |
-
color: #7f0055;
|
1861 |
}
|
1862 |
|
1863 |
-
.cm-s-
|
1864 |
-
color: #
|
1865 |
}
|
1866 |
|
1867 |
-
.cm-s-
|
1868 |
-
color: #
|
1869 |
}
|
1870 |
|
1871 |
-
.cm-s-
|
1872 |
-
color: #
|
1873 |
}
|
1874 |
|
1875 |
-
.cm-s-
|
1876 |
-
color: #
|
1877 |
}
|
1878 |
|
1879 |
-
.cm-s-
|
1880 |
-
color: #
|
1881 |
}
|
1882 |
|
1883 |
-
.cm-s-
|
1884 |
-
|
|
|
1885 |
}
|
1886 |
|
1887 |
-
.cm-s-
|
1888 |
-
color: #
|
1889 |
}
|
1890 |
|
1891 |
-
.cm-s-
|
1892 |
-
color: #
|
1893 |
}
|
1894 |
|
1895 |
-
.cm-s-
|
1896 |
-
color: #
|
1897 |
}
|
1898 |
|
1899 |
-
.cm-s-
|
1900 |
-
|
|
|
1901 |
}
|
1902 |
|
1903 |
-
.cm-s-
|
1904 |
-
|
1905 |
}
|
1906 |
|
1907 |
-
.cm-s-
|
1908 |
-
color: #
|
|
|
1909 |
}
|
1910 |
|
1911 |
-
.cm-s-
|
1912 |
-
color: #
|
|
|
1913 |
}
|
1914 |
|
1915 |
-
.cm-s-
|
1916 |
-
color: #
|
1917 |
}
|
1918 |
|
1919 |
-
.cm-s-
|
1920 |
-
color: #
|
1921 |
}
|
1922 |
|
1923 |
-
.cm-s-
|
1924 |
-
color:
|
1925 |
}
|
1926 |
|
1927 |
-
.cm-s-
|
1928 |
-
|
1929 |
}
|
1930 |
|
1931 |
-
.cm-s-
|
1932 |
-
|
1933 |
-
color: #000!important;
|
1934 |
}
|
1935 |
|
1936 |
-
.cm-s-
|
1937 |
-
color: #
|
1938 |
}
|
1939 |
|
1940 |
-
.cm-s-
|
1941 |
-
color: #
|
1942 |
-
font-style: italic;
|
1943 |
-
line-height: 1em;
|
1944 |
}
|
1945 |
|
1946 |
-
.cm-s-
|
1947 |
-
color: #
|
1948 |
-
font-style: italic;
|
1949 |
-
line-height: 1em;
|
1950 |
}
|
1951 |
|
1952 |
-
.cm-s-
|
1953 |
-
color: #
|
1954 |
}
|
1955 |
|
1956 |
-
.cm-s-
|
1957 |
-
color: #
|
1958 |
}
|
1959 |
|
1960 |
-
.cm-s-
|
1961 |
-
color: #
|
1962 |
}
|
1963 |
|
1964 |
-
.cm-s-
|
1965 |
-
color: #
|
1966 |
}
|
1967 |
|
1968 |
-
.cm-s-
|
1969 |
-
color: #
|
1970 |
}
|
1971 |
|
1972 |
-
.cm-s-
|
1973 |
-
color: #
|
1974 |
}
|
1975 |
|
1976 |
-
.cm-s-
|
1977 |
-
|
1978 |
}
|
1979 |
|
1980 |
-
.cm-s-
|
1981 |
-
|
1982 |
}
|
1983 |
|
1984 |
-
.cm-s-
|
1985 |
-
|
1986 |
-
color: #000!important;
|
1987 |
}
|
1988 |
|
1989 |
-
.cm-s-
|
1990 |
-
|
1991 |
-
color: #fff;
|
1992 |
}
|
1993 |
|
1994 |
-
.cm-s-
|
1995 |
-
|
1996 |
}
|
1997 |
|
1998 |
-
.cm-s-
|
1999 |
-
|
2000 |
}
|
2001 |
|
2002 |
-
.cm-s-
|
2003 |
-
|
2004 |
}
|
2005 |
|
2006 |
-
.cm-s-
|
2007 |
-
|
2008 |
-
border-right: 1px solid #aaa;
|
2009 |
}
|
2010 |
|
2011 |
-
.cm-s-
|
2012 |
color: #fff;
|
|
|
2013 |
}
|
2014 |
|
2015 |
-
.cm-s-
|
2016 |
-
|
|
|
|
|
2017 |
}
|
2018 |
|
2019 |
-
.cm-s-
|
2020 |
-
|
|
|
2021 |
}
|
2022 |
|
2023 |
-
.cm-s-
|
2024 |
-
color: #
|
|
|
2025 |
}
|
2026 |
|
2027 |
-
.cm-s-
|
2028 |
-
|
2029 |
}
|
2030 |
|
2031 |
-
.cm-s-
|
2032 |
-
color:
|
2033 |
}
|
2034 |
|
2035 |
-
.cm-s-
|
2036 |
-
color: #
|
2037 |
}
|
2038 |
|
2039 |
-
.cm-s-
|
2040 |
-
|
|
|
|
|
2041 |
}
|
2042 |
|
2043 |
-
.cm-s-
|
2044 |
-
|
|
|
2045 |
}
|
2046 |
|
2047 |
-
.cm-s-
|
2048 |
-
color: #
|
2049 |
}
|
2050 |
|
2051 |
-
.cm-s-
|
2052 |
-
color:
|
2053 |
}
|
2054 |
|
2055 |
-
.cm-s-
|
2056 |
-
color:
|
2057 |
}
|
2058 |
|
2059 |
-
.cm-s-
|
2060 |
-
color: #
|
2061 |
}
|
2062 |
|
2063 |
-
.cm-s-
|
2064 |
-
color:
|
2065 |
}
|
2066 |
|
2067 |
-
.cm-s-
|
2068 |
-
color: #
|
2069 |
}
|
2070 |
|
2071 |
-
.cm-s-
|
2072 |
-
color:
|
2073 |
}
|
2074 |
|
2075 |
-
.cm-s-
|
2076 |
-
color: #
|
2077 |
}
|
2078 |
|
2079 |
-
.cm-s-
|
2080 |
-
|
2081 |
}
|
2082 |
|
2083 |
-
.cm-s-
|
2084 |
-
color: #
|
2085 |
}
|
2086 |
|
2087 |
-
.cm-s-
|
2088 |
-
color: #
|
2089 |
}
|
2090 |
|
2091 |
-
.cm-s-
|
2092 |
-
|
2093 |
}
|
2094 |
|
2095 |
-
.cm-s-
|
2096 |
-
|
|
|
2097 |
}
|
2098 |
|
2099 |
-
.
|
2100 |
-
|
|
|
|
|
2101 |
}
|
2102 |
|
2103 |
-
.
|
2104 |
-
background: #
|
|
|
2105 |
}
|
2106 |
|
2107 |
-
.cm-s-
|
2108 |
-
|
2109 |
-
color: #
|
2110 |
}
|
2111 |
|
2112 |
-
.cm-s-
|
2113 |
-
background
|
2114 |
-
color: #bdae93;
|
2115 |
}
|
2116 |
|
2117 |
-
.cm-s-
|
2118 |
-
background: #
|
2119 |
border-right: 0;
|
2120 |
}
|
2121 |
|
2122 |
-
.cm-s-
|
2123 |
-
color:
|
2124 |
}
|
2125 |
|
2126 |
-
.cm-s-
|
2127 |
-
border-left: 1px solid
|
2128 |
}
|
2129 |
|
2130 |
-
.cm-s-
|
2131 |
-
|
2132 |
}
|
2133 |
|
2134 |
-
.cm-s-
|
2135 |
-
color: #
|
2136 |
}
|
2137 |
|
2138 |
-
.cm-s-
|
2139 |
-
color: #
|
2140 |
}
|
2141 |
|
2142 |
-
.cm-s-
|
2143 |
-
color:
|
2144 |
}
|
2145 |
|
2146 |
-
.cm-s-
|
2147 |
-
color: #
|
2148 |
}
|
2149 |
|
2150 |
-
.cm-s-
|
2151 |
-
color: #
|
2152 |
}
|
2153 |
|
2154 |
-
.cm-s-
|
2155 |
-
color: #
|
2156 |
}
|
2157 |
|
2158 |
-
.cm-s-
|
2159 |
-
color: #
|
2160 |
}
|
2161 |
|
2162 |
-
.cm-s-
|
2163 |
-
|
|
|
2164 |
}
|
2165 |
|
2166 |
-
.cm-s-
|
2167 |
-
color: #
|
2168 |
}
|
2169 |
|
2170 |
-
.cm-s-
|
2171 |
-
|
2172 |
}
|
2173 |
|
2174 |
-
.cm-s-
|
2175 |
-
|
2176 |
-
color: #282828!important;
|
2177 |
}
|
2178 |
|
2179 |
-
.cm-s-
|
2180 |
-
|
|
|
2181 |
}
|
2182 |
|
2183 |
-
.cm-s-
|
2184 |
-
background: #
|
2185 |
-
color: #d5d3d5;
|
2186 |
}
|
2187 |
|
2188 |
-
.cm-s-
|
2189 |
-
|
2190 |
}
|
2191 |
|
2192 |
-
.cm-s-
|
2193 |
-
background: #
|
2194 |
-
|
|
|
2195 |
}
|
2196 |
|
2197 |
-
.cm-s-
|
2198 |
-
|
2199 |
}
|
2200 |
|
2201 |
-
.cm-s-
|
2202 |
-
|
2203 |
}
|
2204 |
|
2205 |
-
.cm-s-
|
2206 |
-
|
2207 |
}
|
2208 |
|
2209 |
-
.cm-s-
|
2210 |
-
|
2211 |
}
|
2212 |
|
2213 |
-
.cm-s-
|
2214 |
-
|
2215 |
}
|
2216 |
|
2217 |
-
.cm-s-
|
2218 |
-
color: #
|
2219 |
}
|
2220 |
|
2221 |
-
.cm-s-
|
2222 |
-
|
|
|
2223 |
}
|
2224 |
|
2225 |
-
.cm-s-
|
2226 |
-
color: #
|
2227 |
}
|
2228 |
|
2229 |
-
.cm-s-
|
2230 |
-
color: #
|
2231 |
}
|
2232 |
|
2233 |
-
.cm-s-
|
2234 |
-
color: #
|
|
|
|
|
|
|
|
|
2235 |
}
|
2236 |
|
2237 |
-
.cm-s-
|
2238 |
-
|
2239 |
-
color: #989498;
|
2240 |
}
|
2241 |
|
2242 |
-
.cm-s-
|
2243 |
-
color: #
|
2244 |
}
|
2245 |
|
2246 |
-
.cm-s-
|
2247 |
-
color: #
|
2248 |
}
|
2249 |
|
2250 |
-
.cm-s-
|
2251 |
-
color: #
|
2252 |
}
|
2253 |
|
2254 |
-
.cm-s-
|
2255 |
-
|
2256 |
-
color: #fff!important;
|
2257 |
}
|
2258 |
|
2259 |
-
.cm-s-
|
2260 |
-
|
2261 |
}
|
2262 |
|
2263 |
-
.cm-s-
|
2264 |
-
color: #
|
2265 |
-
background: #1d1d1b;
|
2266 |
}
|
2267 |
|
2268 |
-
.cm-s-
|
2269 |
-
color: #
|
2270 |
-
font-weight: 700;
|
2271 |
}
|
2272 |
|
2273 |
-
.cm-s-
|
2274 |
-
color: #
|
2275 |
}
|
2276 |
|
2277 |
-
.cm-s-
|
2278 |
-
color: #
|
2279 |
}
|
2280 |
|
2281 |
-
.cm-s-
|
2282 |
-
color: #
|
2283 |
}
|
2284 |
|
2285 |
-
.cm-s-
|
2286 |
-
color: #
|
2287 |
}
|
2288 |
|
2289 |
-
.cm-s-
|
2290 |
-
color: #
|
2291 |
}
|
2292 |
|
2293 |
-
.cm-s-
|
2294 |
-
color: #
|
2295 |
}
|
2296 |
|
2297 |
-
.cm-s-
|
2298 |
-
color: #
|
2299 |
}
|
2300 |
|
2301 |
-
.cm-s-
|
2302 |
-
color: #
|
2303 |
}
|
2304 |
|
2305 |
-
.cm-s-
|
2306 |
-
color: #
|
2307 |
}
|
2308 |
|
2309 |
-
.cm-s-
|
2310 |
-
color: #
|
2311 |
}
|
2312 |
|
2313 |
-
.cm-s-
|
2314 |
-
color: #
|
2315 |
}
|
2316 |
|
2317 |
-
.cm-s-
|
2318 |
-
color: #
|
2319 |
}
|
2320 |
|
2321 |
-
.cm-s-
|
2322 |
-
|
2323 |
}
|
2324 |
|
2325 |
-
.cm-s-
|
2326 |
-
|
|
|
2327 |
}
|
2328 |
|
2329 |
-
.cm-s-
|
2330 |
-
|
2331 |
}
|
2332 |
|
2333 |
-
.cm-s-
|
2334 |
-
color: #
|
2335 |
}
|
2336 |
|
2337 |
-
.cm-s-
|
2338 |
-
color: #
|
2339 |
}
|
2340 |
|
2341 |
-
.cm-s-
|
2342 |
-
color: #
|
2343 |
}
|
2344 |
|
2345 |
-
.cm-s-
|
2346 |
-
color: #
|
2347 |
}
|
2348 |
|
2349 |
-
.cm-s-
|
2350 |
-
color: #
|
2351 |
}
|
2352 |
|
2353 |
-
.cm-s-
|
2354 |
-
color: #
|
2355 |
}
|
2356 |
|
2357 |
-
.cm-s-
|
2358 |
-
|
2359 |
}
|
2360 |
|
2361 |
-
.cm-s-
|
|
|
2362 |
color: #fff;
|
2363 |
-
|
|
|
2364 |
}
|
2365 |
|
2366 |
-
.cm-s-
|
2367 |
-
|
2368 |
-
|
2369 |
-
|
|
|
|
|
2370 |
}
|
2371 |
|
2372 |
-
.cm-s-
|
2373 |
-
|
2374 |
-
|
|
|
|
|
|
|
2375 |
}
|
2376 |
|
2377 |
-
.cm-s-
|
2378 |
-
|
2379 |
-
|
|
|
|
|
|
|
2380 |
}
|
2381 |
|
2382 |
-
.cm-s-
|
2383 |
-
background: #
|
|
|
|
|
2384 |
}
|
2385 |
|
2386 |
-
.cm-s-
|
2387 |
-
|
2388 |
}
|
2389 |
|
2390 |
-
.cm-s-
|
2391 |
-
color: #
|
|
|
2392 |
}
|
2393 |
|
2394 |
-
.cm-s-
|
2395 |
-
|
2396 |
-
font-weight: 700;
|
2397 |
-
color: navy;
|
2398 |
}
|
2399 |
|
2400 |
-
.cm-s-
|
2401 |
-
|
2402 |
-
color: navy;
|
2403 |
}
|
2404 |
|
2405 |
-
.cm-s-
|
2406 |
-
color: #
|
|
|
2407 |
}
|
2408 |
|
2409 |
-
.cm-s-
|
2410 |
-
color:
|
|
|
2411 |
}
|
2412 |
|
2413 |
-
.cm-s-
|
2414 |
-
color:
|
|
|
2415 |
}
|
2416 |
|
2417 |
-
.cm-s-
|
2418 |
-
color: #
|
|
|
2419 |
}
|
2420 |
|
2421 |
-
.cm-s-
|
2422 |
-
color:
|
2423 |
}
|
2424 |
|
2425 |
-
.cm-s-
|
2426 |
-
color: #
|
|
|
2427 |
}
|
2428 |
|
2429 |
-
.cm-s-
|
2430 |
-
color:
|
|
|
2431 |
}
|
2432 |
|
2433 |
-
.cm-s-
|
2434 |
-
color: #
|
|
|
2435 |
}
|
2436 |
|
2437 |
-
.cm-s-
|
2438 |
-
|
|
|
2439 |
}
|
2440 |
|
2441 |
-
.cm-s-
|
2442 |
-
color: #
|
|
|
2443 |
}
|
2444 |
|
2445 |
-
.cm-s-
|
2446 |
-
color: #
|
2447 |
}
|
2448 |
|
2449 |
-
.cm-s-
|
2450 |
-
|
2451 |
}
|
2452 |
|
2453 |
-
.cm-s-
|
2454 |
-
|
2455 |
-
|
2456 |
}
|
2457 |
|
2458 |
-
.
|
2459 |
-
|
2460 |
-
color: #616569;
|
2461 |
-
background-color: #ebf3fd!important;
|
2462 |
}
|
2463 |
|
2464 |
-
.
|
2465 |
-
|
2466 |
-
|
2467 |
}
|
2468 |
|
2469 |
-
.cm-s-
|
2470 |
-
|
2471 |
-
|
2472 |
}
|
2473 |
|
2474 |
-
.cm-s-
|
2475 |
-
|
2476 |
}
|
2477 |
|
2478 |
-
.cm-s-
|
2479 |
-
background:
|
2480 |
-
border-right: 0;
|
2481 |
}
|
2482 |
|
2483 |
-
.cm-s-
|
2484 |
-
color:
|
2485 |
}
|
2486 |
|
2487 |
-
.cm-s-
|
2488 |
-
|
2489 |
}
|
2490 |
|
2491 |
-
.cm-s-
|
2492 |
-
color: #
|
|
|
2493 |
}
|
2494 |
|
2495 |
-
.cm-s-
|
2496 |
-
color:
|
|
|
2497 |
}
|
2498 |
|
2499 |
-
.
|
2500 |
-
color:
|
2501 |
}
|
2502 |
|
2503 |
-
.cm-s-
|
2504 |
-
color:
|
2505 |
}
|
2506 |
|
2507 |
-
.cm-s-
|
2508 |
-
color:
|
|
|
|
|
2509 |
}
|
2510 |
|
2511 |
-
.cm-s-
|
2512 |
-
|
|
|
2513 |
}
|
2514 |
|
2515 |
-
.cm-s-
|
2516 |
-
|
|
|
2517 |
}
|
2518 |
|
2519 |
-
.cm-s-
|
2520 |
-
color: #
|
2521 |
}
|
2522 |
|
2523 |
-
.cm-s-
|
2524 |
-
background:
|
2525 |
-
|
2526 |
}
|
2527 |
|
2528 |
-
.cm-s-
|
2529 |
-
color: #
|
|
|
2530 |
}
|
2531 |
|
2532 |
-
.cm-s-
|
2533 |
-
|
2534 |
}
|
2535 |
|
2536 |
-
.cm-s-
|
2537 |
-
color: #
|
|
|
|
|
2538 |
}
|
2539 |
|
2540 |
-
.cm-s-
|
2541 |
-
|
2542 |
-
color: #fff!important;
|
2543 |
}
|
2544 |
|
2545 |
-
.cm-s-
|
2546 |
-
|
2547 |
}
|
2548 |
|
2549 |
-
.cm-s-
|
2550 |
-
|
2551 |
}
|
2552 |
|
2553 |
-
.cm-s-
|
2554 |
-
background: #
|
2555 |
-
color: #ebefe7;
|
2556 |
-
text-shadow: 0 -1px 1px #262626;
|
2557 |
}
|
2558 |
|
2559 |
-
.cm-s-
|
2560 |
-
background: #
|
2561 |
}
|
2562 |
|
2563 |
-
.cm-s-
|
2564 |
-
background:
|
2565 |
}
|
2566 |
|
2567 |
-
.cm-s-
|
2568 |
-
|
2569 |
}
|
2570 |
|
2571 |
-
.cm-s-
|
2572 |
-
|
2573 |
}
|
2574 |
|
2575 |
-
.cm-s-
|
2576 |
-
|
2577 |
}
|
2578 |
|
2579 |
-
.cm-s-
|
2580 |
-
color: #
|
2581 |
}
|
2582 |
|
2583 |
-
.cm-s-
|
2584 |
-
|
2585 |
-
border-right: 1px solid #aaa;
|
2586 |
}
|
2587 |
|
2588 |
-
.cm-s-
|
2589 |
-
color: #
|
2590 |
}
|
2591 |
|
2592 |
-
.cm-s-
|
2593 |
-
color: #
|
2594 |
}
|
2595 |
|
2596 |
-
.cm-s-
|
2597 |
-
color: #
|
2598 |
}
|
2599 |
|
2600 |
-
.cm-s-
|
2601 |
-
color: #
|
2602 |
}
|
2603 |
|
2604 |
-
.cm-s-
|
2605 |
-
color: #
|
2606 |
}
|
2607 |
|
2608 |
-
.cm-s-
|
2609 |
-
color: #
|
2610 |
}
|
2611 |
|
2612 |
-
.cm-s-
|
2613 |
-
color: #
|
2614 |
}
|
2615 |
|
2616 |
-
.cm-s-
|
2617 |
-
color: #
|
2618 |
}
|
2619 |
|
2620 |
-
.cm-s-
|
2621 |
-
color: #
|
2622 |
}
|
2623 |
|
2624 |
-
.cm-s-
|
2625 |
-
color: #
|
2626 |
}
|
2627 |
|
2628 |
-
.cm-s-
|
2629 |
-
|
2630 |
}
|
2631 |
|
2632 |
-
.cm-s-
|
2633 |
-
|
|
|
2634 |
}
|
2635 |
|
2636 |
-
.cm-s-
|
2637 |
-
color: #
|
|
|
2638 |
}
|
2639 |
|
2640 |
-
.cm-s-
|
2641 |
-
|
|
|
|
|
2642 |
}
|
2643 |
|
2644 |
-
.cm-s-
|
2645 |
-
color: #
|
2646 |
}
|
2647 |
|
2648 |
-
.cm-s-
|
2649 |
-
|
2650 |
}
|
2651 |
|
2652 |
-
.cm-s-
|
2653 |
-
|
2654 |
}
|
2655 |
|
2656 |
-
.cm-s-
|
2657 |
-
|
2658 |
}
|
2659 |
|
2660 |
-
.cm-s-
|
2661 |
-
|
2662 |
}
|
2663 |
|
2664 |
-
.cm-s-
|
2665 |
-
|
2666 |
}
|
2667 |
|
2668 |
-
.cm-s-
|
2669 |
-
color: #
|
2670 |
}
|
2671 |
|
2672 |
-
.cm-s-
|
2673 |
-
color: #
|
2674 |
}
|
2675 |
|
2676 |
-
.cm-s-
|
2677 |
-
color: #
|
2678 |
}
|
2679 |
|
2680 |
-
.cm-s-
|
2681 |
-
color: #
|
2682 |
}
|
2683 |
|
2684 |
-
.cm-s-
|
2685 |
-
|
2686 |
}
|
2687 |
|
2688 |
-
.cm-s-
|
2689 |
-
|
2690 |
-
color: #fff!important;
|
2691 |
}
|
2692 |
|
2693 |
-
.cm-s-
|
2694 |
-
|
2695 |
-
color: #fff;
|
2696 |
-
line-height: 1.2em;
|
2697 |
-
font-size: 1em;
|
2698 |
}
|
2699 |
|
2700 |
-
.cm-s-
|
2701 |
-
|
2702 |
-
-webkit-text-decoration-color: #0f0;
|
2703 |
-
text-decoration-color: #0f0;
|
2704 |
-
-webkit-text-decoration-style: wavy;
|
2705 |
-
text-decoration-style: wavy;
|
2706 |
}
|
2707 |
|
2708 |
-
.cm-s-
|
2709 |
-
|
2710 |
-
-webkit-text-decoration-color: red;
|
2711 |
-
text-decoration-color: red;
|
2712 |
-
-webkit-text-decoration-style: dotted;
|
2713 |
-
text-decoration-style: dotted;
|
2714 |
}
|
2715 |
|
2716 |
-
.cm-s-
|
2717 |
-
|
2718 |
-
-webkit-text-decoration-color: #404040;
|
2719 |
-
text-decoration-color: #404040;
|
2720 |
-
-webkit-text-decoration-style: dotted;
|
2721 |
-
text-decoration-style: dotted;
|
2722 |
}
|
2723 |
|
2724 |
-
.cm-s-
|
2725 |
-
|
2726 |
-
border-right: 1px solid #505050;
|
2727 |
-
padding-right: .8em;
|
2728 |
}
|
2729 |
|
2730 |
-
.cm-s-
|
2731 |
-
|
2732 |
}
|
2733 |
|
2734 |
-
.cm-s-
|
2735 |
-
color: #
|
2736 |
-
padding-left: 0;
|
2737 |
}
|
2738 |
|
2739 |
-
.cm-s-
|
2740 |
-
|
2741 |
}
|
2742 |
|
2743 |
-
.cm-s-
|
2744 |
-
color:
|
2745 |
}
|
2746 |
|
2747 |
-
.cm-s-
|
2748 |
-
color: #
|
2749 |
-
font-weight: 700;
|
2750 |
}
|
2751 |
|
2752 |
-
.cm-s-
|
2753 |
-
color: #
|
2754 |
-
|
2755 |
}
|
2756 |
|
2757 |
-
.cm-s-
|
2758 |
-
|
2759 |
-
|
2760 |
}
|
2761 |
|
2762 |
-
.cm-s-
|
2763 |
-
color: #
|
2764 |
-
|
2765 |
}
|
2766 |
|
2767 |
-
.cm-s-
|
2768 |
-
|
|
|
|
|
2769 |
}
|
2770 |
|
2771 |
-
.cm-s-
|
2772 |
-
color: #
|
2773 |
-
font-weight: 700;
|
2774 |
}
|
2775 |
|
2776 |
-
.cm-s-
|
2777 |
-
|
2778 |
-
font-weight: 700;
|
2779 |
}
|
2780 |
|
2781 |
-
.cm-s-
|
2782 |
-
color: #
|
2783 |
-
font-weight: 700;
|
2784 |
}
|
2785 |
|
2786 |
-
.cm-s-
|
2787 |
-
|
2788 |
-
font-weight: 700;
|
2789 |
}
|
2790 |
|
2791 |
-
.cm-s-
|
2792 |
-
|
2793 |
-
font-weight: 700;
|
2794 |
}
|
2795 |
|
2796 |
-
.cm-s-
|
2797 |
-
|
2798 |
}
|
2799 |
|
2800 |
-
.cm-s-
|
2801 |
-
|
2802 |
}
|
2803 |
|
2804 |
-
.cm-s-
|
2805 |
-
color: #
|
2806 |
-
font-weight: 700;
|
2807 |
}
|
2808 |
|
2809 |
-
.cm-s-
|
2810 |
-
color: #
|
2811 |
}
|
2812 |
|
2813 |
-
.cm-s-
|
2814 |
-
color: #
|
2815 |
-
font-weight: 700;
|
2816 |
}
|
2817 |
|
2818 |
-
.cm-s-
|
2819 |
-
color: #
|
2820 |
-
font-weight: 700;
|
2821 |
}
|
2822 |
|
2823 |
-
.cm-s-
|
2824 |
-
color:
|
2825 |
}
|
2826 |
|
2827 |
-
.cm-s-
|
2828 |
-
|
2829 |
}
|
2830 |
|
2831 |
-
.cm-s-
|
2832 |
-
|
2833 |
}
|
2834 |
|
2835 |
-
.cm-s-
|
2836 |
-
|
2837 |
}
|
2838 |
|
2839 |
-
.cm-s-
|
2840 |
-
color: #
|
2841 |
-
font-weight: 700;
|
2842 |
}
|
2843 |
|
2844 |
-
.cm-s-
|
2845 |
-
color:
|
2846 |
-
font-weight: 700;
|
2847 |
}
|
2848 |
|
2849 |
-
.
|
2850 |
-
|
2851 |
}
|
2852 |
|
2853 |
-
.cm-s-
|
2854 |
-
|
2855 |
}
|
2856 |
|
2857 |
-
.cm-s-
|
2858 |
-
|
2859 |
-
border: 1px solid #404040;
|
2860 |
-
border-radius: 5px;
|
2861 |
}
|
2862 |
|
2863 |
-
.cm-s-
|
2864 |
-
|
2865 |
-
border-bottom: 1px solid #404040;
|
2866 |
}
|
2867 |
|
2868 |
-
.cm-s-
|
2869 |
-
|
2870 |
-
border-right: 1px solid #404040;
|
2871 |
}
|
2872 |
|
2873 |
-
.cm-s-
|
2874 |
-
|
2875 |
}
|
2876 |
|
2877 |
-
.cm-s-
|
2878 |
-
|
2879 |
-
|
2880 |
}
|
2881 |
|
2882 |
-
.cm-s-
|
2883 |
-
|
2884 |
-
|
2885 |
}
|
2886 |
|
2887 |
-
.cm-s-
|
2888 |
-
|
|
|
2889 |
}
|
2890 |
|
2891 |
-
.cm-s-
|
2892 |
-
background
|
2893 |
-
color: #
|
2894 |
border: none;
|
2895 |
}
|
2896 |
|
2897 |
-
.cm-s-
|
2898 |
-
color: #
|
2899 |
}
|
2900 |
|
2901 |
-
.cm-s-
|
2902 |
-
border-left:
|
2903 |
}
|
2904 |
|
2905 |
-
.cm-s-
|
2906 |
-
color: #
|
2907 |
}
|
2908 |
|
2909 |
-
.cm-s-
|
2910 |
-
background:
|
2911 |
}
|
2912 |
|
2913 |
-
.cm-s-
|
2914 |
-
background:
|
2915 |
}
|
2916 |
|
2917 |
-
.cm-s-
|
2918 |
-
background:
|
2919 |
}
|
2920 |
|
2921 |
-
.cm-s-
|
2922 |
-
|
2923 |
}
|
2924 |
|
2925 |
-
.cm-s-
|
2926 |
-
color: #
|
2927 |
}
|
2928 |
|
2929 |
-
.cm-s-
|
2930 |
-
color: #
|
2931 |
}
|
2932 |
|
2933 |
-
.cm-s-
|
2934 |
-
color: #
|
2935 |
}
|
2936 |
|
2937 |
-
.cm-s-
|
2938 |
-
color: #
|
2939 |
}
|
2940 |
|
2941 |
-
.cm-s-
|
2942 |
-
color: #
|
2943 |
}
|
2944 |
|
2945 |
-
.cm-s-
|
2946 |
-
color: #
|
2947 |
}
|
2948 |
|
2949 |
-
.cm-s-
|
2950 |
-
color: #
|
2951 |
}
|
2952 |
|
2953 |
-
.cm-s-
|
2954 |
-
color: #
|
2955 |
}
|
2956 |
|
2957 |
-
.cm-s-
|
2958 |
-
color: #
|
2959 |
}
|
2960 |
|
2961 |
-
.cm-s-
|
2962 |
-
color: #
|
2963 |
}
|
2964 |
|
2965 |
-
.cm-s-
|
2966 |
-
color: #
|
2967 |
}
|
2968 |
|
2969 |
-
.cm-s-
|
2970 |
-
color: #
|
2971 |
}
|
2972 |
|
2973 |
-
.cm-s-
|
2974 |
-
color: #
|
2975 |
}
|
2976 |
|
2977 |
-
.cm-s-
|
2978 |
-
color: #
|
2979 |
}
|
2980 |
|
2981 |
-
.cm-s-
|
2982 |
-
|
2983 |
}
|
2984 |
|
2985 |
-
.cm-s-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2986 |
text-decoration: underline;
|
2987 |
color: #fff!important;
|
2988 |
}
|
2989 |
|
2990 |
.cm-s-material.CodeMirror {
|
2991 |
background-color: #263238;
|
2992 |
-
color: #
|
2993 |
}
|
2994 |
|
2995 |
.cm-s-material .CodeMirror-gutters {
|
2996 |
background: #263238;
|
2997 |
-
color: #
|
2998 |
border: none;
|
2999 |
}
|
3000 |
|
3001 |
.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber {
|
3002 |
-
color: #
|
3003 |
}
|
3004 |
|
3005 |
.cm-s-material .CodeMirror-cursor {
|
3006 |
-
border-left: 1px solid #
|
3007 |
}
|
3008 |
|
3009 |
-
.cm-s-material
|
3010 |
-
background:
|
3011 |
}
|
3012 |
|
3013 |
-
.cm-s-material.CodeMirror-focused div.CodeMirror-selected {
|
3014 |
-
background:
|
3015 |
}
|
3016 |
|
3017 |
.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection {
|
3018 |
-
background:
|
3019 |
}
|
3020 |
|
3021 |
.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection {
|
3022 |
-
background:
|
3023 |
}
|
3024 |
|
3025 |
.cm-s-material .CodeMirror-activeline-background {
|
3026 |
-
background:
|
3027 |
}
|
3028 |
|
3029 |
.cm-s-material .cm-keyword {
|
@@ -3031,27 +3878,31 @@ span.CodeMirror-selectedtext {
|
|
3031 |
}
|
3032 |
|
3033 |
.cm-s-material .cm-operator {
|
3034 |
-
color: #
|
3035 |
}
|
3036 |
|
3037 |
.cm-s-material .cm-variable-2 {
|
3038 |
-
color: #
|
3039 |
}
|
3040 |
|
3041 |
.cm-s-material .cm-type,.cm-s-material .cm-variable-3 {
|
3042 |
-
color: #
|
3043 |
}
|
3044 |
|
3045 |
.cm-s-material .cm-builtin {
|
3046 |
-
color: #
|
|
|
|
|
|
|
|
|
3047 |
}
|
3048 |
|
3049 |
-
.cm-s-material .cm-
|
3050 |
-
color: #
|
3051 |
}
|
3052 |
|
3053 |
.cm-s-material .cm-def {
|
3054 |
-
color: #
|
3055 |
}
|
3056 |
|
3057 |
.cm-s-material .cm-string {
|
@@ -3059,7 +3910,7 @@ span.CodeMirror-selectedtext {
|
|
3059 |
}
|
3060 |
|
3061 |
.cm-s-material .cm-string-2 {
|
3062 |
-
color: #
|
3063 |
}
|
3064 |
|
3065 |
.cm-s-material .cm-comment {
|
@@ -3067,32 +3918,28 @@ span.CodeMirror-selectedtext {
|
|
3067 |
}
|
3068 |
|
3069 |
.cm-s-material .cm-variable {
|
3070 |
-
color: #
|
3071 |
}
|
3072 |
|
3073 |
-
.cm-s-material .cm-
|
3074 |
-
color: #
|
3075 |
}
|
3076 |
|
3077 |
-
.cm-s-material .cm-
|
3078 |
color: #ffcb6b;
|
3079 |
}
|
3080 |
|
3081 |
-
.cm-s-material .cm-property {
|
3082 |
-
color: #
|
3083 |
}
|
3084 |
|
3085 |
.cm-s-material .cm-qualifier,.cm-s-material .cm-type,.cm-s-material .cm-variable-3 {
|
3086 |
color: #decb6b;
|
3087 |
}
|
3088 |
|
3089 |
-
.cm-s-material .cm-tag {
|
3090 |
-
color: #ff5370;
|
3091 |
-
}
|
3092 |
-
|
3093 |
.cm-s-material .cm-error {
|
3094 |
color: #fff;
|
3095 |
-
background-color: #
|
3096 |
}
|
3097 |
|
3098 |
.cm-s-material .CodeMirror-matchingbracket {
|
@@ -3541,115 +4388,173 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
3541 |
color: #fff!important;
|
3542 |
}
|
3543 |
|
3544 |
-
.cm-s-
|
3545 |
-
color: #
|
|
|
|
|
3546 |
}
|
3547 |
|
3548 |
-
.cm-s-
|
3549 |
-
|
3550 |
-
|
3551 |
-
|
3552 |
}
|
3553 |
|
3554 |
-
.cm-s-
|
3555 |
-
color: #
|
3556 |
}
|
3557 |
|
3558 |
-
.cm-s-
|
3559 |
-
|
3560 |
-
font-weight: 700;
|
3561 |
-
color: #077;
|
3562 |
}
|
3563 |
|
3564 |
-
.cm-s-
|
3565 |
-
|
3566 |
-
font-weight: 700;
|
3567 |
-
color: #0aa;
|
3568 |
}
|
3569 |
|
3570 |
-
.cm-s-
|
3571 |
-
|
3572 |
}
|
3573 |
|
3574 |
-
.cm-s-
|
3575 |
-
|
3576 |
}
|
3577 |
|
3578 |
-
.cm-s-
|
3579 |
-
|
3580 |
}
|
3581 |
|
3582 |
-
.cm-s-
|
3583 |
-
|
3584 |
}
|
3585 |
|
3586 |
-
.cm-s-
|
3587 |
-
|
3588 |
}
|
3589 |
|
3590 |
-
.cm-s-
|
3591 |
-
|
3592 |
-
color: #000!important;
|
3593 |
}
|
3594 |
|
3595 |
-
.cm-s-
|
3596 |
-
|
3597 |
-
color: #2e383c;
|
3598 |
-
line-height: 1.4375;
|
3599 |
}
|
3600 |
|
3601 |
-
.cm-s-
|
3602 |
-
color: #
|
3603 |
}
|
3604 |
|
3605 |
-
.cm-s-
|
3606 |
-
color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3607 |
}
|
3608 |
|
3609 |
-
.cm-s-
|
3610 |
-
|
|
|
|
|
3611 |
}
|
3612 |
|
3613 |
-
.cm-s-
|
3614 |
-
color: #
|
3615 |
}
|
3616 |
|
3617 |
-
.cm-s-
|
3618 |
-
|
|
|
|
|
3619 |
}
|
3620 |
|
3621 |
-
.cm-s-
|
3622 |
-
|
|
|
|
|
3623 |
}
|
3624 |
|
3625 |
-
.cm-s-
|
3626 |
-
|
3627 |
}
|
3628 |
|
3629 |
-
.cm-s-
|
3630 |
-
|
3631 |
-
border-right: 10px solid transparent;
|
3632 |
-
background-color: transparent;
|
3633 |
}
|
3634 |
|
3635 |
-
.cm-s-
|
3636 |
-
|
3637 |
-
color: #e0e2e5;
|
3638 |
}
|
3639 |
|
3640 |
-
.cm-s-
|
3641 |
-
color: #
|
3642 |
}
|
3643 |
|
3644 |
-
.cm-s-
|
3645 |
-
|
3646 |
}
|
3647 |
|
3648 |
-
.cm-s-
|
3649 |
-
|
3650 |
-
|
3651 |
-
background: hsla(223,4%,62%,.37);
|
3652 |
-
z-index: 1;
|
3653 |
}
|
3654 |
|
3655 |
.cm-s-night.CodeMirror {
|
@@ -3747,6 +4652,66 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
3747 |
color: #fff!important;
|
3748 |
}
|
3749 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3750 |
.cm-s-nord.CodeMirror {
|
3751 |
background: #2e3440;
|
3752 |
color: #d8dee9;
|
@@ -3881,6 +4846,10 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
3881 |
border-left: 1px solid #f8f8f0;
|
3882 |
}
|
3883 |
|
|
|
|
|
|
|
|
|
3884 |
.cm-s-oceanic-next span.cm-comment {
|
3885 |
color: #65737e;
|
3886 |
}
|
@@ -4908,15 +5877,11 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
4908 |
background: #eee8d5;
|
4909 |
}
|
4910 |
|
4911 |
-
.cm-s-light .CodeMirror-line>span::-moz-selection,.cm-s-light .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection {
|
4912 |
-
background: #eee8d5;
|
4913 |
-
}
|
4914 |
-
|
4915 |
.cm-s-light .CodeMirror-line>span::selection,.cm-s-light .CodeMirror-line>span>span::selection,.cm-s-solarized.cm-s-light .CodeMirror-line::selection {
|
4916 |
background: #eee8d5;
|
4917 |
}
|
4918 |
|
4919 |
-
.cm-s-
|
4920 |
background: #eee8d5;
|
4921 |
}
|
4922 |
|
@@ -5823,75 +6788,6 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
5823 |
color: #fff!important;
|
5824 |
}
|
5825 |
|
5826 |
-
.cm-s-xq-light span.cm-keyword {
|
5827 |
-
line-height: 1em;
|
5828 |
-
font-weight: 700;
|
5829 |
-
color: #5a5cad;
|
5830 |
-
}
|
5831 |
-
|
5832 |
-
.cm-s-xq-light span.cm-atom {
|
5833 |
-
color: #6c8cd5;
|
5834 |
-
}
|
5835 |
-
|
5836 |
-
.cm-s-xq-light span.cm-number {
|
5837 |
-
color: #164;
|
5838 |
-
}
|
5839 |
-
|
5840 |
-
.cm-s-xq-light span.cm-def {
|
5841 |
-
text-decoration: underline;
|
5842 |
-
}
|
5843 |
-
|
5844 |
-
.cm-s-xq-light span.cm-type,.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3 {
|
5845 |
-
color: #000;
|
5846 |
-
}
|
5847 |
-
|
5848 |
-
.cm-s-xq-light span.cm-comment {
|
5849 |
-
color: #0080ff;
|
5850 |
-
font-style: italic;
|
5851 |
-
}
|
5852 |
-
|
5853 |
-
.cm-s-xq-light span.cm-string {
|
5854 |
-
color: red;
|
5855 |
-
}
|
5856 |
-
|
5857 |
-
.cm-s-xq-light span.cm-meta {
|
5858 |
-
color: #ff0;
|
5859 |
-
}
|
5860 |
-
|
5861 |
-
.cm-s-xq-light span.cm-qualifier {
|
5862 |
-
color: grey;
|
5863 |
-
}
|
5864 |
-
|
5865 |
-
.cm-s-xq-light span.cm-builtin {
|
5866 |
-
color: #7ea656;
|
5867 |
-
}
|
5868 |
-
|
5869 |
-
.cm-s-xq-light span.cm-bracket {
|
5870 |
-
color: #cc7;
|
5871 |
-
}
|
5872 |
-
|
5873 |
-
.cm-s-xq-light span.cm-tag {
|
5874 |
-
color: #3f7f7f;
|
5875 |
-
}
|
5876 |
-
|
5877 |
-
.cm-s-xq-light span.cm-attribute {
|
5878 |
-
color: #7f007f;
|
5879 |
-
}
|
5880 |
-
|
5881 |
-
.cm-s-xq-light span.cm-error {
|
5882 |
-
color: red;
|
5883 |
-
}
|
5884 |
-
|
5885 |
-
.cm-s-xq-light .CodeMirror-activeline-background {
|
5886 |
-
background: #e8f2ff;
|
5887 |
-
}
|
5888 |
-
|
5889 |
-
.cm-s-xq-light .CodeMirror-matchingbracket {
|
5890 |
-
outline: 1px solid grey;
|
5891 |
-
color: #000!important;
|
5892 |
-
background: #ff0;
|
5893 |
-
}
|
5894 |
-
|
5895 |
.cm-s-yeti.CodeMirror {
|
5896 |
background-color: #eceae8!important;
|
5897 |
color: #d1c9c0!important;
|
@@ -5993,7 +6889,7 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
5993 |
background: rgba(252,69,133,.478);
|
5994 |
}
|
5995 |
|
5996 |
-
.cm-s-yonce .CodeMirror-line::-moz-selection,.cm-s-yonce .CodeMirror-line>span::-moz-selection,.cm-s-yonce .CodeMirror-line>span>span::-moz-selection
|
5997 |
background: rgba(252,67,132,.47);
|
5998 |
}
|
5999 |
|
@@ -6028,12 +6924,12 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
6028 |
}
|
6029 |
|
6030 |
.cm-s-yonce .cm-searching {
|
6031 |
-
background:
|
6032 |
outline: 1px solid #f39b35;
|
6033 |
}
|
6034 |
|
6035 |
.cm-s-yonce .cm-searching.CodeMirror-selectedtext {
|
6036 |
-
background:
|
6037 |
color: #fff;
|
6038 |
}
|
6039 |
|
@@ -6102,48 +6998,117 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
6102 |
color: #d4d4d4;
|
6103 |
}
|
6104 |
|
6105 |
-
.cm-s-yonce .cm-string {
|
6106 |
-
color: #e6db74;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6107 |
}
|
6108 |
|
6109 |
-
.cm-s-
|
6110 |
-
color: #
|
6111 |
}
|
6112 |
|
6113 |
-
.cm-s-
|
6114 |
-
color:
|
6115 |
-
background: inherit;
|
6116 |
}
|
6117 |
|
6118 |
-
.cm-s-
|
6119 |
-
color: #
|
6120 |
}
|
6121 |
|
6122 |
-
.cm-s-
|
6123 |
-
color: #
|
6124 |
}
|
6125 |
|
6126 |
-
.cm-s-
|
6127 |
-
color: #
|
6128 |
}
|
6129 |
|
6130 |
-
.cm-s-
|
6131 |
-
color: #
|
6132 |
-
font-style: italic;
|
6133 |
-
text-decoration: none;
|
6134 |
}
|
6135 |
|
6136 |
-
.cm-s-
|
6137 |
-
|
6138 |
}
|
6139 |
|
6140 |
-
.cm-s-
|
6141 |
-
background: #
|
6142 |
}
|
6143 |
|
6144 |
-
.cm-s-
|
6145 |
outline: 1px solid grey;
|
6146 |
-
color: #
|
|
|
6147 |
}
|
6148 |
|
6149 |
.cm-s-zenburn .CodeMirror-gutters {
|
@@ -6158,7 +7123,7 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
6158 |
border-left: 1px solid #fff;
|
6159 |
}
|
6160 |
|
6161 |
-
.cm-s-zenburn {
|
6162 |
background-color: #3f3f3f;
|
6163 |
color: #dcdccc;
|
6164 |
}
|
@@ -6244,6 +7209,109 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
6244 |
background: #4f4f4f;
|
6245 |
}
|
6246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6247 |
.cm-s-wordpress.CodeMirror {
|
6248 |
background-color: #2a3036;
|
6249 |
color: #e9eded;
|
@@ -6354,111 +7422,8 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
6354 |
}
|
6355 |
|
6356 |
.cm-s-wordpress .CodeMirror-matchingbracket {
|
6357 |
-
text-decoration: underline;
|
6358 |
-
color: #fff!important;
|
6359 |
-
}
|
6360 |
-
|
6361 |
-
.cm-s-codepen .box pre {
|
6362 |
-
color: #fff;
|
6363 |
-
}
|
6364 |
-
|
6365 |
-
.cm-s-codepen .cm-atom,.cm-s-codepen .cm-keyword {
|
6366 |
-
color: #ddca7e;
|
6367 |
-
}
|
6368 |
-
|
6369 |
-
.cm-s-codepen .cm-number,.cm-s-codepen .cm-unit {
|
6370 |
-
color: #d0782a;
|
6371 |
-
}
|
6372 |
-
|
6373 |
-
.cm-s-codepen .cm-def {
|
6374 |
-
color: #809bbd;
|
6375 |
-
}
|
6376 |
-
|
6377 |
-
.cm-s-codepen .cm-variable {
|
6378 |
-
color: #ddca7e;
|
6379 |
-
}
|
6380 |
-
|
6381 |
-
.cm-s-codepen .cm-variable-2 {
|
6382 |
-
color: #809bbd;
|
6383 |
-
}
|
6384 |
-
|
6385 |
-
.cm-s-codepen .cm-property {
|
6386 |
-
color: #9a8297;
|
6387 |
-
}
|
6388 |
-
|
6389 |
-
.cm-s-codepen .cm-operator {
|
6390 |
-
color: #ccc;
|
6391 |
-
}
|
6392 |
-
|
6393 |
-
.cm-s-codepen .cm-comment {
|
6394 |
-
color: #666;
|
6395 |
-
}
|
6396 |
-
|
6397 |
-
.cm-s-codepen .cm-string {
|
6398 |
-
color: #96b38a;
|
6399 |
-
}
|
6400 |
-
|
6401 |
-
.cm-s-codepen .cm-string-2 {
|
6402 |
-
color: #fff;
|
6403 |
-
}
|
6404 |
-
|
6405 |
-
.cm-s-codepen .cm-meta {
|
6406 |
-
color: #9a8297;
|
6407 |
-
}
|
6408 |
-
|
6409 |
-
.cm-s-codepen .cm-header {
|
6410 |
-
color: #ff6400;
|
6411 |
-
}
|
6412 |
-
|
6413 |
-
.cm-s-codepen .cm-tag {
|
6414 |
-
color: #9a6e35;
|
6415 |
-
}
|
6416 |
-
|
6417 |
-
.cm-s-codepen .cm-attribute,.cm-s-codepen .cm-builtin,.cm-s-codepen .cm-em,.cm-s-codepen .cm-qualifier,.cm-s-codepen .cm-strong {
|
6418 |
-
color: #ddca7e;
|
6419 |
-
}
|
6420 |
-
|
6421 |
-
.cm-s-codepen .cm-error {
|
6422 |
-
color: #fff;
|
6423 |
-
background-color: #ec5f67;
|
6424 |
-
}
|
6425 |
-
|
6426 |
-
.cm-s-codepen .CodeMirror-guttermarker,.cm-s-codepen .CodeMirror-guttermarker-subtle,.cm-s-codepen .CodeMirror-linenumber {
|
6427 |
-
color: #666;
|
6428 |
-
}
|
6429 |
-
|
6430 |
-
.cm-s-codepen.CodeMirror {
|
6431 |
-
background: #1d1f20;
|
6432 |
-
color: #fff;
|
6433 |
-
}
|
6434 |
-
|
6435 |
-
.cm-s-codepen .CodeMirror-gutters {
|
6436 |
-
background: #1d1f20;
|
6437 |
-
border: none;
|
6438 |
-
}
|
6439 |
-
|
6440 |
-
.cm-s-codepen .CodeMirror-activeline-background {
|
6441 |
-
background: transparent;
|
6442 |
-
}
|
6443 |
-
|
6444 |
-
.cm-s-codepen .CodeMirror-cursor {
|
6445 |
-
border-left: 1px solid #f8f8f0;
|
6446 |
-
}
|
6447 |
-
|
6448 |
-
.cm-s-codepen div.CodeMirror-selected {
|
6449 |
-
background: hsla(0,0%,100%,.15);
|
6450 |
-
}
|
6451 |
-
|
6452 |
-
.cm-s-codepen.CodeMirror-focused div.CodeMirror-selected {
|
6453 |
-
background: hsla(0,0%,100%,.1);
|
6454 |
-
}
|
6455 |
-
|
6456 |
-
.cm-s-codepen .CodeMirror-line::selection,.cm-s-codepen .CodeMirror-line>span::selection,.cm-s-codepen .CodeMirror-line>span>span::selection {
|
6457 |
-
background: hsla(0,0%,100%,.1);
|
6458 |
-
}
|
6459 |
-
|
6460 |
-
.cm-s-codepen .CodeMirror-line::-moz-selection,.cm-s-codepen .CodeMirror-line>span::-moz-selection,.cm-s-codepen .CodeMirror-line>span>span::-moz-selection {
|
6461 |
-
background: hsla(0,0%,100%,.1);
|
6462 |
}
|
6463 |
|
6464 |
.CodeMirror-foldmarker {
|
@@ -6512,6 +7477,30 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
6512 |
cursor: pointer;
|
6513 |
}
|
6514 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6515 |
.CodeMirror-settings__toggle:after {
|
6516 |
content: "\f111";
|
6517 |
font-family: dashicons;
|
@@ -6519,6 +7508,30 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
6519 |
display: inline-block;
|
6520 |
}
|
6521 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6522 |
.CodeMirror-settings__toggle:before {
|
6523 |
border: 1px solid #ddd;
|
6524 |
border-radius: 3px;
|
@@ -6563,6 +7576,18 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
6563 |
box-sizing: border-box;
|
6564 |
}
|
6565 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6566 |
.CodeMirror-settings__header {
|
6567 |
border-top-left-radius: 3px;
|
6568 |
border-top-right-radius: 3px;
|
@@ -6572,6 +7597,18 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket {
|
|
6572 |
border-bottom-right-radius: 3px;
|
6573 |
}
|
6574 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6575 |
.CodeMirror-settings__body {
|
6576 |
flex: 1 1 auto;
|
6577 |
box-sizing: border-box;
|
@@ -6686,6 +7723,10 @@ td.CodeMirror-settings__heading {
|
|
6686 |
transform: none!important;
|
6687 |
}
|
6688 |
|
|
|
|
|
|
|
|
|
6689 |
.CodeMirror-settings__button input,.CodeMirror-settings__button select {
|
6690 |
display: block;
|
6691 |
position: absolute;
|
@@ -6712,10 +7753,10 @@ td.CodeMirror-settings__heading {
|
|
6712 |
|
6713 |
.CodeMirror-settings__button--select:after {
|
6714 |
content: "\f140";
|
6715 |
-
font
|
6716 |
-
|
|
|
6717 |
display: inline-block;
|
6718 |
-
margin: 0 -5px -4px;
|
6719 |
}
|
6720 |
|
6721 |
.CodeMirror-settings__toggle-advanced {
|
@@ -6744,6 +7785,30 @@ td.CodeMirror-settings__heading {
|
|
6744 |
background-color: #fff;
|
6745 |
}
|
6746 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6747 |
.CodeMirror-dialog:after {
|
6748 |
position: absolute;
|
6749 |
right: 0;
|
@@ -6755,6 +7820,30 @@ td.CodeMirror-settings__heading {
|
|
6755 |
cursor: pointer;
|
6756 |
}
|
6757 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6758 |
.CodeMirror-dialog input {
|
6759 |
border: none;
|
6760 |
outline: none;
|
@@ -6813,7 +7902,7 @@ td.CodeMirror-settings__heading {
|
|
6813 |
content: "";
|
6814 |
background-color: #f5f5f5;
|
6815 |
border: 1px solid #ddd;
|
6816 |
-
border-radius:
|
6817 |
position: absolute;
|
6818 |
}
|
6819 |
|
@@ -6854,6 +7943,18 @@ td.CodeMirror-settings__heading {
|
|
6854 |
bottom: 6px;
|
6855 |
}
|
6856 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6857 |
.wp-editor-expand .CodeMirror {
|
6858 |
min-height: 300px;
|
6859 |
}
|
@@ -6872,6 +7973,18 @@ td.CodeMirror-settings__heading {
|
|
6872 |
opacity: 0!important;
|
6873 |
}
|
6874 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6875 |
#template .CodeMirror div {
|
6876 |
margin-right: 0;
|
6877 |
}
|
@@ -6925,6 +8038,12 @@ td.CodeMirror-settings__heading {
|
|
6925 |
height: 85%!important;
|
6926 |
}
|
6927 |
|
|
|
|
|
|
|
|
|
|
|
|
|
6928 |
.heshFullscreen #ed_toolbar {
|
6929 |
border: 1px solid #ccc;
|
6930 |
border-bottom: 0;
|
@@ -6972,108 +8091,4 @@ body.wp-admin .edit-post-text-editor .editor-post-title__block textarea {
|
|
6972 |
|
6973 |
#template .CodeMirror {
|
6974 |
min-height: 0;
|
6975 |
-
}
|
6976 |
-
|
6977 |
-
@media screen and (min-width:782px) {
|
6978 |
-
.CodeMirror-settings__toggle {
|
6979 |
-
height: 35px;
|
6980 |
-
width: 35px;
|
6981 |
-
}
|
6982 |
-
|
6983 |
-
.CodeMirror-settings__toggle:after {
|
6984 |
-
font-size: 20px;
|
6985 |
-
margin: 7px;
|
6986 |
-
}
|
6987 |
-
|
6988 |
-
.CodeMirror-settings__docked {
|
6989 |
-
min-height: 35px;
|
6990 |
-
}
|
6991 |
-
|
6992 |
-
.CodeMirror-settings__header {
|
6993 |
-
padding-right: 35px;
|
6994 |
-
}
|
6995 |
-
|
6996 |
-
.CodeMirror-settings__button--select:after {
|
6997 |
-
font-size: 16px;
|
6998 |
-
margin-top: 0;
|
6999 |
-
}
|
7000 |
-
|
7001 |
-
.CodeMirror-dialog {
|
7002 |
-
height: 35px;
|
7003 |
-
padding-right: 35px;
|
7004 |
-
}
|
7005 |
-
|
7006 |
-
.CodeMirror-dialog:after {
|
7007 |
-
font-size: 20px;
|
7008 |
-
margin: 7px;
|
7009 |
-
}
|
7010 |
-
|
7011 |
-
.CodeMirror-overlayscroll-vertical div:after {
|
7012 |
-
top: 47px;
|
7013 |
-
}
|
7014 |
-
|
7015 |
-
#template .CodeMirror {
|
7016 |
-
margin-right: 20px;
|
7017 |
-
}
|
7018 |
-
}
|
7019 |
-
|
7020 |
-
@media screen and (max-width:781px) {
|
7021 |
-
.CodeMirror-settings__toggle {
|
7022 |
-
height: 44px;
|
7023 |
-
width: 44px;
|
7024 |
-
}
|
7025 |
-
|
7026 |
-
.CodeMirror-settings__toggle:after {
|
7027 |
-
font-size: 28px;
|
7028 |
-
margin: 8px;
|
7029 |
-
}
|
7030 |
-
|
7031 |
-
.CodeMirror-settings__docked {
|
7032 |
-
min-height: 44px;
|
7033 |
-
}
|
7034 |
-
|
7035 |
-
.CodeMirror-settings__header {
|
7036 |
-
padding-right: 44px;
|
7037 |
-
}
|
7038 |
-
|
7039 |
-
.CodeMirror-settings__button--select:after {
|
7040 |
-
font-size: 20px;
|
7041 |
-
margin-top: -2px;
|
7042 |
-
}
|
7043 |
-
|
7044 |
-
.CodeMirror-dialog {
|
7045 |
-
height: 44px;
|
7046 |
-
padding-right: 44px;
|
7047 |
-
}
|
7048 |
-
|
7049 |
-
.CodeMirror-dialog:after {
|
7050 |
-
font-size: 28px;
|
7051 |
-
margin: 8px;
|
7052 |
-
}
|
7053 |
-
|
7054 |
-
.CodeMirror-overlayscroll-vertical div:after {
|
7055 |
-
top: 56px;
|
7056 |
-
}
|
7057 |
-
|
7058 |
-
#template .CodeMirror {
|
7059 |
-
margin-right: 0;
|
7060 |
-
}
|
7061 |
-
}
|
7062 |
-
|
7063 |
-
@media screen and (max-height:550px) {
|
7064 |
-
.heshFullscreen .CodeMirror {
|
7065 |
-
height: 75%!important;
|
7066 |
-
}
|
7067 |
-
}
|
7068 |
-
|
7069 |
-
@media print {
|
7070 |
-
.CodeMirror div.CodeMirror-cursors {
|
7071 |
-
visibility: hidden;
|
7072 |
-
}
|
7073 |
-
}
|
7074 |
-
|
7075 |
-
@keyframes a {
|
7076 |
-
50% {
|
7077 |
-
background-color: transparent;
|
7078 |
-
}
|
7079 |
}
|
9 |
padding: 4px 0;
|
10 |
}
|
11 |
|
12 |
+
.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like {
|
13 |
padding: 0 4px;
|
14 |
}
|
15 |
|
66 |
|
67 |
.cm-animate-fat-cursor {
|
68 |
width: auto;
|
|
|
69 |
animation: a 1.06s steps(1) infinite;
|
70 |
background-color: #7e7;
|
71 |
}
|
72 |
|
73 |
+
@keyframes a {
|
74 |
+
50% {
|
75 |
+
background-color: transparent;
|
76 |
+
}
|
77 |
+
}
|
78 |
+
|
79 |
.cm-tab {
|
80 |
display: inline-block;
|
81 |
text-decoration: inherit;
|
86 |
left: 0;
|
87 |
right: 0;
|
88 |
top: -50px;
|
89 |
+
bottom: 0;
|
90 |
overflow: hidden;
|
91 |
}
|
92 |
|
225 |
|
226 |
.CodeMirror-scroll {
|
227 |
overflow: scroll!important;
|
228 |
+
margin-bottom: -50px;
|
229 |
+
margin-right: -50px;
|
230 |
+
padding-bottom: 50px;
|
231 |
height: 100%;
|
232 |
outline: none;
|
233 |
}
|
234 |
|
235 |
.CodeMirror-sizer {
|
236 |
position: relative;
|
237 |
+
border-right: 50px solid transparent;
|
238 |
}
|
239 |
|
240 |
.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar {
|
241 |
position: absolute;
|
242 |
z-index: 6;
|
243 |
display: none;
|
244 |
+
outline: none;
|
245 |
}
|
246 |
|
247 |
.CodeMirror-vscrollbar {
|
281 |
height: 100%;
|
282 |
display: inline-block;
|
283 |
vertical-align: top;
|
284 |
+
margin-bottom: -50px;
|
285 |
}
|
286 |
|
287 |
.CodeMirror-gutter-wrapper {
|
317 |
min-height: 1px;
|
318 |
}
|
319 |
|
320 |
+
.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like {
|
321 |
border-radius: 0;
|
322 |
border-width: 0;
|
323 |
background: transparent;
|
332 |
position: relative;
|
333 |
overflow: visible;
|
334 |
-webkit-tap-highlight-color: transparent;
|
|
|
335 |
font-variant-ligatures: contextual;
|
336 |
}
|
337 |
|
338 |
+
.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like {
|
339 |
word-wrap: break-word;
|
340 |
white-space: pre-wrap;
|
341 |
word-break: normal;
|
424 |
padding-right: .1px;
|
425 |
}
|
426 |
|
427 |
+
@media print {
|
428 |
+
.CodeMirror div.CodeMirror-cursors {
|
429 |
+
visibility: hidden;
|
430 |
+
}
|
431 |
+
}
|
432 |
+
|
433 |
.cm-tab-wrap-hack:after {
|
434 |
content: "";
|
435 |
}
|
455 |
background: #d6d5d4;
|
456 |
}
|
457 |
|
458 |
+
.cm-s-3024-day .CodeMirror-line>span>span::-moz-selection {
|
459 |
background: #d9d9d9;
|
460 |
}
|
461 |
|
630 |
color: #fff!important;
|
631 |
}
|
632 |
|
633 |
+
.cm-s-abbott.CodeMirror {
|
634 |
+
background: #231c14;
|
635 |
+
color: #d8ff84;
|
636 |
+
}
|
637 |
+
|
638 |
+
.cm-s-abbott .CodeMirror-gutters {
|
639 |
+
background: #231c14;
|
640 |
+
border: none;
|
641 |
+
}
|
642 |
+
|
643 |
+
.cm-s-abbott .CodeMirror-linenumber {
|
644 |
+
color: #fbec5d;
|
645 |
+
}
|
646 |
+
|
647 |
+
.cm-s-abbott .CodeMirror-guttermarker {
|
648 |
+
color: #f63f05;
|
649 |
+
}
|
650 |
+
|
651 |
+
.cm-s-abbott .CodeMirror-guttermarker-subtle {
|
652 |
+
color: #fbb32f;
|
653 |
+
}
|
654 |
+
|
655 |
+
.cm-s-abbott .CodeMirror-ruler {
|
656 |
+
border-color: #745d42;
|
657 |
+
}
|
658 |
+
|
659 |
+
.cm-s-abbott .CodeMirror-cursor {
|
660 |
+
border-color: #a0ea00;
|
661 |
+
}
|
662 |
+
|
663 |
+
.cm-s-abbott .cm-animate-fat-cursor,.cm-s-abbott.cm-fat-cursor .CodeMirror-cursor {
|
664 |
+
background: rgba(160,234,0,.5);
|
665 |
+
}
|
666 |
+
|
667 |
+
.cm-s-abbott.cm-fat-cursor .CodeMirror-cursors {
|
668 |
+
z-index: 3;
|
669 |
+
}
|
670 |
+
|
671 |
+
.cm-s-abbott .CodeMirror-overwrite .CodeMirror-cursor {
|
672 |
+
border-bottom: 1px solid #a0ea00;
|
673 |
+
border-left: none;
|
674 |
+
width: auto;
|
675 |
+
}
|
676 |
+
|
677 |
+
.cm-s-abbott .CodeMirror-secondarycursor {
|
678 |
+
border-color: #00ff7f;
|
679 |
+
}
|
680 |
+
|
681 |
+
.cm-s-abbott.CodeMirror-focused .CodeMirror-selected,.cm-s-abbott .CodeMirror-selected {
|
682 |
+
background: #273900;
|
683 |
+
}
|
684 |
+
|
685 |
+
.cm-s-abbott .CodeMirror-line::selection,.cm-s-abbott .CodeMirror-line>span::selection,.cm-s-abbott .CodeMirror-line>span>span::selection {
|
686 |
+
background: #273900;
|
687 |
+
}
|
688 |
+
|
689 |
+
.cm-s-abbott .CodeMirror-line::-moz-selection,.cm-s-abbott .CodeMirror-line>span::-moz-selection,.cm-s-abbott .CodeMirror-line>span>span::-moz-selection {
|
690 |
+
background: #273900;
|
691 |
+
}
|
692 |
+
|
693 |
+
.cm-s-abbott .cm-tab {
|
694 |
+
color: #00ff7f;
|
695 |
+
}
|
696 |
+
|
697 |
+
.cm-s-abbott .cm-searching {
|
698 |
+
background: #fef3b4!important;
|
699 |
+
color: #231c14!important;
|
700 |
+
}
|
701 |
+
|
702 |
+
.cm-s-abbott span.cm-comment {
|
703 |
+
color: #fbb32f;
|
704 |
+
font-style: italic;
|
705 |
+
}
|
706 |
+
|
707 |
+
.cm-s-abbott span.cm-string,.cm-s-abbott span.cm-string-2 {
|
708 |
+
color: #e6a2f3;
|
709 |
+
}
|
710 |
+
|
711 |
+
.cm-s-abbott span.cm-number,.cm-s-abbott span.cm-string.cm-url {
|
712 |
+
color: #f63f05;
|
713 |
+
}
|
714 |
+
|
715 |
+
.cm-s-abbott span.cm-invalidchar {
|
716 |
+
color: #00ff7f;
|
717 |
+
}
|
718 |
+
|
719 |
+
.cm-s-abbott span.cm-atom,.cm-s-abbott span.cm-bracket,.cm-s-abbott span.cm-punctuation {
|
720 |
+
color: #fef3b4;
|
721 |
+
}
|
722 |
+
|
723 |
+
.cm-s-abbott span.cm-operator {
|
724 |
+
font-weight: 700;
|
725 |
+
}
|
726 |
+
|
727 |
+
.cm-s-abbott span.cm-def,.cm-s-abbott span.cm-variable,.cm-s-abbott span.cm-variable-2,.cm-s-abbott span.cm-variable-3 {
|
728 |
+
color: #8ccdf0;
|
729 |
+
}
|
730 |
+
|
731 |
+
.cm-s-abbott span.cm-builtin,.cm-s-abbott span.cm-property,.cm-s-abbott span.cm-qualifier {
|
732 |
+
color: #3f91f1;
|
733 |
+
}
|
734 |
+
|
735 |
+
.cm-s-abbott span.cm-type {
|
736 |
+
color: #24a507;
|
737 |
+
}
|
738 |
+
|
739 |
+
.cm-s-abbott span.cm-keyword {
|
740 |
+
color: #d80450;
|
741 |
+
font-weight: 700;
|
742 |
+
}
|
743 |
+
|
744 |
+
.cm-s-abbott span.cm-meta {
|
745 |
+
color: #ec6c99;
|
746 |
+
}
|
747 |
+
|
748 |
+
.cm-s-abbott span.cm-tag {
|
749 |
+
color: #d80450;
|
750 |
+
font-weight: 700;
|
751 |
+
}
|
752 |
+
|
753 |
+
.cm-s-abbott span.cm-attribute {
|
754 |
+
color: #24a507;
|
755 |
+
}
|
756 |
+
|
757 |
+
.cm-s-abbott span.cm-header {
|
758 |
+
color: #d80450;
|
759 |
+
font-weight: 700;
|
760 |
+
}
|
761 |
+
|
762 |
+
.cm-s-abbott span.cm-hr {
|
763 |
+
color: #ec6c99;
|
764 |
+
}
|
765 |
+
|
766 |
+
.cm-s-abbott span.cm-link {
|
767 |
+
color: #e6a2f3;
|
768 |
+
}
|
769 |
+
|
770 |
+
.cm-s-abbott span.cm-negative {
|
771 |
+
background: #d80450;
|
772 |
+
color: #231c14;
|
773 |
+
}
|
774 |
+
|
775 |
+
.cm-s-abbott span.cm-positive {
|
776 |
+
background: #a0ea00;
|
777 |
+
color: #231c14;
|
778 |
+
font-weight: 700;
|
779 |
+
}
|
780 |
+
|
781 |
+
.cm-s-abbott span.cm-error {
|
782 |
+
background: #d80450;
|
783 |
+
color: #231c14;
|
784 |
+
}
|
785 |
+
|
786 |
+
.cm-s-abbott span.CodeMirror-matchingbracket {
|
787 |
+
background: #745d42!important;
|
788 |
+
color: #231c14!important;
|
789 |
+
font-weight: 700;
|
790 |
+
}
|
791 |
+
|
792 |
+
.cm-s-abbott span.CodeMirror-nonmatchingbracket {
|
793 |
+
background: #d80450!important;
|
794 |
+
color: #231c14!important;
|
795 |
+
}
|
796 |
+
|
797 |
+
.cm-s-abbott .cm-matchhighlight,.cm-s-abbott .CodeMirror-matchingtag {
|
798 |
+
outline: 1px solid #39a78d;
|
799 |
+
}
|
800 |
+
|
801 |
+
.cm-s-abbott .CodeMirror-activeline-background,.cm-s-abbott .CodeMirror-activeline-gutter {
|
802 |
+
background: #3c3022;
|
803 |
+
}
|
804 |
+
|
805 |
+
.cm-s-abbott .CodeMirror-activeline-gutter .CodeMirror-linenumber {
|
806 |
+
color: #d8ff84;
|
807 |
+
font-weight: 700;
|
808 |
+
}
|
809 |
+
|
810 |
+
.cm-s-abbott .CodeMirror-foldmarker {
|
811 |
+
color: #f63f05;
|
812 |
+
text-shadow: none;
|
813 |
+
}
|
814 |
+
|
815 |
.cm-s-abcdef.CodeMirror {
|
816 |
background: #0f0f0f;
|
817 |
color: #defdef;
|
1101 |
background-image: url("data:image/png;base64,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");
|
1102 |
}
|
1103 |
|
1104 |
+
.cm-s-ayu-dark.CodeMirror {
|
1105 |
+
background: #0a0e14;
|
1106 |
+
color: #b3b1ad;
|
1107 |
}
|
1108 |
|
1109 |
+
.cm-s-ayu-dark div.CodeMirror-selected {
|
1110 |
+
background: #273747;
|
1111 |
}
|
1112 |
|
1113 |
+
.cm-s-ayu-dark .CodeMirror-line::selection,.cm-s-ayu-dark .CodeMirror-line>span::selection,.cm-s-ayu-dark .CodeMirror-line>span>span::selection {
|
1114 |
+
background: #273747;
|
1115 |
}
|
1116 |
|
1117 |
+
.cm-s-ayu-dark .CodeMirror-line::-moz-selection,.cm-s-ayu-dark .CodeMirror-line>span::-moz-selection,.cm-s-ayu-dark .CodeMirror-line>span>span::-moz-selection {
|
1118 |
+
background: #273747;
|
1119 |
}
|
1120 |
|
1121 |
+
.cm-s-ayu-dark .CodeMirror-gutters {
|
1122 |
+
background: #0a0e14;
|
1123 |
border-right: 0;
|
1124 |
}
|
1125 |
|
1126 |
+
.cm-s-ayu-dark .CodeMirror-guttermarker {
|
1127 |
+
color: #fff;
|
1128 |
}
|
1129 |
|
1130 |
+
.cm-s-ayu-dark .CodeMirror-guttermarker-subtle,.cm-s-ayu-dark .CodeMirror-linenumber {
|
1131 |
+
color: #3d424d;
|
1132 |
}
|
1133 |
|
1134 |
+
.cm-s-ayu-dark .CodeMirror-cursor {
|
1135 |
+
border-left: 1px solid #e6b450;
|
1136 |
}
|
1137 |
|
1138 |
+
.cm-s-ayu-dark .cm-animate-fat-cursor,.cm-s-ayu-dark.cm-fat-cursor .CodeMirror-cursor {
|
1139 |
+
background-color: #a2a8a175!important;
|
1140 |
}
|
1141 |
|
1142 |
+
.cm-s-ayu-dark span.cm-comment {
|
1143 |
+
color: #626a73;
|
1144 |
}
|
1145 |
|
1146 |
+
.cm-s-ayu-dark span.cm-atom {
|
1147 |
+
color: #ae81ff;
|
1148 |
}
|
1149 |
|
1150 |
+
.cm-s-ayu-dark span.cm-number {
|
1151 |
+
color: #e6b450;
|
1152 |
}
|
1153 |
|
1154 |
+
.cm-s-ayu-dark span.cm-comment.cm-attribute {
|
1155 |
+
color: #ffb454;
|
1156 |
}
|
1157 |
|
1158 |
+
.cm-s-ayu-dark span.cm-comment.cm-def,.cm-s-ayu-dark span.cm-comment.cm-tag {
|
1159 |
+
color: #39bae6;
|
1160 |
}
|
1161 |
|
1162 |
+
.cm-s-ayu-dark span.cm-comment.cm-type {
|
1163 |
+
color: #5998a6;
|
1164 |
}
|
1165 |
|
1166 |
+
.cm-s-ayu-dark span.cm-attribute,.cm-s-ayu-dark span.cm-property {
|
1167 |
+
color: #ffb454;
|
1168 |
}
|
1169 |
|
1170 |
+
.cm-s-ayu-dark span.cm-keyword {
|
1171 |
+
color: #ff8f40;
|
1172 |
}
|
1173 |
|
1174 |
+
.cm-s-ayu-dark span.cm-builtin {
|
1175 |
+
color: #e6b450;
|
1176 |
}
|
1177 |
|
1178 |
+
.cm-s-ayu-dark span.cm-string {
|
1179 |
+
color: #c2d94c;
|
1180 |
}
|
1181 |
|
1182 |
+
.cm-s-ayu-dark span.cm-variable {
|
1183 |
+
color: #b3b1ad;
|
|
|
1184 |
}
|
1185 |
|
1186 |
+
.cm-s-ayu-dark span.cm-variable-2 {
|
1187 |
+
color: #f07178;
|
1188 |
}
|
1189 |
|
1190 |
+
.cm-s-ayu-dark span.cm-variable-3 {
|
1191 |
+
color: #39bae6;
|
|
|
1192 |
}
|
1193 |
|
1194 |
+
.cm-s-ayu-dark span.cm-type {
|
1195 |
+
color: #ff8f40;
|
|
|
1196 |
}
|
1197 |
|
1198 |
+
.cm-s-ayu-dark span.cm-def {
|
1199 |
+
color: #fe9;
|
1200 |
}
|
1201 |
|
1202 |
+
.cm-s-ayu-dark span.cm-bracket {
|
1203 |
+
color: #f8f8f2;
|
1204 |
}
|
1205 |
|
1206 |
+
.cm-s-ayu-dark span.cm-tag {
|
1207 |
+
color: #39bae6;
|
1208 |
}
|
1209 |
|
1210 |
+
.cm-s-ayu-dark span.cm-header {
|
1211 |
+
color: #c2d94c;
|
|
|
1212 |
}
|
1213 |
|
1214 |
+
.cm-s-ayu-dark span.cm-link {
|
1215 |
+
color: #39bae6;
|
1216 |
}
|
1217 |
|
1218 |
+
.cm-s-ayu-dark span.cm-error {
|
1219 |
+
color: #f33;
|
1220 |
}
|
1221 |
|
1222 |
+
.cm-s-ayu-dark .CodeMirror-activeline-background {
|
1223 |
+
background: #01060e;
|
1224 |
}
|
1225 |
|
1226 |
+
.cm-s-ayu-dark .CodeMirror-matchingbracket {
|
1227 |
+
text-decoration: underline;
|
1228 |
+
color: #fff!important;
|
1229 |
}
|
1230 |
|
1231 |
+
.cm-s-ayu-mirage.CodeMirror {
|
1232 |
+
background: #1f2430;
|
1233 |
+
color: #cbccc6;
|
1234 |
}
|
1235 |
|
1236 |
+
.cm-s-ayu-mirage div.CodeMirror-selected {
|
1237 |
+
background: #34455a;
|
1238 |
}
|
1239 |
|
1240 |
+
.cm-s-ayu-mirage .CodeMirror-line::-moz-selection,.cm-s-ayu-mirage .CodeMirror-line>span::-moz-selection,.cm-s-ayu-mirage .CodeMirror-line>span>span::-moz-selection {
|
1241 |
+
background: #34455a;
|
1242 |
}
|
1243 |
|
1244 |
+
.cm-s-ayu-mirage .CodeMirror-line::selection,.cm-s-ayu-mirage .CodeMirror-line>span::selection,.cm-s-ayu-mirage .CodeMirror-line>span>span::selection {
|
1245 |
+
background: #34455a;
|
1246 |
}
|
1247 |
|
1248 |
+
.cm-s-ayu-mirage .CodeMirror-line::-moz-selection,.cm-s-ayu-mirage .CodeMirror-line>span::-moz-selection,.cm-s-ayu-mirage .CodeMirror-line>span>span::-moz-selection {
|
1249 |
+
background: #191e2a;
|
1250 |
}
|
1251 |
|
1252 |
+
.cm-s-ayu-mirage .CodeMirror-gutters {
|
1253 |
+
background: #1f2430;
|
1254 |
+
border-right: 0;
|
1255 |
}
|
1256 |
|
1257 |
+
.cm-s-ayu-mirage .CodeMirror-guttermarker {
|
1258 |
+
color: #fff;
|
1259 |
}
|
1260 |
|
1261 |
+
.cm-s-ayu-mirage .CodeMirror-guttermarker-subtle {
|
1262 |
+
color: #707a8c;
|
1263 |
}
|
1264 |
|
1265 |
+
.cm-s-ayu-mirage .CodeMirror-linenumber {
|
1266 |
+
color: #3d424d;
|
1267 |
}
|
1268 |
|
1269 |
+
.cm-s-ayu-mirage .CodeMirror-cursor {
|
1270 |
+
border-left: 1px solid #fc6;
|
1271 |
}
|
1272 |
|
1273 |
+
.cm-s-ayu-mirage .cm-animate-fat-cursor,.cm-s-ayu-mirage.cm-fat-cursor .CodeMirror-cursor {
|
1274 |
+
background-color: #a2a8a175!important;
|
|
|
1275 |
}
|
1276 |
|
1277 |
+
.cm-s-ayu-mirage span.cm-comment {
|
1278 |
+
color: #5c6773;
|
1279 |
+
font-style: italic;
|
1280 |
}
|
1281 |
|
1282 |
+
.cm-s-ayu-mirage span.cm-atom {
|
1283 |
+
color: #ae81ff;
|
|
|
1284 |
}
|
1285 |
|
1286 |
+
.cm-s-ayu-mirage span.cm-number {
|
1287 |
+
color: #fc6;
|
|
|
1288 |
}
|
1289 |
|
1290 |
+
.cm-s-ayu-mirage span.cm-comment.cm-attribute {
|
1291 |
+
color: #ffd580;
|
1292 |
}
|
1293 |
|
1294 |
+
.cm-s-ayu-mirage span.cm-comment.cm-def {
|
1295 |
+
color: #d4bfff;
|
|
|
1296 |
}
|
1297 |
|
1298 |
+
.cm-s-ayu-mirage span.cm-comment.cm-tag {
|
1299 |
+
color: #5ccfe6;
|
1300 |
}
|
1301 |
|
1302 |
+
.cm-s-ayu-mirage span.cm-comment.cm-type {
|
1303 |
+
color: #5998a6;
|
1304 |
}
|
1305 |
|
1306 |
+
.cm-s-ayu-mirage span.cm-property {
|
1307 |
+
color: #f29e74;
|
1308 |
}
|
1309 |
|
1310 |
+
.cm-s-ayu-mirage span.cm-attribute {
|
1311 |
+
color: #ffd580;
|
1312 |
}
|
1313 |
|
1314 |
+
.cm-s-ayu-mirage span.cm-keyword {
|
1315 |
+
color: #ffa759;
|
1316 |
}
|
1317 |
|
1318 |
+
.cm-s-ayu-mirage span.cm-builtin {
|
1319 |
+
color: #fc6;
|
1320 |
}
|
1321 |
|
1322 |
+
.cm-s-ayu-mirage span.cm-string {
|
1323 |
+
color: #bae67e;
|
1324 |
}
|
1325 |
|
1326 |
+
.cm-s-ayu-mirage span.cm-variable {
|
1327 |
+
color: #cbccc6;
|
1328 |
}
|
1329 |
|
1330 |
+
.cm-s-ayu-mirage span.cm-variable-2 {
|
1331 |
+
color: #f28779;
|
1332 |
}
|
1333 |
|
1334 |
+
.cm-s-ayu-mirage span.cm-variable-3 {
|
1335 |
+
color: #5ccfe6;
|
1336 |
}
|
1337 |
|
1338 |
+
.cm-s-ayu-mirage span.cm-type {
|
1339 |
+
color: #ffa759;
|
|
|
1340 |
}
|
1341 |
|
1342 |
+
.cm-s-ayu-mirage span.cm-def {
|
1343 |
+
color: #ffd580;
|
1344 |
}
|
1345 |
|
1346 |
+
.cm-s-ayu-mirage span.cm-bracket,.cm-s-ayu-mirage span.cm-tag {
|
1347 |
+
color: #5ccfe6;
|
1348 |
}
|
1349 |
|
1350 |
+
.cm-s-ayu-mirage span.cm-header {
|
1351 |
+
color: #bae67e;
|
1352 |
}
|
1353 |
|
1354 |
+
.cm-s-ayu-mirage span.cm-link {
|
1355 |
+
color: #5ccfe6;
|
|
|
1356 |
}
|
1357 |
|
1358 |
+
.cm-s-ayu-mirage span.cm-error {
|
1359 |
+
color: #f33;
|
1360 |
}
|
1361 |
|
1362 |
+
.cm-s-ayu-mirage .CodeMirror-activeline-background {
|
1363 |
+
background: #191e2a;
|
|
|
1364 |
}
|
1365 |
|
1366 |
+
.cm-s-ayu-mirage .CodeMirror-matchingbracket {
|
1367 |
+
text-decoration: underline;
|
1368 |
+
color: #fff!important;
|
1369 |
}
|
1370 |
|
1371 |
+
.cm-s-base16-dark.CodeMirror {
|
1372 |
+
background: #151515;
|
1373 |
+
color: #e0e0e0;
|
1374 |
}
|
1375 |
|
1376 |
+
.cm-s-base16-dark div.CodeMirror-selected {
|
1377 |
+
background: #303030;
|
1378 |
}
|
1379 |
|
1380 |
+
.cm-s-base16-dark .CodeMirror-line::selection,.cm-s-base16-dark .CodeMirror-line>span::selection,.cm-s-base16-dark .CodeMirror-line>span>span::selection {
|
1381 |
+
background: rgba(48,48,48,.99);
|
|
|
1382 |
}
|
1383 |
|
1384 |
+
.cm-s-base16-dark .CodeMirror-line::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span::-moz-selection,.cm-s-base16-dark .CodeMirror-line>span>span::-moz-selection {
|
1385 |
+
background: rgba(48,48,48,.99);
|
1386 |
}
|
1387 |
|
1388 |
+
.cm-s-base16-dark .CodeMirror-gutters {
|
1389 |
+
background: #151515;
|
1390 |
+
border-right: 0;
|
1391 |
}
|
1392 |
|
1393 |
+
.cm-s-base16-dark .CodeMirror-guttermarker {
|
1394 |
+
color: #ac4142;
|
1395 |
}
|
1396 |
|
1397 |
+
.cm-s-base16-dark .CodeMirror-guttermarker-subtle,.cm-s-base16-dark .CodeMirror-linenumber {
|
1398 |
+
color: #505050;
|
1399 |
}
|
1400 |
|
1401 |
+
.cm-s-base16-dark .CodeMirror-cursor {
|
1402 |
+
border-left: 1px solid #b0b0b0;
|
1403 |
}
|
1404 |
|
1405 |
+
.cm-s-base16-dark .cm-animate-fat-cursor,.cm-s-base16-dark.cm-fat-cursor .CodeMirror-cursor {
|
1406 |
+
background-color: #8e8d8875!important;
|
1407 |
}
|
1408 |
|
1409 |
+
.cm-s-base16-dark span.cm-comment {
|
1410 |
+
color: #8f5536;
|
1411 |
}
|
1412 |
|
1413 |
+
.cm-s-base16-dark span.cm-atom,.cm-s-base16-dark span.cm-number {
|
1414 |
+
color: #aa759f;
|
1415 |
}
|
1416 |
|
1417 |
+
.cm-s-base16-dark span.cm-attribute,.cm-s-base16-dark span.cm-property {
|
1418 |
+
color: #90a959;
|
1419 |
}
|
1420 |
|
1421 |
+
.cm-s-base16-dark span.cm-keyword {
|
1422 |
+
color: #ac4142;
|
1423 |
}
|
1424 |
|
1425 |
+
.cm-s-base16-dark span.cm-string {
|
1426 |
+
color: #f4bf75;
|
1427 |
}
|
1428 |
|
1429 |
+
.cm-s-base16-dark span.cm-variable {
|
1430 |
+
color: #90a959;
|
1431 |
}
|
1432 |
|
1433 |
+
.cm-s-base16-dark span.cm-variable-2 {
|
1434 |
+
color: #6a9fb5;
|
1435 |
}
|
1436 |
|
1437 |
+
.cm-s-base16-dark span.cm-def {
|
1438 |
+
color: #d28445;
|
1439 |
}
|
1440 |
|
1441 |
+
.cm-s-base16-dark span.cm-bracket {
|
1442 |
+
color: #e0e0e0;
|
1443 |
}
|
1444 |
|
1445 |
+
.cm-s-base16-dark span.cm-tag {
|
1446 |
+
color: #ac4142;
|
|
|
1447 |
}
|
1448 |
|
1449 |
+
.cm-s-base16-dark span.cm-link {
|
1450 |
+
color: #aa759f;
|
1451 |
}
|
1452 |
|
1453 |
+
.cm-s-base16-dark span.cm-error {
|
1454 |
+
background: #ac4142;
|
1455 |
+
color: #b0b0b0;
|
1456 |
}
|
1457 |
|
1458 |
+
.cm-s-base16-dark .CodeMirror-activeline-background {
|
1459 |
+
background: #202020;
|
|
|
1460 |
}
|
1461 |
|
1462 |
+
.cm-s-base16-dark .CodeMirror-matchingbracket {
|
1463 |
+
text-decoration: underline;
|
1464 |
+
color: #fff!important;
|
1465 |
}
|
1466 |
|
1467 |
+
.cm-s-base16-light.CodeMirror {
|
1468 |
+
background: #f5f5f5;
|
1469 |
+
color: #202020;
|
1470 |
}
|
1471 |
|
1472 |
+
.cm-s-base16-light div.CodeMirror-selected {
|
1473 |
+
background: #e0e0e0;
|
1474 |
}
|
1475 |
|
1476 |
+
.cm-s-base16-light .CodeMirror-line::selection,.cm-s-base16-light .CodeMirror-line>span::selection,.cm-s-base16-light .CodeMirror-line>span>span::selection {
|
1477 |
+
background: #e0e0e0;
|
|
|
1478 |
}
|
1479 |
|
1480 |
+
.cm-s-base16-light .CodeMirror-line::-moz-selection,.cm-s-base16-light .CodeMirror-line>span::-moz-selection,.cm-s-base16-light .CodeMirror-line>span>span::-moz-selection {
|
1481 |
+
background: #e0e0e0;
|
1482 |
}
|
1483 |
|
1484 |
+
.cm-s-base16-light .CodeMirror-gutters {
|
1485 |
+
background: #f5f5f5;
|
1486 |
+
border-right: 0;
|
1487 |
}
|
1488 |
|
1489 |
+
.cm-s-base16-light .CodeMirror-guttermarker {
|
1490 |
+
color: #ac4142;
|
1491 |
}
|
1492 |
|
1493 |
+
.cm-s-base16-light .CodeMirror-guttermarker-subtle,.cm-s-base16-light .CodeMirror-linenumber {
|
1494 |
+
color: #b0b0b0;
|
1495 |
}
|
1496 |
|
1497 |
+
.cm-s-base16-light .CodeMirror-cursor {
|
1498 |
+
border-left: 1px solid #505050;
|
1499 |
}
|
1500 |
|
1501 |
+
.cm-s-base16-light span.cm-comment {
|
1502 |
+
color: #8f5536;
|
1503 |
}
|
1504 |
|
1505 |
+
.cm-s-base16-light span.cm-atom,.cm-s-base16-light span.cm-number {
|
1506 |
+
color: #aa759f;
|
1507 |
}
|
1508 |
|
1509 |
+
.cm-s-base16-light span.cm-attribute,.cm-s-base16-light span.cm-property {
|
1510 |
+
color: #90a959;
|
1511 |
}
|
1512 |
|
1513 |
+
.cm-s-base16-light span.cm-keyword {
|
1514 |
+
color: #ac4142;
|
1515 |
}
|
1516 |
|
1517 |
+
.cm-s-base16-light span.cm-string {
|
1518 |
+
color: #f4bf75;
|
1519 |
}
|
1520 |
|
1521 |
+
.cm-s-base16-light span.cm-variable {
|
1522 |
+
color: #90a959;
|
1523 |
}
|
1524 |
|
1525 |
+
.cm-s-base16-light span.cm-variable-2 {
|
1526 |
+
color: #6a9fb5;
|
1527 |
}
|
1528 |
|
1529 |
+
.cm-s-base16-light span.cm-def {
|
1530 |
+
color: #d28445;
|
1531 |
}
|
1532 |
|
1533 |
+
.cm-s-base16-light span.cm-bracket {
|
1534 |
+
color: #202020;
|
1535 |
}
|
1536 |
|
1537 |
+
.cm-s-base16-light span.cm-tag {
|
1538 |
+
color: #ac4142;
|
1539 |
}
|
1540 |
|
1541 |
+
.cm-s-base16-light span.cm-link {
|
1542 |
+
color: #aa759f;
|
1543 |
}
|
1544 |
|
1545 |
+
.cm-s-base16-light span.cm-error {
|
1546 |
+
background: #ac4142;
|
1547 |
+
color: #505050;
|
1548 |
}
|
1549 |
|
1550 |
+
.cm-s-base16-light .CodeMirror-activeline-background {
|
1551 |
+
background: #dddcdc;
|
|
|
1552 |
}
|
1553 |
|
1554 |
+
.cm-s-base16-light .CodeMirror-matchingbracket {
|
1555 |
+
color: #f5f5f5!important;
|
1556 |
+
background-color: #6a9fb5!important;
|
1557 |
}
|
1558 |
|
1559 |
+
.cm-s-bespin.CodeMirror {
|
1560 |
+
background: #28211c;
|
1561 |
+
color: #9d9b97;
|
1562 |
}
|
1563 |
|
1564 |
+
.cm-s-bespin div.CodeMirror-selected {
|
1565 |
+
background: #36312e!important;
|
1566 |
}
|
1567 |
|
1568 |
+
.cm-s-bespin .CodeMirror-gutters {
|
1569 |
+
background: #28211c;
|
1570 |
+
border-right: 0;
|
1571 |
}
|
1572 |
|
1573 |
+
.cm-s-bespin .CodeMirror-linenumber {
|
1574 |
+
color: #666;
|
1575 |
}
|
1576 |
|
1577 |
+
.cm-s-bespin .CodeMirror-cursor {
|
1578 |
+
border-left: 1px solid #797977!important;
|
1579 |
}
|
1580 |
|
1581 |
+
.cm-s-bespin span.cm-comment {
|
1582 |
+
color: #937121;
|
|
|
1583 |
}
|
1584 |
|
1585 |
+
.cm-s-bespin span.cm-atom,.cm-s-bespin span.cm-number {
|
1586 |
+
color: #9b859d;
|
1587 |
}
|
1588 |
|
1589 |
+
.cm-s-bespin span.cm-attribute,.cm-s-bespin span.cm-property {
|
1590 |
+
color: #54be0d;
|
1591 |
}
|
1592 |
|
1593 |
+
.cm-s-bespin span.cm-keyword {
|
1594 |
+
color: #cf6a4c;
|
1595 |
}
|
1596 |
|
1597 |
+
.cm-s-bespin span.cm-string {
|
1598 |
+
color: #f9ee98;
|
1599 |
}
|
1600 |
|
1601 |
+
.cm-s-bespin span.cm-variable {
|
1602 |
+
color: #54be0d;
|
1603 |
}
|
1604 |
|
1605 |
+
.cm-s-bespin span.cm-variable-2 {
|
1606 |
+
color: #5ea6ea;
|
1607 |
}
|
1608 |
|
1609 |
+
.cm-s-bespin span.cm-def {
|
1610 |
+
color: #cf7d34;
|
1611 |
}
|
1612 |
|
1613 |
+
.cm-s-bespin span.cm-error {
|
1614 |
+
background: #cf6a4c;
|
1615 |
+
color: #797977;
|
1616 |
}
|
1617 |
|
1618 |
+
.cm-s-bespin span.cm-bracket {
|
1619 |
+
color: #9d9b97;
|
1620 |
}
|
1621 |
|
1622 |
+
.cm-s-bespin span.cm-tag {
|
1623 |
+
color: #cf6a4c;
|
1624 |
}
|
1625 |
|
1626 |
+
.cm-s-bespin span.cm-link {
|
1627 |
+
color: #9b859d;
|
1628 |
}
|
1629 |
|
1630 |
+
.cm-s-bespin .CodeMirror-matchingbracket {
|
1631 |
+
text-decoration: underline;
|
1632 |
+
color: #fff!important;
|
1633 |
}
|
1634 |
|
1635 |
+
.cm-s-bespin .CodeMirror-activeline-background {
|
1636 |
+
background: #404040;
|
1637 |
}
|
1638 |
|
1639 |
+
.cm-s-blackboard.CodeMirror {
|
1640 |
+
background: #0c1021;
|
1641 |
+
color: #f8f8f8;
|
1642 |
}
|
1643 |
|
1644 |
+
.cm-s-blackboard div.CodeMirror-selected {
|
1645 |
+
background: #253b76;
|
1646 |
}
|
1647 |
|
1648 |
+
.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection {
|
1649 |
+
background: rgba(37,59,118,.99);
|
1650 |
}
|
1651 |
|
1652 |
+
.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection {
|
1653 |
+
background: rgba(37,59,118,.99);
|
1654 |
}
|
1655 |
|
1656 |
+
.cm-s-blackboard .CodeMirror-gutters {
|
1657 |
+
background: #0c1021;
|
1658 |
+
border-right: 0;
|
1659 |
}
|
1660 |
|
1661 |
+
.cm-s-blackboard .CodeMirror-guttermarker {
|
1662 |
+
color: #fbde2d;
|
|
|
1663 |
}
|
1664 |
|
1665 |
+
.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber {
|
1666 |
+
color: #888;
|
1667 |
}
|
1668 |
|
1669 |
+
.cm-s-blackboard .CodeMirror-cursor {
|
1670 |
+
border-left: 1px solid #a7a7a7;
|
1671 |
}
|
1672 |
|
1673 |
+
.cm-s-blackboard .cm-keyword {
|
1674 |
+
color: #fbde2d;
|
|
|
|
|
1675 |
}
|
1676 |
|
1677 |
+
.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number {
|
1678 |
+
color: #d8fa3c;
|
|
|
1679 |
}
|
1680 |
|
1681 |
+
.cm-s-blackboard .cm-def {
|
1682 |
+
color: #8da6ce;
|
1683 |
}
|
1684 |
|
1685 |
+
.cm-s-blackboard .cm-variable {
|
1686 |
+
color: #ff6400;
|
1687 |
}
|
1688 |
|
1689 |
+
.cm-s-blackboard .cm-operator {
|
1690 |
+
color: #fbde2d;
|
|
|
1691 |
}
|
1692 |
|
1693 |
+
.cm-s-blackboard .cm-comment {
|
1694 |
+
color: #aeaeae;
|
1695 |
}
|
1696 |
|
1697 |
+
.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2 {
|
1698 |
+
color: #61ce3c;
|
1699 |
}
|
1700 |
|
1701 |
+
.cm-s-blackboard .cm-meta {
|
1702 |
+
color: #d8fa3c;
|
1703 |
}
|
1704 |
|
1705 |
+
.cm-s-blackboard .cm-attribute,.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag {
|
1706 |
+
color: #8da6ce;
|
|
|
1707 |
}
|
1708 |
|
1709 |
+
.cm-s-blackboard .cm-header {
|
1710 |
+
color: #ff6400;
|
1711 |
}
|
1712 |
|
1713 |
+
.cm-s-blackboard .cm-hr {
|
1714 |
+
color: #aeaeae;
|
1715 |
}
|
1716 |
|
1717 |
+
.cm-s-blackboard .cm-link {
|
1718 |
+
color: #8da6ce;
|
|
|
|
|
|
|
1719 |
}
|
1720 |
|
1721 |
+
.cm-s-blackboard .cm-error {
|
1722 |
+
background: #9d1e15;
|
1723 |
+
color: #f8f8f8;
|
1724 |
}
|
1725 |
|
1726 |
+
.cm-s-blackboard .CodeMirror-activeline-background {
|
1727 |
+
background: #3c3636;
|
1728 |
}
|
1729 |
|
1730 |
+
.cm-s-blackboard .CodeMirror-matchingbracket {
|
1731 |
+
outline: 1px solid grey;
|
1732 |
+
color: #fff!important;
|
1733 |
}
|
1734 |
|
1735 |
+
.cm-s-cobalt.CodeMirror {
|
1736 |
+
background: #002240;
|
1737 |
+
color: #fff;
|
1738 |
}
|
1739 |
|
1740 |
+
.cm-s-cobalt div.CodeMirror-selected {
|
1741 |
+
background: #b36539;
|
1742 |
}
|
1743 |
|
1744 |
+
.cm-s-cobalt .CodeMirror-line::selection,.cm-s-cobalt .CodeMirror-line>span::selection,.cm-s-cobalt .CodeMirror-line>span>span::selection {
|
1745 |
+
background: rgba(179,101,57,.99);
|
1746 |
}
|
1747 |
|
1748 |
+
.cm-s-cobalt .CodeMirror-line::-moz-selection,.cm-s-cobalt .CodeMirror-line>span::-moz-selection,.cm-s-cobalt .CodeMirror-line>span>span::-moz-selection {
|
1749 |
+
background: rgba(179,101,57,.99);
|
|
|
1750 |
}
|
1751 |
|
1752 |
+
.cm-s-cobalt .CodeMirror-gutters {
|
1753 |
+
background: #002240;
|
1754 |
+
border-right: 1px solid #aaa;
|
1755 |
+
}
|
1756 |
+
|
1757 |
+
.cm-s-cobalt .CodeMirror-guttermarker {
|
1758 |
color: #ffee80;
|
1759 |
}
|
1760 |
|
1761 |
+
.cm-s-cobalt .CodeMirror-guttermarker-subtle,.cm-s-cobalt .CodeMirror-linenumber {
|
1762 |
color: #d0d0d0;
|
1763 |
}
|
1764 |
|
1765 |
+
.cm-s-cobalt .CodeMirror-cursor {
|
1766 |
+
border-left: 1px solid #fff;
|
1767 |
}
|
1768 |
|
1769 |
+
.cm-s-cobalt span.cm-comment {
|
1770 |
+
color: #08f;
|
|
|
|
|
1771 |
}
|
1772 |
|
1773 |
+
.cm-s-cobalt span.cm-atom {
|
1774 |
+
color: #845dc4;
|
1775 |
}
|
1776 |
|
1777 |
+
.cm-s-cobalt span.cm-attribute,.cm-s-cobalt span.cm-number {
|
1778 |
+
color: #ff80e1;
|
|
|
|
|
1779 |
}
|
1780 |
|
1781 |
+
.cm-s-cobalt span.cm-keyword {
|
1782 |
+
color: #ffee80;
|
|
|
1783 |
}
|
1784 |
|
1785 |
+
.cm-s-cobalt span.cm-string {
|
1786 |
+
color: #3ad900;
|
|
|
|
|
1787 |
}
|
1788 |
|
1789 |
+
.cm-s-cobalt span.cm-meta {
|
1790 |
+
color: #ff9d00;
|
1791 |
}
|
1792 |
|
1793 |
+
.cm-s-cobalt span.cm-tag,.cm-s-cobalt span.cm-variable-2 {
|
1794 |
+
color: #9effff;
|
1795 |
}
|
1796 |
|
1797 |
+
.cm-s-cobalt .cm-type,.cm-s-cobalt span.cm-def,.cm-s-cobalt span.cm-variable-3 {
|
1798 |
+
color: #fff;
|
1799 |
}
|
1800 |
|
1801 |
+
.cm-s-cobalt span.cm-bracket {
|
1802 |
+
color: #d8d8d8;
|
1803 |
}
|
1804 |
|
1805 |
+
.cm-s-cobalt span.cm-builtin,.cm-s-cobalt span.cm-special {
|
1806 |
+
color: #ff9e59;
|
1807 |
}
|
1808 |
|
1809 |
+
.cm-s-cobalt span.cm-link {
|
1810 |
+
color: #845dc4;
|
1811 |
}
|
1812 |
|
1813 |
+
.cm-s-cobalt span.cm-error {
|
1814 |
+
color: #9d1e15;
|
1815 |
}
|
1816 |
|
1817 |
+
.cm-s-cobalt .CodeMirror-activeline-background {
|
1818 |
+
background: #002d57;
|
1819 |
}
|
1820 |
|
1821 |
+
.cm-s-cobalt .CodeMirror-matchingbracket {
|
1822 |
+
outline: 1px solid grey;
|
1823 |
+
color: #fff!important;
|
1824 |
}
|
1825 |
|
1826 |
+
.cm-s-colorforth.CodeMirror {
|
1827 |
+
background: #000;
|
1828 |
+
color: #f8f8f8;
|
1829 |
}
|
1830 |
|
1831 |
+
.cm-s-colorforth .CodeMirror-gutters {
|
1832 |
+
background: #0a001f;
|
1833 |
+
border-right: 1px solid #aaa;
|
1834 |
}
|
1835 |
|
1836 |
+
.cm-s-colorforth .CodeMirror-guttermarker {
|
1837 |
+
color: #ffbd40;
|
1838 |
}
|
1839 |
|
1840 |
+
.cm-s-colorforth .CodeMirror-guttermarker-subtle {
|
1841 |
+
color: #78846f;
|
1842 |
}
|
1843 |
|
1844 |
+
.cm-s-colorforth .CodeMirror-linenumber {
|
1845 |
+
color: #bababa;
|
1846 |
}
|
1847 |
|
1848 |
+
.cm-s-colorforth .CodeMirror-cursor {
|
1849 |
+
border-left: 1px solid #fff;
|
1850 |
}
|
1851 |
|
1852 |
+
.cm-s-colorforth span.cm-comment {
|
1853 |
+
color: #ededed;
|
1854 |
}
|
1855 |
|
1856 |
+
.cm-s-colorforth span.cm-def {
|
1857 |
+
color: #ff1c1c;
|
1858 |
+
font-weight: 700;
|
1859 |
}
|
1860 |
|
1861 |
+
.cm-s-colorforth span.cm-keyword {
|
1862 |
+
color: #ffd900;
|
1863 |
}
|
1864 |
|
1865 |
+
.cm-s-colorforth span.cm-builtin {
|
1866 |
+
color: #00d95a;
|
1867 |
}
|
1868 |
|
1869 |
+
.cm-s-colorforth span.cm-variable {
|
1870 |
+
color: #73ff00;
|
1871 |
}
|
1872 |
|
1873 |
+
.cm-s-colorforth span.cm-string {
|
1874 |
+
color: #007bff;
|
1875 |
}
|
1876 |
|
1877 |
+
.cm-s-colorforth span.cm-number {
|
1878 |
+
color: #00c4ff;
|
1879 |
+
}
|
1880 |
+
|
1881 |
+
.cm-s-colorforth span.cm-atom {
|
1882 |
+
color: #606060;
|
1883 |
+
}
|
1884 |
+
|
1885 |
+
.cm-s-colorforth span.cm-variable-2 {
|
1886 |
+
color: #eee;
|
1887 |
+
}
|
1888 |
+
|
1889 |
+
.cm-s-colorforth span.cm-type,.cm-s-colorforth span.cm-variable-3 {
|
1890 |
+
color: #ddd;
|
1891 |
+
}
|
1892 |
+
|
1893 |
+
.cm-s-colorforth span.cm-meta {
|
1894 |
+
color: #ff0;
|
1895 |
+
}
|
1896 |
+
|
1897 |
+
.cm-s-colorforth span.cm-qualifier {
|
1898 |
+
color: #fff700;
|
1899 |
+
}
|
1900 |
+
|
1901 |
+
.cm-s-colorforth span.cm-bracket {
|
1902 |
+
color: #cc7;
|
1903 |
+
}
|
1904 |
+
|
1905 |
+
.cm-s-colorforth span.cm-tag {
|
1906 |
+
color: #ffbd40;
|
1907 |
+
}
|
1908 |
+
|
1909 |
+
.cm-s-colorforth span.cm-attribute {
|
1910 |
+
color: #fff700;
|
1911 |
+
}
|
1912 |
+
|
1913 |
+
.cm-s-colorforth span.cm-error {
|
1914 |
+
color: red;
|
1915 |
+
}
|
1916 |
+
|
1917 |
+
.cm-s-colorforth div.CodeMirror-selected {
|
1918 |
+
background: #333d53;
|
1919 |
+
}
|
1920 |
+
|
1921 |
+
.cm-s-colorforth span.cm-compilation {
|
1922 |
+
background: hsla(0,0%,100%,.12);
|
1923 |
+
}
|
1924 |
+
|
1925 |
+
.cm-s-colorforth .CodeMirror-activeline-background {
|
1926 |
+
background: #253540;
|
1927 |
+
}
|
1928 |
+
|
1929 |
+
.cm-s-darcula {
|
1930 |
+
font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;
|
1931 |
+
}
|
1932 |
+
|
1933 |
+
.cm-s-darcula.CodeMirror {
|
1934 |
+
background: #2b2b2b;
|
1935 |
+
color: #a9b7c6;
|
1936 |
+
}
|
1937 |
+
|
1938 |
+
.cm-s-darcula span.cm-meta {
|
1939 |
+
color: #bbb529;
|
1940 |
+
}
|
1941 |
+
|
1942 |
+
.cm-s-darcula span.cm-number {
|
1943 |
+
color: #6897bb;
|
1944 |
+
}
|
1945 |
+
|
1946 |
+
.cm-s-darcula span.cm-keyword {
|
1947 |
+
color: #cc7832;
|
1948 |
+
line-height: 1em;
|
1949 |
+
font-weight: 700;
|
1950 |
+
}
|
1951 |
+
|
1952 |
+
.cm-s-darcula span.cm-def {
|
1953 |
+
color: #a9b7c6;
|
1954 |
+
font-style: italic;
|
1955 |
+
}
|
1956 |
+
|
1957 |
+
.cm-s-darcula span.cm-variable,.cm-s-darcula span.cm-variable-2 {
|
1958 |
+
color: #a9b7c6;
|
1959 |
+
}
|
1960 |
+
|
1961 |
+
.cm-s-darcula span.cm-variable-3 {
|
1962 |
+
color: #9876aa;
|
1963 |
+
}
|
1964 |
+
|
1965 |
+
.cm-s-darcula span.cm-type {
|
1966 |
+
color: #abc;
|
1967 |
+
font-weight: 700;
|
1968 |
+
}
|
1969 |
+
|
1970 |
+
.cm-s-darcula span.cm-property {
|
1971 |
+
color: #ffc66d;
|
1972 |
+
}
|
1973 |
+
|
1974 |
+
.cm-s-darcula span.cm-operator {
|
1975 |
+
color: #a9b7c6;
|
1976 |
+
}
|
1977 |
+
|
1978 |
+
.cm-s-darcula span.cm-string,.cm-s-darcula span.cm-string-2 {
|
1979 |
+
color: #6a8759;
|
1980 |
+
}
|
1981 |
+
|
1982 |
+
.cm-s-darcula span.cm-comment {
|
1983 |
+
color: #61a151;
|
1984 |
+
font-style: italic;
|
1985 |
+
}
|
1986 |
+
|
1987 |
+
.cm-s-darcula span.cm-atom,.cm-s-darcula span.cm-link {
|
1988 |
+
color: #cc7832;
|
1989 |
+
}
|
1990 |
+
|
1991 |
+
.cm-s-darcula span.cm-error {
|
1992 |
+
color: #bc3f3c;
|
1993 |
+
}
|
1994 |
+
|
1995 |
+
.cm-s-darcula span.cm-tag {
|
1996 |
+
color: #629755;
|
1997 |
+
font-weight: 700;
|
1998 |
+
font-style: italic;
|
1999 |
text-decoration: underline;
|
|
|
2000 |
}
|
2001 |
|
2002 |
+
.cm-s-darcula span.cm-attribute {
|
2003 |
+
color: #6897bb;
|
|
|
2004 |
}
|
2005 |
|
2006 |
+
.cm-s-darcula span.cm-qualifier {
|
2007 |
+
color: #6a8759;
|
2008 |
}
|
2009 |
|
2010 |
+
.cm-s-darcula span.cm-bracket {
|
2011 |
+
color: #a9b7c6;
|
|
|
2012 |
}
|
2013 |
|
2014 |
+
.cm-s-darcula span.cm-builtin,.cm-s-darcula span.cm-special {
|
2015 |
+
color: #ff9e59;
|
2016 |
}
|
2017 |
|
2018 |
+
.cm-s-darcula span.cm-matchhighlight {
|
2019 |
+
color: #fff;
|
2020 |
+
background-color: rgba(50,89,48,.7);
|
2021 |
+
font-weight: 400;
|
2022 |
}
|
2023 |
|
2024 |
+
.cm-s-darcula span.cm-searching {
|
2025 |
+
color: #fff;
|
2026 |
+
background-color: rgba(61,115,59,.7);
|
2027 |
+
font-weight: 400;
|
2028 |
}
|
2029 |
|
2030 |
+
.cm-s-darcula .CodeMirror-cursor {
|
2031 |
+
border-left: 1px solid #a9b7c6;
|
|
|
2032 |
}
|
2033 |
|
2034 |
+
.cm-s-darcula .CodeMirror-activeline-background {
|
2035 |
+
background: #323232;
|
2036 |
}
|
2037 |
|
2038 |
+
.cm-s-darcula .CodeMirror-gutters {
|
2039 |
+
background: #313335;
|
2040 |
+
border-right: 1px solid #313335;
|
2041 |
}
|
2042 |
|
2043 |
+
.cm-s-darcula .CodeMirror-guttermarker {
|
2044 |
+
color: #ffee80;
|
2045 |
}
|
2046 |
|
2047 |
+
.cm-s-darcula .CodeMirror-guttermarker-subtle {
|
2048 |
+
color: #d0d0d0;
|
2049 |
}
|
2050 |
|
2051 |
+
.cm-s-darcula .CodeMirrir-linenumber {
|
2052 |
+
color: #606366;
|
2053 |
+
}
|
2054 |
+
|
2055 |
+
.cm-s-darcula .CodeMirror-matchingbracket {
|
2056 |
+
background-color: #3b514d;
|
2057 |
+
color: #ffef28!important;
|
2058 |
+
font-weight: 700;
|
2059 |
+
}
|
2060 |
+
|
2061 |
+
.cm-s-darcula div.CodeMirror-selected {
|
2062 |
+
background: #214283;
|
2063 |
+
}
|
2064 |
+
|
2065 |
+
.CodeMirror-hints.darcula {
|
2066 |
+
font-family: Menlo,Monaco,Consolas,Courier New,monospace;
|
2067 |
+
color: #9c9e9e;
|
2068 |
+
background-color: #3b3e3f!important;
|
2069 |
+
}
|
2070 |
+
|
2071 |
+
.CodeMirror-hints.darcula .CodeMirror-hint-active {
|
2072 |
+
background-color: #494d4e!important;
|
2073 |
+
color: #9c9e9e!important;
|
2074 |
+
}
|
2075 |
+
|
2076 |
+
.cm-s-dracula.CodeMirror,.cm-s-dracula .CodeMirror-gutters {
|
2077 |
+
background-color: #282a36!important;
|
2078 |
+
color: #f8f8f2!important;
|
2079 |
+
border: none;
|
2080 |
+
}
|
2081 |
+
|
2082 |
+
.cm-s-dracula .CodeMirror-gutters {
|
2083 |
+
color: #282a36;
|
2084 |
+
}
|
2085 |
+
|
2086 |
+
.cm-s-dracula .CodeMirror-cursor {
|
2087 |
+
border-left: thin solid #f8f8f0;
|
2088 |
+
}
|
2089 |
+
|
2090 |
+
.cm-s-dracula .CodeMirror-linenumber {
|
2091 |
+
color: #6d8a88;
|
2092 |
+
}
|
2093 |
+
|
2094 |
+
.cm-s-dracula .CodeMirror-selected {
|
2095 |
+
background: hsla(0,0%,100%,.1);
|
2096 |
+
}
|
2097 |
+
|
2098 |
+
.cm-s-dracula .CodeMirror-line::selection,.cm-s-dracula .CodeMirror-line>span::selection,.cm-s-dracula .CodeMirror-line>span>span::selection {
|
2099 |
+
background: hsla(0,0%,100%,.1);
|
2100 |
+
}
|
2101 |
+
|
2102 |
+
.cm-s-dracula .CodeMirror-line::-moz-selection,.cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection {
|
2103 |
+
background: hsla(0,0%,100%,.1);
|
2104 |
+
}
|
2105 |
+
|
2106 |
+
.cm-s-dracula span.cm-comment {
|
2107 |
+
color: #6272a4;
|
2108 |
+
}
|
2109 |
+
|
2110 |
+
.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2 {
|
2111 |
+
color: #f1fa8c;
|
2112 |
+
}
|
2113 |
+
|
2114 |
+
.cm-s-dracula span.cm-number {
|
2115 |
+
color: #bd93f9;
|
2116 |
+
}
|
2117 |
+
|
2118 |
+
.cm-s-dracula span.cm-variable {
|
2119 |
+
color: #50fa7b;
|
2120 |
+
}
|
2121 |
+
|
2122 |
+
.cm-s-dracula span.cm-variable-2 {
|
2123 |
+
color: #fff;
|
2124 |
+
}
|
2125 |
+
|
2126 |
+
.cm-s-dracula span.cm-def {
|
2127 |
+
color: #50fa7b;
|
2128 |
+
}
|
2129 |
+
|
2130 |
+
.cm-s-dracula span.cm-keyword,.cm-s-dracula span.cm-operator {
|
2131 |
+
color: #ff79c6;
|
2132 |
+
}
|
2133 |
+
|
2134 |
+
.cm-s-dracula span.cm-atom {
|
2135 |
+
color: #bd93f9;
|
2136 |
+
}
|
2137 |
+
|
2138 |
+
.cm-s-dracula span.cm-meta {
|
2139 |
+
color: #f8f8f2;
|
2140 |
+
}
|
2141 |
+
|
2142 |
+
.cm-s-dracula span.cm-tag {
|
2143 |
+
color: #ff79c6;
|
2144 |
+
}
|
2145 |
+
|
2146 |
+
.cm-s-dracula span.cm-attribute,.cm-s-dracula span.cm-qualifier {
|
2147 |
+
color: #50fa7b;
|
2148 |
+
}
|
2149 |
+
|
2150 |
+
.cm-s-dracula span.cm-property {
|
2151 |
+
color: #66d9ef;
|
2152 |
+
}
|
2153 |
+
|
2154 |
+
.cm-s-dracula span.cm-builtin {
|
2155 |
+
color: #50fa7b;
|
2156 |
+
}
|
2157 |
+
|
2158 |
+
.cm-s-dracula span.cm-type,.cm-s-dracula span.cm-variable-3 {
|
2159 |
+
color: #ffb86c;
|
2160 |
+
}
|
2161 |
+
|
2162 |
+
.cm-s-dracula .CodeMirror-activeline-background {
|
2163 |
+
background: hsla(0,0%,100%,.1);
|
2164 |
+
}
|
2165 |
+
|
2166 |
+
.cm-s-dracula .CodeMirror-matchingbracket {
|
2167 |
+
text-decoration: underline;
|
2168 |
+
color: #fff!important;
|
2169 |
+
}
|
2170 |
+
|
2171 |
+
.cm-s-duotone-dark.CodeMirror {
|
2172 |
+
background: #2a2734;
|
2173 |
+
color: #6c6783;
|
2174 |
+
}
|
2175 |
+
|
2176 |
+
.cm-s-duotone-dark div.CodeMirror-selected {
|
2177 |
+
background: #545167!important;
|
2178 |
+
}
|
2179 |
+
|
2180 |
+
.cm-s-duotone-dark .CodeMirror-gutters {
|
2181 |
+
background: #2a2734;
|
2182 |
+
border-right: 0;
|
2183 |
+
}
|
2184 |
+
|
2185 |
+
.cm-s-duotone-dark .CodeMirror-linenumber {
|
2186 |
+
color: #545167;
|
2187 |
+
}
|
2188 |
+
|
2189 |
+
.cm-s-duotone-dark .CodeMirror-cursor {
|
2190 |
+
border-left: 1px solid #ffad5c;
|
2191 |
+
border-right: .5em solid #ffad5c;
|
2192 |
+
opacity: .5;
|
2193 |
+
}
|
2194 |
+
|
2195 |
+
.cm-s-duotone-dark .CodeMirror-activeline-background {
|
2196 |
+
background: #363342;
|
2197 |
+
opacity: .5;
|
2198 |
+
}
|
2199 |
+
|
2200 |
+
.cm-s-duotone-dark .cm-fat-cursor .CodeMirror-cursor {
|
2201 |
+
background: #ffad5c;
|
2202 |
+
opacity: .5;
|
2203 |
+
}
|
2204 |
+
|
2205 |
+
.cm-s-duotone-dark span.cm-atom,.cm-s-duotone-dark span.cm-attribute,.cm-s-duotone-dark span.cm-hr,.cm-s-duotone-dark span.cm-keyword,.cm-s-duotone-dark span.cm-link,.cm-s-duotone-dark span.cm-number,.cm-s-duotone-dark span.cm-quote,.cm-s-duotone-dark span.cm-variable {
|
2206 |
+
color: #fc9;
|
2207 |
+
}
|
2208 |
+
|
2209 |
+
.cm-s-duotone-dark span.cm-property {
|
2210 |
+
color: #9a86fd;
|
2211 |
+
}
|
2212 |
+
|
2213 |
+
.cm-s-duotone-dark span.cm-negative,.cm-s-duotone-dark span.cm-punctuation,.cm-s-duotone-dark span.cm-unit {
|
2214 |
+
color: #e09142;
|
2215 |
+
}
|
2216 |
+
|
2217 |
+
.cm-s-duotone-dark span.cm-string {
|
2218 |
+
color: #ffb870;
|
2219 |
+
}
|
2220 |
+
|
2221 |
+
.cm-s-duotone-dark span.cm-operator {
|
2222 |
+
color: #ffad5c;
|
2223 |
+
}
|
2224 |
+
|
2225 |
+
.cm-s-duotone-dark span.cm-positive {
|
2226 |
+
color: #6a51e6;
|
2227 |
+
}
|
2228 |
+
|
2229 |
+
.cm-s-duotone-dark span.cm-string-2,.cm-s-duotone-dark span.cm-type,.cm-s-duotone-dark span.cm-url,.cm-s-duotone-dark span.cm-variable-2,.cm-s-duotone-dark span.cm-variable-3 {
|
2230 |
+
color: #7a63ee;
|
2231 |
+
}
|
2232 |
+
|
2233 |
+
.cm-s-duotone-dark span.cm-builtin,.cm-s-duotone-dark span.cm-def,.cm-s-duotone-dark span.cm-em,.cm-s-duotone-dark span.cm-header,.cm-s-duotone-dark span.cm-qualifier,.cm-s-duotone-dark span.cm-tag {
|
2234 |
+
color: #eeebff;
|
2235 |
+
}
|
2236 |
+
|
2237 |
+
.cm-s-duotone-dark span.cm-bracket,.cm-s-duotone-dark span.cm-comment {
|
2238 |
+
color: #6c6783;
|
2239 |
+
}
|
2240 |
+
|
2241 |
+
.cm-s-duotone-dark span.cm-error,.cm-s-duotone-dark span.cm-invalidchar {
|
2242 |
+
color: red;
|
2243 |
+
}
|
2244 |
+
|
2245 |
+
.cm-s-duotone-dark span.cm-header {
|
2246 |
+
font-weight: 400;
|
2247 |
+
}
|
2248 |
+
|
2249 |
+
.cm-s-duotone-dark .CodeMirror-matchingbracket {
|
2250 |
+
text-decoration: underline;
|
2251 |
+
color: #eeebff!important;
|
2252 |
+
}
|
2253 |
+
|
2254 |
+
.cm-s-duotone-light.CodeMirror {
|
2255 |
+
background: #faf8f5;
|
2256 |
+
color: #b29762;
|
2257 |
+
}
|
2258 |
+
|
2259 |
+
.cm-s-duotone-light div.CodeMirror-selected {
|
2260 |
+
background: #e3dcce!important;
|
2261 |
+
}
|
2262 |
+
|
2263 |
+
.cm-s-duotone-light .CodeMirror-gutters {
|
2264 |
+
background: #faf8f5;
|
2265 |
+
border-right: 0;
|
2266 |
+
}
|
2267 |
+
|
2268 |
+
.cm-s-duotone-light .CodeMirror-linenumber {
|
2269 |
+
color: #cdc4b1;
|
2270 |
+
}
|
2271 |
+
|
2272 |
+
.cm-s-duotone-light .CodeMirror-cursor {
|
2273 |
+
border-left: 1px solid #93abdc;
|
2274 |
+
border-right: .5em solid #93abdc;
|
2275 |
+
opacity: .5;
|
2276 |
+
}
|
2277 |
+
|
2278 |
+
.cm-s-duotone-light .CodeMirror-activeline-background {
|
2279 |
+
background: #e3dcce;
|
2280 |
+
opacity: .5;
|
2281 |
+
}
|
2282 |
+
|
2283 |
+
.cm-s-duotone-light .cm-fat-cursor .CodeMirror-cursor {
|
2284 |
+
background: #93abdc;
|
2285 |
+
opacity: .5;
|
2286 |
+
}
|
2287 |
+
|
2288 |
+
.cm-s-duotone-light-light span.cm-hr,.cm-s-duotone-light-light span.cm-link,.cm-s-duotone-light span.cm-atom,.cm-s-duotone-light span.cm-attribute,.cm-s-duotone-light span.cm-keyword,.cm-s-duotone-light span.cm-number,.cm-s-duotone-light span.cm-quote,.cm-s-duotone-light span.cm-variable {
|
2289 |
+
color: #063289;
|
2290 |
+
}
|
2291 |
+
|
2292 |
+
.cm-s-duotone-light span.cm-property {
|
2293 |
+
color: #b29762;
|
2294 |
+
}
|
2295 |
+
|
2296 |
+
.cm-s-duotone-light span.cm-negative,.cm-s-duotone-light span.cm-punctuation,.cm-s-duotone-light span.cm-unit {
|
2297 |
+
color: #063289;
|
2298 |
+
}
|
2299 |
+
|
2300 |
+
.cm-s-duotone-light span.cm-operator,.cm-s-duotone-light span.cm-string {
|
2301 |
+
color: #1659df;
|
2302 |
+
}
|
2303 |
+
|
2304 |
+
.cm-s-duotone-light span.cm-positive,.cm-s-duotone-light span.cm-string-2,.cm-s-duotone-light span.cm-type,.cm-s-duotone-light span.cm-url,.cm-s-duotone-light span.cm-variable-2,.cm-s-duotone-light span.cm-variable-3 {
|
2305 |
+
color: #896724;
|
2306 |
+
}
|
2307 |
+
|
2308 |
+
.cm-s-duotone-light span.cm-builtin,.cm-s-duotone-light span.cm-def,.cm-s-duotone-light span.cm-em,.cm-s-duotone-light span.cm-header,.cm-s-duotone-light span.cm-qualifier,.cm-s-duotone-light span.cm-tag {
|
2309 |
+
color: #2d2006;
|
2310 |
+
}
|
2311 |
+
|
2312 |
+
.cm-s-duotone-light span.cm-bracket,.cm-s-duotone-light span.cm-comment {
|
2313 |
+
color: #b6ad9a;
|
2314 |
+
}
|
2315 |
+
|
2316 |
+
.cm-s-duotone-light span.cm-error,.cm-s-duotone-light span.cm-invalidchar {
|
2317 |
+
color: red;
|
2318 |
+
}
|
2319 |
+
|
2320 |
+
.cm-s-duotone-light span.cm-header {
|
2321 |
+
font-weight: 400;
|
2322 |
+
}
|
2323 |
+
|
2324 |
+
.cm-s-duotone-light .CodeMirror-matchingbracket {
|
2325 |
+
text-decoration: underline;
|
2326 |
+
color: #faf8f5!important;
|
2327 |
+
}
|
2328 |
+
|
2329 |
+
.cm-s-eclipse span.cm-meta {
|
2330 |
+
color: #ff1717;
|
2331 |
+
}
|
2332 |
+
|
2333 |
+
.cm-s-eclipse span.cm-keyword {
|
2334 |
+
line-height: 1em;
|
2335 |
+
font-weight: 700;
|
2336 |
+
color: #7f0055;
|
2337 |
+
}
|
2338 |
+
|
2339 |
+
.cm-s-eclipse span.cm-atom {
|
2340 |
+
color: #219;
|
2341 |
+
}
|
2342 |
+
|
2343 |
+
.cm-s-eclipse span.cm-number {
|
2344 |
+
color: #164;
|
2345 |
+
}
|
2346 |
+
|
2347 |
+
.cm-s-eclipse span.cm-def {
|
2348 |
+
color: #00f;
|
2349 |
+
}
|
2350 |
+
|
2351 |
+
.cm-s-eclipse span.cm-variable {
|
2352 |
+
color: #000;
|
2353 |
+
}
|
2354 |
+
|
2355 |
+
.cm-s-eclipse span.cm-type,.cm-s-eclipse span.cm-variable-2,.cm-s-eclipse span.cm-variable-3 {
|
2356 |
+
color: #0000c0;
|
2357 |
+
}
|
2358 |
+
|
2359 |
+
.cm-s-eclipse span.cm-operator,.cm-s-eclipse span.cm-property {
|
2360 |
+
color: #000;
|
2361 |
+
}
|
2362 |
+
|
2363 |
+
.cm-s-eclipse span.cm-comment {
|
2364 |
+
color: #3f7f5f;
|
2365 |
+
}
|
2366 |
+
|
2367 |
+
.cm-s-eclipse span.cm-string {
|
2368 |
+
color: #2a00ff;
|
2369 |
+
}
|
2370 |
+
|
2371 |
+
.cm-s-eclipse span.cm-string-2 {
|
2372 |
+
color: #f50;
|
2373 |
+
}
|
2374 |
+
|
2375 |
+
.cm-s-eclipse span.cm-qualifier {
|
2376 |
+
color: #555;
|
2377 |
+
}
|
2378 |
+
|
2379 |
+
.cm-s-eclipse span.cm-builtin {
|
2380 |
+
color: #30a;
|
2381 |
+
}
|
2382 |
+
|
2383 |
+
.cm-s-eclipse span.cm-bracket {
|
2384 |
+
color: #cc7;
|
2385 |
+
}
|
2386 |
+
|
2387 |
+
.cm-s-eclipse span.cm-tag {
|
2388 |
+
color: #170;
|
2389 |
+
}
|
2390 |
+
|
2391 |
+
.cm-s-eclipse span.cm-attribute {
|
2392 |
+
color: #00c;
|
2393 |
+
}
|
2394 |
+
|
2395 |
+
.cm-s-eclipse span.cm-link {
|
2396 |
+
color: #219;
|
2397 |
+
}
|
2398 |
+
|
2399 |
+
.cm-s-eclipse span.cm-error {
|
2400 |
+
color: red;
|
2401 |
+
}
|
2402 |
+
|
2403 |
+
.cm-s-eclipse .CodeMirror-activeline-background {
|
2404 |
+
background: #e8f2ff;
|
2405 |
+
}
|
2406 |
+
|
2407 |
+
.cm-s-eclipse .CodeMirror-matchingbracket {
|
2408 |
+
outline: 1px solid grey;
|
2409 |
+
color: #000!important;
|
2410 |
+
}
|
2411 |
+
|
2412 |
+
.cm-s-elegant span.cm-atom,.cm-s-elegant span.cm-number,.cm-s-elegant span.cm-string {
|
2413 |
+
color: #762;
|
2414 |
+
}
|
2415 |
+
|
2416 |
+
.cm-s-elegant span.cm-comment {
|
2417 |
+
color: #262;
|
2418 |
+
font-style: italic;
|
2419 |
+
line-height: 1em;
|
2420 |
+
}
|
2421 |
+
|
2422 |
+
.cm-s-elegant span.cm-meta {
|
2423 |
+
color: #555;
|
2424 |
+
font-style: italic;
|
2425 |
+
line-height: 1em;
|
2426 |
+
}
|
2427 |
+
|
2428 |
+
.cm-s-elegant span.cm-variable {
|
2429 |
+
color: #000;
|
2430 |
+
}
|
2431 |
+
|
2432 |
+
.cm-s-elegant span.cm-variable-2 {
|
2433 |
+
color: #b11;
|
2434 |
+
}
|
2435 |
+
|
2436 |
+
.cm-s-elegant span.cm-qualifier {
|
2437 |
+
color: #555;
|
2438 |
+
}
|
2439 |
+
|
2440 |
+
.cm-s-elegant span.cm-keyword {
|
2441 |
+
color: #730;
|
2442 |
+
}
|
2443 |
+
|
2444 |
+
.cm-s-elegant span.cm-builtin {
|
2445 |
+
color: #30a;
|
2446 |
+
}
|
2447 |
+
|
2448 |
+
.cm-s-elegant span.cm-link {
|
2449 |
+
color: #762;
|
2450 |
+
}
|
2451 |
+
|
2452 |
+
.cm-s-elegant span.cm-error {
|
2453 |
+
background-color: #fdd;
|
2454 |
+
}
|
2455 |
+
|
2456 |
+
.cm-s-elegant .CodeMirror-activeline-background {
|
2457 |
+
background: #e8f2ff;
|
2458 |
+
}
|
2459 |
+
|
2460 |
+
.cm-s-elegant .CodeMirror-matchingbracket {
|
2461 |
+
outline: 1px solid grey;
|
2462 |
+
color: #000!important;
|
2463 |
+
}
|
2464 |
+
|
2465 |
+
.cm-s-erlang-dark.CodeMirror {
|
2466 |
+
background: #002240;
|
2467 |
+
color: #fff;
|
2468 |
+
}
|
2469 |
+
|
2470 |
+
.cm-s-erlang-dark div.CodeMirror-selected {
|
2471 |
+
background: #b36539;
|
2472 |
+
}
|
2473 |
+
|
2474 |
+
.cm-s-erlang-dark .CodeMirror-line::selection,.cm-s-erlang-dark .CodeMirror-line>span::selection,.cm-s-erlang-dark .CodeMirror-line>span>span::selection {
|
2475 |
+
background: rgba(179,101,57,.99);
|
2476 |
+
}
|
2477 |
+
|
2478 |
+
.cm-s-erlang-dark .CodeMirror-line::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span::-moz-selection,.cm-s-erlang-dark .CodeMirror-line>span>span::-moz-selection {
|
2479 |
+
background: rgba(179,101,57,.99);
|
2480 |
+
}
|
2481 |
+
|
2482 |
+
.cm-s-erlang-dark .CodeMirror-gutters {
|
2483 |
+
background: #002240;
|
2484 |
+
border-right: 1px solid #aaa;
|
2485 |
+
}
|
2486 |
+
|
2487 |
+
.cm-s-erlang-dark .CodeMirror-guttermarker {
|
2488 |
+
color: #fff;
|
2489 |
+
}
|
2490 |
+
|
2491 |
+
.cm-s-erlang-dark .CodeMirror-guttermarker-subtle,.cm-s-erlang-dark .CodeMirror-linenumber {
|
2492 |
+
color: #d0d0d0;
|
2493 |
+
}
|
2494 |
+
|
2495 |
+
.cm-s-erlang-dark .CodeMirror-cursor {
|
2496 |
+
border-left: 1px solid #fff;
|
2497 |
+
}
|
2498 |
+
|
2499 |
+
.cm-s-erlang-dark span.cm-quote {
|
2500 |
+
color: #ccc;
|
2501 |
+
}
|
2502 |
+
|
2503 |
+
.cm-s-erlang-dark span.cm-atom {
|
2504 |
+
color: #f133f1;
|
2505 |
+
}
|
2506 |
+
|
2507 |
+
.cm-s-erlang-dark span.cm-attribute {
|
2508 |
+
color: #ff80e1;
|
2509 |
+
}
|
2510 |
+
|
2511 |
+
.cm-s-erlang-dark span.cm-bracket {
|
2512 |
+
color: #ff9d00;
|
2513 |
+
}
|
2514 |
+
|
2515 |
+
.cm-s-erlang-dark span.cm-builtin {
|
2516 |
+
color: #eaa;
|
2517 |
+
}
|
2518 |
+
|
2519 |
+
.cm-s-erlang-dark span.cm-comment {
|
2520 |
+
color: #77f;
|
2521 |
+
}
|
2522 |
+
|
2523 |
+
.cm-s-erlang-dark span.cm-def {
|
2524 |
+
color: #e7a;
|
2525 |
+
}
|
2526 |
+
|
2527 |
+
.cm-s-erlang-dark span.cm-keyword {
|
2528 |
+
color: #ffee80;
|
2529 |
+
}
|
2530 |
+
|
2531 |
+
.cm-s-erlang-dark span.cm-meta {
|
2532 |
+
color: #50fefe;
|
2533 |
+
}
|
2534 |
+
|
2535 |
+
.cm-s-erlang-dark span.cm-number {
|
2536 |
+
color: #ffd0d0;
|
2537 |
+
}
|
2538 |
+
|
2539 |
+
.cm-s-erlang-dark span.cm-operator {
|
2540 |
+
color: #d55;
|
2541 |
+
}
|
2542 |
+
|
2543 |
+
.cm-s-erlang-dark span.cm-property,.cm-s-erlang-dark span.cm-qualifier {
|
2544 |
+
color: #ccc;
|
2545 |
+
}
|
2546 |
+
|
2547 |
+
.cm-s-erlang-dark span.cm-special {
|
2548 |
+
color: #fbb;
|
2549 |
+
}
|
2550 |
+
|
2551 |
+
.cm-s-erlang-dark span.cm-string {
|
2552 |
+
color: #3ad900;
|
2553 |
+
}
|
2554 |
+
|
2555 |
+
.cm-s-erlang-dark span.cm-string-2 {
|
2556 |
+
color: #ccc;
|
2557 |
+
}
|
2558 |
+
|
2559 |
+
.cm-s-erlang-dark span.cm-tag {
|
2560 |
+
color: #9effff;
|
2561 |
+
}
|
2562 |
+
|
2563 |
+
.cm-s-erlang-dark span.cm-variable {
|
2564 |
+
color: #50fe50;
|
2565 |
+
}
|
2566 |
+
|
2567 |
+
.cm-s-erlang-dark span.cm-variable-2 {
|
2568 |
+
color: #e0e;
|
2569 |
+
}
|
2570 |
+
|
2571 |
+
.cm-s-erlang-dark span.cm-type,.cm-s-erlang-dark span.cm-variable-3 {
|
2572 |
+
color: #ccc;
|
2573 |
+
}
|
2574 |
+
|
2575 |
+
.cm-s-erlang-dark span.cm-error {
|
2576 |
+
color: #9d1e15;
|
2577 |
+
}
|
2578 |
+
|
2579 |
+
.cm-s-erlang-dark .CodeMirror-activeline-background {
|
2580 |
+
background: #013461;
|
2581 |
+
}
|
2582 |
+
|
2583 |
+
.cm-s-erlang-dark .CodeMirror-matchingbracket {
|
2584 |
+
outline: 1px solid grey;
|
2585 |
+
color: #fff!important;
|
2586 |
}
|
2587 |
|
2588 |
+
.cm-s-gruvbox-dark.CodeMirror,.cm-s-gruvbox-dark .CodeMirror-gutters {
|
2589 |
+
background-color: #282828;
|
2590 |
+
color: #bdae93;
|
2591 |
}
|
2592 |
|
2593 |
+
.cm-s-gruvbox-dark .CodeMirror-gutters {
|
2594 |
+
background: #282828;
|
2595 |
+
border-right: 0;
|
2596 |
}
|
2597 |
|
2598 |
+
.cm-s-gruvbox-dark .CodeMirror-linenumber {
|
2599 |
+
color: #7c6f64;
|
2600 |
}
|
2601 |
|
2602 |
+
.cm-s-gruvbox-dark .CodeMirror-cursor {
|
2603 |
+
border-left: 1px solid #ebdbb2;
|
2604 |
}
|
2605 |
|
2606 |
+
.cm-s-gruvbox-dark .cm-animate-fat-cursor,.cm-s-gruvbox-dark.cm-fat-cursor .CodeMirror-cursor {
|
2607 |
+
background-color: #8e8d8875!important;
|
2608 |
}
|
2609 |
|
2610 |
+
.cm-s-gruvbox-dark div.CodeMirror-selected {
|
2611 |
+
background: #928374;
|
2612 |
}
|
2613 |
|
2614 |
+
.cm-s-gruvbox-dark span.cm-meta {
|
2615 |
+
color: #83a598;
|
|
|
2616 |
}
|
2617 |
|
2618 |
+
.cm-s-gruvbox-dark span.cm-comment {
|
2619 |
+
color: #928374;
|
|
|
2620 |
}
|
2621 |
|
2622 |
+
.cm-s-gruvbox-dark span.cm-number,span.cm-atom {
|
2623 |
+
color: #d3869b;
|
2624 |
}
|
2625 |
|
2626 |
+
.cm-s-gruvbox-dark span.cm-keyword {
|
2627 |
+
color: #f84934;
|
|
|
2628 |
}
|
2629 |
|
2630 |
+
.cm-s-gruvbox-dark span.cm-variable,.cm-s-gruvbox-dark span.cm-variable-2 {
|
2631 |
+
color: #ebdbb2;
|
2632 |
}
|
2633 |
|
2634 |
+
.cm-s-gruvbox-dark span.cm-type,.cm-s-gruvbox-dark span.cm-variable-3 {
|
2635 |
+
color: #fabd2f;
|
|
|
|
|
2636 |
}
|
2637 |
|
2638 |
+
.cm-s-gruvbox-dark span.cm-callee,.cm-s-gruvbox-dark span.cm-def,.cm-s-gruvbox-dark span.cm-operator,.cm-s-gruvbox-dark span.cm-property {
|
2639 |
+
color: #ebdbb2;
|
|
|
2640 |
}
|
2641 |
|
2642 |
+
.cm-s-gruvbox-dark span.cm-string {
|
2643 |
+
color: #b8bb26;
|
|
|
2644 |
}
|
2645 |
|
2646 |
+
.cm-s-gruvbox-dark span.cm-attribute,.cm-s-gruvbox-dark span.cm-qualifier,.cm-s-gruvbox-dark span.cm-string-2 {
|
2647 |
+
color: #8ec07c;
|
2648 |
}
|
2649 |
|
2650 |
+
.cm-s-gruvbox-dark .CodeMirror-activeline-background {
|
2651 |
+
background: #3c3836;
|
2652 |
}
|
2653 |
|
2654 |
+
.cm-s-gruvbox-dark .CodeMirror-matchingbracket {
|
2655 |
+
background: #928374;
|
2656 |
+
color: #282828!important;
|
2657 |
}
|
2658 |
|
2659 |
+
.cm-s-gruvbox-dark span.cm-builtin,.cm-s-gruvbox-dark span.cm-tag {
|
2660 |
+
color: #fe8019;
|
2661 |
}
|
2662 |
|
2663 |
+
.cm-s-hopscotch.CodeMirror {
|
2664 |
+
background: #322931;
|
2665 |
+
color: #d5d3d5;
|
2666 |
}
|
2667 |
|
2668 |
+
.cm-s-hopscotch div.CodeMirror-selected {
|
2669 |
+
background: #433b42!important;
|
2670 |
}
|
2671 |
|
2672 |
+
.cm-s-hopscotch .CodeMirror-gutters {
|
2673 |
+
background: #322931;
|
2674 |
+
border-right: 0;
|
2675 |
}
|
2676 |
|
2677 |
+
.cm-s-hopscotch .CodeMirror-linenumber {
|
2678 |
+
color: #797379;
|
2679 |
}
|
2680 |
|
2681 |
+
.cm-s-hopscotch .CodeMirror-cursor {
|
2682 |
+
border-left: 1px solid #989498!important;
|
2683 |
}
|
2684 |
|
2685 |
+
.cm-s-hopscotch span.cm-comment {
|
2686 |
+
color: #b33508;
|
|
|
2687 |
}
|
2688 |
|
2689 |
+
.cm-s-hopscotch span.cm-atom,.cm-s-hopscotch span.cm-number {
|
2690 |
+
color: #c85e7c;
|
2691 |
}
|
2692 |
|
2693 |
+
.cm-s-hopscotch span.cm-attribute,.cm-s-hopscotch span.cm-property {
|
2694 |
+
color: #8fc13e;
|
|
|
|
|
2695 |
}
|
2696 |
|
2697 |
+
.cm-s-hopscotch span.cm-keyword {
|
2698 |
+
color: #dd464c;
|
2699 |
}
|
2700 |
|
2701 |
+
.cm-s-hopscotch span.cm-string {
|
2702 |
+
color: #fdcc59;
|
2703 |
}
|
2704 |
|
2705 |
+
.cm-s-hopscotch span.cm-variable {
|
2706 |
+
color: #8fc13e;
|
2707 |
}
|
2708 |
|
2709 |
+
.cm-s-hopscotch span.cm-variable-2 {
|
2710 |
+
color: #1290bf;
|
2711 |
}
|
2712 |
|
2713 |
+
.cm-s-hopscotch span.cm-def {
|
2714 |
+
color: #fd8b19;
|
2715 |
}
|
2716 |
|
2717 |
+
.cm-s-hopscotch span.cm-error {
|
2718 |
+
background: #dd464c;
|
2719 |
+
color: #989498;
|
2720 |
}
|
2721 |
|
2722 |
+
.cm-s-hopscotch span.cm-bracket {
|
2723 |
+
color: #d5d3d5;
|
2724 |
}
|
2725 |
|
2726 |
+
.cm-s-hopscotch span.cm-tag {
|
2727 |
+
color: #dd464c;
|
2728 |
}
|
2729 |
|
2730 |
+
.cm-s-hopscotch span.cm-link {
|
2731 |
+
color: #c85e7c;
|
2732 |
}
|
2733 |
|
2734 |
+
.cm-s-hopscotch .CodeMirror-matchingbracket {
|
2735 |
+
text-decoration: underline;
|
2736 |
+
color: #fff!important;
|
2737 |
}
|
2738 |
|
2739 |
+
.cm-s-hopscotch .CodeMirror-activeline-background {
|
2740 |
+
background: #302020;
|
2741 |
}
|
2742 |
|
2743 |
+
.cm-s-icecoder {
|
2744 |
+
color: #666;
|
2745 |
+
background: #1d1d1b;
|
2746 |
}
|
2747 |
|
2748 |
+
.cm-s-icecoder span.cm-keyword {
|
2749 |
+
color: #eee;
|
2750 |
+
font-weight: 700;
|
2751 |
}
|
2752 |
|
2753 |
+
.cm-s-icecoder span.cm-atom {
|
2754 |
+
color: #e1c76e;
|
2755 |
}
|
2756 |
|
2757 |
+
.cm-s-icecoder span.cm-number {
|
2758 |
+
color: #6cb5d9;
|
2759 |
}
|
2760 |
|
2761 |
+
.cm-s-icecoder span.cm-def {
|
2762 |
+
color: #b9ca4a;
|
2763 |
}
|
2764 |
|
2765 |
+
.cm-s-icecoder span.cm-variable {
|
2766 |
+
color: #6cb5d9;
|
2767 |
}
|
2768 |
|
2769 |
+
.cm-s-icecoder span.cm-variable-2 {
|
2770 |
+
color: #cc1e5c;
|
|
|
2771 |
}
|
2772 |
|
2773 |
+
.cm-s-icecoder span.cm-type,.cm-s-icecoder span.cm-variable-3 {
|
2774 |
+
color: #f9602c;
|
2775 |
}
|
2776 |
|
2777 |
+
.cm-s-icecoder span.cm-property {
|
2778 |
+
color: #eee;
|
|
|
|
|
2779 |
}
|
2780 |
|
2781 |
+
.cm-s-icecoder span.cm-operator {
|
2782 |
+
color: #9179bb;
|
|
|
|
|
2783 |
}
|
2784 |
|
2785 |
+
.cm-s-icecoder span.cm-comment {
|
2786 |
+
color: #97a3aa;
|
2787 |
}
|
2788 |
|
2789 |
+
.cm-s-icecoder span.cm-string {
|
2790 |
+
color: #b9ca4a;
|
2791 |
}
|
2792 |
|
2793 |
+
.cm-s-icecoder span.cm-string-2 {
|
2794 |
+
color: #6cb5d9;
|
2795 |
}
|
2796 |
|
2797 |
+
.cm-s-icecoder span.cm-meta,.cm-s-icecoder span.cm-qualifier {
|
2798 |
+
color: #555;
|
2799 |
}
|
2800 |
|
2801 |
+
.cm-s-icecoder span.cm-builtin {
|
2802 |
+
color: #214e7b;
|
2803 |
}
|
2804 |
|
2805 |
+
.cm-s-icecoder span.cm-bracket {
|
2806 |
+
color: #cc7;
|
2807 |
}
|
2808 |
|
2809 |
+
.cm-s-icecoder span.cm-tag {
|
2810 |
+
color: #e8e8e8;
|
2811 |
}
|
2812 |
|
2813 |
+
.cm-s-icecoder span.cm-attribute {
|
2814 |
+
color: #099;
|
2815 |
}
|
2816 |
|
2817 |
+
.cm-s-icecoder span.cm-header {
|
2818 |
+
color: #6a0d6a;
|
|
|
2819 |
}
|
2820 |
|
2821 |
+
.cm-s-icecoder span.cm-quote {
|
2822 |
+
color: #186718;
|
|
|
2823 |
}
|
2824 |
|
2825 |
+
.cm-s-icecoder span.cm-hr {
|
2826 |
+
color: #888;
|
2827 |
}
|
2828 |
|
2829 |
+
.cm-s-icecoder span.cm-link {
|
2830 |
+
color: #e1c76e;
|
2831 |
}
|
2832 |
|
2833 |
+
.cm-s-icecoder span.cm-error {
|
2834 |
+
color: #d00;
|
2835 |
}
|
2836 |
|
2837 |
+
.cm-s-icecoder .CodeMirror-cursor {
|
2838 |
+
border-left: 1px solid #fff;
|
|
|
2839 |
}
|
2840 |
|
2841 |
+
.cm-s-icecoder div.CodeMirror-selected {
|
2842 |
color: #fff;
|
2843 |
+
background: #037;
|
2844 |
}
|
2845 |
|
2846 |
+
.cm-s-icecoder .CodeMirror-gutters {
|
2847 |
+
background: #1d1d1b;
|
2848 |
+
min-width: 41px;
|
2849 |
+
border-right: 0;
|
2850 |
}
|
2851 |
|
2852 |
+
.cm-s-icecoder .CodeMirror-linenumber {
|
2853 |
+
color: #555;
|
2854 |
+
cursor: default;
|
2855 |
}
|
2856 |
|
2857 |
+
.cm-s-icecoder .CodeMirror-matchingbracket {
|
2858 |
+
color: #fff!important;
|
2859 |
+
background: #555!important;
|
2860 |
}
|
2861 |
|
2862 |
+
.cm-s-icecoder .CodeMirror-activeline-background {
|
2863 |
+
background: #000;
|
2864 |
}
|
2865 |
|
2866 |
+
.cm-s-idea span.cm-meta {
|
2867 |
+
color: olive;
|
2868 |
}
|
2869 |
|
2870 |
+
.cm-s-idea span.cm-number {
|
2871 |
+
color: #00f;
|
2872 |
}
|
2873 |
|
2874 |
+
.cm-s-idea span.cm-keyword {
|
2875 |
+
line-height: 1em;
|
2876 |
+
font-weight: 700;
|
2877 |
+
color: navy;
|
2878 |
}
|
2879 |
|
2880 |
+
.cm-s-idea span.cm-atom {
|
2881 |
+
font-weight: 700;
|
2882 |
+
color: navy;
|
2883 |
}
|
2884 |
|
2885 |
+
.cm-s-idea span.cm-def,.cm-s-idea span.cm-operator,.cm-s-idea span.cm-property,.cm-s-idea span.cm-type,.cm-s-idea span.cm-variable,.cm-s-idea span.cm-variable-2,.cm-s-idea span.cm-variable-3 {
|
2886 |
+
color: #000;
|
2887 |
}
|
2888 |
|
2889 |
+
.cm-s-idea span.cm-comment {
|
2890 |
+
color: gray;
|
2891 |
}
|
2892 |
|
2893 |
+
.cm-s-idea span.cm-string,.cm-s-idea span.cm-string-2 {
|
2894 |
+
color: green;
|
2895 |
}
|
2896 |
|
2897 |
+
.cm-s-idea span.cm-qualifier {
|
2898 |
+
color: #555;
|
2899 |
}
|
2900 |
|
2901 |
+
.cm-s-idea span.cm-error {
|
2902 |
+
color: red;
|
2903 |
}
|
2904 |
|
2905 |
+
.cm-s-idea span.cm-attribute {
|
2906 |
+
color: #00f;
|
2907 |
}
|
2908 |
|
2909 |
+
.cm-s-idea span.cm-tag {
|
2910 |
+
color: navy;
|
2911 |
}
|
2912 |
|
2913 |
+
.cm-s-idea span.cm-link {
|
2914 |
+
color: #00f;
|
2915 |
}
|
2916 |
|
2917 |
+
.cm-s-idea .CodeMirror-activeline-background {
|
2918 |
+
background: #fffae3;
|
2919 |
}
|
2920 |
|
2921 |
+
.cm-s-idea span.cm-builtin {
|
2922 |
+
color: #30a;
|
2923 |
}
|
2924 |
|
2925 |
+
.cm-s-idea span.cm-bracket {
|
2926 |
+
color: #cc7;
|
2927 |
}
|
2928 |
|
2929 |
+
.cm-s-idea {
|
2930 |
+
font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;
|
2931 |
}
|
2932 |
|
2933 |
+
.cm-s-idea .CodeMirror-matchingbracket {
|
2934 |
+
outline: 1px solid grey;
|
2935 |
+
color: #000!important;
|
2936 |
}
|
2937 |
|
2938 |
+
.CodeMirror-hints.idea {
|
2939 |
+
font-family: Menlo,Monaco,Consolas,Courier New,monospace;
|
2940 |
+
color: #616569;
|
2941 |
+
background-color: #ebf3fd!important;
|
2942 |
}
|
2943 |
|
2944 |
+
.CodeMirror-hints.idea .CodeMirror-hint-active {
|
2945 |
+
background-color: #a2b8c9!important;
|
2946 |
+
color: #5c6065!important;
|
2947 |
}
|
2948 |
|
2949 |
+
.cm-s-isotope.CodeMirror {
|
2950 |
+
background: #000;
|
2951 |
+
color: #e0e0e0;
|
2952 |
}
|
2953 |
|
2954 |
+
.cm-s-isotope div.CodeMirror-selected {
|
2955 |
+
background: #404040!important;
|
|
|
2956 |
}
|
2957 |
|
2958 |
+
.cm-s-isotope .CodeMirror-gutters {
|
2959 |
+
background: #000;
|
2960 |
border-right: 0;
|
2961 |
}
|
2962 |
|
2963 |
+
.cm-s-isotope .CodeMirror-linenumber {
|
2964 |
+
color: gray;
|
2965 |
}
|
2966 |
|
2967 |
+
.cm-s-isotope .CodeMirror-cursor {
|
2968 |
+
border-left: 1px solid silver!important;
|
2969 |
}
|
2970 |
|
2971 |
+
.cm-s-isotope span.cm-comment {
|
2972 |
+
color: #30f;
|
2973 |
}
|
2974 |
|
2975 |
+
.cm-s-isotope span.cm-atom,.cm-s-isotope span.cm-number {
|
2976 |
+
color: #c0f;
|
2977 |
}
|
2978 |
|
2979 |
+
.cm-s-isotope span.cm-attribute,.cm-s-isotope span.cm-property {
|
2980 |
+
color: #3f0;
|
2981 |
}
|
2982 |
|
2983 |
+
.cm-s-isotope span.cm-keyword {
|
2984 |
+
color: red;
|
2985 |
}
|
2986 |
|
2987 |
+
.cm-s-isotope span.cm-string {
|
2988 |
+
color: #f09;
|
2989 |
}
|
2990 |
|
2991 |
+
.cm-s-isotope span.cm-variable {
|
2992 |
+
color: #3f0;
|
2993 |
}
|
2994 |
|
2995 |
+
.cm-s-isotope span.cm-variable-2 {
|
2996 |
+
color: #06f;
|
2997 |
}
|
2998 |
|
2999 |
+
.cm-s-isotope span.cm-def {
|
3000 |
+
color: #f90;
|
3001 |
}
|
3002 |
|
3003 |
+
.cm-s-isotope span.cm-error {
|
3004 |
+
background: red;
|
3005 |
+
color: silver;
|
3006 |
}
|
3007 |
|
3008 |
+
.cm-s-isotope span.cm-bracket {
|
3009 |
+
color: #e0e0e0;
|
3010 |
}
|
3011 |
|
3012 |
+
.cm-s-isotope span.cm-tag {
|
3013 |
+
color: red;
|
3014 |
}
|
3015 |
|
3016 |
+
.cm-s-isotope span.cm-link {
|
3017 |
+
color: #c0f;
|
|
|
3018 |
}
|
3019 |
|
3020 |
+
.cm-s-isotope .CodeMirror-matchingbracket {
|
3021 |
+
text-decoration: underline;
|
3022 |
+
color: #fff!important;
|
3023 |
}
|
3024 |
|
3025 |
+
.cm-s-isotope .CodeMirror-activeline-background {
|
3026 |
+
background: #202020;
|
|
|
3027 |
}
|
3028 |
|
3029 |
+
.cm-s-lesser-dark {
|
3030 |
+
line-height: 1.3em;
|
3031 |
}
|
3032 |
|
3033 |
+
.cm-s-lesser-dark.CodeMirror {
|
3034 |
+
background: #262626;
|
3035 |
+
color: #ebefe7;
|
3036 |
+
text-shadow: 0 -1px 1px #262626;
|
3037 |
}
|
3038 |
|
3039 |
+
.cm-s-lesser-dark div.CodeMirror-selected {
|
3040 |
+
background: #45443b;
|
3041 |
}
|
3042 |
|
3043 |
+
.cm-s-lesser-dark .CodeMirror-line::selection,.cm-s-lesser-dark .CodeMirror-line>span::selection,.cm-s-lesser-dark .CodeMirror-line>span>span::selection {
|
3044 |
+
background: rgba(69,68,59,.99);
|
3045 |
}
|
3046 |
|
3047 |
+
.cm-s-lesser-dark .CodeMirror-line::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span::-moz-selection,.cm-s-lesser-dark .CodeMirror-line>span>span::-moz-selection {
|
3048 |
+
background: rgba(69,68,59,.99);
|
3049 |
}
|
3050 |
|
3051 |
+
.cm-s-lesser-dark .CodeMirror-cursor {
|
3052 |
+
border-left: 1px solid #fff;
|
3053 |
}
|
3054 |
|
3055 |
+
.cm-s-lesser-dark pre {
|
3056 |
+
padding: 0 8px;
|
3057 |
}
|
3058 |
|
3059 |
+
.cm-s-lesser-dark.CodeMirror span.CodeMirror-matchingbracket {
|
3060 |
+
color: #7efc7e;
|
3061 |
}
|
3062 |
|
3063 |
+
.cm-s-lesser-dark .CodeMirror-gutters {
|
3064 |
+
background: #262626;
|
3065 |
+
border-right: 1px solid #aaa;
|
3066 |
}
|
3067 |
|
3068 |
+
.cm-s-lesser-dark .CodeMirror-guttermarker {
|
3069 |
+
color: #599eff;
|
3070 |
}
|
3071 |
|
3072 |
+
.cm-s-lesser-dark .CodeMirror-guttermarker-subtle,.cm-s-lesser-dark .CodeMirror-linenumber {
|
3073 |
+
color: #777;
|
3074 |
}
|
3075 |
|
3076 |
+
.cm-s-lesser-dark span.cm-header {
|
3077 |
+
color: #a0a;
|
3078 |
+
}
|
3079 |
+
|
3080 |
+
.cm-s-lesser-dark span.cm-quote {
|
3081 |
+
color: #090;
|
3082 |
}
|
3083 |
|
3084 |
+
.cm-s-lesser-dark span.cm-keyword {
|
3085 |
+
color: #599eff;
|
|
|
3086 |
}
|
3087 |
|
3088 |
+
.cm-s-lesser-dark span.cm-atom {
|
3089 |
+
color: #c2b470;
|
3090 |
}
|
3091 |
|
3092 |
+
.cm-s-lesser-dark span.cm-number {
|
3093 |
+
color: #b35e4d;
|
3094 |
}
|
3095 |
|
3096 |
+
.cm-s-lesser-dark span.cm-def {
|
3097 |
+
color: #fff;
|
3098 |
}
|
3099 |
|
3100 |
+
.cm-s-lesser-dark span.cm-variable {
|
3101 |
+
color: #d9bf8c;
|
|
|
3102 |
}
|
3103 |
|
3104 |
+
.cm-s-lesser-dark span.cm-variable-2 {
|
3105 |
+
color: #669199;
|
3106 |
}
|
3107 |
|
3108 |
+
.cm-s-lesser-dark span.cm-type,.cm-s-lesser-dark span.cm-variable-3 {
|
3109 |
+
color: #fff;
|
|
|
3110 |
}
|
3111 |
|
3112 |
+
.cm-s-lesser-dark span.cm-operator,.cm-s-lesser-dark span.cm-property {
|
3113 |
+
color: #92a75c;
|
|
|
3114 |
}
|
3115 |
|
3116 |
+
.cm-s-lesser-dark span.cm-comment {
|
3117 |
+
color: #666;
|
3118 |
}
|
3119 |
|
3120 |
+
.cm-s-lesser-dark span.cm-string {
|
3121 |
+
color: #bcd279;
|
3122 |
}
|
3123 |
|
3124 |
+
.cm-s-lesser-dark span.cm-string-2 {
|
3125 |
+
color: #f50;
|
3126 |
}
|
3127 |
|
3128 |
+
.cm-s-lesser-dark span.cm-meta {
|
3129 |
+
color: #738c73;
|
3130 |
}
|
3131 |
|
3132 |
+
.cm-s-lesser-dark span.cm-qualifier {
|
3133 |
+
color: #555;
|
3134 |
}
|
3135 |
|
3136 |
+
.cm-s-lesser-dark span.cm-builtin {
|
3137 |
+
color: #ff9e59;
|
3138 |
}
|
3139 |
|
3140 |
+
.cm-s-lesser-dark span.cm-bracket {
|
3141 |
+
color: #ebefe7;
|
3142 |
}
|
3143 |
|
3144 |
+
.cm-s-lesser-dark span.cm-tag {
|
3145 |
+
color: #669199;
|
3146 |
}
|
3147 |
|
3148 |
+
.cm-s-lesser-dark span.cm-attribute {
|
3149 |
+
color: #81a4d5;
|
3150 |
}
|
3151 |
|
3152 |
+
.cm-s-lesser-dark span.cm-hr {
|
3153 |
+
color: #999;
|
3154 |
}
|
3155 |
|
3156 |
+
.cm-s-lesser-dark span.cm-link {
|
3157 |
+
color: #7070e6;
|
3158 |
}
|
3159 |
|
3160 |
+
.cm-s-lesser-dark span.cm-error {
|
3161 |
+
color: #9d1e15;
|
3162 |
}
|
3163 |
|
3164 |
+
.cm-s-lesser-dark .CodeMirror-activeline-background {
|
3165 |
+
background: #3c3a3a;
|
3166 |
}
|
3167 |
|
3168 |
+
.cm-s-lesser-dark .CodeMirror-matchingbracket {
|
3169 |
+
outline: 1px solid grey;
|
3170 |
+
color: #fff!important;
|
3171 |
}
|
3172 |
|
3173 |
+
.cm-s-juejin.CodeMirror {
|
3174 |
+
background: #f8f9fa;
|
3175 |
}
|
3176 |
|
3177 |
+
.cm-s-juejin .cm-def,.cm-s-juejin .cm-header {
|
3178 |
+
color: #1ba2f0;
|
3179 |
}
|
3180 |
|
3181 |
+
.cm-s-juejin .cm-comment {
|
3182 |
+
color: #009e9d;
|
3183 |
}
|
3184 |
|
3185 |
+
.cm-s-juejin .cm-attribute,.cm-s-juejin .cm-link,.cm-s-juejin .cm-quote,.cm-s-juejin .cm-strong {
|
3186 |
+
color: #fd7741;
|
3187 |
}
|
3188 |
|
3189 |
+
.cm-s-juejin .cm-builtin,.cm-s-juejin .cm-keyword,.cm-s-juejin .cm-url {
|
3190 |
+
color: #bb51b8;
|
3191 |
}
|
3192 |
|
3193 |
+
.cm-s-juejin .cm-hr {
|
3194 |
+
color: #909090;
|
3195 |
}
|
3196 |
|
3197 |
+
.cm-s-juejin .cm-tag {
|
3198 |
+
color: #107000;
|
3199 |
}
|
3200 |
|
3201 |
+
.cm-s-juejin .cm-variable-2 {
|
3202 |
+
color: #0050a0;
|
3203 |
}
|
3204 |
|
3205 |
+
.cm-s-liquibyte.CodeMirror {
|
3206 |
+
background-color: #000;
|
3207 |
color: #fff;
|
3208 |
+
line-height: 1.2em;
|
3209 |
+
font-size: 1em;
|
3210 |
}
|
3211 |
|
3212 |
+
.cm-s-liquibyte .CodeMirror-focused .cm-matchhighlight {
|
3213 |
+
text-decoration: underline;
|
3214 |
+
-webkit-text-decoration-color: #0f0;
|
3215 |
+
text-decoration-color: #0f0;
|
3216 |
+
-webkit-text-decoration-style: wavy;
|
3217 |
+
text-decoration-style: wavy;
|
3218 |
}
|
3219 |
|
3220 |
+
.cm-s-liquibyte .cm-trailingspace {
|
3221 |
+
text-decoration: line-through;
|
3222 |
+
-webkit-text-decoration-color: red;
|
3223 |
+
text-decoration-color: red;
|
3224 |
+
-webkit-text-decoration-style: dotted;
|
3225 |
+
text-decoration-style: dotted;
|
3226 |
}
|
3227 |
|
3228 |
+
.cm-s-liquibyte .cm-tab {
|
3229 |
+
text-decoration: line-through;
|
3230 |
+
-webkit-text-decoration-color: #404040;
|
3231 |
+
text-decoration-color: #404040;
|
3232 |
+
-webkit-text-decoration-style: dotted;
|
3233 |
+
text-decoration-style: dotted;
|
3234 |
}
|
3235 |
|
3236 |
+
.cm-s-liquibyte .CodeMirror-gutters {
|
3237 |
+
background-color: #262626;
|
3238 |
+
border-right: 1px solid #505050;
|
3239 |
+
padding-right: .8em;
|
3240 |
}
|
3241 |
|
3242 |
+
.cm-s-liquibyte .CodeMirror-gutter-elt div {
|
3243 |
+
font-size: 1.2em;
|
3244 |
}
|
3245 |
|
3246 |
+
.cm-s-liquibyte .CodeMirror-linenumber {
|
3247 |
+
color: #606060;
|
3248 |
+
padding-left: 0;
|
3249 |
}
|
3250 |
|
3251 |
+
.cm-s-liquibyte .CodeMirror-cursor {
|
3252 |
+
border-left: 1px solid #eee;
|
|
|
|
|
3253 |
}
|
3254 |
|
3255 |
+
.cm-s-liquibyte span.cm-comment {
|
3256 |
+
color: green;
|
|
|
3257 |
}
|
3258 |
|
3259 |
+
.cm-s-liquibyte span.cm-def {
|
3260 |
+
color: #ffaf40;
|
3261 |
+
font-weight: 700;
|
3262 |
}
|
3263 |
|
3264 |
+
.cm-s-liquibyte span.cm-keyword {
|
3265 |
+
color: #c080ff;
|
3266 |
+
font-weight: 700;
|
3267 |
}
|
3268 |
|
3269 |
+
.cm-s-liquibyte span.cm-builtin {
|
3270 |
+
color: #ffaf40;
|
3271 |
+
font-weight: 700;
|
3272 |
}
|
3273 |
|
3274 |
+
.cm-s-liquibyte span.cm-variable {
|
3275 |
+
color: #5967ff;
|
3276 |
+
font-weight: 700;
|
3277 |
}
|
3278 |
|
3279 |
+
.cm-s-liquibyte span.cm-string {
|
3280 |
+
color: #ff8000;
|
3281 |
}
|
3282 |
|
3283 |
+
.cm-s-liquibyte span.cm-number {
|
3284 |
+
color: #0f0;
|
3285 |
+
font-weight: 700;
|
3286 |
}
|
3287 |
|
3288 |
+
.cm-s-liquibyte span.cm-atom {
|
3289 |
+
color: #bf3030;
|
3290 |
+
font-weight: 700;
|
3291 |
}
|
3292 |
|
3293 |
+
.cm-s-liquibyte span.cm-variable-2 {
|
3294 |
+
color: #007f7f;
|
3295 |
+
font-weight: 700;
|
3296 |
}
|
3297 |
|
3298 |
+
.cm-s-liquibyte span.cm-type,.cm-s-liquibyte span.cm-variable-3 {
|
3299 |
+
color: #c080ff;
|
3300 |
+
font-weight: 700;
|
3301 |
}
|
3302 |
|
3303 |
+
.cm-s-liquibyte span.cm-property {
|
3304 |
+
color: #999;
|
3305 |
+
font-weight: 700;
|
3306 |
}
|
3307 |
|
3308 |
+
.cm-s-liquibyte span.cm-operator {
|
3309 |
+
color: #fff;
|
3310 |
}
|
3311 |
|
3312 |
+
.cm-s-liquibyte span.cm-meta {
|
3313 |
+
color: #0f0;
|
3314 |
}
|
3315 |
|
3316 |
+
.cm-s-liquibyte span.cm-qualifier {
|
3317 |
+
color: #fff700;
|
3318 |
+
font-weight: 700;
|
3319 |
}
|
3320 |
|
3321 |
+
.cm-s-liquibyte span.cm-bracket {
|
3322 |
+
color: #cc7;
|
|
|
|
|
3323 |
}
|
3324 |
|
3325 |
+
.cm-s-liquibyte span.cm-tag {
|
3326 |
+
color: #ff0;
|
3327 |
+
font-weight: 700;
|
3328 |
}
|
3329 |
|
3330 |
+
.cm-s-liquibyte span.cm-attribute {
|
3331 |
+
color: #c080ff;
|
3332 |
+
font-weight: 700;
|
3333 |
}
|
3334 |
|
3335 |
+
.cm-s-liquibyte span.cm-error {
|
3336 |
+
color: red;
|
3337 |
}
|
3338 |
|
3339 |
+
.cm-s-liquibyte div.CodeMirror-selected {
|
3340 |
+
background-color: rgba(255,0,0,.25);
|
|
|
3341 |
}
|
3342 |
|
3343 |
+
.cm-s-liquibyte span.cm-compilation {
|
3344 |
+
background-color: hsla(0,0%,100%,.12);
|
3345 |
}
|
3346 |
|
3347 |
+
.cm-s-liquibyte .CodeMirror-activeline-background {
|
3348 |
+
background-color: rgba(0,255,0,.15);
|
3349 |
}
|
3350 |
|
3351 |
+
.cm-s-liquibyte .CodeMirror span.CodeMirror-matchingbracket {
|
3352 |
+
color: #0f0;
|
3353 |
+
font-weight: 700;
|
3354 |
}
|
3355 |
|
3356 |
+
.cm-s-liquibyte .CodeMirror span.CodeMirror-nonmatchingbracket {
|
3357 |
+
color: red;
|
3358 |
+
font-weight: 700;
|
3359 |
}
|
3360 |
|
3361 |
+
.CodeMirror-matchingtag {
|
3362 |
+
background-color: rgba(150,255,0,.3);
|
3363 |
}
|
3364 |
|
3365 |
+
.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div:hover,.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div:hover {
|
3366 |
+
background-color: rgba(80,80,80,.7);
|
3367 |
}
|
3368 |
|
3369 |
+
.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div,.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div {
|
3370 |
+
background-color: rgba(80,80,80,.3);
|
3371 |
+
border: 1px solid #404040;
|
3372 |
+
border-radius: 5px;
|
3373 |
}
|
3374 |
|
3375 |
+
.cm-s-liquibyte div.CodeMirror-simplescroll-vertical div {
|
3376 |
+
border-top: 1px solid #404040;
|
3377 |
+
border-bottom: 1px solid #404040;
|
3378 |
}
|
3379 |
|
3380 |
+
.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal div {
|
3381 |
+
border-left: 1px solid #404040;
|
3382 |
+
border-right: 1px solid #404040;
|
3383 |
}
|
3384 |
|
3385 |
+
.cm-s-liquibyte div.CodeMirror-simplescroll-vertical {
|
3386 |
+
background-color: #262626;
|
3387 |
}
|
3388 |
|
3389 |
+
.cm-s-liquibyte div.CodeMirror-simplescroll-horizontal {
|
3390 |
+
background-color: #262626;
|
3391 |
+
border-top: 1px solid #404040;
|
3392 |
}
|
3393 |
|
3394 |
+
.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,div.CodeMirror-overlayscroll-vertical div {
|
3395 |
+
background-color: #404040;
|
3396 |
+
border-radius: 5px;
|
3397 |
}
|
3398 |
|
3399 |
+
.cm-s-liquibyte div.CodeMirror-overlayscroll-horizontal div,.cm-s-liquibyte div.CodeMirror-overlayscroll-vertical div {
|
3400 |
+
border: 1px solid #404040;
|
3401 |
}
|
3402 |
|
3403 |
+
.cm-s-lucario.CodeMirror,.cm-s-lucario .CodeMirror-gutters {
|
3404 |
+
background-color: #2b3e50!important;
|
3405 |
+
color: #f8f8f2!important;
|
3406 |
+
border: none;
|
3407 |
}
|
3408 |
|
3409 |
+
.cm-s-lucario .CodeMirror-gutters {
|
3410 |
+
color: #2b3e50;
|
|
|
3411 |
}
|
3412 |
|
3413 |
+
.cm-s-lucario .CodeMirror-cursor {
|
3414 |
+
border-left: thin solid #e6c845;
|
3415 |
}
|
3416 |
|
3417 |
+
.cm-s-lucario .CodeMirror-linenumber {
|
3418 |
+
color: #f8f8f2;
|
3419 |
}
|
3420 |
|
3421 |
+
.cm-s-lucario .CodeMirror-selected {
|
3422 |
+
background: #243443;
|
|
|
|
|
3423 |
}
|
3424 |
|
3425 |
+
.cm-s-lucario .CodeMirror-line::selection,.cm-s-lucario .CodeMirror-line>span::selection,.cm-s-lucario .CodeMirror-line>span>span::selection {
|
3426 |
+
background: #243443;
|
3427 |
}
|
3428 |
|
3429 |
+
.cm-s-lucario .CodeMirror-line::-moz-selection,.cm-s-lucario .CodeMirror-line>span::-moz-selection,.cm-s-lucario .CodeMirror-line>span>span::-moz-selection {
|
3430 |
+
background: #243443;
|
3431 |
}
|
3432 |
|
3433 |
+
.cm-s-lucario span.cm-comment {
|
3434 |
+
color: #5c98cd;
|
3435 |
}
|
3436 |
|
3437 |
+
.cm-s-lucario span.cm-string,.cm-s-lucario span.cm-string-2 {
|
3438 |
+
color: #e6db74;
|
3439 |
}
|
3440 |
|
3441 |
+
.cm-s-lucario span.cm-number {
|
3442 |
+
color: #ca94ff;
|
3443 |
}
|
3444 |
|
3445 |
+
.cm-s-lucario span.cm-variable,.cm-s-lucario span.cm-variable-2 {
|
3446 |
+
color: #f8f8f2;
|
3447 |
}
|
3448 |
|
3449 |
+
.cm-s-lucario span.cm-def {
|
3450 |
+
color: #72c05d;
|
|
|
3451 |
}
|
3452 |
|
3453 |
+
.cm-s-lucario span.cm-operator {
|
3454 |
+
color: #66d9ef;
|
3455 |
}
|
3456 |
|
3457 |
+
.cm-s-lucario span.cm-keyword {
|
3458 |
+
color: #ff6541;
|
3459 |
}
|
3460 |
|
3461 |
+
.cm-s-lucario span.cm-atom {
|
3462 |
+
color: #bd93f9;
|
3463 |
}
|
3464 |
|
3465 |
+
.cm-s-lucario span.cm-meta {
|
3466 |
+
color: #f8f8f2;
|
3467 |
}
|
3468 |
|
3469 |
+
.cm-s-lucario span.cm-tag {
|
3470 |
+
color: #ff6541;
|
3471 |
}
|
3472 |
|
3473 |
+
.cm-s-lucario span.cm-attribute {
|
3474 |
+
color: #66d9ef;
|
3475 |
}
|
3476 |
|
3477 |
+
.cm-s-lucario span.cm-qualifier {
|
3478 |
+
color: #72c05d;
|
3479 |
}
|
3480 |
|
3481 |
+
.cm-s-lucario span.cm-property {
|
3482 |
+
color: #f8f8f2;
|
3483 |
}
|
3484 |
|
3485 |
+
.cm-s-lucario span.cm-builtin {
|
3486 |
+
color: #72c05d;
|
3487 |
}
|
3488 |
|
3489 |
+
.cm-s-lucario span.cm-type,.cm-s-lucario span.cm-variable-3 {
|
3490 |
+
color: #ffb86c;
|
3491 |
}
|
3492 |
|
3493 |
+
.cm-s-lucario .CodeMirror-activeline-background {
|
3494 |
+
background: #243443;
|
3495 |
}
|
3496 |
|
3497 |
+
.cm-s-lucario .CodeMirror-matchingbracket {
|
3498 |
+
text-decoration: underline;
|
3499 |
+
color: #fff!important;
|
3500 |
}
|
3501 |
|
3502 |
+
.cm-s-material-darker.CodeMirror {
|
3503 |
+
background-color: #212121;
|
3504 |
+
color: #eff;
|
3505 |
}
|
3506 |
|
3507 |
+
.cm-s-material-darker .CodeMirror-gutters {
|
3508 |
+
background: #212121;
|
3509 |
+
color: #545454;
|
3510 |
+
border: none;
|
3511 |
}
|
3512 |
|
3513 |
+
.cm-s-material-darker .CodeMirror-guttermarker,.cm-s-material-darker .CodeMirror-guttermarker-subtle,.cm-s-material-darker .CodeMirror-linenumber {
|
3514 |
+
color: #545454;
|
3515 |
}
|
3516 |
|
3517 |
+
.cm-s-material-darker .CodeMirror-cursor {
|
3518 |
+
border-left: 1px solid #fc0;
|
3519 |
}
|
3520 |
|
3521 |
+
.cm-s-material-darker.CodeMirror-focused div.CodeMirror-selected,.cm-s-material-darker div.CodeMirror-selected {
|
3522 |
+
background: rgba(97,97,97,.2);
|
3523 |
}
|
3524 |
|
3525 |
+
.cm-s-material-darker .CodeMirror-line::selection,.cm-s-material-darker .CodeMirror-line>span::selection,.cm-s-material-darker .CodeMirror-line>span>span::selection {
|
3526 |
+
background: rgba(128,203,196,.2);
|
3527 |
}
|
3528 |
|
3529 |
+
.cm-s-material-darker .CodeMirror-line::-moz-selection,.cm-s-material-darker .CodeMirror-line>span::-moz-selection,.cm-s-material-darker .CodeMirror-line>span>span::-moz-selection {
|
3530 |
+
background: rgba(128,203,196,.2);
|
3531 |
}
|
3532 |
|
3533 |
+
.cm-s-material-darker .CodeMirror-activeline-background {
|
3534 |
+
background: rgba(0,0,0,.5);
|
3535 |
}
|
3536 |
|
3537 |
+
.cm-s-material-darker .cm-keyword {
|
3538 |
+
color: #c792ea;
|
3539 |
}
|
3540 |
|
3541 |
+
.cm-s-material-darker .cm-operator {
|
3542 |
+
color: #89ddff;
|
3543 |
}
|
3544 |
|
3545 |
+
.cm-s-material-darker .cm-variable-2 {
|
3546 |
+
color: #eff;
|
3547 |
}
|
3548 |
|
3549 |
+
.cm-s-material-darker .cm-type,.cm-s-material-darker .cm-variable-3 {
|
3550 |
+
color: #f07178;
|
3551 |
}
|
3552 |
|
3553 |
+
.cm-s-material-darker .cm-builtin {
|
3554 |
+
color: #ffcb6b;
|
3555 |
}
|
3556 |
|
3557 |
+
.cm-s-material-darker .cm-atom {
|
3558 |
+
color: #f78c6c;
|
|
|
3559 |
}
|
3560 |
|
3561 |
+
.cm-s-material-darker .cm-number {
|
3562 |
+
color: #ff5370;
|
|
|
|
|
|
|
3563 |
}
|
3564 |
|
3565 |
+
.cm-s-material-darker .cm-def {
|
3566 |
+
color: #82aaff;
|
|
|
|
|
|
|
|
|
3567 |
}
|
3568 |
|
3569 |
+
.cm-s-material-darker .cm-string {
|
3570 |
+
color: #c3e88d;
|
|
|
|
|
|
|
|
|
3571 |
}
|
3572 |
|
3573 |
+
.cm-s-material-darker .cm-string-2 {
|
3574 |
+
color: #f07178;
|
|
|
|
|
|
|
|
|
3575 |
}
|
3576 |
|
3577 |
+
.cm-s-material-darker .cm-comment {
|
3578 |
+
color: #545454;
|
|
|
|
|
3579 |
}
|
3580 |
|
3581 |
+
.cm-s-material-darker .cm-variable {
|
3582 |
+
color: #f07178;
|
3583 |
}
|
3584 |
|
3585 |
+
.cm-s-material-darker .cm-tag {
|
3586 |
+
color: #ff5370;
|
|
|
3587 |
}
|
3588 |
|
3589 |
+
.cm-s-material-darker .cm-meta {
|
3590 |
+
color: #ffcb6b;
|
3591 |
}
|
3592 |
|
3593 |
+
.cm-s-material-darker .cm-attribute,.cm-s-material-darker .cm-property {
|
3594 |
+
color: #c792ea;
|
3595 |
}
|
3596 |
|
3597 |
+
.cm-s-material-darker .cm-qualifier,.cm-s-material-darker .cm-type,.cm-s-material-darker .cm-variable-3 {
|
3598 |
+
color: #decb6b;
|
|
|
3599 |
}
|
3600 |
|
3601 |
+
.cm-s-material-darker .cm-error {
|
3602 |
+
color: #fff;
|
3603 |
+
background-color: #ff5370;
|
3604 |
}
|
3605 |
|
3606 |
+
.cm-s-material-darker .CodeMirror-matchingbracket {
|
3607 |
+
text-decoration: underline;
|
3608 |
+
color: #fff!important;
|
3609 |
}
|
3610 |
|
3611 |
+
.cm-s-material-ocean.CodeMirror {
|
3612 |
+
background-color: #0f111a;
|
3613 |
+
color: #8f93a2;
|
3614 |
}
|
3615 |
|
3616 |
+
.cm-s-material-ocean .CodeMirror-gutters {
|
3617 |
+
background: #0f111a;
|
3618 |
+
color: #464b5d;
|
3619 |
+
border: none;
|
3620 |
}
|
3621 |
|
3622 |
+
.cm-s-material-ocean .CodeMirror-guttermarker,.cm-s-material-ocean .CodeMirror-guttermarker-subtle,.cm-s-material-ocean .CodeMirror-linenumber {
|
3623 |
+
color: #464b5d;
|
|
|
3624 |
}
|
3625 |
|
3626 |
+
.cm-s-material-ocean .CodeMirror-cursor {
|
3627 |
+
border-left: 1px solid #fc0;
|
|
|
3628 |
}
|
3629 |
|
3630 |
+
.cm-s-material-ocean .cm-animate-fat-cursor,.cm-s-material-ocean.cm-fat-cursor .CodeMirror-cursor {
|
3631 |
+
background-color: #a2a8a175!important;
|
|
|
3632 |
}
|
3633 |
|
3634 |
+
.cm-s-material-ocean.CodeMirror-focused div.CodeMirror-selected,.cm-s-material-ocean div.CodeMirror-selected {
|
3635 |
+
background: rgba(113,124,180,.2);
|
|
|
3636 |
}
|
3637 |
|
3638 |
+
.cm-s-material-ocean .CodeMirror-line::selection,.cm-s-material-ocean .CodeMirror-line>span::selection,.cm-s-material-ocean .CodeMirror-line>span>span::selection {
|
3639 |
+
background: rgba(128,203,196,.2);
|
|
|
3640 |
}
|
3641 |
|
3642 |
+
.cm-s-material-ocean .CodeMirror-line::-moz-selection,.cm-s-material-ocean .CodeMirror-line>span::-moz-selection,.cm-s-material-ocean .CodeMirror-line>span>span::-moz-selection {
|
3643 |
+
background: rgba(128,203,196,.2);
|
3644 |
}
|
3645 |
|
3646 |
+
.cm-s-material-ocean .CodeMirror-activeline-background {
|
3647 |
+
background: rgba(0,0,0,.5);
|
3648 |
}
|
3649 |
|
3650 |
+
.cm-s-material-ocean .cm-keyword {
|
3651 |
+
color: #c792ea;
|
|
|
3652 |
}
|
3653 |
|
3654 |
+
.cm-s-material-ocean .cm-operator {
|
3655 |
+
color: #89ddff;
|
3656 |
}
|
3657 |
|
3658 |
+
.cm-s-material-ocean .cm-variable-2 {
|
3659 |
+
color: #eff;
|
|
|
3660 |
}
|
3661 |
|
3662 |
+
.cm-s-material-ocean .cm-type,.cm-s-material-ocean .cm-variable-3 {
|
3663 |
+
color: #f07178;
|
|
|
3664 |
}
|
3665 |
|
3666 |
+
.cm-s-material-ocean .cm-builtin {
|
3667 |
+
color: #ffcb6b;
|
3668 |
}
|
3669 |
|
3670 |
+
.cm-s-material-ocean .cm-atom {
|
3671 |
+
color: #f78c6c;
|
3672 |
}
|
3673 |
|
3674 |
+
.cm-s-material-ocean .cm-number {
|
3675 |
+
color: #ff5370;
|
3676 |
}
|
3677 |
|
3678 |
+
.cm-s-material-ocean .cm-def {
|
3679 |
+
color: #82aaff;
|
3680 |
}
|
3681 |
|
3682 |
+
.cm-s-material-ocean .cm-string {
|
3683 |
+
color: #c3e88d;
|
|
|
3684 |
}
|
3685 |
|
3686 |
+
.cm-s-material-ocean .cm-string-2 {
|
3687 |
+
color: #f07178;
|
|
|
3688 |
}
|
3689 |
|
3690 |
+
.cm-s-material-ocean .cm-comment {
|
3691 |
+
color: #464b5d;
|
3692 |
}
|
3693 |
|
3694 |
+
.cm-s-material-ocean .cm-variable {
|
3695 |
+
color: #f07178;
|
3696 |
}
|
3697 |
|
3698 |
+
.cm-s-material-ocean .cm-tag {
|
3699 |
+
color: #ff5370;
|
|
|
|
|
3700 |
}
|
3701 |
|
3702 |
+
.cm-s-material-ocean .cm-meta {
|
3703 |
+
color: #ffcb6b;
|
|
|
3704 |
}
|
3705 |
|
3706 |
+
.cm-s-material-ocean .cm-attribute,.cm-s-material-ocean .cm-property {
|
3707 |
+
color: #c792ea;
|
|
|
3708 |
}
|
3709 |
|
3710 |
+
.cm-s-material-ocean .cm-qualifier,.cm-s-material-ocean .cm-type,.cm-s-material-ocean .cm-variable-3 {
|
3711 |
+
color: #decb6b;
|
3712 |
}
|
3713 |
|
3714 |
+
.cm-s-material-ocean .cm-error {
|
3715 |
+
color: #fff;
|
3716 |
+
background-color: #ff5370;
|
3717 |
}
|
3718 |
|
3719 |
+
.cm-s-material-ocean .CodeMirror-matchingbracket {
|
3720 |
+
text-decoration: underline;
|
3721 |
+
color: #fff!important;
|
3722 |
}
|
3723 |
|
3724 |
+
.cm-s-material-palenight.CodeMirror {
|
3725 |
+
background-color: #292d3e;
|
3726 |
+
color: #a6accd;
|
3727 |
}
|
3728 |
|
3729 |
+
.cm-s-material-palenight .CodeMirror-gutters {
|
3730 |
+
background: #292d3e;
|
3731 |
+
color: #676e95;
|
3732 |
border: none;
|
3733 |
}
|
3734 |
|
3735 |
+
.cm-s-material-palenight .CodeMirror-guttermarker,.cm-s-material-palenight .CodeMirror-guttermarker-subtle,.cm-s-material-palenight .CodeMirror-linenumber {
|
3736 |
+
color: #676e95;
|
3737 |
}
|
3738 |
|
3739 |
+
.cm-s-material-palenight .CodeMirror-cursor {
|
3740 |
+
border-left: 1px solid #fc0;
|
3741 |
}
|
3742 |
|
3743 |
+
.cm-s-material-palenight .cm-animate-fat-cursor,.cm-s-material-palenight.cm-fat-cursor .CodeMirror-cursor {
|
3744 |
+
background-color: #607c8b80!important;
|
3745 |
}
|
3746 |
|
3747 |
+
.cm-s-material-palenight.CodeMirror-focused div.CodeMirror-selected,.cm-s-material-palenight div.CodeMirror-selected {
|
3748 |
+
background: rgba(113,124,180,.2);
|
3749 |
}
|
3750 |
|
3751 |
+
.cm-s-material-palenight .CodeMirror-line::selection,.cm-s-material-palenight .CodeMirror-line>span::selection,.cm-s-material-palenight .CodeMirror-line>span>span::selection {
|
3752 |
+
background: rgba(128,203,196,.2);
|
3753 |
}
|
3754 |
|
3755 |
+
.cm-s-material-palenight .CodeMirror-line::-moz-selection,.cm-s-material-palenight .CodeMirror-line>span::-moz-selection,.cm-s-material-palenight .CodeMirror-line>span>span::-moz-selection {
|
3756 |
+
background: rgba(128,203,196,.2);
|
3757 |
}
|
3758 |
|
3759 |
+
.cm-s-material-palenight .CodeMirror-activeline-background {
|
3760 |
+
background: rgba(0,0,0,.5);
|
3761 |
}
|
3762 |
|
3763 |
+
.cm-s-material-palenight .cm-keyword {
|
3764 |
+
color: #c792ea;
|
3765 |
}
|
3766 |
|
3767 |
+
.cm-s-material-palenight .cm-operator {
|
3768 |
+
color: #89ddff;
|
3769 |
}
|
3770 |
|
3771 |
+
.cm-s-material-palenight .cm-variable-2 {
|
3772 |
+
color: #eff;
|
3773 |
}
|
3774 |
|
3775 |
+
.cm-s-material-palenight .cm-type,.cm-s-material-palenight .cm-variable-3 {
|
3776 |
+
color: #f07178;
|
3777 |
}
|
3778 |
|
3779 |
+
.cm-s-material-palenight .cm-builtin {
|
3780 |
+
color: #ffcb6b;
|
3781 |
}
|
3782 |
|
3783 |
+
.cm-s-material-palenight .cm-atom {
|
3784 |
+
color: #f78c6c;
|
3785 |
}
|
3786 |
|
3787 |
+
.cm-s-material-palenight .cm-number {
|
3788 |
+
color: #ff5370;
|
3789 |
}
|
3790 |
|
3791 |
+
.cm-s-material-palenight .cm-def {
|
3792 |
+
color: #82aaff;
|
3793 |
}
|
3794 |
|
3795 |
+
.cm-s-material-palenight .cm-string {
|
3796 |
+
color: #c3e88d;
|
3797 |
}
|
3798 |
|
3799 |
+
.cm-s-material-palenight .cm-string-2 {
|
3800 |
+
color: #f07178;
|
3801 |
}
|
3802 |
|
3803 |
+
.cm-s-material-palenight .cm-comment {
|
3804 |
+
color: #676e95;
|
3805 |
}
|
3806 |
|
3807 |
+
.cm-s-material-palenight .cm-variable {
|
3808 |
+
color: #f07178;
|
3809 |
}
|
3810 |
|
3811 |
+
.cm-s-material-palenight .cm-tag {
|
3812 |
+
color: #ff5370;
|
3813 |
}
|
3814 |
|
3815 |
+
.cm-s-material-palenight .cm-meta {
|
3816 |
+
color: #ffcb6b;
|
3817 |
}
|
3818 |
|
3819 |
+
.cm-s-material-palenight .cm-attribute,.cm-s-material-palenight .cm-property {
|
3820 |
+
color: #c792ea;
|
3821 |
}
|
3822 |
|
3823 |
+
.cm-s-material-palenight .cm-qualifier,.cm-s-material-palenight .cm-type,.cm-s-material-palenight .cm-variable-3 {
|
3824 |
+
color: #decb6b;
|
3825 |
+
}
|
3826 |
+
|
3827 |
+
.cm-s-material-palenight .cm-error {
|
3828 |
+
color: #fff;
|
3829 |
+
background-color: #ff5370;
|
3830 |
+
}
|
3831 |
+
|
3832 |
+
.cm-s-material-palenight .CodeMirror-matchingbracket {
|
3833 |
text-decoration: underline;
|
3834 |
color: #fff!important;
|
3835 |
}
|
3836 |
|
3837 |
.cm-s-material.CodeMirror {
|
3838 |
background-color: #263238;
|
3839 |
+
color: #eff;
|
3840 |
}
|
3841 |
|
3842 |
.cm-s-material .CodeMirror-gutters {
|
3843 |
background: #263238;
|
3844 |
+
color: #546e7a;
|
3845 |
border: none;
|
3846 |
}
|
3847 |
|
3848 |
.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber {
|
3849 |
+
color: #546e7a;
|
3850 |
}
|
3851 |
|
3852 |
.cm-s-material .CodeMirror-cursor {
|
3853 |
+
border-left: 1px solid #fc0;
|
3854 |
}
|
3855 |
|
3856 |
+
.cm-s-material .cm-animate-fat-cursor,.cm-s-material.cm-fat-cursor .CodeMirror-cursor {
|
3857 |
+
background-color: #5d6d5c80!important;
|
3858 |
}
|
3859 |
|
3860 |
+
.cm-s-material.CodeMirror-focused div.CodeMirror-selected,.cm-s-material div.CodeMirror-selected {
|
3861 |
+
background: rgba(128,203,196,.2);
|
3862 |
}
|
3863 |
|
3864 |
.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection {
|
3865 |
+
background: rgba(128,203,196,.2);
|
3866 |
}
|
3867 |
|
3868 |
.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection {
|
3869 |
+
background: rgba(128,203,196,.2);
|
3870 |
}
|
3871 |
|
3872 |
.cm-s-material .CodeMirror-activeline-background {
|
3873 |
+
background: rgba(0,0,0,.5);
|
3874 |
}
|
3875 |
|
3876 |
.cm-s-material .cm-keyword {
|
3878 |
}
|
3879 |
|
3880 |
.cm-s-material .cm-operator {
|
3881 |
+
color: #89ddff;
|
3882 |
}
|
3883 |
|
3884 |
.cm-s-material .cm-variable-2 {
|
3885 |
+
color: #eff;
|
3886 |
}
|
3887 |
|
3888 |
.cm-s-material .cm-type,.cm-s-material .cm-variable-3 {
|
3889 |
+
color: #f07178;
|
3890 |
}
|
3891 |
|
3892 |
.cm-s-material .cm-builtin {
|
3893 |
+
color: #ffcb6b;
|
3894 |
+
}
|
3895 |
+
|
3896 |
+
.cm-s-material .cm-atom {
|
3897 |
+
color: #f78c6c;
|
3898 |
}
|
3899 |
|
3900 |
+
.cm-s-material .cm-number {
|
3901 |
+
color: #ff5370;
|
3902 |
}
|
3903 |
|
3904 |
.cm-s-material .cm-def {
|
3905 |
+
color: #82aaff;
|
3906 |
}
|
3907 |
|
3908 |
.cm-s-material .cm-string {
|
3910 |
}
|
3911 |
|
3912 |
.cm-s-material .cm-string-2 {
|
3913 |
+
color: #f07178;
|
3914 |
}
|
3915 |
|
3916 |
.cm-s-material .cm-comment {
|
3918 |
}
|
3919 |
|
3920 |
.cm-s-material .cm-variable {
|
3921 |
+
color: #f07178;
|
3922 |
}
|
3923 |
|
3924 |
+
.cm-s-material .cm-tag {
|
3925 |
+
color: #ff5370;
|
3926 |
}
|
3927 |
|
3928 |
+
.cm-s-material .cm-meta {
|
3929 |
color: #ffcb6b;
|
3930 |
}
|
3931 |
|
3932 |
+
.cm-s-material .cm-attribute,.cm-s-material .cm-property {
|
3933 |
+
color: #c792ea;
|
3934 |
}
|
3935 |
|
3936 |
.cm-s-material .cm-qualifier,.cm-s-material .cm-type,.cm-s-material .cm-variable-3 {
|
3937 |
color: #decb6b;
|
3938 |
}
|
3939 |
|
|
|
|
|
|
|
|
|
3940 |
.cm-s-material .cm-error {
|
3941 |
color: #fff;
|
3942 |
+
background-color: #ff5370;
|
3943 |
}
|
3944 |
|
3945 |
.cm-s-material .CodeMirror-matchingbracket {
|
4388 |
color: #fff!important;
|
4389 |
}
|
4390 |
|
4391 |
+
.cm-s-moxer.CodeMirror {
|
4392 |
+
background-color: #090a0f;
|
4393 |
+
color: #8e95b4;
|
4394 |
+
line-height: 1.8;
|
4395 |
}
|
4396 |
|
4397 |
+
.cm-s-moxer .CodeMirror-gutters {
|
4398 |
+
background: #090a0f;
|
4399 |
+
color: #35394b;
|
4400 |
+
border: none;
|
4401 |
}
|
4402 |
|
4403 |
+
.cm-s-moxer .CodeMirror-guttermarker,.cm-s-moxer .CodeMirror-guttermarker-subtle,.cm-s-moxer .CodeMirror-linenumber {
|
4404 |
+
color: #35394b;
|
4405 |
}
|
4406 |
|
4407 |
+
.cm-s-moxer .CodeMirror-cursor {
|
4408 |
+
border-left: 1px solid #fc0;
|
|
|
|
|
4409 |
}
|
4410 |
|
4411 |
+
.cm-s-moxer div.CodeMirror-selected {
|
4412 |
+
background: rgba(128,203,196,.2);
|
|
|
|
|
4413 |
}
|
4414 |
|
4415 |
+
.cm-s-moxer.CodeMirror-focused div.CodeMirror-selected {
|
4416 |
+
background: #212431;
|
4417 |
}
|
4418 |
|
4419 |
+
.cm-s-moxer .CodeMirror-line::selection,.cm-s-moxer .CodeMirror-line>span::selection,.cm-s-moxer .CodeMirror-line>span>span::selection {
|
4420 |
+
background: #212431;
|
4421 |
}
|
4422 |
|
4423 |
+
.cm-s-moxer .CodeMirror-line::-moz-selection,.cm-s-moxer .CodeMirror-line>span::-moz-selection,.cm-s-moxer .CodeMirror-line>span>span::-moz-selection {
|
4424 |
+
background: #212431;
|
4425 |
}
|
4426 |
|
4427 |
+
.cm-s-moxer .CodeMirror-activeline-background,.cm-s-moxer .CodeMirror-activeline-gutter .CodeMirror-linenumber {
|
4428 |
+
background: rgba(33,36,49,.5);
|
4429 |
}
|
4430 |
|
4431 |
+
.cm-s-moxer .cm-keyword,.cm-s-moxer .cm-operator {
|
4432 |
+
color: #d46c6c;
|
4433 |
}
|
4434 |
|
4435 |
+
.cm-s-moxer .cm-variable-2 {
|
4436 |
+
color: #81c5da;
|
|
|
4437 |
}
|
4438 |
|
4439 |
+
.cm-s-moxer .cm-type,.cm-s-moxer .cm-variable-3 {
|
4440 |
+
color: #f07178;
|
|
|
|
|
4441 |
}
|
4442 |
|
4443 |
+
.cm-s-moxer .cm-builtin {
|
4444 |
+
color: #ffcb6b;
|
4445 |
}
|
4446 |
|
4447 |
+
.cm-s-moxer .cm-atom {
|
4448 |
+
color: #a99be2;
|
4449 |
+
}
|
4450 |
+
|
4451 |
+
.cm-s-moxer .cm-number {
|
4452 |
+
color: #7ca4c0;
|
4453 |
+
}
|
4454 |
+
|
4455 |
+
.cm-s-moxer .cm-def {
|
4456 |
+
color: #f5dfa5;
|
4457 |
+
}
|
4458 |
+
|
4459 |
+
.cm-s-moxer .CodeMirror-line .cm-def~.cm-def {
|
4460 |
+
color: #81c5da;
|
4461 |
+
}
|
4462 |
+
|
4463 |
+
.cm-s-moxer .cm-string {
|
4464 |
+
color: #b2e4ae;
|
4465 |
+
}
|
4466 |
+
|
4467 |
+
.cm-s-moxer .cm-string-2 {
|
4468 |
+
color: #f07178;
|
4469 |
+
}
|
4470 |
+
|
4471 |
+
.cm-s-moxer .cm-comment {
|
4472 |
+
color: #3f445a;
|
4473 |
+
}
|
4474 |
+
|
4475 |
+
.cm-s-moxer .cm-variable {
|
4476 |
+
color: #8e95b4;
|
4477 |
+
}
|
4478 |
+
|
4479 |
+
.cm-s-moxer .cm-tag {
|
4480 |
+
color: #ff5370;
|
4481 |
+
}
|
4482 |
+
|
4483 |
+
.cm-s-moxer .cm-meta {
|
4484 |
+
color: #ffcb6b;
|
4485 |
+
}
|
4486 |
+
|
4487 |
+
.cm-s-moxer .cm-attribute {
|
4488 |
+
color: #c792ea;
|
4489 |
+
}
|
4490 |
+
|
4491 |
+
.cm-s-moxer .cm-property {
|
4492 |
+
color: #81c5da;
|
4493 |
+
}
|
4494 |
+
|
4495 |
+
.cm-s-moxer .cm-qualifier,.cm-s-moxer .cm-type,.cm-s-moxer .cm-variable-3 {
|
4496 |
+
color: #decb6b;
|
4497 |
+
}
|
4498 |
+
|
4499 |
+
.cm-s-moxer .cm-error {
|
4500 |
+
color: #fff;
|
4501 |
+
background-color: #ff5370;
|
4502 |
+
}
|
4503 |
+
|
4504 |
+
.cm-s-moxer .CodeMirror-matchingbracket {
|
4505 |
+
text-decoration: underline;
|
4506 |
+
color: #fff!important;
|
4507 |
+
}
|
4508 |
+
|
4509 |
+
.cm-s-neat span.cm-comment {
|
4510 |
+
color: #a86;
|
4511 |
}
|
4512 |
|
4513 |
+
.cm-s-neat span.cm-keyword {
|
4514 |
+
line-height: 1em;
|
4515 |
+
font-weight: 700;
|
4516 |
+
color: blue;
|
4517 |
}
|
4518 |
|
4519 |
+
.cm-s-neat span.cm-string {
|
4520 |
+
color: #a22;
|
4521 |
}
|
4522 |
|
4523 |
+
.cm-s-neat span.cm-builtin {
|
4524 |
+
line-height: 1em;
|
4525 |
+
font-weight: 700;
|
4526 |
+
color: #077;
|
4527 |
}
|
4528 |
|
4529 |
+
.cm-s-neat span.cm-special {
|
4530 |
+
line-height: 1em;
|
4531 |
+
font-weight: 700;
|
4532 |
+
color: #0aa;
|
4533 |
}
|
4534 |
|
4535 |
+
.cm-s-neat span.cm-variable {
|
4536 |
+
color: #000;
|
4537 |
}
|
4538 |
|
4539 |
+
.cm-s-neat span.cm-atom,.cm-s-neat span.cm-number {
|
4540 |
+
color: #3a3;
|
|
|
|
|
4541 |
}
|
4542 |
|
4543 |
+
.cm-s-neat span.cm-meta {
|
4544 |
+
color: #555;
|
|
|
4545 |
}
|
4546 |
|
4547 |
+
.cm-s-neat span.cm-link {
|
4548 |
+
color: #3a3;
|
4549 |
}
|
4550 |
|
4551 |
+
.cm-s-neat .CodeMirror-activeline-background {
|
4552 |
+
background: #e8f2ff;
|
4553 |
}
|
4554 |
|
4555 |
+
.cm-s-neat .CodeMirror-matchingbracket {
|
4556 |
+
outline: 1px solid grey;
|
4557 |
+
color: #000!important;
|
|
|
|
|
4558 |
}
|
4559 |
|
4560 |
.cm-s-night.CodeMirror {
|
4652 |
color: #fff!important;
|
4653 |
}
|
4654 |
|
4655 |
+
.cm-s-neo.CodeMirror {
|
4656 |
+
background-color: #fff;
|
4657 |
+
color: #2e383c;
|
4658 |
+
line-height: 1.4375;
|
4659 |
+
}
|
4660 |
+
|
4661 |
+
.cm-s-neo .cm-comment {
|
4662 |
+
color: #75787b;
|
4663 |
+
}
|
4664 |
+
|
4665 |
+
.cm-s-neo .cm-keyword,.cm-s-neo .cm-property {
|
4666 |
+
color: #1d75b3;
|
4667 |
+
}
|
4668 |
+
|
4669 |
+
.cm-s-neo .cm-atom,.cm-s-neo .cm-number {
|
4670 |
+
color: #75438a;
|
4671 |
+
}
|
4672 |
+
|
4673 |
+
.cm-s-neo .cm-node,.cm-s-neo .cm-tag {
|
4674 |
+
color: #9c3328;
|
4675 |
+
}
|
4676 |
+
|
4677 |
+
.cm-s-neo .cm-string {
|
4678 |
+
color: #b35e14;
|
4679 |
+
}
|
4680 |
+
|
4681 |
+
.cm-s-neo .cm-qualifier,.cm-s-neo .cm-variable {
|
4682 |
+
color: #047d65;
|
4683 |
+
}
|
4684 |
+
|
4685 |
+
.cm-s-neo pre {
|
4686 |
+
padding: 0;
|
4687 |
+
}
|
4688 |
+
|
4689 |
+
.cm-s-neo .CodeMirror-gutters {
|
4690 |
+
border: none;
|
4691 |
+
border-right: 10px solid transparent;
|
4692 |
+
background-color: transparent;
|
4693 |
+
}
|
4694 |
+
|
4695 |
+
.cm-s-neo .CodeMirror-linenumber {
|
4696 |
+
padding: 0;
|
4697 |
+
color: #e0e2e5;
|
4698 |
+
}
|
4699 |
+
|
4700 |
+
.cm-s-neo .CodeMirror-guttermarker {
|
4701 |
+
color: #1d75b3;
|
4702 |
+
}
|
4703 |
+
|
4704 |
+
.cm-s-neo .CodeMirror-guttermarker-subtle {
|
4705 |
+
color: #e0e2e5;
|
4706 |
+
}
|
4707 |
+
|
4708 |
+
.cm-s-neo .CodeMirror-cursor {
|
4709 |
+
width: auto;
|
4710 |
+
border: 0;
|
4711 |
+
background: hsla(223,4%,62%,.37);
|
4712 |
+
z-index: 1;
|
4713 |
+
}
|
4714 |
+
|
4715 |
.cm-s-nord.CodeMirror {
|
4716 |
background: #2e3440;
|
4717 |
color: #d8dee9;
|
4846 |
border-left: 1px solid #f8f8f0;
|
4847 |
}
|
4848 |
|
4849 |
+
.cm-s-oceanic-next .cm-animate-fat-cursor,.cm-s-oceanic-next.cm-fat-cursor .CodeMirror-cursor {
|
4850 |
+
background-color: #a2a8a175!important;
|
4851 |
+
}
|
4852 |
+
|
4853 |
.cm-s-oceanic-next span.cm-comment {
|
4854 |
color: #65737e;
|
4855 |
}
|
5877 |
background: #eee8d5;
|
5878 |
}
|
5879 |
|
|
|
|
|
|
|
|
|
5880 |
.cm-s-light .CodeMirror-line>span::selection,.cm-s-light .CodeMirror-line>span>span::selection,.cm-s-solarized.cm-s-light .CodeMirror-line::selection {
|
5881 |
background: #eee8d5;
|
5882 |
}
|
5883 |
|
5884 |
+
.cm-s-light .CodeMirror-line>span::-moz-selection,.cm-s-light .CodeMirror-line>span>span::-moz-selection,.cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection {
|
5885 |
background: #eee8d5;
|
5886 |
}
|
5887 |
|
6788 |
color: #fff!important;
|
6789 |
}
|
6790 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6791 |
.cm-s-yeti.CodeMirror {
|
6792 |
background-color: #eceae8!important;
|
6793 |
color: #d1c9c0!important;
|
6889 |
background: rgba(252,69,133,.478);
|
6890 |
}
|
6891 |
|
6892 |
+
.cm-s-yonce .CodeMirror-line::-moz-selection,.cm-s-yonce .CodeMirror-line>span::-moz-selection,.cm-s-yonce .CodeMirror-line>span>span::-moz-selection {
|
6893 |
background: rgba(252,67,132,.47);
|
6894 |
}
|
6895 |
|
6924 |
}
|
6925 |
|
6926 |
.cm-s-yonce .cm-searching {
|
6927 |
+
background: rgba(243,155,53,.3)!important;
|
6928 |
outline: 1px solid #f39b35;
|
6929 |
}
|
6930 |
|
6931 |
.cm-s-yonce .cm-searching.CodeMirror-selectedtext {
|
6932 |
+
background: rgba(243,155,53,.7)!important;
|
6933 |
color: #fff;
|
6934 |
}
|
6935 |
|
6998 |
color: #d4d4d4;
|
6999 |
}
|
7000 |
|
7001 |
+
.cm-s-yonce .cm-string {
|
7002 |
+
color: #e6db74;
|
7003 |
+
}
|
7004 |
+
|
7005 |
+
.cm-s-yonce .cm-string-2 {
|
7006 |
+
color: #f39b35;
|
7007 |
+
}
|
7008 |
+
|
7009 |
+
.cm-s-yonce .cm-meta {
|
7010 |
+
color: #d4d4d4;
|
7011 |
+
background: inherit;
|
7012 |
+
}
|
7013 |
+
|
7014 |
+
.cm-s-yonce .cm-builtin {
|
7015 |
+
color: #fc4384;
|
7016 |
+
}
|
7017 |
+
|
7018 |
+
.cm-s-yonce .cm-header {
|
7019 |
+
color: #da7dae;
|
7020 |
+
}
|
7021 |
+
|
7022 |
+
.cm-s-yonce .cm-hr {
|
7023 |
+
color: #98e342;
|
7024 |
+
}
|
7025 |
+
|
7026 |
+
.cm-s-yonce .cm-link {
|
7027 |
+
color: #696d70;
|
7028 |
+
font-style: italic;
|
7029 |
+
text-decoration: none;
|
7030 |
+
}
|
7031 |
+
|
7032 |
+
.cm-s-yonce .cm-error {
|
7033 |
+
border-bottom: 1px solid #c42412;
|
7034 |
+
}
|
7035 |
+
|
7036 |
+
.cm-s-yonce .CodeMirror-activeline-background {
|
7037 |
+
background: #272727;
|
7038 |
+
}
|
7039 |
+
|
7040 |
+
.cm-s-yonce .CodeMirror-matchingbracket {
|
7041 |
+
outline: 1px solid grey;
|
7042 |
+
color: #d4d4d4!important;
|
7043 |
+
}
|
7044 |
+
|
7045 |
+
.cm-s-xq-light span.cm-keyword {
|
7046 |
+
line-height: 1em;
|
7047 |
+
font-weight: 700;
|
7048 |
+
color: #5a5cad;
|
7049 |
+
}
|
7050 |
+
|
7051 |
+
.cm-s-xq-light span.cm-atom {
|
7052 |
+
color: #6c8cd5;
|
7053 |
+
}
|
7054 |
+
|
7055 |
+
.cm-s-xq-light span.cm-number {
|
7056 |
+
color: #164;
|
7057 |
+
}
|
7058 |
+
|
7059 |
+
.cm-s-xq-light span.cm-def {
|
7060 |
+
text-decoration: underline;
|
7061 |
+
}
|
7062 |
+
|
7063 |
+
.cm-s-xq-light span.cm-type,.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3 {
|
7064 |
+
color: #000;
|
7065 |
+
}
|
7066 |
+
|
7067 |
+
.cm-s-xq-light span.cm-comment {
|
7068 |
+
color: #0080ff;
|
7069 |
+
font-style: italic;
|
7070 |
+
}
|
7071 |
+
|
7072 |
+
.cm-s-xq-light span.cm-string {
|
7073 |
+
color: red;
|
7074 |
}
|
7075 |
|
7076 |
+
.cm-s-xq-light span.cm-meta {
|
7077 |
+
color: #ff0;
|
7078 |
}
|
7079 |
|
7080 |
+
.cm-s-xq-light span.cm-qualifier {
|
7081 |
+
color: grey;
|
|
|
7082 |
}
|
7083 |
|
7084 |
+
.cm-s-xq-light span.cm-builtin {
|
7085 |
+
color: #7ea656;
|
7086 |
}
|
7087 |
|
7088 |
+
.cm-s-xq-light span.cm-bracket {
|
7089 |
+
color: #cc7;
|
7090 |
}
|
7091 |
|
7092 |
+
.cm-s-xq-light span.cm-tag {
|
7093 |
+
color: #3f7f7f;
|
7094 |
}
|
7095 |
|
7096 |
+
.cm-s-xq-light span.cm-attribute {
|
7097 |
+
color: #7f007f;
|
|
|
|
|
7098 |
}
|
7099 |
|
7100 |
+
.cm-s-xq-light span.cm-error {
|
7101 |
+
color: red;
|
7102 |
}
|
7103 |
|
7104 |
+
.cm-s-xq-light .CodeMirror-activeline-background {
|
7105 |
+
background: #e8f2ff;
|
7106 |
}
|
7107 |
|
7108 |
+
.cm-s-xq-light .CodeMirror-matchingbracket {
|
7109 |
outline: 1px solid grey;
|
7110 |
+
color: #000!important;
|
7111 |
+
background: #ff0;
|
7112 |
}
|
7113 |
|
7114 |
.cm-s-zenburn .CodeMirror-gutters {
|
7123 |
border-left: 1px solid #fff;
|
7124 |
}
|
7125 |
|
7126 |
+
.cm-s-zenburn.CodeMirror {
|
7127 |
background-color: #3f3f3f;
|
7128 |
color: #dcdccc;
|
7129 |
}
|
7209 |
background: #4f4f4f;
|
7210 |
}
|
7211 |
|
7212 |
+
.cm-s-codepen .box pre {
|
7213 |
+
color: #fff;
|
7214 |
+
}
|
7215 |
+
|
7216 |
+
.cm-s-codepen .cm-atom,.cm-s-codepen .cm-keyword {
|
7217 |
+
color: #ddca7e;
|
7218 |
+
}
|
7219 |
+
|
7220 |
+
.cm-s-codepen .cm-number,.cm-s-codepen .cm-unit {
|
7221 |
+
color: #d0782a;
|
7222 |
+
}
|
7223 |
+
|
7224 |
+
.cm-s-codepen .cm-def {
|
7225 |
+
color: #809bbd;
|
7226 |
+
}
|
7227 |
+
|
7228 |
+
.cm-s-codepen .cm-variable {
|
7229 |
+
color: #ddca7e;
|
7230 |
+
}
|
7231 |
+
|
7232 |
+
.cm-s-codepen .cm-variable-2 {
|
7233 |
+
color: #809bbd;
|
7234 |
+
}
|
7235 |
+
|
7236 |
+
.cm-s-codepen .cm-property {
|
7237 |
+
color: #9a8297;
|
7238 |
+
}
|
7239 |
+
|
7240 |
+
.cm-s-codepen .cm-operator {
|
7241 |
+
color: #ccc;
|
7242 |
+
}
|
7243 |
+
|
7244 |
+
.cm-s-codepen .cm-comment {
|
7245 |
+
color: #666;
|
7246 |
+
}
|
7247 |
+
|
7248 |
+
.cm-s-codepen .cm-string {
|
7249 |
+
color: #96b38a;
|
7250 |
+
}
|
7251 |
+
|
7252 |
+
.cm-s-codepen .cm-string-2 {
|
7253 |
+
color: #fff;
|
7254 |
+
}
|
7255 |
+
|
7256 |
+
.cm-s-codepen .cm-meta {
|
7257 |
+
color: #9a8297;
|
7258 |
+
}
|
7259 |
+
|
7260 |
+
.cm-s-codepen .cm-header {
|
7261 |
+
color: #ff6400;
|
7262 |
+
}
|
7263 |
+
|
7264 |
+
.cm-s-codepen .cm-tag {
|
7265 |
+
color: #9a6e35;
|
7266 |
+
}
|
7267 |
+
|
7268 |
+
.cm-s-codepen .cm-attribute,.cm-s-codepen .cm-builtin,.cm-s-codepen .cm-em,.cm-s-codepen .cm-qualifier,.cm-s-codepen .cm-strong {
|
7269 |
+
color: #ddca7e;
|
7270 |
+
}
|
7271 |
+
|
7272 |
+
.cm-s-codepen .cm-error {
|
7273 |
+
color: #fff;
|
7274 |
+
background-color: #ec5f67;
|
7275 |
+
}
|
7276 |
+
|
7277 |
+
.cm-s-codepen .CodeMirror-guttermarker,.cm-s-codepen .CodeMirror-guttermarker-subtle,.cm-s-codepen .CodeMirror-linenumber {
|
7278 |
+
color: #666;
|
7279 |
+
}
|
7280 |
+
|
7281 |
+
.cm-s-codepen.CodeMirror {
|
7282 |
+
background: #1d1f20;
|
7283 |
+
color: #fff;
|
7284 |
+
}
|
7285 |
+
|
7286 |
+
.cm-s-codepen .CodeMirror-gutters {
|
7287 |
+
background: #1d1f20;
|
7288 |
+
border: none;
|
7289 |
+
}
|
7290 |
+
|
7291 |
+
.cm-s-codepen .CodeMirror-activeline-background {
|
7292 |
+
background: transparent;
|
7293 |
+
}
|
7294 |
+
|
7295 |
+
.cm-s-codepen .CodeMirror-cursor {
|
7296 |
+
border-left: 1px solid #f8f8f0;
|
7297 |
+
}
|
7298 |
+
|
7299 |
+
.cm-s-codepen div.CodeMirror-selected {
|
7300 |
+
background: hsla(0,0%,100%,.15);
|
7301 |
+
}
|
7302 |
+
|
7303 |
+
.cm-s-codepen.CodeMirror-focused div.CodeMirror-selected {
|
7304 |
+
background: hsla(0,0%,100%,.1);
|
7305 |
+
}
|
7306 |
+
|
7307 |
+
.cm-s-codepen .CodeMirror-line::selection,.cm-s-codepen .CodeMirror-line>span::selection,.cm-s-codepen .CodeMirror-line>span>span::selection {
|
7308 |
+
background: hsla(0,0%,100%,.1);
|
7309 |
+
}
|
7310 |
+
|
7311 |
+
.cm-s-codepen .CodeMirror-line::-moz-selection,.cm-s-codepen .CodeMirror-line>span::-moz-selection,.cm-s-codepen .CodeMirror-line>span>span::-moz-selection {
|
7312 |
+
background: hsla(0,0%,100%,.1);
|
7313 |
+
}
|
7314 |
+
|
7315 |
.cm-s-wordpress.CodeMirror {
|
7316 |
background-color: #2a3036;
|
7317 |
color: #e9eded;
|
7422 |
}
|
7423 |
|
7424 |
.cm-s-wordpress .CodeMirror-matchingbracket {
|
7425 |
+
text-decoration: underline;
|
7426 |
+
color: #fff!important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7427 |
}
|
7428 |
|
7429 |
.CodeMirror-foldmarker {
|
7477 |
cursor: pointer;
|
7478 |
}
|
7479 |
|
7480 |
+
@media screen and (min-width:782px) {
|
7481 |
+
.CodeMirror-settings__toggle {
|
7482 |
+
height: 35px;
|
7483 |
+
}
|
7484 |
+
}
|
7485 |
+
|
7486 |
+
@media screen and (max-width:781px) {
|
7487 |
+
.CodeMirror-settings__toggle {
|
7488 |
+
height: 44px;
|
7489 |
+
}
|
7490 |
+
}
|
7491 |
+
|
7492 |
+
@media screen and (min-width:782px) {
|
7493 |
+
.CodeMirror-settings__toggle {
|
7494 |
+
width: 35px;
|
7495 |
+
}
|
7496 |
+
}
|
7497 |
+
|
7498 |
+
@media screen and (max-width:781px) {
|
7499 |
+
.CodeMirror-settings__toggle {
|
7500 |
+
width: 44px;
|
7501 |
+
}
|
7502 |
+
}
|
7503 |
+
|
7504 |
.CodeMirror-settings__toggle:after {
|
7505 |
content: "\f111";
|
7506 |
font-family: dashicons;
|
7508 |
display: inline-block;
|
7509 |
}
|
7510 |
|
7511 |
+
@media screen and (min-width:782px) {
|
7512 |
+
.CodeMirror-settings__toggle:after {
|
7513 |
+
font-size: 20px;
|
7514 |
+
}
|
7515 |
+
}
|
7516 |
+
|
7517 |
+
@media screen and (max-width:781px) {
|
7518 |
+
.CodeMirror-settings__toggle:after {
|
7519 |
+
font-size: 28px;
|
7520 |
+
}
|
7521 |
+
}
|
7522 |
+
|
7523 |
+
@media screen and (min-width:782px) {
|
7524 |
+
.CodeMirror-settings__toggle:after {
|
7525 |
+
margin: 7px;
|
7526 |
+
}
|
7527 |
+
}
|
7528 |
+
|
7529 |
+
@media screen and (max-width:781px) {
|
7530 |
+
.CodeMirror-settings__toggle:after {
|
7531 |
+
margin: 8px;
|
7532 |
+
}
|
7533 |
+
}
|
7534 |
+
|
7535 |
.CodeMirror-settings__toggle:before {
|
7536 |
border: 1px solid #ddd;
|
7537 |
border-radius: 3px;
|
7576 |
box-sizing: border-box;
|
7577 |
}
|
7578 |
|
7579 |
+
@media screen and (min-width:782px) {
|
7580 |
+
.CodeMirror-settings__docked {
|
7581 |
+
min-height: 35px;
|
7582 |
+
}
|
7583 |
+
}
|
7584 |
+
|
7585 |
+
@media screen and (max-width:781px) {
|
7586 |
+
.CodeMirror-settings__docked {
|
7587 |
+
min-height: 44px;
|
7588 |
+
}
|
7589 |
+
}
|
7590 |
+
|
7591 |
.CodeMirror-settings__header {
|
7592 |
border-top-left-radius: 3px;
|
7593 |
border-top-right-radius: 3px;
|
7597 |
border-bottom-right-radius: 3px;
|
7598 |
}
|
7599 |
|
7600 |
+
@media screen and (min-width:782px) {
|
7601 |
+
.CodeMirror-settings__header {
|
7602 |
+
padding-right: 35px;
|
7603 |
+
}
|
7604 |
+
}
|
7605 |
+
|
7606 |
+
@media screen and (max-width:781px) {
|
7607 |
+
.CodeMirror-settings__header {
|
7608 |
+
padding-right: 44px;
|
7609 |
+
}
|
7610 |
+
}
|
7611 |
+
|
7612 |
.CodeMirror-settings__body {
|
7613 |
flex: 1 1 auto;
|
7614 |
box-sizing: border-box;
|
7723 |
transform: none!important;
|
7724 |
}
|
7725 |
|
7726 |
+
.CodeMirror-settings__button.button.button-small {
|
7727 |
+
margin: 2px 0;
|
7728 |
+
}
|
7729 |
+
|
7730 |
.CodeMirror-settings__button input,.CodeMirror-settings__button select {
|
7731 |
display: block;
|
7732 |
position: absolute;
|
7753 |
|
7754 |
.CodeMirror-settings__button--select:after {
|
7755 |
content: "\f140";
|
7756 |
+
font: normal 20px/1 dashicons;
|
7757 |
+
margin-top: -.2em;
|
7758 |
+
vertical-align: middle;
|
7759 |
display: inline-block;
|
|
|
7760 |
}
|
7761 |
|
7762 |
.CodeMirror-settings__toggle-advanced {
|
7785 |
background-color: #fff;
|
7786 |
}
|
7787 |
|
7788 |
+
@media screen and (min-width:782px) {
|
7789 |
+
.CodeMirror-dialog {
|
7790 |
+
height: 35px;
|
7791 |
+
}
|
7792 |
+
}
|
7793 |
+
|
7794 |
+
@media screen and (max-width:781px) {
|
7795 |
+
.CodeMirror-dialog {
|
7796 |
+
height: 44px;
|
7797 |
+
}
|
7798 |
+
}
|
7799 |
+
|
7800 |
+
@media screen and (min-width:782px) {
|
7801 |
+
.CodeMirror-dialog {
|
7802 |
+
padding-right: 35px;
|
7803 |
+
}
|
7804 |
+
}
|
7805 |
+
|
7806 |
+
@media screen and (max-width:781px) {
|
7807 |
+
.CodeMirror-dialog {
|
7808 |
+
padding-right: 44px;
|
7809 |
+
}
|
7810 |
+
}
|
7811 |
+
|
7812 |
.CodeMirror-dialog:after {
|
7813 |
position: absolute;
|
7814 |
right: 0;
|
7820 |
cursor: pointer;
|
7821 |
}
|
7822 |
|
7823 |
+
@media screen and (min-width:782px) {
|
7824 |
+
.CodeMirror-dialog:after {
|
7825 |
+
font-size: 20px;
|
7826 |
+
}
|
7827 |
+
}
|
7828 |
+
|
7829 |
+
@media screen and (max-width:781px) {
|
7830 |
+
.CodeMirror-dialog:after {
|
7831 |
+
font-size: 28px;
|
7832 |
+
}
|
7833 |
+
}
|
7834 |
+
|
7835 |
+
@media screen and (min-width:782px) {
|
7836 |
+
.CodeMirror-dialog:after {
|
7837 |
+
margin: 7px;
|
7838 |
+
}
|
7839 |
+
}
|
7840 |
+
|
7841 |
+
@media screen and (max-width:781px) {
|
7842 |
+
.CodeMirror-dialog:after {
|
7843 |
+
margin: 8px;
|
7844 |
+
}
|
7845 |
+
}
|
7846 |
+
|
7847 |
.CodeMirror-dialog input {
|
7848 |
border: none;
|
7849 |
outline: none;
|
7902 |
content: "";
|
7903 |
background-color: #f5f5f5;
|
7904 |
border: 1px solid #ddd;
|
7905 |
+
border-radius: 8px/2;
|
7906 |
position: absolute;
|
7907 |
}
|
7908 |
|
7943 |
bottom: 6px;
|
7944 |
}
|
7945 |
|
7946 |
+
@media screen and (min-width:782px) {
|
7947 |
+
.CodeMirror-overlayscroll-vertical div:after {
|
7948 |
+
top: 47px;
|
7949 |
+
}
|
7950 |
+
}
|
7951 |
+
|
7952 |
+
@media screen and (max-width:781px) {
|
7953 |
+
.CodeMirror-overlayscroll-vertical div:after {
|
7954 |
+
top: 56px;
|
7955 |
+
}
|
7956 |
+
}
|
7957 |
+
|
7958 |
.wp-editor-expand .CodeMirror {
|
7959 |
min-height: 300px;
|
7960 |
}
|
7973 |
opacity: 0!important;
|
7974 |
}
|
7975 |
|
7976 |
+
@media screen and (min-width:782px) {
|
7977 |
+
#template .CodeMirror {
|
7978 |
+
margin-right: 20px;
|
7979 |
+
}
|
7980 |
+
}
|
7981 |
+
|
7982 |
+
@media screen and (max-width:781px) {
|
7983 |
+
#template .CodeMirror {
|
7984 |
+
margin-right: 0;
|
7985 |
+
}
|
7986 |
+
}
|
7987 |
+
|
7988 |
#template .CodeMirror div {
|
7989 |
margin-right: 0;
|
7990 |
}
|
8038 |
height: 85%!important;
|
8039 |
}
|
8040 |
|
8041 |
+
@media screen and (max-height:550px) {
|
8042 |
+
.heshFullscreen .CodeMirror {
|
8043 |
+
height: 75%!important;
|
8044 |
+
}
|
8045 |
+
}
|
8046 |
+
|
8047 |
.heshFullscreen #ed_toolbar {
|
8048 |
border: 1px solid #ccc;
|
8049 |
border-bottom: 0;
|
8091 |
|
8092 |
#template .CodeMirror {
|
8093 |
min-height: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8094 |
}
|
hesh.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.CodeMirror=t()}(this,function(){"use strict";var e=navigator.userAgent,t=navigator.platform,m=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),n=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),i=/Edge\/(\d+)/.exec(e),w=r||n||i,k=w&&(r?document.documentMode||6:+(i||n)[1]),b=!i&&/WebKit\//.test(e),o=b&&/Qt\/\d+\.\d+/.test(e),a=!i&&/Chrome\//.test(e),g=/Opera\//.test(e),l=/Apple Computer/.test(navigator.vendor),s=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),c=/PhantomJS/.test(e),u=!i&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),f=/Android/.test(e),d=u||f||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),x=u||/Mac/.test(t),h=/\bCrOS\b/.test(e),p=/win/i.test(t),v=g&&e.match(/Version\/(\d*\.\d*)/);v&&(v=Number(v[1])),v&&15<=v&&(b=!(g=!1));var y=x&&(o||g&&(null==v||v<12.11)),C=m||w&&9<=k;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var _,L=function(e,t){var r=e.className,n=S(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}};function M(e){for(var t=e.childNodes.length;0<t;--t)e.removeChild(e.firstChild);return e}function T(e,t){return M(e).appendChild(t)}function O(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function A(e,t,r,n){var i=O(e,t,r,n);return i.setAttribute("role","presentation"),i}function E(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function N(){var t;try{t=document.activeElement}catch(e){t=document.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function I(e,t){var r=e.className;S(t).test(r)||(e.className+=(r?" ":"")+t)}function P(e,t){for(var r=e.split(" "),n=0;n<r.length;n++)r[n]&&!S(r[n]).test(t)&&(t+=" "+r[n]);return t}_=document.createRange?function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(e){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n};var R=function(e){e.select()};function B(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function D(e,t,r){for(var n in t||(t={}),e)!e.hasOwnProperty(n)||!1===r&&t.hasOwnProperty(n)||(t[n]=e[n]);return t}function F(e,t,r,n,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=n||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||t<=s)return a+(t-o);a+=s-o,a+=r-a%r,o=s+1}}u?R=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:w&&(R=function(e){try{e.select()}catch(e){}});var z=function(){this.id=null};function W(e,t){for(var r=0;r<e.length;++r)if(e[r]==t)return r;return-1}z.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var q=30,H={toString:function(){return"CodeMirror.Pass"}},j={scroll:!1},K={origin:"*mouse"},U={origin:"+move"};function V(e,t,r){for(var n=0,i=0;;){var o=e.indexOf("\t",n);-1==o&&(o=e.length);var a=o-n;if(o==e.length||t<=i+a)return n+Math.min(a,t-i);if(i+=o-n,n=o+1,t<=(i+=r-i%r))return n}}var $=[""];function G(e){for(;$.length<=e;)$.push(X($)+" ");return $[e]}function X(e){return e[e.length-1]}function Y(e,t){for(var r=[],n=0;n<e.length;n++)r[n]=t(e[n],n);return r}function Q(){}function J(e,t){var r;return r=Object.create?Object.create(e):(Q.prototype=e,new Q),t&&D(t,r),r}var Z=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ee(e){return/\w/.test(e)||""<e&&(e.toUpperCase()!=e.toLowerCase()||Z.test(e))}function te(e,t){return t?!!(-1<t.source.indexOf("\\w")&&ee(e))||t.test(e):ee(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ne=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ie(e){return 768<=e.charCodeAt(0)&&ne.test(e)}function oe(e,t,r){for(;(r<0?0<t:t<e.length)&&ie(e.charAt(t));)t+=r;return t}function ae(e,t,r){for(var n=r<t?-1:1;;){if(t==r)return t;var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+n}}var se=null;function le(e,t,r){var n;se=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==r?n=i:se=i),o.from==t&&(o.from!=o.to&&"before"!=r?n=i:se=i)}return null!=n?n:se}var ce=function(){var D="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",F="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";var z=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,W=/[stwN]/,q=/[LRr]/,H=/[Lb1n]/,j=/[1n]/;function K(e,t,r){this.level=e,this.from=t,this.to=r}return function(e,t){var r="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!z.test(e))return!1;for(var n,i=e.length,o=[],a=0;a<i;++a)o.push((n=e.charCodeAt(a))<=247?D.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?F.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L");for(var s=0,l=r;s<i;++s){var c=o[s];"m"==c?o[s]=l:l=c}for(var u=0,f=r;u<i;++u){var d=o[u];"1"==d&&"r"==f?o[u]="n":q.test(d)&&"r"==(f=d)&&(o[u]="R")}for(var h=1,p=o[0];h<i-1;++h){var m=o[h];"+"==m&&"1"==p&&"1"==o[h+1]?o[h]="1":","!=m||p!=o[h+1]||"1"!=p&&"n"!=p||(o[h]=p),p=m}for(var g=0;g<i;++g){var v=o[g];if(","==v)o[g]="N";else if("%"==v){var y=void 0;for(y=g+1;y<i&&"%"==o[y];++y);for(var b=g&&"!"==o[g-1]||y<i&&"1"==o[y]?"1":"N",x=g;x<y;++x)o[x]=b;g=y-1}}for(var w=0,k=r;w<i;++w){var C=o[w];"L"==k&&"1"==C?o[w]="L":q.test(C)&&(k=C)}for(var S=0;S<i;++S)if(W.test(o[S])){var _=void 0;for(_=S+1;_<i&&W.test(o[_]);++_);for(var L="L"==(S?o[S-1]:r),M=L==("L"==(_<i?o[_]:r))?L?"L":"R":r,T=S;T<_;++T)o[T]=M;S=_-1}for(var A,O=[],E=0;E<i;)if(H.test(o[E])){var N=E;for(++E;E<i&&H.test(o[E]);++E);O.push(new K(0,N,E))}else{var I=E,P=O.length;for(++E;E<i&&"L"!=o[E];++E);for(var R=I;R<E;)if(j.test(o[R])){I<R&&O.splice(P,0,new K(1,I,R));var B=R;for(++R;R<E&&j.test(o[R]);++R);O.splice(P,0,new K(2,B,R)),I=R}else++R;I<E&&O.splice(P,0,new K(1,I,E))}return"ltr"==t&&(1==O[0].level&&(A=e.match(/^\s+/))&&(O[0].from=A[0].length,O.unshift(new K(0,0,A[0].length))),1==X(O).level&&(A=e.match(/\s+$/))&&(X(O).to-=A[0].length,O.push(new K(0,i-A[0].length,i)))),"rtl"==t?O.reverse():O}}();function ue(e,t){var r=e.order;return null==r&&(r=e.order=ce(e.text,t)),r}var fe=[],de=function(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||fe).concat(r)}};function he(e,t){return e._handlers&&e._handlers[t]||fe}function pe(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var n=e._handlers,i=n&&n[t];if(i){var o=W(i,r);-1<o&&(n[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function me(e,t){var r=he(e,t);if(r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i)r[i].apply(null,n)}function ge(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),me(e,r||t.type,e,t),ke(t)||t.codemirrorIgnore}function ve(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)-1==W(r,t[n])&&r.push(t[n])}function ye(e,t){return 0<he(e,t).length}function be(e){e.prototype.on=function(e,t){de(this,e,t)},e.prototype.off=function(e,t){pe(this,e,t)}}function xe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function we(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ke(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ce(e){xe(e),we(e)}function Se(e){return e.target||e.srcElement}function _e(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),x&&e.ctrlKey&&1==t&&(t=3),t}var Le,Me,Te=function(){if(w&&k<9)return!1;var e=O("div");return"draggable"in e||"dragDrop"in e}();function Ae(e){if(null==Le){var t=O("span","");T(e,O("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Le=t.offsetWidth<=1&&2<t.offsetHeight&&!(w&&k<8))}var r=Le?O("span",""):O("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function Oe(e){if(null!=Me)return Me;var t=T(e,document.createTextNode("AخA")),r=_(t,0,1).getBoundingClientRect(),n=_(t,1,2).getBoundingClientRect();return M(e),!(!r||r.left==r.right)&&(Me=n.right-r.right<3)}var Ee,Ne=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(r.push(o.slice(0,a)),t+=a+1):(r.push(o),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},Ie=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Pe="oncopy"in(Ee=O("div"))||(Ee.setAttribute("oncopy","return;"),"function"==typeof Ee.oncopy),Re=null;var Be={},De={};function Fe(e){if("string"==typeof e&&De.hasOwnProperty(e))e=De[e];else if(e&&"string"==typeof e.name&&De.hasOwnProperty(e.name)){var t=De[e.name];"string"==typeof t&&(t={name:t}),(e=J(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Fe("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Fe("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function ze(e,t){t=Fe(t);var r=Be[t.name];if(!r)return ze(e,"text/plain");var n=r(e,t);if(We.hasOwnProperty(t.name)){var i=We[t.name];for(var o in i)i.hasOwnProperty(o)&&(n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=i[o])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)n[a]=t.modeProps[a];return n}var We={};function qe(e,t){D(t,We.hasOwnProperty(e)?We[e]:We[e]={})}function He(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function je(e,t){for(var r;e.innerMode&&(r=e.innerMode(t))&&r.mode!=e;)t=r.state,e=r.mode;return r||{mode:e,state:t}}function Ke(e,t,r){return!e.startState||e.startState(t,r)}var Ue=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r};function Ve(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t<o){r=i;break}t-=o}return r.lines[t]}function $e(e,r,n){var i=[],o=r.line;return e.iter(r.line,n.line+1,function(e){var t=e.text;o==n.line&&(t=t.slice(0,n.ch)),o==r.line&&(t=t.slice(r.ch)),i.push(t),++o}),i}function Ge(e,t,r){var n=[];return e.iter(t,r,function(e){n.push(e.text)}),n}function Xe(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent)n.height+=r}function Ye(e){if(null==e.parent)return null;for(var t=e.parent,r=W(t.lines,e),n=t.parent;n;n=(t=n).parent)for(var i=0;n.children[i]!=t;++i)r+=n.children[i].chunkSize();return r+t.first}function Qe(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],o=i.height;if(t<o){e=i;continue e}t-=o,r+=i.chunkSize()}return r}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return r+a}function Je(e,t){return t>=e.first&&t<e.first+e.size}function Ze(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function et(e,t,r){if(void 0===r&&(r=null),!(this instanceof et))return new et(e,t,r);this.line=e,this.ch=t,this.sticky=r}function tt(e,t){return e.line-t.line||e.ch-t.ch}function rt(e,t){return e.sticky==t.sticky&&0==tt(e,t)}function nt(e){return et(e.line,e.ch)}function it(e,t){return tt(e,t)<0?t:e}function ot(e,t){return tt(e,t)<0?e:t}function at(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function st(e,t){if(t.line<e.first)return et(e.first,0);var r,n,i,o=e.first+e.size-1;return t.line>o?et(o,Ve(e,o).text.length):(n=Ve(e,(r=t).line).text.length,null==(i=r.ch)||n<i?et(r.line,n):i<0?et(r.line,0):r)}function lt(e,t){for(var r=[],n=0;n<t.length;n++)r[n]=st(e,t[n]);return r}Ue.prototype.eol=function(){return this.pos>=this.string.length},Ue.prototype.sol=function(){return this.pos==this.lineStart},Ue.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ue.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ue.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ue.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ue.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ue.prototype.skipToEnd=function(){this.pos=this.string.length},Ue.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(-1<t)return this.pos=t,!0},Ue.prototype.backUp=function(e){this.pos-=e},Ue.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=F(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},Ue.prototype.indentation=function(){return F(this.string,null,this.tabSize)-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},Ue.prototype.match=function(e,t,r){if("string"!=typeof e){var n=this.string.slice(this.pos).match(e);return n&&0<n.index?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}var i=function(e){return r?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ue.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ue.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ue.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ue.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ct=function(e,t){this.state=e,this.lookAhead=t},ut=function(e,t,r,n){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1};function ft(t,r,n,e){var l=[t.state.modeGen],i={};xt(t,r.text,t.doc.mode,n,function(e,t){return l.push(e,t)},i,e);for(var c=n.state,o=function(e){n.baseTokens=l;var o=t.state.overlays[e],a=1,s=0;n.state=!0,xt(t,r.text,o.mode,n,function(e,t){for(var r=a;s<e;){var n=l[a];e<n&&l.splice(a,1,e,l[a+1],n),a+=2,s=Math.min(e,n)}if(t)if(o.opaque)l.splice(r,a-r,e,"overlay "+t),a=r+2;else for(;r<a;r+=2){var i=l[r+1];l[r+1]=(i?i+" ":"")+"overlay "+t}},i),n.state=c,n.baseTokens=null,n.baseTokenPos=1},a=0;a<t.state.overlays.length;++a)o(a);return{styles:l,classes:i.bgClass||i.textClass?i:null}}function dt(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=ht(e,Ye(t)),i=t.text.length>e.options.maxHighlightLength&&He(e.doc.mode,n.state),o=ft(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function ht(r,n,e){var t=r.doc,i=r.display;if(!t.mode.startState)return new ut(t,!0,n);var o=function(e,t,r){for(var n,i,o=e.doc,a=r?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;a<s;--s){if(s<=o.first)return o.first;var l=Ve(o,s-1),c=l.stateAfter;if(c&&(!r||s+(c instanceof ct?c.lookAhead:0)<=o.modeFrontier))return s;var u=F(l.text,null,e.options.tabSize);(null==i||u<n)&&(i=s-1,n=u)}return i}(r,n,e),a=o>t.first&&Ve(t,o-1).stateAfter,s=a?ut.fromSaved(t,a,o):new ut(t,Ke(t.mode),o);return t.iter(o,n,function(e){pt(r,e.text,s);var t=s.line;e.stateAfter=t==n-1||t%5==0||t>=i.viewFrom&&t<i.viewTo?s.save():null,s.nextLine()}),e&&(t.modeFrontier=s.line),s}function pt(e,t,r,n){var i=e.doc.mode,o=new Ue(t,e.options.tabSize,r);for(o.start=o.pos=n||0,""==t&&mt(i,r.state);!o.eol();)gt(i,o,r.state),o.start=o.pos}function mt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var r=je(e,t);return r.mode.blankLine?r.mode.blankLine(r.state):void 0}}function gt(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=je(e,r).mode);var o=e.token(t,r);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}ut.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ut.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ut.prototype.nextLine=function(){this.line++,0<this.maxLookAhead&&this.maxLookAhead--},ut.fromSaved=function(e,t,r){return t instanceof ct?new ut(e,He(e.mode,t.state),r,t.lookAhead):new ut(e,He(e.mode,t),r)},ut.prototype.save=function(e){var t=!1!==e?He(this.doc.mode,this.state):this.state;return 0<this.maxLookAhead?new ct(t,this.maxLookAhead):t};var vt=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r};function yt(e,t,r,n){var i,o,a=e.doc,s=a.mode,l=Ve(a,(t=st(a,t)).line),c=ht(e,t.line,r),u=new Ue(l.text,e.options.tabSize,c);for(n&&(o=[]);(n||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=gt(s,u,c.state),n&&o.push(new vt(u,i,He(a.mode,c.state)));return n?o:new vt(u,i,c.state)}function bt(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";null==t[n]?t[n]=r[2]:new RegExp("(?:^|s)"+r[2]+"(?:$|s)").test(t[n])||(t[n]+=" "+r[2])}return e}function xt(e,t,r,n,i,o,a){var s=r.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,f=new Ue(t,e.options.tabSize,n),d=e.options.addModeClass&&[null];for(""==t&&bt(mt(r,n.state),o);!f.eol();){if(l=f.pos>e.options.maxHighlightLength?(s=!1,a&&pt(e,t,n,f.pos),f.pos=t.length,null):bt(gt(r,f,n.state,d),o),d){var h=d[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!s||u!=l){for(;c<f.start;)i(c=Math.min(f.start,c+5e3),u);u=l}f.start=f.pos}for(;c<f.pos;){var p=Math.min(f.pos,c+5e3);i(p,u),c=p}}var wt=!1,kt=!1;function Ct(e,t,r){this.marker=e,this.from=t,this.to=r}function St(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t)return n}}function _t(e,t){for(var r,n=0;n<e.length;++n)e[n]!=t&&(r||(r=[])).push(e[n]);return r}function Lt(e,t){if(t.full)return null;var r=Je(e,t.from.line)&&Ve(e,t.from.line).markedSpans,n=Je(e,t.to.line)&&Ve(e,t.to.line).markedSpans;if(!r&&!n)return null;var i=t.from.ch,o=t.to.ch,a=0==tt(t.from,t.to),s=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!r||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new Ct(a,o.from,s?null:o.to))}}return n}(r,i,a),l=function(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!r||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new Ct(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return n}(n,o,a),c=1==t.text.length,u=X(t.text).length+(c?i:0);if(s)for(var f=0;f<s.length;++f){var d=s[f];if(null==d.to){var h=St(l,d.marker);h?c&&(d.to=null==h.to?null:h.to+u):d.to=i}}if(l)for(var p=0;p<l.length;++p){var m=l[p];if(null!=m.to&&(m.to+=u),null==m.from)St(s,m.marker)||(m.from=u,c&&(s||(s=[])).push(m));else m.from+=u,c&&(s||(s=[])).push(m)}s&&(s=Mt(s)),l&&l!=s&&(l=Mt(l));var g=[s];if(!c){var v,y=t.text.length-2;if(0<y&&s)for(var b=0;b<s.length;++b)null==s[b].to&&(v||(v=[])).push(new Ct(s[b].marker,null,null));for(var x=0;x<y;++x)g.push(v);g.push(l)}return g}function Mt(e){for(var t=0;t<e.length;++t){var r=e[t];null!=r.from&&r.from==r.to&&!1!==r.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Tt(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r)t[r].marker.detachLine(e);e.markedSpans=null}}function At(e,t){if(t){for(var r=0;r<t.length;++r)t[r].marker.attachLine(e);e.markedSpans=t}}function Ot(e){return e.inclusiveLeft?-1:0}function Et(e){return e.inclusiveRight?1:0}function Nt(e,t){var r=e.lines.length-t.lines.length;if(0!=r)return r;var n=e.find(),i=t.find(),o=tt(n.from,i.from)||Ot(e)-Ot(t);if(o)return-o;var a=tt(n.to,i.to)||Et(e)-Et(t);return a||t.id-e.id}function It(e,t){var r,n=kt&&e.markedSpans;if(n)for(var i=void 0,o=0;o<n.length;++o)(i=n[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!r||Nt(r,i.marker)<0)&&(r=i.marker);return r}function Pt(e){return It(e,!0)}function Rt(e){return It(e,!1)}function Bt(e,t){var r,n=kt&&e.markedSpans;if(n)for(var i=0;i<n.length;++i){var o=n[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!r||Nt(r,o.marker)<0)&&(r=o.marker)}return r}function Dt(e,t,r,n,i){var o=Ve(e,t),a=kt&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=tt(c.from,r)||Ot(l.marker)-Ot(i),f=tt(c.to,n)||Et(l.marker)-Et(i);if(!(0<=u&&f<=0||u<=0&&0<=f)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?0<=tt(c.to,r):0<tt(c.to,r))||0<=u&&(l.marker.inclusiveRight&&i.inclusiveLeft?tt(c.from,n)<=0:tt(c.from,n)<0)))return!0}}}function Ft(e){for(var t;t=Pt(e);)e=t.find(-1,!0).line;return e}function zt(e,t){var r=Ve(e,t),n=Ft(r);return r==n?t:Ye(n)}function Wt(e,t){if(t>e.lastLine())return t;var r,n=Ve(e,t);if(!qt(e,n))return t;for(;r=Rt(n);)n=r.find(1,!0).line;return Ye(n)+1}function qt(e,t){var r=kt&&t.markedSpans;if(r)for(var n=void 0,i=0;i<r.length;++i)if((n=r[i]).marker.collapsed){if(null==n.from)return!0;if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&Ht(e,t,n))return!0}}function Ht(e,t,r){if(null==r.to){var n=r.marker.find(1,!0);return Ht(e,n.line,St(n.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(null==i.to||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&Ht(e,t,i))return!0}function jt(e){for(var t=0,r=(e=Ft(e)).parent,n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e)break;t+=i.height}for(var o=r.parent;o;o=(r=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==r)break;t+=s.height}return t}function Kt(e){if(0==e.height)return 0;for(var t,r=e.text.length,n=e;t=Pt(n);){var i=t.find(0,!0);n=i.from.line,r+=i.from.ch-i.to.ch}for(n=e;t=Rt(n);){var o=t.find(0,!0);r-=n.text.length-o.from.ch,r+=(n=o.to.line).text.length-o.to.ch}return r}function Ut(e){var r=e.display,t=e.doc;r.maxLine=Ve(t,t.first),r.maxLineLength=Kt(r.maxLine),r.maxLineChanged=!0,t.iter(function(e){var t=Kt(e);t>r.maxLineLength&&(r.maxLineLength=t,r.maxLine=e)})}var Vt=function(e,t,r){this.text=e,At(this,t),this.height=r?r(this):1};Vt.prototype.lineNo=function(){return Ye(this)},be(Vt);var $t={},Gt={};function Xt(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?Gt:$t;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function Yt(e,t){var r=A("span",null,null,b?"padding-right: .1px":null),n={pre:A("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;n.pos=0,n.addToken=Jt,Oe(e.display.measure)&&(a=ue(o,e.doc.direction))&&(n.addToken=Zt(n.addToken,a)),n.map=[],tr(o,n,dt(e,o,t!=e.display.externalMeasured&&Ye(o))),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=P(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=P(o.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(Ae(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(b){var s=n.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return me(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=P(n.pre.className,n.textClass||"")),n}function Qt(e){var t=O("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Jt(e,t,r,n,i,o,a){if(t){var s,l=e.splitSpaces?function(e,t){if(1<e.length&&!/ /.test(e))return e;for(var r=t,n="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!r||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),n+=o,r=" "==o}return n}(t,e.trailingSpace):t,c=e.cm.state.specialChars,u=!1;if(c.test(t)){s=document.createDocumentFragment();for(var f=0;;){c.lastIndex=f;var d=c.exec(t),h=d?d.index-f:t.length-f;if(h){var p=document.createTextNode(l.slice(f,f+h));w&&k<9?s.appendChild(O("span",[p])):s.appendChild(p),e.map.push(e.pos,e.pos+h,p),e.col+=h,e.pos+=h}if(!d)break;f+=h+1;var m=void 0;if("\t"==d[0]){var g=e.cm.options.tabSize,v=g-e.col%g;(m=s.appendChild(O("span",G(v),"cm-tab"))).setAttribute("role","presentation"),m.setAttribute("cm-text","\t"),e.col+=v}else"\r"==d[0]||"\n"==d[0]?(m=s.appendChild(O("span","\r"==d[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",d[0]):((m=e.cm.options.specialCharPlaceholder(d[0])).setAttribute("cm-text",d[0]),w&&k<9?s.appendChild(O("span",[m])):s.appendChild(m)),e.col+=1;e.map.push(e.pos,e.pos+1,m),e.pos++}}else e.col+=t.length,s=document.createTextNode(l),e.map.push(e.pos,e.pos+t.length,s),w&&k<9&&(u=!0),e.pos+=t.length;if(e.trailingSpace=32==l.charCodeAt(t.length-1),r||n||i||u||o){var y=r||"";n&&(y+=n),i&&(y+=i);var b=O("span",[s],y,o);if(a)for(var x in a)a.hasOwnProperty(x)&&"style"!=x&&"class"!=x&&b.setAttribute(x,a[x]);return e.content.appendChild(b)}e.content.appendChild(s)}}function Zt(f,d){return function(e,t,r,n,i,o,a){r=r?r+" cm-force-border":"cm-force-border";for(var s=e.pos,l=s+t.length;;){for(var c=void 0,u=0;u<d.length&&!((c=d[u]).to>s&&c.from<=s);u++);if(c.to>=l)return f(e,t,r,n,i,o,a);f(e,t.slice(0,c.to-s),r,n,null,o,a),n=null,t=t.slice(c.to-s),s=c.to}}}function er(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function tr(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(n)for(var a,s,l,c,u,f,d,h=i.length,p=0,m=1,g="",v=0;;){if(v==p){l=c=u=s="",f=d=null,v=1/0;for(var y=[],b=void 0,x=0;x<n.length;++x){var w=n[x],k=w.marker;if("bookmark"==k.type&&w.from==p&&k.widgetNode)y.push(k);else if(w.from<=p&&(null==w.to||w.to>p||k.collapsed&&w.to==p&&w.from==p)){if(null!=w.to&&w.to!=p&&v>w.to&&(v=w.to,c=""),k.className&&(l+=" "+k.className),k.css&&(s=(s?s+";":"")+k.css),k.startStyle&&w.from==p&&(u+=" "+k.startStyle),k.endStyle&&w.to==v&&(b||(b=[])).push(k.endStyle,w.to),k.title&&((d||(d={})).title=k.title),k.attributes)for(var C in k.attributes)(d||(d={}))[C]=k.attributes[C];k.collapsed&&(!f||Nt(f.marker,k)<0)&&(f=w)}else w.from>p&&v>w.from&&(v=w.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==v&&(c+=" "+b[S]);if(!f||f.from==p)for(var _=0;_<y.length;++_)er(t,0,y[_]);if(f&&(f.from||0)==p){if(er(t,(null==f.to?h+1:f.to)-p,f.marker,null==f.from),null==f.to)return;f.to==p&&(f=!1)}}if(h<=p)break;for(var L=Math.min(h,v);;){if(g){var M=p+g.length;if(!f){var T=L<M?g.slice(0,L-p):g;t.addToken(t,T,a?a+l:l,u,p+T.length==v?c:"",s,d)}if(L<=M){g=g.slice(L-p),p=L;break}p=M,u=""}g=i.slice(o,o=r[m++]),a=Xt(r[m++],t.cm.options)}}else for(var A=1;A<r.length;A+=2)t.addToken(t,i.slice(o,o=r[A]),Xt(r[A+1],t.cm.options))}function rr(e,t,r){this.line=t,this.rest=function(e){for(var t,r;t=Rt(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}(t),this.size=this.rest?Ye(X(this.rest))-r+1:1,this.node=this.text=null,this.hidden=qt(e,t)}function nr(e,t,r){for(var n,i=[],o=t;o<r;o=n){var a=new rr(e.doc,Ve(e.doc,o),o);n=o+a.size,i.push(a)}return i}var ir=null;var or=null;function ar(e,t){var r=he(e,t);if(r.length){var n,i=Array.prototype.slice.call(arguments,2);ir?n=ir.delayedCallbacks:or?n=or:(n=or=[],setTimeout(sr,0));for(var o=function(e){n.push(function(){return r[e].apply(null,i)})},a=0;a<r.length;++a)o(a)}}function sr(){var e=or;or=null;for(var t=0;t<e.length;++t)e[t]()}function lr(e,t,r,n){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?fr(e,t):"gutter"==o?hr(e,t,r,n):"class"==o?dr(e,t):"widget"==o&&pr(e,t,n)}t.changes=null}function cr(e){return e.node==e.text&&(e.node=O("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),w&&k<8&&(e.node.style.zIndex=2)),e.node}function ur(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):Yt(e,t)}function fr(e,t){var r=t.text.className,n=ur(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,dr(e,t)):r&&(t.text.className=r)}function dr(e,t){!function(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null);else if(r){var n=cr(t);t.background=n.insertBefore(O("div",null,r),n.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?cr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||""}function hr(e,t,r,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=cr(t);t.gutterBackground=O("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=cr(t),s=t.gutter=O("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(O("div",Ze(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(O("div",[u],"CodeMirror-gutter-elt","left: "+n.gutterLeft[c]+"px; width: "+n.gutterWidth[c]+"px"))}}}function pr(e,t,r){t.alignable&&(t.alignable=null);for(var n=t.node.firstChild,i=void 0;n;n=i)i=n.nextSibling,"CodeMirror-linewidget"==n.className&&t.node.removeChild(n);mr(e,t,r)}function mr(e,t,r){if(gr(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++)gr(e,t.rest[n],t,r,!1)}function gr(e,t,r,n,i){if(t.widgets)for(var o=cr(r),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=O("div",[l.node],"CodeMirror-linewidget");l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),vr(l,c,r,n),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,r.gutter||r.text):o.appendChild(c),ar(l,"redraw")}}function vr(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function yr(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!E(document.body,e.node)){var r="position: relative;";e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),T(t.display.measure,O("div",[e.node],null,r))}return e.height=e.node.parentNode.offsetHeight}function br(e,t){for(var r=Se(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function xr(e){return e.lineSpace.offsetTop}function wr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function kr(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=T(e.measure,O("pre","x")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(n.left)||isNaN(n.right)||(e.cachedPaddingH=n),n}function Cr(e){return q-e.display.nativeBarWidth}function Sr(e){return e.display.scroller.clientWidth-Cr(e)-e.display.barWidth}function _r(e){return e.display.scroller.clientHeight-Cr(e)-e.display.barHeight}function Lr(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};for(var i=0;i<e.rest.length;i++)if(Ye(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Mr(e,t,r,n){return Or(e,Ar(e,t),r,n)}function Tr(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[an(e,t)];var r=e.display.externalMeasured;return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0}function Ar(e,t){var r=Ye(t),n=Tr(e,r);n&&!n.text?n=null:n&&n.changes&&(lr(e,n,r,en(e)),e.curOp.forceUpdate=!0),n||(n=function(e,t){var r=Ye(t=Ft(t)),n=e.display.externalMeasured=new rr(e.doc,t,r);n.lineN=r;var i=n.built=Yt(e,n);return n.text=i.pre,T(e.display.lineMeasure,i.pre),n}(e,t));var i=Lr(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Or(e,t,r,n,i){t.before&&(r=-1);var o,a=r+(n||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(!function(e,t,r){var n=e.options.lineWrapping,i=n&&Sr(e);if(!t.measure.heights||n&&t.measure.width!=i){var o=t.measure.heights=[];if(n){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];2<Math.abs(l.bottom-c.bottom)&&o.push((l.bottom+c.top)/2-r.top)}}o.push(r.bottom-r.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,r,n){var i,o=Ir(t.map,r,n),a=o.node,s=o.start,l=o.end,c=o.collapse;if(3==a.nodeType){for(var u=0;u<4;u++){for(;s&&ie(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+l<o.coverEnd&&ie(t.line.text.charAt(o.coverStart+l));)++l;if((i=w&&k<9&&0==s&&l==o.coverEnd-o.coverStart?a.parentNode.getBoundingClientRect():Pr(_(a,s,l).getClientRects(),n)).left||i.right||0==s)break;l=s,s-=1,c="right"}w&&k<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Re)return Re;var t=T(e,O("span","x")),r=t.getBoundingClientRect(),n=_(t,0,1).getBoundingClientRect();return Re=1<Math.abs(r.left-n.left)}(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n}}(e.display.measure,i))}else{var f;0<s&&(c=n="right"),i=e.options.lineWrapping&&1<(f=a.getClientRects()).length?f["right"==n?f.length-1:0]:a.getBoundingClientRect()}if(w&&k<9&&!s&&(!i||!i.left&&!i.right)){var d=a.parentNode.getClientRects()[0];i=d?{left:d.left,right:d.left+Zr(e.display),top:d.top,bottom:d.bottom}:Nr}for(var h=i.top-t.rect.top,p=i.bottom-t.rect.top,m=(h+p)/2,g=t.view.measure.heights,v=0;v<g.length-1&&!(m<g[v]);v++);var y=v?g[v-1]:0,b=g[v],x={left:("right"==c?i.right:i.left)-t.rect.left,right:("left"==c?i.left:i.right)-t.rect.left,top:y,bottom:b};i.left||i.right||(x.bogus=!0);e.options.singleCursorHeightPerLine||(x.rtop=h,x.rbottom=p);return x}(e,t,r,n)).bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var Er,Nr={left:0,right:0,top:0,bottom:0};function Ir(e,t,r){for(var n,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?o=(i=t-s)+1:(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,l<=t&&(a="right")),null!=i){if(n=e[c+2],s==l&&r==(n.insertLeft?"left":"right")&&(a=r),"left"==r&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)n=e[2+(c-=3)],a="left";if("right"==r&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)n=e[(c+=3)+2],a="right";break}return{node:n,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function Pr(e,t){var r=Nr;if("left"==t)for(var n=0;n<e.length&&(r=e[n]).left==r.right;n++);else for(var i=e.length-1;0<=i&&(r=e[i]).left==r.right;i--);return r}function Rr(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Br(e){e.display.externalMeasure=null,M(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Rr(e.display.view[t])}function Dr(e){Br(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Fr(){return a&&f?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function zr(){return a&&f?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Wr(e){var t=0;if(e.widgets)for(var r=0;r<e.widgets.length;++r)e.widgets[r].above&&(t+=yr(e.widgets[r]));return t}function qr(e,t,r,n,i){if(!i){var o=Wr(t);r.top+=o,r.bottom+=o}if("line"==n)return r;n||(n="local");var a=jt(t);if("local"==n?a+=xr(e.display):a-=e.display.viewOffset,"page"==n||"window"==n){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==n?0:zr());var l=s.left+("window"==n?0:Fr());r.left+=l,r.right+=l}return r.top+=a,r.bottom+=a,r}function Hr(e,t,r){if("div"==r)return t;var n=t.left,i=t.top;if("page"==r)n-=Fr(),i-=zr();else if("local"==r||!r){var o=e.display.sizer.getBoundingClientRect();n+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:n-a.left,top:i-a.top}}function jr(e,t,r,n,i){return n||(n=Ve(e.doc,t.line)),qr(e,n,Mr(e,n,t.ch,i),r)}function Kr(n,e,i,o,a,s){function l(e,t){var r=Or(n,a,e,t?"right":"left",s);return t?r.left=r.right:r.right=r.left,qr(n,o,r,i)}o=o||Ve(n.doc,e.line),a||(a=Ar(n,o));var c=ue(o,n.doc.direction),t=e.ch,r=e.sticky;if(t>=o.text.length?(t=o.text.length,r="before"):t<=0&&(t=0,r="after"),!c)return l("before"==r?t-1:t,"before"==r);function u(e,t,r){return l(r?e-1:e,1==c[t].level!=r)}var f=le(c,t,r),d=se,h=u(t,f,"before"==r);return null!=d&&(h.other=u(t,d,"before"!=r)),h}function Ur(e,t){var r=0;t=st(e.doc,t),e.options.lineWrapping||(r=Zr(e.display)*t.ch);var n=Ve(e.doc,t.line),i=jt(n)+xr(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function Vr(e,t,r,n,i){var o=et(e,t,r);return o.xRel=i,n&&(o.outside=!0),o}function $r(e,t,r){var n=e.doc;if((r+=e.display.viewOffset)<0)return Vr(n.first,0,null,!0,-1);var i=Qe(n,r),o=n.first+n.size-1;if(o<i)return Vr(n.first+n.size-1,Ve(n,o).text.length,null,!0,1);t<0&&(t=0);for(var a=Ve(n,i);;){var s=Qr(e,a,i,t,r),l=Bt(a,s.ch+(0<s.xRel?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Ve(n,i=c.line)}}function Gr(t,e,r,n){n-=Wr(e);var i=e.text.length,o=ae(function(e){return Or(t,r,e-1).bottom<=n},i,0);return{begin:o,end:i=ae(function(e){return Or(t,r,e).top>n},o,i)}}function Xr(e,t,r,n){return r||(r=Ar(e,t)),Gr(e,t,r,qr(e,t,Or(e,r,n),"line").top)}function Yr(e,t,r,n){return!(e.bottom<=r)&&(e.top>r||(n?e.left:e.right)>t)}function Qr(r,e,t,n,i){i-=jt(e);var o=Ar(r,e),a=Wr(e),s=0,l=e.text.length,c=!0,u=ue(e,r.doc.direction);if(u){var f=(r.options.lineWrapping?function(e,t,r,n,i,o,a){var s=Gr(e,t,n,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,f=null,d=0;d<i.length;d++){var h=i[d];if(!(h.from>=c||h.to<=l)){var p=1!=h.level,m=Or(e,n,p?Math.min(c,h.to)-1:Math.max(l,h.from)).right,g=m<o?o-m+1e9:m-o;(!u||g<f)&&(u=h,f=g)}}u||(u=i[i.length-1]);u.from<l&&(u={from:l,to:u.to,level:u.level});u.to>c&&(u={from:u.from,to:c,level:u.level});return u}:function(n,i,o,a,s,l,c){var e=ae(function(e){var t=s[e],r=1!=t.level;return Yr(Kr(n,et(o,r?t.to:t.from,r?"before":"after"),"line",i,a),l,c,!0)},0,s.length-1),t=s[e];if(0<e){var r=1!=t.level,u=Kr(n,et(o,r?t.from:t.to,r?"after":"before"),"line",i,a);Yr(u,l,c,!0)&&u.top>c&&(t=s[e-1])}return t})(r,e,t,o,u,n,i);s=(c=1!=f.level)?f.from:f.to-1,l=c?f.to:f.from-1}var d,h,p=null,m=null,g=ae(function(e){var t=Or(r,o,e);return t.top+=a,t.bottom+=a,!!Yr(t,n,i,!1)&&(t.top<=i&&t.left<=n&&(p=e,m=t),!0)},s,l),v=!1;if(m){var y=n-m.left<m.right-n,b=y==c;g=p+(b?0:1),h=b?"after":"before",d=y?m.left:m.right}else{c||g!=l&&g!=s||g++,h=0==g?"after":g==e.text.length?"before":Or(r,o,g-(c?1:0)).bottom+a<=i==c?"after":"before";var x=Kr(r,et(t,g,h),"line",e,o);d=x.left,v=i<x.top||i>=x.bottom}return Vr(t,g=oe(e.text,g,1),h,v,n-d)}function Jr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Er){Er=O("pre");for(var t=0;t<49;++t)Er.appendChild(document.createTextNode("x")),Er.appendChild(O("br"));Er.appendChild(document.createTextNode("x"))}T(e.measure,Er);var r=Er.offsetHeight/50;return 3<r&&(e.cachedTextHeight=r),M(e.measure),r||1}function Zr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=O("span","xxxxxxxxxx"),r=O("pre",[t]);T(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return 2<i&&(e.cachedCharWidth=i),i||10}function en(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;r[s]=o.offsetLeft+o.clientLeft+i,n[s]=o.clientWidth}return{fixedPos:tn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function tn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function rn(n){var i=Jr(n.display),o=n.options.lineWrapping,a=o&&Math.max(5,n.display.scroller.clientWidth/Zr(n.display)-3);return function(e){if(qt(n.doc,e))return 0;var t=0;if(e.widgets)for(var r=0;r<e.widgets.length;r++)e.widgets[r].height&&(t+=e.widgets[r].height);return o?t+(Math.ceil(e.text.length/a)||1)*i:t+i}}function nn(e){var t=e.doc,r=rn(e);t.iter(function(e){var t=r(e);t!=e.height&&Xe(e,t)})}function on(e,t,r,n){var i=e.display;if(!r&&"true"==Se(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,c=$r(e,o,a);if(n&&1==c.xRel&&(l=Ve(e.doc,c.line).text).length==c.ch){var u=F(l,l.length,e.options.tabSize)-l.length;c=et(c.line,Math.max(0,Math.round((o-kr(e.display).left)/Zr(e.display))-u))}return c}function an(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var r=e.display.view,n=0;n<r.length;n++)if((t-=r[n].size)<0)return n}function sn(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&r<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)kt&&zt(e.doc,t)<i.viewTo&&cn(e);else if(r<=i.viewFrom)kt&&Wt(e.doc,r+n)>i.viewFrom?cn(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)cn(e);else if(t<=i.viewFrom){var o=un(e,r,r+n,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=n):cn(e)}else if(r>=i.viewTo){var a=un(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):cn(e)}else{var s=un(e,t,t,-1),l=un(e,r,r+n,1);s&&l?(i.view=i.view.slice(0,s.index).concat(nr(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=n):cn(e)}var c=i.externalMeasured;c&&(r<c.lineN?c.lineN+=n:t<c.lineN+c.size&&(i.externalMeasured=null))}function ln(e,t,r){e.curOp.viewChanged=!0;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var o=n.view[an(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==W(a,r)&&a.push(r)}}}function cn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function un(e,t,r,n){var i,o=an(e,t),a=e.display.view;if(!kt||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(0<n){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,r+=i}for(;zt(e.doc,r)!=r;){if(o==(n<0?0:a.length-1))return null;r+=n*a[o-(n<0?1:0)].size,o+=n}return{index:o,lineN:r}}function fn(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n];i.hidden||i.node&&!i.changes||++r}return r}function dn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function hn(e,t){void 0===t&&(t=!0);for(var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment(),a=0;a<r.sel.ranges.length;a++)if(t||a!=r.sel.primIndex){var s=r.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&pn(e,s.head,i),l||gn(e,s,o)}}return n}function pn(e,t,r){var n=Kr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=r.appendChild(O("div"," ","CodeMirror-cursor"));if(i.style.left=n.left+"px",i.style.top=n.top+"px",i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var o=r.appendChild(O("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=n.other.left+"px",o.style.top=n.other.top+"px",o.style.height=.85*(n.other.bottom-n.other.top)+"px"}}function mn(e,t){return e.top-t.top||e.left-t.left}function gn(a,e,t){var r=a.display,n=a.doc,i=document.createDocumentFragment(),o=kr(a.display),L=o.left,M=Math.max(r.sizerWidth,Sr(a)-r.sizer.offsetLeft)-o.right,T="ltr"==n.direction;function A(e,t,r,n){t<0&&(t=0),t=Math.round(t),n=Math.round(n),i.appendChild(O("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==r?M-e:r)+"px;\n height: "+(n-t)+"px"))}function s(r,y,b){var x,w,o=Ve(n,r),k=o.text.length;function C(e,t){return jr(a,et(r,e),"div",o,t)}function S(e,t,r){var n=Xr(a,o,null,e),i="ltr"==t==("after"==r)?"left":"right";return C("after"==r?n.begin:n.end-(/\s/.test(o.text.charAt(n.end-1))?2:1),i)[i]}var _=ue(o,n.direction);return function(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<r&&a.to>t||t==r&&a.to==t)&&(n(Math.max(a.from,t),Math.min(a.to,r),1==a.level?"rtl":"ltr",o),i=!0)}i||n(t,r,"ltr")}(_,y||0,null==b?k:b,function(e,t,r,n){var i="ltr"==r,o=C(e,i?"left":"right"),a=C(t-1,i?"right":"left"),s=null==y&&0==e,l=null==b&&t==k,c=0==n,u=!_||n==_.length-1;if(a.top-o.top<=3){var f=(T?l:s)&&u,d=(T?s:l)&&c?L:(i?o:a).left,h=f?M:(i?a:o).right;A(d,o.top,h-d,o.bottom)}else{var p,m,g,v;v=i?(p=T&&s&&c?L:o.left,m=T?M:S(e,r,"before"),g=T?L:S(t,r,"after"),T&&l&&u?M:a.right):(p=T?S(e,r,"before"):L,m=!T&&s&&c?M:o.right,g=!T&&l&&u?L:a.left,T?S(t,r,"after"):M),A(p,o.top,m-p,o.bottom),o.bottom<a.top&&A(L,o.bottom,null,a.top),A(g,a.top,v-g,a.bottom)}(!x||mn(o,x)<0)&&(x=o),mn(a,x)<0&&(x=a),(!w||mn(o,w)<0)&&(w=o),mn(a,w)<0&&(w=a)}),{start:x,end:w}}var l=e.from(),c=e.to();if(l.line==c.line)s(l.line,l.ch,c.ch);else{var u=Ve(n,l.line),f=Ve(n,c.line),d=Ft(u)==Ft(f),h=s(l.line,l.ch,d?u.text.length+1:null).end,p=s(c.line,d?0:null,c.ch).start;d&&(h.top<p.top-2?(A(h.right,h.top,null,h.bottom),A(L,p.top,p.left,p.bottom)):A(h.right,h.top,p.left-h.right,h.bottom)),h.bottom<p.top&&A(L,h.bottom,null,p.top)}t.appendChild(i)}function vn(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",0<e.options.cursorBlinkRate?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(r=!r)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function yn(e){e.state.focused||(e.display.input.focus(),xn(e))}function bn(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,wn(e))},100)}function xn(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(me(e,"focus",e,t),e.state.focused=!0,I(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),b&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),vn(e))}function wn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(me(e,"blur",e,t),e.state.focused=!1,L(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function kn(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var i=t.view[n],o=e.options.lineWrapping,a=void 0,s=0;if(!i.hidden){if(w&&k<8){var l=i.node.offsetTop+i.node.offsetHeight;a=l-r,r=l}else{var c=i.node.getBoundingClientRect();a=c.bottom-c.top,!o&&i.text.firstChild&&(s=i.text.firstChild.getBoundingClientRect().right-c.left-1)}var u=i.line.height-a;if((.005<u||u<-.005)&&(Xe(i.line,a),Cn(i.line),i.rest))for(var f=0;f<i.rest.length;f++)Cn(i.rest[f]);if(s>e.display.sizerWidth){var d=Math.ceil(s/Zr(e.display));d>e.display.maxLineLength&&(e.display.maxLineLength=d,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Cn(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode;n&&(r.height=n.offsetHeight)}}function Sn(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-xr(e));var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,o=Qe(t,n),a=Qe(t,i);if(r&&r.ensure){var s=r.ensure.from.line,l=r.ensure.to.line;s<o?a=Qe(t,jt(Ve(t,o=s))+e.wrapper.clientHeight):Math.min(l,t.lastLine())>=a&&(o=Qe(t,jt(Ve(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function _n(e,t){var r=e.display,n=Jr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:r.scroller.scrollTop,o=_r(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+wr(r),l=t.top<n,c=t.bottom>s-n;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:r.scroller.scrollLeft,d=Sr(e)-(e.options.fixedGutter?r.gutters.offsetWidth:0),h=t.right-t.left>d;return h&&(t.right=t.left+d),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(h?0:10)):t.right>d+f-3&&(a.scrollLeft=t.right+(h?0:10)-d),a}function Ln(e,t){null!=t&&(An(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Mn(e){An(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Tn(e,t,r){null==t&&null==r||An(e),null!=t&&(e.curOp.scrollLeft=t),null!=r&&(e.curOp.scrollTop=r)}function An(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,On(e,Ur(e,t.from),Ur(e,t.to),t.margin))}function On(e,t,r,n){var i=_n(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});Tn(e,i.scrollLeft,i.scrollTop)}function En(e,t){Math.abs(e.doc.scrollTop-t)<2||(m||ni(e,{top:t}),Nn(e,t,!0),m&&ni(e),Jn(e,100))}function Nn(e,t,r){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function In(e,t,r,n){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n||(e.doc.scrollLeft=t,ai(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Pn(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+wr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Cr(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var Rn=function(e,t,r){this.cm=r;var n=this.vert=O("div",[O("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=O("div",[O("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1,e(n),e(i),de(n,"scroll",function(){n.clientHeight&&t(n.scrollTop,"vertical")}),de(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,w&&k<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Rn.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&0<e.clientHeight&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},Rn.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Rn.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Rn.prototype.zeroWidthHack=function(){var e=x&&!s?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new z,this.disableVert=new z},Rn.prototype.enableZeroWidthBar=function(r,n,i){r.style.pointerEvents="auto",n.set(1e3,function e(){var t=r.getBoundingClientRect();("vert"==i?document.elementFromPoint(t.right-1,(t.top+t.bottom)/2):document.elementFromPoint((t.right+t.left)/2,t.bottom-1))!=r?r.style.pointerEvents="none":n.set(1e3,e)})},Rn.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Bn=function(){};function Dn(e,t){t||(t=Pn(e));var r=e.display.barWidth,n=e.display.barHeight;Fn(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&kn(e),Fn(e,Pn(e)),r=e.display.barWidth,n=e.display.barHeight}function Fn(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}Bn.prototype.update=function(){return{bottom:0,right:0}},Bn.prototype.setScrollLeft=function(){},Bn.prototype.setScrollTop=function(){},Bn.prototype.clear=function(){};var zn={native:Rn,null:Bn};function Wn(r){r.display.scrollbars&&(r.display.scrollbars.clear(),r.display.scrollbars.addClass&&L(r.display.wrapper,r.display.scrollbars.addClass)),r.display.scrollbars=new zn[r.options.scrollbarStyle](function(e){r.display.wrapper.insertBefore(e,r.display.scrollbarFiller),de(e,"mousedown",function(){r.state.focused&&setTimeout(function(){return r.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,t){"horizontal"==t?In(r,e):En(r,e)},r),r.display.scrollbars.addClass&&I(r.display.wrapper,r.display.scrollbars.addClass)}var qn=0;function Hn(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++qn},t=e.curOp,ir?ir.ops.push(t):t.ownsGroup=ir={ops:[t],delayedCallbacks:[]}}function jn(e){var t=e.curOp;t&&function(e,t){var r=e.ownsGroup;if(r)try{!function(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++)t[r].call(null);for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(r<t.length)}(r)}finally{ir=null,t(r)}}(t,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,r=0;r<t.length;r++)Kn(t[r]);for(var n=0;n<t.length;n++)(i=t[n]).updatedDisplay=i.mustUpdate&&ti(i.cm,i.update);var i;for(var o=0;o<t.length;o++)Un(t[o]);for(var a=0;a<t.length;a++)Vn(t[a]);for(var s=0;s<t.length;s++)$n(t[s])}(e)})}function Kn(e){var t,r,n=e.cm,i=n.display;!(r=(t=n).display).scrollbarsClipped&&r.scroller.offsetWidth&&(r.nativeBarWidth=r.scroller.offsetWidth-r.scroller.clientWidth,r.heightForcer.style.height=Cr(t)+"px",r.sizer.style.marginBottom=-r.nativeBarWidth+"px",r.sizer.style.borderRightWidth=Cr(t)+"px",r.scrollbarsClipped=!0),e.updateMaxLine&&Ut(n),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<i.viewFrom||e.scrollToPos.to.line>=i.viewTo)||i.maxLineChanged&&n.options.lineWrapping,e.update=e.mustUpdate&&new ei(n,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Un(e){var t=e.cm,r=t.display;e.updatedDisplay&&kn(t),e.barMeasure=Pn(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Mr(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Cr(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Sr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function Vn(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&In(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==N();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Dn(t,e.barMeasure),e.updatedDisplay&&oi(t,e.barMeasure),e.selectionChanged&&vn(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&yn(e.cm)}function $n(e){var t=e.cm,r=t.display,n=t.doc;(e.updatedDisplay&&ri(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null!=e.scrollTop&&Nn(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&In(t,e.scrollLeft,!0,!0),e.scrollToPos)&&function(e,t){if(!ge(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!c){var o=O("div","",null,"position: absolute;\n top: "+(t.top-r.viewOffset-xr(e.display))+"px;\n height: "+(t.bottom-t.top+Cr(e)+r.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,r,n){var i;null==n&&(n=0),e.options.lineWrapping||t!=r||(r="before"==(t=t.ch?et(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?et(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=Kr(e,t),l=r&&r!=t?Kr(e,r):s,c=_n(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-n,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+n}),u=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=c.scrollTop&&(En(e,c.scrollTop),1<Math.abs(e.doc.scrollTop-u)&&(a=!0)),null!=c.scrollLeft&&(In(e,c.scrollLeft),1<Math.abs(e.doc.scrollLeft-f)&&(a=!0)),!a)break}return i}(t,st(n,e.scrollToPos.from),st(n,e.scrollToPos.to),e.scrollToPos.margin));var i=e.maybeHiddenMarkers,o=e.maybeUnhiddenMarkers;if(i)for(var a=0;a<i.length;++a)i[a].lines.length||me(i[a],"hide");if(o)for(var s=0;s<o.length;++s)o[s].lines.length&&me(o[s],"unhide");r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&me(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Gn(e,t){if(e.curOp)return t();Hn(e);try{return t()}finally{jn(e)}}function Xn(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Hn(e);try{return t.apply(e,arguments)}finally{jn(e)}}}function Yn(e){return function(){if(this.curOp)return e.apply(this,arguments);Hn(this);try{return e.apply(this,arguments)}finally{jn(this)}}}function Qn(t){return function(){var e=this.cm;if(!e||e.curOp)return t.apply(this,arguments);Hn(e);try{return t.apply(this,arguments)}finally{jn(e)}}}function Jn(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,B(Zn,e))}function Zn(l){var c=l.doc;if(!(c.highlightFrontier>=l.display.viewTo)){var u=+new Date+l.options.workTime,f=ht(l,c.highlightFrontier),d=[];c.iter(f.line,Math.min(c.first+c.size,l.display.viewTo+500),function(e){if(f.line>=l.display.viewFrom){var t=e.styles,r=e.text.length>l.options.maxHighlightLength?He(c.mode,f.state):null,n=ft(l,e,f,!0);r&&(f.state=r),e.styles=n.styles;var i=e.styleClasses,o=n.classes;o?e.styleClasses=o:i&&(e.styleClasses=null);for(var a=!t||t.length!=e.styles.length||i!=o&&(!i||!o||i.bgClass!=o.bgClass||i.textClass!=o.textClass),s=0;!a&&s<t.length;++s)a=t[s]!=e.styles[s];a&&d.push(f.line),e.stateAfter=f.save(),f.nextLine()}else e.text.length<=l.options.maxHighlightLength&&pt(l,e.text,f),e.stateAfter=f.line%5==0?f.save():null,f.nextLine();if(+new Date>u)return Jn(l,l.options.workDelay),!0}),c.highlightFrontier=f.line,c.modeFrontier=Math.max(c.modeFrontier,f.line),d.length&&Gn(l,function(){for(var e=0;e<d.length;e++)ln(l,d[e],"text")})}}var ei=function(e,t,r){var n=e.display;this.viewport=t,this.visible=Sn(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=Sr(e),this.force=r,this.dims=en(e),this.events=[]};function ti(e,t){var r=e.display,n=e.doc;if(t.editorIsHidden)return cn(e),!1;if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==fn(e))return!1;si(e)&&(cn(e),t.dims=en(e));var i=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFrom<o&&o-r.viewFrom<20&&(o=Math.max(n.first,r.viewFrom)),r.viewTo>a&&r.viewTo-a<20&&(a=Math.min(i,r.viewTo)),kt&&(o=zt(e.doc,o),a=Wt(e.doc,a));var s,l,c,u,f=o!=r.viewFrom||a!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;l=o,c=a,0==(u=(s=e).display).view.length||l>=u.viewTo||c<=u.viewFrom?(u.view=nr(s,l,c),u.viewFrom=l):(u.viewFrom>l?u.view=nr(s,l,u.viewFrom).concat(u.view):u.viewFrom<l&&(u.view=u.view.slice(an(s,l))),u.viewFrom=l,u.viewTo<c?u.view=u.view.concat(nr(s,u.viewTo,c)):u.viewTo>c&&(u.view=u.view.slice(0,an(s,c)))),u.viewTo=c,r.viewOffset=jt(Ve(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var d=fn(e);if(!f&&0==d&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var h=function(e){if(e.hasFocus())return null;var t=N();if(!t||!E(e.display.lineDiv,t))return null;var r={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&E(e.display.lineDiv,n.anchorNode)&&(r.anchorNode=n.anchorNode,r.anchorOffset=n.anchorOffset,r.focusNode=n.focusNode,r.focusOffset=n.focusOffset)}return r}(e);return 4<d&&(r.lineDiv.style.display="none"),function(r,e,t){var n=r.display,i=r.options.lineNumbers,o=n.lineDiv,a=o.firstChild;function s(e){var t=e.nextSibling;return b&&x&&r.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),t}for(var l=n.view,c=n.viewFrom,u=0;u<l.length;u++){var f=l[u];if(f.hidden);else if(f.node&&f.node.parentNode==o){for(;a!=f.node;)a=s(a);var d=i&&null!=e&&e<=c&&f.lineNumber;f.changes&&(-1<W(f.changes,"gutter")&&(d=!1),lr(r,f,c,t)),d&&(M(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(Ze(r.options,c)))),a=f.node.nextSibling}else{var h=(g=c,v=t,void 0,y=ur(p=r,m=f),m.text=m.node=y.pre,y.bgClass&&(m.bgClass=y.bgClass),y.textClass&&(m.textClass=y.textClass),dr(p,m),hr(p,m,g,v),mr(p,m,v),m.node);o.insertBefore(h,a)}c+=f.size}var p,m,g,v,y;for(;a;)a=s(a)}(e,r.updateLineNumbers,t.dims),4<d&&(r.lineDiv.style.display=""),r.renderedView=r.view,function(e){if(e&&e.activeElt&&e.activeElt!=N()&&(e.activeElt.focus(),e.anchorNode&&E(document.body,e.anchorNode)&&E(document.body,e.focusNode))){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.focusNode,e.focusOffset)}}(h),M(r.cursorDiv),M(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,f&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,Jn(e,400)),!(r.updateLineNumbers=null)}function ri(e,t){for(var r=t.viewport,n=!0;(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Sr(e)||(r&&null!=r.top&&(r={top:Math.min(e.doc.height+wr(e.display)-_r(e),r.top)}),t.visible=Sn(e.display,e.doc,r),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&ti(e,t);n=!1){kn(e);var i=Pn(e);dn(e),Dn(e,i),oi(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function ni(e,t){var r=new ei(e,t);if(ti(e,r)){kn(e),ri(e,r);var n=Pn(e);dn(e),Dn(e,n),oi(e,n),r.finish()}}function ii(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function oi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Cr(e)+"px"}function ai(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=tn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=n+"px",a=0;a<r.length;a++)if(!r[a].hidden){e.options.fixedGutter&&(r[a].gutter&&(r[a].gutter.style.left=o),r[a].gutterBackground&&(r[a].gutterBackground.style.left=o));var s=r[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px")}}function si(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=Ze(e.options,t.first+t.size-1),n=e.display;if(r.length==n.lineNumChars)return!1;var i=n.measure.appendChild(O("div",[O("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(o,n.lineGutter.offsetWidth-a)+1,n.lineNumWidth=n.lineNumInnerWidth+a,n.lineNumChars=n.lineNumInnerWidth?r.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",ii(e.display),!0}function li(e,t){for(var r=[],n=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;n=!0}r.push({className:o,style:a})}return t&&!n&&r.push({className:"CodeMirror-linenumbers",style:null}),r}function ci(e){var t=e.gutters,r=e.gutterSpecs;M(t),e.lineGutter=null;for(var n=0;n<r.length;++n){var i=r[n],o=i.className,a=i.style,s=t.appendChild(O("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&((e.lineGutter=s).style.width=(e.lineNumWidth||1)+"px")}t.style.display=r.length?"":"none",ii(e)}function ui(e){ci(e.display),sn(e),ai(e)}function fi(e,t,r,n){var i=this;this.input=r,i.scrollbarFiller=O("div",null,"CodeMirror-scrollbar-filler"),i.scrollbarFiller.setAttribute("cm-not-content","true"),i.gutterFiller=O("div",null,"CodeMirror-gutter-filler"),i.gutterFiller.setAttribute("cm-not-content","true"),i.lineDiv=A("div",null,"CodeMirror-code"),i.selectionDiv=O("div",null,null,"position: relative; z-index: 1"),i.cursorDiv=O("div",null,"CodeMirror-cursors"),i.measure=O("div",null,"CodeMirror-measure"),i.lineMeasure=O("div",null,"CodeMirror-measure"),i.lineSpace=A("div",[i.measure,i.lineMeasure,i.selectionDiv,i.cursorDiv,i.lineDiv],null,"position: relative; outline: none");var o=A("div",[i.lineSpace],"CodeMirror-lines");i.mover=O("div",[o],null,"position: relative"),i.sizer=O("div",[i.mover],"CodeMirror-sizer"),i.sizerWidth=null,i.heightForcer=O("div",null,null,"position: absolute; height: "+q+"px; width: 1px;"),i.gutters=O("div",null,"CodeMirror-gutters"),i.lineGutter=null,i.scroller=O("div",[i.sizer,i.heightForcer,i.gutters],"CodeMirror-scroll"),i.scroller.setAttribute("tabIndex","-1"),i.wrapper=O("div",[i.scrollbarFiller,i.gutterFiller,i.scroller],"CodeMirror"),w&&k<8&&(i.gutters.style.zIndex=-1,i.scroller.style.paddingRight=0),b||m&&d||(i.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(i.wrapper):e(i.wrapper)),i.viewFrom=i.viewTo=t.first,i.reportedViewFrom=i.reportedViewTo=t.first,i.view=[],i.renderedView=null,i.externalMeasured=null,i.viewOffset=0,i.lastWrapHeight=i.lastWrapWidth=0,i.updateLineNumbers=null,i.nativeBarWidth=i.barHeight=i.barWidth=0,i.scrollbarsClipped=!1,i.lineNumWidth=i.lineNumInnerWidth=i.lineNumChars=null,i.alignWidgets=!1,i.cachedCharWidth=i.cachedTextHeight=i.cachedPaddingH=null,i.maxLine=null,i.maxLineLength=0,i.maxLineChanged=!1,i.wheelDX=i.wheelDY=i.wheelStartX=i.wheelStartY=null,i.shift=!1,i.selForContextMenu=null,i.activeTouch=null,i.gutterSpecs=li(n.gutters,n.lineNumbers),ci(i),r.init(i)}ei.prototype.signal=function(e,t){ye(e,t)&&this.events.push(arguments)},ei.prototype.finish=function(){for(var e=0;e<this.events.length;e++)me.apply(null,this.events[e])};var di=0,hi=null;function pi(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}}function mi(e){var t=pi(e);return t.x*=hi,t.y*=hi,t}function gi(e,t){var r=pi(t),n=r.x,i=r.y,o=e.display,a=o.scroller,s=a.scrollWidth>a.clientWidth,l=a.scrollHeight>a.clientHeight;if(n&&s||i&&l){if(i&&x&&b)e:for(var c=t.target,u=o.view;c!=a;c=c.parentNode)for(var f=0;f<u.length;f++)if(u[f].node==c){e.display.currentWheelTarget=c;break e}if(n&&!m&&!g&&null!=hi)return i&&l&&En(e,Math.max(0,a.scrollTop+i*hi)),In(e,Math.max(0,a.scrollLeft+n*hi)),(!i||i&&l)&&xe(t),void(o.wheelStartX=null);if(i&&null!=hi){var d=i*hi,h=e.doc.scrollTop,p=h+o.wrapper.clientHeight;d<0?h=Math.max(0,h+d-50):p=Math.min(e.doc.height,p+d+50),ni(e,{top:h,bottom:p})}di<20&&(null==o.wheelStartX?(o.wheelStartX=a.scrollLeft,o.wheelStartY=a.scrollTop,o.wheelDX=n,o.wheelDY=i,setTimeout(function(){if(null!=o.wheelStartX){var e=a.scrollLeft-o.wheelStartX,t=a.scrollTop-o.wheelStartY,r=t&&o.wheelDY&&t/o.wheelDY||e&&o.wheelDX&&e/o.wheelDX;o.wheelStartX=o.wheelStartY=null,r&&(hi=(hi*di+r)/(di+1),++di)}},200)):(o.wheelDX+=n,o.wheelDY+=i))}}w?hi=-.53:m?hi=15:a?hi=-.7:l&&(hi=-1/3);var vi=function(e,t){this.ranges=e,this.primIndex=t};vi.prototype.primary=function(){return this.ranges[this.primIndex]},vi.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t];if(!rt(r.anchor,n.anchor)||!rt(r.head,n.head))return!1}return!0},vi.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new yi(nt(this.ranges[t].anchor),nt(this.ranges[t].head));return new vi(e,this.primIndex)},vi.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},vi.prototype.contains=function(e,t){t||(t=e);for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r];if(0<=tt(t,n.from())&&tt(e,n.to())<=0)return r}return-1};var yi=function(e,t){this.anchor=e,this.head=t};function bi(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r];t.sort(function(e,t){return tt(e.from(),t.from())}),r=W(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=tt(s.to(),a.from());if(n&&!a.empty()?0<l:0<=l){var c=ot(s.from(),a.from()),u=it(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=r&&--r,t.splice(--o,2,new yi(f?u:c,f?c:u))}}return new vi(t,r)}function xi(e,t){return new vi([new yi(e,t||e)],0)}function wi(e){return e.text?et(e.from.line+e.text.length-1,X(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function ki(e,t){if(tt(e,t.from)<0)return e;if(tt(e,t.to)<=0)return wi(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=wi(t).ch-t.to.ch),et(r,n)}function Ci(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new yi(ki(i.anchor,t),ki(i.head,t)))}return bi(e.cm,r,e.sel.primIndex)}function Si(e,t,r){return e.line==t.line?et(r.line,e.ch-t.ch+r.ch):et(r.line+(e.line-t.line),e.ch)}function _i(e){e.doc.mode=ze(e.options,e.doc.modeOption),Li(e)}function Li(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,Jn(e,100),e.state.modeGen++,e.curOp&&sn(e)}function Mi(e,t){return 0==t.from.ch&&0==t.to.ch&&""==X(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Ti(e,n,t,i){function o(e){return t?t[e]:null}function r(e,t,r){!function(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Tt(e),At(e,r);var i=n?n(e):1;i!=e.height&&Xe(e,i)}(e,t,r,i),ar(e,"change",e,n)}function a(e,t){for(var r=[],n=e;n<t;++n)r.push(new Vt(c[n],o(n),i));return r}var s=n.from,l=n.to,c=n.text,u=Ve(e,s.line),f=Ve(e,l.line),d=X(c),h=o(c.length-1),p=l.line-s.line;if(n.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(Mi(e,n)){var m=a(0,c.length-1);r(f,f.text,h),p&&e.remove(s.line,p),m.length&&e.insert(s.line,m)}else if(u==f)if(1==c.length)r(u,u.text.slice(0,s.ch)+d+u.text.slice(l.ch),h);else{var g=a(1,c.length-1);g.push(new Vt(d+u.text.slice(l.ch),h,i)),r(u,u.text.slice(0,s.ch)+c[0],o(0)),e.insert(s.line+1,g)}else if(1==c.length)r(u,u.text.slice(0,s.ch)+c[0]+f.text.slice(l.ch),o(0)),e.remove(s.line+1,p);else{r(u,u.text.slice(0,s.ch)+c[0],o(0)),r(f,d+f.text.slice(l.ch),h);var v=a(1,c.length-1);1<p&&e.remove(s.line+1,p-1),e.insert(s.line+1,v)}ar(e,"change",e,n)}function Ai(e,s,l){!function e(t,r,n){if(t.linked)for(var i=0;i<t.linked.length;++i){var o=t.linked[i];if(o.doc!=r){var a=n&&o.sharedHist;l&&!a||(s(o.doc,a),e(o.doc,t,a))}}}(e,null,!0)}function Oi(e,t){if(t.cm)throw new Error("This document is already in use.");nn((e.doc=t).cm=e),_i(e),Ei(e),e.options.lineWrapping||Ut(e),e.options.mode=t.modeOption,sn(e)}function Ei(e){("rtl"==e.doc.direction?I:L)(e.display.lineDiv,"CodeMirror-rtl")}function Ni(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Ii(e,t){var r={from:nt(t.from),to:wi(t),text:$e(e,t.from,t.to)};return Fi(e,r,t.from.line,t.to.line+1),Ai(e,function(e){return Fi(e,r,t.from.line,t.to.line+1)},!0),r}function Pi(e){for(;e.length;){if(!X(e).ranges)break;e.pop()}}function Ri(e,t,r,n){var i=e.history;i.undone.length=0;var o,a,s,l=+new Date;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>l-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=(s=i).lastOp==n?(Pi(s.done),X(s.done)):s.done.length&&!X(s.done).ranges?X(s.done):1<s.done.length&&!s.done[s.done.length-2].ranges?(s.done.pop(),X(s.done)):void 0))a=X(o.changes),0==tt(t.from,t.to)&&0==tt(t.from,a.to)?a.to=wi(t):o.changes.push(Ii(e,t));else{var c=X(i.done);for(c&&c.ranges||Di(e.sel,i.done),o={changes:[Ii(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=l,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,a||me(e,"historyAdded")}function Bi(e,t,r,n){var i,o,a,s,l,c=e.history,u=n&&n.origin;r==c.lastSelOp||u&&c.lastSelOrigin==u&&(c.lastModTime==c.lastSelTime&&c.lastOrigin==u||(i=e,o=u,a=X(c.done),s=t,"*"==(l=o.charAt(0))||"+"==l&&a.ranges.length==s.ranges.length&&a.somethingSelected()==s.somethingSelected()&&new Date-i.history.lastSelTime<=(i.cm?i.cm.options.historyEventDelay:500)))?c.done[c.done.length-1]=t:Di(t,c.done),c.lastSelTime=+new Date,c.lastSelOrigin=u,c.lastSelOp=r,n&&!1!==n.clearRedo&&Pi(c.undone)}function Di(e,t){var r=X(t);r&&r.ranges&&r.equals(e)||t.push(e)}function Fi(t,r,e,n){var i=r["spans_"+t.id],o=0;t.iter(Math.max(t.first,e),Math.min(t.first+t.size,n),function(e){e.markedSpans&&((i||(i=r["spans_"+t.id]={}))[o]=e.markedSpans),++o})}function zi(e){if(!e)return null;for(var t,r=0;r<e.length;++r)e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t?t.length?t:null:e}function Wi(e,t){var r=function(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var n=[],i=0;i<t.text.length;++i)n.push(zi(r[i]));return n}(e,t),n=Lt(e,t);if(!r)return n;if(!n)return r;for(var i=0;i<r.length;++i){var o=r[i],a=n[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(r[i]=a)}return r}function qi(e,t,r){for(var n=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)n.push(r?vi.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];n.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var f in c)(u=f.match(/^spans_(\d+)$/))&&-1<W(t,Number(u[1]))&&(X(s)[f]=c[f],delete c[f])}}}return n}function Hi(e,t,r,n){if(n){var i=e.anchor;if(r){var o=tt(t,i)<0;o!=tt(r,i)<0?(i=t,t=r):o!=tt(t,r)<0&&(t=r)}return new yi(i,t)}return new yi(r||t,t)}function ji(e,t,r,n,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Gi(e,new vi([Hi(e.sel.primary(),t,r,i)],0),n)}function Ki(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)n[o]=Hi(e.sel.ranges[o],t[o],null,i);Gi(e,bi(e.cm,n,e.sel.primIndex),r)}function Ui(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r,Gi(e,bi(e.cm,i,e.sel.primIndex),n)}function Vi(e,t,r,n){Gi(e,xi(t,r),n)}function $i(e,t,r){var n=e.history.done,i=X(n);i&&i.ranges?Xi(e,n[n.length-1]=t,r):Gi(e,t,r)}function Gi(e,t,r){Xi(e,t,r),Bi(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function Xi(e,t,r){var n,i,o,a;(ye(e,"beforeSelectionChange")||e.cm&&ye(e.cm,"beforeSelectionChange"))&&(n=e,o=r,a={ranges:(i=t).ranges,update:function(e){this.ranges=[];for(var t=0;t<e.length;t++)this.ranges[t]=new yi(st(n,e[t].anchor),st(n,e[t].head))},origin:o&&o.origin},me(n,"beforeSelectionChange",n,a),n.cm&&me(n.cm,"beforeSelectionChange",n.cm,a),t=a.ranges!=i.ranges?bi(n.cm,a.ranges,a.ranges.length-1):i),Yi(e,Ji(e,t,r&&r.bias||(tt(t.primary().head,e.sel.primary().head)<0?-1:1),!0)),r&&!1===r.scroll||!e.cm||Mn(e.cm)}function Yi(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ve(e.cm)),ar(e,"cursorActivity",e))}function Qi(e){Yi(e,Ji(e,e.sel,null,!1))}function Ji(e,t,r,n){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=eo(e,a.anchor,s&&s.anchor,r,n),c=eo(e,a.head,s&&s.head,r,n);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new yi(l,c))}return i?bi(e.cm,i,t.primIndex):t}function Zi(e,t,r,n,i){var o=Ve(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(me(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(r){var f=l.find(n<0?1:-1),d=void 0;if((n<0?u:c)&&(f=to(e,f,-n,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(d=tt(f,r))&&(n<0?d<0:0<d))return Zi(e,f,t,n,i)}var h=l.find(n<0?-1:1);return(n<0?c:u)&&(h=to(e,h,n,h.line==t.line?o:null)),h?Zi(e,h,t,n,i):null}}return t}function eo(e,t,r,n,i){var o=n||1,a=Zi(e,t,r,o,i)||!i&&Zi(e,t,r,o,!0)||Zi(e,t,r,-o,i)||!i&&Zi(e,t,r,-o,!0);return a||(e.cantEdit=!0,et(e.first,0))}function to(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?st(e,et(t.line-1)):null:0<r&&t.ch==(n||Ve(e,t.line)).text.length?t.line<e.first+e.size-1?et(t.line+1,0):null:new et(t.line,t.ch+r)}function ro(e){e.setSelection(et(e.firstLine(),0),et(e.lastLine()),j)}function no(i,e,t){var o={canceled:!1,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return o.canceled=!0}};return t&&(o.update=function(e,t,r,n){e&&(o.from=st(i,e)),t&&(o.to=st(i,t)),r&&(o.text=r),void 0!==n&&(o.origin=n)}),me(i,"beforeChange",i,o),i.cm&&me(i.cm,"beforeChange",i.cm,o),o.canceled?(i.cm&&(i.cm.curOp.updateInput=2),null):{from:o.from,to:o.to,text:o.text,origin:o.origin}}function io(e,t,r){if(e.cm){if(!e.cm.curOp)return Xn(e.cm,io)(e,t,r);if(e.cm.state.suppressEdits)return}if(!(ye(e,"beforeChange")||e.cm&&ye(e.cm,"beforeChange"))||(t=no(e,t,!0))){var n=wt&&!r&&function(e,t,r){var n=null;if(e.iter(t.line,r.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;!r.readOnly||n&&-1!=W(n,r)||(n||(n=[])).push(r)}}),!n)return null;for(var i=[{from:t,to:r}],o=0;o<n.length;++o)for(var a=n[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(tt(c.to,s.from)<0||0<tt(c.from,s.to))){var u=[l,1],f=tt(c.from,s.from),d=tt(c.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:s.from}),(0<d||!a.inclusiveRight&&!d)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(n)for(var i=n.length-1;0<=i;--i)oo(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});else oo(e,t)}}function oo(e,r){if(1!=r.text.length||""!=r.text[0]||0!=tt(r.from,r.to)){var t=Ci(e,r);Ri(e,r,t,e.cm?e.cm.curOp.id:NaN),lo(e,r,t,Lt(e,r));var n=[];Ai(e,function(e,t){t||-1!=W(n,e.history)||(ho(e.history,r),n.push(e.history)),lo(e,r,null,Lt(e,r))})}}function ao(i,o,e){var t=i.cm&&i.cm.state.suppressEdits;if(!t||e){for(var a,r=i.history,n=i.sel,s="undo"==o?r.done:r.undone,l="undo"==o?r.undone:r.done,c=0;c<s.length&&(a=s[c],e?!a.ranges||a.equals(i.sel):a.ranges);c++);if(c!=s.length){for(r.lastOrigin=r.lastSelOrigin=null;;){if(!(a=s.pop()).ranges){if(t)return void s.push(a);break}if(Di(a,l),e&&!a.equals(i.sel))return void Gi(i,a,{clearRedo:!1});n=a}var u=[];Di(n,l),l.push({changes:u,generation:r.generation}),r.generation=a.generation||++r.maxGeneration;for(var f=ye(i,"beforeChange")||i.cm&&ye(i.cm,"beforeChange"),d=function(e){var r=a.changes[e];if(r.origin=o,f&&!no(i,r,!1))return s.length=0,{};u.push(Ii(i,r));var t=e?Ci(i,r):X(s);lo(i,r,t,Wi(i,r)),!e&&i.cm&&i.cm.scrollIntoView({from:r.from,to:wi(r)});var n=[];Ai(i,function(e,t){t||-1!=W(n,e.history)||(ho(e.history,r),n.push(e.history)),lo(e,r,null,Wi(e,r))})},h=a.changes.length-1;0<=h;--h){var p=d(h);if(p)return p.v}}}}function so(e,t){if(0!=t&&(e.first+=t,e.sel=new vi(Y(e.sel.ranges,function(e){return new yi(et(e.anchor.line+t,e.anchor.ch),et(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){sn(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++)ln(e.cm,n,"gutter")}}function lo(e,t,r,n){if(e.cm&&!e.cm.curOp)return Xn(e.cm,lo)(e,t,r,n);if(t.to.line<e.first)so(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);so(e,i),t={from:et(e.first,0),to:et(t.to.line+i,t.to.ch),text:[X(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:et(o,Ve(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=$e(e,t.from,t.to),r||(r=Ci(e,t)),e.cm?function(e,t,r){var n=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Ye(Ft(Ve(n,o.line))),n.iter(l,a.line+1,function(e){if(e==i.maxLine)return s=!0}));-1<n.sel.contains(t.from,t.to)&&ve(e);Ti(n,t,r,rn(e)),e.options.lineWrapping||(n.iter(l,o.line+t.text.length,function(e){var t=Kt(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0));(function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var r=e.first,n=t-1;r<n;n--){var i=Ve(e,n).stateAfter;if(i&&(!(i instanceof ct)||n+i.lookAhead<t)){r=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,r)}})(n,o.line),Jn(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?sn(e):o.line!=a.line||1!=t.text.length||Mi(e.doc,t)?sn(e,o.line,a.line+1,c):ln(e,o.line,"text");var u=ye(e,"changes"),f=ye(e,"change");if(f||u){var d={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&ar(e,"change",e,d),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}e.display.selForContextMenu=null}(e.cm,t,n):Ti(e,t,n),Xi(e,r,j)}}function co(e,t,r,n,i){var o;n||(n=r),tt(n,r)<0&&(r=(o=[n,r])[0],n=o[1]),"string"==typeof t&&(t=e.splitLines(t)),io(e,{from:r,to:n,text:t,origin:i})}function uo(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function fo(e,t,r,n){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)uo(o.ranges[s].anchor,t,r,n),uo(o.ranges[s].head,t,r,n)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(r<c.from.line)c.from=et(c.from.line+n,c.from.ch),c.to=et(c.to.line+n,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function ho(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;fo(e.done,r,n,i),fo(e.undone,r,n,i)}function po(e,t,r,n){var i=t,o=t;return"number"==typeof t?o=Ve(e,at(e,t)):i=Ye(t),null==i?null:(n(o,i)&&e.cm&&ln(e.cm,i,r),o)}function mo(e){this.lines=e,this.parent=null;for(var t=0,r=0;r<e.length;++r)e[r].parent=this,t+=e[r].height;this.height=t}function go(e){this.children=e;for(var t=0,r=0,n=0;n<e.length;++n){var i=e[n];t+=i.chunkSize(),r+=i.height,i.parent=this}this.size=t,this.height=r,this.parent=null}yi.prototype.from=function(){return ot(this.anchor,this.head)},yi.prototype.to=function(){return it(this.anchor,this.head)},yi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},mo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r,n=e,i=e+t;n<i;++n){var o=this.lines[n];this.height-=o.height,(r=o).parent=null,Tt(r),ar(o,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n)t[n].parent=this},iterN:function(e,t,r){for(var n=e+t;e<n;++e)if(r(this.lines[e]))return!0}},go.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize();if(e<i){var o=Math.min(t,i-e),a=n.height;if(n.removeInner(e,o),this.height-=a-n.height,i==o&&(this.children.splice(r--,1),n.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(1<this.children.length||!(this.children[0]instanceof mo))){var s=[];this.collapse(s),this.children=[new mo(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,r){this.size+=t.length,this.height+=r;for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,r),i.lines&&50<i.lines.length){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new mo(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++n,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=new go(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var r=W(e.parent.children,e);e.parent.children.splice(r+1,0,t)}else{var n=new go(e.children);(n.parent=e).children=[n,t],e=n}t.parent=e.parent}while(10<e.children.length);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,r))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var vo=function(e,t,r){if(r)for(var n in r)r.hasOwnProperty(n)&&(this[n]=r[n]);this.doc=e,this.node=t};function yo(e,t,r){jt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Ln(e,r)}vo.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=Ye(r);if(null!=n&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(r.widgets=null);var o=yr(this);Xe(r,Math.max(0,r.height-o)),e&&(Gn(e,function(){yo(e,r,-o),ln(e,n,"widget")}),ar(e,"lineWidgetCleared",e,this,n))}},vo.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,n=this.line;this.height=null;var i=yr(this)-t;i&&(qt(this.doc,n)||Xe(n,n.height+i),r&&Gn(r,function(){r.curOp.forceUpdate=!0,yo(r,n,i),ar(r,"lineWidgetChanged",r,e,Ye(n))}))},be(vo);var bo=0,xo=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++bo};function wo(t,n,i,e,r){if(e&&e.shared)return function(e,r,n,i,o){(i=D(i)).shared=!1;var a=[wo(e,r,n,i,o)],s=a[0],l=i.widgetNode;return Ai(e,function(e){l&&(i.widgetNode=l.cloneNode(!0)),a.push(wo(e,st(e,r),st(e,n),i,o));for(var t=0;t<e.linked.length;++t)if(e.linked[t].isParent)return;s=X(a)}),new ko(a,s)}(t,n,i,e,r);if(t.cm&&!t.cm.curOp)return Xn(t.cm,wo)(t,n,i,e,r);var o=new xo(t,r),a=tt(n,i);if(e&&D(e,o,!1),0<a||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=A("span",[o.replacedWith],"CodeMirror-widget"),e.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),e.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Dt(t,n.line,n,i,o)||n.line!=i.line&&Dt(t,i.line,n,i,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");kt=!0}o.addToHistory&&Ri(t,{from:n,to:i,origin:"markText"},t.sel,NaN);var s,l=n.line,c=t.cm;if(t.iter(l,i.line+1,function(e){var t,r;c&&o.collapsed&&!c.options.lineWrapping&&Ft(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=n.line&&Xe(e,0),t=e,r=new Ct(o,l==n.line?n.ch:null,l==i.line?i.ch:null),t.markedSpans=t.markedSpans?t.markedSpans.concat([r]):[r],r.marker.attachLine(t),++l}),o.collapsed&&t.iter(n.line,i.line+1,function(e){qt(t,e)&&Xe(e,0)}),o.clearOnEnter&&de(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(wt=!0,(t.history.done.length||t.history.undone.length)&&t.clearHistory()),o.collapsed&&(o.id=++bo,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)sn(c,n.line,i.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=n.line;u<=i.line;u++)ln(c,u,"text");o.atomic&&Qi(c.doc),ar(c,"markerAdded",c,o)}return o}xo.prototype.clear=function(){var e=this;if(!this.explicitlyCleared){var t=this.doc.cm,r=t&&!t.curOp;if(r&&Hn(t),ye(this,"clear")){var n=this.find();n&&ar(this,"clear",n.from,n.to)}for(var i=null,o=null,a=0;a<this.lines.length;++a){var s=e.lines[a],l=St(s.markedSpans,e);t&&!e.collapsed?ln(t,Ye(s),"text"):t&&(null!=l.to&&(o=Ye(s)),null!=l.from&&(i=Ye(s))),s.markedSpans=_t(s.markedSpans,l),null==l.from&&e.collapsed&&!qt(e.doc,s)&&t&&Xe(s,Jr(t.display))}if(t&&this.collapsed&&!t.options.lineWrapping)for(var c=0;c<this.lines.length;++c){var u=Ft(e.lines[c]),f=Kt(u);f>t.display.maxLineLength&&(t.display.maxLine=u,t.display.maxLineLength=f,t.display.maxLineChanged=!0)}null!=i&&t&&this.collapsed&&sn(t,i,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Qi(t.doc)),t&&ar(t,"markerCleared",t,this,i,o),r&&jn(t),this.parent&&this.parent.clear()}},xo.prototype.find=function(e,t){var r,n;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=St(o.markedSpans,this);if(null!=a.from&&(r=et(t?o:Ye(o),a.from),-1==e))return r;if(null!=a.to&&(n=et(t?o:Ye(o),a.to),1==e))return n}return r&&{from:r,to:n}},xo.prototype.changed=function(){var o=this,a=this.find(-1,!0),s=this,l=this.doc.cm;a&&l&&Gn(l,function(){var e=a.line,t=Ye(a.line),r=Tr(l,t);if(r&&(Rr(r),l.curOp.selectionChanged=l.curOp.forceUpdate=!0),l.curOp.updateMaxLine=!0,!qt(s.doc,e)&&null!=s.height){var n=s.height;s.height=null;var i=yr(s)-n;i&&Xe(e,e.height+i)}ar(l,"markerChanged",l,o)})},xo.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=W(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},xo.prototype.detachLine=function(e){if(this.lines.splice(W(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},be(xo);var ko=function(e,t){this.markers=e,this.primary=t;for(var r=0;r<e.length;++r)e[r].parent=this};function Co(e){return e.findMarks(et(e.first,0),e.clipPos(et(e.lastLine())),function(e){return e.parent})}function So(o){for(var e=function(e){var t=o[e],r=[t.primary.doc];Ai(t.primary.doc,function(e){return r.push(e)});for(var n=0;n<t.markers.length;n++){var i=t.markers[n];-1==W(r,i.doc)&&(i.parent=null,t.markers.splice(n--,1))}},t=0;t<o.length;t++)e(t)}ko.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();ar(this,"clear")}},ko.prototype.find=function(e,t){return this.primary.find(e,t)},be(ko);var _o=0,Lo=function(e,t,r,n,i){if(!(this instanceof Lo))return new Lo(e,t,r,n,i);null==r&&(r=0),go.call(this,[new mo([new Vt("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var o=et(r,0);this.sel=xi(o),this.history=new Ni(null),this.id=++_o,this.modeOption=t,this.lineSep=n,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),Ti(this,{from:o,to:o,text:e}),Gi(this,xi(o),j)};Lo.prototype=J(go.prototype,{constructor:Lo,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,n=0;n<t.length;++n)r+=t[n].height;this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Ge(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Qn(function(e){var t=et(this.first,0),r=this.first+this.size-1;io(this,{from:t,to:et(r,Ve(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Tn(this.cm,0,0),Gi(this,xi(t),j)}),replaceRange:function(e,t,r,n){co(this,e,t=st(this,t),r=r?st(this,r):t,n)},getRange:function(e,t,r){var n=$e(this,st(this,e),st(this,t));return!1===r?n:n.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(Je(this,e))return Ve(this,e)},getLineNumber:function(e){return Ye(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Ve(this,e)),Ft(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return st(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Qn(function(e,t,r){Vi(this,st(this,"number"==typeof e?et(e,t||0):e),null,r)}),setSelection:Qn(function(e,t,r){Vi(this,st(this,e),st(this,t||e),r)}),extendSelection:Qn(function(e,t,r){ji(this,st(this,e),t&&st(this,t),r)}),extendSelections:Qn(function(e,t){Ki(this,lt(this,e),t)}),extendSelectionsBy:Qn(function(e,t){Ki(this,lt(this,Y(this.sel.ranges,e)),t)}),setSelections:Qn(function(e,t,r){if(e.length){for(var n=[],i=0;i<e.length;i++)n[i]=new yi(st(this,e[i].anchor),st(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Gi(this,bi(this.cm,n,t),r)}}),addSelection:Qn(function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new yi(st(this,e),st(this,t||e))),Gi(this,bi(this.cm,n,n.length-1),r)}),getSelection:function(e){for(var t,r=this.sel.ranges,n=0;n<r.length;n++){var i=$e(this,r[n].from(),r[n].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],r=this.sel.ranges,n=0;n<r.length;n++){var i=$e(this,r[n].from(),r[n].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[n]=i}return t},replaceSelection:function(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++)n[i]=e;this.replaceSelections(n,t,r||"+input")},replaceSelections:Qn(function(e,t,r){for(var n=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];n[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:r}}for(var s=t&&"end"!=t&&function(e,t,r){for(var n=[],i=et(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=Si(s.from,i,o),c=Si(wi(s),i,o);if(i=s.to,o=c,"around"==r){var u=e.sel.ranges[a],f=tt(u.head,u.anchor)<0;n[a]=new yi(f?c:l,f?l:c)}else n[a]=new yi(l,l)}return new vi(n,e.sel.primIndex)}(this,n,t),l=n.length-1;0<=l;l--)io(this,n[l]);s?$i(this,s):this.cm&&Mn(this.cm)}),undo:Qn(function(){ao(this,"undo")}),redo:Qn(function(){ao(this,"redo")}),undoSelection:Qn(function(){ao(this,"undo",!0)}),redoSelection:Qn(function(){ao(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++r;return{undo:t,redo:r}},clearHistory:function(){this.history=new Ni(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:qi(this.history.done),undone:qi(this.history.undone)}},setHistory:function(e){var t=this.history=new Ni(this.history.maxGeneration);t.done=qi(e.done.slice(0),null,!0),t.undone=qi(e.undone.slice(0),null,!0)},setGutterMarker:Qn(function(e,r,n){return po(this,e,"gutter",function(e){var t=e.gutterMarkers||(e.gutterMarkers={});return!(t[r]=n)&&re(t)&&(e.gutterMarkers=null),!0})}),clearGutter:Qn(function(t){var r=this;this.iter(function(e){e.gutterMarkers&&e.gutterMarkers[t]&&po(r,e,"gutter",function(){return e.gutterMarkers[t]=null,re(e.gutterMarkers)&&(e.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if("number"==typeof e){if(!Je(this,e))return null;if(!(e=Ve(this,t=e)))return null}else if(null==(t=Ye(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Qn(function(e,r,n){return po(this,e,"gutter"==r?"gutter":"class",function(e){var t="text"==r?"textClass":"background"==r?"bgClass":"gutter"==r?"gutterClass":"wrapClass";if(e[t]){if(S(n).test(e[t]))return!1;e[t]+=" "+n}else e[t]=n;return!0})}),removeLineClass:Qn(function(e,o,a){return po(this,e,"gutter"==o?"gutter":"class",function(e){var t="text"==o?"textClass":"background"==o?"bgClass":"gutter"==o?"gutterClass":"wrapClass",r=e[t];if(!r)return!1;if(null==a)e[t]=null;else{var n=r.match(S(a));if(!n)return!1;var i=n.index+n[0].length;e[t]=r.slice(0,n.index)+(n.index&&i!=r.length?" ":"")+r.slice(i)||null}return!0})}),addLineWidget:Qn(function(e,t,r){return i=e,o=new vo(n=this,t,r),(a=n.cm)&&o.noHScroll&&(a.display.alignWidgets=!0),po(n,i,"widget",function(e){var t=e.widgets||(e.widgets=[]);if(null==o.insertAt?t.push(o):t.splice(Math.min(t.length-1,Math.max(0,o.insertAt)),0,o),o.line=e,a&&!qt(n,e)){var r=jt(e)<n.scrollTop;Xe(e,e.height+yr(o)),r&&Ln(a,o.height),a.curOp.forceUpdate=!0}return!0}),a&&ar(a,"lineWidgetAdded",a,o,"number"==typeof i?i:Ye(i)),o;var n,i,o,a}),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return wo(this,st(this,e),st(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return wo(this,e=st(this,e),e,r,"bookmark")},findMarksAt:function(e){var t=[],r=Ve(this,(e=st(this,e)).line).markedSpans;if(r)for(var n=0;n<r.length;++n){var i=r[n];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(i,o,a){i=st(this,i),o=st(this,o);var s=[],l=i.line;return this.iter(i.line,o.line+1,function(e){var t=e.markedSpans;if(t)for(var r=0;r<t.length;r++){var n=t[r];null!=n.to&&l==i.line&&i.ch>=n.to||null==n.from&&l!=i.line||null!=n.from&&l==o.line&&n.from>=o.ch||a&&!a(n.marker)||s.push(n.marker.parent||n.marker)}++l}),s},getAllMarks:function(){var n=[];return this.iter(function(e){var t=e.markedSpans;if(t)for(var r=0;r<t.length;++r)null!=t[r].from&&n.push(t[r].marker)}),n},posFromIndex:function(r){var n,i=this.first,o=this.lineSeparator().length;return this.iter(function(e){var t=e.text.length+o;if(r<t)return n=r,!0;r-=t,++i}),st(this,et(i,n))},indexFromPos:function(e){var t=(e=st(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+r}),t},copy:function(e){var t=new Lo(Ge(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,r=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to);var n=new Lo(Ge(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(tt(o,a)){var s=wo(e,o,a,n.primary,n.primary.type);n.markers.push(s),s.parent=n}}}(n,Co(this)),n},unlinkDoc:function(e){if(e instanceof ka&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),So(Co(this));break}}if(e.history==this.history){var r=[e.id];Ai(e,function(e){return r.push(e.id)},!0),e.history=new Ni(null),e.history.done=qi(this.history.done,r),e.history.undone=qi(this.history.undone,r)}},iterLinkedDocs:function(e){Ai(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ne(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Qn(function(e){var t;("rtl"!=e&&(e="ltr"),e!=this.direction)&&(this.direction=e,this.iter(function(e){return e.order=null}),this.cm&&Gn(t=this.cm,function(){Ei(t),sn(t)}))})}),Lo.prototype.eachLine=Lo.prototype.iter;var Mo=0;function To(e){var i=this;if(Ao(i),!ge(i,e)&&!br(i.display,e)){xe(e),w&&(Mo=+new Date);var o=on(i,e,!0),t=e.dataTransfer.files;if(o&&!i.isReadOnly())if(t&&t.length&&window.FileReader&&window.File)for(var a=t.length,s=Array(a),l=0,r=function(e,r){if(!i.options.allowDropFileTypes||-1!=W(i.options.allowDropFileTypes,e.type)){var n=new FileReader;n.onload=Xn(i,function(){var e=n.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),s[r]=e,++l==a){var t={from:o=st(i.doc,o),to:o,text:i.doc.splitLines(s.join(i.doc.lineSeparator())),origin:"paste"};io(i.doc,t),$i(i.doc,xi(o,wi(t)))}}),n.readAsText(e)}},n=0;n<a;++n)r(t[n],n);else{if(i.state.draggingText&&-1<i.doc.sel.contains(o))return i.state.draggingText(e),void setTimeout(function(){return i.display.input.focus()},20);try{var c=e.dataTransfer.getData("Text");if(c){var u;if(i.state.draggingText&&!i.state.draggingText.copy&&(u=i.listSelections()),Xi(i.doc,xi(o,o)),u)for(var f=0;f<u.length;++f)co(i.doc,"",u[f].anchor,u[f].head,"drag");i.replaceSelection(c,"around","paste"),i.display.input.focus()}}catch(e){}}}}function Ao(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Oo(t){if(document.getElementsByClassName){for(var e=document.getElementsByClassName("CodeMirror"),r=[],n=0;n<e.length;n++){var i=e[n].CodeMirror;i&&r.push(i)}r.length&&r[0].operation(function(){for(var e=0;e<r.length;e++)t(r[e])})}}var Eo=!1;function No(){var e;Eo||(de(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,Oo(Io)},100))}),de(window,"blur",function(){return Oo(wn)}),Eo=!0)}function Io(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Po={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Ro=0;Ro<10;Ro++)Po[Ro+48]=Po[Ro+96]=String(Ro);for(var Bo=65;Bo<=90;Bo++)Po[Bo]=String.fromCharCode(Bo);for(var Do=1;Do<=12;Do++)Po[Do+111]=Po[Do+63235]="F"+Do;var Fo={};function zo(e){var t,r,n,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);n=!0}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),n&&(e="Shift-"+e),e}function Wo(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==n){delete e[r];continue}for(var i=Y(r.split(" "),zo),o=0;o<i.length;o++){var a=void 0,s=void 0;a=o==i.length-1?(s=i.join(" "),n):(s=i.slice(0,o+1).join(" "),"...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[r]}for(var c in t)e[c]=t[c];return e}function qo(e,t,r,n){var i=(t=Uo(t)).call?t.call(e,n):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&r(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return qo(e,t.fallthrough,r,n);for(var o=0;o<t.fallthrough.length;o++){var a=qo(e,t.fallthrough[o],r,n);if(a)return a}}}function Ho(e){var t="string"==typeof e?e:Po[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function jo(e,t,r){var n=e;return t.altKey&&"Alt"!=n&&(e="Alt-"+e),(y?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(e="Ctrl-"+e),(y?t.ctrlKey:t.metaKey)&&"Cmd"!=n&&(e="Cmd-"+e),!r&&t.shiftKey&&"Shift"!=n&&(e="Shift-"+e),e}function Ko(e,t){if(g&&34==e.keyCode&&e.char)return!1;var r=Po[e.keyCode];return null!=r&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(r=e.code),jo(r,e,t))}function Uo(e){return"string"==typeof e?Fo[e]:e}function Vo(t,e){for(var r=t.doc.sel.ranges,n=[],i=0;i<r.length;i++){for(var o=e(r[i]);n.length&&tt(o.from,X(n).to)<=0;){var a=n.pop();if(tt(a.from,o.from)<0){o.from=a.from;break}}n.push(o)}Gn(t,function(){for(var e=n.length-1;0<=e;e--)co(t.doc,"",n[e].from,n[e].to,"+delete");Mn(t)})}function $o(e,t,r){var n=oe(e.text,t+r,r);return n<0||n>e.text.length?null:n}function Go(e,t,r){var n=$o(e,t.ch,r);return null==n?null:new et(t.line,n,r<0?"after":"before")}function Xo(e,t,r,n,i){if(e){var o=ue(r,t.doc.direction);if(o){var a,s=i<0?X(o):o[0],l=i<0==(1==s.level)?"after":"before";if(0<s.level||"rtl"==t.doc.direction){var c=Ar(t,r);a=i<0?r.text.length-1:0;var u=Or(t,c,a).top;a=ae(function(e){return Or(t,c,e).top==u},i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=$o(r,a,1))}else a=i<0?s.to:s.from;return new et(n,a,l)}}return new et(n,i<0?r.text.length:0,i<0?"before":"after")}Fo.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Fo.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Fo.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Fo.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Fo.default=x?Fo.macDefault:Fo.pcDefault;var Yo={selectAll:ro,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),j)},killLine:function(r){return Vo(r,function(e){if(e.empty()){var t=Ve(r.doc,e.head.line).text.length;return e.head.ch==t&&e.head.line<r.lastLine()?{from:e.head,to:et(e.head.line+1,0)}:{from:e.head,to:et(e.head.line,t)}}return{from:e.from(),to:e.to()}})},deleteLine:function(t){return Vo(t,function(e){return{from:et(e.from().line,0),to:st(t.doc,et(e.to().line+1,0))}})},delLineLeft:function(e){return Vo(e,function(e){return{from:et(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(r){return Vo(r,function(e){var t=r.charCoords(e.head,"div").top+5;return{from:r.coordsChar({left:0,top:t},"div"),to:e.from()}})},delWrappedLineRight:function(n){return Vo(n,function(e){var t=n.charCoords(e.head,"div").top+5,r=n.coordsChar({left:n.display.lineDiv.offsetWidth+100,top:t},"div");return{from:e.from(),to:r}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(et(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(et(e.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy(function(e){return Qo(t,e.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy(function(e){return Jo(t,e.head)},{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy(function(e){return function(e,t){var r=Ve(e.doc,t),n=function(e){for(var t;t=Rt(e);)e=t.find(1,!0).line;return e}(r);n!=r&&(t=Ye(n));return Xo(!0,e,r,t,-1)}(t,e.head.line)},{origin:"+move",bias:-1})},goLineRight:function(r){return r.extendSelectionsBy(function(e){var t=r.cursorCoords(e.head,"div").top+5;return r.coordsChar({left:r.display.lineDiv.offsetWidth+100,top:t},"div")},U)},goLineLeft:function(r){return r.extendSelectionsBy(function(e){var t=r.cursorCoords(e.head,"div").top+5;return r.coordsChar({left:0,top:t},"div")},U)},goLineLeftSmart:function(n){return n.extendSelectionsBy(function(e){var t=n.cursorCoords(e.head,"div").top+5,r=n.coordsChar({left:0,top:t},"div");return r.ch<n.getLine(r.line).search(/\S/)?Jo(n,e.head):r},U)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var o=r[i].from(),a=F(e.getLine(o.line),o.ch,n);t.push(G(n-a%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(a){return Gn(a,function(){for(var e=a.listSelections(),t=[],r=0;r<e.length;r++)if(e[r].empty()){var n=e[r].head,i=Ve(a.doc,n.line).text;if(i)if(n.ch==i.length&&(n=new et(n.line,n.ch-1)),0<n.ch)n=new et(n.line,n.ch+1),a.replaceRange(i.charAt(n.ch-1)+i.charAt(n.ch-2),et(n.line,n.ch-2),n,"+transpose");else if(n.line>a.doc.first){var o=Ve(a.doc,n.line-1).text;o&&(n=new et(n.line,1),a.replaceRange(i.charAt(0)+a.doc.lineSeparator()+o.charAt(o.length-1),et(n.line-1,o.length-1),n,"+transpose"))}t.push(new yi(n,n))}a.setSelections(t)})},newlineAndIndent:function(n){return Gn(n,function(){for(var e=n.listSelections(),t=e.length-1;0<=t;t--)n.replaceRange(n.doc.lineSeparator(),e[t].anchor,e[t].head,"+input");e=n.listSelections();for(var r=0;r<e.length;r++)n.indentLine(e[r].from().line,null,!0);Mn(n)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Qo(e,t){var r=Ve(e.doc,t),n=Ft(r);return n!=r&&(t=Ye(n)),Xo(!0,e,n,t,1)}function Jo(e,t){var r=Qo(e,t.line),n=Ve(e.doc,r.line),i=ue(n,e.doc.direction);if(i&&0!=i[0].level)return r;var o=Math.max(0,n.text.search(/\S/)),a=t.line==r.line&&t.ch<=o&&t.ch;return et(r.line,a?0:o,r.sticky)}function Zo(e,t,r){if("string"==typeof t&&!(t=Yo[t]))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=H}finally{e.display.shift=n,e.state.suppressEdits=!1}return i}var ea=new z;function ta(e,t,r,n){var i=e.state.keySeq;if(i){if(Ho(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:ea.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),ra(e,i+" "+t,r,n))return!0}return ra(e,t,r,n)}function ra(e,t,r,n){var i=function(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=qo(t,e.state.keyMaps[n],r,e);if(i)return i}return e.options.extraKeys&&qo(t,e.options.extraKeys,r,e)||qo(t,e.options.keyMap,r,e)}(e,t,n);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&ar(e,"keyHandled",e,t,r),"handled"!=i&&"multi"!=i||(xe(r),vn(e)),!!i}function na(t,e){var r=Ko(e,!0);return!!r&&(e.shiftKey&&!t.state.keySeq?ta(t,"Shift-"+r,e,function(e){return Zo(t,e,!0)})||ta(t,r,e,function(e){if("string"==typeof e?/^go[A-Z]/.test(e):e.motion)return Zo(t,e)}):ta(t,r,e,function(e){return Zo(t,e)}))}var ia=null;function oa(e){var t=this;if(t.curOp.focus=N(),!ge(t,e)){w&&k<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var n=na(t,e);g&&(ia=n?r:null,!n&&88==r&&!Pe&&(x?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function r(e){18!=e.keyCode&&e.altKey||(L(t,"CodeMirror-crosshair"),pe(document,"keyup",r),pe(document,"mouseover",r))}I(t,"CodeMirror-crosshair"),de(document,"keyup",r),de(document,"mouseover",r)}(t)}}function aa(e){16==e.keyCode&&(this.doc.sel.shift=!1),ge(this,e)}function sa(e){var t=this;if(!(br(t.display,e)||ge(t,e)||e.ctrlKey&&!e.altKey||x&&e.metaKey)){var r=e.keyCode,n=e.charCode;if(g&&r==ia)return ia=null,void xe(e);if(!g||e.which&&!(e.which<10)||!na(t,e)){var i,o=String.fromCharCode(null==n?r:n);if("\b"!=o)if(!ta(i=t,"'"+o+"'",e,function(e){return Zo(i,e,!0)}))t.display.input.onKeyPress(e)}}}var la,ca,ua=function(e,t,r){this.time=e,this.pos=t,this.button=r};function fa(e){var t=this,r=t.display;if(!(ge(t,e)||r.activeTouch&&r.input.supportsTouch()))if(r.input.ensurePolled(),r.shift=e.shiftKey,br(r,e))b||(r.scroller.draggable=!1,setTimeout(function(){return r.scroller.draggable=!0},100));else if(!pa(t,e)){var n,i,o,a=on(t,e),s=_e(e),l=a?(n=a,i=s,o=+new Date,ca&&ca.compare(o,n,i)?(la=ca=null,"triple"):la&&la.compare(o,n,i)?(ca=new ua(o,n,i),la=null,"double"):(la=new ua(o,n,i),ca=null,"single")):"single";window.focus(),1==s&&t.state.selectingText&&t.state.selectingText(e),a&&function(r,e,n,t,i){var o="Click";"double"==t?o="Double"+o:"triple"==t&&(o="Triple"+o);return ta(r,jo(o=(1==e?"Left":2==e?"Middle":"Right")+o,i),i,function(e){if("string"==typeof e&&(e=Yo[e]),!e)return!1;var t=!1;try{r.isReadOnly()&&(r.state.suppressEdits=!0),t=e(r,n)!=H}finally{r.state.suppressEdits=!1}return t})}(t,s,a,l,e)||(1==s?a?function(e,t,r,n){w?setTimeout(B(yn,e),0):e.curOp.focus=N();var i,o=function(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{};if(null==i.unit){var o=h?r.shiftKey&&r.metaKey:r.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey);null==i.addNew&&(i.addNew=x?r.metaKey:r.ctrlKey);null==i.moveOnDrag&&(i.moveOnDrag=!(x?r.altKey:r.ctrlKey));return i}(e,r,n),a=e.doc.sel;e.options.dragDrop&&Te&&!e.isReadOnly()&&"single"==r&&-1<(i=a.contains(t))&&(tt((i=a.ranges[i]).from(),t)<0||0<t.xRel)&&(0<tt(i.to(),t)||t.xRel<0)?function(t,r,n,i){var o=t.display,a=!1,s=Xn(t,function(e){b&&(o.scroller.draggable=!1),t.state.draggingText=!1,pe(o.wrapper.ownerDocument,"mouseup",s),pe(o.wrapper.ownerDocument,"mousemove",l),pe(o.scroller,"dragstart",c),pe(o.scroller,"drop",s),a||(xe(e),i.addNew||ji(t.doc,n,null,null,i.extend),b||w&&9==k?setTimeout(function(){o.wrapper.ownerDocument.body.focus(),o.input.focus()},20):o.input.focus())}),l=function(e){a=a||10<=Math.abs(r.clientX-e.clientX)+Math.abs(r.clientY-e.clientY)},c=function(){return a=!0};b&&(o.scroller.draggable=!0);(t.state.draggingText=s).copy=!i.moveOnDrag,o.scroller.dragDrop&&o.scroller.dragDrop();de(o.wrapper.ownerDocument,"mouseup",s),de(o.wrapper.ownerDocument,"mousemove",l),de(o.scroller,"dragstart",c),de(o.scroller,"drop",s),bn(t),setTimeout(function(){return o.input.focus()},20)}(e,n,t,o):function(g,e,v,y){var a=g.display,b=g.doc;xe(e);var x,w,k=b.sel,t=k.ranges;y.addNew&&!y.extend?(w=b.sel.contains(v),x=-1<w?t[w]:new yi(v,v)):(x=b.sel.primary(),w=b.sel.primIndex);if("rectangle"==y.unit)y.addNew||(x=new yi(v,v)),v=on(g,e,!0,!0),w=-1;else{var r=da(g,v,y.unit);x=y.extend?Hi(x,r.anchor,r.head,y.extend):r}y.addNew?-1==w?(w=t.length,Gi(b,bi(g,t.concat([x]),w),{scroll:!1,origin:"*mouse"})):1<t.length&&t[w].empty()&&"char"==y.unit&&!y.extend?(Gi(b,bi(g,t.slice(0,w).concat(t.slice(w+1)),0),{scroll:!1,origin:"*mouse"}),k=b.sel):Ui(b,w,x,K):(Gi(b,new vi([x],w=0),K),k=b.sel);var C=v;function s(e){if(0!=tt(C,e))if(C=e,"rectangle"==y.unit){for(var t=[],r=g.options.tabSize,n=F(Ve(b,v.line).text,v.ch,r),i=F(Ve(b,e.line).text,e.ch,r),o=Math.min(n,i),a=Math.max(n,i),s=Math.min(v.line,e.line),l=Math.min(g.lastLine(),Math.max(v.line,e.line));s<=l;s++){var c=Ve(b,s).text,u=V(c,o,r);o==a?t.push(new yi(et(s,u),et(s,u))):c.length>u&&t.push(new yi(et(s,u),et(s,V(c,a,r))))}t.length||t.push(new yi(v,v)),Gi(b,bi(g,k.ranges.slice(0,w).concat(t),w),{origin:"*mouse",scroll:!1}),g.scrollIntoView(e)}else{var f,d=x,h=da(g,e,y.unit),p=d.anchor;p=0<tt(h.anchor,p)?(f=h.head,ot(d.from(),h.anchor)):(f=h.anchor,it(d.to(),h.head));var m=k.ranges.slice(0);m[w]=function(e,t){var r=t.anchor,n=t.head,i=Ve(e.doc,r.line);if(0==tt(r,n)&&r.sticky==n.sticky)return t;var o=ue(i);if(!o)return t;var a=le(o,r.ch,r.sticky),s=o[a];if(s.from!=r.ch&&s.to!=r.ch)return t;var l,c=a+(s.from==r.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(n.line!=r.line)l=0<(n.line-r.line)*("ltr"==e.doc.direction?1:-1);else{var u=le(o,n.ch,n.sticky),f=u-a||(n.ch-r.ch)*(1==s.level?-1:1);l=u==c-1||u==c?f<0:0<f}var d=o[c+(l?-1:0)],h=l==(1==d.level),p=h?d.from:d.to,m=h?"after":"before";return r.ch==p&&r.sticky==m?t:new yi(new et(r.line,p,m),n)}(g,new yi(st(b,p),f)),Gi(b,bi(g,m,w),K)}}var l=a.wrapper.getBoundingClientRect(),c=0;function n(e){g.state.selectingText=!1,c=1/0,e&&(xe(e),a.input.focus()),pe(a.wrapper.ownerDocument,"mousemove",i),pe(a.wrapper.ownerDocument,"mouseup",o),b.history.lastSelOrigin=null}var i=Xn(g,function(e){0!==e.buttons&&_e(e)?function e(t){var r=++c;var n=on(g,t,!0,"rectangle"==y.unit);if(!n)return;if(0!=tt(n,C)){g.curOp.focus=N(),s(n);var i=Sn(a,b);(n.line>=i.to||n.line<i.from)&&setTimeout(Xn(g,function(){c==r&&e(t)}),150)}else{var o=t.clientY<l.top?-20:t.clientY>l.bottom?20:0;o&&setTimeout(Xn(g,function(){c==r&&(a.scroller.scrollTop+=o,e(t))}),50)}}(e):n(e)}),o=Xn(g,n);g.state.selectingText=o,de(a.wrapper.ownerDocument,"mousemove",i),de(a.wrapper.ownerDocument,"mouseup",o)}(e,n,t,o)}(t,a,l,e):Se(e)==r.scroller&&xe(e):2==s?(a&&ji(t.doc,a),setTimeout(function(){return r.input.focus()},20)):3==s&&(C?t.display.input.onContextMenu(e):bn(t)))}}function da(e,t,r){if("char"==r)return new yi(t,t);if("word"==r)return e.findWordAt(t);if("line"==r)return new yi(et(t.line,0),st(e.doc,et(t.line+1,0)));var n=r(e,t);return new yi(n.from,n.to)}function ha(e,t,r,n){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&xe(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!ye(e,r))return ke(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i)return me(e,r,e,Qe(e.doc,o),e.display.gutterSpecs[l].className,t),ke(t)}}function pa(e,t){return ha(e,t,"gutterClick",!0)}function ma(e,t){var r,n;br(e.display,t)||(n=t,ye(r=e,"gutterContextMenu")&&ha(r,n,"gutterContextMenu",!1))||(ge(e,t,"contextmenu")||C||e.display.input.onContextMenu(t))}function ga(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Dr(e)}ua.prototype.compare=function(e,t,r){return this.time+400>e&&0==tt(t,this.pos)&&r==this.button};var va={toString:function(){return"CodeMirror.Init"}},ya={},ba={};function xa(e,t,r){if(!t!=!(r&&r!=va)){var n=e.display.dragFunctions,i=t?de:pe;i(e.display.scroller,"dragstart",n.start),i(e.display.scroller,"dragenter",n.enter),i(e.display.scroller,"dragover",n.over),i(e.display.scroller,"dragleave",n.leave),i(e.display.scroller,"drop",n.drop)}}function wa(e){e.options.lineWrapping?(I(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(L(e.display.wrapper,"CodeMirror-wrap"),Ut(e)),nn(e),sn(e),Dr(e),setTimeout(function(){return Dn(e)},100)}function ka(e,t){var r=this;if(!(this instanceof ka))return new ka(e,t);this.options=t=t?D(t):{},D(ya,t,!1);var n=t.value;"string"==typeof n?n=new Lo(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var i=new ka.inputStyles[t.inputStyle](this),o=this.display=new fi(e,n,i,t);for(var a in ga(o.wrapper.CodeMirror=this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Wn(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new z,keySeq:null,specialChars:null},t.autofocus&&!d&&o.input.focus(),w&&k<11&&setTimeout(function(){return r.display.input.reset(!0)},20),function(i){var o=i.display;de(o.scroller,"mousedown",Xn(i,fa)),de(o.scroller,"dblclick",w&&k<11?Xn(i,function(e){if(!ge(i,e)){var t=on(i,e);if(t&&!pa(i,e)&&!br(i.display,e)){xe(e);var r=i.findWordAt(t);ji(i.doc,r.anchor,r.head)}}}):function(e){return ge(i,e)||xe(e)});de(o.scroller,"contextmenu",function(e){return ma(i,e)});var r,n={end:0};function a(){o.activeTouch&&(r=setTimeout(function(){return o.activeTouch=null},1e3),(n=o.activeTouch).end=+new Date)}function s(e,t){if(null==t.left)return!0;var r=t.left-e.left,n=t.top-e.top;return 400<r*r+n*n}de(o.scroller,"touchstart",function(e){if(!ge(i,e)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(e)&&!pa(i,e)){o.input.ensurePolled(),clearTimeout(r);var t=+new Date;o.activeTouch={start:t,moved:!1,prev:t-n.end<=300?n:null},1==e.touches.length&&(o.activeTouch.left=e.touches[0].pageX,o.activeTouch.top=e.touches[0].pageY)}}),de(o.scroller,"touchmove",function(){o.activeTouch&&(o.activeTouch.moved=!0)}),de(o.scroller,"touchend",function(e){var t=o.activeTouch;if(t&&!br(o,e)&&null!=t.left&&!t.moved&&new Date-t.start<300){var r,n=i.coordsChar(o.activeTouch,"page");r=!t.prev||s(t,t.prev)?new yi(n,n):!t.prev.prev||s(t,t.prev.prev)?i.findWordAt(n):new yi(et(n.line,0),st(i.doc,et(n.line+1,0))),i.setSelection(r.anchor,r.head),i.focus(),xe(e)}a()}),de(o.scroller,"touchcancel",a),de(o.scroller,"scroll",function(){o.scroller.clientHeight&&(En(i,o.scroller.scrollTop),In(i,o.scroller.scrollLeft,!0),me(i,"scroll",i))}),de(o.scroller,"mousewheel",function(e){return gi(i,e)}),de(o.scroller,"DOMMouseScroll",function(e){return gi(i,e)}),de(o.wrapper,"scroll",function(){return o.wrapper.scrollTop=o.wrapper.scrollLeft=0}),o.dragFunctions={enter:function(e){ge(i,e)||Ce(e)},over:function(e){ge(i,e)||(!function(e,t){var r=on(e,t);if(r){var n=document.createDocumentFragment();pn(e,r,n),e.display.dragCursor||(e.display.dragCursor=O("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),T(e.display.dragCursor,n)}}(i,e),Ce(e))},start:function(e){return function(e,t){if(w&&(!e.state.draggingText||+new Date-Mo<100))Ce(t);else if(!ge(e,t)&&!br(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!l)){var r=O("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",g&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),g&&r.parentNode.removeChild(r)}}(i,e)},drop:Xn(i,To),leave:function(e){ge(i,e)||Ao(i)}};var e=o.input.getField();de(e,"keyup",function(e){return aa.call(i,e)}),de(e,"keydown",Xn(i,oa)),de(e,"keypress",Xn(i,sa)),de(e,"focus",function(e){return xn(i,e)}),de(e,"blur",function(e){return wn(i,e)})}(this),No(),Hn(this),this.curOp.forceUpdate=!0,Oi(this,n),t.autofocus&&!d||this.hasFocus()?setTimeout(B(xn,this),20):wn(this),ba)ba.hasOwnProperty(a)&&ba[a](r,t[a],va);si(this),t.finishInit&&t.finishInit(this);for(var s=0;s<Ca.length;++s)Ca[s](r);jn(this),b&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}ka.defaults=ya,ka.optionHandlers=ba;var Ca=[];function Sa(e,t,r,n){var i,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?i=ht(e,t).state:r="prev");var a=e.options.tabSize,s=Ve(o,t),l=F(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(n||/\S/.test(s.text)){if("smart"==r&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==H||150<c)){if(!n)return;r="prev"}}else c=0,r="not";"prev"==r?c=t>o.first?F(Ve(o,t-1).text,null,a):0:"add"==r?c=l+e.options.indentUnit:"subtract"==r?c=l-e.options.indentUnit:"number"==typeof r&&(c=l+r),c=Math.max(0,c);var f="",d=0;if(e.options.indentWithTabs)for(var h=Math.floor(c/a);h;--h)d+=a,f+="\t";if(d<c&&(f+=G(c-d)),f!=u)return co(o,f,et(t,0),et(t,u.length),"+input"),!(s.stateAfter=null);for(var p=0;p<o.sel.ranges.length;p++){var m=o.sel.ranges[p];if(m.head.line==t&&m.head.ch<u.length){var g=et(t,u.length);Ui(o,p,new yi(g,g));break}}}ka.defineInitHook=function(e){return Ca.push(e)};var _a=null;function La(e){_a=e}function Ma(e,t,r,n,i){var o=e.doc;e.display.shift=!1,n||(n=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=Ne(t),c=null;if(s&&1<n.ranges.length)if(_a&&_a.text.join("\n")==t){if(n.ranges.length%_a.text.length==0){c=[];for(var u=0;u<_a.text.length;u++)c.push(o.splitLines(_a.text[u]))}}else l.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(c=Y(l,function(e){return[e]}));for(var f=e.curOp.updateInput,d=n.ranges.length-1;0<=d;d--){var h=n.ranges[d],p=h.from(),m=h.to();h.empty()&&(r&&0<r?p=et(p.line,p.ch-r):e.state.overwrite&&!s?m=et(m.line,Math.min(Ve(o,m.line).text.length,m.ch+X(l).length)):s&&_a&&_a.lineWise&&_a.text.join("\n")==t&&(p=m=et(p.line,0)));var g={from:p,to:m,text:c?c[d%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};io(e.doc,g),ar(e,"inputRead",e,g)}t&&!s&&Aa(e,t),Mn(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Ta(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Gn(t,function(){return Ma(t,r,0,null,"paste")}),!0}function Aa(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;0<=n;n--){var i=r.ranges[n];if(!(100<i.head.ch||n&&r.ranges[n-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(-1<t.indexOf(o.electricChars.charAt(s))){a=Sa(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Ve(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Sa(e,i.head.line,"smart"));a&&ar(e,"electricInput",e,i.head.line)}}}function Oa(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,o={anchor:et(i,0),head:et(i+1,0)};r.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:r}}function Ea(e,t,r,n){e.setAttribute("autocorrect",r?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function Na(){var e=O("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=O("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return b?e.style.width="1000px":e.setAttribute("wrap","off"),u&&(e.style.border="1px solid black"),Ea(e),t}function Ia(n,i,o,e,a){var t=i,r=o,s=Ve(n,i.line);function l(e){var t,r;if(null==(t=a?function(t,r,s,e){var l=ue(r,t.doc.direction);if(!l)return Go(r,s,e);s.ch>=r.text.length?(s.ch=r.text.length,s.sticky="before"):s.ch<=0&&(s.ch=0,s.sticky="after");var n=le(l,s.ch,s.sticky),i=l[n];if("ltr"==t.doc.direction&&i.level%2==0&&(0<e?i.to>s.ch:i.from<s.ch))return Go(r,s,e);var o,c=function(e,t){return $o(r,e instanceof et?e.ch:e,t)},a=function(e){return t.options.lineWrapping?(o=o||Ar(t,r),Xr(t,r,o,e)):{begin:0,end:r.text.length}},u=a("before"==s.sticky?c(s,-1):s.ch);if("rtl"==t.doc.direction||1==i.level){var f=1==i.level==e<0,d=c(s,f?1:-1);if(null!=d&&(f?d<=i.to&&d<=u.end:d>=i.from&&d>=u.begin)){var h=f?"before":"after";return new et(s.line,d,h)}}var p=function(e,t,r){for(var n=function(e,t){return t?new et(s.line,c(e,1),"before"):new et(s.line,e,"after")};0<=e&&e<l.length;e+=t){var i=l[e],o=0<t==(1!=i.level),a=o?r.begin:c(r.end,-1);if(i.from<=a&&a<i.to)return n(a,o);if(a=o?i.from:c(i.to,-1),r.begin<=a&&a<r.end)return n(a,o)}},m=p(n+e,e,u);if(m)return m;var g=0<e?u.end:c(u.begin,-1);return null==g||0<e&&g==r.text.length||!(m=p(0<e?0:l.length-1,e,a(g)))?null:m}(n.cm,s,i,o):Go(s,i,o))){if(e||(r=i.line+o)<n.first||r>=n.first+n.size||(i=new et(r,i.ch,i.sticky),!(s=Ve(n,r))))return!1;i=Xo(a,n.cm,s,i.line,o)}else i=t;return!0}if("char"==e)l();else if("column"==e)l(!0);else if("word"==e||"group"==e)for(var c=null,u="group"==e,f=n.cm&&n.cm.getHelper(i,"wordChars"),d=!0;!(o<0)||l(!d);d=!1){var h=s.text.charAt(i.ch)||"\n",p=te(h,f)?"w":u&&"\n"==h?"n":!u||/\s/.test(h)?null:"p";if(!u||d||p||(p="s"),c&&c!=p){o<0&&(o=1,l(),i.sticky="after");break}if(p&&(c=p),0<o&&!l(!d))break}var m=eo(n,i,t,r,!0);return rt(t,m)&&(m.hitSide=!0),m}function Pa(e,t,r,n){var i,o,a=e.doc,s=t.left;if("page"==n){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*Jr(e.display),3);i=(0<r?t.bottom:t.top)+r*c}else"line"==n&&(i=0<r?t.bottom+3:t.top-3);for(;(o=$r(e,s,i)).outside;){if(r<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*r}return o}var Ra=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new z,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ba(e,t){var r=Tr(e,t.line);if(!r||r.hidden)return null;var n=Ve(e.doc,t.line),i=Lr(r,n,t.line),o=ue(n,e.doc.direction),a="left";o&&(a=le(o,t.ch)%2?"right":"left");var s=Ir(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function Da(e,t){return t&&(e.bad=!0),e}function Fa(e,t,r){var n;if(t==e.display.lineDiv){if(!(n=e.display.lineDiv.childNodes[r]))return Da(e.clipPos(et(e.display.viewTo-1)),!0);t=null,r=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==n)return za(o,t,r)}}function za(c,e,t){var r=c.text.firstChild,n=!1;if(!e||!E(r,e))return Da(et(Ye(c.line),0),!0);if(e==r&&(n=!0,e=r.childNodes[t],t=0,!e)){var i=c.rest?X(c.rest):c.line;return Da(et(Ye(i),i.text.length),n)}var o=3==e.nodeType?e:null,a=e;for(o||1!=e.childNodes.length||3!=e.firstChild.nodeType||(o=e.firstChild,t&&(t=o.nodeValue.length));a.parentNode!=r;)a=a.parentNode;var u=c.measure,f=u.maps;function s(e,t,r){for(var n=-1;n<(f?f.length:0);n++)for(var i=n<0?u.map:f[n],o=0;o<i.length;o+=3){var a=i[o+2];if(a==e||a==t){var s=Ye(n<0?c.line:c.rest[n]),l=i[o]+r;return(r<0||a!=e)&&(l=i[o+(r?1:0)]),et(s,l)}}}var l=s(o,a,t);if(l)return Da(l,n);for(var d=a.nextSibling,h=o?o.nodeValue.length-t:0;d;d=d.nextSibling){if(l=s(d,d.firstChild,0))return Da(et(l.line,l.ch-h),n);h+=d.textContent.length}for(var p=a.previousSibling,m=t;p;p=p.previousSibling){if(l=s(p,p.firstChild,-1))return Da(et(l.line,l.ch+m),n);m+=p.textContent.length}}Ra.prototype.init=function(e){var t=this,a=this,s=a.cm,l=a.div=e.lineDiv;function r(e){if(!ge(s,e)){if(s.somethingSelected())La({lineWise:!1,text:s.getSelections()}),"cut"==e.type&&s.replaceSelection("",null,"cut");else{if(!s.options.lineWiseCopyCut)return;var t=Oa(s);La({lineWise:!0,text:t.text}),"cut"==e.type&&s.operation(function(){s.setSelections(t.ranges,0,j),s.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var r=_a.text.join("\n");if(e.clipboardData.setData("Text",r),e.clipboardData.getData("Text")==r)return void e.preventDefault()}var n=Na(),i=n.firstChild;s.display.lineSpace.insertBefore(n,s.display.lineSpace.firstChild),i.value=_a.text.join("\n");var o=document.activeElement;R(i),setTimeout(function(){s.display.lineSpace.removeChild(n),o.focus(),o==l&&a.showPrimarySelection()},50)}}Ea(l,s.options.spellcheck,s.options.autocorrect,s.options.autocapitalize),de(l,"paste",function(e){ge(s,e)||Ta(e,s)||k<=11&&setTimeout(Xn(s,function(){return t.updateFromDOM()}),20)}),de(l,"compositionstart",function(e){t.composing={data:e.data,done:!1}}),de(l,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1})}),de(l,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),de(l,"touchstart",function(){return a.forceCompositionEnd()}),de(l,"input",function(){t.composing||t.readFromDOMSoon()}),de(l,"copy",r),de(l,"cut",r)},Ra.prototype.prepareSelection=function(){var e=hn(this.cm,!1);return e.focus=this.cm.state.focused,e},Ra.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ra.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ra.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),n=r.from(),i=r.to();if(t.display.viewTo==t.display.viewFrom||n.line>=t.display.viewTo||i.line<t.display.viewFrom)e.removeAllRanges();else{var o=Fa(t,e.anchorNode,e.anchorOffset),a=Fa(t,e.focusNode,e.focusOffset);if(!o||o.bad||!a||a.bad||0!=tt(ot(o,a),n)||0!=tt(it(o,a),i)){var s=t.display.view,l=n.line>=t.display.viewFrom&&Ba(t,n)||{node:s[0].measure.map[2],offset:0},c=i.line<t.display.viewTo&&Ba(t,i);if(!c){var u=s[s.length-1].measure,f=u.maps?u.maps[u.maps.length-1]:u.map;c={node:f[f.length-1],offset:f[f.length-2]-f[f.length-3]}}if(l&&c){var d,h=e.rangeCount&&e.getRangeAt(0);try{d=_(l.node,l.offset,c.offset,c.node)}catch(e){}d&&(!m&&t.state.focused?(e.collapse(l.node,l.offset),d.collapsed||(e.removeAllRanges(),e.addRange(d))):(e.removeAllRanges(),e.addRange(d)),h&&null==e.anchorNode?e.addRange(h):m&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ra.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Ra.prototype.showMultipleSelections=function(e){T(this.cm.display.cursorDiv,e.cursors),T(this.cm.display.selectionDiv,e.selection)},Ra.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ra.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return E(this.div,t)},Ra.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ra.prototype.blur=function(){this.div.blur()},Ra.prototype.getField=function(){return this.div},Ra.prototype.supportsTouch=function(){return!0},Ra.prototype.receivedFocus=function(){var t=this;this.selectionInEditor()?this.pollSelection():Gn(this.cm,function(){return t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))})},Ra.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ra.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(f&&a&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var r=Fa(t,e.anchorNode,e.anchorOffset),n=Fa(t,e.focusNode,e.focusOffset);r&&n&&Gn(t,function(){Gi(t.doc,xi(r,n),j),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)})}}},Ra.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,r,n=this.cm,i=n.display,o=n.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>n.firstLine()&&(a=et(a.line-1,Ve(n.doc,a.line-1).length)),s.ch==Ve(n.doc,s.line).text.length&&s.line<n.lastLine()&&(s=et(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;r=a.line==i.viewFrom||0==(e=an(n,a.line))?(t=Ye(i.view[0].line),i.view[0].node):(t=Ye(i.view[e].line),i.view[e-1].node.nextSibling);var l,c,u=an(n,s.line);if(c=u==i.view.length-1?(l=i.viewTo-1,i.lineDiv.lastChild):(l=Ye(i.view[u+1].line)-1,i.view[u+1].node.previousSibling),!r)return!1;for(var f=n.doc.splitLines(function(l,e,t,c,u){var r="",f=!1,d=l.doc.lineSeparator(),h=!1;function p(){f&&(r+=d,h&&(r+=d),f=h=!1)}function m(e){e&&(p(),r+=e)}function g(e){if(1==e.nodeType){var t=e.getAttribute("cm-text");if(t)return void m(t);var r,n=e.getAttribute("cm-marker");if(n){var i=l.findMarks(et(c,0),et(u+1,0),(s=+n,function(e){return e.id==s}));return void(i.length&&(r=i[0].find(0))&&m($e(l.doc,r.from,r.to).join(d)))}if("false"==e.getAttribute("contenteditable"))return;var o=/^(pre|div|p|li|table|br)$/i.test(e.nodeName);if(!/^br$/i.test(e.nodeName)&&0==e.textContent.length)return;o&&p();for(var a=0;a<e.childNodes.length;a++)g(e.childNodes[a]);/^(pre|p)$/i.test(e.nodeName)&&(h=!0),o&&(f=!0)}else 3==e.nodeType&&m(e.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));var s}for(;g(e),e!=t;)e=e.nextSibling,h=!1;return r}(n,r,c,t,l)),d=$e(n.doc,et(t,0),et(l,Ve(n.doc,l).text.length));1<f.length&&1<d.length;)if(X(f)==X(d))f.pop(),d.pop(),l--;else{if(f[0]!=d[0])break;f.shift(),d.shift(),t++}for(var h=0,p=0,m=f[0],g=d[0],v=Math.min(m.length,g.length);h<v&&m.charCodeAt(h)==g.charCodeAt(h);)++h;for(var y=X(f),b=X(d),x=Math.min(y.length-(1==f.length?h:0),b.length-(1==d.length?h:0));p<x&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)++p;if(1==f.length&&1==d.length&&t==a.line)for(;h&&h>a.ch&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1);)h--,p++;f[f.length-1]=y.slice(0,y.length-p).replace(/^\u200b+/,""),f[0]=f[0].slice(h).replace(/\u200b+$/,"");var w=et(t,h),k=et(l,d.length?X(d).length-p:0);return 1<f.length||f[0]||tt(w,k)?(co(n.doc,f,w,k,"+input"),!0):void 0},Ra.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ra.prototype.reset=function(){this.forceCompositionEnd()},Ra.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ra.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Ra.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Gn(this.cm,function(){return sn(e.cm)})},Ra.prototype.setUneditable=function(e){e.contentEditable="false"},Ra.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Xn(this.cm,Ma)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ra.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ra.prototype.onContextMenu=function(){},Ra.prototype.resetPosition=function(){},Ra.prototype.needsContentAttribute=!0;var Wa,qa,Ha,ja=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new z,this.hasSelection=!1,this.composing=null};ja.prototype.init=function(r){var e=this,n=this,i=this.cm;this.createField(r);var o=this.textarea;function t(e){if(!ge(i,e)){if(i.somethingSelected())La({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=Oa(i);La({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,j):(n.prevInput="",o.value=t.text.join("\n"),R(o))}"cut"==e.type&&(i.state.cutIncoming=+new Date)}}r.wrapper.insertBefore(this.wrapper,r.wrapper.firstChild),u&&(o.style.width="0px"),de(o,"input",function(){w&&9<=k&&e.hasSelection&&(e.hasSelection=null),n.poll()}),de(o,"paste",function(e){ge(i,e)||Ta(e,i)||(i.state.pasteIncoming=+new Date,n.fastPoll())}),de(o,"cut",t),de(o,"copy",t),de(r.scroller,"paste",function(e){if(!br(r,e)&&!ge(i,e)){if(!o.dispatchEvent)return i.state.pasteIncoming=+new Date,void n.focus();var t=new Event("paste");t.clipboardData=e.clipboardData,o.dispatchEvent(t)}}),de(r.lineSpace,"selectstart",function(e){br(r,e)||xe(e)}),de(o,"compositionstart",function(){var e=i.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),de(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},ja.prototype.createField=function(e){this.wrapper=Na(),this.textarea=this.wrapper.firstChild},ja.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=hn(e);if(e.options.moveInputWithCursor){var i=Kr(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return n},ja.prototype.showSelection=function(e){var t=this.cm.display;T(t.cursorDiv,e.cursors),T(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},ja.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&R(this.textarea),w&&9<=k&&(this.hasSelection=r)}else e||(this.prevInput=this.textarea.value="",w&&9<=k&&(this.hasSelection=null))}},ja.prototype.getField=function(){return this.textarea},ja.prototype.supportsTouch=function(){return!1},ja.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!d||N()!=this.textarea))try{this.textarea.focus()}catch(e){}},ja.prototype.blur=function(){this.textarea.blur()},ja.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ja.prototype.receivedFocus=function(){this.slowPoll()},ja.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},ja.prototype.fastPoll=function(){var t=!1,r=this;r.pollingFast=!0,r.polling.set(20,function e(){r.poll()||t?(r.pollingFast=!1,r.slowPoll()):(t=!0,r.polling.set(60,e))})},ja.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ie(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(w&&9<=k&&this.hasSelection===i||x&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||n||(n=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var a=0,s=Math.min(n.length,i.length);a<s&&n.charCodeAt(a)==i.charCodeAt(a);)++a;return Gn(t,function(){Ma(t,i.slice(a),n.length-a,null,e.composing?"*compose":null),1e3<i.length||-1<i.indexOf("\n")?r.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ja.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ja.prototype.onKeyPress=function(){w&&9<=k&&(this.hasSelection=null),this.fastPoll()},ja.prototype.onContextMenu=function(e){var r=this,n=r.cm,i=n.display,o=r.textarea;r.contextMenuPending&&r.contextMenuPending();var t=on(n,e),a=i.scroller.scrollTop;if(t&&!g){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(t)&&Xn(n,Gi)(n.doc,xi(t),j);var s,l=o.style.cssText,c=r.wrapper.style.cssText,u=r.wrapper.offsetParent.getBoundingClientRect();if(r.wrapper.style.cssText="position: static",o.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-u.top-5)+"px; left: "+(e.clientX-u.left-5)+"px;\n z-index: 1000; background: "+(w?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",b&&(s=window.scrollY),i.input.focus(),b&&window.scrollTo(null,s),i.input.reset(),n.somethingSelected()||(o.value=r.prevInput=" "),r.contextMenuPending=h,i.selForContextMenu=n.doc.sel,clearTimeout(i.detectingSelectAll),w&&9<=k&&d(),C){Ce(e);var f=function(){pe(window,"mouseup",f),setTimeout(h,20)};de(window,"mouseup",f)}else setTimeout(h,50)}function d(){if(null!=o.selectionStart){var e=n.somethingSelected(),t=""+(e?o.value:"");o.value="⇚",o.value=t,r.prevInput=e?"":"",o.selectionStart=1,o.selectionEnd=t.length,i.selForContextMenu=n.doc.sel}}function h(){if(r.contextMenuPending==h&&(r.contextMenuPending=!1,r.wrapper.style.cssText=c,o.style.cssText=l,w&&k<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=a),null!=o.selectionStart)){(!w||w&&k<9)&&d();var e=0,t=function(){i.selForContextMenu==n.doc.sel&&0==o.selectionStart&&0<o.selectionEnd&&""==r.prevInput?Xn(n,ro)(n):e++<10?i.detectingSelectAll=setTimeout(t,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(t,200)}}},ja.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},ja.prototype.setUneditable=function(){},ja.prototype.needsContentAttribute=!1,function(i){var o=i.optionHandlers;function e(e,t,n,r){i.defaults[e]=t,n&&(o[e]=r?function(e,t,r){r!=va&&n(e,t,r)}:n)}i.defineOption=e,i.Init=va,e("value","",function(e,t){return e.setValue(t)},!0),e("mode",null,function(e,t){e.doc.modeOption=t,_i(e)},!0),e("indentUnit",2,_i,!0),e("indentWithTabs",!1),e("smartIndent",!0),e("tabSize",4,function(e){Li(e),Dr(e),sn(e)},!0),e("lineSeparator",null,function(e,n){if(e.doc.lineSep=n){var i=[],o=e.doc.first;e.doc.iter(function(e){for(var t=0;;){var r=e.text.indexOf(n,t);if(-1==r)break;t=r+n.length,i.push(et(o,r))}o++});for(var t=i.length-1;0<=t;t--)co(e.doc,n,i[t],et(i[t].line,i[t].ch+n.length))}}),e("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=va&&e.refresh()}),e("specialCharPlaceholder",Qt,function(e){return e.refresh()},!0),e("electricChars",!0),e("inputStyle",d?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),e("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),e("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),e("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),e("rtlMoveVisually",!p),e("wholeLineUpdateBefore",!0),e("theme","default",function(e){ga(e),ui(e)},!0),e("keyMap","default",function(e,t,r){var n=Uo(t),i=r!=va&&Uo(r);i&&i.detach&&i.detach(e,n),n.attach&&n.attach(e,i||null)}),e("extraKeys",null),e("configureMouse",null),e("lineWrapping",!1,wa,!0),e("gutters",[],function(e,t){e.display.gutterSpecs=li(t,e.options.lineNumbers),ui(e)},!0),e("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?tn(e.display)+"px":"0",e.refresh()},!0),e("coverGutterNextToScrollbar",!1,function(e){return Dn(e)},!0),e("scrollbarStyle","native",function(e){Wn(e),Dn(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),e("lineNumbers",!1,function(e,t){e.display.gutterSpecs=li(e.options.gutters,t),ui(e)},!0),e("firstLineNumber",1,ui,!0),e("lineNumberFormatter",function(e){return e},ui,!0),e("showCursorWhenSelecting",!1,dn,!0),e("resetSelectionOnContextMenu",!0),e("lineWiseCopyCut",!0),e("pasteLinesPerSelection",!0),e("selectionsMayTouch",!1),e("readOnly",!1,function(e,t){"nocursor"==t&&(wn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),e("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),e("dragDrop",!0,xa),e("allowDropFileTypes",null),e("cursorBlinkRate",530),e("cursorScrollMargin",0),e("cursorHeight",1,dn,!0),e("singleCursorHeightPerLine",!0,dn,!0),e("workTime",100),e("workDelay",100),e("flattenSpans",!0,Li,!0),e("addModeClass",!1,Li,!0),e("pollInterval",100),e("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),e("historyEventDelay",1250),e("viewportMargin",10,function(e){return e.refresh()},!0),e("maxHighlightLength",1e4,Li,!0),e("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),e("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),e("autofocus",null),e("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),e("phrases",null)}(ka),qa=(Wa=ka).optionHandlers,Ha=Wa.helpers={},Wa.prototype={constructor:Wa,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var r=this.options,n=r[e];r[e]==t&&"mode"!=e||(r[e]=t,qa.hasOwnProperty(e)&&Xn(this,qa[e])(this,t,n),me(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Uo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r)if(t[r]==e||t[r].name==e)return t.splice(r,1),!0},addOverlay:Yn(function(e,t){var r=e.token?e:Wa.getMode(this.options,e);if(r.startState)throw new Error("Overlays may not be stateful.");!function(e,t,r){for(var n=0,i=r(t);n<e.length&&r(e[n])<=i;)n++;e.splice(n,0,t)}(this.state.overlays,{mode:r,modeSpec:e,opaque:t&&t.opaque,priority:t&&t.priority||0},function(e){return e.priority}),this.state.modeGen++,sn(this)}),removeOverlay:Yn(function(e){for(var t=this.state.overlays,r=0;r<t.length;++r){var n=t[r].modeSpec;if(n==e||"string"==typeof e&&n.name==e)return t.splice(r,1),this.state.modeGen++,void sn(this)}}),indentLine:Yn(function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),Je(this.doc,e)&&Sa(this,e,t,r)}),indentSelection:Yn(function(e){for(var t=this,r=this.doc.sel.ranges,n=-1,i=0;i<r.length;i++){var o=r[i];if(o.empty())o.head.line>n&&(Sa(t,o.head.line,e,!0),n=o.head.line,i==t.doc.sel.primIndex&&Mn(t));else{var a=o.from(),s=o.to(),l=Math.max(n,a.line);n=Math.min(t.lastLine(),s.line-(s.ch?0:1))+1;for(var c=l;c<n;++c)Sa(t,c,e);var u=t.doc.sel.ranges;0==a.ch&&r.length==u.length&&0<u[i].from().ch&&Ui(t.doc,i,new yi(a,u[i].to()),j)}}}),getTokenAt:function(e,t){return yt(this,e,t)},getLineTokens:function(e,t){return yt(this,et(e),t,!0)},getTokenTypeAt:function(e){e=st(this.doc,e);var t,r=dt(this,Ve(this.doc,e.line)),n=0,i=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var a=n+i>>1;if((a?r[2*a-1]:0)>=o)i=a;else{if(!(r[2*a+1]<o)){t=r[2*a+2];break}n=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(e){var t=this.doc.mode;return t.innerMode?Wa.innerMode(t,this.getTokenAt(e).state).mode:t},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!Ha.hasOwnProperty(t))return r;var n=Ha[t],i=this.getModeAt(e);if("string"==typeof i[t])n[i[t]]&&r.push(n[i[t]]);else if(i[t])for(var o=0;o<i[t].length;o++){var a=n[i[t][o]];a&&r.push(a)}else i.helperType&&n[i.helperType]?r.push(n[i.helperType]):n[i.name]&&r.push(n[i.name]);for(var s=0;s<n._global.length;s++){var l=n._global[s];l.pred(i,this)&&-1==W(r,l.val)&&r.push(l.val)}return r},getStateAfter:function(e,t){var r=this.doc;return ht(this,(e=at(r,null==e?r.first+r.size-1:e))+1,t).state},cursorCoords:function(e,t){var r=this.doc.sel.primary();return Kr(this,null==e?r.head:"object"==typeof e?st(this.doc,e):e?r.from():r.to(),t||"page")},charCoords:function(e,t){return jr(this,st(this.doc,e),t||"page")},coordsChar:function(e,t){return $r(this,(e=Hr(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=Hr(this,{top:e,left:0},t||"page").top,Qe(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,r){var n,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:o<e&&(e=o,i=!0),n=Ve(this.doc,e)}else n=e;return qr(this,n,{top:0,left:0},t||"page",r||i).top+(i?this.doc.height-jt(n):0)},defaultTextHeight:function(){return Jr(this.display)},defaultCharWidth:function(){return Zr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,i){var o,a,s,l=this.display,c=(e=Kr(this,st(this.doc,e))).bottom,u=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==n)c=e.top;else if("above"==n||"near"==n){var f=Math.max(l.wrapper.clientHeight,this.doc.height),d=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>f)&&e.top>t.offsetHeight?c=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=f&&(c=e.bottom),u+t.offsetWidth>d&&(u=d-t.offsetWidth)}t.style.top=c+"px",t.style.left=t.style.right="","right"==i?(u=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?u=0:"middle"==i&&(u=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=u+"px"),r&&(o=this,a={left:u,top:c,right:u+t.offsetWidth,bottom:c+t.offsetHeight},null!=(s=_n(o,a)).scrollTop&&En(o,s.scrollTop),null!=s.scrollLeft&&In(o,s.scrollLeft))},triggerOnKeyDown:Yn(oa),triggerOnKeyPress:Yn(sa),triggerOnKeyUp:aa,triggerOnMouseDown:Yn(fa),execCommand:function(e){if(Yo.hasOwnProperty(e))return Yo[e].call(null,this)},triggerElectric:Yn(function(e){Aa(this,e)}),findPosH:function(e,t,r,n){var i=1;t<0&&(i=-1,t=-t);for(var o=st(this.doc,e),a=0;a<t&&!(o=Ia(this.doc,o,i,r,n)).hitSide;++a);return o},moveH:Yn(function(t,r){var n=this;this.extendSelectionsBy(function(e){return n.display.shift||n.doc.extend||e.empty()?Ia(n.doc,e.head,t,r,n.options.rtlMoveVisually):t<0?e.from():e.to()},U)}),deleteH:Yn(function(r,n){var e=this.doc.sel,i=this.doc;e.somethingSelected()?i.replaceSelection("",null,"+delete"):Vo(this,function(e){var t=Ia(i,e.head,r,n,!1);return r<0?{from:t,to:e.head}:{from:e.head,to:t}})}),findPosV:function(e,t,r,n){var i=1,o=n;t<0&&(i=-1,t=-t);for(var a=st(this.doc,e),s=0;s<t;++s){var l=Kr(this,a,"div");if(null==o?o=l.left:l.left=o,(a=Pa(this,l,i,r)).hitSide)break}return a},moveV:Yn(function(n,i){var o=this,a=this.doc,s=[],l=!this.display.shift&&!a.extend&&a.sel.somethingSelected();if(a.extendSelectionsBy(function(e){if(l)return n<0?e.from():e.to();var t=Kr(o,e.head,"div");null!=e.goalColumn&&(t.left=e.goalColumn),s.push(t.left);var r=Pa(o,t,n,i);return"page"==i&&e==a.sel.primary()&&Ln(o,jr(o,r,"div").top-t.top),r},U),s.length)for(var e=0;e<a.sel.ranges.length;e++)a.sel.ranges[e].goalColumn=s[e]}),findWordAt:function(e){var t=Ve(this.doc,e.line).text,r=e.ch,n=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&n!=t.length||!r?++n:--r;for(var o=t.charAt(r),a=te(o,i)?function(e){return te(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!te(e)};0<r&&a(t.charAt(r-1));)--r;for(;n<t.length&&a(t.charAt(n));)++n}return new yi(et(e.line,r),et(e.line,n))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?I(this.display.cursorDiv,"CodeMirror-overwrite"):L(this.display.cursorDiv,"CodeMirror-overwrite"),me(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==N()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Yn(function(e,t){Tn(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Cr(this)-this.display.barHeight,width:e.scrollWidth-Cr(this)-this.display.barWidth,clientHeight:_r(this),clientWidth:Sr(this)}},scrollIntoView:Yn(function(e,t){var r,n;null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:et(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?(n=e,An(r=this),r.curOp.scrollToPos=n):On(this,e.from,e.to,e.margin)}),setSize:Yn(function(e,t){var r=this,n=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&Br(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){ln(r,i,"widget");break}++i}),this.curOp.forceUpdate=!0,me(this,"refresh",this)}),operation:function(e){return Gn(this,e)},startOperation:function(){return Hn(this)},endOperation:function(){return jn(this)},refresh:Yn(function(){var e=this.display.cachedTextHeight;sn(this),this.curOp.forceUpdate=!0,Dr(this),Tn(this,this.doc.scrollLeft,this.doc.scrollTop),ii(this.display),(null==e||.5<Math.abs(e-Jr(this.display)))&&nn(this),me(this,"refresh",this)}),swapDoc:Yn(function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),Oi(this,e),Dr(this),this.display.input.reset(),Tn(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,ar(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},be(Wa),Wa.registerHelper=function(e,t,r){Ha.hasOwnProperty(e)||(Ha[e]=Wa[e]={_global:[]}),Ha[e][t]=r},Wa.registerGlobalHelper=function(e,t,r,n){Wa.registerHelper(e,t,n),Ha[e]._global.push({pred:r,val:n})};var Ka,Ua="iter insert remove copy getEditor constructor".split(" ");for(var Va in Lo.prototype)Lo.prototype.hasOwnProperty(Va)&&W(Ua,Va)<0&&(ka.prototype[Va]=function(e){return function(){return e.apply(this.doc,arguments)}}(Lo.prototype[Va]));return be(Lo),ka.inputStyles={textarea:ja,contenteditable:Ra},ka.defineMode=function(e){ka.defaults.mode||"null"==e||(ka.defaults.mode=e),function(e,t){2<arguments.length&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Be[e]=t}.apply(this,arguments)},ka.defineMIME=function(e,t){De[e]=t},ka.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),ka.defineMIME("text/plain","null"),ka.defineExtension=function(e,t){ka.prototype[e]=t},ka.defineDocExtension=function(e,t){Lo.prototype[e]=t},ka.fromTextArea=function(t,e){if((e=e?D(e):{}).value=t.value,!e.tabindex&&t.tabIndex&&(e.tabindex=t.tabIndex),!e.placeholder&&t.placeholder&&(e.placeholder=t.placeholder),null==e.autofocus){var r=N();e.autofocus=r==t||null!=t.getAttribute("autofocus")&&r==document.body}function n(){t.value=s.getValue()}var i;if(t.form&&(de(t.form,"submit",n),!e.leaveSubmitMethodAlone)){var o=t.form;i=o.submit;try{var a=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=a}}catch(e){}}e.finishInit=function(e){e.save=n,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,n(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(pe(t.form,"submit",n),"function"==typeof t.form.submit&&(t.form.submit=i))}},t.style.display="none";var s=ka(function(e){return t.parentNode.insertBefore(e,t.nextSibling)},e);return s},(Ka=ka).off=pe,Ka.on=de,Ka.wheelEventPixels=mi,Ka.Doc=Lo,Ka.splitLines=Ne,Ka.countColumn=F,Ka.findColumn=V,Ka.isWordChar=ee,Ka.Pass=H,Ka.signal=me,Ka.Line=Vt,Ka.changeEnd=wi,Ka.scrollbarModel=zn,Ka.Pos=et,Ka.cmpPos=tt,Ka.modes=Be,Ka.mimeModes=De,Ka.resolveMode=Fe,Ka.getMode=ze,Ka.modeExtensions=We,Ka.extendMode=qe,Ka.copyState=He,Ka.startState=Ke,Ka.innerMode=je,Ka.commands=Yo,Ka.keyMap=Fo,Ka.keyName=Ko,Ka.isModifierKey=Ho,Ka.lookupKey=qo,Ka.normalizeKeyMap=Wo,Ka.StringStream=Ue,Ka.SharedTextMarker=ko,Ka.TextMarker=xo,Ka.LineWidget=vo,Ka.e_preventDefault=xe,Ka.e_stopPropagation=we,Ka.e_stop=Ce,Ka.addClass=I,Ka.contains=E,Ka.rmClass=L,Ka.keyNames=Po,ka.version="5.48.0",ka}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(C){"use strict";var S={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},_={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};C.defineMode("xml",function(e,t){var a,o,s=e.indentUnit,l={},r=t.htmlMode?S:_;for(var n in r)l[n]=r[n];for(var n in t)l[n]=t[n];function c(t,r){function e(e){return(r.tokenize=e)(t,r)}var n=t.next();return"<"==n?t.eat("!")?t.eat("[")?t.match("CDATA[")?e(i("atom","]]>")):null:t.match("--")?e(i("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),e(function n(i){return function(e,t){for(var r;null!=(r=e.next());){if("<"==r)return t.tokenize=n(i+1),t.tokenize(e,t);if(">"==r){if(1!=i)return t.tokenize=n(i-1),t.tokenize(e,t);t.tokenize=c;break}}return"meta"}}(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),r.tokenize=i("meta","?>"),"meta"):(a=t.eat("/")?"closeTag":"openTag",r.tokenize=u,"tag bracket"):"&"!=n?(t.eatWhile(/[^&<]/),null):(t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"))?"atom":"error"}function u(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=c,a=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return a="equals",null;if("<"!=r)return/[\'\"]/.test(r)?(t.tokenize=(n=r,(i=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=u;break}return"string"}).isInAttribute=!0,i),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word");t.tokenize=c,t.state=p,t.tagName=t.tagStart=null;var n,i,o=t.tokenize(e,t);return o?o+" tag error":"tag error"}function i(r,n){return function(e,t){for(;!e.eol();){if(e.match(n)){t.tokenize=c;break}e.next()}return r}}function f(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function d(e){e.context&&(e.context=e.context.prev)}function h(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!l.contextGrabbers.hasOwnProperty(r)||!l.contextGrabbers[r].hasOwnProperty(t))return;d(e)}}function p(e,t,r){return"openTag"==e?(r.tagStart=t.column(),m):"closeTag"==e?g:p}function m(e,t,r){return"word"==e?(r.tagName=t.current(),o="tag",b):l.allowMissingTagName&&"endTag"==e?(o="tag bracket",b(e,t,r)):(o="error",m)}function g(e,t,r){if("word"!=e)return l.allowMissingTagName&&"endTag"==e?(o="tag bracket",v(e,t,r)):(o="error",y);var n=t.current();return r.context&&r.context.tagName!=n&&l.implicitlyClosed.hasOwnProperty(r.context.tagName)&&d(r),r.context&&r.context.tagName==n||!1===l.matchClosing?(o="tag",v):(o="tag error",y)}function v(e,t,r){return"endTag"!=e?(o="error",v):(d(r),p)}function y(e,t,r){return o="error",v(e,0,r)}function b(e,t,r){if("word"==e)return o="attribute",x;if("endTag"!=e&&"selfcloseTag"!=e)return o="error",b;var n=r.tagName,i=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(n)?h(r,n):(h(r,n),r.context=new f(r,n,i==r.indented)),p}function x(e,t,r){return"equals"==e?w:(l.allowMissing||(o="error"),b(e,0,r))}function w(e,t,r){return"string"==e?k:"word"==e&&l.allowUnquoted?(o="string",b):(o="error",b(e,0,r))}function k(e,t,r){return"string"==e?k:b(e,0,r)}return c.isInText=!0,{startState:function(e){var t={tokenize:c,state:p,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;a=null;var r=t.tokenize(e,t);return(r||a)&&"comment"!=r&&(o=null,t.state=t.state(a||r,e,t),o&&(r="error"==o?r+" error":o)),r},indent:function(e,t,r){var n=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+s;if(n&&n.noIndent)return C.Pass;if(e.tokenize!=u&&e.tokenize!=c)return r?r.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==l.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(t))return 0;var i=t&&/^<(\/)?([\w_:\.-]*)/.exec(t);if(i&&i[1])for(;n;){if(n.tagName==i[2]){n=n.prev;break}if(!l.implicitlyClosed.hasOwnProperty(n.tagName))break;n=n.prev}else if(i)for(;n;){var o=l.contextGrabbers[n.tagName];if(!o||!o.hasOwnProperty(i[2]))break;n=n.prev}for(;n&&n.prev&&!n.startOfLine;)n=n.prev;return n?n.indent+s:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==w&&(e.state=b)}}}),C.defineMIME("text/xml","xml"),C.defineMIME("application/xml","xml"),C.mimeModes.hasOwnProperty("text/html")||C.defineMIME("text/html",{name:"xml",htmlMode:!0})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(Ge){"use strict";Ge.defineMode("javascript",function(e,f){var n,i,d=e.indentUnit,h=f.statementIndent,a=f.jsonld,s=f.json||a,c=f.typescript,u=f.wordCharacters||/[\w$\xa1-\uffff]/,l=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),i=e("keyword d"),o=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:r,do:r,try:r,finally:r,return:i,break:i,continue:i,new:e("new"),delete:n,void:n,throw:n,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n}}(),p=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function g(e,t,r){return n=e,i=r,t}function v(e,t){var i,r=e.next();if('"'==r||"'"==r)return t.tokenize=(i=r,function(e,t){var r,n=!1;if(a&&"@"==e.peek()&&e.match(m))return t.tokenize=v,g("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=i||n);)n=!n&&"\\"==r;return n||(t.tokenize=v),g("string","string")}),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return g("number","number");if("."==r&&e.match(".."))return g("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return g(r);if("="==r&&e.eat(">"))return g("=>","operator");if("0"==r&&e.match(/^(?:x[\da-f]+|o[0-7]+|b[01]+)n?/i))return g("number","number");if(/\d/.test(r))return e.match(/^\d*(?:n|(?:\.\d*)?(?:[eE][+\-]?\d+)?)?/),g("number","number");if("/"==r)return e.eat("*")?(t.tokenize=y)(e,t):e.eat("/")?(e.skipToEnd(),g("comment","comment")):$e(e,t,1)?(function(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),g("regexp","string-2")):(e.eat("="),g("operator","operator",e.current()));if("`"==r)return(t.tokenize=b)(e,t);if("#"==r)return e.skipToEnd(),g("error","error");if(p.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),g("operator","operator",e.current());if(u.test(r)){e.eatWhile(u);var n=e.current();if("."!=t.lastType){if(l.propertyIsEnumerable(n)){var o=l[n];return g(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return g("async","keyword",n)}return g("variable","variable",n)}}function y(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=v;break}n="*"==r}return g("comment","comment")}function b(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=v;break}n=!n&&"\\"==r}return g("quasi","string-2",e.current())}var x="([{}])";function o(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var i=0,o=!1,a=r-1;0<=a;--a){var s=e.string.charAt(a),l=x.indexOf(s);if(0<=l&&l<3){if(!i){++a;break}if(0==--i){"("==s&&(o=!0);break}}else if(3<=l&&l<6)++i;else if(u.test(s))o=!0;else{if(/["'\/]/.test(s))return;if(o&&!i){++a;break}}}o&&!i&&(t.fatArrowAt=a)}}var w={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function k(e,t,r,n,i,o){this.indented=e,this.column=t,this.type=r,this.prev=i,this.info=o,null!=n&&(this.align=n)}function C(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}var S={state:null,column:null,marked:null,cc:null};function _(){for(var e=arguments.length-1;0<=e;e--)S.cc.push(arguments[e])}function L(){return _.apply(null,arguments),!0}function M(e,t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}function r(e){var t=S.state;if(S.marked="def",t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var r=function e(t,r){{if(r){if(r.block){var n=e(t,r.prev);return n?n==r.prev?r:new A(n,r.vars,!0):null}return M(t,r.vars)?r:new A(r.prev,new O(t,r.vars),!1)}return null}}(e,t.context);if(null!=r)return void(t.context=r)}else if(!M(e,t.localVars))return void(t.localVars=new O(e,t.localVars));f.globalVars&&!M(e,t.globalVars)&&(t.globalVars=new O(e,t.globalVars))}function T(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function A(e,t,r){this.prev=e,this.vars=t,this.block=r}function O(e,t){this.name=e,this.next=t}var t=new O("this",new O("arguments",null));function E(){S.state.context=new A(S.state.context,S.state.localVars,!1),S.state.localVars=t}function N(){S.state.context=new A(S.state.context,S.state.localVars,!0),S.state.localVars=null}function I(){S.state.localVars=S.state.context.vars,S.state.context=S.state.context.prev}function P(n,i){var e=function(){var e=S.state,t=e.indented;if("stat"==e.lexical.type)t=e.lexical.indented;else for(var r=e.lexical;r&&")"==r.type&&r.align;r=r.prev)t=r.indented;e.lexical=new k(t,S.stream.column(),n,null,e.lexical,i)};return e.lex=!0,e}function R(){var e=S.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function B(r){return function e(t){return t==r?L():";"==r||"}"==t||")"==t||"]"==t?_():L(e)}}function D(e,t){return"var"==e?L(P("vardef",t),ye,B(";"),R):"keyword a"==e?L(P("form"),q,D,R):"keyword b"==e?L(P("form"),D,R):"keyword d"==e?S.stream.match(/^\s*$/,!1)?L():L(P("stat"),j,B(";"),R):"debugger"==e?L(B(";")):"{"==e?L(P("}"),N,oe,R,I):";"==e?L():"if"==e?("else"==S.state.lexical.info&&S.state.cc[S.state.cc.length-1]==R&&S.state.cc.pop()(),L(P("form"),q,D,R,Se)):"function"==e?L(Te):"for"==e?L(P("form"),_e,D,R):"class"==e||c&&"interface"==t?(S.marked="keyword",L(P("form","class"==e?e:t),Ie,R)):"variable"==e?c&&"declare"==t?(S.marked="keyword",L(D)):c&&("module"==t||"enum"==t||"type"==t)&&S.stream.match(/^\s*\w/,!1)?(S.marked="keyword","enum"==t?L(Ue):"type"==t?L(Oe,B("operator"),ue,B(";")):L(P("form"),be,B("{"),P("}"),oe,R,R)):c&&"namespace"==t?(S.marked="keyword",L(P("form"),z,D,R)):c&&"abstract"==t?(S.marked="keyword",L(D)):L(P("stat"),J):"switch"==e?L(P("form"),q,B("{"),P("}","switch"),N,oe,R,R,I):"case"==e?L(z,B(":")):"default"==e?L(B(":")):"catch"==e?L(P("form"),E,F,D,R,I):"export"==e?L(P("stat"),De,R):"import"==e?L(P("stat"),ze,R):"async"==e?L(D):"@"==t?L(z,D):_(P("stat"),z,B(";"),R)}function F(e){if("("==e)return L(Ee,B(")"))}function z(e,t){return H(e,t,!1)}function W(e,t){return H(e,t,!0)}function q(e){return"("!=e?_():L(P(")"),z,B(")"),R)}function H(e,t,r){if(S.state.fatArrowAt==S.stream.start){var n=r?X:G;if("("==e)return L(E,P(")"),ne(Ee,")"),R,B("=>"),n,I);if("variable"==e)return _(E,be,B("=>"),n,I)}var i,o=r?U:K;return w.hasOwnProperty(e)?L(o):"function"==e?L(Te,o):"class"==e||c&&"interface"==t?(S.marked="keyword",L(P("form"),Ne,R)):"keyword c"==e||"async"==e?L(r?W:z):"("==e?L(P(")"),j,B(")"),R,o):"operator"==e||"spread"==e?L(r?W:z):"["==e?L(P("]"),Ke,R,o):"{"==e?ie(ee,"}",null,o):"quasi"==e?_(V,o):"new"==e?L((i=r,function(e){return"."==e?L(i?Q:Y):"variable"==e&&c?L(me,i?U:K):_(i?W:z)})):"import"==e?L(z):L()}function j(e){return e.match(/[;\}\)\],]/)?_():_(z)}function K(e,t){return","==e?L(z):U(e,t,!1)}function U(e,t,r){var n=0==r?K:U,i=0==r?z:W;return"=>"==e?L(E,r?X:G,I):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?L(n):c&&"<"==t&&S.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?L(P(">"),ne(ue,">"),R,n):"?"==t?L(z,B(":"),i):L(i):"quasi"==e?_(V,n):";"!=e?"("==e?ie(W,")","call",n):"."==e?L(Z,n):"["==e?L(P("]"),j,B("]"),R,n):c&&"as"==t?(S.marked="keyword",L(ue,n)):"regexp"==e?(S.state.lastType=S.marked="operator",S.stream.backUp(S.stream.pos-S.stream.start-1),L(i)):void 0:void 0}function V(e,t){return"quasi"!=e?_():"${"!=t.slice(t.length-2)?L(V):L(z,$)}function $(e){if("}"==e)return S.marked="string-2",S.state.tokenize=b,L(V)}function G(e){return o(S.stream,S.state),_("{"==e?D:z)}function X(e){return o(S.stream,S.state),_("{"==e?D:W)}function Y(e,t){if("target"==t)return S.marked="keyword",L(K)}function Q(e,t){if("target"==t)return S.marked="keyword",L(U)}function J(e){return":"==e?L(R,D):_(K,B(";"),R)}function Z(e){if("variable"==e)return S.marked="property",L()}function ee(e,t){if("async"==e)return S.marked="property",L(ee);if("variable"==e||"keyword"==S.style){return S.marked="property","get"==t||"set"==t?L(te):(c&&S.state.fatArrowAt==S.stream.start&&(r=S.stream.match(/^\s*:\s*/,!1))&&(S.state.fatArrowAt=S.stream.pos+r[0].length),L(re));var r}else{if("number"==e||"string"==e)return S.marked=a?"property":S.style+" property",L(re);if("jsonld-keyword"==e)return L(re);if(c&&T(t))return S.marked="keyword",L(ee);if("["==e)return L(z,se,B("]"),re);if("spread"==e)return L(W,re);if("*"==t)return S.marked="keyword",L(ee);if(":"==e)return _(re)}}function te(e){return"variable"!=e?_(re):(S.marked="property",L(Te))}function re(e){return":"==e?L(W):"("==e?_(Te):void 0}function ne(n,i,o){function a(e,t){if(o?-1<o.indexOf(e):","==e){var r=S.state.lexical;return"call"==r.info&&(r.pos=(r.pos||0)+1),L(function(e,t){return e==i||t==i?_():_(n)},a)}return e==i||t==i?L():o&&-1<o.indexOf(";")?_(n):L(B(i))}return function(e,t){return e==i||t==i?L():_(n,a)}}function ie(e,t,r){for(var n=3;n<arguments.length;n++)S.cc.push(arguments[n]);return L(P(t,r),ne(e,t),R)}function oe(e){return"}"==e?L():_(D,oe)}function ae(e,t){if(c){if(":"==e)return L(ue);if("?"==t)return L(ae)}}function se(e,t){if(c&&(":"==e||"in"==t))return L(ue)}function le(e){if(c&&":"==e)return S.stream.match(/^\s*\w+\s+is\b/,!1)?L(z,ce,ue):L(ue)}function ce(e,t){if("is"==t)return S.marked="keyword",L()}function ue(e,t){return"keyof"==t||"typeof"==t||"infer"==t?(S.marked="keyword",L("typeof"==t?W:ue)):"variable"==e||"void"==t?(S.marked="type",L(pe)):"|"==t||"&"==t?L(ue):"string"==e||"number"==e||"atom"==e?L(pe):"["==e?L(P("]"),ne(ue,"]",","),R,pe):"{"==e?L(P("}"),ne(de,"}",",;"),R,pe):"("==e?L(ne(he,")"),fe,pe):"<"==e?L(ne(ue,">"),ue):void 0}function fe(e){if("=>"==e)return L(ue)}function de(e,t){return"variable"==e||"keyword"==S.style?(S.marked="property",L(de)):"?"==t||"number"==e||"string"==e?L(de):":"==e?L(ue):"["==e?L(B("variable"),ae,B("]"),de):"("==e?_(Ae,de):void 0}function he(e,t){return"variable"==e&&S.stream.match(/^\s*[?:]/,!1)||"?"==t?L(he):":"==e?L(ue):"spread"==e?L(he):_(ue)}function pe(e,t){return"<"==t?L(P(">"),ne(ue,">"),R,pe):"|"==t||"."==e||"&"==t?L(ue):"["==e?L(ue,B("]"),pe):"extends"==t||"implements"==t?(S.marked="keyword",L(ue)):"?"==t?L(ue,B(":"),ue):void 0}function me(e,t){if("<"==t)return L(P(">"),ne(ue,">"),R,pe)}function ge(){return _(ue,ve)}function ve(e,t){if("="==t)return L(ue)}function ye(e,t){return"enum"==t?(S.marked="keyword",L(Ue)):_(be,ae,ke,Ce)}function be(e,t){return c&&T(t)?(S.marked="keyword",L(be)):"variable"==e?(r(t),L()):"spread"==e?L(be):"["==e?ie(we,"]"):"{"==e?ie(xe,"}"):void 0}function xe(e,t){return"variable"!=e||S.stream.match(/^\s*:/,!1)?("variable"==e&&(S.marked="property"),"spread"==e?L(be):"}"==e?_():"["==e?L(z,B("]"),B(":"),xe):L(B(":"),be,ke)):(r(t),L(ke))}function we(){return _(be,ke)}function ke(e,t){if("="==t)return L(W)}function Ce(e){if(","==e)return L(ye)}function Se(e,t){if("keyword b"==e&&"else"==t)return L(P("form","else"),D,R)}function _e(e,t){return"await"==t?L(_e):"("==e?L(P(")"),Le,R):void 0}function Le(e){return"var"==e?L(ye,Me):"variable"==e?L(Me):_(Me)}function Me(e,t){return")"==e?L():";"==e?L(Me):"in"==t||"of"==t?(S.marked="keyword",L(z,Me)):_(z,Me)}function Te(e,t){return"*"==t?(S.marked="keyword",L(Te)):"variable"==e?(r(t),L(Te)):"("==e?L(E,P(")"),ne(Ee,")"),R,le,D,I):c&&"<"==t?L(P(">"),ne(ge,">"),R,Te):void 0}function Ae(e,t){return"*"==t?(S.marked="keyword",L(Ae)):"variable"==e?(r(t),L(Ae)):"("==e?L(E,P(")"),ne(Ee,")"),R,le,I):c&&"<"==t?L(P(">"),ne(ge,">"),R,Ae):void 0}function Oe(e,t){return"keyword"==e||"variable"==e?(S.marked="type",L(Oe)):"<"==t?L(P(">"),ne(ge,">"),R):void 0}function Ee(e,t){return"@"==t&&L(z,Ee),"spread"==e?L(Ee):c&&T(t)?(S.marked="keyword",L(Ee)):c&&"this"==e?L(ae,ke):_(be,ae,ke)}function Ne(e,t){return"variable"==e?Ie(e,t):Pe(e,t)}function Ie(e,t){if("variable"==e)return r(t),L(Pe)}function Pe(e,t){return"<"==t?L(P(">"),ne(ge,">"),R,Pe):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(S.marked="keyword"),L(c?ue:z,Pe)):"{"==e?L(P("}"),Re,R):void 0}function Re(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&T(t))&&S.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(S.marked="keyword",L(Re)):"variable"==e||"keyword"==S.style?(S.marked="property",L(c?Be:Te,Re)):"number"==e||"string"==e?L(c?Be:Te,Re):"["==e?L(z,ae,B("]"),c?Be:Te,Re):"*"==t?(S.marked="keyword",L(Re)):c&&"("==e?_(Ae,Re):";"==e||","==e?L(Re):"}"==e?L():"@"==t?L(z,Re):void 0}function Be(e,t){if("?"==t)return L(Be);if(":"==e)return L(ue,ke);if("="==t)return L(W);var r=S.state.lexical.prev;return _(r&&"interface"==r.info?Ae:Te)}function De(e,t){return"*"==t?(S.marked="keyword",L(je,B(";"))):"default"==t?(S.marked="keyword",L(z,B(";"))):"{"==e?L(ne(Fe,"}"),je,B(";")):_(D)}function Fe(e,t){return"as"==t?(S.marked="keyword",L(B("variable"))):"variable"==e?_(W,Fe):void 0}function ze(e){return"string"==e?L():"("==e?_(z):_(We,qe,je)}function We(e,t){return"{"==e?ie(We,"}"):("variable"==e&&r(t),"*"==t&&(S.marked="keyword"),L(He))}function qe(e){if(","==e)return L(We,qe)}function He(e,t){if("as"==t)return S.marked="keyword",L(We)}function je(e,t){if("from"==t)return S.marked="keyword",L(z)}function Ke(e){return"]"==e?L():_(ne(W,"]"))}function Ue(){return _(P("form"),be,B("{"),P("}"),ne(Ve,"}"),R,R)}function Ve(){return _(be,ke)}function $e(e,t,r){return t.tokenize==v&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}return R.lex=I.lex=!0,{startState:function(e){var t={tokenize:v,lastType:"sof",cc:[],lexical:new k((e||0)-d,0,"block",!1),localVars:f.localVars,context:f.localVars&&new A(null,null,!1),indented:e||0};return f.globalVars&&"object"==typeof f.globalVars&&(t.globalVars=f.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),o(e,t)),t.tokenize!=y&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=i&&"--"!=i?n:"incdec",function(e,t,r,n,i){var o=e.cc;for(S.state=e,S.stream=i,S.marked=null,S.cc=o,S.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():s?z:D)(r,n)){for(;o.length&&o[o.length-1].lex;)o.pop()();return S.marked?S.marked:"variable"==r&&C(e,n)?"variable-2":t}}(t,r,n,i,e))},indent:function(e,t){if(e.tokenize==y)return Ge.Pass;if(e.tokenize!=v)return 0;var r,n=t&&t.charAt(0),i=e.lexical;if(!/^\s*else\b/.test(t))for(var o=e.cc.length-1;0<=o;--o){var a=e.cc[o];if(a==R)i=i.prev;else if(a!=Se)break}for(;("stat"==i.type||"form"==i.type)&&("}"==n||(r=e.cc[e.cc.length-1])&&(r==K||r==U)&&!/^[,\.=+\-*:?[\(]/.test(t));)i=i.prev;h&&")"==i.type&&"stat"==i.prev.type&&(i=i.prev);var s,l,c=i.type,u=n==c;return"vardef"==c?i.indented+("operator"==e.lastType||","==e.lastType?i.info.length+1:0):"form"==c&&"{"==n?i.indented:"form"==c?i.indented+d:"stat"==c?i.indented+(l=t,"operator"==(s=e).lastType||","==s.lastType||p.test(l.charAt(0))||/[,.]/.test(l.charAt(0))?h||d:0):"switch"!=i.info||u||0==f.doubleIndentSwitch?i.align?i.column+(u?0:1):i.indented+(u?0:d):i.indented+(/^(?:case|default)\b/.test(t)?d:2*d)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:s?null:"/*",blockCommentEnd:s?null:"*/",blockCommentContinue:s?null:" * ",lineComment:s?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:s?"json":"javascript",jsonldMode:a,jsonMode:s,expressionAllowed:$e,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=z&&t!=W||e.cc.pop()}}}),Ge.registerHelper("wordChars","javascript",/[\w$]/),Ge.defineMIME("text/javascript","javascript"),Ge.defineMIME("text/ecmascript","javascript"),Ge.defineMIME("application/javascript","javascript"),Ge.defineMIME("application/x-javascript","javascript"),Ge.defineMIME("application/ecmascript","javascript"),Ge.defineMIME("application/json",{name:"javascript",json:!0}),Ge.defineMIME("application/x-json",{name:"javascript",json:!0}),Ge.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),Ge.defineMIME("text/typescript",{name:"javascript",typescript:!0}),Ge.defineMIME("application/typescript",{name:"javascript",typescript:!0})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(O){"use strict";function e(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}O.defineMode("css",function(e,t){var r=t.inline;t.propertyKeywords||(t=O.resolveMode("text/css"));var n,i,o=e.indentUnit,a=t.tokenHooks,s=t.documentTypes||{},l=t.mediaTypes||{},c=t.mediaFeatures||{},u=t.mediaValueKeywords||{},f=t.propertyKeywords||{},d=t.nonStandardPropertyKeywords||{},h=t.fontProperties||{},p=t.counterDescriptors||{},m=t.colorKeywords||{},g=t.valueKeywords||{},v=t.allowNested,y=t.lineComment,b=!0===t.supportsAtComponent;function x(e,t){return n=t,e}function w(i){return function(e,t){for(var r,n=!1;null!=(r=e.next());){if(r==i&&!n){")"==i&&e.backUp(1);break}n=!n&&"\\"==r}return(r==i||!n&&")"!=i)&&(t.tokenize=null),x("string","string")}}function k(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=w(")"),x(null,"(")}function C(e,t,r){this.type=e,this.indent=t,this.prev=r}function S(e,t,r,n){return e.context=new C(r,t.indentation()+(!1===n?0:o),e.context),r}function _(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function L(e,t,r){return A[r.context.type](e,t,r)}function M(e,t,r,n){for(var i=n||1;0<i;i--)r.context=r.context.prev;return L(e,t,r)}function T(e){var t=e.current().toLowerCase();i=g.hasOwnProperty(t)?"atom":m.hasOwnProperty(t)?"keyword":"variable"}var A={top:function(e,t,r){if("{"==e)return S(r,t,"block");if("}"==e&&r.context.prev)return _(r);if(b&&/@component/i.test(e))return S(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return S(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return S(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return S(r,t,"at");if("hash"==e)i="builtin";else if("word"==e)i="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return S(r,t,"interpolation");if(":"==e)return"pseudo";if(v&&"("==e)return S(r,t,"parens")}return r.context.type},block:function(e,t,r){if("word"!=e)return"meta"==e?"block":v||"hash"!=e&&"qualifier"!=e?A.top(e,t,r):(i="error","block");var n=t.current().toLowerCase();return f.hasOwnProperty(n)?(i="property","maybeprop"):d.hasOwnProperty(n)?(i="string-2","maybeprop"):v?(i=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(i+=" error","maybeprop")},maybeprop:function(e,t,r){return":"==e?S(r,t,"prop"):L(e,t,r)},prop:function(e,t,r){if(";"==e)return _(r);if("{"==e&&v)return S(r,t,"propBlock");if("}"==e||"{"==e)return M(e,t,r);if("("==e)return S(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)T(t);else if("interpolation"==e)return S(r,t,"interpolation")}else i+=" error";return"prop"},propBlock:function(e,t,r){return"}"==e?_(r):"word"==e?(i="property","maybeprop"):r.context.type},parens:function(e,t,r){return"{"==e||"}"==e?M(e,t,r):")"==e?_(r):"("==e?S(r,t,"parens"):"interpolation"==e?S(r,t,"interpolation"):("word"==e&&T(t),"parens")},pseudo:function(e,t,r){return"meta"==e?"pseudo":"word"==e?(i="variable-3",r.context.type):L(e,t,r)},documentTypes:function(e,t,r){return"word"==e&&s.hasOwnProperty(t.current())?(i="tag",r.context.type):A.atBlock(e,t,r)},atBlock:function(e,t,r){if("("==e)return S(r,t,"atBlock_parens");if("}"==e||";"==e)return M(e,t,r);if("{"==e)return _(r)&&S(r,t,v?"block":"top");if("interpolation"==e)return S(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();i="only"==n||"not"==n||"and"==n||"or"==n?"keyword":l.hasOwnProperty(n)?"attribute":c.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":f.hasOwnProperty(n)?"property":d.hasOwnProperty(n)?"string-2":g.hasOwnProperty(n)?"atom":m.hasOwnProperty(n)?"keyword":"error"}return r.context.type},atComponentBlock:function(e,t,r){return"}"==e?M(e,t,r):"{"==e?_(r)&&S(r,t,v?"block":"top",!1):("word"==e&&(i="error"),r.context.type)},atBlock_parens:function(e,t,r){return")"==e?_(r):"{"==e||"}"==e?M(e,t,r,2):A.atBlock(e,t,r)},restricted_atBlock_before:function(e,t,r){return"{"==e?S(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(i="variable","restricted_atBlock_before"):L(e,t,r)},restricted_atBlock:function(e,t,r){return"}"==e?(r.stateArg=null,_(r)):"word"==e?(i="@font-face"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!p.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,r){return"word"==e?(i="variable","keyframes"):"{"==e?S(r,t,"top"):L(e,t,r)},at:function(e,t,r){return";"==e?_(r):"{"==e||"}"==e?M(e,t,r):("word"==e?i="tag":"hash"==e&&(i="builtin"),"at")},interpolation:function(e,t,r){return"}"==e?_(r):"{"==e||";"==e?M(e,t,r):("word"==e?i="variable":"variable"!=e&&"("!=e&&")"!=e&&(i="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new C(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function(e,t){var r=e.next();if(a[r]){var n=a[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),x("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?x(null,"compare"):'"'==r||"'"==r?(t.tokenize=w(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),x("atom","hash")):"!"==r?(e.match(/^\s*\w*/),x("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),x("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?x(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?x("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?x(null,r):e.match(/[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/.test(e.current().toLowerCase())&&(t.tokenize=k),x("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),x("property","word")):x(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),x("number","unit")):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?x("variable-2","variable-definition"):x("variable-2","variable")):e.match(/^\w+-/)?x("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(n=r[1],r=r[0]),i=r,"comment"!=n&&(t.state=A[t.state](n,e,t)),i},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),i=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(i=Math.max(0,r.indent-o)):i=(r=r.prev).indent),i},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=e(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=e(n),o=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],a=e(o),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=e(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],u=e(c),f=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=e(f),h=e(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),p=e(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),m=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=e(m),v=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=e(v),b=t.concat(n).concat(o).concat(s).concat(c).concat(f).concat(m).concat(v);function x(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}O.registerHelper("hintWords","css",b),O.defineMIME("text/css",{documentTypes:r,mediaTypes:i,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:d,fontProperties:h,counterDescriptors:p,colorKeywords:g,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=x)(e,t)}},name:"css"}),O.defineMIME("text/x-scss",{mediaTypes:i,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=x)(e,t):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),O.defineMIME("text/x-less",{mediaTypes:i,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=x)(e,t):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),O.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:i,mediaFeatures:a,propertyKeywords:u,nonStandardPropertyKeywords:d,fontProperties:h,counterDescriptors:p,colorKeywords:g,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=x)(e,t)}},name:"css",helperType:"gss"})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],e):e(CodeMirror)}(function(p){"use strict";var i={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};var o={};function m(e,t){var r,n=e.match(o[r=t]||(o[r]=new RegExp("\\s+"+r+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*")));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function g(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function a(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),i=e[r],o=i.length-1;0<=o;o--)n.unshift(i[o])}p.defineMode("htmlmixed",function(u,e){var f=p.getMode(u,{name:"xml",htmlMode:!0,multilineTagIndentFactor:e.multilineTagIndentFactor,multilineTagIndentPastTag:e.multilineTagIndentPastTag}),d={},t=e&&e.tags,r=e&&e.scriptTypes;if(a(i,d),t&&a(t,d),r)for(var n=r.length-1;0<=n;n--)d.script.unshift(["type",r[n].matches,r[n].mode]);function h(e,t){var r,n=f.token(e,t.htmlState),i=/\btag\b/.test(n);if(i&&!/[<>\s\/]/.test(e.current())&&(r=t.htmlState.tagName&&t.htmlState.tagName.toLowerCase())&&d.hasOwnProperty(r))t.inTag=r+" ";else if(t.inTag&&i&&/>$/.test(e.current())){var o=/^([\S]+) (.*)/.exec(t.inTag);t.inTag=null;var a=">"==e.current()&&function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(m(t,n[0])))return n[2]}}(d[o[1]],o[2]),s=p.getMode(u,a),l=g(o[1],!0),c=g(o[1],!1);t.token=function(e,t){return e.match(l,!1)?(t.token=h,t.localState=t.localMode=null,null):(r=e,n=c,i=t.localMode.token(e,t.localState),o=r.current(),-1<(a=o.search(n))?r.backUp(o.length-a):o.match(/<\/?$/)&&(r.backUp(o.length),r.match(n,!1)||r.match(o)),i);var r,n,i,o,a},t.localMode=s,t.localState=p.startState(s,f.indent(t.htmlState,"",""))}else t.inTag&&(t.inTag+=e.current(),e.eol()&&(t.inTag+=" "));return n}return{startState:function(){return{token:h,inTag:null,localMode:null,localState:null,htmlState:p.startState(f)}},copyState:function(e){var t;return e.localState&&(t=p.copyState(e.localMode,e.localState)),{token:e.token,inTag:e.inTag,localMode:e.localMode,localState:t,htmlState:p.copyState(f,e.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(e,t,r){return!e.localMode||/^\s*<\//.test(t)?f.indent(e.htmlState,t,r):e.localMode.indent?e.localMode.indent(e.localState,t,r):p.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||f}}}},"xml","javascript","css"),p.defineMIME("text/html","htmlmixed")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(O){"use strict";function E(e,t,r,n,i,o){this.indented=e,this.column=t,this.type=r,this.info=n,this.align=i,this.prev=o}function N(e,t,r,n){var i=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=r&&(i=e.context.indented),e.context=new E(i,t,r,n,null,e.context)}function I(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function P(e,t,r){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,r))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function R(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function e(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}function B(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}O.defineMode("clike",function(e,s){var a,l,c=e.indentUnit,u=s.statementIndentUnit||c,f=s.dontAlignCalls,d=s.keywords||{},h=s.types||{},p=s.builtin||{},m=s.blockKeywords||{},g=s.defKeywords||{},v=s.atoms||{},y=s.hooks||{},b=s.multiLineStrings,o=!1!==s.indentStatements,t=!1!==s.indentSwitch,x=s.namespaceSeparator,w=s.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,k=s.numberStart||/[\d\.]/,C=s.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,S=s.isOperatorChar||/[+\-*&%=<>!?|\/]/,_=s.isIdentifierChar||/[\w\$_\xa1-\uffff]/,L=s.isReservedIdentifier||!1;function M(e,t){var o,r=e.next();if(y[r]){var n=y[r](e,t);if(!1!==n)return n}if('"'==r||"'"==r)return t.tokenize=(o=r,function(e,t){for(var r,n=!1,i=!1;null!=(r=e.next());){if(r==o&&!n){i=!0;break}n=!n&&"\\"==r}return(i||!n&&!b)&&(t.tokenize=null),"string"}),t.tokenize(e,t);if(w.test(r))return a=r,null;if(k.test(r)){if(e.backUp(1),e.match(C))return"number";e.next()}if("/"==r){if(e.eat("*"))return(t.tokenize=T)(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(S.test(r)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(S););return"operator"}if(e.eatWhile(_),x)for(;e.match(x);)e.eatWhile(_);var i=e.current();return B(d,i)?(B(m,i)&&(a="newstatement"),B(g,i)&&(l=!0),"keyword"):B(h,i)?"type":B(p,i)||L&&L(i)?(B(m,i)&&(a="newstatement"),"builtin"):B(v,i)?"atom":"variable"}function T(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=null;break}n="*"==r}return"comment"}function A(e,t){s.typeFirstDefinitions&&e.eol()&&R(t.context)&&(t.typeAtEndOfLine=P(e,t,e.pos))}return{startState:function(e){return{tokenize:null,context:new E((e||0)-c,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return A(e,t),null;a=l=null;var n=(t.tokenize||M)(e,t);if("comment"==n||"meta"==n)return n;if(null==r.align&&(r.align=!0),";"==a||":"==a||","==a&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)I(t);else if("{"==a)N(t,e.column(),"}");else if("["==a)N(t,e.column(),"]");else if("("==a)N(t,e.column(),")");else if("}"==a){for(;"statement"==r.type;)r=I(t);for("}"==r.type&&(r=I(t));"statement"==r.type;)r=I(t)}else a==r.type?I(t):o&&(("}"==r.type||"top"==r.type)&&";"!=a||"statement"==r.type&&"newstatement"==a)&&N(t,e.column(),"statement",e.current());if("variable"==n&&("def"==t.prevToken||s.typeFirstDefinitions&&P(e,t,e.start)&&R(t.context)&&e.match(/^\s*\(/,!1))&&(n="def"),y.token){var i=y.token(e,t,n);void 0!==i&&(n=i)}return"def"==n&&!1===s.styleDefs&&(n="variable"),t.startOfLine=!1,t.prevToken=l?"def":n||a,A(e,t),n},indent:function(e,t){if(e.tokenize!=M&&null!=e.tokenize||e.typeAtEndOfLine)return O.Pass;var r=e.context,n=t&&t.charAt(0),i=n==r.type;if("statement"==r.type&&"}"==n&&(r=r.prev),s.dontIndentStatements)for(;"statement"==r.type&&s.dontIndentStatements.test(r.info);)r=r.prev;if(y.indent){var o=y.indent(e,r,t,c);if("number"==typeof o)return o}var a=r.prev&&"switch"==r.prev.info;if(s.allmanIndentation&&/[{(]/.test(n)){for(;"top"!=r.type&&"}"!=r.type;)r=r.prev;return r.indented}return"statement"==r.type?r.indented+("{"==n?0:u):!r.align||f&&")"==r.type?")"!=r.type||i?r.indented+(i?0:c)+(i||!a||/^(?:case|default)\b/.test(t)?0:c):r.indented+u:r.column+(i?0:1)},electricInput:t?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",r=e("int long char short double float unsigned signed void bool"),n=e("SEL instancetype id Class Protocol BOOL");function i(e){return B(r,e)||/.+_t$/.test(e)}var o="case do else for if switch while struct enum union",a="struct enum union";function s(e,t){if(!t.startOfLine)return!1;for(var r,n=null;r=e.peek();){if("\\"==r&&e.match(/^.$/)){n=s;break}if("/"==r&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=n,"meta"}function l(e,t){return"type"==t.prevToken&&"type"}function c(e){return!(!e||e.length<2)&&("_"==e[0]&&("_"==e[1]||e[1]!==e[1].toLowerCase()))}function u(e){return e.eatWhile(/[\w\.']/),"number"}function f(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var r=e.match(/"([^\s\\()]{0,16})\(/);return!!r&&(t.cpp11RawStringDelim=r[1],(t.tokenize=h)(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function d(e,t){for(var r;null!=(r=e.next());)if('"'==r&&!e.eat('"')){t.tokenize=null;break}return"string"}function h(e,t){var r=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+r+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function p(e,t){"string"==typeof e&&(e=[e]);var r=[];function n(e){if(e)for(var t in e)e.hasOwnProperty(t)&&r.push(t)}n(t.keywords),n(t.types),n(t.builtin),n(t.atoms),r.length&&(t.helperType=e[0],O.registerHelper("hintWords",e[0],r));for(var i=0;i<e.length;++i)O.defineMIME(e[i],t)}function m(e,t){for(var r=!1;!e.eol();){if(!r&&e.match('"""')){t.tokenize=null;break}r="\\"==e.next()&&!r}return"string"}p(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:e(t),types:i,blockKeywords:e(o),defKeywords:e(a),typeFirstDefinitions:!0,atoms:e("NULL true false"),isReservedIdentifier:c,hooks:{"#":s,"*":l},modeProps:{fold:["brace","include"]}}),p(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:e(t+"alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq"),types:i,blockKeywords:e(o+" class try catch"),defKeywords:e(a+" class namespace"),typeFirstDefinitions:!0,atoms:e("true false NULL nullptr"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,isReservedIdentifier:c,hooks:{"#":s,"*":l,u:f,U:f,L:f,R:f,0:u,1:u,2:u,3:u,4:u,5:u,6:u,7:u,8:u,9:u,token:function(e,t,r){if("variable"==r&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&(n=e.current(),(i=/(\w+)::~?(\w+)$/.exec(n))&&i[1]==i[2]))return"def";var n,i}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),p("text/x-java",{name:"clike",keywords:e("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:e("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:e("catch class do else finally for if switch try while"),defKeywords:e("class interface enum @interface"),typeFirstDefinitions:!0,atoms:e("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),p("text/x-csharp",{name:"clike",keywords:e("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:e("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:e("catch class do else finally for foreach if struct switch try while"),defKeywords:e("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:e("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=d)(e,t):(e.eatWhile(/[\w\$_]/),"meta")}}}),p("text/x-scala",{name:"clike",keywords:e("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:e("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:e("catch class enum do else finally for forSome if match switch try while"),defKeywords:e("class enum def object package trait type val var"),atoms:e("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=m,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var r=t.context;return!("}"!=r.type||!r.align||!e.eat(">"))&&(t.context=new E(r.indented,r.column,r.type,r.info,null,r.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=function n(i){return function(e,t){for(var r;r=e.next();){if("*"==r&&e.eat("/")){if(1!=i)return t.tokenize=n(i-1),t.tokenize(e,t);t.tokenize=null;break}if("/"==r&&e.eat("*"))return t.tokenize=n(i+1),t.tokenize(e,t)}return"comment"}}(1),t.tokenize(e,t))}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}}),p("text/x-kotlin",{name:"clike",keywords:e("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:e("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:e("catch class do else finally for if where try while enum"),defKeywords:e("class val var object interface fun"),atoms:e("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return"."==t.prevToken?"variable":"operator"},'"':function(e,t){var o;return t.tokenize=(o=e.match('""'),function(e,t){for(var r,n=!1,i=!1;!e.eol();){if(!o&&!n&&e.match('"')){i=!0;break}if(o&&e.match('"""')){i=!0;break}r=e.next(),!n&&"$"==r&&e.match("{")&&e.skipTo("}"),n=!n&&"\\"==r&&!o}return!i&&o||(t.tokenize=null),"string"}),t.tokenize(e,t)},indent:function(e,t,r,n){var i=r&&r.charAt(0);return"}"!=e.prevToken&&")"!=e.prevToken||""!=r?"operator"==e.prevToken&&"}"!=r||"variable"==e.prevToken&&"."==i||("}"==e.prevToken||")"==e.prevToken)&&"."==i?2*n+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(r||"").charAt(0)?0:n):void 0:e.indented}},modeProps:{closeBrackets:{triples:'"'}}}),p(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:e("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:e("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:e("for while do if else struct"),builtin:e("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:e("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":s},modeProps:{fold:["brace","include"]}}),p("text/x-nesc",{name:"clike",keywords:e(t+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:i,blockKeywords:e(o),atoms:e("null true false"),hooks:{"#":s},modeProps:{fold:["brace","include"]}}),p("text/x-objectivec",{name:"clike",keywords:e(t+" bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available"),types:function(e){return i(e)||B(n,e)},builtin:e("FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINED NS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT"),blockKeywords:e(o+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:e(a+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:e("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:c,hooks:{"#":s,"*":l},modeProps:{fold:["brace","include"]}}),p("text/x-squirrel",{name:"clike",keywords:e("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:i,blockKeywords:e("case catch class else for foreach if switch try while"),defKeywords:e("function local class"),typeFirstDefinitions:!0,atoms:e("true false null"),hooks:{"#":s},modeProps:{fold:["brace","include"]}});var g=null;p("text/x-ceylon",{name:"clike",keywords:e("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:e("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:e("class dynamic function interface module object package value"),builtin:e("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:e("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=function o(a){return function(e,t){for(var r,n=!1,i=!1;!e.eol();){if(!n&&e.match('"')&&("single"==a||e.match('""'))){i=!0;break}if(!n&&e.match("``")){g=o(a),i=!0;break}r=e.next(),n="single"==a&&!n&&"\\"==r}return i&&(t.tokenize=null),"string"}}(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!g||!e.match("`"))&&(t.tokenize=g,g=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,r){if(("variable"==r||"type"==r)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],e):e(CodeMirror)}(function(c){"use strict";function e(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}function s(i,o,a){return 0==i.length?l(o):function(e,t){for(var r=i[0],n=0;n<r.length;n++)if(e.match(r[n][0]))return t.tokenize=s(i.slice(1),o),r[n][1];return t.tokenize=l(o,a),"string"}}function l(r,n){return function(e,t){return function(e,t,r,n){if(!1!==n&&e.match("${",!1)||e.match("{$",!1))return t.tokenize=null,"string";if(!1!==n&&e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return e.match("[",!1)&&(t.tokenize=s([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],r,n)),e.match(/\-\>\w/,!1)&&(t.tokenize=s([[["->",null]],[[/[\w]+/,"variable"]]],r,n)),"variable-2";var i=!1;for(;!e.eol()&&(i||!1===n||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!i&&e.match(r)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break}i="\\"==e.next()&&!i}return"string"}(e,t,r,n)}}var t="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",r="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",n="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";c.registerHelper("hintWords","php",[t,r,n].join(" ").split(" ")),c.registerHelper("wordChars","php",/[\w$]/);var i={name:"clike",helperType:"php",keywords:e(t),blockKeywords:e("catch do else elseif for foreach if switch try while finally"),defKeywords:e("class function interface namespace trait"),atoms:e(r),builtin:e(n),multiLineStrings:!0,hooks:{$:function(e){return e.eatWhile(/[\w\$_]/),"variable-2"},"<":function(e,t){var r;if(r=e.match(/<<\s*/)){var n=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var i=e.current().slice(r[0].length+(n?2:1));if(n&&e.eat(n),i)return(t.tokStack||(t.tokStack=[])).push(i,0),t.tokenize=l(i,"'"!=n),"string"}return!1},"#":function(e){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"},"/":function(e){if(e.eat("/")){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"}return!1},'"':function(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=l('"'),"string"},"{":function(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1},"}":function(e,t){return t.tokStack&&0<t.tokStack.length&&!--t.tokStack[t.tokStack.length-1]&&(t.tokenize=l(t.tokStack[t.tokStack.length-2])),!1}}};c.defineMode("php",function(e,r){var s=c.getMode(e,r&&r.htmlMode||"text/html"),l=c.getMode(e,i);return{startState:function(){var e=c.startState(s),t=r.startOpen?c.startState(l):null;return{html:e,php:t,curMode:r.startOpen?l:s,curState:r.startOpen?t:e,pending:null}},copyState:function(e){var t,r=e.html,n=c.copyState(s,r),i=e.php,o=i&&c.copyState(l,i);return t=e.curMode==s?n:o,{html:n,php:o,curMode:e.curMode,curState:t,pending:e.pending}},token:function(e,t){var r=t.curMode==l;if(e.sol()&&t.pending&&'"'!=t.pending&&"'"!=t.pending&&(t.pending=null),r)return r&&null==t.php.tokenize&&e.match("?>")?(t.curMode=s,t.curState=t.html,t.php.context.prev||(t.php=null),"meta"):l.token(e,t.curState);if(e.match(/^<\?\w*/))return t.curMode=l,t.php||(t.php=c.startState(l,s.indent(t.html,"",""))),t.curState=t.php,"meta";if('"'==t.pending||"'"==t.pending){for(;!e.eol()&&e.next()!=t.pending;);var n="string"}else n=t.pending&&e.pos<t.pending.end?(e.pos=t.pending.end,t.pending.style):s.token(e,t.curState);t.pending&&(t.pending=null);var i,o=e.current(),a=o.search(/<\?/);return-1!=a&&("string"==n&&(i=o.match(/[\'\"]$/))&&!/\?>/.test(o)?t.pending=i[0]:t.pending={end:e.pos,style:n},e.backUp(o.length-a)),n},indent:function(e,t,r){return e.curMode!=l&&/^\s*<\//.test(t)||e.curMode==l&&/^\?>/.test(t)?s.indent(e.html,t,r):e.curMode.indent(e.curState,t,r)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(e){return{state:e.curState,mode:e.curMode}}}},"htmlmixed","clike"),c.defineMIME("application/x-httpd-php","php"),c.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),c.defineMIME("text/x-php",i)}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var C={allowUnquoted:!0,allowMissing:!0,caseFold:!0};e.defineMode("shortcode",function(e,t){var a,s,o=e.indentUnit,l={},r=C;for(var n in r)l[n]=r[n];for(var i in t)l[i]=t[i];function c(e,t){return"["===e.next()?"["===e.peek()?(t.tokenize=u,"comment"):/\s/.test(e.peek())?null:(a=e.eat("/")?"closeTag":"openTag",t.tokenize=f,"tag bracket"):(e.eatWhile(/[^\[]/),null)}function u(e,t){var r=function(e,t){return e.next(),t.tokenize=c,"comment"};return r.isInEscape=!0,"]"===e.next()&&"]"===e.peek()&&(t.tokenize=r),e.eatWhile(/[^\]]/),null}function f(e,t){var r=e.next();if("]"===r||"/"===r&&e.eat("]"))return t.tokenize=c,a="endTag","tag bracket";if("="===r)return a="equals",null;if("["!==r)return/[\'\"]/.test(r)?(t.tokenize=(n=r,(i=function(e,t){var r=e.next();return r===n?(t.tokenize=f,"string"):/[\[\]]/.test(r)?"string error":(e.eatWhile(/[^\[\]\'\"]/),"string")}).isInAttribute=!0,i),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=\[\]\"\']*[^\s\u00a0=\[\]\"\'\/]/),"word");t.tokenize=c,t.state=p,t.tagName=t.tagStart=null;var n,i,o=t.tokenize(e,t);return o?o+" tag error":"tag error"}function d(e,t,r){this.tagHistory=[t],e.context&&(this.tagHistory=this.tagHistory.concat(e.context.tagHistory)),this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r}function h(e){e.context&&(e.context=e.context.prev)}function p(e,t,r){return"openTag"===e?(r.tagStart=t.column(),m):"closeTag"===e?g:p}function m(e,t,r){if("word"!==e)return s="error",m;var n=t.current();return s=/[\[\]\/\'\"<>&]/.test(n)?"error":(r.tagName=t.current(),"tag"),b}function g(e,t,r){if("word"!==e)return s="error",y;var n=t.current();if(r.context&&r.context.tagName===n||!1===l.matchClosing)return s="tag",v;if(r.context&&0<r.context.tagHistory.indexOf(n)){for(var i=r.context.tagHistory.indexOf(n),o=0;o<i;o++)h(r);return s="tag",v}return s="tag error",y}function v(e,t,r){return"endTag"!==e?(s="error",v):(h(r),p)}function y(e,t,r){return s="error",v(e,0,r)}function b(e,t,r){if("word"===e)return s=/^[a-z0-9_\-]+$/i.test(t.current())?"attribute":"error",x;if("endTag"!==e)return s="error",b;var n=r.tagName,i=r.tagStart;return r.tagName=r.tagStart=null,r.context=new d(r,n,i===r.indented),p}function x(e,t,r){return"equals"===e?w:(l.allowMissing||(s="error"),b(e,t,r))}function w(e,t,r){return"string"===e?k:"word"===e&&l.allowUnquoted?(s="string",b):(s="error",b(e,t,r))}function k(e,t,r){return"string"===e?k:b(e,t,r)}return u.isInEscape=c.isInText=!0,{startState:function(e){var t={tokenize:c,state:p,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;a=null;var r=t.tokenize(e,t);return(r||a)&&"comment"!==r&&(s=null,t.state=t.state(a||r,e,t),s&&(r="error"===s?r+" error":s)),r},indent:function(e,t,r){var n=e.context;if(e.tokenize.isInAttribute)return e.tagStart===e.indented?e.stringStartCol+1:e.indented+o;if(e.tokenize!==f&&e.tokenize!==c)return r?r.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==l.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+o*(l.multilineTagIndentFactor||1);var i=t&&/^\[(\/)?([\w_:\.-]*)/.exec(t);if(i&&i[1])for(;n&&n.tagName===i[2];){n=n.prev;break}for(;n&&n.prev&&!n.startOfLine;)n=n.prev;return n?n.indent+o:e.baseIndent||0},skipAttribute:function(e){e.state===w&&(e.state=b)}}})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],e):e(CodeMirror)}(function(r){"use strict";r.defineMode("wordpresspost",function(e,t){var a=r.getMode(e,{name:"htmlmixed",multilineTagIndentFactor:t.multilineTagIndentFactor,multilineTagIndentPastTag:t.multilineTagIndentPastTag}),s=r.getMode(e,{name:"shortcode",multilineTagIndentFactor:t.multilineTagIndentFactor,multilineTagIndentPastTag:t.multilineTagIndentPastTag});function l(e,t){t.isInShortcode=!0;var r=s.token(e,t.shortcodeState),n=t.shortcodeState.tokenize.isInText,i=t.shortcodeState.tokenize.isInEscape;if(n)t.token=c;else if(i&&/\]/.test(e.current())){var o=e.current(),a=o.search(/\]/);e.backUp(o.length-a-1),"]"!==e.peek()&&(t.token=c)}return r}function c(e,t){t.isInShortcode=!1;var r=a.token(e,t.htmlmixedState),n=t.htmlmixedState.htmlState.tokenize.isInText;if(n&&/\[/.test(e.current())&&!t.htmlmixedState.localState&&null===r){var i=e.current(),o=i.search(/\[/);e.backUp(i.length-o),null==t.shortcodeState&&(t.shortcodeState=s.startState(a.indent(t.htmlmixedState,""))),t.token=l}else n&&/<!\-\-more|<!\-\-(noteaser|nextpage)\-\->?/.test(e.current())&&!t.htmlmixedState.localState&&"comment"===r&&(e.backUp(e.current().length),t.token=u);return r}function u(e,t){return e.match("\x3c!--more")?"meta":e.match("--\x3e")||e.match("\x3c!--noteaser--\x3e")||e.match("\x3c!--nextpage--\x3e")?(t.token=c,"meta"):(e.eatWhile(/[^\-/]/),"string")}return{startState:function(){return{token:c,isInShortcode:!1,shortcodeState:null,htmlmixedState:a.startState()}},copyState:function(e){var t;return e.shortcodeState&&(t=r.copyState(s,e.shortcodeState)),{token:e.token,shortcodeState:t,htmlmixedState:r.copyState(a,e.htmlmixedState)}},token:function(e,t){return t.token(e,t)},indent:function(e,t){return e.isInShortcode?e.isInShortcode?s.indent(e.shortcodeState,t):r.Pass:a.indent(e.htmlmixedState,t)},innerMode:function(e){return e.isInShortcode?{state:e.shortcodeState,mode:s}:{state:e.htmlmixedState,mode:a}}}},"htmlmixed","shortcode")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(i){"use strict";var s="CodeMirror-activeline",l="CodeMirror-activeline-background",c="CodeMirror-activeline-gutter";function u(e){for(var t=0;t<e.state.activeLines.length;t++)e.removeLineClass(e.state.activeLines[t],"wrap",s),e.removeLineClass(e.state.activeLines[t],"background",l),e.removeLineClass(e.state.activeLines[t],"gutter",c)}function o(t,e){for(var r=[],n=0;n<e.length;n++){var i=e[n],o=t.getOption("styleActiveLine");if("object"==typeof o&&o.nonEmpty?i.anchor.line==i.head.line:i.empty()){var a=t.getLineHandleVisualStart(i.head.line);r[r.length-1]!=a&&r.push(a)}}(function(e,t){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!=t[r])return!1;return!0})(t.state.activeLines,r)||t.operation(function(){u(t);for(var e=0;e<r.length;e++)t.addLineClass(r[e],"wrap",s),t.addLineClass(r[e],"background",l),t.addLineClass(r[e],"gutter",c);t.state.activeLines=r})}function a(e,t){o(e,t.ranges)}i.defineOption("styleActiveLine",!1,function(e,t,r){var n=r!=i.Init&&r;t!=n&&(n&&(e.off("beforeSelectionChange",a),u(e),delete e.state.activeLines),t&&(e.state.activeLines=[],o(e,e.listSelections()),e.on("beforeSelectionChange",a)))})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(i){"use strict";var v,y,b=i.Pos;function p(e,t){for(var r,n,i=null!=(n=(r=e).flags)?n:(r.ignoreCase?"i":"")+(r.global?"g":"")+(r.multiline?"m":""),o=i,a=0;a<t.length;a++)-1==o.indexOf(t.charAt(a))&&(o+=t.charAt(a));return i==o?e:new RegExp(e.source,o)}function m(e,t,r){t=p(t,"g");for(var n=r.line,i=r.ch,o=e.lastLine();n<=o;n++,i=0){t.lastIndex=i;var a=e.getLine(n),s=t.exec(a);if(s)return{from:b(n,s.index),to:b(n,s.index+s[0].length),match:s}}}function g(e,t){for(var r,n=0;;){t.lastIndex=n;var i=t.exec(e);if(!i)return r;if((n=(r=i).index+(r[0].length||1))==e.length)return r}}function x(e,t,r,n){if(e.length==t.length)return r;for(var i=0,o=r+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=n(e.slice(0,a)).length;if(s==r)return a;r<s?o=a:i=a+1}}function n(r,n,e,t){var i;this.atOccurrence=!1,this.doc=r,e=e?r.clipPos(e):b(0,0),this.pos={from:e,to:e},"object"==typeof t?i=t.caseFold:(i=t,t=null),"string"==typeof n?(null==i&&(i=!1),this.matches=function(e,t){return(e?function(e,t,r,n){if(!t.length)return null;var i=n?v:y,o=i(t).split(/\r|\n\r?/);e:for(var a=r.line,s=r.ch,l=e.firstLine()-1+o.length;l<=a;a--,s=-1){var c=e.getLine(a);-1<s&&(c=c.slice(0,s));var u=i(c);if(1==o.length){var f=u.lastIndexOf(o[0]);if(-1==f)continue e;return{from:b(a,x(c,u,f,i)),to:b(a,x(c,u,f+o[0].length,i))}}var d=o[o.length-1];if(u.slice(0,d.length)==d){var h=1;for(r=a-o.length+1;h<o.length-1;h++)if(i(e.getLine(r+h))!=o[h])continue e;var p=e.getLine(a+1-o.length),m=i(p);if(m.slice(m.length-o[0].length)==o[0])return{from:b(a+1-o.length,x(p,m,p.length-o[0].length,i)),to:b(a,x(c,u,d.length,i))}}}}:function(e,t,r,n){if(!t.length)return null;var i=n?v:y,o=i(t).split(/\r|\n\r?/);e:for(var a=r.line,s=r.ch,l=e.lastLine()+1-o.length;a<=l;a++,s=0){var c=e.getLine(a).slice(s),u=i(c);if(1==o.length){var f=u.indexOf(o[0]);if(-1==f)continue e;return r=x(c,u,f,i)+s,{from:b(a,x(c,u,f,i)+s),to:b(a,x(c,u,f+o[0].length,i)+s)}}var d=u.length-o[0].length;if(u.slice(d)==o[0]){for(var h=1;h<o.length-1;h++)if(i(e.getLine(a+h))!=o[h])continue e;var p=e.getLine(a+o.length-1),m=i(p),g=o[o.length-1];if(m.slice(0,g.length)==g)return{from:b(a,x(c,u,d,i)+s),to:b(a+o.length-1,x(p,m,g.length,i))}}}})(r,n,t,i)}):(n=p(n,"gm"),t&&!1===t.multiline?this.matches=function(e,t){return(e?function(e,t,r){t=p(t,"g");for(var n=r.line,i=r.ch,o=e.firstLine();o<=n;n--,i=-1){var a=e.getLine(n);-1<i&&(a=a.slice(0,i));var s=g(a,t);if(s)return{from:b(n,s.index),to:b(n,s.index+s[0].length),match:s}}}:m)(r,n,t)}:this.matches=function(e,t){return(e?function(e,t,r){t=p(t,"gm");for(var n,i=1,o=r.line,a=e.firstLine();a<=o;){for(var s=0;s<i;s++){var l=e.getLine(o--);n=null==n?l.slice(0,r.ch):l+"\n"+n}i*=2;var c=g(n,t);if(c){var u=n.slice(0,c.index).split("\n"),f=c[0].split("\n"),d=o+u.length,h=u[u.length-1].length;return{from:b(d,h),to:b(d+f.length-1,1==f.length?h+f[0].length:f[f.length-1].length),match:c}}}}:function(e,t,r){if(!/\\s|\\n|\n|\\W|\\D|\[\^/.test(t.source))return m(e,t,r);t=p(t,"gm");for(var n,i=1,o=r.line,a=e.lastLine();o<=a;){for(var s=0;s<i&&!(a<o);s++){var l=e.getLine(o++);n=null==n?l:n+"\n"+l}i*=2,t.lastIndex=r.ch;var c=t.exec(n);if(c){var u=n.slice(0,c.index).split("\n"),f=c[0].split("\n"),d=r.line+u.length-1,h=u[u.length-1].length;return{from:b(d,h),to:b(d+f.length-1,1==f.length?h+f[0].length:f[f.length-1].length),match:c}}}})(r,n,t)})}y=String.prototype.normalize?(v=function(e){return e.normalize("NFD").toLowerCase()},function(e){return e.normalize("NFD")}):(v=function(e){return e.toLowerCase()},function(e){return e}),n.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(e){for(var t=this.matches(e,this.doc.clipPos(e?this.pos.from:this.pos.to));t&&0==i.cmpPos(t.from,t.to);)e?t.from.ch?t.from=b(t.from.line,t.from.ch-1):t=t.from.line==this.doc.firstLine()?null:this.matches(e,this.doc.clipPos(b(t.from.line-1))):t.to.ch<this.doc.getLine(t.to.line).length?t.to=b(t.to.line,t.to.ch+1):t=t.to.line==this.doc.lastLine()?null:this.matches(e,b(t.to.line+1,0));if(t)return this.pos=t,this.atOccurrence=!0,this.pos.match||!0;var r=b(e?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:r,to:r},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(e,t){if(this.atOccurrence){var r=i.splitLines(e);this.doc.replaceRange(r,this.pos.from,this.pos.to,t),this.pos.to=b(this.pos.from.line+r.length-1,r[r.length-1].length+(1==r.length?this.pos.from.ch:0))}}},i.defineExtension("getSearchCursor",function(e,t,r){return new n(this.doc,e,t,r)}),i.defineDocExtension("getSearchCursor",function(e,t,r){return new n(this,e,t,r)}),i.defineExtension("selectMatches",function(e,t){for(var r=[],n=this.getSearchCursor(e,this.getCursor("from"),t);n.findNext()&&!(0<i.cmpPos(n.to(),this.getCursor("to")));)r.push({anchor:n.from(),head:n.to()});r.length&&this.setSelections(r,0)})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("./searchcursor"),require("../dialog/dialog")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../dialog/dialog"],e):e(CodeMirror)}(function(h){"use strict";function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function p(e){return e.state.search||(e.state.search=new t)}function o(e){return"string"==typeof e&&e==e.toLowerCase()}function m(e,t,r){return e.getSearchCursor(t,r,{caseFold:o(t),multiline:!0})}function g(e,t,r,n,i){e.openDialog?e.openDialog(t,i,{value:n,selectValueOnOpen:!0}):i(prompt(r,n))}function n(e){return e.replace(/\\(.)/g,function(e,t){return"n"==t?"\n":"r"==t?"\r":t})}function a(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(e){}else e=n(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function v(e,t,r){var n,i;t.queryText=r,t.query=a(r),e.removeOverlay(t.overlay,o(t.query)),t.overlay=(n=t.query,i=o(t.query),"string"==typeof n?n=new RegExp(n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),i?"gi":"g"):n.global||(n=new RegExp(n.source,n.ignoreCase?"gi":"g")),{token:function(e){n.lastIndex=e.pos;var t=n.exec(e.string);if(t&&t.index==e.pos)return e.pos+=t[0].length||1,"searching";t?e.pos=t.index:e.skipToEnd()}}),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,o(t.query)))}function r(o,t,e,r){var n=p(o);if(n.query)return y(o,t);var i,a,s,l,c,u=o.getSelection()||n.lastQuery;if(u instanceof RegExp&&"x^"==u.source&&(u=null),e&&o.openDialog){var f=null,d=function(e,t){h.e_stop(t),e&&(e!=n.queryText&&(v(o,n,e),n.posFrom=n.posTo=o.getCursor()),f&&(f.style.opacity=1),y(o,t.shiftKey,function(e,t){var r;t.line<3&&document.querySelector&&(r=o.display.wrapper.querySelector(".CodeMirror-dialog"))&&r.getBoundingClientRect().bottom-4>o.cursorCoords(t,"window").top&&((f=r).style.opacity=.4)}))};a=x(i=o),s=u,l=d,c=function(e,t){var r=h.keyName(e),n=o.getOption("extraKeys"),i=n&&n[r]||h.keyMap[o.getOption("keyMap")][r];"findNext"==i||"findPrev"==i||"findPersistentNext"==i||"findPersistentPrev"==i?(h.e_stop(e),v(o,p(o),t),o.execCommand(i)):"find"!=i&&"findPersistent"!=i||(h.e_stop(e),d(t,e))},i.openDialog(a,l,{value:s,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){b(i)},onKeyDown:c}),r&&u&&(v(o,n,u),y(o,t))}else g(o,x(o),"Search for:",u,function(e){e&&!n.query&&o.operation(function(){v(o,n,e),n.posFrom=n.posTo=o.getCursor(),y(o,t)})})}function y(r,n,i){r.operation(function(){var e=p(r),t=m(r,e.query,n?e.posFrom:e.posTo);(t.find(n)||(t=m(r,e.query,n?h.Pos(r.lastLine()):h.Pos(r.firstLine(),0))).find(n))&&(r.setSelection(t.from(),t.to()),r.scrollIntoView({from:t.from(),to:t.to()},20),e.posFrom=t.from(),e.posTo=t.to(),i&&i(t.from(),t.to()))})}function b(t){t.operation(function(){var e=p(t);e.lastQuery=e.query,e.query&&(e.query=e.queryText=null,t.removeOverlay(e.overlay),e.annotate&&(e.annotate.clear(),e.annotate=null))})}function x(e){return'<span class="CodeMirror-search-label">'+e.phrase("Search:")+'</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+e.phrase("(Use /re/ syntax for regexp search)")+"</span>"}function w(t,n,i){t.operation(function(){for(var e=m(t,n);e.findNext();)if("string"!=typeof n){var r=t.getRange(e.from(),e.to()).match(n);e.replace(i.replace(/\$(\d)/g,function(e,t){return r[t]}))}else e.replace(i)})}function i(d,e){if(!d.getOption("readOnly")){var t=d.getSelection()||p(d).lastQuery,r='<span class="CodeMirror-search-label">'+(e?d.phrase("Replace all:"):d.phrase("Replace:"))+"</span>";g(d,r+(' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">'+d.phrase("(Use /re/ syntax for regexp search)")+"</span>"),r,t,function(f){f&&(f=a(f),g(d,'<span class="CodeMirror-search-label">'+d.phrase("With:")+'</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/>',d.phrase("Replace with:"),"",function(s){if(s=n(s),e)w(d,f,s);else{b(d);var l=m(d,f,d.getCursor("from")),c=function(){var e,t,r,n,i,o,a=l.from();!(e=l.findNext())&&(l=m(d,f),!(e=l.findNext())||a&&l.from().line==a.line&&l.from().ch==a.ch)||(d.setSelection(l.from(),l.to()),d.scrollIntoView({from:l.from(),to:l.to()}),r='<span class="CodeMirror-search-label">'+(o=t=d).phrase("Replace?")+"</span> <button>"+o.phrase("Yes")+"</button> <button>"+o.phrase("No")+"</button> <button>"+o.phrase("All")+"</button> <button>"+o.phrase("Stop")+"</button> ",n=d.phrase("Replace?"),i=[function(){u(e)},c,function(){w(d,f,s)}],t.openConfirm?t.openConfirm(r,i):confirm(n)&&i[0]())},u=function(r){l.replace("string"==typeof f?s:s.replace(/\$(\d)/g,function(e,t){return r[t]})),c()};c()}}))})}}h.commands.find=function(e){b(e),r(e)},h.commands.findPersistent=function(e){b(e),r(e,!1,!0)},h.commands.findPersistentNext=function(e){r(e,!1,!0,!0)},h.commands.findPersistentPrev=function(e){r(e,!0,!0,!0)},h.commands.findNext=r,h.commands.findPrev=function(e){r(e,!0)},h.commands.clearSearch=b,h.commands.replace=i,h.commands.replaceAll=function(e){i(e,!0)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(f){function d(e,t,r){var n,i=e.getWrapperElement();return(n=i.appendChild(document.createElement("div"))).className=r?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?n.innerHTML=t:n.appendChild(t),f.addClass(i,"dialog-opened"),n}function h(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}f.defineExtension("openDialog",function(e,t,r){r||(r={}),h(this,null);var n=d(this,e,r.bottom),i=!1,o=this;function a(e){if("string"==typeof e)l.value=e;else{if(i)return;i=!0,f.rmClass(n.parentNode,"dialog-opened"),n.parentNode.removeChild(n),o.focus(),r.onClose&&r.onClose(n)}}var s,l=n.getElementsByTagName("input")[0];return l?(l.focus(),r.value&&(l.value=r.value,!1!==r.selectValueOnOpen&&l.select()),r.onInput&&f.on(l,"input",function(e){r.onInput(e,l.value,a)}),r.onKeyUp&&f.on(l,"keyup",function(e){r.onKeyUp(e,l.value,a)}),f.on(l,"keydown",function(e){r&&r.onKeyDown&&r.onKeyDown(e,l.value,a)||((27==e.keyCode||!1!==r.closeOnEnter&&13==e.keyCode)&&(l.blur(),f.e_stop(e),a()),13==e.keyCode&&t(l.value,e))}),!1!==r.closeOnBlur&&f.on(l,"blur",a)):(s=n.getElementsByTagName("button")[0])&&(f.on(s,"click",function(){a(),o.focus()}),!1!==r.closeOnBlur&&f.on(s,"blur",a),s.focus()),a}),f.defineExtension("openConfirm",function(e,t,r){h(this,null);var n=d(this,e,r&&r.bottom),i=n.getElementsByTagName("button"),o=!1,a=this,s=1;function l(){o||(o=!0,f.rmClass(n.parentNode,"dialog-opened"),n.parentNode.removeChild(n),a.focus())}i[0].focus();for(var c=0;c<i.length;++c){var u=i[c];!function(t){f.on(u,"click",function(e){f.e_preventDefault(e),l(),t&&t(a)})}(t[c]),f.on(u,"blur",function(){--s,setTimeout(function(){s<=0&&l()},200)}),f.on(u,"focus",function(){++s})}}),f.defineExtension("openNotification",function(e,t){h(this,a);var r,n=d(this,e,t&&t.bottom),i=!1,o=t&&void 0!==t.duration?t.duration:5e3;function a(){i||(i=!0,clearTimeout(r),f.rmClass(n.parentNode,"dialog-opened"),n.parentNode.removeChild(n))}return f.on(n,"click",function(e){f.e_preventDefault(e),a()}),o&&(r=setTimeout(a,o)),a})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(s){"use strict";function n(e,t,r){this.orientation=t,this.scroll=r,this.screen=this.total=this.size=1,this.pos=0,this.node=document.createElement("div"),this.node.className=e+"-"+t,this.inner=this.node.appendChild(document.createElement("div"));var a=this;function n(e){var t=s.wheelEventPixels(e)["horizontal"==a.orientation?"x":"y"],r=a.pos;a.moveTo(a.pos+t),a.pos!=r&&s.e_preventDefault(e)}s.on(this.inner,"mousedown",function(e){if(1==e.which){s.e_preventDefault(e);var t="horizontal"==a.orientation?"pageX":"pageY",r=e[t],n=a.pos;s.on(document,"mousemove",o),s.on(document,"mouseup",i)}function i(){s.off(document,"mousemove",o),s.off(document,"mouseup",i)}function o(e){if(1!=e.which)return i();a.moveTo(n+(e[t]-r)*(a.total/a.size))}}),s.on(this.node,"click",function(e){s.e_preventDefault(e);var t,r=a.inner.getBoundingClientRect();t="horizontal"==a.orientation?e.clientX<r.left?-1:e.clientX>r.right?1:0:e.clientY<r.top?-1:e.clientY>r.bottom?1:0,a.moveTo(a.pos+t*a.screen)}),s.on(this.node,"mousewheel",n),s.on(this.node,"DOMMouseScroll",n)}n.prototype.setPos=function(e,t){return e<0&&(e=0),e>this.total-this.screen&&(e=this.total-this.screen),!(!t&&e==this.pos)&&(this.pos=e,this.inner.style["horizontal"==this.orientation?"left":"top"]=e*(this.size/this.total)+"px",!0)},n.prototype.moveTo=function(e){this.setPos(e)&&this.scroll(e,this.orientation)};function r(e,t,r){this.addClass=e,this.horiz=new n(e,"horizontal",r),t(this.horiz.node),this.vert=new n(e,"vertical",r),t(this.vert.node),this.width=null}n.prototype.update=function(e,t,r){var n=this.screen!=t||this.total!=e||this.size!=r;n&&(this.screen=t,this.total=e,this.size=r);var i=this.screen*(this.size/this.total);i<10&&(this.size-=10-i,i=10),this.inner.style["horizontal"==this.orientation?"width":"height"]=i+"px",this.setPos(this.pos,n)},r.prototype.update=function(e){if(null==this.width){var t=window.getComputedStyle?window.getComputedStyle(this.horiz.node):this.horiz.node.currentStyle;t&&(this.width=parseInt(t.height))}var r=this.width||0,n=e.scrollWidth>e.clientWidth+1,i=e.scrollHeight>e.clientHeight+1;return this.vert.node.style.display=i?"block":"none",this.horiz.node.style.display=n?"block":"none",i&&(this.vert.update(e.scrollHeight,e.clientHeight,e.viewHeight-(n?r:0)),this.vert.node.style.bottom=n?r+"px":"0"),n&&(this.horiz.update(e.scrollWidth,e.clientWidth,e.viewWidth-(i?r:0)-e.barLeft),this.horiz.node.style.right=i?r+"px":"0",this.horiz.node.style.left=e.barLeft+"px"),{right:i?r:0,bottom:n?r:0}},r.prototype.setScrollTop=function(e){this.vert.setPos(e)},r.prototype.setScrollLeft=function(e){this.horiz.setPos(e)},r.prototype.clear=function(){var e=this.horiz.node.parentNode;e.removeChild(this.horiz.node),e.removeChild(this.vert.node)},s.scrollbarModel.simple=function(e,t){return new r("CodeMirror-simplescroll",e,t)},s.scrollbarModel.overlay=function(e,t){return new r("CodeMirror-overlayscroll",e,t)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var L={},M=/[^\s\u00a0]/,T=e.Pos;function d(e){var t=e.search(M);return-1==t?0:t}function A(e,t){var r=e.getMode();return!1!==r.useInnerComments&&r.innerMode?e.getModeAt(t):r}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",function(e){e||(e=L);for(var t=1/0,r=this.listSelections(),n=null,i=r.length-1;0<=i;i--){var o=r[i].from(),a=r[i].to();o.line>=t||(a.line>=t&&(a=T(t,0)),t=o.line,null==n?n=this.uncomment(o,a,e)?"un":(this.lineComment(o,a,e),"line"):"un"==n?this.uncomment(o,a,e):this.lineComment(o,a,e))}}),e.defineExtension("lineComment",function(o,e,a){a||(a=L);var s=this,t=A(s,o),r=s.getLine(o.line);if(null!=r&&(n=o,i=r,!/\bstring\b/.test(s.getTokenTypeAt(T(n.line,0)))||/^[\'\"\`]/.test(i))){var n,i,l=a.lineComment||t.lineComment;if(l){var c=Math.min(0!=e.ch||e.line==o.line?e.line+1:e.line,s.lastLine()+1),u=null==a.padding?" ":a.padding,f=a.commentBlankLines||o.line==e.line;s.operation(function(){if(a.indent){for(var e=null,t=o.line;t<c;++t){var r=(n=s.getLine(t)).slice(0,d(n));(null==e||e.length>r.length)&&(e=r)}for(t=o.line;t<c;++t){var n=s.getLine(t),i=e.length;(f||M.test(n))&&(n.slice(0,i)!=e&&(i=d(n)),s.replaceRange(e+l+u,T(t,0),T(t,i)))}}else for(t=o.line;t<c;++t)(f||M.test(s.getLine(t)))&&s.replaceRange(l+u,T(t,0))})}else(a.blockCommentStart||t.blockCommentStart)&&(a.fullLines=!0,s.blockComment(o,e,a))}}),e.defineExtension("blockComment",function(n,i,o){o||(o=L);var a=this,s=A(a,n),l=o.blockCommentStart||s.blockCommentStart,c=o.blockCommentEnd||s.blockCommentEnd;if(l&&c){if(!/\bcomment\b/.test(a.getTokenTypeAt(T(n.line,0)))){var u=Math.min(i.line,a.lastLine());u!=n.line&&0==i.ch&&M.test(a.getLine(u))&&--u;var f=null==o.padding?" ":o.padding;n.line>u||a.operation(function(){if(0!=o.fullLines){var e=M.test(a.getLine(u));a.replaceRange(f+c,T(u)),a.replaceRange(l+f,T(n.line,0));var t=o.blockCommentLead||s.blockCommentLead;if(null!=t)for(var r=n.line+1;r<=u;++r)(r!=u||e)&&a.replaceRange(t+f,T(r,0))}else a.replaceRange(c,i),a.replaceRange(l,n)})}}else(o.lineComment||s.lineComment)&&0!=o.fullLines&&a.lineComment(n,i,o)}),e.defineExtension("uncomment",function(e,t,r){r||(r=L);var i,o=this,n=A(o,e),a=Math.min(0!=t.ch||t.line==e.line?t.line:t.line-1,o.lastLine()),s=Math.min(e.line,a),l=r.lineComment||n.lineComment,c=[],u=null==r.padding?" ":r.padding;e:if(l){for(var f=s;f<=a;++f){var d=o.getLine(f),h=d.indexOf(l);if(-1<h&&!/comment/.test(o.getTokenTypeAt(T(f,h+1)))&&(h=-1),-1==h&&M.test(d))break e;if(-1<h&&M.test(d.slice(0,h)))break e;c.push(d)}if(o.operation(function(){for(var e=s;e<=a;++e){var t=c[e-s],r=t.indexOf(l),n=r+l.length;r<0||(t.slice(n,n+u.length)==u&&(n+=u.length),i=!0,o.replaceRange("",T(e,r),T(e,n)))}}),i)return!0}var p=r.blockCommentStart||n.blockCommentStart,m=r.blockCommentEnd||n.blockCommentEnd;if(!p||!m)return!1;var g=r.blockCommentLead||n.blockCommentLead,v=o.getLine(s),y=v.indexOf(p);if(-1==y)return!1;var b=a==s?v:o.getLine(a),x=b.indexOf(m,a==s?y+p.length:0),w=T(s,y+1),k=T(a,x+1);if(-1==x||!/comment/.test(o.getTokenTypeAt(w))||!/comment/.test(o.getTokenTypeAt(k))||-1<o.getRange(w,k,"\n").indexOf(m))return!1;var C=v.lastIndexOf(p,e.ch),S=-1==C?-1:v.slice(0,e.ch).indexOf(m,C+p.length);if(-1!=C&&-1!=S&&S+m.length!=e.ch)return!1;S=b.indexOf(m,t.ch);var _=b.slice(t.ch).lastIndexOf(p,S-t.ch);return C=-1==S||-1==_?-1:t.ch+_,(-1==S||-1==C||C==t.ch)&&(o.operation(function(){o.replaceRange("",T(a,x-(u&&b.slice(x-u.length,x)==u?u.length:0)),T(a,x+m.length));var e=y+p.length;if(u&&v.slice(e,e+u.length)==u&&(e+=u.length),o.replaceRange("",T(s,y),T(s,e)),g)for(var t=s+1;t<=a;++t){var r=o.getLine(t),n=r.indexOf(g);if(-1!=n&&!M.test(r.slice(0,n))){var i=n+g.length;u&&r.slice(i,i+u.length)==u&&(i+=u.length),o.replaceRange("",T(t,n),T(t,i))}}}),!0)})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(u){"use strict";function i(i,o,e,a){if(e&&e.call){var s=e;e=null}else s=f(i,e,"rangeFinder");"number"==typeof o&&(o=u.Pos(o,0));var l=f(i,e,"minFoldSize");function t(e){var t=s(i,o);if(!t||t.to.line-t.from.line<l)return null;for(var r=i.findMarksAt(t.from),n=0;n<r.length;++n)if(r[n].__isFold&&"fold"!==a){if(!e)return null;t.cleared=!0,r[n].clear()}return t}var r=t(!0);if(f(i,e,"scanUp"))for(;!r&&o.line>i.firstLine();)o=u.Pos(o.line-1,0),r=t(!1);if(r&&!r.cleared&&"unfold"!==a){var n=function(e,t){var r=f(e,t,"widget");if("string"==typeof r){var n=document.createTextNode(r);(r=document.createElement("span")).appendChild(n),r.className="CodeMirror-foldmarker"}else r&&(r=r.cloneNode(!0));return r}(i,e);u.on(n,"mousedown",function(e){c.clear(),u.e_preventDefault(e)});var c=i.markText(r.from,r.to,{replacedWith:n,clearOnEnter:f(i,e,"clearOnEnter"),__isFold:!0});c.on("clear",function(e,t){u.signal(i,"unfold",i,e,t)}),u.signal(i,"fold",i,r.from,r.to)}}u.newFoldFunction=function(r,n){return function(e,t){i(e,t,{rangeFinder:r,widget:n})}},u.defineExtension("foldCode",function(e,t,r){i(this,e,t,r)}),u.defineExtension("isFolded",function(e){for(var t=this.findMarksAt(e),r=0;r<t.length;++r)if(t[r].__isFold)return!0}),u.commands.toggleFold=function(e){e.foldCode(e.getCursor())},u.commands.fold=function(e){e.foldCode(e.getCursor(),null,"fold")},u.commands.unfold=function(e){e.foldCode(e.getCursor(),null,"unfold")},u.commands.foldAll=function(r){r.operation(function(){for(var e=r.firstLine(),t=r.lastLine();e<=t;e++)r.foldCode(u.Pos(e,0),null,"fold")})},u.commands.unfoldAll=function(r){r.operation(function(){for(var e=r.firstLine(),t=r.lastLine();e<=t;e++)r.foldCode(u.Pos(e,0),null,"unfold")})},u.registerHelper("fold","combine",function(){var i=Array.prototype.slice.call(arguments,0);return function(e,t){for(var r=0;r<i.length;++r){var n=i[r](e,t);if(n)return n}}}),u.registerHelper("fold","auto",function(e,t){for(var r=e.getHelpers(t,"fold"),n=0;n<r.length;n++){var i=r[n](e,t);if(i)return i}});var o={rangeFinder:u.fold.auto,widget:"↔",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function f(e,t,r){if(t&&void 0!==t[r])return t[r];var n=e.options.foldOptions;return n&&void 0!==n[r]?n[r]:o[r]}u.defineOption("foldOptions",null),u.defineExtension("foldOption",function(e,t){return f(this,e,t)})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("./foldcode")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./foldcode"],e):e(CodeMirror)}(function(n){"use strict";n.defineOption("foldGutter",!1,function(e,t,r){r&&r!=n.Init&&(e.clearGutter(e.state.foldGutter.options.gutter),e.state.foldGutter=null,e.off("gutterClick",s),e.off("change",l),e.off("viewportChange",d),e.off("fold",h),e.off("unfold",h),e.off("swapDoc",l)),t&&(e.state.foldGutter=new i(function(e){!0===e&&(e={});null==e.gutter&&(e.gutter="CodeMirror-foldgutter");null==e.indicatorOpen&&(e.indicatorOpen="CodeMirror-foldgutter-open");null==e.indicatorFolded&&(e.indicatorFolded="CodeMirror-foldgutter-folded");return e}(t)),a(e),e.on("gutterClick",s),e.on("change",l),e.on("viewportChange",d),e.on("fold",h),e.on("unfold",h),e.on("swapDoc",l))});var c=n.Pos;function i(e){this.options=e,this.from=this.to=0}function u(e,t){for(var r=e.findMarks(c(t,0),c(t+1,0)),n=0;n<r.length;++n)if(r[n].__isFold&&r[n].find().from.line==t)return r[n]}function f(e){if("string"!=typeof e)return e.cloneNode(!0);var t=document.createElement("div");return t.className=e+" CodeMirror-guttermarker-subtle",t}function o(i,e,t){var o=i.state.foldGutter.options,a=e,s=i.foldOption(o,"minFoldSize"),l=i.foldOption(o,"rangeFinder");i.eachLine(e,t,function(e){var t=null;if(u(i,a))t=f(o.indicatorFolded);else{var r=c(a,0),n=l&&l(i,r);n&&n.to.line-n.from.line>=s&&(t=f(o.indicatorOpen))}i.setGutterMarker(e,o.gutter,t),++a})}function a(e){var t=e.getViewport(),r=e.state.foldGutter;r&&(e.operation(function(){o(e,t.from,t.to)}),r.from=t.from,r.to=t.to)}function s(e,t,r){var n=e.state.foldGutter;if(n){var i=n.options;if(r==i.gutter){var o=u(e,t);o?o.clear():e.foldCode(c(t,0),i.rangeFinder)}}}function l(e){var t=e.state.foldGutter;if(t){var r=t.options;t.from=t.to=0,clearTimeout(t.changeUpdate),t.changeUpdate=setTimeout(function(){a(e)},r.foldOnChangeTimeSpan||600)}}function d(t){var r=t.state.foldGutter;if(r){var e=r.options;clearTimeout(r.changeUpdate),r.changeUpdate=setTimeout(function(){var e=t.getViewport();r.from==r.to||20<e.from-r.to||20<r.from-e.to?a(t):t.operation(function(){e.from<r.from&&(o(t,e.from,r.from),r.from=e.from),e.to>r.to&&(o(t,r.to,e.to),r.to=e.to)})},e.updateViewportTimeSpan||400)}}function h(e,t){var r=e.state.foldGutter;if(r){var n=t.line;n>=r.from&&n<r.to&&o(e,n,n+1)}}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var l=e.Pos;function c(e,t){return e.line-t.line||e.ch-t.ch}var t="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n=new RegExp("<(/?)(["+t+"][A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");function u(e,t,r,n){this.line=t,this.ch=r,this.cm=e,this.text=e.getLine(t),this.min=n?Math.max(n.from,e.firstLine()):e.firstLine(),this.max=n?Math.min(n.to-1,e.lastLine()):e.lastLine()}function i(e,t){var r=e.cm.getTokenTypeAt(l(e.line,t));return r&&/\btag\b/.test(r)}function o(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function a(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function f(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(o(e))continue;return}if(i(e,t+1)){var r=e.text.lastIndexOf("/",t),n=-1<r&&!/\S/.test(e.text.slice(r+1,t));return e.ch=t+1,n?"selfClose":"regular"}e.ch=t+1}}function d(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(a(e))continue;return}if(i(e,t+1)){n.lastIndex=t,e.ch=t;var r=n.exec(e.text);if(r&&r.index==t)return r}else e.ch=t}}function h(e){for(;;){n.lastIndex=e.ch;var t=n.exec(e.text);if(!t){if(o(e))continue;return}if(i(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function p(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(a(e))continue;return}if(i(e,t+1)){var r=e.text.lastIndexOf("/",t),n=-1<r&&!/\S/.test(e.text.slice(r+1,t));return e.ch=t+1,n?"selfClose":"regular"}e.ch=t}}function m(e,t){for(var r=[];;){var n,i=h(e),o=e.line,a=e.ch-(i?i[0].length:0);if(!i||!(n=f(e)))return;if("selfClose"!=n)if(i[1]){for(var s=r.length-1;0<=s;--s)if(r[s]==i[2]){r.length=s;break}if(s<0&&(!t||t==i[2]))return{tag:i[2],from:l(o,a),to:l(e.line,e.ch)}}else r.push(i[2])}}function g(e,t){for(var r=[];;){var n=p(e);if(!n)return;if("selfClose"!=n){var i=e.line,o=e.ch,a=d(e);if(!a)return;if(a[1])r.push(a[2]);else{for(var s=r.length-1;0<=s;--s)if(r[s]==a[2]){r.length=s;break}if(s<0&&(!t||t==a[2]))return{tag:a[2],from:l(e.line,e.ch),to:l(i,o)}}}else d(e)}}e.registerHelper("fold","xml",function(e,t){for(var r=new u(e,t.line,0);;){var n=h(r);if(!n||r.line!=t.line)return;var i=f(r);if(!i)return;if(!n[1]&&"selfClose"!=i){var o=l(r.line,r.ch),a=m(r,n[2]);return a&&0<c(a.from,o)?{from:o,to:a.from}:null}}}),e.findMatchingTag=function(e,t,r){var n=new u(e,t.line,t.ch,r);if(-1!=n.text.indexOf(">")||-1!=n.text.indexOf("<")){var i=f(n),o=i&&l(n.line,n.ch),a=i&&d(n);if(i&&a&&!(0<c(n,t))){var s={from:l(n.line,n.ch),to:o,tag:a[2]};return"selfClose"==i?{open:s,close:null,at:"open"}:a[1]?{open:g(n,a[2]),close:s,at:"close"}:{open:s,close:m(n=new u(e,o.line,o.ch,r),a[2]),at:"open"}}}},e.findEnclosingTag=function(e,t,r,n){for(var i=new u(e,t.line,t.ch,r);;){var o=g(i,n);if(!o)break;var a=m(new u(e,t.line,t.ch,r),o.tag);if(a)return{open:o,close:a}}},e.scanForClosingTag=function(e,t,r,n){return m(new u(e,t.line,t.ch,n?{from:0,to:n}:null),r)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(s){"use strict";function l(e,t){var r=e.getLine(t),n=r.search(/\S/);return-1==n||/\bcomment\b/.test(e.getTokenTypeAt(s.Pos(t,n+1)))?-1:s.countColumn(r,null,e.getOption("tabSize"))}s.registerHelper("fold","indent",function(e,t){var r=l(e,t.line);if(!(r<0)){for(var n=null,i=t.line+1,o=e.lastLine();i<=o;++i){var a=l(e,i);if(-1==a);else{if(!(r<a))break;n=i}}return n?{from:s.Pos(t.line,e.getLine(t.line).length),to:s.Pos(n,e.getLine(n).length)}:void 0}})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(n){var u=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),g=n.Pos,v={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function y(e){return e&&e.bracketRegex||/[(){}[\]]/}function f(e,t,r){var n=e.getLineHandle(t.line),i=t.ch-1,o=r&&r.afterCursor;null==o&&(o=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var a=y(r),s=!o&&0<=i&&a.test(n.text.charAt(i))&&v[n.text.charAt(i)]||a.test(n.text.charAt(i+1))&&v[n.text.charAt(++i)];if(!s)return null;var l=">"==s.charAt(1)?1:-1;if(r&&r.strict&&0<l!=(i==t.ch))return null;var c=e.getTokenTypeAt(g(t.line,i+1)),u=d(e,g(t.line,i+(0<l?1:0)),l,c||null,r);return null==u?null:{from:g(t.line,i),to:u&&u.pos,match:u&&u.ch==s.charAt(0),forward:0<l}}function d(e,t,r,n,i){for(var o=i&&i.maxScanLineLength||1e4,a=i&&i.maxScanLines||1e3,s=[],l=y(i),c=0<r?Math.min(t.line+a,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-a),u=t.line;u!=c;u+=r){var f=e.getLine(u);if(f){var d=0<r?0:f.length-1,h=0<r?f.length:-1;if(!(f.length>o))for(u==t.line&&(d=t.ch-(r<0?1:0));d!=h;d+=r){var p=f.charAt(d);if(l.test(p)&&(void 0===n||e.getTokenTypeAt(g(u,d+1))==n)){var m=v[p];if(m&&">"==m.charAt(1)==0<r)s.push(p);else{if(!s.length)return{pos:g(u,d),ch:p};s.pop()}}}}}return u-r!=(0<r?e.lastLine():e.firstLine())&&null}function t(e,t,r){for(var n=e.state.matchBrackets.maxHighlightLineLength||1e3,i=[],o=e.listSelections(),a=0;a<o.length;a++){var s=o[a].empty()&&f(e,o[a].head,r);if(s&&e.getLine(s.from.line).length<=n){var l=s.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";i.push(e.markText(s.from,g(s.from.line,s.from.ch+1),{className:l})),s.to&&e.getLine(s.to.line).length<=n&&i.push(e.markText(s.to,g(s.to.line,s.to.ch+1),{className:l}))}}if(i.length){u&&e.state.focused&&e.focus();var c=function(){e.operation(function(){for(var e=0;e<i.length;e++)i[e].clear()})};if(!t)return c;setTimeout(c,800)}}function i(e){e.operation(function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=t(e,!1,e.state.matchBrackets)})}n.defineOption("matchBrackets",!1,function(e,t,r){r&&r!=n.Init&&(e.off("cursorActivity",i),e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)),t&&(e.state.matchBrackets="object"==typeof t?t:{},e.on("cursorActivity",i))}),n.defineExtension("matchBrackets",function(){t(this,!0)}),n.defineExtension("findMatchingBracket",function(e,t,r){return(r||"boolean"==typeof t)&&(t=r?(r.strict=t,r):t?{strict:!0}:null),f(this,e,t)}),n.defineExtension("scanForBracket",function(e,t,r,n){return d(this,e,t,r,n)})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../fold/xml-fold")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],e):e(CodeMirror)}(function(a){"use strict";function s(e){e.state.tagHit&&e.state.tagHit.clear(),e.state.tagOther&&e.state.tagOther.clear(),e.state.tagHit=e.state.tagOther=null}function n(o){o.state.failedTagMatch=!1,o.operation(function(){if(s(o),!o.somethingSelected()){var e=o.getCursor(),t=o.getViewport();t.from=Math.min(t.from,e.line),t.to=Math.max(e.line+1,t.to);var r=a.findMatchingTag(o,e,t);if(r){if(o.state.matchBothTags){var n="open"==r.at?r.open:r.close;n&&(o.state.tagHit=o.markText(n.from,n.to,{className:"CodeMirror-matchingtag"}))}var i="close"==r.at?r.open:r.close;i?o.state.tagOther=o.markText(i.from,i.to,{className:"CodeMirror-matchingtag"}):o.state.failedTagMatch=!0}}})}function i(e){e.state.failedTagMatch&&n(e)}a.defineOption("matchTags",!1,function(e,t,r){r&&r!=a.Init&&(e.off("cursorActivity",n),e.off("viewportChange",i),s(e)),t&&(e.state.matchBothTags="object"==typeof t&&t.bothTags,e.on("cursorActivity",n),e.on("viewportChange",i),n(e))}),a.commands.toMatchingTag=function(e){var t=a.findMatchingTag(e,e.getCursor());if(t){var r="close"==t.at?t.open:t.close;r&&e.extendSelection(r.to,r.from)}}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("./matchesonscrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./matchesonscrollbar"],e):e(CodeMirror)}(function(i){"use strict";var r={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};function o(e){for(var t in this.options={},r)this.options[t]=(e&&e.hasOwnProperty(t)?e:r)[t];this.overlay=this.timeout=null,this.matchesonscroll=null,this.active=!1}function a(e){var t=e.state.matchHighlighter;(t.active||e.hasFocus())&&n(e,t)}function s(e){var t=e.state.matchHighlighter;t.active||(t.active=!0,n(e,t))}function n(e,t){clearTimeout(t.timeout),t.timeout=setTimeout(function(){l(e)},t.options.delay)}function u(e,t,r,n){var i,o,a,s=e.state.matchHighlighter;if(e.addOverlay(s.overlay=(i=t,o=r,a=n,{token:function(e){if(e.match(i)&&(!o||(r=o,!((t=e).start&&r.test(t.string.charAt(t.start-1))||t.pos!=t.string.length&&r.test(t.string.charAt(t.pos))))))return a;var t,r;e.next(),e.skipTo(i.charAt(0))||e.skipToEnd()}})),s.options.annotateScrollbar&&e.showMatchesOnScrollbar){var l=r?new RegExp("\\b"+t.replace(/[\\\[.+*?(){|^$]/g,"\\$&")+"\\b"):t;s.matchesonscroll=e.showMatchesOnScrollbar(l,!1,{className:"CodeMirror-selection-highlight-scrollbar"})}}function f(e){var t=e.state.matchHighlighter;t.overlay&&(e.removeOverlay(t.overlay),t.overlay=null,t.matchesonscroll&&(t.matchesonscroll.clear(),t.matchesonscroll=null))}function l(c){c.operation(function(){var e=c.state.matchHighlighter;if(f(c),c.somethingSelected()||!e.options.showToken){var t=c.getCursor("from"),r=c.getCursor("to");if(t.line==r.line&&(!e.options.wordsOnly||function(e,t,r){{if(null===e.getRange(t,r).match(/^\w+$/))return!1;if(0<t.ch){var n={line:t.line,ch:t.ch-1},i=e.getRange(n,t);if(null===i.match(/\W/))return!1}if(r.ch<e.getLine(t.line).length){var n={line:r.line,ch:r.ch+1},i=e.getRange(r,n);if(null===i.match(/\W/))return!1}return!0}}(c,t,r))){var n=c.getRange(t,r);e.options.trim&&(n=n.replace(/^\s+|\s+$/g,"")),n.length>=e.options.minChars&&u(c,n,!1,e.options.style)}}else{for(var i=!0===e.options.showToken?/[\w$]/:e.options.showToken,o=c.getCursor(),a=c.getLine(o.line),s=o.ch,l=s;s&&i.test(a.charAt(s-1));)--s;for(;l<a.length&&i.test(a.charAt(l));)++l;s<l&&u(c,a.slice(s,l),i,e.options.style)}})}i.defineOption("highlightSelectionMatches",!1,function(e,t,r){if(r&&r!=i.Init&&(f(e),clearTimeout(e.state.matchHighlighter.timeout),e.state.matchHighlighter=null,e.off("cursorActivity",a),e.off("focus",s)),t){var n=e.state.matchHighlighter=new o(t);e.hasFocus()?(n.active=!0,l(e)):e.on("focus",s),e.on("cursorActivity",a)}})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../fold/xml-fold")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],e):e(CodeMirror)}(function(b){b.defineOption("autoCloseTags",!1,function(e,t,r){if(r!=b.Init&&r&&e.removeKeyMap("autoCloseTags"),t){var n={name:"autoCloseTags"};("object"!=typeof t||t.whenClosing)&&(n["'/'"]=function(e){return(t=e).getOption("disableInput")?b.Pass:i(t,!0);var t}),("object"!=typeof t||t.whenOpening)&&(n["'>'"]=function(e){return function(e){if(e.getOption("disableInput"))return b.Pass;for(var t=e.listSelections(),r=[],n=e.getOption("autoCloseTags"),i=0;i<t.length;i++){if(!t[i].empty())return b.Pass;var o=t[i].head,a=e.getTokenAt(o),s=b.innerMode(e.getMode(),a.state),l=s.state;if("xml"!=s.mode.name||!l.tagName)return b.Pass;var c="html"==s.mode.configuration,u="object"==typeof n&&n.dontCloseTags||c&&x,f="object"==typeof n&&n.indentTags||c&&w,d=l.tagName;a.end>o.ch&&(d=d.slice(0,d.length-a.end+o.ch));var h=d.toLowerCase();if(!d||"string"==a.type&&(a.end!=o.ch||!/[\"\']/.test(a.string.charAt(a.string.length-1))||1==a.string.length)||"tag"==a.type&&"closeTag"==l.type||a.string.indexOf("/")==a.string.length-1||u&&-1<k(u,h)||C(e,d,o,l,!0))return b.Pass;var p="object"==typeof n&&n.emptyTags;if(p&&-1<k(p,d))r[i]={text:"/>",newPos:b.Pos(o.line,o.ch+2)};else{var m=f&&-1<k(f,h);r[i]={indent:m,text:">"+(m?"\n\n":"")+"</"+d+">",newPos:m?b.Pos(o.line+1,0):b.Pos(o.line,o.ch+1)}}}for(var g="object"==typeof n&&n.dontIndentOnAutoClose,i=t.length-1;0<=i;i--){var v=r[i];e.replaceRange(v.text,t[i].head,t[i].anchor,"+insert");var y=e.listSelections().slice(0);y[i]={head:v.newPos,anchor:v.newPos},e.setSelections(y),!g&&v.indent&&(e.indentLine(v.newPos.line,null,!0),e.indentLine(v.newPos.line+1,null,!0))}}(e)}),e.addKeyMap(n)}});var x=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],w=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function i(e,t){for(var r=e.listSelections(),n=[],i=t?"/":"</",o=e.getOption("autoCloseTags"),a="object"==typeof o&&o.dontIndentOnSlash,s=0;s<r.length;s++){if(!r[s].empty())return b.Pass;var l,c=r[s].head,u=e.getTokenAt(c),f=b.innerMode(e.getMode(),u.state),d=f.state;if(t&&("string"==u.type||"<"!=u.string.charAt(0)||u.start!=c.ch-1))return b.Pass;if("xml"!=f.mode.name)if("htmlmixed"==e.getMode().name&&"javascript"==f.mode.name)l=i+"script";else{if("htmlmixed"!=e.getMode().name||"css"!=f.mode.name)return b.Pass;l=i+"style"}else{if(!d.context||!d.context.tagName||C(e,d.context.tagName,c,d))return b.Pass;l=i+d.context.tagName}">"!=e.getLine(c.line).charAt(u.end)&&(l+=">"),n[s]=l}if(e.replaceSelections(n),r=e.listSelections(),!a)for(s=0;s<r.length;s++)(s==r.length-1||r[s].head.line<r[s+1].head.line)&&e.indentLine(r[s].head.line)}function k(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;++r)if(e[r]==t)return r;return-1}function C(e,t,r,n,i){if(!b.scanForClosingTag)return!1;var o=Math.min(e.lastLine()+1,r.line+500),a=b.scanForClosingTag(e,r,null,o);if(!a||a.tag!=t)return!1;for(var s=n.context,l=i?1:0;s&&s.tagName==t;s=s.prev)++l;r=a.to;for(var c=1;c<l;c++){var u=b.scanForClosingTag(e,r,null,o);if(!u||u.tag!=t)return!1;r=u.to}return!0}b.commands.closeTag=function(e){return i(e)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(k){var r={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},C=k.Pos;function S(e,t){return"pairs"==t&&"string"==typeof e?e:"object"==typeof e&&null!=e[t]?e[t]:r[t]}k.defineOption("autoCloseBrackets",!1,function(e,t,r){r&&r!=k.Init&&(e.removeKeyMap(i),e.state.closeBrackets=null),t&&(n(S(t,"pairs")),e.state.closeBrackets=t,e.addKeyMap(i))});var i={Backspace:function(e){var t=_(e);if(!t||e.getOption("disableInput"))return k.Pass;for(var r=S(t,"pairs"),n=e.listSelections(),i=0;i<n.length;i++){if(!n[i].empty())return k.Pass;var o=s(e,n[i].head);if(!o||r.indexOf(o)%2!=0)return k.Pass}for(var i=n.length-1;0<=i;i--){var a=n[i].head;e.replaceRange("",C(a.line,a.ch-1),C(a.line,a.ch+1),"+delete")}},Enter:function(n){var e=_(n),t=e&&S(e,"explode");if(!t||n.getOption("disableInput"))return k.Pass;for(var i=n.listSelections(),r=0;r<i.length;r++){if(!i[r].empty())return k.Pass;var o=s(n,i[r].head);if(!o||t.indexOf(o)%2!=0)return k.Pass}n.operation(function(){var e=n.lineSeparator()||"\n";n.replaceSelection(e+e,null),n.execCommand("goCharLeft"),i=n.listSelections();for(var t=0;t<i.length;t++){var r=i[t].head.line;n.indentLine(r,null,!0),n.indentLine(r+1,null,!0)}})}};function n(e){for(var t=0;t<e.length;t++){var r=e.charAt(t),n="'"+r+"'";i[n]||(i[n]=o(r))}}function o(t){return function(e){return function(i,e){var t=_(i);if(!t||i.getOption("disableInput"))return k.Pass;var r=S(t,"pairs"),n=r.indexOf(e);if(-1==n)return k.Pass;for(var o,a=S(t,"closeBefore"),s=S(t,"triples"),l=r.charAt(n+1)==e,c=i.listSelections(),u=n%2==0,f=0;f<c.length;f++){var d,h=c[f],p=h.head,m=i.getRange(p,C(p.line,p.ch+1));if(u&&!h.empty())d="surround";else if(!l&&u||m!=e)if(l&&1<p.ch&&0<=s.indexOf(e)&&i.getRange(C(p.line,p.ch-2),p)==e+e){if(2<p.ch&&/\bstring/.test(i.getTokenTypeAt(C(p.line,p.ch-2))))return k.Pass;d="addFour"}else if(l){var g=0==p.ch?" ":i.getRange(C(p.line,p.ch-1),p);if(k.isWordChar(m)||g==e||k.isWordChar(g))return k.Pass;d="both"}else{if(!u||!(0===m.length||/\s/.test(m)||-1<a.indexOf(m)))return k.Pass;d="both"}else d=!l||(y=p,void 0,b=(v=i).getTokenAt(C(y.line,y.ch+1)),!/\bstring/.test(b.type)||b.start!=y.ch||0!=y.ch&&/\bstring/.test(v.getTokenTypeAt(y)))?0<=s.indexOf(e)&&i.getRange(p,C(p.line,p.ch+3))==e+e+e?"skipThree":"skip":"both";if(o){if(o!=d)return k.Pass}else o=d}var v,y,b;var x=n%2?r.charAt(n-1):e,w=n%2?e:r.charAt(n+1);i.operation(function(){if("skip"==o)i.execCommand("goCharRight");else if("skipThree"==o)for(var e=0;e<3;e++)i.execCommand("goCharRight");else if("surround"==o){for(var t=i.getSelections(),e=0;e<t.length;e++)t[e]=x+t[e]+w;i.replaceSelections(t,"around"),t=i.listSelections().slice();for(var e=0;e<t.length;e++)t[e]=(r=t[e],void 0,n=0<k.cmpPos(r.anchor,r.head),{anchor:new C(r.anchor.line,r.anchor.ch+(n?-1:1)),head:new C(r.head.line,r.head.ch+(n?1:-1))});i.setSelections(t)}else"both"==o?(i.replaceSelection(x+w,null),i.triggerElectric(x+w),i.execCommand("goCharLeft")):"addFour"==o&&(i.replaceSelection(x+x+x+x,"before"),i.execCommand("goCharRight"));var r,n})}(e,t)}}function _(e){var t=e.state.closeBrackets;return!t||t.override?t:e.getModeAt(e.getCursor()).closeBrackets||t}function s(e,t){var r=e.getRange(C(t.line,t.ch-1),C(t.line,t.ch+1));return 2==r.length?r:null}n(r.pairs+"`")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../lib/codemirror"),require("../addon/search/searchcursor"),require("../addon/edit/matchbrackets")):"function"==typeof define&&define.amd?define(["../lib/codemirror","../addon/search/searchcursor","../addon/edit/matchbrackets"],e):e(CodeMirror)}(function(f){"use strict";var e=f.commands,d=f.Pos;function t(t,r){t.extendSelectionsBy(function(e){return t.display.shift||t.doc.extend||e.empty()?function(e,t,r){if(r<0&&0==t.ch)return e.clipPos(d(t.line-1));var n=e.getLine(t.line);if(0<r&&t.ch>=n.length)return e.clipPos(d(t.line+1,0));for(var i,o="start",a=t.ch,s=r<0?0:n.length,l=0;a!=s;a+=r,l++){var c=n.charAt(r<0?a-1:a),u="_"!=c&&f.isWordChar(c)?"w":"o";if("w"==u&&c.toUpperCase()==c&&(u="W"),"start"==o)"o"!=u&&(o="in",i=u);else if("in"==o&&i!=u){if("w"==i&&"W"==u&&r<0&&a--,"W"==i&&"w"==u&&0<r){i="w";continue}break}}return d(t.line,a)}(t.doc,e.head,r):r<0?e.from():e.to()})}function r(a,s){if(a.isReadOnly())return f.Pass;a.operation(function(){for(var e=a.listSelections().length,t=[],r=-1,n=0;n<e;n++){var i=a.listSelections()[n].head;if(!(i.line<=r)){var o=d(i.line+(s?0:1),0);a.replaceRange("\n",o,null,"+insertLine"),a.indentLine(o.line,null,!0),t.push({head:o,anchor:o}),r=i.line+1}}a.setSelections(t)}),a.execCommand("indentAuto")}function c(e,t){for(var r=t.ch,n=r,i=e.getLine(t.line);r&&f.isWordChar(i.charAt(r-1));)--r;for(;n<i.length&&f.isWordChar(i.charAt(n));)++n;return{from:d(t.line,r),to:d(t.line,n),word:i.slice(r,n)}}function n(e,t){for(var r=e.listSelections(),n=[],i=0;i<r.length;i++){var o=r[i],a=e.findPosV(o.anchor,t,"line",o.anchor.goalColumn),s=e.findPosV(o.head,t,"line",o.head.goalColumn);a.goalColumn=null!=o.anchor.goalColumn?o.anchor.goalColumn:e.cursorCoords(o.anchor,"div").left,s.goalColumn=null!=o.head.goalColumn?o.head.goalColumn:e.cursorCoords(o.head,"div").left;var l={anchor:a,head:s};n.push(o),n.push(l)}e.setSelections(n)}e.goSubwordLeft=function(e){t(e,-1)},e.goSubwordRight=function(e){t(e,1)},e.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var r=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=r&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},e.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var r=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=r&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},e.splitSelectionByLine=function(e){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++)for(var i=t[n].from(),o=t[n].to(),a=i.line;a<=o.line;++a)o.line>i.line&&a==o.line&&0==o.ch||r.push({anchor:a==i.line?i:d(a,0),head:a==o.line?o:d(a)});e.setSelections(r,0)},e.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},e.selectLine=function(e){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++){var i=t[n];r.push({anchor:d(i.from().line,0),head:d(i.to().line+1,0)})}e.setSelections(r)},e.insertLineAfter=function(e){return r(e,!1)},e.insertLineBefore=function(e){return r(e,!0)},e.selectNextOccurrence=function(e){var t=e.getCursor("from"),r=e.getCursor("to"),n=e.state.sublimeFindFullWord==e.doc.sel;if(0==f.cmpPos(t,r)){var i=c(e,t);if(!i.word)return;e.setSelection(i.from,i.to),n=!0}else{var o=e.getRange(t,r),a=n?new RegExp("\\b"+o+"\\b"):o,s=e.getSearchCursor(a,r),l=s.findNext();if(l||(l=(s=e.getSearchCursor(a,d(e.firstLine(),0))).findNext()),!l||function(e,t,r){for(var n=0;n<e.length;n++)if(e[n].from()==t&&e[n].to()==r)return!0;return!1}(e.listSelections(),s.from(),s.to()))return f.Pass;e.addSelection(s.from(),s.to())}n&&(e.state.sublimeFindFullWord=e.doc.sel)},e.addCursorToPrevLine=function(e){n(e,-1)},e.addCursorToNextLine=function(e){n(e,1)};function i(e){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++){var i=t[n],o=i.head,a=e.scanForBracket(o,-1);if(!a)return!1;for(;;){var s=e.scanForBracket(o,1);if(!s)return!1;if(s.ch=="(){}[]".charAt("(){}[]".indexOf(a.ch)+1)){var l=d(a.pos.line,a.pos.ch+1);if(0!=f.cmpPos(l,i.from())||0!=f.cmpPos(s.pos,i.to())){r.push({anchor:l,head:s.pos});break}if(!(a=e.scanForBracket(a.pos,-1)))return!1}o=d(s.pos.line,s.pos.ch+1)}}return e.setSelections(r),!0}function o(s,l){if(s.isReadOnly())return f.Pass;for(var c,e=s.listSelections(),u=[],t=0;t<e.length;t++){var r=e[t];if(!r.empty()){for(var n=r.from().line,i=r.to().line;t<e.length-1&&e[t+1].from().line==i;)i=e[++t].to().line;e[t].to().ch||i--,u.push(n,i)}}u.length?c=!0:u.push(s.firstLine(),s.lastLine()),s.operation(function(){for(var e=[],t=0;t<u.length;t+=2){var r=u[t],n=u[t+1],i=d(r,0),o=d(n),a=s.getRange(i,o,!1);l?a.sort():a.sort(function(e,t){var r=e.toUpperCase(),n=t.toUpperCase();return r!=n&&(e=r,t=n),e<t?-1:e==t?0:1}),s.replaceRange(a,i,o),c&&e.push({anchor:i,head:d(n+1,0)})}c&&s.setSelections(e,0)})}function a(s,l){s.operation(function(){for(var e=s.listSelections(),t=[],r=[],n=0;n<e.length;n++){(o=e[n]).empty()?(t.push(n),r.push("")):r.push(l(s.getRange(o.from(),o.to())))}s.replaceSelections(r,"around","case");var i;for(n=t.length-1;0<=n;n--){var o=e[t[n]];if(!(i&&0<f.cmpPos(o.head,i))){var a=c(s,o.head);i=a.from,s.replaceRange(l(a.word),a.from,a.to)}}})}function s(e){var t=e.getCursor("from"),r=e.getCursor("to");if(0==f.cmpPos(t,r)){var n=c(e,t);if(!n.word)return;t=n.from,r=n.to}return{from:t,to:r,query:e.getRange(t,r),word:n}}function l(e,t){var r=s(e);if(r){var n=r.query,i=e.getSearchCursor(n,t?r.to:r.from);(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):(i=e.getSearchCursor(n,t?d(e.firstLine(),0):e.clipPos(d(e.lastLine()))),(t?i.findNext():i.findPrevious())?e.setSelection(i.from(),i.to()):r.word&&e.setSelection(r.from,r.to))}}e.selectScope=function(e){i(e)||e.execCommand("selectAll")},e.selectBetweenBrackets=function(e){if(!i(e))return f.Pass},e.goToBracket=function(n){n.extendSelectionsBy(function(e){var t=n.scanForBracket(e.head,1);if(t&&0!=f.cmpPos(t.pos,e.head))return t.pos;var r=n.scanForBracket(e.head,-1);return r&&d(r.pos.line,r.pos.ch+1)||e.head})},e.swapLineUp=function(i){if(i.isReadOnly())return f.Pass;for(var e=i.listSelections(),o=[],t=i.firstLine()-1,a=[],r=0;r<e.length;r++){var n=e[r],s=n.from().line-1,l=n.to().line;a.push({anchor:d(n.anchor.line-1,n.anchor.ch),head:d(n.head.line-1,n.head.ch)}),0!=n.to().ch||n.empty()||--l,t<s?o.push(s,l):o.length&&(o[o.length-1]=l),t=l}i.operation(function(){for(var e=0;e<o.length;e+=2){var t=o[e],r=o[e+1],n=i.getLine(t);i.replaceRange("",d(t,0),d(t+1,0),"+swapLine"),r>i.lastLine()?i.replaceRange("\n"+n,d(i.lastLine()),null,"+swapLine"):i.replaceRange(n+"\n",d(r,0),null,"+swapLine")}i.setSelections(a),i.scrollIntoView()})},e.swapLineDown=function(i){if(i.isReadOnly())return f.Pass;for(var e=i.listSelections(),o=[],t=i.lastLine()+1,r=e.length-1;0<=r;r--){var n=e[r],a=n.to().line+1,s=n.from().line;0!=n.to().ch||n.empty()||a--,a<t?o.push(a,s):o.length&&(o[o.length-1]=s),t=s}i.operation(function(){for(var e=o.length-2;0<=e;e-=2){var t=o[e],r=o[e+1],n=i.getLine(t);t==i.lastLine()?i.replaceRange("",d(t-1),d(t),"+swapLine"):i.replaceRange("",d(t,0),d(t+1,0),"+swapLine"),i.replaceRange(n+"\n",d(r,0),null,"+swapLine")}i.scrollIntoView()})},e.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},e.joinLines=function(l){for(var e=l.listSelections(),c=[],t=0;t<e.length;t++){for(var r=e[t],n=r.from(),i=n.line,o=r.to().line;t<e.length-1&&e[t+1].from().line==o;)o=e[++t].to().line;c.push({start:i,end:o,anchor:!r.empty()&&n})}l.operation(function(){for(var e=0,t=[],r=0;r<c.length;r++){for(var n,i=c[r],o=i.anchor&&d(i.anchor.line-e,i.anchor.ch),a=i.start;a<=i.end;a++){var s=a-e;a==i.end&&(n=d(s,l.getLine(s).length+1)),s<l.lastLine()&&(l.replaceRange(" ",d(s),d(s+1,/^\s*/.exec(l.getLine(s+1))[0].length)),++e)}t.push({anchor:o||n,head:n})}l.setSelections(t,0)})},e.duplicateLine=function(n){n.operation(function(){for(var e=n.listSelections().length,t=0;t<e;t++){var r=n.listSelections()[t];r.empty()?n.replaceRange(n.getLine(r.head.line)+"\n",d(r.head.line,0)):n.replaceRange(n.getRange(r.from(),r.to()),r.from())}n.scrollIntoView()})},e.sortLines=function(e){o(e,!0)},e.sortLinesInsensitive=function(e){o(e,!1)},e.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var r=t.shift(),n=r.find();if(n)return t.push(r),e.setSelection(n.from,n.to)}},e.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var r=t[t.length-1].find();if(r)return e.setSelection(r.from,r.to);t.pop()}},e.toggleBookmark=function(e){for(var t=e.listSelections(),r=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),n=0;n<t.length;n++){for(var i=t[n].from(),o=t[n].to(),a=t[n].empty()?e.findMarksAt(i):e.findMarks(i,o),s=0;s<a.length;s++)if(a[s].sublimeBookmark){a[s].clear();for(var l=0;l<r.length;l++)r[l]==a[s]&&r.splice(l--,1);break}s==a.length&&r.push(e.markText(i,o,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},e.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var r=0;r<t.length;r++)t[r].clear();t.length=0},e.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,r=[];if(t)for(var n=0;n<t.length;n++){var i=t[n].find();i?r.push({anchor:i.from,head:i.to}):t.splice(n--,0)}r.length&&e.setSelections(r,0)},e.smartBackspace=function(l){if(l.somethingSelected())return f.Pass;l.operation(function(){for(var e=l.listSelections(),t=l.getOption("indentUnit"),r=e.length-1;0<=r;r--){var n=e[r].head,i=l.getRange({line:n.line,ch:0},n),o=f.countColumn(i,null,l.getOption("tabSize")),a=l.findPosH(n,-1,"char",!1);if(i&&!/\S/.test(i)&&o%t==0){var s=new d(n.line,f.findColumn(i,o-t,t));s.ch!=n.ch&&(a=s)}l.replaceRange("",a,n,"+delete")}})},e.delLineRight=function(r){r.operation(function(){for(var e=r.listSelections(),t=e.length-1;0<=t;t--)r.replaceRange("",e[t].anchor,d(e[t].to().line),"+delete");r.scrollIntoView()})},e.upcaseAtCursor=function(e){a(e,function(e){return e.toUpperCase()})},e.downcaseAtCursor=function(e){a(e,function(e){return e.toLowerCase()})},e.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},e.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},e.deleteToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();if(t){var r=e.getCursor(),n=t;if(0<f.cmpPos(r,n)){var i=n;n=r,r=i}e.state.sublimeKilled=e.getRange(r,n),e.replaceRange("",r,n)}},e.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},e.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},e.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},e.findUnder=function(e){l(e,!0)},e.findUnderPrevious=function(e){l(e,!1)},e.findAllUnder=function(e){var t=s(e);if(t){for(var r=e.getSearchCursor(t.query),n=[],i=-1;r.findNext();)n.push({anchor:r.from(),head:r.to()}),r.from().line<=t.from.line&&r.from().ch<=t.from.ch&&i++;e.setSelections(n,i)}};var u=f.keyMap;u.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Cmd-F5":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},f.normalizeKeyMap(u.macSublime),u.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Ctrl-F9":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},f.normalizeKeyMap(u.pcSublime);var h=u.default==u.macDefault;u.sublime=h?u.macSublime:u.pcSublime}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../lib/codemirror")):"function"==typeof define&&define.amd?define(["../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var l=e.Pos;function c(e,t){return e.line==t.line&&e.ch==t.ch}var o=[];function a(e){o.push(e),50<o.length&&o.shift()}function r(e){return o[o.length-(e?Math.min(e,1):1)]||""}var s=null;function u(e,t,r,n,i){null==i&&(i=e.getRange(t,r)),"grow"==n&&s&&s.cm==e&&c(t,s.pos)&&e.isClean(s.gen)?function(e){if(!o.length)return a(e);o[o.length-1]+=e}(i):!1!==n&&a(i),e.replaceRange("",t,r,"+delete"),s="grow"==n?{cm:e,pos:t,gen:e.changeGeneration()}:null}function t(e,t,r){return e.findPosH(t,r,"char",!0)}function n(e,t,r){return e.findPosH(t,r,"word",!0)}function i(e,t,r){return e.findPosV(t,r,"line",e.doc.sel.goalColumn)}function f(e,t,r){return e.findPosV(t,r,"page",e.doc.sel.goalColumn)}function d(e,t,r){for(var n=t.line,i=e.getLine(n),o=/\S/.test(r<0?i.slice(0,t.ch):i.slice(t.ch)),a=e.firstLine(),s=e.lastLine();;){if((n+=r)<a||s<n)return e.clipPos(l(n-r,r<0?0:null));if(i=e.getLine(n),/\S/.test(i))o=!0;else if(o)return l(n,0)}}function h(e,t,r){for(var n=t.line,i=t.ch,o=e.getLine(t.line),a=!1;;){var s=o.charAt(i+(r<0?-1:0));if(s){if(a&&/[!?.]/.test(s))return l(n,i+(0<r?1:0));a||(a=/\w/.test(s)),i+=r}else{if(n==(r<0?e.firstLine():e.lastLine()))return l(n,i);if(o=e.getLine(n+r),!/\S/.test(o))return l(n,i);n+=r,i=r<0?o.length:0}}}function p(e,t,r){var n;if(e.findMatchingBracket&&(n=e.findMatchingBracket(t,{strict:!0}))&&n.match&&(n.forward?1:-1)==r)return 0<r?l(n.to.line,n.to.ch+1):n.to;for(var i=!0;;i=!1){var o=e.getTokenAt(t),a=l(t.line,r<0?o.start:o.end);if(!(i&&0<r&&o.end==t.ch)&&/\w/.test(o.string))return a;var s=e.findPosH(a,r,"char");if(c(a,s))return t;t=s}}function m(e,t){var r=e.state.emacsPrefix;return r?(S(e),"-"==r?-1:Number(r)):t?null:1}function g(t){var n="string"==typeof t?function(e){e.execCommand(t)}:t;return function(e){var t=m(e);n(e);for(var r=1;r<t;++r)n(e)}}function v(e,t,r,n){var i=m(e);i<0&&(n=-n,i=-i);for(var o=0;o<i;++o){var a=r(e,t,n);if(c(a,t))break;t=a}return t}function y(t,r){var e=function(e){e.extendSelection(v(e,e.getCursor(),t,r))};return e.motion=!0,e}function b(e,t,r,n){for(var i,o=e.listSelections(),a=o.length;a--;)u(e,i=o[a].head,v(e,i,t,r),n)}function x(e,t){if(e.somethingSelected()){for(var r,n=e.listSelections(),i=n.length;i--;)u(e,(r=n[i]).anchor,r.head,t);return!0}}function w(e,t){e.state.emacsPrefix?"-"!=t&&(e.state.emacsPrefix+=t):(e.state.emacsPrefix=t,e.on("keyHandled",C),e.on("inputRead",_))}var k={"Alt-G":!0,"Ctrl-X":!0,"Ctrl-Q":!0,"Ctrl-U":!0};function C(e,t){e.state.emacsPrefixMap||k.hasOwnProperty(t)||S(e)}function S(e){e.state.emacsPrefix=null,e.off("keyHandled",C),e.off("inputRead",_)}function _(e,t){var r=m(e);if(1<r&&"+input"==t.origin){for(var n=t.text.join("\n"),i="",o=1;o<r;++o)i+=n;e.replaceSelection(i)}}function L(e,t){("string"!=typeof t||!/^\d$/.test(t)&&"Ctrl-U"!=t)&&(e.removeKeyMap(E),e.state.emacsPrefixMap=!1,e.off("keyHandled",L),e.off("inputRead",L))}function M(e){e.setCursor(e.getCursor()),e.setExtending(!e.getExtending()),e.on("change",function(){e.setExtending(!1)})}function T(e){e.setExtending(!1),e.setCursor(e.getCursor())}function A(e,t){var r=e.getCursor(),n=e.findPosH(r,1,"word");e.replaceRange(t(e.getRange(r,n)),r,n),e.setCursor(n)}e.emacs={kill:u,killRegion:x,repeated:g};var O=e.keyMap.emacs=e.normalizeKeyMap({"Ctrl-W":function(e){u(e,e.getCursor("start"),e.getCursor("end"),!0)},"Ctrl-K":g(function(e){var t=e.getCursor(),r=e.clipPos(l(t.line)),n=e.getRange(t,r);/\S/.test(n)||(n+="\n",r=l(t.line+1,0)),u(e,t,r,"grow",n)}),"Alt-W":function(e){a(e.getSelection()),T(e)},"Ctrl-Y":function(e){var t=e.getCursor();e.replaceRange(r(m(e)),t,t,"paste"),e.setSelection(t,e.getCursor())},"Alt-Y":function(e){e.replaceSelection((1<o.length&&o.pop(),r()),"around","paste")},"Ctrl-Space":M,"Ctrl-Shift-2":M,"Ctrl-F":y(t,1),"Ctrl-B":y(t,-1),Right:y(t,1),Left:y(t,-1),"Ctrl-D":function(e){b(e,t,1,!1)},Delete:function(e){x(e,!1)||b(e,t,1,!1)},"Ctrl-H":function(e){b(e,t,-1,!1)},Backspace:function(e){x(e,!1)||b(e,t,-1,!1)},"Alt-F":y(n,1),"Alt-B":y(n,-1),"Alt-Right":y(n,1),"Alt-Left":y(n,-1),"Alt-D":function(e){b(e,n,1,"grow")},"Alt-Backspace":function(e){b(e,n,-1,"grow")},"Ctrl-N":y(i,1),"Ctrl-P":y(i,-1),Down:y(i,1),Up:y(i,-1),"Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd",End:"goLineEnd",Home:"goLineStart","Alt-V":y(f,-1),"Ctrl-V":y(f,1),PageUp:y(f,-1),PageDown:y(f,1),"Ctrl-Up":y(d,-1),"Ctrl-Down":y(d,1),"Alt-A":y(h,-1),"Alt-E":y(h,1),"Alt-K":function(e){b(e,h,1,"grow")},"Ctrl-Alt-K":function(e){b(e,p,1,"grow")},"Ctrl-Alt-Backspace":function(e){b(e,p,-1,"grow")},"Ctrl-Alt-F":y(p,1),"Ctrl-Alt-B":y(p,-1),"Shift-Ctrl-Alt-2":function(e){var t=e.getCursor();e.setSelection(v(e,t,p,1),t)},"Ctrl-Alt-T":function(e){var t=p(e,e.getCursor(),-1),r=p(e,t,1),n=p(e,r,1),i=p(e,n,-1);e.replaceRange(e.getRange(i,n)+e.getRange(r,i)+e.getRange(t,r),t,n)},"Ctrl-Alt-U":g(function(e){for(var t=e.getCursor(),r=t.line,n=t.ch,i=[];r>=e.firstLine();){for(var o=e.getLine(r),a=null==n?o.length:n;0<a;)if(")"==(n=o.charAt(--a)))i.push("(");else if("]"==n)i.push("[");else if("}"==n)i.push("{");else if(/[\(\{\[]/.test(n)&&(!i.length||i.pop()!=n))return e.extendSelection(l(r,a));--r,n=null}}),"Alt-Space":function(e){for(var t=e.getCursor(),r=t.ch,n=t.ch,i=e.getLine(t.line);r&&/\s/.test(i.charAt(r-1));)--r;for(;n<i.length&&/\s/.test(i.charAt(n));)++n;e.replaceRange(" ",l(t.line,r),l(t.line,n))},"Ctrl-O":g(function(e){e.replaceSelection("\n","start")}),"Ctrl-T":g(function(e){e.execCommand("transposeChars")}),"Alt-C":g(function(e){A(e,function(e){var t=e.search(/\w/);return-1==t?e:e.slice(0,t)+e.charAt(t).toUpperCase()+e.slice(t+1).toLowerCase()})}),"Alt-U":g(function(e){A(e,function(e){return e.toUpperCase()})}),"Alt-L":g(function(e){A(e,function(e){return e.toLowerCase()})}),"Alt-;":"toggleComment","Ctrl-/":g("undo"),"Shift-Ctrl--":g("undo"),"Ctrl-Z":g("undo"),"Cmd-Z":g("undo"),"Shift-Ctrl-Z":"redo","Shift-Alt-,":"goDocStart","Shift-Alt-.":"goDocEnd","Ctrl-S":"findPersistentNext","Ctrl-R":"findPersistentPrev","Ctrl-G":function(e){e.execCommand("clearSearch"),T(e)},"Shift-Alt-5":"replace","Alt-/":"autocomplete",Enter:"newlineAndIndent","Ctrl-J":g(function(e){e.replaceSelection("\n","end")}),Tab:"indentAuto","Alt-G G":function(r){var e,t,n,i=m(r,!0);if(null!=i&&0<i)return r.setCursor(i-1);t="Goto line",n=function(e){var t;e&&!isNaN(t=Number(e))&&t==(0|t)&&0<t&&r.setCursor(t-1)},(e=r).openDialog?e.openDialog(t+': <input type="text" style="width: 10em"/>',n,{bottom:!0}):n(prompt(t,""))},"Ctrl-X Tab":function(e){e.indentSelection(m(e,!0)||e.getOption("indentUnit"))},"Ctrl-X Ctrl-X":function(e){e.setSelection(e.getCursor("head"),e.getCursor("anchor"))},"Ctrl-X Ctrl-S":"save","Ctrl-X Ctrl-W":"save","Ctrl-X S":"saveAll","Ctrl-X F":"open","Ctrl-X U":g("undo"),"Ctrl-X K":"close","Ctrl-X Delete":function(e){u(e,e.getCursor(),h(e,e.getCursor(),1),"grow")},"Ctrl-X H":"selectAll","Ctrl-Q Tab":g("insertTab"),"Ctrl-U":function(e){e.state.emacsPrefixMap=!0,e.addKeyMap(E),e.on("keyHandled",L),e.on("inputRead",L)}}),E={"Ctrl-G":S};function N(t){E[t]=function(e){w(e,t)},O["Ctrl-"+t]=function(e){w(e,t)},k["Ctrl-"+t]=!0}for(var I=0;I<10;++I)N(String(I));N("-")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../lib/codemirror"),require("../addon/search/searchcursor"),require("../addon/dialog/dialog"),require("../addon/edit/matchbrackets.js")):"function"==typeof define&&define.amd?define(["../lib/codemirror","../addon/search/searchcursor","../addon/dialog/dialog","../addon/edit/matchbrackets"],e):e(CodeMirror)}(function(Xe){"use strict";var Ye=[{keys:"<Left>",type:"keyToKey",toKeys:"h"},{keys:"<Right>",type:"keyToKey",toKeys:"l"},{keys:"<Up>",type:"keyToKey",toKeys:"k"},{keys:"<Down>",type:"keyToKey",toKeys:"j"},{keys:"<Space>",type:"keyToKey",toKeys:"l"},{keys:"<BS>",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"<Del>",type:"keyToKey",toKeys:"x",context:"normal"},{keys:"<C-Space>",type:"keyToKey",toKeys:"W"},{keys:"<C-BS>",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"<S-Space>",type:"keyToKey",toKeys:"w"},{keys:"<S-BS>",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"<C-n>",type:"keyToKey",toKeys:"j"},{keys:"<C-p>",type:"keyToKey",toKeys:"k"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"<Home>",type:"keyToKey",toKeys:"0"},{keys:"<End>",type:"keyToKey",toKeys:"$"},{keys:"<PageUp>",type:"keyToKey",toKeys:"<C-b>"},{keys:"<PageDown>",type:"keyToKey",toKeys:"<C-f>"},{keys:"<CR>",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"<Ins>",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"<C-f>",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"<C-b>",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"<C-d>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"<C-u>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'<character>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`<character>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"<C-w>",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"<C-w>",type:"idle",context:"normal"},{keys:"<C-i>",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"<C-o>",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"<C-e>",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"<C-y>",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"<C-v>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"<C-q>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r<character>",type:"action",action:"replace",isEdit:!0},{keys:"@<character>",type:"action",action:"replayMacro"},{keys:"q<character>",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0}},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"<C-r>",type:"action",action:"redo"},{keys:"m<character>",type:"action",action:"setMark"},{keys:'"<character>',type:"action",action:"setRegister"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z<CR>",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"<C-a>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"<C-x>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"<C-t>",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"<C-d>",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a<character>",type:"motion",motion:"textObjectManipulation"},{keys:"i<character>",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],Qe=Ye.length,Je=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"unmap"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"global",shortName:"g"}],Ze=Xe.Pos;Xe.Vim=function(){function e(e,t){var r,n;this==Xe.keyMap.vim&&(Xe.rmClass(e.getWrapperElement(),"cm-fat-cursor"),"contenteditable"==e.getOption("inputStyle")&&null!=document.body.style.caretColor&&(a(r=e),r.off("cursorActivity",o),r.state.fatCursorMarks=null,e.getInputField().style.caretColor="")),t&&t.attach==i||((n=e).setOption("disableInput",!1),n.off("cursorActivity",je),Xe.off(n.getInputField(),"paste",c(n)),n.state.vim=null)}function i(e,t){var r,n;this==Xe.keyMap.vim&&(Xe.addClass(e.getWrapperElement(),"cm-fat-cursor"),"contenteditable"==e.getOption("inputStyle")&&null!=document.body.style.caretColor&&((r=e).state.fatCursorMarks=[],o(r),r.on("cursorActivity",o),e.getInputField().style.caretColor="transparent")),t&&t.attach==i||((n=e).setOption("disableInput",!0),n.setOption("showCursorWhenSelecting",!1),Xe.signal(n,"vim-mode-change",{mode:"normal"}),n.on("cursorActivity",je),A(n),Xe.on(n.getInputField(),"paste",c(n)))}function o(e){if(e.state.fatCursorMarks){a(e);for(var t=e.listSelections(),r=[],n=0;n<t.length;n++){var i=t[n];if(i.empty())if(i.anchor.ch<e.getLine(i.anchor.line).length)r.push(e.markText(i.anchor,Ze(i.anchor.line,i.anchor.ch+1),{className:"cm-fat-cursor-mark"}));else{var o=document.createElement("span");o.textContent=" ",o.className="cm-fat-cursor-mark",r.push(e.setBookmark(i.anchor,{widget:o}))}}e.state.fatCursorMarks=r}}function a(e){var t=e.state.fatCursorMarks;if(t)for(var r=0;r<t.length;r++)t[r].clear()}function t(e,t){if(t){if(this[e])return this[e];var r=function(e){if("'"==e.charAt(0))return e.charAt(1);var t=e.split(/-(?!$)/),r=t[t.length-1];if(1==t.length&&1==t[0].length)return!1;if(2==t.length&&"Shift"==t[0]&&1==r.length)return!1;for(var n=!1,i=0;i<t.length;i++){var o=t[i];o in s?t[i]=s[o]:n=!0,o in l&&(t[i]=l[o])}return!!n&&(b(r)&&(t[t.length-1]=r.toLowerCase()),"<"+t.join("-")+">")}(e);if(!r)return!1;var n=Xe.Vim.findKey(t,r);return"function"==typeof n&&Xe.signal(t,"vim-keypress",r),n}}Xe.defineOption("vimMode",!1,function(e,t,r){t&&"vim"!=e.getOption("keyMap")?e.setOption("keyMap","vim"):!t&&r!=Xe.Init&&/^vim/.test(e.getOption("keyMap"))&&e.setOption("keyMap","default")});var s={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A"},l={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"};function c(e){var t=e.state.vim;return t.onPasteFn||(t.onPasteFn=function(){t.insertMode||(e.setCursor(V(e.getCursor(),0,1)),j.enterInsertMode(e,{},t))}),t.onPasteFn}var m=/[\d]/,g=[Xe.isWordChar,function(e){return e&&!Xe.isWordChar(e)&&!/\s/.test(e)}],v=[function(e){return/\S/.test(e)}];function r(e,t){for(var r=[],n=e;n<e+t;n++)r.push(String.fromCharCode(n));return r}var n=r(65,26),u=r(97,26),f=r(48,10),d=[].concat(n,u,f,["<",">"]),h=[].concat(n,u,f,["-",'"',".",":","/"]);function y(e,t){return t>=e.firstLine()&&t<=e.lastLine()}function p(e){return/^[a-z]$/.test(e)}function b(e){return/^[A-Z]$/.test(e)}function N(e){return/^\s*$/.test(e)}function x(e){return-1!=".?!".indexOf(e)}function w(e,t){for(var r=0;r<t.length;r++)if(t[r]==e)return!0;return!1}var k={};function C(e,t,r,n,i){if(void 0===t&&!i)throw Error("defaultValue is required unless callback is provided");if(r||(r="string"),k[e]={type:r,defaultValue:t,callback:i},n)for(var o=0;o<n.length;o++)k[n[o]]=k[e];t&&S(e,t)}function S(e,t,r,n){var i=k[e],o=(n=n||{}).scope;if(!i)return new Error("Unknown option: "+e);if("boolean"==i.type){if(t&&!0!==t)return new Error("Invalid argument: "+e+"="+t);!1!==t&&(t=!0)}i.callback?("local"!==o&&i.callback(t,void 0),"global"!==o&&r&&i.callback(t,r)):("local"!==o&&(i.value="boolean"==i.type?!!t:t),"global"!==o&&r&&(r.state.vim.options[e]={value:t}))}function _(e,t,r){var n=k[e],i=(r=r||{}).scope;if(!n)return new Error("Unknown option: "+e);if(n.callback){var o=t&&n.callback(void 0,t);return"global"!==i&&void 0!==o?o:"local"!==i?n.callback():void 0}return((o="global"!==i&&t&&t.state.vim.options[e])||"local"!==i&&n||{}).value}C("filetype",void 0,"string",["ft"],function(e,t){if(void 0!==t){if(void 0===e)return"null"==(r=t.getOption("mode"))?"":r;var r=""==e?"null":e;t.setOption("mode",r)}});var z,L,M=function(e){return e?{changes:e.changes,expectCursorActivityForChange:e.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};function T(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=M()}function A(e){return e.state.vim||(e.state.vim={inputState:new I,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},fakeCursor:null,insertMode:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{}}),e.state.vim}function O(){var a,s,l,c;for(var e in z={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:(a=-1,s=0,l=0,c=new Array(100),{cachedCursor:void 0,add:function(n,e,t){var r=c[a%100];function i(e){var t=++a%100,r=c[t];r&&r.clear(),c[t]=n.setBookmark(e)}if(r){var o=r.find();o&&!Y(o,e)&&i(e)}else i(e);i(t),(l=(s=a)-100+1)<0&&(l=0)},move:function(e,t){s<(a+=t)?a=s:a<l&&(a=l);var r=c[(100+a)%100];if(r&&!r.find()){var n,i=0<t?1:-1,o=e.getCursor();do{if((r=c[(100+(a+=i))%100])&&(n=r.find())&&!Y(o,n))break}while(a<s&&l<a)}return r}}),macroModeState:new T,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new B({}),searchHistoryController:new D,exCommandHistoryController:new D},k){var t=k[e];t.value=t.defaultValue}}var E={buildKeyMap:function(){},getRegisterController:function(){return z.registerController},resetVimGlobalState_:O,getVimGlobalState_:function(){return z},maybeInitVimState_:A,suppressErrorLogging:(T.prototype={exitMacroRecordMode:function(){var e=z.macroModeState;e.onRecordingDone&&e.onRecordingDone(),e.onRecordingDone=void 0,e.isRecording=!1},enterMacroRecordMode:function(e,t){var r=z.registerController.getRegister(t);r&&(r.clear(),this.latestRegister=t,e.openDialog&&(this.onRecordingDone=e.openDialog("(recording)["+t+"]",null,{bottom:!0})),this.isRecording=!0)}},!1),InsertModeKey:Ue,map:function(e,t,r){Fe.map(e,t,r)},unmap:function(e,t){Fe.unmap(e,t)},noremap:function(e,t,r){function n(e){return e?[e]:["normal","insert","visual"]}for(var i=n(r),o=Ye.length,a=o-Qe;a<o&&i.length;a++){var s=Ye[a];if(!(s.keys!=t||r&&s.context&&s.context!==r||"ex"===s.type.substr(0,2)||"key"===s.type.substr(0,3))){var l={};for(var c in s)l[c]=s[c];l.keys=e,r&&!l.context&&(l.context=r),this._mapCommand(l);var u=n(s.context);i=i.filter(function(e){return-1===u.indexOf(e)})}}},mapclear:function(e){var t=Ye.length,r=Qe,n=Ye.slice(0,t-r);if(Ye=Ye.slice(t-r),e)for(var i=n.length-1;0<=i;i--){var o=n[i];if(e!==o.context)if(o.context)this._mapCommand(o);else{var a=["normal","insert","visual"];for(var s in a)if(a[s]!==e){var l={};for(var c in o)l[c]=o[c];l.context=a[s],this._mapCommand(l)}}}},setOption:S,getOption:_,defineOption:C,defineEx:function(e,t,r){if(t){if(0!==e.indexOf(t))throw new Error('(Vim.defineEx) "'+t+'" is not a prefix of "'+e+'", command not registered')}else t=e;De[e]=r,Fe.commandMap_[t]={name:e,shortName:t,type:"api"}},handleKey:function(e,t,r){var n=this.findKey(e,t,r);if("function"==typeof n)return n()},findKey:function(s,l,t){var e,c=A(s);function i(){var e=z.macroModeState;if(e.isRecording){if("q"==l)return e.exitMacroRecordMode(),P(s),!0;"mapping"!=t&&function(e,t){if(!e.isPlaying){var r=e.latestRegister,n=z.registerController.getRegister(r);n&&n.pushText(t)}}(e,l)}}function u(){if("<Esc>"==l)return P(s),c.visualMode?le(s):c.insertMode&&ze(s),!0}return!1===(e=c.insertMode?function(){if(u())return!0;for(var e=c.inputState.keyBuffer=c.inputState.keyBuffer+l,t=1==l.length,r=F.matchCommand(e,Ye,c.inputState,"insert");1<e.length&&"full"!=r.type;){e=c.inputState.keyBuffer=e.slice(1);var n=F.matchCommand(e,Ye,c.inputState,"insert");"none"!=n.type&&(r=n)}if("none"==r.type)return P(s),!1;if("partial"==r.type)return L&&window.clearTimeout(L),L=window.setTimeout(function(){c.insertMode&&c.inputState.keyBuffer&&P(s)},_("insertModeEscKeysTimeout")),!t;if(L&&window.clearTimeout(L),t){for(var i=s.listSelections(),o=0;o<i.length;o++){var a=i[o].head;s.replaceRange("",V(a,0,-(e.length-1)),a,"+input")}z.macroModeState.lastInsertModeChanges.changes.pop()}return P(s),r.command}():function(){if(i()||u())return!0;var e=c.inputState.keyBuffer=c.inputState.keyBuffer+l;if(/^[1-9]\d*$/.test(e))return!0;if(!(t=/^(\d*)(.*)$/.exec(e)))return P(s),!1;var t,r=c.visualMode?"visual":"normal",n=F.matchCommand(t[2]||t[1],Ye,c.inputState,r);return"none"==n.type?(P(s),!1):"partial"==n.type||(c.inputState.keyBuffer="",(t=/^(\d*)(.*)$/.exec(e))[1]&&"0"!=t[1]&&c.inputState.pushRepeatDigit(t[1]),n.command)}())?c.insertMode||1!==l.length?void 0:function(){return!0}:!0===e?function(){return!0}:function(){return s.operation(function(){s.curOp.isVimOp=!0;try{"keyToKey"==e.type?function(e){for(var t;e;)t=/<\w+-.+?>|<\w+>|./.exec(e),l=t[0],e=e.substring(t.index+l.length),Xe.Vim.handleKey(s,l,"mapping")}(e.toKeys):F.processCommand(s,c,e)}catch(e){throw s.state.vim=void 0,A(s),Xe.Vim.suppressErrorLogging||console.log(e),e}return!0})}},handleEx:function(e,t){Fe.processCommand(e,t)},defineMotion:function(e,t){W[e]=t},defineAction:function(e,t){j[e]=t},defineOperator:function(e,t){H[e]=t},mapCommand:function(e,t,r,n,i){var o={keys:e,type:t};for(var a in o[t]=r,o[t+"Args"]=n,i)o[a]=i[a];We(o)},_mapCommand:We,defineRegister:function(e,t){var r=z.registerController.registers;if(!e||1!=e.length)throw Error("Register name must be 1 character");if(r[e])throw Error("Register already defined "+e);r[e]=t,h.push(e)},exitVisualMode:le,exitInsertMode:ze};function I(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null}function P(e,t){e.state.vim.inputState=new I,Xe.signal(e,"vim-command-done",t)}function R(e,t,r){this.clear(),this.keyBuffer=[e||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!t,this.blockwise=!!r}function B(e){this.registers=e,this.unnamedRegister=e['"']=new R,e["."]=new R,e[":"]=new R,e["/"]=new R}function D(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}I.prototype.pushRepeatDigit=function(e){this.operator?this.motionRepeat=this.motionRepeat.concat(e):this.prefixRepeat=this.prefixRepeat.concat(e)},I.prototype.getRepeat=function(){var e=0;return(0<this.prefixRepeat.length||0<this.motionRepeat.length)&&(e=1,0<this.prefixRepeat.length&&(e*=parseInt(this.prefixRepeat.join(""),10)),0<this.motionRepeat.length&&(e*=parseInt(this.motionRepeat.join(""),10))),e},R.prototype={setText:function(e,t,r){this.keyBuffer=[e||""],this.linewise=!!t,this.blockwise=!!r},pushText:function(e,t){t&&(this.linewise||this.keyBuffer.push("\n"),this.linewise=!0),this.keyBuffer.push(e)},pushInsertModeChanges:function(e){this.insertModeChanges.push(M(e))},pushSearchQuery:function(e){this.searchQueries.push(e)},clear:function(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1},toString:function(){return this.keyBuffer.join("")}},B.prototype={pushText:function(e,t,r,n,i){n&&"\n"!==r.charAt(r.length-1)&&(r+="\n");var o=this.isValidRegister(e)?this.getRegister(e):null;if(o)b(e)?o.pushText(r,n):o.setText(r,n,i),this.unnamedRegister.setText(o.toString(),n);else{switch(t){case"yank":this.registers[0]=new R(r,n,i);break;case"delete":case"change":-1==r.indexOf("\n")?this.registers["-"]=new R(r,n):(this.shiftNumericRegisters_(),this.registers[1]=new R(r,n))}this.unnamedRegister.setText(r,n,i)}},getRegister:function(e){return this.isValidRegister(e)?(e=e.toLowerCase(),this.registers[e]||(this.registers[e]=new R),this.registers[e]):this.unnamedRegister},isValidRegister:function(e){return e&&w(e,h)},shiftNumericRegisters_:function(){for(var e=9;2<=e;e--)this.registers[e]=this.getRegister(""+(e-1))}},D.prototype={nextMatch:function(e,t){var r=this.historyBuffer,n=t?-1:1;null===this.initialPrefix&&(this.initialPrefix=e);for(var i=this.iterator+n;t?0<=i:i<r.length;i+=n)for(var o=r[i],a=0;a<=o.length;a++)if(this.initialPrefix==o.substring(0,a))return this.iterator=i,o;return i>=r.length?(this.iterator=r.length,this.initialPrefix):i<0?e:void 0},pushInput:function(e){var t=this.historyBuffer.indexOf(e);-1<t&&this.historyBuffer.splice(t,1),e.length&&this.historyBuffer.push(e)},reset:function(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}};var F={matchCommand:function(e,t,r,n){var i,o=function(e,t,r,n){for(var i,o=[],a=[],s=0;s<t.length;s++){var l=t[s];"insert"==r&&"insert"!=l.context||l.context&&l.context!=r||n.operator&&"action"==l.type||!(i=$(e,l.keys))||("partial"==i&&o.push(l),"full"==i&&a.push(l))}return{partial:o.length&&o,full:a.length&&a}}(e,t,n,r);if(!o.full&&!o.partial)return{type:"none"};if(!o.full&&o.partial)return{type:"partial"};for(var a=0;a<o.full.length;a++){var s=o.full[a];i||(i=s)}if("<character>"==i.keys.slice(-11)){var l=function(e){var t=/^.*(<[^>]+>)$/.exec(e),r=t?t[1]:e.slice(-1);if(1<r.length)switch(r){case"<CR>":r="\n";break;case"<Space>":r=" ";break;default:r=""}return r}(e);if(!l)return{type:"none"};r.selectedCharacter=l}return{type:"full",command:i}},processCommand:function(e,t,r){switch(t.inputState.repeatOverride=r.repeatOverride,r.type){case"motion":this.processMotion(e,t,r);break;case"operator":this.processOperator(e,t,r);break;case"operatorMotion":this.processOperatorMotion(e,t,r);break;case"action":this.processAction(e,t,r);break;case"search":this.processSearch(e,t,r);break;case"ex":case"keyToEx":this.processEx(e,t,r)}},processMotion:function(e,t,r){t.inputState.motion=r.motion,t.inputState.motionArgs=U(r.motionArgs),this.evalInput(e,t)},processOperator:function(e,t,r){var n=t.inputState;if(n.operator){if(n.operator==r.operator)return n.motion="expandToLine",n.motionArgs={linewise:!0},void this.evalInput(e,t);P(e)}n.operator=r.operator,n.operatorArgs=U(r.operatorArgs),t.visualMode&&this.evalInput(e,t)},processOperatorMotion:function(e,t,r){var n=t.visualMode,i=U(r.operatorMotionArgs);i&&n&&i.visualLine&&(t.visualLine=!0),this.processOperator(e,t,r),n||this.processMotion(e,t,r)},processAction:function(e,t,r){var n=t.inputState,i=n.getRepeat(),o=!!i,a=U(r.actionArgs)||{};n.selectedCharacter&&(a.selectedCharacter=n.selectedCharacter),r.operator&&this.processOperator(e,t,r),r.motion&&this.processMotion(e,t,r),(r.motion||r.operator)&&this.evalInput(e,t),a.repeat=i||1,a.repeatIsExplicit=o,a.registerName=n.registerName,P(e),t.lastMotion=null,r.isEdit&&this.recordLastEdit(t,n,r),j[r.action](e,a,t)},processSearch:function(s,n,i){if(s.getSearchCursor){var l=i.searchArgs.forward,e=i.searchArgs.wholeWordOnly;xe(s).setReversed(!l);var t=l?"/":"?",o=xe(s).getQuery(),c=s.getScrollInfo();switch(i.searchArgs.querySrc){case"prompt":var r=z.macroModeState;r.isPlaying?d(f=r.replaySearchQueries.shift(),!0,!1):Te(s,{onClose:function(e){s.scrollTo(c.left,c.top),d(e,!0,!0);var t=z.macroModeState;t.isRecording&&function(e,t){if(!e.isPlaying){var r=e.latestRegister,n=z.registerController.getRegister(r);n&&n.pushSearchQuery&&n.pushSearchQuery(t)}}(t,e)},prefix:t,desc:Me,onKeyUp:function(e,t,r){var n,i,o,a=Xe.keyName(e);"Up"==a||"Down"==a?(n="Up"==a,i=e.target?e.target.selectionEnd:0,r(t=z.searchHistoryController.nextMatch(t,n)||""),i&&e.target&&(e.target.selectionEnd=e.target.selectionStart=Math.min(i,e.target.value.length))):"Left"!=a&&"Right"!=a&&"Ctrl"!=a&&"Alt"!=a&&"Shift"!=a&&z.searchHistoryController.reset();try{o=Ae(s,t,!0,!0)}catch(e){}o?s.scrollIntoView(Ne(s,!l,o),30):(Ie(s),s.scrollTo(c.left,c.top))},onKeyDown:function(e,t,r){var n=Xe.keyName(e);"Esc"==n||"Ctrl-C"==n||"Ctrl-["==n||"Backspace"==n&&""==t?(z.searchHistoryController.pushInput(t),z.searchHistoryController.reset(),Ae(s,o),Ie(s),s.scrollTo(c.left,c.top),Xe.e_stop(e),P(s),r(),s.focus()):"Up"==n||"Down"==n?Xe.e_stop(e):"Ctrl-U"==n&&(Xe.e_stop(e),r(""))}});break;case"wordUnderCursor":var a=ue(s,!1,0,!1,!0),u=!0;if(a||(a=ue(s,!1,0,!1,!1),u=!1),!a)return;var f=s.getLine(a.start.line).substring(a.start.ch,a.end.ch);f=u&&e?"\\b"+f+"\\b":f.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1"),z.jumpList.cachedCursor=s.getCursor(),s.setCursor(a.start),d(f,!0,!1)}}function d(t,e,r){z.searchHistoryController.pushInput(t),z.searchHistoryController.reset();try{Ae(s,t,e,r)}catch(e){return Le(s,"Invalid regex: "+t),void P(s)}F.processMotion(s,n,{type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:i.searchArgs.toJumplist}})}},processEx:function(a,e,t){function r(e){z.exCommandHistoryController.pushInput(e),z.exCommandHistoryController.reset(),Fe.processCommand(a,e)}function n(e,t,r){var n,i,o=Xe.keyName(e);("Esc"==o||"Ctrl-C"==o||"Ctrl-["==o||"Backspace"==o&&""==t)&&(z.exCommandHistoryController.pushInput(t),z.exCommandHistoryController.reset(),Xe.e_stop(e),P(a),r(),a.focus()),"Up"==o||"Down"==o?(Xe.e_stop(e),n="Up"==o,i=e.target?e.target.selectionEnd:0,r(t=z.exCommandHistoryController.nextMatch(t,n)||""),i&&e.target&&(e.target.selectionEnd=e.target.selectionStart=Math.min(i,e.target.value.length))):"Ctrl-U"==o?(Xe.e_stop(e),r("")):"Left"!=o&&"Right"!=o&&"Ctrl"!=o&&"Alt"!=o&&"Shift"!=o&&z.exCommandHistoryController.reset()}"keyToEx"==t.type?Fe.processCommand(a,t.exArgs.input):e.visualMode?Te(a,{onClose:r,prefix:":",value:"'<,'>",onKeyDown:n,selectValueOnOpen:!1}):Te(a,{onClose:r,prefix:":",onKeyDown:n})},evalInput:function(e,t){var r,n,i,o,a=t.inputState,s=a.motion,l=a.motionArgs||{},c=a.operator,u=a.operatorArgs||{},f=a.registerName,d=t.sel,h=X(t.visualMode?K(e,d.head):e.getCursor("head")),p=X(t.visualMode?K(e,d.anchor):e.getCursor("anchor")),m=X(h),g=X(p);if(c&&this.recordLastEdit(t,a),0<(i=void 0!==a.repeatOverride?a.repeatOverride:a.getRepeat())&&l.explicitRepeat?l.repeatIsExplicit=!0:(l.noRepeat||!l.explicitRepeat&&0===i)&&(i=1,l.repeatIsExplicit=!1),a.selectedCharacter&&(l.selectedCharacter=u.selectedCharacter=a.selectedCharacter),l.repeat=i,P(e),s){var v=W[s](e,h,l,t);if(t.lastMotion=W[s],!v)return;if(l.toJumplist){var y=z.jumpList,b=y.cachedCursor;b?(fe(e,b,v),delete y.cachedCursor):fe(e,h,v)}(r=v instanceof Array?(n=v[0],v[1]):v)||(r=X(h)),t.visualMode?(t.visualBlock&&r.ch===1/0||(r=K(e,r,t.visualBlock)),n&&(n=K(e,n,!0)),n=n||g,d.anchor=n,d.head=r,ae(e),ve(e,t,"<",Q(n,r)?n:r),ve(e,t,">",Q(n,r)?r:n)):c||(r=K(e,r),e.setCursor(r.line,r.ch))}if(c){if(u.lastSel){n=g;var x=u.lastSel,w=Math.abs(x.head.line-x.anchor.line),k=Math.abs(x.head.ch-x.anchor.ch);r=x.visualLine?Ze(g.line+w,g.ch):x.visualBlock?Ze(g.line+w,g.ch+k):x.head.line==x.anchor.line?Ze(g.line,g.ch+k):Ze(g.line+w,g.ch),t.visualMode=!0,t.visualLine=x.visualLine,t.visualBlock=x.visualBlock,d=t.sel={anchor:n,head:r},ae(e)}else t.visualMode&&(u.lastSel={anchor:X(d.anchor),head:X(d.head),visualBlock:t.visualBlock,visualLine:t.visualLine});var C,S,_,L,M;if(t.visualMode){if(C=J(d.head,d.anchor),S=Z(d.head,d.anchor),_=t.visualLine||u.linewise,M=se(e,{anchor:C,head:S},L=t.visualBlock?"block":_?"line":"char"),_){var T=M.ranges;if("block"==L)for(var A=0;A<T.length;A++)T[A].head.ch=te(e,T[A].head.line);else"line"==L&&(T[0].head=Ze(T[0].head.line+1,0))}}else{if(C=X(n||g),Q(S=X(r||m),C)){var O=C;C=S,S=O}(_=l.linewise||u.linewise)?(o=S,C.ch=0,o.ch=0,o.line++):l.forward&&function(e,t,r){var n=e.getRange(t,r);if(/\n\s*$/.test(n)){var i=n.split("\n");i.pop();for(var o=i.pop();0<i.length&&o&&N(o);o=i.pop())r.line--,r.ch=0;r.ch=o?(r.line--,te(e,r.line)):0}}(e,C,S),M=se(e,{anchor:C,head:S},L="char",!l.inclusive||_)}e.setSelections(M.ranges,M.primary),t.lastMotion=null,u.repeat=i,u.registerName=f,u.linewise=_;var E=H[c](e,u,M.ranges,g,r);t.visualMode&&le(e,null!=E),E&&e.setCursor(E)}},recordLastEdit:function(e,t,r){var n=z.macroModeState;n.isPlaying||(e.lastEditInputState=t,e.lastEditActionCommand=r,n.lastInsertModeChanges.changes=[],n.lastInsertModeChanges.expectCursorActivityForChange=!1,n.lastInsertModeChanges.visualBlock=e.visualBlock?e.sel.head.line-e.sel.anchor.line:0)}},W={moveToTopLine:function(e,t,r){var n=Pe(e).top+r.repeat-1;return Ze(n,ce(e.getLine(n)))},moveToMiddleLine:function(e){var t=Pe(e),r=Math.floor(.5*(t.top+t.bottom));return Ze(r,ce(e.getLine(r)))},moveToBottomLine:function(e,t,r){var n=Pe(e).bottom-r.repeat+1;return Ze(n,ce(e.getLine(n)))},expandToLine:function(e,t,r){return Ze(t.line+r.repeat-1,1/0)},findNext:function(e,t,r){var n=xe(e),i=n.getQuery();if(i){var o=!r.forward;return o=n.isReversed()?!o:o,Ee(e,i),Ne(e,o,i,r.repeat)}},goToMark:function(e,t,r,n){var i=Re(e,n,r.selectedCharacter);return i?r.linewise?{line:i.line,ch:ce(e.getLine(i.line))}:i:null},moveToOtherHighlightedEnd:function(e,t,r,n){if(n.visualBlock&&r.sameLine){var i=n.sel;return[K(e,Ze(i.anchor.line,i.head.ch)),K(e,Ze(i.head.line,i.anchor.ch))]}return[n.sel.head,n.sel.anchor]},jumpToMark:function(e,t,r,n){for(var i=t,o=0;o<r.repeat;o++){var a=i;for(var s in n.marks)if(p(s)){var l=n.marks[s].find();if(!((r.forward?Q(l,a):Q(a,l))||r.linewise&&l.line==a.line)){var c=Y(a,i),u=r.forward?ee(a,l,i):ee(i,l,a);(c||u)&&(i=l)}}}return r.linewise&&(i=Ze(i.line,ce(e.getLine(i.line)))),i},moveByCharacters:function(e,t,r){var n=t,i=r.repeat,o=r.forward?n.ch+i:n.ch-i;return Ze(n.line,o)},moveByLines:function(e,t,r,n){var i=t,o=i.ch;switch(n.lastMotion){case this.moveByLines:case this.moveByDisplayLines:case this.moveByScroll:case this.moveToColumn:case this.moveToEol:o=n.lastHPos;break;default:n.lastHPos=o}var a=r.repeat+(r.repeatOffset||0),s=r.forward?i.line+a:i.line-a,l=e.firstLine(),c=e.lastLine();return s<l&&i.line==l?this.moveToStartOfLine(e,t,r,n):c<s&&i.line==c?this.moveToEol(e,t,r,n,!0):(r.toFirstChar&&(o=ce(e.getLine(s)),n.lastHPos=o),n.lastHSPos=e.charCoords(Ze(s,o),"div").left,Ze(s,o))},moveByDisplayLines:function(e,t,r,n){var i=t;switch(n.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:n.lastHSPos=e.charCoords(i,"div").left}var o=r.repeat;if((s=e.findPosV(i,r.forward?o:-o,"line",n.lastHSPos)).hitSide)if(r.forward)var a={top:e.charCoords(s,"div").top+8,left:n.lastHSPos},s=e.coordsChar(a,"div");else{var l=e.charCoords(Ze(e.firstLine(),0),"div");l.left=n.lastHSPos,s=e.coordsChar(l,"div")}return n.lastHPos=s.ch,s},moveByPage:function(e,t,r){var n=t,i=r.repeat;return e.findPosV(n,r.forward?i:-i,"page")},moveByParagraph:function(e,t,r){var n=r.forward?1:-1;return ye(e,t,r.repeat,n)},moveBySentence:function(e,t,r){var n=r.forward?1:-1;return function(e,t,r,n){function u(e,t){if(t.pos+t.dir<0||t.pos+t.dir>=t.line.length){if(t.ln+=t.dir,!y(e,t.ln))return t.line=null,t.ln=null,void(t.pos=null);t.line=e.getLine(t.ln),t.pos=0<t.dir?0:t.line.length-1}else t.pos+=t.dir}function i(e,t,r,n){var i=e.getLine(t),o=""===i,a={line:i,ln:t,pos:r,dir:n},s={ln:a.ln,pos:a.pos},l=""===a.line;for(u(e,a);null!==a.line;){if(s.ln=a.ln,s.pos=a.pos,""===a.line&&!l)return{ln:a.ln,pos:a.pos};if(o&&""!==a.line&&!N(a.line[a.pos]))return{ln:a.ln,pos:a.pos};!x(a.line[a.pos])||o||a.pos!==a.line.length-1&&!N(a.line[a.pos+1])||(o=!0),u(e,a)}var i=e.getLine(s.ln);s.pos=0;for(var c=i.length-1;0<=c;--c)if(!N(i[c])){s.pos=c;break}return s}function o(e,t,r,n){var i=e.getLine(t),o={line:i,ln:t,pos:r,dir:n},a={ln:o.ln,pos:null},s=""===o.line;for(u(e,o);null!==o.line;){if(""===o.line&&!s)return null!==a.pos?a:{ln:o.ln,pos:o.pos};if(x(o.line[o.pos])&&null!==a.pos&&(o.ln!==a.ln||o.pos+1!==a.pos))return a;""===o.line||N(o.line[o.pos])||(s=!1,a={ln:o.ln,pos:o.pos}),u(e,o)}for(var i=e.getLine(a.ln),l=a.pos=0;l<i.length;++l)if(!N(i[l])){a.pos=l;break}return a}for(var a={ln:t.line,pos:t.ch};0<r;)a=n<0?o(e,a.ln,a.pos,n):i(e,a.ln,a.pos,n),r--;return Ze(a.ln,a.pos)}(e,t,r.repeat,n)},moveByScroll:function(e,t,r,n){var i=e.getScrollInfo(),o=null,a=r.repeat;a||(a=i.clientHeight/(2*e.defaultTextHeight()));var s=e.charCoords(t,"local");if(r.repeat=a,!(o=W.moveByDisplayLines(e,t,r,n)))return null;var l=e.charCoords(o,"local");return e.scrollTo(null,i.top+l.top-s.top),o},moveByWords:function(e,t,r){return function(e,t,r,n,i,o){var a=X(t),s=[];(n&&!i||!n&&i)&&r++;for(var l=!(n&&i),c=0;c<r;c++){var u=me(e,t,n,o,l);if(!u){var f=te(e,e.lastLine());s.push(n?{line:e.lastLine(),from:f,to:f}:{line:0,from:0,to:0});break}s.push(u),t=Ze(u.line,n?u.to-1:u.from)}var d=s.length!=r,h=s[0],p=s.pop();return n&&!i?(d||h.from==a.ch&&h.line==a.line||(p=s.pop()),Ze(p.line,p.from)):n&&i?Ze(p.line,p.to-1):!n&&i?(d||h.to==a.ch&&h.line==a.line||(p=s.pop()),Ze(p.line,p.to)):Ze(p.line,p.from)}(e,t,r.repeat,!!r.forward,!!r.wordEnd,!!r.bigWord)},moveTillCharacter:function(e,t,r){var n=ge(e,r.repeat,r.forward,r.selectedCharacter),i=r.forward?-1:1;return de(i,r),n?(n.ch+=i,n):null},moveToCharacter:function(e,t,r){var n=r.repeat;return de(0,r),ge(e,n,r.forward,r.selectedCharacter)||t},moveToSymbol:function(e,t,r){return function(e,t,r,n){var i=X(e.getCursor()),o=r?1:-1,a=r?e.lineCount():-1,s=i.ch,l=i.line,c=e.getLine(l),u={lineText:c,nextCh:c.charAt(s),lastCh:null,index:s,symb:n,reverseSymb:(r?{")":"(","}":"{"}:{"(":")","{":"}"})[n],forward:r,depth:0,curMoveThrough:!1},f=he[n];if(!f)return i;var d=pe[f].init,h=pe[f].isComplete;for(d&&d(u);l!==a&&t;){if(u.index+=o,u.nextCh=u.lineText.charAt(u.index),!u.nextCh){if(l+=o,u.lineText=e.getLine(l)||"",0<o)u.index=0;else{var p=u.lineText.length;u.index=0<p?p-1:0}u.nextCh=u.lineText.charAt(u.index)}h(u)&&(i.line=l,i.ch=u.index,t--)}return u.nextCh||u.curMoveThrough?Ze(l,u.index):i}(e,r.repeat,r.forward,r.selectedCharacter)||t},moveToColumn:function(e,t,r,n){var i,o,a,s=r.repeat;return n.lastHPos=s-1,n.lastHSPos=e.charCoords(t,"div").left,o=s,a=(i=e).getCursor().line,K(i,Ze(a,o-1))},moveToEol:function(e,t,r,n,i){var o=Ze(t.line+r.repeat-1,1/0),a=e.clipPos(o);return a.ch--,i||(n.lastHPos=1/0,n.lastHSPos=e.charCoords(a,"div").left),o},moveToFirstNonWhiteSpaceCharacter:function(e,t){var r=t;return Ze(r.line,ce(e.getLine(r.line)))},moveToMatchedSymbol:function(e,t){for(var r,n=t,i=n.line,o=n.ch,a=e.getLine(i);o<a.length;o++)if((r=a.charAt(o))&&-1!="()[]{}".indexOf(r)){var s=e.getTokenTypeAt(Ze(i,o+1));if("string"!==s&&"comment"!==s)break}if(o<a.length){var l="<"===o||">"===o?/[(){}[\]<>]/:/[(){}[\]]/;return e.findMatchingBracket(Ze(i,o),{bracketRegex:l}).to}return n},moveToStartOfLine:function(e,t){return Ze(t.line,0)},moveToLineOrEdgeOfDocument:function(e,t,r){var n=r.forward?e.lastLine():e.firstLine();return r.repeatIsExplicit&&(n=r.repeat-e.getOption("firstLineNumber")),Ze(n,ce(e.getLine(n)))},textObjectManipulation:function(e,t,r,n){var i=r.selectedCharacter;"b"==i?i="(":"B"==i&&(i="{");var o,a,s,l,c,u,f,d,h=!r.textObjectInner;if({"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"}[i])o=function(e,t,r,n){var i,o,a=t,s={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[r],l={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[r],c=e.getLine(a.line).charAt(a.ch)===l?1:0;if(i=e.scanForBracket(Ze(a.line,a.ch+c),-1,void 0,{bracketRegex:s}),o=e.scanForBracket(Ze(a.line,a.ch+c),1,void 0,{bracketRegex:s}),!i||!o)return{start:a,end:a};if(i=i.pos,o=o.pos,i.line==o.line&&i.ch>o.ch||i.line>o.line){var u=i;i=o,o=u}return n?o.ch+=1:i.ch+=1,{start:i,end:o}}(e,t,i,h);else if({"'":!0,'"':!0,"`":!0}[i])o=function(e,t,r,n){var i,o,a,s,l=X(t),c=e.getLine(l.line).split(""),u=c.indexOf(r);if(l.ch<u?l.ch=u:u<l.ch&&c[l.ch]==r&&(o=l.ch,--l.ch),c[l.ch]!=r||o)for(a=l.ch;-1<a&&!i;a--)c[a]==r&&(i=a+1);else i=l.ch+1;if(i&&!o)for(a=i,s=c.length;a<s&&!o;a++)c[a]==r&&(o=a);return i&&o?(n&&(--i,++o),{start:Ze(l.line,i),end:Ze(l.line,o)}):{start:l,end:l}}(e,t,i,h);else if("W"===i)o=ue(e,h,0,!0);else if("w"===i)o=ue(e,h,0,!1);else{if("p"!==i)return null;if(o=ye(e,t,r.repeat,0,h),r.linewise=!0,n.visualMode)n.visualLine||(n.visualLine=!0);else{var p=n.inputState.operatorArgs;p&&(p.linewise=!0),o.end.line--}}return e.state.vim.visualMode?(a=e,s=o.start,l=o.end,u=a.state.vim.sel,f=u.head,d=u.anchor,Q(l,s)&&(c=l,l=s,s=c),Q(f,d)?(f=J(s,f),d=Z(d,l)):(d=J(s,d),-1==(f=V(f=Z(f,l),0,-1)).ch&&f.line!=a.firstLine()&&(f=Ze(f.line-1,te(a,f.line-1)))),[d,f]):[o.start,o.end]},repeatLastCharacterSearch:function(e,t,r){var n=z.lastCharacterSearch,i=r.repeat,o=r.forward===n.forward,a=(n.increment?1:0)*(o?-1:1);e.moveH(-a,"char"),r.inclusive=!!o;var s=ge(e,i,o,n.selectedCharacter);return s?(s.ch+=a,s):(e.moveH(a,"char"),t)}};function q(e,t){for(var r=[],n=0;n<t;n++)r.push(e);return r}var H={change:function(e,t,r){var n,i,o=e.state.vim;if(o.visualMode){i=e.getSelection();var a=q("",r.length);e.replaceSelections(a),n=J(r[0].head,r[0].anchor)}else{var s=r[0].anchor,l=r[0].head;i=e.getRange(s,l);var c=o.lastEditInputState||{};if("moveByWords"==c.motion&&!N(i)){var u=/\s+$/.exec(i);u&&c.motionArgs&&c.motionArgs.forward&&(l=V(l,0,-u[0].length),i=i.slice(0,-u[0].length))}var f=new Ze(s.line-1,Number.MAX_VALUE),d=e.firstLine()==e.lastLine();l.line>e.lastLine()&&t.linewise&&!d?e.replaceRange("",f,l):e.replaceRange("",s,l),t.linewise&&(d||(e.setCursor(f),Xe.commands.newlineAndIndent(e)),s.ch=Number.MAX_VALUE),n=s}z.registerController.pushText(t.registerName,"change",i,t.linewise,1<r.length),j.enterInsertMode(e,{head:n},e.state.vim)},delete:function(e,t,r){var n,i,o=e.state.vim;if(o.visualBlock){i=e.getSelection();var a=q("",r.length);e.replaceSelections(a),n=r[0].anchor}else{var s=r[0].anchor,l=r[0].head;t.linewise&&l.line!=e.firstLine()&&s.line==e.lastLine()&&s.line==l.line-1&&(s.line==e.firstLine()?s.ch=0:s=Ze(s.line-1,te(e,s.line-1))),i=e.getRange(s,l),e.replaceRange("",s,l),n=s,t.linewise&&(n=W.moveToFirstNonWhiteSpaceCharacter(e,s))}return z.registerController.pushText(t.registerName,"delete",i,t.linewise,o.visualBlock),K(e,n,o.insertMode)},indent:function(e,t,r){var n=e.state.vim,i=r[0].anchor.line,o=n.visualBlock?r[r.length-1].anchor.line:r[0].head.line,a=n.visualMode?t.repeat:1;t.linewise&&o--;for(var s=i;s<=o;s++)for(var l=0;l<a;l++)e.indentLine(s,t.indentRight);return W.moveToFirstNonWhiteSpaceCharacter(e,r[0].anchor)},indentAuto:function(e,t,r){return e.execCommand("indentAuto"),W.moveToFirstNonWhiteSpaceCharacter(e,r[0].anchor)},changeCase:function(e,t,r,n,i){for(var o=e.getSelections(),a=[],s=t.toLower,l=0;l<o.length;l++){var c=o[l],u="";if(!0===s)u=c.toLowerCase();else if(!1===s)u=c.toUpperCase();else for(var f=0;f<c.length;f++){var d=c.charAt(f);u+=b(d)?d.toLowerCase():d.toUpperCase()}a.push(u)}return e.replaceSelections(a),t.shouldMoveCursor?i:!e.state.vim.visualMode&&t.linewise&&r[0].anchor.line+1==r[0].head.line?W.moveToFirstNonWhiteSpaceCharacter(e,n):t.linewise?n:J(r[0].anchor,r[0].head)},yank:function(e,t,r,n){var i=e.state.vim,o=e.getSelection(),a=i.visualMode?J(i.sel.anchor,i.sel.head,r[0].head,r[0].anchor):n;return z.registerController.pushText(t.registerName,"yank",o,t.linewise,i.visualBlock),a}};var j={jumpListWalk:function(e,t,r){if(!r.visualMode){var n=t.repeat,i=t.forward,o=z.jumpList.move(e,i?n:-n),a=o?o.find():void 0;a=a||e.getCursor(),e.setCursor(a)}},scroll:function(e,t,r){if(!r.visualMode){var n=t.repeat||1,i=e.defaultTextHeight(),o=e.getScrollInfo().top,a=i*n,s=t.forward?o+a:o-a,l=X(e.getCursor()),c=e.charCoords(l,"local");if(t.forward)s>c.top?(l.line+=(s-c.top)/i,l.line=Math.ceil(l.line),e.setCursor(l),c=e.charCoords(l,"local"),e.scrollTo(null,c.top)):e.scrollTo(null,s);else{var u=s+e.getScrollInfo().clientHeight;u<c.bottom?(l.line-=(c.bottom-u)/i,l.line=Math.floor(l.line),e.setCursor(l),c=e.charCoords(l,"local"),e.scrollTo(null,c.bottom-e.getScrollInfo().clientHeight)):e.scrollTo(null,s)}}},scrollToCursor:function(e,t){var r=e.getCursor().line,n=e.charCoords(Ze(r,0),"local"),i=e.getScrollInfo().clientHeight,o=n.top,a=n.bottom-o;switch(t.position){case"center":o=o-i/2+a;break;case"bottom":o=o-i+a}e.scrollTo(null,o)},replayMacro:function(e,t,r){var n=t.selectedCharacter,i=t.repeat,o=z.macroModeState;for("@"==n?n=o.latestRegister:o.latestRegister=n;i--;)qe(e,r,o,n)},enterMacroRecordMode:function(e,t){var r=z.macroModeState,n=t.selectedCharacter;z.registerController.isValidRegister(n)&&r.enterMacroRecordMode(e,n)},toggleOverwrite:function(e){e.state.overwrite?(e.toggleOverwrite(!1),e.setOption("keyMap","vim-insert"),Xe.signal(e,"vim-mode-change",{mode:"insert"})):(e.toggleOverwrite(!0),e.setOption("keyMap","vim-replace"),Xe.signal(e,"vim-mode-change",{mode:"replace"}))},enterInsertMode:function(e,t,r){if(!e.getOption("readOnly")){r.insertMode=!0,r.insertModeRepeat=t&&t.repeat||1;var n=t?t.insertAt:null,i=r.sel,o=t.head||e.getCursor("head"),a=e.listSelections().length;if("eol"==n)o=Ze(o.line,te(e,o.line));else if("charAfter"==n)o=V(o,0,1);else if("firstNonBlank"==n)o=W.moveToFirstNonWhiteSpaceCharacter(e,o);else if("startOfSelectedArea"==n){if(!r.visualMode)return;r.visualBlock?(o=Ze(Math.min(i.head.line,i.anchor.line),Math.min(i.head.ch,i.anchor.ch)),a=Math.abs(i.head.line-i.anchor.line)+1):o=i.head.line<i.anchor.line?i.head:Ze(i.anchor.line,0)}else if("endOfSelectedArea"==n){if(!r.visualMode)return;r.visualBlock?(o=Ze(Math.min(i.head.line,i.anchor.line),Math.max(i.head.ch+1,i.anchor.ch)),a=Math.abs(i.head.line-i.anchor.line)+1):o=i.head.line>=i.anchor.line?V(i.head,0,1):Ze(i.anchor.line,0)}else if("inplace"==n&&r.visualMode)return;e.setOption("disableInput",!1),t&&t.replace?(e.toggleOverwrite(!0),e.setOption("keyMap","vim-replace"),Xe.signal(e,"vim-mode-change",{mode:"replace"})):(e.toggleOverwrite(!1),e.setOption("keyMap","vim-insert"),Xe.signal(e,"vim-mode-change",{mode:"insert"})),z.macroModeState.isPlaying||(e.on("change",He),Xe.on(e.getInputField(),"keydown",Ve)),r.visualMode&&le(e),ie(e,o,a)}},toggleVisualMode:function(e,t,r){var n,i=t.repeat,o=e.getCursor();r.visualMode?r.visualLine^t.linewise||r.visualBlock^t.blockwise?(r.visualLine=!!t.linewise,r.visualBlock=!!t.blockwise,Xe.signal(e,"vim-mode-change",{mode:"visual",subMode:r.visualLine?"linewise":r.visualBlock?"blockwise":""}),ae(e)):le(e):(r.visualMode=!0,r.visualLine=!!t.linewise,r.visualBlock=!!t.blockwise,n=K(e,Ze(o.line,o.ch+i-1),!0),r.sel={anchor:o,head:n},Xe.signal(e,"vim-mode-change",{mode:"visual",subMode:r.visualLine?"linewise":r.visualBlock?"blockwise":""}),ae(e),ve(e,r,"<",J(o,n)),ve(e,r,">",Z(o,n)))},reselectLastSelection:function(e,t,r){var n=r.lastSelection;if(r.visualMode&&oe(e,r),n){var i=n.anchorMark.find(),o=n.headMark.find();if(!i||!o)return;r.sel={anchor:i,head:o},r.visualMode=!0,r.visualLine=n.visualLine,r.visualBlock=n.visualBlock,ae(e),ve(e,r,"<",J(i,o)),ve(e,r,">",Z(i,o)),Xe.signal(e,"vim-mode-change",{mode:"visual",subMode:r.visualLine?"linewise":r.visualBlock?"blockwise":""})}},joinLines:function(e,t,r){var n,i;if(r.visualMode){if(n=e.getCursor("anchor"),Q(i=e.getCursor("head"),n)){var o=i;i=n,n=o}i.ch=te(e,i.line)-1}else{var a=Math.max(t.repeat,2);n=e.getCursor(),i=K(e,Ze(n.line+a-1,1/0))}for(var s=0,l=n.line;l<i.line;l++){s=te(e,n.line),o=Ze(n.line+1,te(e,n.line+1));var c=e.getRange(n,o);c=c.replace(/\n\s*/g," "),e.replaceRange(c,n,o)}var u=Ze(n.line,s);r.visualMode&&le(e,!1),e.setCursor(u)},newLineAndEnterInsertMode:function(e,t,r){r.insertMode=!0;var n=X(e.getCursor());n.line!==e.firstLine()||t.after?(n.line=t.after?n.line:n.line-1,n.ch=te(e,n.line),e.setCursor(n),(Xe.commands.newlineAndIndentContinueComment||Xe.commands.newlineAndIndent)(e)):(e.replaceRange("\n",Ze(e.firstLine(),0)),e.setCursor(e.firstLine(),0)),this.enterInsertMode(e,{repeat:t.repeat},r)},paste:function(n,e,t){var r,i,o,a,s,l=X(n.getCursor()),c=z.registerController.getRegister(e.registerName);if(v=c.toString()){if(e.matchIndent){var u=n.getOption("tabSize"),f=function(e){var t=e.split("\t").length-1,r=e.split(" ").length-1;return t*u+1*r},d=n.getLine(n.getCursor().line),h=f(d.match(/^\s*/)[0]),p=v.replace(/\n$/,""),m=v!==p,g=f(v.match(/^\s*/)[0]),v=p.replace(/^\s*/gm,function(e){var t=h+(f(e)-g);if(t<0)return"";if(n.getOption("indentWithTabs")){var r=Math.floor(t/u);return Array(r+1).join("\t")}return Array(t+1).join(" ")});v+=m?"\n":""}1<e.repeat&&(v=Array(e.repeat+1).join(v));var y,b,x,w,k,C,S,_,L,M,T=c.linewise,A=c.blockwise;if(A){v=v.split("\n"),T&&v.pop();for(var O=0;O<v.length;O++)v[O]=""==v[O]?" ":v[O];l.ch+=e.after?1:0,l.ch=Math.min(te(n,l.line),l.ch)}else T?t.visualMode?v=t.visualLine?v.slice(0,-1):"\n"+v.slice(0,v.length-1)+"\n":e.after?(v="\n"+v.slice(0,v.length-1),l.ch=te(n,l.line)):l.ch=0:l.ch+=e.after?1:0;if(t.visualMode){var E;t.lastPastedText=v;var N=(x=n,k=(w=t).lastSelection,w.visualMode?(C=x.listSelections(),S=C[0],_=C[C.length-1],L=Q(S.anchor,S.head)?S.anchor:S.head,M=Q(_.anchor,_.head)?_.head:_.anchor,[L,M]):function(){var e=x.getCursor(),t=x.getCursor(),r=k.visualBlock;if(r){var n=r.width,i=r.height;t=Ze(e.line+i,e.ch+n);for(var o=[],a=e.line;a<t.line;a++){var s=Ze(a,e.ch),l=Ze(a,t.ch),c={anchor:s,head:l};o.push(c)}x.setSelections(o)}else{var u=k.anchorMark.find(),f=k.headMark.find(),d=f.line-u.line,h=f.ch-u.ch;t={line:t.line+d,ch:d?t.ch:h+t.ch},k.visualLine&&(e=Ze(e.line,0),t=Ze(t.line,te(x,t.line))),x.setSelection(e,t)}return[e,t]}()),I=N[0],P=N[1],R=n.getSelection(),B=n.listSelections(),D=new Array(B.length).join("1").split("1");t.lastSelection&&(E=t.lastSelection.headMark.find()),z.registerController.unnamedRegister.setText(R),y=A?(n.replaceSelections(D),P=Ze(I.line+v.length-1,I.ch),n.setCursor(I),ne(n,P),n.replaceSelections(v),I):t.visualBlock?(n.replaceSelections(D),n.setCursor(I),n.replaceRange(v,I,I),I):(n.replaceRange(v,I,P),n.posFromIndex(n.indexFromPos(I)+v.length-1)),E&&(t.lastSelection.headMark=n.setBookmark(E)),T&&(y.ch=0)}else if(A){for(n.setCursor(l),O=0;O<v.length;O++){var F=l.line+O;F>n.lastLine()&&n.replaceRange("\n",Ze(F,0)),te(n,F)<l.ch&&(r=n,i=F,o=l.ch,void 0,a=te(r,i),s=new Array(o-a+1).join(" "),r.setCursor(Ze(i,a)),r.replaceRange(s,r.getCursor()))}n.setCursor(l),ne(n,Ze(l.line+v.length-1,l.ch)),n.replaceSelections(v),y=l}else n.replaceRange(v,l),y=T&&e.after?Ze(l.line+1,ce(n.getLine(l.line+1))):T&&!e.after?Ze(l.line,ce(n.getLine(l.line))):!T&&e.after?(b=n.indexFromPos(l),n.posFromIndex(b+v.length-1)):(b=n.indexFromPos(l),n.posFromIndex(b+v.length));t.visualMode&&le(n,!1),n.setCursor(y)}},undo:function(e,t){e.operation(function(){G(e,Xe.commands.undo,t.repeat)(),e.setCursor(e.getCursor("anchor"))})},redo:function(e,t){G(e,Xe.commands.redo,t.repeat)()},setRegister:function(e,t,r){r.inputState.registerName=t.selectedCharacter},setMark:function(e,t,r){ve(e,r,t.selectedCharacter,e.getCursor())},replace:function(e,t,r){var n,i,o=t.selectedCharacter,a=e.getCursor(),s=e.listSelections();if(r.visualMode)a=e.getCursor("start"),i=e.getCursor("end");else{var l=e.getLine(a.line);(n=a.ch+t.repeat)>l.length&&(n=l.length),i=Ze(a.line,n)}if("\n"==o)r.visualMode||e.replaceRange("",a,i),(Xe.commands.newlineAndIndentContinueComment||Xe.commands.newlineAndIndent)(e);else{var c=e.getRange(a,i);if(c=c.replace(/[^\n]/g,o),r.visualBlock){var u=new Array(e.getOption("tabSize")+1).join(" ");c=(c=e.getSelection()).replace(/\t/g,u).replace(/[^\n]/g,o).split("\n"),e.replaceSelections(c)}else e.replaceRange(c,a,i);r.visualMode?(a=Q(s[0].anchor,s[0].head)?s[0].anchor:s[0].head,e.setCursor(a),le(e,!1)):e.setCursor(V(i,0,-1))}},incrementNumberToken:function(e,t){for(var r,n,i,o,a=e.getCursor(),s=e.getLine(a.line),l=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi;null!==(r=l.exec(s))&&(i=(n=r.index)+r[0].length,!(a.ch<i)););if((t.backtrack||!(i<=a.ch))&&r){var c=r[2]||r[4],u=r[3]||r[5],f=t.increase?1:-1,d={"0b":2,0:8,"":10,"0x":16}[c.toLowerCase()];o=(parseInt(r[1]+u,d)+f*t.repeat).toString(d);var h=c?new Array(u.length-o.length+1+r[1].length).join("0"):"";o="-"===o.charAt(0)?"-"+c+h+o.substr(1):c+h+o;var p=Ze(a.line,n),m=Ze(a.line,i);e.replaceRange(o,p,m),e.setCursor(Ze(a.line,n+o.length-1))}},repeatLastEdit:function(e,t,r){if(r.lastEditInputState){var n=t.repeat;n&&t.repeatIsExplicit?r.lastEditInputState.repeatOverride=n:n=r.lastEditInputState.repeatOverride||n,$e(e,r,n,!1)}},indent:function(e,t){e.indentLine(e.getCursor().line,t.indentRight)},exitInsertMode:ze};function K(e,t,r){var n=Math.min(Math.max(e.firstLine(),t.line),e.lastLine()),i=te(e,n)-1;i=r?i+1:i;var o=Math.min(Math.max(0,t.ch),i);return Ze(n,o)}function U(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function V(e,t,r){return"object"==typeof t&&(r=t.ch,t=t.line),Ze(e.line+t,e.ch+r)}function $(e,t){if("<character>"!=t.slice(-11))return e==t?"full":0==t.indexOf(e)&&"partial";var r=t.length-11,n=e.slice(0,r),i=t.slice(0,r);return n==i&&e.length>r?"full":0==i.indexOf(n)&&"partial"}function G(t,r,n){return function(){for(var e=0;e<n;e++)r(t)}}function X(e){return Ze(e.line,e.ch)}function Y(e,t){return e.ch==t.ch&&e.line==t.line}function Q(e,t){return e.line<t.line||e.line==t.line&&e.ch<t.ch}function J(e,t){return 2<arguments.length&&(t=J.apply(void 0,Array.prototype.slice.call(arguments,1))),Q(e,t)?e:t}function Z(e,t){return 2<arguments.length&&(t=Z.apply(void 0,Array.prototype.slice.call(arguments,1))),Q(e,t)?t:e}function ee(e,t,r){var n=Q(e,t),i=Q(t,r);return n&&i}function te(e,t){return e.getLine(t).length}function re(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function ne(e,t){var r=[],n=e.listSelections(),i=X(e.clipPos(t)),o=!Y(t,i),a=function(e,t,r){for(var n=0;n<e.length;n++){var i="head"!=r&&Y(e[n].anchor,t),o="anchor"!=r&&Y(e[n].head,t);if(i||o)return n}return-1}(n,e.getCursor("head")),s=Y(n[a].head,n[a].anchor),l=n.length-1,c=a<l-a?l:0,u=n[c].anchor,f=Math.min(u.line,i.line),d=Math.max(u.line,i.line),h=u.ch,p=i.ch,m=n[c].head.ch-h,g=p-h;0<m&&g<=0?(h++,o||p--):m<0&&0<=g?(h--,s||p++):m<0&&-1==g&&(h--,p++);for(var v=f;v<=d;v++){var y={anchor:new Ze(v,h),head:new Ze(v,p)};r.push(y)}return e.setSelections(r),t.ch=p,u.ch=h,u}function ie(e,t,r){for(var n=[],i=0;i<r;i++){var o=V(t,i,0);n.push({anchor:o,head:o})}e.setSelections(n,0)}function oe(e,t){var r=t.sel.anchor,n=t.sel.head;t.lastPastedText&&(n=e.posFromIndex(e.indexFromPos(r)+t.lastPastedText.length),t.lastPastedText=null),t.lastSelection={anchorMark:e.setBookmark(r),headMark:e.setBookmark(n),anchor:X(r),head:X(n),visualMode:t.visualMode,visualLine:t.visualLine,visualBlock:t.visualBlock}}function ae(e,t,r){var n=e.state.vim,i=se(e,t=t||n.sel,r=r||n.visualLine?"line":n.visualBlock?"block":"char");e.setSelections(i.ranges,i.primary),Ke(e)}function se(e,t,r,n){var i=X(t.head),o=X(t.anchor);if("char"==r){var a=n||Q(t.head,t.anchor)?0:1,s=Q(t.head,t.anchor)?1:0;return i=V(t.head,0,a),{ranges:[{anchor:o=V(t.anchor,0,s),head:i}],primary:0}}if("line"==r){if(Q(t.head,t.anchor))i.ch=0,o.ch=te(e,o.line);else{o.ch=0;var l=e.lastLine();i.line>l&&(i.line=l),i.ch=te(e,i.line)}return{ranges:[{anchor:o,head:i}],primary:0}}if("block"==r){for(var c=Math.min(o.line,i.line),u=Math.min(o.ch,i.ch),f=Math.max(o.line,i.line),d=Math.max(o.ch,i.ch)+1,h=f-c+1,p=i.line==c?0:h-1,m=[],g=0;g<h;g++)m.push({anchor:Ze(c+g,u),head:Ze(c+g,d)});return{ranges:m,primary:p}}}function le(e,t){var r=e.state.vim;!1!==t&&e.setCursor(K(e,r.sel.head)),oe(e,r),r.visualMode=!1,r.visualLine=!1,r.visualBlock=!1,Xe.signal(e,"vim-mode-change",{mode:"normal"}),r.fakeCursor&&r.fakeCursor.clear()}function ce(e){if(!e)return 0;var t=e.search(/\S/);return-1==t?e.length:t}function ue(e,t,r,n,i){for(var o,a,s=(a=(o=e).getCursor("head"),1==o.getSelection().length&&(a=J(a,o.getCursor("anchor"))),a),l=e.getLine(s.line),c=s.ch,u=i?g[0]:v[0];!u(l.charAt(c));)if(++c>=l.length)return null;n?u=v[0]:(u=g[0])(l.charAt(c))||(u=g[1]);for(var f=c,d=c;u(l.charAt(f))&&f<l.length;)f++;for(;u(l.charAt(d))&&0<=d;)d--;if(d++,t){for(var h=f;/\s/.test(l.charAt(f))&&f<l.length;)f++;if(h==f){for(var p=d;/\s/.test(l.charAt(d-1))&&0<d;)d--;d||(d=p)}}return{start:Ze(s.line,d),end:Ze(s.line,f)}}function fe(e,t,r){Y(t,r)||z.jumpList.add(e,t,r)}function de(e,t){z.lastCharacterSearch.increment=e,z.lastCharacterSearch.forward=t.forward,z.lastCharacterSearch.selectedCharacter=t.selectedCharacter}var he={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},pe={bracket:{isComplete:function(e){if(e.nextCh===e.symb){if(e.depth++,1<=e.depth)return!0}else e.nextCh===e.reverseSymb&&e.depth--;return!1}},section:{init:function(e){e.curMoveThrough=!0,e.symb=(e.forward?"]":"[")===e.symb?"{":"}"},isComplete:function(e){return 0===e.index&&e.nextCh===e.symb}},comment:{isComplete:function(e){var t="*"===e.lastCh&&"/"===e.nextCh;return e.lastCh=e.nextCh,t}},method:{init:function(e){e.symb="m"===e.symb?"{":"}",e.reverseSymb="{"===e.symb?"}":"{"},isComplete:function(e){return e.nextCh===e.symb}},preprocess:{init:function(e){e.index=0},isComplete:function(e){if("#"===e.nextCh){var t=e.lineText.match(/#(\w+)/)[1];if("endif"===t){if(e.forward&&0===e.depth)return!0;e.depth++}else if("if"===t){if(!e.forward&&0===e.depth)return!0;e.depth--}if("else"===t&&0===e.depth)return!0}return!1}}};function me(e,t,r,n,i){var o=t.line,a=t.ch,s=e.getLine(o),l=r?1:-1,c=n?v:g;if(i&&""==s){if(o+=l,s=e.getLine(o),!y(e,o))return null;a=r?0:s.length}for(;;){if(i&&""==s)return{from:0,to:0,line:o};for(var u=0<l?s.length:-1,f=u,d=u;a!=u;){for(var h=!1,p=0;p<c.length&&!h;++p)if(c[p](s.charAt(a))){for(f=a;a!=u&&c[p](s.charAt(a));)a+=l;if(h=f!=(d=a),f==t.ch&&o==t.line&&d==f+l)continue;return{from:Math.min(f,d+1),to:Math.max(f,d),line:o}}h||(a+=l)}if(!y(e,o+=l))return null;s=e.getLine(o),a=0<l?0:s.length}}function ge(e,t,r,n){for(var i,o=e.getCursor(),a=o.ch,s=0;s<t;s++){if(-1==(l=a,c=e.getLine(o.line),u=n,f=!0,d=void 0,r?-1==(d=c.indexOf(u,l+1))||f||(d-=1):-1==(d=c.lastIndexOf(u,l-1))||f||(d+=1),i=d))return null;a=i}var l,c,u,f,d;return Ze(e.getCursor().line,i)}function ve(e,t,r,n){w(r,d)&&(t.marks[r]&&t.marks[r].clear(),t.marks[r]=e.setBookmark(n))}function ye(t,e,r,n,i){var o,a=e.line,s=t.firstLine(),l=t.lastLine(),c=a;function u(e){return!t.getLine(e)}function f(e,t,r){return r?u(e)!=u(e+t):!u(e)&&u(e+t)}if(n){for(;s<=c&&c<=l&&0<r;)f(c,n)&&r--,c+=n;return new Ze(c,0)}var d=t.state.vim;if(d.visualLine&&f(a,1,!0)){var h=d.sel.anchor;f(h.line,-1,!0)&&(i&&h.line==a||(a+=1))}var p=u(a);for(c=a;c<=l&&r;c++)f(c,1,!0)&&(i&&u(c)==p||r--);for(o=new Ze(c,0),l<c&&!p?p=!0:i=!1,c=a;s<c&&(i&&u(c)!=p&&c!=a||!f(c,-1,!0));c--);return{start:new Ze(c,0),end:o}}function be(){}function xe(e){var t=e.state.vim;return t.searchState_||(t.searchState_=new be)}function we(e,t){var r=ke(e,t)||[];if(!r.length)return[];var n=[];if(0===r[0]){for(var i=0;i<r.length;i++)"number"==typeof r[i]&&n.push(e.substring(r[i]+1,r[i+1]));return n}}function ke(e,t){t||(t="/");for(var r=!1,n=[],i=0;i<e.length;i++){var o=e.charAt(i);r||o!=t||n.push(i),r=!r&&"\\"==o}return n}C("pcre",!0,"boolean"),be.prototype={getQuery:function(){return z.query},setQuery:function(e){z.query=e},getOverlay:function(){return this.searchOverlay},setOverlay:function(e){this.searchOverlay=e},isReversed:function(){return z.isReversed},setReversed:function(e){z.isReversed=e},getScrollbarAnnotate:function(){return this.annotate},setScrollbarAnnotate:function(e){this.annotate=e}};var Ce={"\\n":"\n","\\r":"\r","\\t":"\t"};var Se={"\\/":"/","\\\\":"\\","\\n":"\n","\\r":"\r","\\t":"\t"};function _e(e,t,r){if(z.registerController.getRegister("/").setText(e),e instanceof RegExp)return e;var n,i,o=ke(e,"/");return o.length?(n=e.substring(0,o[0]),i=-1!=e.substring(o[0]).indexOf("i")):n=e,n?(_("pcre")||(n=function(e){for(var t=!1,r=[],n=-1;n<e.length;n++){var i=e.charAt(n)||"",o=e.charAt(n+1)||"",a=o&&-1!="|(){".indexOf(o);t?("\\"===i&&a||r.push(i),t=!1):"\\"===i?(t=!0,o&&-1!="}".indexOf(o)&&(a=!0),a&&"\\"!==o||r.push(i)):(r.push(i),a&&"\\"!==o&&r.push("\\"))}return r.join("")}(n)),r&&(t=/^[^A-Z]*$/.test(n)),new RegExp(n,t||i?"i":void 0)):null}function Le(e,t){e.openNotification?e.openNotification('<span style="color: red">'+t+"</span>",{bottom:!0,duration:5e3}):alert(t)}var Me="(Javascript regexp)";function Te(e,t){var r,n,i,o,a,s,l,c,u=(t.prefix||"")+" "+(t.desc||""),f=(r=t.prefix,n=t.desc,i='<span style="font-family: monospace; white-space: pre">'+(r||"")+'<input type="text"></span>',n&&(i+=' <span style="color: #888">'+n+"</span>"),i);o=e,a=f,s=u,l=t.onClose,c=t,o.openDialog?o.openDialog(a,l,{bottom:!0,value:c.value,onKeyDown:c.onKeyDown,onKeyUp:c.onKeyUp,selectValueOnOpen:!1}):l(prompt(s,""))}function Ae(e,t,r,n){if(t){var i=xe(e),o=_e(t,!!r,!!n);if(o)return Ee(e,o),function(e,t){if(e instanceof RegExp&&t instanceof RegExp){for(var r=["global","multiline","ignoreCase","source"],n=0;n<r.length;n++){var i=r[n];if(e[i]!==t[i])return!1}return!0}return!1}(o,i.getQuery())||i.setQuery(o),o}}var Oe=0;function Ee(r,n){clearTimeout(Oe),Oe=setTimeout(function(){var e=xe(r),t=e.getOverlay();t&&n==t.query||(t&&r.removeOverlay(t),t=function(r){if("^"==r.source.charAt(0))var n=!0;return{token:function(e){if(!n||e.sol()){var t=e.match(r,!1);if(t)return 0==t[0].length?(e.next(),"searching"):e.sol()||(e.backUp(1),r.exec(e.next()+t[0]))?(e.match(r),"searching"):(e.next(),null);for(;!e.eol()&&(e.next(),!e.match(r,!1)););}else e.skipToEnd()},query:r}}(n),r.addOverlay(t),r.showMatchesOnScrollbar&&(e.getScrollbarAnnotate()&&e.getScrollbarAnnotate().clear(),e.setScrollbarAnnotate(r.showMatchesOnScrollbar(n))),e.setOverlay(t))},50)}function Ne(i,o,a,s){return void 0===s&&(s=1),i.operation(function(){for(var e=i.getCursor(),t=i.getSearchCursor(a,e),r=0;r<s;r++){var n=t.find(o);if(0==r&&n&&Y(t.from(),e)&&(n=t.find(o)),!n&&!(t=i.getSearchCursor(a,o?Ze(i.lastLine()):Ze(i.firstLine(),0))).find(o))return}return t.from()})}function Ie(e){var t=xe(e);e.removeOverlay(xe(e).getOverlay()),t.setOverlay(null),t.getScrollbarAnnotate()&&(t.getScrollbarAnnotate().clear(),t.setScrollbarAnnotate(null))}function Pe(e){var t=e.getScrollInfo(),r=e.coordsChar({left:0,top:6+t.top},"local"),n=t.clientHeight-10+t.top,i=e.coordsChar({left:0,top:n},"local");return{top:r.line,bottom:i.line}}function Re(e,t,r){if("'"==r){var n=e.doc.history.done,i=n[n.length-2];return i&&i.ranges&&i.ranges[0].head}if("."==r){if(0==e.doc.history.lastModTime)return;var o=e.doc.history.done.filter(function(e){if(void 0!==e.changes)return e});return o.reverse(),o[0].changes[0].to}var a=t.marks[r];return a&&a.find()}var Be=function(){this.buildCommandMap_()};Be.prototype={processCommand:function(e,t,r){var n=this;e.operation(function(){e.curOp.isVimOp=!0,n._processCommand(e,t,r)})},_processCommand:function(t,e,r){var n=t.state.vim,i=z.registerController.getRegister(":"),o=i.toString();n.visualMode&&le(t);var a=new Xe.StringStream(e);i.setText(e);var s,l,c=r||{};c.input=e;try{this.parseInput_(t,a,c)}catch(e){throw Le(t,e),e}if(c.commandName){if(s=this.matchCommand_(c.commandName)){if(l=s.name,s.excludeFromCommandHistory&&i.setText(o),this.parseCommandArgs_(a,c,s),"exToKey"==s.type){for(var u=0;u<s.toKeys.length;u++)Xe.Vim.handleKey(t,s.toKeys[u],"mapping");return}if("exToEx"==s.type)return void this.processCommand(t,s.toInput)}}else void 0!==c.line&&(l="move");if(l)try{De[l](t,c),s&&s.possiblyAsync||!c.callback||c.callback()}catch(e){throw Le(t,e),e}else Le(t,'Not an editor command ":'+e+'"')},parseInput_:function(e,t,r){t.eatWhile(":"),t.eat("%")?(r.line=e.firstLine(),r.lineEnd=e.lastLine()):(r.line=this.parseLineSpec_(e,t),void 0!==r.line&&t.eat(",")&&(r.lineEnd=this.parseLineSpec_(e,t)));var n=t.match(/^(\w+)/);return r.commandName=n?n[1]:t.match(/.*/)[0],r},parseLineSpec_:function(e,t){var r=t.match(/^(\d+)/);if(r)return parseInt(r[1],10)-1;switch(t.next()){case".":return this.parseLineSpecOffset_(t,e.getCursor().line);case"$":return this.parseLineSpecOffset_(t,e.lastLine());case"'":var n=t.next(),i=Re(e,e.state.vim,n);if(!i)throw new Error("Mark not set");return this.parseLineSpecOffset_(t,i.line);case"-":case"+":return t.backUp(1),this.parseLineSpecOffset_(t,e.getCursor().line);default:return void t.backUp(1)}},parseLineSpecOffset_:function(e,t){var r=e.match(/^([+-])?(\d+)/);if(r){var n=parseInt(r[2],10);"-"==r[1]?t-=n:t+=n}return t},parseCommandArgs_:function(e,t,r){if(!e.eol()){t.argString=e.match(/.*/)[0];var n=r.argDelimiter||/\s+/,i=re(t.argString).split(n);i.length&&i[0]&&(t.args=i)}},matchCommand_:function(e){for(var t=e.length;0<t;t--){var r=e.substring(0,t);if(this.commandMap_[r]){var n=this.commandMap_[r];if(0===n.name.indexOf(e))return n}}return null},buildCommandMap_:function(){this.commandMap_={};for(var e=0;e<Je.length;e++){var t=Je[e],r=t.shortName||t.name;this.commandMap_[r]=t}},map:function(e,t,r){if(":"!=e&&":"==e.charAt(0)){if(r)throw Error("Mode not supported for ex mappings");var n=e.substring(1);":"!=t&&":"==t.charAt(0)?this.commandMap_[n]={name:n,type:"exToEx",toInput:t.substring(1),user:!0}:this.commandMap_[n]={name:n,type:"exToKey",toKeys:t,user:!0}}else if(":"!=t&&":"==t.charAt(0)){var i={keys:e,type:"keyToEx",exArgs:{input:t.substring(1)}};r&&(i.context=r),Ye.unshift(i)}else i={keys:e,type:"keyToKey",toKeys:t},r&&(i.context=r),Ye.unshift(i)},unmap:function(e,t){if(":"!=e&&":"==e.charAt(0)){if(t)throw Error("Mode not supported for ex mappings");var r=e.substring(1);if(this.commandMap_[r]&&this.commandMap_[r].user)return void delete this.commandMap_[r]}else for(var n=e,i=0;i<Ye.length;i++)if(n==Ye[i].keys&&Ye[i].context===t)return void Ye.splice(i,1);throw Error("No such mapping.")}};var De={colorscheme:function(e,t){!t.args||t.args.length<1?Le(e,e.getOption("theme")):e.setOption("theme",t.args[0])},map:function(e,t,r){var n=t.args;!n||n.length<2?e&&Le(e,"Invalid mapping: "+t.input):Fe.map(n[0],n[1],r)},imap:function(e,t){this.map(e,t,"insert")},nmap:function(e,t){this.map(e,t,"normal")},vmap:function(e,t){this.map(e,t,"visual")},unmap:function(e,t,r){var n=t.args;!n||n.length<1?e&&Le(e,"No such mapping: "+t.input):Fe.unmap(n[0],r)},move:function(e,t){F.processCommand(e,e.state.vim,{type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:t.line+1})},set:function(e,t){var r=t.args,n=t.setCfg||{};if(!r||r.length<1)e&&Le(e,"Invalid mapping: "+t.input);else{var i=r[0].split("="),o=i[0],a=i[1],s=!1;if("?"==o.charAt(o.length-1)){if(a)throw Error("Trailing characters: "+t.argString);o=o.substring(0,o.length-1),s=!0}void 0===a&&"no"==o.substring(0,2)&&(o=o.substring(2),a=!1);var l=k[o]&&"boolean"==k[o].type;if(l&&null==a&&(a=!0),!l&&void 0===a||s){var c=_(o,e,n);c instanceof Error?Le(e,c.message):Le(e,!0===c||!1===c?" "+(c?"":"no")+o:" "+o+"="+c)}else{var u=S(o,a,e,n);u instanceof Error&&Le(e,u.message)}}},setlocal:function(e,t){t.setCfg={scope:"local"},this.set(e,t)},setglobal:function(e,t){t.setCfg={scope:"global"},this.set(e,t)},registers:function(e,t){var r=t.args,n=z.registerController.registers,i="----------Registers----------<br><br>";if(r){r=r.join("");for(var o=0;o<r.length;o++)a=r.charAt(o),z.registerController.isValidRegister(a)&&(i+='"'+a+" "+(n[a]||new R).toString()+"<br>")}else for(var a in n){var s=n[a].toString();s.length&&(i+='"'+a+" "+s+"<br>")}Le(e,i)},sort:function(e,o){var a,s,l,c,u,t=function(){if(o.argString){var e=new Xe.StringStream(o.argString);if(e.eat("!")&&(a=!0),e.eol())return;if(!e.eatSpace())return"Invalid arguments";var t=e.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!t&&!e.eol())return"Invalid arguments";if(t[1]){s=-1!=t[1].indexOf("i"),l=-1!=t[1].indexOf("u");var r=-1!=t[1].indexOf("d")||-1!=t[1].indexOf("n")&&1,n=-1!=t[1].indexOf("x")&&1,i=-1!=t[1].indexOf("o")&&1;if(1<r+n+i)return"Invalid arguments";c=(r?"decimal":n&&"hex")||i&&"octal"}t[2]&&(u=new RegExp(t[2].substr(1,t[2].length-2),s?"i":""))}}();if(t)Le(e,t+": "+o.argString);else{var r=o.line||e.firstLine(),n=o.lineEnd||o.line||e.lastLine();if(r!=n){var i=Ze(r,0),f=Ze(n,te(e,n)),d=e.getRange(i,f).split("\n"),h=u||("decimal"==c?/(-?)([\d]+)/:"hex"==c?/(-?)(?:0x)?([0-9a-f]+)/i:"octal"==c?/([0-7]+)/:null),p="decimal"==c?10:"hex"==c?16:"octal"==c?8:null,m=[],g=[];if(c||u)for(var v=0;v<d.length;v++){var y=u?d[v].match(u):null;y&&""!=y[0]?m.push(y):!u&&h.exec(d[v])?m.push(d[v]):g.push(d[v])}else g=d;if(m.sort(u?function(e,t){var r;return a&&(r=e,e=t,t=r),s&&(e[0]=e[0].toLowerCase(),t[0]=t[0].toLowerCase()),e[0]<t[0]?-1:1}:w),u)for(v=0;v<m.length;v++)m[v]=m[v].input;else c||g.sort(w);if(d=a?m.concat(g):g.concat(m),l){var b,x=d;for(d=[],v=0;v<x.length;v++)x[v]!=b&&d.push(x[v]),b=x[v]}e.replaceRange(d.join("\n"),i,f)}}function w(e,t){var r;a&&(r=e,e=t,t=r),s&&(e=e.toLowerCase(),t=t.toLowerCase());var n=c&&h.exec(e),i=c&&h.exec(t);return n?(n=parseInt((n[1]+n[2]).toLowerCase(),p))-(i=parseInt((i[1]+i[2]).toLowerCase(),p)):e<t?-1:1}},global:function(t,e){var r=e.argString;if(r){var n,i=void 0!==e.line?e.line:t.firstLine(),o=e.lineEnd||e.line||t.lastLine(),a=we(r,"/"),s=r;if(a.length&&(s=a[0],n=a.slice(1,a.length).join("/")),s)try{Ae(t,s,!0,!0)}catch(e){return void Le(t,"Invalid regex: "+s)}for(var l=xe(t).getQuery(),c=[],u="",f=i;f<=o;f++)l.test(t.getLine(f))&&(c.push(f+1),u+=t.getLine(f)+"<br>");if(n){var d=0,h=function(){if(d<c.length){var e=c[d]+n;Fe.processCommand(t,e,{callback:h})}d++};h()}else Le(t,u)}else Le(t,"Regular Expression missing from global")},substitute:function(t,e){if(!t.getSearchCursor)throw new Error("Search feature not available. Requires searchcursor.js or any other getSearchCursor implementation.");var r,n,i,o,a=e.argString,s=a?we(a,a[0]):[],l="",c=!1,u=!1;if(s.length)r=s[0],l=s[1],r&&"$"===r[r.length-1]&&(r=r.slice(0,r.length-1)+"\\n",l=l?l+"\n":"\n"),void 0!==l&&(l=_("pcre")?function(e){for(var t=new Xe.StringStream(e),r=[];!t.eol();){for(;t.peek()&&"\\"!=t.peek();)r.push(t.next());var n=!1;for(var i in Se)if(t.match(i,!0)){n=!0,r.push(Se[i]);break}n||r.push(t.next())}return r.join("")}(l):function(e){for(var t,r=!1,n=[],i=-1;i<e.length;i++){var o=e.charAt(i)||"",a=e.charAt(i+1)||"";Ce[o+a]?(n.push(Ce[o+a]),i++):r?(n.push(o),r=!1):"\\"===o?(r=!0,t=a,m.test(t)||"$"===a?n.push("$"):"/"!==a&&"\\"!==a&&n.push("\\")):("$"===o&&n.push("$"),n.push(o),"/"===a&&n.push("\\"))}return n.join("")}(l),z.lastSubstituteReplacePart=l),n=s[2]?s[2].split(" "):[];else if(a&&a.length)return void Le(t,"Substitutions should be of the form :s/pattern/replace/");if(n&&(i=n[0],o=parseInt(n[1]),i&&(-1!=i.indexOf("c")&&(c=!0,i.replace("c","")),-1!=i.indexOf("g")&&(u=!0,i.replace("g","")),r=r.replace(/\//g,"\\/")+"/"+i)),r)try{Ae(t,r,!0,!0)}catch(e){return void Le(t,"Invalid regex: "+r)}if(void 0!==(l=l||z.lastSubstituteReplacePart)){var f=xe(t).getQuery(),d=void 0!==e.line?e.line:t.getCursor().line,h=e.lineEnd||d;d==t.firstLine()&&h==t.lastLine()&&(h=1/0),o&&(h=(d=h)+o-1);var p=K(t,Ze(d,0));!function(i,e,n,o,a,s,r,l,c){var u=!(i.state.vim.exMode=!0),f=s.from();function d(){i.operation(function(){for(;!u;)h(),p();m()})}function h(){var e=i.getRange(s.from(),s.to()),t=e.replace(r,l);s.replace(t)}function p(){for(;s.findNext()&&(e=s.from(),t=o,r=a,"number"!=typeof e&&(e=e.line),t instanceof Array?w(e,t):r?t<=e&&e<=r:e==t);)if(n||!f||s.from().line!=f.line)return i.scrollIntoView(s.from(),30),i.setSelection(s.from(),s.to()),f=s.from(),void(u=!1);var e,t,r;u=!0}function m(e){if(e&&e(),i.focus(),f){i.setCursor(f);var t=i.state.vim;t.exMode=!1,t.lastHPos=t.lastHSPos=f.ch}c&&c()}p(),u?Le(i,"No matches for "+r.source):e?Te(i,{prefix:"replace with <strong>"+l+"</strong> (y/n/a/q/l)",onKeyDown:function(e,t,r){switch(Xe.e_stop(e),Xe.keyName(e)){case"Y":h(),p();break;case"N":p();break;case"A":var n=c;c=void 0,i.operation(d),c=n;break;case"L":h();case"Q":case"Esc":case"Ctrl-C":case"Ctrl-[":m(r)}return u&&m(r),!0}}):(d(),c&&c())}(t,c,u,d,h,t.getSearchCursor(f,p),f,l,e.callback)}else Le(t,"No previous substitute regular expression")},redo:Xe.commands.redo,undo:Xe.commands.undo,write:function(e){Xe.commands.save?Xe.commands.save(e):e.save&&e.save()},nohlsearch:function(e){Ie(e)},yank:function(e){var t=X(e.getCursor()).line,r=e.getLine(t);z.registerController.pushText("0","yank",r,!0,!0)},delmarks:function(e,t){if(t.argString&&re(t.argString))for(var r=e.state.vim,n=new Xe.StringStream(re(t.argString));!n.eol();){n.eatSpace();var i=n.pos;if(!n.match(/[a-zA-Z]/,!1))return void Le(e,"Invalid argument: "+t.argString.substring(i));var o=n.next();if(n.match("-",!0)){if(!n.match(/[a-zA-Z]/,!1))return void Le(e,"Invalid argument: "+t.argString.substring(i));var a=o,s=n.next();if(!(p(a)&&p(s)||b(a)&&b(s)))return void Le(e,"Invalid argument: "+a+"-");var l=a.charCodeAt(0),c=s.charCodeAt(0);if(c<=l)return void Le(e,"Invalid argument: "+t.argString.substring(i));for(var u=0;u<=c-l;u++){var f=String.fromCharCode(l+u);delete r.marks[f]}}else delete r.marks[o]}else Le(e,"Argument required")}},Fe=new Be;function ze(e){var t=e.state.vim,r=z.macroModeState,n=z.registerController.getRegister("."),i=r.isPlaying,o=r.lastInsertModeChanges;i||(e.off("change",He),Xe.off(e.getInputField(),"keydown",Ve)),!i&&1<t.insertModeRepeat&&($e(e,t,t.insertModeRepeat-1,!0),t.lastEditInputState.repeatOverride=t.insertModeRepeat),delete t.insertModeRepeat,t.insertMode=!1,e.setCursor(e.getCursor().line,e.getCursor().ch-1),e.setOption("keyMap","vim"),e.setOption("disableInput",!0),e.toggleOverwrite(!1),n.setText(o.changes.join("")),Xe.signal(e,"vim-mode-change",{mode:"normal"}),r.isRecording&&function(e){if(!e.isPlaying){var t=e.latestRegister,r=z.registerController.getRegister(t);r&&r.pushInsertModeChanges&&r.pushInsertModeChanges(e.lastInsertModeChanges)}}(r)}function We(e){Ye.unshift(e)}function qe(e,t,r,n){var i=z.registerController.getRegister(n);if(":"==n)return i.keyBuffer[0]&&Fe.processCommand(e,i.keyBuffer[0]),void(r.isPlaying=!1);var o=i.keyBuffer,a=0;r.isPlaying=!0,r.replaySearchQueries=i.searchQueries.slice(0);for(var s=0;s<o.length;s++)for(var l,c,u=o[s];u;)if(c=(l=/<\w+-.+?>|<\w+>|./.exec(u))[0],u=u.substring(l.index+c.length),Xe.Vim.handleKey(e,c,"macro"),t.insertMode){var f=i.insertModeChanges[a++].changes;Ge(e,z.macroModeState.lastInsertModeChanges.changes=f,1),ze(e)}r.isPlaying=!1}function He(e,t){var r=z.macroModeState,n=r.lastInsertModeChanges;if(!r.isPlaying)for(;t;){if(n.expectCursorActivityForChange=!0,1<n.ignoreCount)n.ignoreCount--;else if("+input"==t.origin||"paste"==t.origin||void 0===t.origin){var i=e.listSelections().length;1<i&&(n.ignoreCount=i);var o=t.text.join("\n");n.maybeReset&&(n.changes=[],n.maybeReset=!1),o&&(e.state.overwrite&&!/\n/.test(o)?n.changes.push([o]):n.changes.push(o))}t=t.next}}function je(e){var t=e.state.vim;if(t.insertMode){var r=z.macroModeState;if(r.isPlaying)return;var n=r.lastInsertModeChanges;n.expectCursorActivityForChange?n.expectCursorActivityForChange=!1:n.maybeReset=!0}else e.curOp.isVimOp||function(e,t){var r=e.getCursor("anchor"),n=e.getCursor("head");if(t.visualMode&&!e.somethingSelected()?le(e,!1):t.visualMode||t.insertMode||!e.somethingSelected()||(t.visualMode=!0,t.visualLine=!1,Xe.signal(e,"vim-mode-change",{mode:"visual"})),t.visualMode){var i=Q(n,r)?0:-1,o=Q(n,r)?-1:0;n=V(n,0,i),r=V(r,0,o),t.sel={anchor:r,head:n},ve(e,t,"<",J(n,r)),ve(e,t,">",Z(n,r))}else t.insertMode||(t.lastHPos=e.getCursor().ch)}(e,t);t.visualMode&&Ke(e)}function Ke(e){var t=e.state.vim,r=K(e,X(t.sel.head)),n=V(r,0,1);t.fakeCursor&&t.fakeCursor.clear(),t.fakeCursor=e.markText(r,n,{className:"cm-animate-fat-cursor"})}function Ue(e){this.keyName=e}function Ve(e){var t=z.macroModeState.lastInsertModeChanges,r=Xe.keyName(e);r&&(-1==r.indexOf("Delete")&&-1==r.indexOf("Backspace")||Xe.lookupKey(r,"vim-insert",function(){return t.maybeReset&&(t.changes=[],t.maybeReset=!1),t.changes.push(new Ue(r)),!0}))}function $e(r,n,e,t){var i=z.macroModeState;i.isPlaying=!0;var o=!!n.lastEditActionCommand,a=n.inputState;function s(){o?F.processAction(r,n,n.lastEditActionCommand):F.evalInput(r,n)}function l(e){if(0<i.lastInsertModeChanges.changes.length){e=n.lastEditActionCommand?e:1;var t=i.lastInsertModeChanges;Ge(r,t.changes,e)}}if(n.inputState=n.lastEditInputState,o&&n.lastEditActionCommand.interlaceInsertRepeat)for(var c=0;c<e;c++)s(),l(1);else t||s(),l(e);n.inputState=a,n.insertMode&&!t&&ze(r),i.isPlaying=!1}function Ge(t,e,r){function n(e){return"string"==typeof e?Xe.commands[e](t):e(t),!0}var i=t.getCursor("head"),o=z.macroModeState.lastInsertModeChanges.visualBlock;o&&(ie(t,i,o+1),r=t.listSelections().length,t.setCursor(i));for(var a=0;a<r;a++){o&&t.setCursor(V(i,a,0));for(var s=0;s<e.length;s++){var l=e[s];if(l instanceof Ue)Xe.lookupKey(l.keyName,"vim-insert",n);else if("string"==typeof l){var c=t.getCursor();t.replaceRange(l,c,c)}else{var u=t.getCursor(),f=V(u,0,l[0].length);t.replaceRange(l[0],u,f)}}}o&&t.setCursor(V(i,0,1))}return Xe.keyMap.vim={attach:i,detach:e,call:t},C("insertModeEscKeysTimeout",200,"number"),Xe.keyMap["vim-insert"]={fallthrough:["default"],attach:i,detach:e,call:t},Xe.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:i,detach:e,call:t},O(),E}()}),function(l,u,c,t,f){"use strict";var d,h,o,p=l.getElementById("CodeMirror-settings"),n=l.getElementById("CodeMirror-settings__form"),m=l.getElementById("ed_toolbar"),g=l.getElementById("content")||l.getElementById("newcontent"),r=l.getElementById("content-html"),i=l.getElementById("content-tmce"),a=null!=l.getElementById("post_ID")?l.getElementById("post_ID").value:0,v=l.getElementById("editor-expand-toggle"),y={isVisualEnabled:null!=l.getElementById("content-tmce"),isThemeOrPlugin:null!=l.getElementById("newcontent"),isActive:function(){return null!=d},isVisualActive:function(){return null!=l.getElementsByClassName("tmce-active")[0]},isGutenberg:null!=(wp.data&&wp.data.select("core/edit-post")),isGutenbergVisualActive:function(){return"visual"===wp.data.select("core/edit-post").getEditorMode()},isFullHeight:function(){return!!v&&v.checked},previousSettingsPosition:"none",settingsPosition:function(){var e,t=this;return e=m?"absolute"===m.style.position?"0px"===m.style.top?"top":"bottom":"fixed"===m.style.position?"middle":"normal":"none",u.setTimeout(function(){t.previousSettingsPosition=e},0),e},charWidth:0},b={mode:"wordpresspost",tabMode:"indent",indentWithTabs:!0,smartIndent:!1,enterMode:"keep",styleActiveLine:!0,electricChars:!1,showCursorWhenSelecting:!0,viewportMargin:10,extraKeys:{F11:function(){P()},Esc:function(){P(!0)},"Ctrl-S":function(){e()},"Cmd-S":function(){e()}}};function e(){y.isGutenberg?(Q(),wp.data.dispatch("core/editor").savePost()):(l.getElementById("save-post")||l.getElementById("publish")||l.getElementById("submit")).click()}function s(t){var r=!1;return function(){var e=arguments;r||(t.apply(this,e),r=!0,u.requestAnimationFrame(function(){u.requestAnimationFrame(function(){r=!1})}))}}function x(){for(var e=-1;e<p.children.length;e++){var t=e<0?o:p.children[e];null!=t&&(t.style.position="",t.style.top="",t.style.left="",t.style.right="",t.style.width="")}}var w=s(k);function k(e){S();var t=y.settingsPosition();if(t!==y.previousSettingsPosition||e&&"resize"===e.type)switch(R(),t){case"top":x();break;case"middle":!function(){for(var e=m.getBoundingClientRect(),t=-1;t<p.children.length;t++){var r=t<0?o:p.children[t];null!=r&&(r.style.position="fixed",r.style.top=e.bottom+"px",r.style.right=l.documentElement.getBoundingClientRect().width-e.right+"px",r.id.match(/toggle/gi)||(r.style.left=e.left+"px",r.style.width="auto"))}}();break;case"bottom":!function(){for(var e=m.getBoundingClientRect(),t=d.getWrapperElement().getBoundingClientRect(),r=-1;r<p.children.length;r++){var n=r<0?o:p.children[r];null!=n&&(n.style.position="absolute",n.style.top=-1*(t.top-e.bottom)+"px",n.style.left="",n.style.right="",n.style.width="")}}()}}var C=!!navigator.userAgent.match(/Trident/gi);function S(){if(n){var e=n.getBoundingClientRect().top,t=l.getElementById("post-status-info").getBoundingClientRect().top-e,r=u.innerHeight-e;n.style.maxHeight=Math.min(t,r)-6+"px",C&&(n.style.height=n.style.maxHeight)}}function _(){y.isFullHeight()?(d.setOption("viewportMargin",1/0),d.on("change",R),u.addEventListener("scroll",w),u.addEventListener("resize",w),u.addEventListener("resize",D),d.getWrapperElement().style.height="auto",k(),F(),u.setTimeout(function(){S(),R()},100)):(d.setOption("viewportMargin",b.viewportMargin),d.off("change",R),u.removeEventListener("scroll",w),u.removeEventListener("resize",w),u.removeEventListener("resize",D),d.getWrapperElement().style.marginTop="",n.style.maxHeight="",C&&(n.style.height=""),x(),B())}function L(e){for(var t=0;t<e.length;t++){var r=e[t];if(r.addedNodes[0]&&r.addedNodes[0].classList.contains("CodeMirror-dialog"))for(var n=(o=r.addedNodes[0]).getElementsByTagName("button"),i=0;i<n.length;i++){n[i].classList="button button-small"}else o=void 0}}function M(e){e.target.id.match(/advanced/gi)?p.classList.contains("open-advanced")?T("open"):T("advanced"):p.classList.contains("open")?T("closed"):T("open")}function T(e){switch(e){case"open":p.classList.add("open"),p.classList.remove("open-advanced"),p.classList.remove("closed");break;case"advanced":p.classList.add("open"),p.classList.add("open-advanced"),p.classList.remove("closed");break;default:p.classList.remove("open"),p.classList.remove("open-advanced"),p.classList.add("closed")}}function A(){y.charWidth=d.defaultCharWidth()*(f.fontSize/13)}function O(e){var t=+e.target.value;switch(t=isNaN(t)?e.target.value:t,"checkbox"===e.target.type&&(t=e.target.checked),e.target.id){case"fontSize":f.fontSize=t,h.style.fontSize=t+"px",A(),d.refresh();break;case"lineHeight":f.lineHeight=t,h.style.lineHeight=t+"em",d.refresh();break;case"matchTags":f.matchTags=t,d.setOption("matchTags",t?{bothTags:!0}:null);break;case"scrollbarStyle":f.scrollbarStyle=t,d.setOption("scrollbarStyle",t?"overlay":null);break;case"foldGutter":d.setOption("gutters",t?["CodeMirror-linenumbers","CodeMirror-foldgutter"]:[]);case"tabSize":d.setOption("indentUnit",t);default:f[e.target.id]=t,d.setOption(e.target.id,t)}switch(e.target.id){case"lineNumbers":t&&f.foldGutter&&d.setOption("gutters",["CodeMirror-linenumbers","CodeMirror-foldgutter"])}}function E(){var e=t(n).serializeArray();t.post(f.ajaxUrl,e,function(e){})}var N=l.getElementById("wp-content-editor-container"),I="heshFullscreen";function P(e){e=!0===e,y.isFullHeight()?N.classList.remove(I):(N.classList.contains(I)||e?N.classList.remove(I):N.classList.add(I),d.focus())}function R(){d.save(),d.getTextArea().style.height=d.getWrapperElement().getBoundingClientRect().height+"px"}function B(){d.getWrapperElement().style.height=d.getTextArea().style.height}var D=s(F);function F(){d.getWrapperElement().style.marginTop=m.offsetHeight+"px"}var z,W,q=200,H=500;function j(e){W=H+(e.pageY-z),d.getWrapperElement().style.height=Math.max(q,W)+"px"}function K(e){z=e.pageY,!0,l.addEventListener("mousemove",j),l.addEventListener("mouseup",U),e.preventDefault()}function U(e){!1,H=Math.max(q,W),l.removeEventListener("mousemove",j),d.refresh(),l.removeEventListener("mouseup",U)}function V(e){W=H=e,d.getWrapperElement().style.height=H+"px";var t=l.createElement("div");t.className="hesh-content-resize-handle",t.id="content-resize-handle",d.getWrapperElement().appendChild(t),l.getElementById("content-resize-handle").addEventListener("mousedown",K)}function $(){var e=(function(e){var t=("; "+l.cookie).split("; "+e+"=");if(2===t.length)return t.pop().split(";").shift()}("hesh_plugin_selection_state")||"0,0,0,0,0,0,0").split(",");a===e[0]&&(d.doc.setSelection({line:+e[1],ch:+e[2]},{line:+e[3],ch:+e[4]},{scroll:!1}),d.scrollTo(+e[5],+e[6]))}var G=s(X);function X(){var e=d.doc.listSelections()[0],t=d.getScrollInfo();l.cookie="hesh_plugin_selection_state="+a+","+e.anchor.line+","+e.anchor.ch+","+e.head.line+","+e.head.ch+","+t.left+","+t.top}function Y(){var t,r,n,e,i,o,a=d.doc.listSelections()[0];t=r=n=0,d.doc.eachLine(function(e){n<=a.head.line-1&&(t+=e.text.length+1),n<=a.anchor.line-1&&(r+=e.text.length+1),n++}),t+=a.head.ch,r+=a.anchor.ch,d.getTextArea().setSelectionRange(Math.min(r,t),Math.max(r,t)),d.getTextArea().focus(),e=d.getTextArea().value.length,i=u.setInterval(function(){e!==d.getTextArea().value.length&&(u.clearInterval(i),function(){var e=d.getTextArea().selectionStart,t=d.getTextArea().selectionEnd,r=d.getScrollInfo(),n={top:u.pageYOffset,left:u.pageXOffset};d.doc.setValue(d.getTextArea().value),d.focus();var i=0,o=0,a=0,s=e,l=t,c=d.getLineHandle(a).text.length+1;for(;c<=s&&c<=l;)a++,c<=s&&(s-=c,i=a),c<=l&&(l-=c,o=a),c=d.getLineHandle(a).text.length+1;d.doc.setSelection({line:i,ch:s},{line:o,ch:l},{scroll:!1}),u.scrollTo(n.left,n.top),d.scrollTo(r.left,r.top),d.save()}())},10),o=function(){u.clearInterval(i),d.off("focus",o)},d.on("focus",o)}function Q(){d.save(),X(),wp.data.dispatch("core/editor").resetBlocks(wp.blocks.parse(d.getTextArea().value)),d.setValue(wp.data.select("core/editor").getEditedPostContent()),$()}function J(){if(!y.isActive()&&(y.isGutenberg&&(g=l.getElementsByClassName("editor-post-text-editor")[0]),null!=g)){var e,t,r,n,i,o,a,s;if(b.theme=f.theme,b.lineNumbers=!!f.lineNumbers,b.foldGutter=!!f.foldGutter,b.gutters=b.foldGutter?["CodeMirror-linenumbers","CodeMirror-foldgutter"]:[],b.tabSize=b.indentUnit=+f.tabSize,b.lineWrapping=!!f.lineWrapping,b.matchBrackets=!!f.matchBrackets,b.autoCloseTags=!!f.autoCloseTags,b.autoCloseBrackets=!!f.autoCloseBrackets,b.surveyNoticeDismissedB=!!f.surveyNoticeDismissedB,b.highlightSelectionMatches=!!f.highlightSelectionMatches,b.matchTags=!!f.matchTags&&{bothTags:!0},b.scrollbarStyle=f.scrollbarStyle?"overlay":null,b.keyMap=f.keyMap,b.autofocus=l.getElementById("title")&&!!l.getElementById("title").value&&0<l.getElementById("title").value.length,y.isThemeOrPlugin&&(e=l.querySelector(".fileedit-sub .alignleft").textContent.match(/\.[a-z\d]{2,}/gi),t=e[e.length-1].match(/[a-z]*/gi)[1],b.mode={php:"php",css:"css",xml:"xml",html:"htmlmixed",js:"javascript",json:"javascript"}[t]),d=c.fromTextArea(g,b),h=d.getWrapperElement().querySelector(".CodeMirror-code"),g.classList.add("CodeMirror-mirrored"),y.isGutenberg?d.on("blur",Q):d.on("change",function(){d.save()}),$(),d.on("cursorActivity",G),d.on("scroll",G),y.isThemeOrPlugin)V(u.innerHeight-d.getWrapperElement().getBoundingClientRect().top-100);else if(y.isGutenberg){V(u.innerHeight-d.getWrapperElement().getBoundingClientRect().top-16)}else m.addEventListener("mousedown",Y),r=u.send_to_editor,u.send_to_editor=function(e){y.isActive()&&"content"===u.wpActiveEditor?(d.replaceSelection(e),d.save()):r(e)},l.getElementById("content-resize-handle").addEventListener("mousedown",function(){l.addEventListener("mousemove",B)}),l.addEventListener("mouseup",function(){l.removeEventListener("mousemove",B)}),v&&(v.addEventListener("change",_),_()),m.insertAdjacentHTML("afterbegin",'<button type="button" id="cm_content_fullscreen" class="ed_button qt-dfw" title="Full Screen"></button>'),l.getElementById("cm_content_fullscreen").onclick=P;!function(){d.getWrapperElement().appendChild(p),p.style.display="block",p.querySelector(".CodeMirror-settings__toggle").addEventListener("click",M),p.querySelector(".CodeMirror-settings__toggle-advanced").addEventListener("click",M),new MutationObserver(L).observe(d.getWrapperElement(),{childList:!0});for(var e=p.querySelectorAll(".CodeMirror-settings__option"),t=0;t<e.length;t++){var r=e[t];r.addEventListener("change",E),r.addEventListener("change",O)}}(),n=+f.fontSize,i=+f.lineHeight,h.style.fontSize=n+"px",f.fontSize=n,h.style.lineHeight=i+"em",f.lineHeight=i,A(),d.refresh(),o=".CodeMirror pre > * { text-indent: 0px; }",a=l.head||l.getElementsByTagName("head")[0],(s=l.createElement("style")).type="text/css",s.styleSheet?s.styleSheet.cssText=o:s.appendChild(l.createTextNode(o)),a.appendChild(s),d.on("renderLine",function(e,t,r){var n=c.countColumn(t.text,null,e.getOption("tabSize"))*y.charWidth;r.style.textIndent="-"+n+"px",r.style.paddingLeft=4+n+"px"}),d.refresh()}}function Z(){y.isActive()&&(T("closed"),d.toTextArea(),d=void 0)}function ee(){var e;if((e=l.querySelector(".notice-hesh .notice-dismiss"))&&e.addEventListener("click",function(){var e=n.elements.surveyNoticeDismissedB;e&&(e.value=!0),E()}),y.isThemeOrPlugin)J();else if(y.isGutenberg){var t=y.isGutenbergVisualActive();wp.data.subscribe(function(){y.isGutenbergVisualActive()!==t&&((t=y.isGutenbergVisualActive())?Z():u.setTimeout(J,0))}),t||J()}else y.isVisualEnabled?(r.addEventListener("click",function(){u.setTimeout(J,0)}),i.addEventListener("click",Z),y.isVisualActive()||J()):(J(),l.body.className+=" visual-editor-is-disabled")}"complete"!==l.readyState?u.addEventListener?u.addEventListener("load",ee,!1):u.attachEvent&&u.attachEvent("onload",ee):ee()}(document,window,window.CodeMirror,window.jQuery,window.heshOptions);
|
1 |
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).CodeMirror=t()}(this,function(){"use strict";var e=navigator.userAgent,t=navigator.platform,f=/gecko\/\d/i.test(e),n=/MSIE \d/.test(e),r=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),i=/Edge\/(\d+)/.exec(e),k=n||r||i,v=k&&(n?document.documentMode||6:+(i||r)[1]),h=!i&&/WebKit\//.test(e),r=h&&/Qt\/\d+\.\d+/.test(e),o=!i&&/Chrome\//.test(e),p=/Opera\//.test(e),u=/Apple Computer/.test(navigator.vendor),a=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),c=/PhantomJS/.test(e),s=u&&(/Mobile\/\w+/.test(e)||2<navigator.maxTouchPoints),l=/Android/.test(e),d=s||l||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),m=s||/Mac/.test(t),g=/\bCrOS\b/.test(e),y=/win/i.test(t),e=p&&e.match(/Version\/(\d*\.\d*)/);(e=e&&Number(e[1]))&&15<=e&&(h=!(p=!1));var b=m&&(r||p&&(null==e||e<12.11)),x=f||k&&9<=v;function w(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var C=function(e,t){var n=e.className,r=w(t).exec(n);r&&(t=n.slice(r.index+r[0].length),e.className=n.slice(0,r.index)+(t?r[1]+t:""))};function S(e){for(var t=e.childNodes.length;0<t;--t)e.removeChild(e.firstChild);return e}function _(e,t){return S(e).appendChild(t)}function M(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function L(e,t,n,r){r=M(e,t,n,r);return r.setAttribute("role","presentation"),r}function T(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if((t=11==t.nodeType?t.host:t)==e)return!0}while(t=t.parentNode)}function A(){var t;try{t=document.activeElement}catch(e){t=document.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function O(e,t){var n=e.className;w(t).test(n)||(e.className+=(n?" ":"")+t)}function N(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!w(n[r]).test(t)&&(t+=" "+n[r]);return t}var E=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r},I=function(e){e.select()};function P(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function R(e,t,n){for(var r in t=t||{},e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function B(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||t<=s)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}s?I=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:k&&(I=function(e){try{e.select()}catch(e){}});function D(){this.id=null,this.f=null,this.time=0,this.handler=P(this.onTimeout,this)}function F(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}D.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)};var z=50,W={toString:function(){return"CodeMirror.Pass"}},q={scroll:!(D.prototype.set=function(e,t){this.f=t;t=+new Date+e;(!this.id||t<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=t)})},H={origin:"*mouse"},j={origin:"+move"};function K(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r),a=(o=-1==o?e.length:o)-r;if(o==e.length||t<=i+a)return r+Math.min(a,t-i);if(i+=o-r,r=o+1,t<=(i+=n-i%n))return r}}var U=[""];function V(e){for(;U.length<=e;)U.push($(U)+" ");return U[e]}function $(e){return e[e.length-1]}function G(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function X(){}function Y(e,t){e=Object.create?Object.create(e):(X.prototype=e,new X);return t&&R(t,e),e}var Q=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function J(e){return/\w/.test(e)||""<e&&(e.toUpperCase()!=e.toLowerCase()||Q.test(e))}function Z(e,t){return t?!!(-1<t.source.indexOf("\\w")&&J(e))||t.test(e):J(e)}function ee(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return;return 1}var te=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ne(e){return 768<=e.charCodeAt(0)&&te.test(e)}function re(e,t,n){for(;(n<0?0<t:t<e.length)&&ne(e.charAt(t));)t+=n;return t}function ie(e,t,n){for(var r=n<t?-1:1;;){if(t==n)return t;var i=(t+n)/2,i=r<0?Math.ceil(i):Math.floor(i);if(i==t)return e(i)?t:n;e(i)?n=i:t=i+r}}var oe=null;function ae(e,t,n){var r;oe=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:oe=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:oe=i)}return null!=r?r:oe}var se,le,ce,ue,de,fe=(se=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,le=/[stwN]/,ce=/[LRr]/,ue=/[Lb1n]/,de=/[1n]/,function(e,t){var n="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!se.test(e))return!1;for(var r,i=e.length,o=[],a=0;a<i;++a)o.push((r=e.charCodeAt(a))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(r):1424<=r&&r<=1524?"R":1536<=r&&r<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(r-1536):1774<=r&&r<=2220?"r":8192<=r&&r<=8203?"w":8204==r?"b":"L");for(var s=0,l=n;s<i;++s){var c=o[s];"m"==c?o[s]=l:l=c}for(var u=0,d=n;u<i;++u){var f=o[u];"1"==f&&"r"==d?o[u]="n":ce.test(f)&&"r"==(d=f)&&(o[u]="R")}for(var h=1,p=o[0];h<i-1;++h){var m=o[h];"+"==m&&"1"==p&&"1"==o[h+1]?o[h]="1":","!=m||p!=o[h+1]||"1"!=p&&"n"!=p||(o[h]=p),p=m}for(var g=0;g<i;++g){var v=o[g];if(","==v)o[g]="N";else if("%"==v){for(var y=void 0,y=g+1;y<i&&"%"==o[y];++y);for(var b=g&&"!"==o[g-1]||y<i&&"1"==o[y]?"1":"N",k=g;k<y;++k)o[k]=b;g=y-1}}for(var x=0,w=n;x<i;++x){var C=o[x];"L"==w&&"1"==C?o[x]="L":ce.test(C)&&(w=C)}for(var S=0;S<i;++S)if(le.test(o[S])){for(var _=void 0,_=S+1;_<i&&le.test(o[_]);++_);for(var L="L"==(S?o[S-1]:n),M=L==("L"==(_<i?o[_]:n))?L?"L":"R":n,T=S;T<_;++T)o[T]=M;S=_-1}for(var A,O=[],N=0;N<i;)if(ue.test(o[N])){var E=N;for(++N;N<i&&ue.test(o[N]);++N);O.push(new he(0,E,N))}else{var I=N,P=O.length,R="rtl"==t?1:0;for(++N;N<i&&"L"!=o[N];++N);for(var B=I;B<N;)if(de.test(o[B])){I<B&&(O.splice(P,0,new he(1,I,B)),P+=R);var D=B;for(++B;B<N&&de.test(o[B]);++B);O.splice(P,0,new he(2,D,B)),P+=R,I=B}else++B;I<N&&O.splice(P,0,new he(1,I,N))}return"ltr"==t&&(1==O[0].level&&(A=e.match(/^\s+/))&&(O[0].from=A[0].length,O.unshift(new he(0,0,A[0].length))),1==$(O).level&&(A=e.match(/\s+$/))&&($(O).to-=A[0].length,O.push(new he(0,i-A[0].length,i)))),"rtl"==t?O.reverse():O});function he(e,t,n){this.level=e,this.from=t,this.to=n}function pe(e,t){var n=e.order;return n=null==n?e.order=fe(e.text,t):n}var me=[],ge=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent?e.attachEvent("on"+t,n):(e=e._handlers||(e._handlers={}))[t]=(e[t]||me).concat(n)};function ve(e,t){return e._handlers&&e._handlers[t]||me}function ye(e,t,n){var r;e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent?e.detachEvent("on"+t,n):!(e=(r=e._handlers)&&r[t])||-1<(n=F(e,n))&&(r[t]=e.slice(0,n).concat(e.slice(n+1)))}function be(e,t){var n=ve(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function ke(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),be(e,n||t.type,e,t),Le(t)||t.codemirrorIgnore}function xe(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==F(n,t[r])&&n.push(t[r])}function we(e,t){return 0<ve(e,t).length}function Ce(e){e.prototype.on=function(e,t){ge(this,e,t)},e.prototype.off=function(e,t){ye(this,e,t)}}function Se(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function _e(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Le(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Me(e){Se(e),_e(e)}function Te(e){return e.target||e.srcElement}function Ae(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),t=m&&e.ctrlKey&&1==t?3:t}var Oe,Ne,Ee=function(){if(k&&v<9)return!1;var e=M("div");return"draggable"in e||"dragDrop"in e}();var Ie=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Pe=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Re="oncopy"in(r=M("div"))||(r.setAttribute("oncopy","return;"),"function"==typeof r.oncopy),Be=null;var De={},Fe={};function ze(e){if("string"==typeof e&&Fe.hasOwnProperty(e))e=Fe[e];else if(e&&"string"==typeof e.name&&Fe.hasOwnProperty(e.name)){var t=Fe[e.name];(e=Y(t="string"==typeof t?{name:t}:t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return ze("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return ze("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function We(e,t){t=ze(t);var n=De[t.name];if(!n)return We(e,"text/plain");var r=n(e,t);if(qe.hasOwnProperty(t.name)){var i,o=qe[t.name];for(i in o)o.hasOwnProperty(i)&&(r.hasOwnProperty(i)&&(r["_"+i]=r[i]),r[i]=o[i])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var qe={};function He(e,t){R(t,qe.hasOwnProperty(e)?qe[e]:qe[e]={})}function je(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n,r={};for(n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function Ke(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Ue(e,t,n){return!e.startState||e.startState(t,n)}var Ve=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function $e(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Ge(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){e=e.text;i==n.line&&(e=e.slice(0,n.ch)),i==t.line&&(e=e.slice(t.ch)),r.push(e),++i}),r}function Xe(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function Ye(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function Qe(e){if(null==e.parent)return null;for(var t=e.parent,n=F(t.lines,e),r=t.parent;r;r=(t=r).parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function Je(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function Ze(e,t){return t>=e.first&&t<e.first+e.size}function et(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function tt(e,t,n){if(void 0===n&&(n=null),!(this instanceof tt))return new tt(e,t,n);this.line=e,this.ch=t,this.sticky=n}function nt(e,t){return e.line-t.line||e.ch-t.ch}function rt(e,t){return e.sticky==t.sticky&&0==nt(e,t)}function it(e){return tt(e.line,e.ch)}function ot(e,t){return nt(e,t)<0?t:e}function at(e,t){return nt(e,t)<0?e:t}function st(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function lt(e,t){if(t.line<e.first)return tt(e.first,0);var n=e.first+e.size-1;return t.line>n?tt(n,$e(e,n).text.length):(e=$e(e,(n=t).line).text.length,null==(t=n.ch)||e<t?tt(n.line,e):t<0?tt(n.line,0):n)}function ct(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=lt(e,t[r]);return n}Ve.prototype.eol=function(){return this.pos>=this.string.length},Ve.prototype.sol=function(){return this.pos==this.lineStart},Ve.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ve.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ve.prototype.eat=function(e){var t=this.string.charAt(this.pos),e="string"==typeof e?t==e:t&&(e.test?e.test(t):e(t));if(e)return++this.pos,t},Ve.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ve.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ve.prototype.skipToEnd=function(){this.pos=this.string.length},Ve.prototype.skipTo=function(e){e=this.string.indexOf(e,this.pos);if(-1<e)return this.pos=e,!0},Ve.prototype.backUp=function(e){this.pos-=e},Ve.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=B(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?B(this.string,this.lineStart,this.tabSize):0)},Ve.prototype.indentation=function(){return B(this.string,null,this.tabSize)-(this.lineStart?B(this.string,this.lineStart,this.tabSize):0)},Ve.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&0<r.index?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}r=function(e){return n?e.toLowerCase():e};if(r(this.string.substr(this.pos,e.length))==r(e))return!1!==t&&(this.pos+=e.length),!0},Ve.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ve.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ve.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ve.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function ut(e,t){this.state=e,this.lookAhead=t}var dt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function ft(t,n,r,e){var l=[t.state.modeGen],i={};xt(t,n.text,t.doc.mode,r,function(e,t){return l.push(e,t)},i,e);for(var c=r.state,o=0;o<t.state.overlays.length;++o)!function(e){r.baseTokens=l;var o=t.state.overlays[e],a=1,s=0;r.state=!0,xt(t,n.text,o.mode,r,function(e,t){for(var n=a;s<e;){var r=l[a];e<r&&l.splice(a,1,e,l[a+1],r),a+=2,s=Math.min(e,r)}if(t)if(o.opaque)l.splice(n,a-n,e,"overlay "+t),a=n+2;else for(;n<a;n+=2){var i=l[n+1];l[n+1]=(i?i+" ":"")+"overlay "+t}},i),r.state=c,r.baseTokens=null,r.baseTokenPos=1}(o);return{styles:l,classes:i.bgClass||i.textClass?i:null}}function ht(e,t,n){var r,i,o;return t.styles&&t.styles[0]==e.state.modeGen||(r=pt(e,Qe(t)),i=t.text.length>e.options.maxHighlightLength&&je(e.doc.mode,r.state),o=ft(e,t,r),i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))),t.styles}function pt(n,r,e){var t=n.doc,i=n.display;if(!t.mode.startState)return new dt(t,!0,r);var o=function(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;a<s;--s){if(s<=o.first)return o.first;var l=$e(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof ut?c.lookAhead:0)<=o.modeFrontier))return s;l=B(l.text,null,e.options.tabSize);(null==i||l<r)&&(i=s-1,r=l)}return i}(n,r,e),a=o>t.first&&$e(t,o-1).stateAfter,s=a?dt.fromSaved(t,a,o):new dt(t,Ue(t.mode),o);return t.iter(o,r,function(e){mt(n,e.text,s);var t=s.line;e.stateAfter=t==r-1||t%5==0||t>=i.viewFrom&&t<i.viewTo?s.save():null,s.nextLine()}),e&&(t.modeFrontier=s.line),s}function mt(e,t,n,r){var i=e.doc.mode,o=new Ve(t,e.options.tabSize,n);for(o.start=o.pos=r||0,""==t&>(i,n.state);!o.eol();)vt(i,o,n.state),o.start=o.pos}function gt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){t=Ke(e,t);return t.mode.blankLine?t.mode.blankLine(t.state):void 0}}function vt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=Ke(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}dt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},dt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},dt.prototype.nextLine=function(){this.line++,0<this.maxLookAhead&&this.maxLookAhead--},dt.fromSaved=function(e,t,n){return t instanceof ut?new dt(e,je(e.mode,t.state),n,t.lookAhead):new dt(e,je(e.mode,t),n)},dt.prototype.save=function(e){e=!1!==e?je(this.doc.mode,this.state):this.state;return 0<this.maxLookAhead?new ut(e,this.maxLookAhead):e};var yt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function bt(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=$e(a,(t=lt(a,t)).line),c=pt(e,t.line,n),u=new Ve(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=vt(s,u,c.state),r&&o.push(new yt(u,i,je(a.mode,c.state)));return r?o:new yt(u,i,c.state)}function kt(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+n[2])}return e}function xt(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l=0,c=null,u=new Ve(t,e.options.tabSize,r),d=e.options.addModeClass&&[null];for(""==t&&kt(gt(n,r.state),o);!u.eol();){var f,h=u.pos>e.options.maxHighlightLength?(s=!1,a&&mt(e,t,r,u.pos),u.pos=t.length,null):kt(vt(n,u,r.state,d),o);if(!d||(f=d[0].name)&&(h="m-"+(h?f+" "+h:f)),!s||c!=h){for(;l<u.start;)i(l=Math.min(u.start,l+5e3),c);c=h}u.start=u.pos}for(;l<u.pos;){var p=Math.min(u.pos,l+5e3);i(p,c),l=p}}var wt=!1,Ct=!1;function St(e,t,n){this.marker=e,this.from=t,this.to=n}function _t(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Lt(e,t){if(t.full)return null;var n=Ze(e,t.from.line)&&$e(e,t.from.line).markedSpans,r=Ze(e,t.to.line)&&$e(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,e=0==nt(t.from,t.to),a=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o,a=e[i],s=a.marker;!(null==a.from||(s.inclusiveLeft?a.from<=t:a.from<t))&&(a.from!=t||"bookmark"!=s.type||n&&a.marker.insertLeft)||(o=null==a.to||(s.inclusiveRight?a.to>=t:a.to>t),(r=r||[]).push(new St(s,a.from,o?null:a.to)))}return r}(n,i,e),s=function(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o,a=e[i],s=a.marker;!(null==a.to||(s.inclusiveRight?a.to>=t:a.to>t))&&(a.from!=t||"bookmark"!=s.type||n&&!a.marker.insertLeft)||(o=null==a.from||(s.inclusiveLeft?a.from<=t:a.from<t),(r=r||[]).push(new St(s,o?null:a.from-t,null==a.to?null:a.to-t)))}return r}(r,o,e),l=1==t.text.length,c=$(t.text).length+(l?i:0);if(a)for(var u=0;u<a.length;++u){var d,f=a[u];null==f.to&&((d=_t(s,f.marker))?l&&(f.to=null==d.to?null:d.to+c):f.to=i)}if(s)for(var h=0;h<s.length;++h){var p=s[h];null!=p.to&&(p.to+=c),null==p.from?_t(a,p.marker)||(p.from=c,l&&(a=a||[]).push(p)):(p.from+=c,l&&(a=a||[]).push(p))}a=a&&Mt(a),s&&s!=a&&(s=Mt(s));var m=[a];if(!l){var g,v=t.text.length-2;if(0<v&&a)for(var y=0;y<a.length;++y)null==a[y].to&&(g=g||[]).push(new St(a[y].marker,null,null));for(var b=0;b<v;++b)m.push(g);m.push(s)}return m}function Mt(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Tt(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function At(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Ot(e){return e.inclusiveLeft?-1:0}function Nt(e){return e.inclusiveRight?1:0}function Et(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),n=nt(r.from,i.from)||Ot(e)-Ot(t);if(n)return-n;i=nt(r.to,i.to)||Nt(e)-Nt(t);return i||t.id-e.id}function It(e,t){var n,r=Ct&&e.markedSpans;if(r)for(var i,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||Et(n,i.marker)<0)&&(n=i.marker);return n}function Pt(e){return It(e,!0)}function Rt(e){return It(e,!1)}function Bt(e,t,n,r,i){var t=$e(e,t),o=Ct&&t.markedSpans;if(o)for(var a=0;a<o.length;++a){var s=o[a];if(s.marker.collapsed){var l=s.marker.find(0),c=nt(l.from,n)||Ot(s.marker)-Ot(i),u=nt(l.to,r)||Nt(s.marker)-Nt(i);if(!(0<=c&&u<=0||c<=0&&0<=u)&&(c<=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?0<=nt(l.to,n):0<nt(l.to,n))||0<=c&&(s.marker.inclusiveRight&&i.inclusiveLeft?nt(l.from,r)<=0:nt(l.from,r)<0)))return 1}}}function Dt(e){for(var t;t=Pt(e);)e=t.find(-1,!0).line;return e}function Ft(e,t){var n=$e(e,t),e=Dt(n);return n==e?t:Qe(e)}function zt(e,t){if(t>e.lastLine())return t;var n,r=$e(e,t);if(!Wt(e,r))return t;for(;n=Rt(r);)r=n.find(1,!0).line;return Qe(r)+1}function Wt(e,t){var n=Ct&&t.markedSpans;if(n)for(var r,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&function e(t,n,r){if(null==r.to){var i=r.marker.find(1,!0);return e(t,i.line,_t(i.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==n.text.length)return!0;for(var o=void 0,a=0;a<n.markedSpans.length;++a)if((o=n.markedSpans[a]).marker.collapsed&&!o.marker.widgetNode&&o.from==r.to&&(null==o.to||o.to!=r.from)&&(o.marker.inclusiveLeft||r.marker.inclusiveRight)&&e(t,n,o))return!0}(e,t,r))return!0}}function qt(e){for(var t=0,n=(e=Dt(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;o=(n=o).parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function Ht(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=Pt(r);){var i=t.find(0,!0),r=i.from.line;n+=i.from.ch-i.to.ch}for(r=e;t=Rt(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function jt(e){var n=e.display,e=e.doc;n.maxLine=$e(e,e.first),n.maxLineLength=Ht(n.maxLine),n.maxLineChanged=!0,e.iter(function(e){var t=Ht(e);t>n.maxLineLength&&(n.maxLineLength=t,n.maxLine=e)})}var Kt=function(e,t,n){this.text=e,At(this,t),this.height=n?n(this):1};Kt.prototype.lineNo=function(){return Qe(this)},Ce(Kt);var Ut={},Vt={};function $t(e,t){if(!e||/^\s*$/.test(e))return null;t=t.addModeClass?Vt:Ut;return t[e]||(t[e]=e.replace(/\S+/g,"cm-$&"))}function Gt(e,t){var n=L("span",null,null,h?"padding-right: .1px":null),r={pre:L("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=Yt,function(e){if(null!=Ne)return Ne;var t=_(e,document.createTextNode("AخA")),n=E(t,0,1).getBoundingClientRect(),t=E(t,1,2).getBoundingClientRect();return S(e),n&&n.left!=n.right&&(Ne=t.right-n.right<3)}(e.display.measure)&&(a=pe(o,e.doc.direction))&&(r.addToken=function(d,f){return function(e,t,n,r,i,o,a){n=n?n+" cm-force-border":"cm-force-border";for(var s=e.pos,l=s+t.length;;){for(var c=void 0,u=0;u<f.length&&!((c=f[u]).to>s&&c.from<=s);u++);if(c.to>=l)return d(e,t,n,r,i,o,a);d(e,t.slice(0,c.to-s),n,r,null,o,a),r=null,t=t.slice(c.to-s),s=c.to}}}(r.addToken,a)),r.map=[],function(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,c,u,d,f,h=i.length,p=0,m=1,g="",v=0;;){if(v==p){l=c=u=s="",d=f=null,v=1/0;for(var y=[],b=void 0,k=0;k<r.length;++k){var x=r[k],w=x.marker;if("bookmark"==w.type&&x.from==p&&w.widgetNode)y.push(w);else if(x.from<=p&&(null==x.to||x.to>p||w.collapsed&&x.to==p&&x.from==p)){if(null!=x.to&&x.to!=p&&v>x.to&&(v=x.to,c=""),w.className&&(l+=" "+w.className),w.css&&(s=(s?s+";":"")+w.css),w.startStyle&&x.from==p&&(u+=" "+w.startStyle),w.endStyle&&x.to==v&&(b=b||[]).push(w.endStyle,x.to),w.title&&((f=f||{}).title=w.title),w.attributes)for(var C in w.attributes)(f=f||{})[C]=w.attributes[C];w.collapsed&&(!d||Et(d.marker,w)<0)&&(d=x)}else x.from>p&&v>x.from&&(v=x.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==v&&(c+=" "+b[S]);if(!d||d.from==p)for(var _=0;_<y.length;++_)Qt(t,0,y[_]);if(d&&(d.from||0)==p){if(Qt(t,(null==d.to?h+1:d.to)-p,d.marker,null==d.from),null==d.to)return;d.to==p&&(d=!1)}}if(h<=p)break;for(var L=Math.min(h,v);;){if(g){var M,T=p+g.length;if(d||(M=L<T?g.slice(0,L-p):g,t.addToken(t,M,a?a+l:l,u,p+M.length==v?c:"",s,f)),L<=T){g=g.slice(L-p),p=L;break}p=T,u=""}g=i.slice(o,o=n[m++]),a=$t(n[m++],t.cm.options)}}else for(var A=1;A<n.length;A+=2)t.addToken(t,i.slice(o,o=n[A]),$t(n[A+1],t.cm.options))}(o,r,ht(e,o,t!=e.display.externalMeasured&&Qe(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=N(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=N(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(function(e){null==Oe&&(t=M("span",""),_(e,M("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Oe=t.offsetWidth<=1&&2<t.offsetHeight&&!(k&&v<8)));var t=Oe?M("span",""):M("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return t.setAttribute("cm-text",""),t}(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}return h&&(n=r.content.lastChild,(/\bcm-tab\b/.test(n.className)||n.querySelector&&n.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")),be(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=N(r.pre.className,r.textClass||"")),r}function Xt(e){var t=M("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Yt(e,t,n,r,i,o,a){if(t){var s=e.splitSpaces?function(e,t){if(1<e.length&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}(t,e.trailingSpace):t,l=e.cm.state.specialChars,c=!1;if(l.test(t))for(var u=document.createDocumentFragment(),d=0;;){l.lastIndex=d;var f=l.exec(t),h=f?f.index-d:t.length-d;if(h&&(p=document.createTextNode(s.slice(d,d+h)),k&&v<9?u.appendChild(M("span",[p])):u.appendChild(p),e.map.push(e.pos,e.pos+h,p),e.col+=h,e.pos+=h),!f)break;d+=1+h;var p=void 0;"\t"==f[0]?(h=(h=e.cm.options.tabSize)-e.col%h,(p=u.appendChild(M("span",V(h),"cm-tab"))).setAttribute("role","presentation"),p.setAttribute("cm-text","\t"),e.col+=h):("\r"==f[0]||"\n"==f[0]?(p=u.appendChild(M("span","\r"==f[0]?"␍":"","cm-invalidchar"))).setAttribute("cm-text",f[0]):((p=e.cm.options.specialCharPlaceholder(f[0])).setAttribute("cm-text",f[0]),k&&v<9?u.appendChild(M("span",[p])):u.appendChild(p)),e.col+=1),e.map.push(e.pos,e.pos+1,p),e.pos++}else e.col+=t.length,u=document.createTextNode(s),e.map.push(e.pos,e.pos+t.length,u),k&&v<9&&(c=!0),e.pos+=t.length;if(e.trailingSpace=32==s.charCodeAt(t.length-1),n||r||i||c||o||a){n=n||"";r&&(n+=r),i&&(n+=i);var m=M("span",[u],n,o);if(a)for(var g in a)a.hasOwnProperty(g)&&"style"!=g&&"class"!=g&&m.setAttribute(g,a[g]);return e.content.appendChild(m)}e.content.appendChild(u)}}function Qt(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i=i||e.content.appendChild(document.createElement("span"))).setAttribute("cm-marker",n.id),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function Jt(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=Rt(e);)e=t.find(1,!0).line,(n=n||[]).push(e);return n}(t),this.size=this.rest?Qe($(this.rest))-n+1:1,this.node=this.text=null,this.hidden=Wt(e,t)}function Zt(e,t,n){for(var r=[],i=t;i<n;i=a){var o=new Jt(e.doc,$e(e.doc,i),i),a=i+o.size;r.push(o)}return r}var en=null;function tn(e,t){e=e.ownsGroup;if(e)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}(e)}finally{en=null,t(e)}}var nn=null;function rn(e,t){var n=ve(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);en?r=en.delayedCallbacks:nn?r=nn:(r=nn=[],setTimeout(on,0));for(var o=0;o<n.length;++o)!function(e){r.push(function(){return n[e].apply(null,i)})}(o)}}function on(){var e=nn;nn=null;for(var t=0;t<e.length;++t)e[t]()}function an(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?function(e,t){var n=t.text.className,r=ln(e,t);t.text==t.node&&(t.node=r.pre);t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,cn(e,t)):n&&(t.text.className=n)}(e,t):"gutter"==o?un(e,t,n,r):"class"==o?cn(e,t):"widget"==o&&function(e,t,n){t.alignable&&(t.alignable=null);for(var r=w("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);dn(e,t,n)}(e,t,r)}t.changes=null}function sn(e){return e.node==e.text&&(e.node=M("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),k&&v<8&&(e.node.style.zIndex=2)),e.node}function ln(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):Gt(e,t)}function cn(e,t){var n,r;n=e,(r=(i=t).bgClass?i.bgClass+" "+(i.line.bgClass||""):i.line.bgClass)&&(r+=" CodeMirror-linebackground"),i.background?r?i.background.className=r:(i.background.parentNode.removeChild(i.background),i.background=null):r&&(e=sn(i),i.background=e.insertBefore(M("div",null,r),e.firstChild),n.display.input.setUneditable(i.background)),t.line.wrapClass?sn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var i=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=i||""}function un(e,t,n,r){t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass&&(o=sn(t),t.gutterBackground=M("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),o.insertBefore(t.gutterBackground,t.text));var i=t.line.gutterMarkers;if(e.options.lineNumbers||i){var o=sn(t),a=t.gutter=M("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(a.setAttribute("aria-hidden","true"),e.display.input.setUneditable(a),o.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||i&&i["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(M("div",et(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),i)for(var s=0;s<e.display.gutterSpecs.length;++s){var l=e.display.gutterSpecs[s].className,c=i.hasOwnProperty(l)&&i[l];c&&a.appendChild(M("div",[c],"CodeMirror-gutter-elt","left: "+r.gutterLeft[l]+"px; width: "+r.gutterWidth[l]+"px"))}}}function dn(e,t,n){if(fn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)fn(e,t.rest[r],t,n,!1)}function fn(e,t,n,r,i){if(t.widgets)for(var o=sn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=M("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),function(e,t,n,r){e.noHScroll&&((n.alignable||(n.alignable=[])).push(t),n=r.wrapperWidth,t.style.left=r.fixedPos+"px",e.coverGutter||(n-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=n+"px");e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),rn(l,"redraw")}}function hn(e){if(null!=e.height)return e.height;var t,n=e.doc.cm;return n?(T(document.body,e.node)||(t="position: relative;",e.coverGutter&&(t+="margin-left: -"+n.display.gutters.offsetWidth+"px;"),e.noHScroll&&(t+="width: "+n.display.wrapper.clientWidth+"px;"),_(n.display.measure,M("div",[e.node],null,t))),e.height=e.node.parentNode.offsetHeight):0}function pn(e,t){for(var n=Te(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return 1}function mn(e){return e.lineSpace.offsetTop}function gn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function vn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=_(e.measure,M("pre","x","CodeMirror-line-like")),t=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,t={left:parseInt(t.paddingLeft),right:parseInt(t.paddingRight)};return isNaN(t.left)||isNaN(t.right)||(e.cachedPaddingH=t),t}function yn(e){return z-e.display.nativeBarWidth}function bn(e){return e.display.scroller.clientWidth-yn(e)-e.display.barWidth}function kn(e){return e.display.scroller.clientHeight-yn(e)-e.display.barHeight}function xn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(Qe(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function wn(e,t,n,r){return _n(e,Sn(e,t),n,r)}function Cn(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[er(e,t)];e=e.display.externalMeasured;return e&&t>=e.lineN&&t<e.lineN+e.size?e:void 0}function Sn(e,t){var n,r,i=Qe(t),o=Cn(e,i);o&&!o.text?o=null:o&&o.changes&&(an(e,o,i,Xn(e)),e.curOp.forceUpdate=!0),o||(n=e,e=Qe(r=Dt(r=t)),(r=n.display.externalMeasured=new Jt(n.doc,r,e)).lineN=e,e=r.built=Gt(n,r),r.text=e.pre,_(n.display.lineMeasure,e.pre),o=r);i=xn(o,t,i);return{line:t,view:o,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function _n(e,t,n,r,i){var o,a=(n=t.before?-1:n)+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,e=r&&bn(e);if(!t.measure.heights||r&&t.measure.width!=e){var i=t.measure.heights=[];if(r){t.measure.width=e;for(var o=t.text.firstChild.getClientRects(),a=0;a<o.length-1;a++){var s=o[a],l=o[a+1];2<Math.abs(s.bottom-l.bottom)&&i.push((s.bottom+l.top)/2-n.top)}}i.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function(e,t,n,r){var i,o=Tn(t.map,n,r),a=o.node,s=o.start,l=o.end,c=o.collapse;if(3==a.nodeType){for(var u=0;u<4;u++){for(;s&&ne(t.line.text.charAt(o.coverStart+s));)--s;for(;o.coverStart+l<o.coverEnd&&ne(t.line.text.charAt(o.coverStart+l));)++l;if((i=k&&v<9&&0==s&&l==o.coverEnd-o.coverStart?a.parentNode.getBoundingClientRect():function(e,t){var n=Mn;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;0<=i&&(n=e[i]).left==n.right;i--);return n}(E(a,s,l).getClientRects(),r)).left||i.right||0==s)break;l=s,s-=1,c="right"}k&&v<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Be)return Be;var e=(t=_(e,M("span","x"))).getBoundingClientRect(),t=E(t,0,1).getBoundingClientRect();return Be=1<Math.abs(e.left-t.left)}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,e=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*e,bottom:t.bottom*e}}(e.display.measure,i))}else 0<s&&(c=r="right"),i=e.options.lineWrapping&&1<(m=a.getClientRects()).length?m["right"==r?m.length-1:0]:a.getBoundingClientRect();!(k&&v<9)||s||i&&(i.left||i.right)||(g=a.parentNode.getClientRects()[0],i=g?{left:g.left,right:g.left+Gn(e.display),top:g.top,bottom:g.bottom}:Mn);for(var d=i.top-t.rect.top,n=i.bottom-t.rect.top,f=(d+n)/2,h=t.view.measure.heights,p=0;p<h.length-1&&!(f<h[p]);p++);var m=p?h[p-1]:0,g=h[p],g={left:("right"==c?i.right:i.left)-t.rect.left,right:("left"==c?i.left:i.right)-t.rect.left,top:m,bottom:g};i.left||i.right||(g.bogus=!0);e.options.singleCursorHeightPerLine||(g.rtop=d,g.rbottom=n);return g}(e,t,n,r)).bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var Ln,Mn={left:0,right:0,top:0,bottom:0};function Tn(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?o=(i=t-s)+1:(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,l<=t&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function An(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function On(e){e.display.externalMeasure=null,S(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)An(e.display.view[t])}function Nn(e){On(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function En(){return o&&l?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function In(){return o&&l?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Pn(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=hn(e.widgets[n]));return t}function Rn(e,t,n,r,i){if(i||(i=Pn(t),n.top+=i,n.bottom+=i),"line"==r)return n;r=r||"local";t=qt(t);return"local"==r?t+=mn(e.display):t-=e.display.viewOffset,"page"!=r&&"window"!=r||(t+=(e=e.display.lineSpace.getBoundingClientRect()).top+("window"==r?0:In()),r=e.left+("window"==r?0:En()),n.left+=r,n.right+=r),n.top+=t,n.bottom+=t,n}function Bn(e,t,n){if("div"==n)return t;var r=t.left,t=t.top;"page"==n?(r-=En(),t-=In()):"local"!=n&&n||(r+=(n=e.display.sizer.getBoundingClientRect()).left,t+=n.top);e=e.display.lineSpace.getBoundingClientRect();return{left:r-e.left,top:t-e.top}}function Dn(e,t,n,r,i){return Rn(e,r=r||$e(e.doc,t.line),wn(e,r,t.ch,i),n)}function Fn(n,e,r,i,o,a){function s(e,t){e=_n(n,o,e,t?"right":"left",a);return t?e.left=e.right:e.right=e.left,Rn(n,i,e,r)}i=i||$e(n.doc,e.line),o=o||Sn(n,i);var l=pe(i,n.doc.direction),t=e.ch,c=e.sticky;if(t>=i.text.length?(t=i.text.length,c="before"):t<=0&&(t=0,c="after"),!l)return s("before"==c?t-1:t,"before"==c);function u(e,t,n){return s(n?e-1:e,1==l[t].level!=n)}var d=ae(l,t,c),e=oe,d=u(t,d,"before"==c);return null!=e&&(d.other=u(t,e,"before"!=c)),d}function zn(e,t){var n=0;t=lt(e.doc,t),e.options.lineWrapping||(n=Gn(e.display)*t.ch);t=$e(e.doc,t.line),e=qt(t)+mn(e.display);return{left:n,right:n,top:e,bottom:e+t.height}}function Wn(e,t,n,r,i){n=tt(e,t,n);return n.xRel=i,r&&(n.outside=r),n}function qn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Wn(r.first,0,null,-1,-1);var i=Je(r,n),o=r.first+r.size-1;if(o<i)return Wn(r.first+r.size-1,$e(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=$e(r,i);;){var s=function(n,e,t,r,i){i-=qt(e);var o=Sn(n,e),a=Pn(e),s=0,l=e.text.length,c=!0,u=pe(e,n.doc.direction);u&&(h=(n.options.lineWrapping?Vn:Un)(n,e,t,o,u,r,i),c=1!=h.level,s=c?h.from:h.to-1,l=c?h.to:h.from-1);var d=null,f=null,u=ie(function(e){var t=_n(n,o,e);return t.top+=a,t.bottom+=a,Kn(t,r,i,!1)&&(t.top<=i&&t.left<=r&&(d=e,f=t),1)},s,l),h=!1;{var p,m;f?(p=r-f.left<f.right-r,u=d+((m=p==c)?0:1),m=m?"after":"before",p=p?f.left:f.right):(c||u!=l&&u!=s||u++,m=0==u||u!=e.text.length&&_n(n,o,u-(c?1:0)).bottom+a<=i==c?"after":"before",c=Fn(n,tt(t,u,m),"line",e,o),p=c.left,h=i<c.top?-1:i>=c.bottom?1:0)}return u=re(e.text,u,1),Wn(t,u,m,h,r-p)}(e,a,i,t,n),l=function(e,t){var n,r=Ct&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||Et(n,o.marker)<0)&&(n=o.marker)}return n}(a,s.ch+(0<s.xRel||0<s.outside?1:0));if(!l)return s;l=l.find(1);if(l.line==i)return l;a=$e(r,i=l.line)}}function Hn(t,e,n,r){r-=Pn(e);var i=e.text.length,e=ie(function(e){return _n(t,n,e-1).bottom<=r},i,0);return{begin:e,end:i=ie(function(e){return _n(t,n,e).top>r},e,i)}}function jn(e,t,n,r){return Hn(e,t,n=n||Sn(e,t),Rn(e,t,_n(e,n,r),"line").top)}function Kn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Un(n,r,i,o,a,s,l){var e,t=ie(function(e){var t=a[e],e=1!=t.level;return Kn(Fn(n,tt(i,e?t.to:t.from,e?"before":"after"),"line",r,o),s,l,!0)},0,a.length-1),c=a[t];return 0<t&&(e=1!=c.level,Kn(e=Fn(n,tt(i,e?c.from:c.to,e?"after":"before"),"line",r,o),s,l,!0)&&e.top>l&&(c=a[t-1])),c}function Vn(e,t,n,r,i,o,a){var a=Hn(e,t,r,a),s=a.begin,l=a.end;/\s/.test(t.text.charAt(l-1))&&l--;for(var c=null,u=null,d=0;d<i.length;d++){var f,h=i[d];h.from>=l||h.to<=s||(f=(f=_n(e,r,1!=h.level?Math.min(l,h.to)-1:Math.max(s,h.from)).right)<o?o-f+1e9:f-o,(!c||f<u)&&(c=h,u=f))}return c=(c=(c=c||i[i.length-1]).from<s?{from:s,to:c.to,level:c.level}:c).to>l?{from:c.from,to:l,level:c.level}:c}function $n(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Ln){Ln=M("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)Ln.appendChild(document.createTextNode("x")),Ln.appendChild(M("br"));Ln.appendChild(document.createTextNode("x"))}_(e.measure,Ln);var n=Ln.offsetHeight/50;return 3<n&&(e.cachedTextHeight=n),S(e.measure),n||1}function Gn(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=M("span","xxxxxxxxxx"),n=M("pre",[t],"CodeMirror-line-like");_(e.measure,n);t=t.getBoundingClientRect(),t=(t.right-t.left)/10;return 2<t&&(e.cachedCharWidth=t),t||10}function Xn(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Yn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Yn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Qn(r){var i=$n(r.display),o=r.options.lineWrapping,a=o&&Math.max(5,r.display.scroller.clientWidth/Gn(r.display)-3);return function(e){if(Wt(r.doc,e))return 0;var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;n++)e.widgets[n].height&&(t+=e.widgets[n].height);return o?t+(Math.ceil(e.text.length/a)||1)*i:t+i}}function Jn(e){var t=e.doc,n=Qn(e);t.iter(function(e){var t=n(e);t!=e.height&&Ye(e,t)})}function Zn(e,t,n,r){var i=e.display;if(!n&&"true"==Te(t).getAttribute("cm-not-content"))return null;var o,i=i.lineSpace.getBoundingClientRect();try{o=t.clientX-i.left,s=t.clientY-i.top}catch(e){return null}var a,s=qn(e,o,s);return r&&0<s.xRel&&(a=$e(e.doc,s.line).text).length==s.ch&&(a=B(a,a.length,e.options.tabSize)-a.length,s=tt(s.line,Math.max(0,Math.round((o-vn(e.display).left)/Gn(e.display))-a))),s}function er(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function tr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size);var i,o,a=e.display;(r=r||0)&&n<a.viewTo&&(null==a.updateLineNumbers||a.updateLineNumbers>t)&&(a.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=a.viewTo?Ct&&Ft(e.doc,t)<a.viewTo&&rr(e):n<=a.viewFrom?Ct&&zt(e.doc,n+r)>a.viewFrom?rr(e):(a.viewFrom+=r,a.viewTo+=r):t<=a.viewFrom&&n>=a.viewTo?rr(e):t<=a.viewFrom?(i=ir(e,n,n+r,1))?(a.view=a.view.slice(i.index),a.viewFrom=i.lineN,a.viewTo+=r):rr(e):n>=a.viewTo?(o=ir(e,t,t,-1))?(a.view=a.view.slice(0,o.index),a.viewTo=o.lineN):rr(e):(i=ir(e,t,t,-1),o=ir(e,n,n+r,1),i&&o?(a.view=a.view.slice(0,i.index).concat(Zt(e,i.lineN,o.lineN)).concat(a.view.slice(o.index)),a.viewTo+=r):rr(e));e=a.externalMeasured;e&&(n<e.lineN?e.lineN+=r:t<e.lineN+e.size&&(a.externalMeasured=null))}function nr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),t<r.viewFrom||t>=r.viewTo||(null==(t=r.view[er(e,t)]).node||-1==F(t=t.changes||(t.changes=[]),n)&&t.push(n))}function rr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function ir(e,t,n,r){var i,o=er(e,t),a=e.display.view;if(!Ct||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(0<r){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;Ft(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function or(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function ar(e){e.display.input.showSelection(e.display.input.prepareSelection())}function sr(e,t){void 0===t&&(t=!0);for(var n,r,i=e.doc,o={},a=o.cursors=document.createDocumentFragment(),s=o.selection=document.createDocumentFragment(),l=0;l<i.sel.ranges.length;l++)!t&&l==i.sel.primIndex||((n=i.sel.ranges[l]).from().line>=e.display.viewTo||n.to().line<e.display.viewFrom||(((r=n.empty())||e.options.showCursorWhenSelecting)&&lr(e,n.head,a),r||function(i,e,t){var n=i.display,o=i.doc,a=document.createDocumentFragment(),r=vn(i.display),C=r.left,S=Math.max(n.sizerWidth,bn(i)-n.sizer.offsetLeft)-r.right,_="ltr"==o.direction;function L(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),a.appendChild(M("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?S-e:n)+"px;\n height: "+(r-t)+"px"))}function s(n,m,g){var v,y,r=$e(o,n),b=r.text.length;function k(e,t){return Dn(i,tt(n,e),"div",r,t)}function x(e,t,n){e=jn(i,r,null,e),t="ltr"==t==("after"==n)?"left":"right";return k("after"==n?e.begin:e.end-(/\s/.test(r.text.charAt(e.end-1))?2:1),t)[t]}var w=pe(r,o.direction);return function(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}(w,m||0,null==g?b:g,function(e,t,n,r){var i,o,a,s,l="ltr"==n,c=k(e,l?"left":"right"),u=k(t-1,l?"right":"left"),d=null==m&&0==e,f=null==g&&t==b,h=0==r,p=!w||r==w.length-1;u.top-c.top<=3?(i=(_?d:f)&&h?C:(l?c:u).left,r=(_?f:d)&&p?S:(l?u:c).right,L(i,c.top,r-i,c.bottom)):(n=l?(o=_&&d&&h?C:c.left,a=_?S:x(e,n,"before"),s=_?C:x(t,n,"after"),_&&f&&p?S:u.right):(o=_?x(e,n,"before"):C,a=!_&&d&&h?S:c.right,s=!_&&f&&p?C:u.left,_?x(t,n,"after"):S),L(o,c.top,a-o,c.bottom),c.bottom<u.top&&L(C,c.bottom,null,u.top),L(s,u.top,n-s,u.bottom)),(!v||cr(c,v)<0)&&(v=c),cr(u,v)<0&&(v=u),(!y||cr(c,y)<0)&&(y=c),cr(u,y)<0&&(y=u)}),{start:v,end:y}}var l=e.from(),n=e.to();l.line==n.line?s(l.line,l.ch,n.ch):(r=$e(o,l.line),e=$e(o,n.line),e=Dt(r)==Dt(e),r=s(l.line,l.ch,e?r.text.length+1:null).end,n=s(n.line,e?0:null,n.ch).start,e&&(r.top<n.top-2?(L(r.right,r.top,null,r.bottom),L(C,n.top,n.left,n.bottom)):L(r.right,r.top,n.left-r.right,r.bottom)),r.bottom<n.top&&L(C,r.bottom,null,n.top));t.appendChild(a)}(e,n,s)));return o}function lr(e,t,n){var r=Fn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(M("div"," ","CodeMirror-cursor"));i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)&&(t=Dn(e,t,"div",null,null),i.style.width=Math.max(0,t.right-t.left)+"px"),r.other&&((n=n.appendChild(M("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"))).style.display="",n.style.left=r.other.left+"px",n.style.top=r.other.top+"px",n.style.height=.85*(r.other.bottom-r.other.top)+"px")}function cr(e,t){return e.top-t.top||e.left-t.left}function ur(e){var t,n;e.state.focused&&(t=e.display,clearInterval(t.blinker),n=!0,t.cursorDiv.style.visibility="",0<e.options.cursorBlinkRate?t.blinker=setInterval(function(){e.hasFocus()||pr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden"))}function dr(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||hr(e))}function fr(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&pr(e))},100)}function hr(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(be(e,"focus",e,t),e.state.focused=!0,O(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),h&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),ur(e))}function pr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(be(e,"blur",e,t),e.state.focused=!1,C(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function mr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i,o=t.view[r],a=e.options.lineWrapping,s=void 0,l=0;if(!o.hidden){k&&v<8?(s=(i=o.node.offsetTop+o.node.offsetHeight)-n,n=i):(s=(c=o.node.getBoundingClientRect()).bottom-c.top,!a&&o.text.firstChild&&(l=o.text.firstChild.getBoundingClientRect().right-c.left-1));var c=o.line.height-s;if((.005<c||c<-.005)&&(Ye(o.line,s),gr(o.line),o.rest))for(var u=0;u<o.rest.length;u++)gr(o.rest[u]);l>e.display.sizerWidth&&((l=Math.ceil(l/Gn(e.display)))>e.display.maxLineLength&&(e.display.maxLineLength=l,e.display.maxLine=o.line,e.display.maxLineChanged=!0))}}}function gr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function vr(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop,r=Math.floor(r-mn(e)),i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=Je(t,r),r=Je(t,i);return n&&n.ensure&&(i=n.ensure.from.line,n=n.ensure.to.line,i<o?r=Je(t,qt($e(t,o=i))+e.wrapper.clientHeight):Math.min(n,t.lastLine())>=r&&(o=Je(t,qt($e(t,n))-e.wrapper.clientHeight),r=n)),{from:o,to:Math.max(r,o+1)}}function yr(e,t){var n=e.display,r=$n(e.display);t.top<0&&(t.top=0);var i=(e.curOp&&null!=e.curOp.scrollTop?e.curOp:n.scroller).scrollTop,o=kn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+gn(n),l=t.top<r,r=t.bottom>s-r;t.top<i?a.scrollTop=l?0:t.top:t.bottom>i+o&&((c=Math.min(t.top,(r?s:t.bottom)-o))!=i&&(a.scrollTop=c));var i=e.options.fixedGutter?0:n.gutters.offsetWidth,c=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-i,e=bn(e)-n.gutters.offsetWidth,n=t.right-t.left>e;return n&&(t.right=t.left+e),t.left<10?a.scrollLeft=0:t.left<c?a.scrollLeft=Math.max(0,t.left+i-(n?0:10)):t.right>e+c-3&&(a.scrollLeft=t.right+(n?0:10)-e),a}function br(e,t){null!=t&&(wr(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc:e.curOp).scrollTop+t)}function kr(e){wr(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function xr(e,t,n){null==t&&null==n||wr(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function wr(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,Cr(e,zn(e,t.from),zn(e,t.to),t.margin))}function Cr(e,t,n,r){r=yr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});xr(e,r.scrollLeft,r.scrollTop)}function Sr(e,t){Math.abs(e.doc.scrollTop-t)<2||(f||Kr(e,{top:t}),_r(e,t,!0),f&&Kr(e),zr(e,100))}function _r(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),e.display.scroller.scrollTop==t&&!n||(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Lr(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,$r(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Mr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+gn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+yn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}e=function(e,t,n){this.cm=n;var r=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),ge(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),ge(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,k&&v<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};e.prototype.update=function(e){var t,n=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;return r?(this.vert.style.display="block",this.vert.style.bottom=n?i+"px":"0",t=e.viewHeight-(n?i:0),this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+t)+"px"):(this.vert.style.display="",this.vert.firstChild.style.height="0"),n?(this.horiz.style.display="block",this.horiz.style.right=r?i+"px":"0",this.horiz.style.left=e.barLeft+"px",t=e.viewWidth-e.barLeft-(r?i:0),this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+t)+"px"):(this.horiz.style.display="",this.horiz.firstChild.style.width="0"),!this.checkedZeroWidth&&0<e.clientHeight&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?i:0,bottom:n?i:0}},e.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},e.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},e.prototype.zeroWidthHack=function(){this.horiz.style.height=this.vert.style.width=m&&!a?"12px":"18px",this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new D,this.disableVert=new D},e.prototype.enableZeroWidthBar=function(n,r,i){n.style.pointerEvents="auto",r.set(1e3,function e(){var t=n.getBoundingClientRect();("vert"==i?document.elementFromPoint(t.right-1,(t.top+t.bottom)/2):document.elementFromPoint((t.right+t.left)/2,t.bottom-1))!=n?n.style.pointerEvents="none":r.set(1e3,e)})},e.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};r=function(){};function Tr(e,t){t=t||Mr(e);var n=e.display.barWidth,r=e.display.barHeight;Ar(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&mr(e),Ar(e,Mr(e)),n=e.display.barWidth,r=e.display.barHeight}function Ar(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}r.prototype.update=function(){return{bottom:0,right:0}},r.prototype.setScrollLeft=function(){},r.prototype.setScrollTop=function(){},r.prototype.clear=function(){};var Or={native:e,null:r};function Nr(n){n.display.scrollbars&&(n.display.scrollbars.clear(),n.display.scrollbars.addClass&&C(n.display.wrapper,n.display.scrollbars.addClass)),n.display.scrollbars=new Or[n.options.scrollbarStyle](function(e){n.display.wrapper.insertBefore(e,n.display.scrollbarFiller),ge(e,"mousedown",function(){n.state.focused&&setTimeout(function(){return n.display.input.focus()},0)}),e.setAttribute("cm-not-content","true")},function(e,t){("horizontal"==t?Lr:Sr)(n,e)},n),n.display.scrollbars.addClass&&O(n.display.wrapper,n.display.scrollbars.addClass)}var Er=0;function Ir(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Er,markArrays:null},e=e.curOp,en?en.ops.push(e):e.ownsGroup=en={ops:[e],delayedCallbacks:[]}}function Pr(e){e=e.curOp;e&&tn(e,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)!function(e){var t=e.cm,n=t.display;(function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=yn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=yn(e)+"px",t.scrollbarsClipped=!0)})(t),e.updateMaxLine&&jt(t);e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new qr(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}(t[n]);for(var r=0;r<t.length;r++)!function(e){e.updatedDisplay=e.mustUpdate&&Hr(e.cm,e.update)}(t[r]);for(var i=0;i<t.length;i++)!function(e){var t=e.cm,n=t.display;e.updatedDisplay&&mr(t);e.barMeasure=Mr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=wn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+yn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-bn(t)));(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}(t[i]);for(var o=0;o<t.length;o++)!function(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Lr(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==A();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n);!e.updatedDisplay&&e.startHeight==t.doc.height||Tr(t,e.barMeasure);e.updatedDisplay&&Vr(t,e.barMeasure);e.selectionChanged&&ur(t);t.state.focused&&e.updateInput&&t.display.input.reset(e.typing);n&&dr(e.cm)}(t[o]);for(var a=0;a<t.length;a++)!function(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&jr(t,e.update);null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null);null!=e.scrollTop&&_r(t,e.scrollTop,e.forceScroll);null!=e.scrollLeft&&Lr(t,e.scrollLeft,!0,!0);{var i;e.scrollToPos&&(i=function(e,t,n,r){null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?tt(t.line,t.ch+1,"before"):t,t=t.ch?tt(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var i=0;i<5;i++){var o,a=!1,s=Fn(e,t),l=n&&n!=t?Fn(e,n):s,c=yr(e,o={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),s=e.doc.scrollTop,l=e.doc.scrollLeft;if(null!=c.scrollTop&&(Sr(e,c.scrollTop),1<Math.abs(e.doc.scrollTop-s)&&(a=!0)),null!=c.scrollLeft&&(Lr(e,c.scrollLeft),1<Math.abs(e.doc.scrollLeft-l)&&(a=!0)),!a)break}return o}(t,lt(r,e.scrollToPos.from),lt(r,e.scrollToPos.to),e.scrollToPos.margin),function(e,t){var n,r,i;ke(e,"scrollCursorIntoView")||(r=(n=e.display).sizer.getBoundingClientRect(),i=null,t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null==i||c||(t=M("div","",null,"position: absolute;\n top: "+(t.top-n.viewOffset-mn(e.display))+"px;\n height: "+(t.bottom-t.top+yn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;"),e.display.lineSpace.appendChild(t),t.scrollIntoView(i),e.display.lineSpace.removeChild(t)))}(t,i))}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||be(o[s],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&be(a[l],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop);e.changeObjs&&be(t,"changes",t,e.changeObjs);e.update&&e.update.finish()}(t[a])}(e)})}function Rr(e,t){if(e.curOp)return t();Ir(e);try{return t()}finally{Pr(e)}}function Br(e,t){return function(){if(e.curOp)return t.apply(e,arguments);Ir(e);try{return t.apply(e,arguments)}finally{Pr(e)}}}function Dr(e){return function(){if(this.curOp)return e.apply(this,arguments);Ir(this);try{return e.apply(this,arguments)}finally{Pr(this)}}}function Fr(t){return function(){var e=this.cm;if(!e||e.curOp)return t.apply(this,arguments);Ir(e);try{return t.apply(this,arguments)}finally{Pr(e)}}}function zr(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,P(Wr,e))}function Wr(a){var s,l,c,u=a.doc;u.highlightFrontier>=a.display.viewTo||(s=+new Date+a.options.workTime,l=pt(a,u.highlightFrontier),c=[],u.iter(l.line,Math.min(u.first+u.size,a.display.viewTo+500),function(e){if(l.line>=a.display.viewFrom){var t=e.styles,n=e.text.length>a.options.maxHighlightLength?je(u.mode,l.state):null,r=ft(a,e,l,!0);n&&(l.state=n),e.styles=r.styles;n=e.styleClasses,r=r.classes;r?e.styleClasses=r:n&&(e.styleClasses=null);for(var i=!t||t.length!=e.styles.length||n!=r&&(!n||!r||n.bgClass!=r.bgClass||n.textClass!=r.textClass),o=0;!i&&o<t.length;++o)i=t[o]!=e.styles[o];i&&c.push(l.line),e.stateAfter=l.save(),l.nextLine()}else e.text.length<=a.options.maxHighlightLength&&mt(a,e.text,l),e.stateAfter=l.line%5==0?l.save():null,l.nextLine();if(+new Date>s)return zr(a,a.options.workDelay),!0}),u.highlightFrontier=l.line,u.modeFrontier=Math.max(u.modeFrontier,l.line),c.length&&Rr(a,function(){for(var e=0;e<c.length;e++)nr(a,c[e],"text")}))}var qr=function(e,t,n){var r=e.display;this.viewport=t,this.visible=vr(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=bn(e),this.force=n,this.dims=Xn(e),this.events=[]};function Hr(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return rr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==or(e))return!1;Gr(e)&&(rr(e),t.dims=Xn(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Ct&&(o=Ft(e.doc,o),a=zt(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;r=o,i=a,0==(a=(o=e).display).view.length||r>=a.viewTo||i<=a.viewFrom?(a.view=Zt(o,r,i),a.viewFrom=r):(a.viewFrom>r?a.view=Zt(o,r,a.viewFrom).concat(a.view):a.viewFrom<r&&(a.view=a.view.slice(er(o,r))),a.viewFrom=r,a.viewTo<i?a.view=a.view.concat(Zt(o,a.viewTo,i)):a.viewTo>i&&(a.view=a.view.slice(0,er(o,i)))),a.viewTo=i,n.viewOffset=qt($e(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";o=or(e);if(!s&&0==o&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;a=function(e){if(e.hasFocus())return null;var t=A();if(!t||!T(e.display.lineDiv,t))return null;var n={activeElt:t};return!window.getSelection||(t=window.getSelection()).anchorNode&&t.extend&&T(e.display.lineDiv,t.anchorNode)&&(n.anchorNode=t.anchorNode,n.anchorOffset=t.anchorOffset,n.focusNode=t.focusNode,n.focusOffset=t.focusOffset),n}(e);return 4<o&&(n.lineDiv.style.display="none"),function(n,e,t){var r=n.display,i=n.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(e){var t=e.nextSibling;return h&&m&&n.display.currentWheelTarget==e?e.style.display="none":e.parentNode.removeChild(e),t}for(var l=r.view,c=r.viewFrom,u=0;u<l.length;u++){var d=l[u];if(!d.hidden)if(d.node&&d.node.parentNode==o){for(;a!=d.node;)a=s(a);var f=i&&null!=e&&e<=c&&d.lineNumber;d.changes&&(-1<F(d.changes,"gutter")&&(f=!1),an(n,d,c,t)),f&&(S(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(et(n.options,c)))),a=d.node.nextSibling}else{f=function(e,t,n,r){var i=ln(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),cn(e,t),un(e,t,n,r),dn(e,t,r),t.node}(n,d,c,t);o.insertBefore(f,a)}c+=d.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),4<o&&(n.lineDiv.style.display=""),n.renderedView=n.view,(i=a)&&i.activeElt&&i.activeElt!=A()&&(i.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(i.activeElt.nodeName)&&i.anchorNode&&T(document.body,i.anchorNode)&&T(document.body,i.focusNode)&&(o=window.getSelection(),(a=document.createRange()).setEnd(i.anchorNode,i.anchorOffset),a.collapse(!1),o.removeAllRanges(),o.addRange(a),o.extend(i.focusNode,i.focusOffset))),S(n.cursorDiv),S(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,zr(e,400)),!(n.updateLineNumbers=null)}function jr(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=bn(e))r&&(t.visible=vr(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+gn(e.display)-kn(e),n.top)}),t.visible=vr(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Hr(e,t))break;mr(e);var i=Mr(e);ar(e),Tr(e,i),Vr(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Kr(e,t){var n=new qr(e,t);Hr(e,n)&&(mr(e),jr(e,n),t=Mr(e),ar(e),Tr(e,t),Vr(e,t),n.finish())}function Ur(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",rn(e,"gutterChanged",e)}function Vr(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+yn(e)+"px"}function $r(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Yn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function Gr(e){if(e.options.lineNumbers){var t=e.doc,n=et(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(M("div",[M("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),t=i.firstChild.offsetWidth,i=i.offsetWidth-t;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(t,r.lineGutter.offsetWidth-i)+1,r.lineNumWidth=r.lineNumInnerWidth+i,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Ur(e.display),1}}}function Xr(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function Yr(e){var t=e.gutters,n=e.gutterSpecs;S(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,i=t.appendChild(M("div",null,"CodeMirror-gutter "+o));a&&(i.style.cssText=a),"CodeMirror-linenumbers"==o&&((e.lineGutter=i).style.width=(e.lineNumWidth||1)+"px")}t.style.display=n.length?"":"none",Ur(e)}function Qr(e){Yr(e.display),tr(e),$r(e)}function Jr(e,t,n,r){var i=this;this.input=n,i.scrollbarFiller=M("div",null,"CodeMirror-scrollbar-filler"),i.scrollbarFiller.setAttribute("cm-not-content","true"),i.gutterFiller=M("div",null,"CodeMirror-gutter-filler"),i.gutterFiller.setAttribute("cm-not-content","true"),i.lineDiv=L("div",null,"CodeMirror-code"),i.selectionDiv=M("div",null,null,"position: relative; z-index: 1"),i.cursorDiv=M("div",null,"CodeMirror-cursors"),i.measure=M("div",null,"CodeMirror-measure"),i.lineMeasure=M("div",null,"CodeMirror-measure"),i.lineSpace=L("div",[i.measure,i.lineMeasure,i.selectionDiv,i.cursorDiv,i.lineDiv],null,"position: relative; outline: none");var o=L("div",[i.lineSpace],"CodeMirror-lines");i.mover=M("div",[o],null,"position: relative"),i.sizer=M("div",[i.mover],"CodeMirror-sizer"),i.sizerWidth=null,i.heightForcer=M("div",null,null,"position: absolute; height: "+z+"px; width: 1px;"),i.gutters=M("div",null,"CodeMirror-gutters"),i.lineGutter=null,i.scroller=M("div",[i.sizer,i.heightForcer,i.gutters],"CodeMirror-scroll"),i.scroller.setAttribute("tabIndex","-1"),i.wrapper=M("div",[i.scrollbarFiller,i.gutterFiller,i.scroller],"CodeMirror"),i.wrapper.setAttribute("translate","no"),k&&v<8&&(i.gutters.style.zIndex=-1,i.scroller.style.paddingRight=0),h||f&&d||(i.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(i.wrapper):e(i.wrapper)),i.viewFrom=i.viewTo=t.first,i.reportedViewFrom=i.reportedViewTo=t.first,i.view=[],i.renderedView=null,i.externalMeasured=null,i.viewOffset=0,i.lastWrapHeight=i.lastWrapWidth=0,i.updateLineNumbers=null,i.nativeBarWidth=i.barHeight=i.barWidth=0,i.scrollbarsClipped=!1,i.lineNumWidth=i.lineNumInnerWidth=i.lineNumChars=null,i.alignWidgets=!1,i.cachedCharWidth=i.cachedTextHeight=i.cachedPaddingH=null,i.maxLine=null,i.maxLineLength=0,i.maxLineChanged=!1,i.wheelDX=i.wheelDY=i.wheelStartX=i.wheelStartY=null,i.shift=!1,i.selForContextMenu=null,i.activeTouch=null,i.gutterSpecs=Xr(r.gutters,r.lineNumbers),Yr(i),n.init(i)}qr.prototype.signal=function(e,t){we(e,t)&&this.events.push(arguments)},qr.prototype.finish=function(){for(var e=0;e<this.events.length;e++)be.apply(null,this.events[e])};var Zr=0,ei=null;function ti(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function ni(e){e=ti(e);return e.x*=ei,e.y*=ei,e}function ri(e,t){var n=ti(t),r=n.x,i=n.y,o=e.display,a=o.scroller,s=a.scrollWidth>a.clientWidth,l=a.scrollHeight>a.clientHeight;if(r&&s||i&&l){if(i&&m&&h)e:for(var c=t.target,u=o.view;c!=a;c=c.parentNode)for(var d=0;d<u.length;d++)if(u[d].node==c){e.display.currentWheelTarget=c;break e}if(r&&!f&&!p&&null!=ei)return i&&l&&Sr(e,Math.max(0,a.scrollTop+i*ei)),Lr(e,Math.max(0,a.scrollLeft+r*ei)),i&&!l||Se(t),void(o.wheelStartX=null);i&&null!=ei&&(n=i*ei,l=(s=e.doc.scrollTop)+o.wrapper.clientHeight,n<0?s=Math.max(0,s+n-50):l=Math.min(e.doc.height,l+n+50),Kr(e,{top:s,bottom:l})),Zr<20&&(null==o.wheelStartX?(o.wheelStartX=a.scrollLeft,o.wheelStartY=a.scrollTop,o.wheelDX=r,o.wheelDY=i,setTimeout(function(){var e,t;null!=o.wheelStartX&&(t=a.scrollLeft-o.wheelStartX,t=(e=a.scrollTop-o.wheelStartY)&&o.wheelDY&&e/o.wheelDY||t&&o.wheelDX&&t/o.wheelDX,o.wheelStartX=o.wheelStartY=null,t&&(ei=(ei*Zr+t)/(Zr+1),++Zr))},200)):(o.wheelDX+=r,o.wheelDY+=i))}}k?ei=-.53:f?ei=15:o?ei=-.7:u&&(ei=-1/3);var ii=function(e,t){this.ranges=e,this.primIndex=t};ii.prototype.primary=function(){return this.ranges[this.primIndex]},ii.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!rt(n.anchor,r.anchor)||!rt(n.head,r.head))return!1}return!0},ii.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new oi(it(this.ranges[t].anchor),it(this.ranges[t].head));return new ii(e,this.primIndex)},ii.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},ii.prototype.contains=function(e,t){t=t||e;for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(0<=nt(t,r.from())&&nt(e,r.to())<=0)return n}return-1};var oi=function(e,t){this.anchor=e,this.head=t};function ai(e,t,n){var r=e&&e.options.selectionsMayTouch,e=t[n];t.sort(function(e,t){return nt(e.from(),t.from())}),n=F(t,e);for(var i=1;i<t.length;i++){var o,a=t[i],s=t[i-1],l=nt(s.to(),a.from());(r&&!a.empty()?0<l:0<=l)&&(o=at(s.from(),a.from()),l=ot(s.to(),a.to()),s=s.empty()?a.from()==a.head:s.from()==s.head,i<=n&&--n,t.splice(--i,2,new oi(s?l:o,s?o:l)))}return new ii(t,n)}function si(e,t){return new ii([new oi(e,t||e)],0)}function li(e){return e.text?tt(e.from.line+e.text.length-1,$(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function ci(e,t){if(nt(e,t.from)<0)return e;if(nt(e,t.to)<=0)return li(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=li(t).ch-t.to.ch),tt(n,r)}function ui(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new oi(ci(i.anchor,t),ci(i.head,t)))}return ai(e.cm,n,e.sel.primIndex)}function di(e,t,n){return e.line==t.line?tt(n.line,e.ch-t.ch+n.ch):tt(n.line+(e.line-t.line),e.ch)}function fi(e){e.doc.mode=We(e.options,e.doc.modeOption),hi(e)}function hi(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,zr(e,100),e.state.modeGen++,e.curOp&&tr(e)}function pi(e,t){return 0==t.from.ch&&0==t.to.ch&&""==$(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function mi(e,o,t,a){function i(e){return t?t[e]:null}function n(e,t,n){var r,i;r=n,i=a,(n=e).text=t,n.stateAfter&&(n.stateAfter=null),n.styles&&(n.styles=null),null!=n.order&&(n.order=null),Tt(n),At(n,r),(i=i?i(n):1)!=n.height&&Ye(n,i),rn(e,"change",e,o)}function r(e,t){for(var n=[],r=e;r<t;++r)n.push(new Kt(u[r],i(r),a));return n}var s,l=o.from,c=o.to,u=o.text,d=$e(e,l.line),f=$e(e,c.line),h=$(u),p=i(u.length-1),m=c.line-l.line;o.full?(e.insert(0,r(0,u.length)),e.remove(u.length,e.size-u.length)):pi(e,o)?(s=r(0,u.length-1),n(f,f.text,p),m&&e.remove(l.line,m),s.length&&e.insert(l.line,s)):d==f?1==u.length?n(d,d.text.slice(0,l.ch)+h+d.text.slice(c.ch),p):((s=r(1,u.length-1)).push(new Kt(h+d.text.slice(c.ch),p,a)),n(d,d.text.slice(0,l.ch)+u[0],i(0)),e.insert(l.line+1,s)):1==u.length?(n(d,d.text.slice(0,l.ch)+u[0]+f.text.slice(c.ch),i(0)),e.remove(l.line+1,m)):(n(d,d.text.slice(0,l.ch)+u[0],i(0)),n(f,h+f.text.slice(c.ch),p),p=r(1,u.length-1),1<m&&e.remove(l.line+1,m-1),e.insert(l.line+1,p)),rn(e,"change",e,o)}function gi(e,s,l){!function e(t,n,r){if(t.linked)for(var i=0;i<t.linked.length;++i){var o,a=t.linked[i];a.doc!=n&&(o=r&&a.sharedHist,l&&!o||(s(a.doc,o),e(a.doc,t,o)))}}(e,null,!0)}function vi(e,t){if(t.cm)throw new Error("This document is already in use.");Jn((e.doc=t).cm=e),fi(e),yi(e),e.options.direction=t.direction,e.options.lineWrapping||jt(e),e.options.mode=t.modeOption,tr(e)}function yi(e){("rtl"==e.doc.direction?O:C)(e.display.lineDiv,"CodeMirror-rtl")}function bi(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function ki(e,t){var n={from:it(t.from),to:li(t),text:Ge(e,t.from,t.to)};return _i(e,n,t.from.line,t.to.line+1),gi(e,function(e){return _i(e,n,t.from.line,t.to.line+1),0},!0),n}function xi(e){for(;e.length;){if(!$(e).ranges)break;e.pop()}}function wi(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=(l=i).lastOp==r?(xi(l.done),$(l.done)):l.done.length&&!$(l.done).ranges?$(l.done):1<l.done.length&&!l.done[l.done.length-2].ranges?(l.done.pop(),$(l.done)):void 0))a=$(o.changes),0==nt(t.from,t.to)&&0==nt(t.from,a.to)?a.to=li(t):o.changes.push(ki(e,t));else{var l=$(i.done);for(l&&l.ranges||Si(e.sel,i.done),o={changes:[ki(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||be(e,"historyAdded")}function Ci(e,t,n,r){var i,o,a,s=e.history,l=r&&r.origin;n==s.lastSelOp||l&&s.lastSelOrigin==l&&(s.lastModTime==s.lastSelTime&&s.lastOrigin==l||(i=e,o=l,a=$(s.done),e=t,"*"==(o=o.charAt(0))||"+"==o&&a.ranges.length==e.ranges.length&&a.somethingSelected()==e.somethingSelected()&&new Date-i.history.lastSelTime<=(i.cm?i.cm.options.historyEventDelay:500)))?s.done[s.done.length-1]=t:Si(t,s.done),s.lastSelTime=+new Date,s.lastSelOrigin=l,s.lastSelOp=n,r&&!1!==r.clearRedo&&xi(s.undone)}function Si(e,t){var n=$(t);n&&n.ranges&&n.equals(e)||t.push(e)}function _i(t,n,e,r){var i=n["spans_"+t.id],o=0;t.iter(Math.max(t.first,e),Math.min(t.first+t.size,r),function(e){e.markedSpans&&((i=i||(n["spans_"+t.id]={}))[o]=e.markedSpans),++o})}function Li(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(function(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t=t||e.slice(0,n):t&&t.push(e[n]);return t?t.length?t:null:e}(n[i]));return r}function Mi(e,t){var n=Li(e,t),r=Lt(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function Ti(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?ii.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c,u=a[l];if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var d in u)(c=d.match(/^spans_(\d+)$/))&&-1<F(t,Number(c[1]))&&($(s)[d]=u[d],delete u[d])}}}return r}function Ai(e,t,n,r){if(r){r=e.anchor;return n&&((e=nt(t,r)<0)!=nt(n,r)<0?(r=t,t=n):e!=nt(t,n)<0&&(t=n)),new oi(r,t)}return new oi(n||t,t)}function Oi(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),Ri(e,new ii([Ai(e.sel.primary(),t,n,i)],0),r)}function Ni(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Ai(e.sel.ranges[o],t[o],null,i);Ri(e,ai(e.cm,r,e.sel.primIndex),n)}function Ei(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,Ri(e,ai(e.cm,i,e.sel.primIndex),r)}function Ii(e,t,n,r){Ri(e,si(t,n),r)}function Pi(e,t,n){var r=e.history.done,i=$(r);i&&i.ranges?Bi(e,r[r.length-1]=t,n):Ri(e,t,n)}function Ri(e,t,n){Bi(e,t,n),Ci(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Bi(e,t,n){var r,i;(we(e,"beforeSelectionChange")||e.cm&&we(e.cm,"beforeSelectionChange"))&&(r=e,i=n,i={ranges:(o=t).ranges,update:function(e){this.ranges=[];for(var t=0;t<e.length;t++)this.ranges[t]=new oi(lt(r,e[t].anchor),lt(r,e[t].head))},origin:i&&i.origin},be(r,"beforeSelectionChange",r,i),r.cm&&be(r.cm,"beforeSelectionChange",r.cm,i),t=i.ranges!=o.ranges?ai(r.cm,i.ranges,i.ranges.length-1):o);var o=n&&n.bias||(nt(t.primary().head,e.sel.primary().head)<0?-1:1);Di(e,zi(e,t,o,!0)),n&&!1===n.scroll||!e.cm||"nocursor"==e.cm.getOption("readOnly")||kr(e.cm)}function Di(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,xe(e.cm)),rn(e,"cursorActivity",e))}function Fi(e){Di(e,zi(e,e.sel,null,!1))}function zi(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=qi(e,a.anchor,s&&s.anchor,n,r),s=qi(e,a.head,s&&s.head,n,r);!i&&l==a.anchor&&s==a.head||((i=i||t.ranges.slice(0,o))[o]=new oi(l,s))}return i?ai(e.cm,i,t.primIndex):t}function Wi(e,t,n,r,i){var o=$e(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(be(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(l.atomic){if(n){var d=l.find(r<0?1:-1),s=void 0;if((d=(r<0?u:c)?Hi(e,d,-r,d&&d.line==t.line?o:null):d)&&d.line==t.line&&(s=nt(d,n))&&(r<0?s<0:0<s))return Wi(e,d,t,r,i)}l=l.find(r<0?-1:1);return(l=(r<0?c:u)?Hi(e,l,r,l.line==t.line?o:null):l)?Wi(e,l,t,r,i):null}}}return t}function qi(e,t,n,r,i){r=r||1,r=Wi(e,t,n,r,i)||!i&&Wi(e,t,n,r,!0)||Wi(e,t,n,-r,i)||!i&&Wi(e,t,n,-r,!0);return r||(e.cantEdit=!0,tt(e.first,0))}function Hi(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?lt(e,tt(t.line-1)):null:0<n&&t.ch==(r||$e(e,t.line)).text.length?t.line<e.first+e.size-1?tt(t.line+1,0):null:new tt(t.line,t.ch+n)}function ji(e){e.setSelection(tt(e.firstLine(),0),tt(e.lastLine()),q)}function Ki(i,e,t){var o={canceled:!1,from:e.from,to:e.to,text:e.text,origin:e.origin,cancel:function(){return o.canceled=!0}};return t&&(o.update=function(e,t,n,r){e&&(o.from=lt(i,e)),t&&(o.to=lt(i,t)),n&&(o.text=n),void 0!==r&&(o.origin=r)}),be(i,"beforeChange",i,o),i.cm&&be(i.cm,"beforeChange",i.cm,o),o.canceled?(i.cm&&(i.cm.curOp.updateInput=2),null):{from:o.from,to:o.to,text:o.text,origin:o.origin}}function Ui(e,t,n){if(e.cm){if(!e.cm.curOp)return Br(e.cm,Ui)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(we(e,"beforeChange")||e.cm&&we(e.cm,"beforeChange"))||(t=Ki(e,t,!0))){var r=wt&&!n&&function(e,t,n){var r=null;if(e.iter(t.line,n.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=F(r,n)||(r=r||[]).push(n)}}),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c,u,d,f=i[l];nt(f.to,s.from)<0||0<nt(f.from,s.to)||(c=[l,1],u=nt(f.from,s.from),d=nt(f.to,s.to),(u<0||!a.inclusiveLeft&&!u)&&c.push({from:f.from,to:s.from}),(0<d||!a.inclusiveRight&&!d)&&c.push({from:s.to,to:f.to}),i.splice.apply(i,c),l+=c.length-3)}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;0<=i;--i)Vi(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else Vi(e,t)}}function Vi(e,n){var t,r;1==n.text.length&&""==n.text[0]&&0==nt(n.from,n.to)||(t=ui(e,n),wi(e,n,t,e.cm?e.cm.curOp.id:NaN),Xi(e,n,t,Lt(e,n)),r=[],gi(e,function(e,t){t||-1!=F(r,e.history)||(Zi(e.history,n),r.push(e.history)),Xi(e,n,null,Lt(e,n))}))}function $i(i,o,e){var t=i.cm&&i.cm.state.suppressEdits;if(!t||e){for(var a,n=i.history,r=i.sel,s="undo"==o?n.done:n.undone,l="undo"==o?n.undone:n.done,c=0;c<s.length&&(a=s[c],e?!a.ranges||a.equals(i.sel):a.ranges);c++);if(c!=s.length){for(n.lastOrigin=n.lastSelOrigin=null;;){if(!(a=s.pop()).ranges){if(t)return void s.push(a);break}if(Si(a,l),e&&!a.equals(i.sel))return void Ri(i,a,{clearRedo:!1});r=a}var u=[];Si(r,l),l.push({changes:u,generation:n.generation}),n.generation=a.generation||++n.maxGeneration;for(var d=we(i,"beforeChange")||i.cm&&we(i.cm,"beforeChange"),f=a.changes.length-1;0<=f;--f){var h=function(e){var n=a.changes[e];if(n.origin=o,d&&!Ki(i,n,!1))return s.length=0,{};u.push(ki(i,n));var t=e?ui(i,n):$(s);Xi(i,n,t,Mi(i,n)),!e&&i.cm&&i.cm.scrollIntoView({from:n.from,to:li(n)});var r=[];gi(i,function(e,t){t||-1!=F(r,e.history)||(Zi(e.history,n),r.push(e.history)),Xi(e,n,null,Mi(e,n))})}(f);if(h)return h.v}}}}function Gi(e,t){if(0!=t&&(e.first+=t,e.sel=new ii(G(e.sel.ranges,function(e){return new oi(tt(e.anchor.line+t,e.anchor.ch),tt(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){tr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)nr(e.cm,r,"gutter")}}function Xi(e,t,n,r){if(e.cm&&!e.cm.curOp)return Br(e.cm,Xi)(e,t,n,r);var i;t.to.line<e.first?Gi(e,t.text.length-1-(t.to.line-t.from.line)):t.from.line>e.lastLine()||(t.from.line<e.first&&(Gi(e,i=t.text.length-1-(e.first-t.from.line)),t={from:tt(e.first,0),to:tt(t.to.line+i,t.to.ch),text:[$(t.text)],origin:t.origin}),i=e.lastLine(),(t=t.to.line>i?{from:t.from,to:tt(i,$e(e,i).text.length),text:[t.text[0]],origin:t.origin}:t).removed=Ge(e,t.from,t.to),n=n||ui(e,t),e.cm?function(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=Qe(Dt($e(r,o.line))),r.iter(l,a.line+1,function(e){if(e==i.maxLine)return s=!0}));-1<r.sel.contains(t.from,t.to)&&xe(e);mi(r,t,n,Qn(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,function(e){var t=Ht(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0));(function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;n<r;r--){var i=$e(e,r).stateAfter;if(i&&(!(i instanceof ut)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}})(r,o.line),zr(e,400);l=t.text.length-(a.line-o.line)-1;t.full?tr(e):o.line!=a.line||1!=t.text.length||pi(e.doc,t)?tr(e,o.line,a.line+1,l):nr(e,o.line,"text");r=we(e,"changes"),l=we(e,"change");(l||r)&&(t={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin},l&&rn(e,"change",e,t),r&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(t));e.display.selForContextMenu=null}(e.cm,t,r):mi(e,t,r),Bi(e,n,q),e.cantEdit&&qi(e,tt(e.firstLine(),0))&&(e.cantEdit=!1))}function Yi(e,t,n,r,i){var o;nt(r=r||n,n)<0&&(n=(o=[r,n])[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Ui(e,{from:n,to:r,text:t,origin:i})}function Qi(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function Ji(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)Qi(o.ranges[s].anchor,t,n,r),Qi(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=tt(c.from.line+r,c.from.ch),c.to=tt(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function Zi(e,t){var n=t.from.line,r=t.to.line,t=t.text.length-(r-n)-1;Ji(e.done,n,r,t),Ji(e.undone,n,r,t)}function eo(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=$e(e,st(e,t)):i=Qe(t),null==i?null:(r(o,i)&&e.cm&&nr(e.cm,i,n),o)}function to(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function no(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}oi.prototype.from=function(){return at(this.anchor,this.head)},oi.prototype.to=function(){return ot(this.anchor,this.head)},oi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},to.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n,r=e,i=e+t;r<i;++r){var o=this.lines[r];this.height-=o.height,(n=o).parent=null,Tt(n),rn(o,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},no.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n,r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e),s=i.height;if(i.removeInner(e,a),this.height-=s-i.height,o==a&&(this.children.splice(r--,1),i.parent=null),0==(t-=a))break;e=0}else e-=o}this.size-t<25&&(1<this.children.length||!(this.children[0]instanceof to))&&(this.collapse(n=[]),this.children=[new to(n)],this.children[0].parent=this)},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&50<i.lines.length){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new to(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t,n=new no(e.children.splice(e.children.length-5,5))}while(e.parent?(e.size-=n.size,e.height-=n.height,t=F(e.parent.children,e),e.parent.children.splice(t+1,0,n)):(((t=new no(e.children)).parent=e).children=[t,n],e=t),n.parent=e.parent,10<e.children.length);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};function ro(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t}function io(e,t,n){qt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&br(e,n)}ro.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=Qe(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=hn(this);Ye(n,Math.max(0,n.height-o)),e&&(Rr(e,function(){io(e,n,-o),nr(e,r,"widget")}),rn(e,"lineWidgetCleared",e,this,r))}},ro.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=hn(this)-t;i&&(Wt(this.doc,r)||Ye(r,r.height+i),n&&Rr(n,function(){n.curOp.forceUpdate=!0,io(n,r,i),rn(n,"lineWidgetChanged",n,e,Qe(r))}))},Ce(ro);function oo(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++ao}var ao=0;function so(r,i,o,e,t){if(e&&e.shared)return function(e,n,r,i,o){(i=R(i)).shared=!1;var a=[so(e,n,r,i,o)],s=a[0],l=i.widgetNode;return gi(e,function(e){l&&(i.widgetNode=l.cloneNode(!0)),a.push(so(e,lt(e,n),lt(e,r),i,o));for(var t=0;t<e.linked.length;++t)if(e.linked[t].isParent)return;s=$(a)}),new lo(a,s)}(r,i,o,e,t);if(r.cm&&!r.cm.curOp)return Br(r.cm,so)(r,i,o,e,t);var a=new oo(r,t),t=nt(i,o);if(e&&R(e,a,!1),0<t||0==t&&!1!==a.clearWhenEmpty)return a;if(a.replacedWith&&(a.collapsed=!0,a.widgetNode=L("span",[a.replacedWith],"CodeMirror-widget"),e.handleMouseEvents||a.widgetNode.setAttribute("cm-ignore-events","true"),e.insertLeft&&(a.widgetNode.insertLeft=!0)),a.collapsed){if(Bt(r,i.line,i,o,a)||i.line!=o.line&&Bt(r,o.line,i,o,a))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ct=!0}a.addToHistory&&wi(r,{from:i,to:o,origin:"markText"},r.sel,NaN);var s,l=i.line,c=r.cm;if(r.iter(l,o.line+1,function(e){var t,n;c&&a.collapsed&&!c.options.lineWrapping&&Dt(e)==c.display.maxLine&&(s=!0),a.collapsed&&l!=i.line&&Ye(e,0),t=e,n=new St(a,l==i.line?i.ch:null,l==o.line?o.ch:null),(e=(e=r.cm&&r.cm.curOp)&&window.WeakSet&&(e.markedSpans||(e.markedSpans=new WeakSet)))&&e.has(t.markedSpans)?t.markedSpans.push(n):(t.markedSpans=t.markedSpans?t.markedSpans.concat([n]):[n],e&&e.add(t.markedSpans)),n.marker.attachLine(t),++l}),a.collapsed&&r.iter(i.line,o.line+1,function(e){Wt(r,e)&&Ye(e,0)}),a.clearOnEnter&&ge(a,"beforeCursorEnter",function(){return a.clear()}),a.readOnly&&(wt=!0,(r.history.done.length||r.history.undone.length)&&r.clearHistory()),a.collapsed&&(a.id=++ao,a.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),a.collapsed)tr(c,i.line,o.line+1);else if(a.className||a.startStyle||a.endStyle||a.css||a.attributes||a.title)for(var n=i.line;n<=o.line;n++)nr(c,n,"text");a.atomic&&Fi(c.doc),rn(c,"markerAdded",c,a)}return a}oo.prototype.clear=function(){if(!this.explicitlyCleared){var e,t=this.doc.cm,n=t&&!t.curOp;n&&Ir(t),!we(this,"clear")||(e=this.find())&&rn(this,"clear",e.from,e.to);for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=_t(a.markedSpans,this);t&&!this.collapsed?nr(t,Qe(a),"text"):t&&(null!=s.to&&(i=Qe(a)),null!=s.from&&(r=Qe(a))),a.markedSpans=function(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n=n||[]).push(e[r]);return n}(a.markedSpans,s),null==s.from&&this.collapsed&&!Wt(this.doc,a)&&t&&Ye(a,$n(t.display))}if(t&&this.collapsed&&!t.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Dt(this.lines[l]),u=Ht(c);u>t.display.maxLineLength&&(t.display.maxLine=c,t.display.maxLineLength=u,t.display.maxLineChanged=!0)}null!=r&&t&&this.collapsed&&tr(t,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,t&&Fi(t.doc)),t&&rn(t,"markerCleared",t,this,r,i),n&&Pr(t),this.parent&&this.parent.clear()}},oo.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=_t(o.markedSpans,this);if(null!=a.from&&(n=tt(t?o:Qe(o),a.from),-1==e))return n;if(null!=a.to&&(r=tt(t?o:Qe(o),a.to),1==e))return r}return n&&{from:n,to:r}},oo.prototype.changed=function(){var n=this,r=this.find(-1,!0),i=this,o=this.doc.cm;r&&o&&Rr(o,function(){var e=r.line,t=Qe(r.line),t=Cn(o,t);t&&(An(t),o.curOp.selectionChanged=o.curOp.forceUpdate=!0),o.curOp.updateMaxLine=!0,Wt(i.doc,e)||null==i.height||(t=i.height,i.height=null,(t=hn(i)-t)&&Ye(e,e.height+t)),rn(o,"markerChanged",o,n)})},oo.prototype.attachLine=function(e){var t;!this.lines.length&&this.doc.cm&&((t=this.doc.cm.curOp).maybeHiddenMarkers&&-1!=F(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)),this.lines.push(e)},oo.prototype.detachLine=function(e){this.lines.splice(F(this.lines,e),1),!this.lines.length&&this.doc.cm&&((e=this.doc.cm.curOp).maybeHiddenMarkers||(e.maybeHiddenMarkers=[])).push(this)},Ce(oo);var lo=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function co(e){return e.findMarks(tt(e.first,0),e.clipPos(tt(e.lastLine())),function(e){return e.parent})}function uo(o){for(var e=0;e<o.length;e++)!function(e){var t=o[e],n=[t.primary.doc];gi(t.primary.doc,function(e){return n.push(e)});for(var r=0;r<t.markers.length;r++){var i=t.markers[r];-1==F(n,i.doc)&&(i.parent=null,t.markers.splice(r--,1))}}(e)}lo.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();rn(this,"clear")}},lo.prototype.find=function(e,t){return this.primary.find(e,t)},Ce(lo);function fo(e,t,n,r,i){if(!(this instanceof fo))return new fo(e,t,n,r,i);null==n&&(n=0),no.call(this,[new to([new Kt("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,n=tt(this.modeFrontier=this.highlightFrontier=n,0),this.sel=si(n),this.history=new bi(null),this.id=++ho,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),mi(this,{from:n,to:n,text:e}),Ri(this,si(n),q)}var ho=0;(fo.prototype=Y(no.prototype,{constructor:fo,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Xe(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Fr(function(e){var t=tt(this.first,0),n=this.first+this.size-1;Ui(this,{from:t,to:tt(n,$e(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&xr(this.cm,0,0),Ri(this,si(t),q)}),replaceRange:function(e,t,n,r){Yi(this,e,t=lt(this,t),n=n?lt(this,n):t,r)},getRange:function(e,t,n){t=Ge(this,lt(this,e),lt(this,t));return!1===n?t:""===n?t.join(""):t.join(n||this.lineSeparator())},getLine:function(e){e=this.getLineHandle(e);return e&&e.text},getLineHandle:function(e){if(Ze(this,e))return $e(this,e)},getLineNumber:Qe,getLineHandleVisualStart:function(e){return Dt(e="number"==typeof e?$e(this,e):e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return lt(this,e)},getCursor:function(e){var t=this.sel.primary(),t=null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from();return t},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Fr(function(e,t,n){Ii(this,lt(this,"number"==typeof e?tt(e,t||0):e),null,n)}),setSelection:Fr(function(e,t,n){Ii(this,lt(this,e),lt(this,t||e),n)}),extendSelection:Fr(function(e,t,n){Oi(this,lt(this,e),t&<(this,t),n)}),extendSelections:Fr(function(e,t){Ni(this,ct(this,e),t)}),extendSelectionsBy:Fr(function(e,t){Ni(this,ct(this,G(this.sel.ranges,e)),t)}),setSelections:Fr(function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new oi(lt(this,e[i].anchor),lt(this,e[i].head||e[i].anchor));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Ri(this,ai(this.cm,r,t),n)}}),addSelection:Fr(function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new oi(lt(this,e),lt(this,t||e))),Ri(this,ai(this.cm,r,r.length-1),n)}),getSelection:function(e){for(var t=this.sel.ranges,n=0;n<t.length;n++)var r=Ge(this,t[n].from(),t[n].to()),i=i?i.concat(r):r;return!1===e?i:i.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Ge(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:Fr(function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var t=t&&"end"!=t&&function(e,t,n){for(var r=[],i=c=tt(e.first,0),o=0;o<t.length;o++){var a=t[o],s=di(a.from,c,i),l=di(li(a),c,i),c=a.to,i=l;"around"==n?(a=nt((a=e.sel.ranges[o]).head,a.anchor)<0,r[o]=new oi(a?l:s,a?s:l)):r[o]=new oi(s,s)}return new ii(r,e.sel.primIndex)}(this,r,t),s=r.length-1;0<=s;s--)Ui(this,r[s]);t?Pi(this,t):this.cm&&kr(this.cm)}),undo:Fr(function(){$i(this,"undo")}),redo:Fr(function(){$i(this,"redo")}),undoSelection:Fr(function(){$i(this,"undo",!0)}),redoSelection:Fr(function(){$i(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var t=this;this.history=new bi(this.history),gi(this,function(e){return e.history=t.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Ti(this.history.done),undone:Ti(this.history.undone)}},setHistory:function(e){var t=this.history=new bi(this.history);t.done=Ti(e.done.slice(0),null,!0),t.undone=Ti(e.undone.slice(0),null,!0)},setGutterMarker:Fr(function(e,n,r){return eo(this,e,"gutter",function(e){var t=e.gutterMarkers||(e.gutterMarkers={});return!(t[n]=r)&&ee(t)&&(e.gutterMarkers=null),1})}),clearGutter:Fr(function(t){var n=this;this.iter(function(e){e.gutterMarkers&&e.gutterMarkers[t]&&eo(n,e,"gutter",function(){return e.gutterMarkers[t]=null,ee(e.gutterMarkers)&&(e.gutterMarkers=null),1})})}),lineInfo:function(e){var t;if("number"==typeof e){if(!Ze(this,e))return null;if(!(e=$e(this,t=e)))return null}else if(null==(t=Qe(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Fr(function(e,n,r){return eo(this,e,"gutter"==n?"gutter":"class",function(e){var t="text"==n?"textClass":"background"==n?"bgClass":"gutter"==n?"gutterClass":"wrapClass";if(e[t]){if(w(r).test(e[t]))return;e[t]+=" "+r}else e[t]=r;return 1})}),removeLineClass:Fr(function(e,o,a){return eo(this,e,"gutter"==o?"gutter":"class",function(e){var t="text"==o?"textClass":"background"==o?"bgClass":"gutter"==o?"gutterClass":"wrapClass",n=e[t];if(n){if(null==a)e[t]=null;else{var r=n.match(w(a));if(!r)return;var i=r.index+r[0].length;e[t]=n.slice(0,r.index)+(r.index&&i!=n.length?" ":"")+n.slice(i)||null}return 1}})}),addLineWidget:Fr(function(e,t,n){return e=e,i=new ro(r=this,t,n),(o=r.cm)&&i.noHScroll&&(o.display.alignWidgets=!0),eo(r,e,"widget",function(e){var t=e.widgets||(e.widgets=[]);return null==i.insertAt?t.push(i):t.splice(Math.min(t.length,Math.max(0,i.insertAt)),0,i),i.line=e,o&&!Wt(r,e)&&(t=qt(e)<r.scrollTop,Ye(e,e.height+hn(i)),t&&br(o,i.height),o.curOp.forceUpdate=!0),1}),o&&rn(o,"lineWidgetAdded",o,i,"number"==typeof e?e:Qe(e)),i;var r,i,o}),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return so(this,lt(this,e),lt(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){t={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return so(this,e=lt(this,e),e,t,"bookmark")},findMarksAt:function(e){var t=[],n=$e(this,(e=lt(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(i,o,a){i=lt(this,i),o=lt(this,o);var s=[],l=i.line;return this.iter(i.line,o.line+1,function(e){var t=e.markedSpans;if(t)for(var n=0;n<t.length;n++){var r=t[n];null!=r.to&&l==i.line&&i.ch>=r.to||null==r.from&&l!=i.line||null!=r.from&&l==o.line&&r.from>=o.ch||a&&!a(r.marker)||s.push(r.marker.parent||r.marker)}++l}),s},getAllMarks:function(){var r=[];return this.iter(function(e){var t=e.markedSpans;if(t)for(var n=0;n<t.length;++n)null!=t[n].from&&r.push(t[n].marker)}),r},posFromIndex:function(t){var n,r=this.first,i=this.lineSeparator().length;return this.iter(function(e){e=e.text.length+i;if(t<e)return n=t,!0;t-=e,++r}),lt(this,tt(r,n))},indexFromPos:function(e){var t=(e=lt(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+n}),t},copy:function(e){var t=new fo(Xe(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){var t=this.first,n=this.first+this.size;null!=(e=e||{}).from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);t=new fo(Xe(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(t.history=this.history),(this.linked||(this.linked=[])).push({doc:t,sharedHist:e.sharedHist}),t.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),i=e.clipPos(i.to);nt(o,i)&&(i=so(e,o,i,r.primary,r.primary.type),r.markers.push(i),i.parent=r)}}(t,co(this)),t},unlinkDoc:function(e){if(e instanceof ua&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),uo(co(this));break}var n;e.history==this.history&&(n=[e.id],gi(e,function(e){return n.push(e.id)},!0),e.history=new bi(null),e.history.done=Ti(this.history.done,n),e.history.undone=Ti(this.history.undone,n))},iterLinkedDocs:function(e){gi(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ie(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Fr(function(e){var t;(e="rtl"!=e?"ltr":e)!=this.direction&&(this.direction=e,this.iter(function(e){return e.order=null}),this.cm&&Rr(t=this.cm,function(){yi(t),tr(t)}))})})).eachLine=fo.prototype.iter;var po=0;function mo(e){var r=this;if(go(r),!ke(r,e)&&!pn(r.display,e)){Se(e),k&&(po=+new Date);var t=Zn(r,e,!0),n=e.dataTransfer.files;if(t&&!r.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,o=Array(i),a=0,s=function(){++a==i&&Br(r,function(){var e={from:t=lt(r.doc,t),to:t,text:r.doc.splitLines(o.filter(function(e){return null!=e}).join(r.doc.lineSeparator())),origin:"paste"};Ui(r.doc,e),Pi(r.doc,si(lt(r.doc,t),lt(r.doc,li(e))))})()},l=0;l<n.length;l++)!function(e,t){var n;r.options.allowDropFileTypes&&-1==F(r.options.allowDropFileTypes,e.type)?s():((n=new FileReader).onerror=function(){return s()},n.onload=function(){var e=n.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[t]=e),s()},n.readAsText(e))}(n[l],l);else{if(r.state.draggingText&&-1<r.doc.sel.contains(t))return r.state.draggingText(e),void setTimeout(function(){return r.display.input.focus()},20);try{var c,u=e.dataTransfer.getData("Text");if(u){if(r.state.draggingText&&!r.state.draggingText.copy&&(c=r.listSelections()),Bi(r.doc,si(t,t)),c)for(var d=0;d<c.length;++d)Yi(r.doc,"",c[d].anchor,c[d].head,"drag");r.replaceSelection(u,"around","paste"),r.display.input.focus()}}catch(e){}}}}function go(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function vo(t){if(document.getElementsByClassName){for(var e=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<e.length;r++){var i=e[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation(function(){for(var e=0;e<n.length;e++)t(n[e])})}}var yo=!1;function bo(){var e;yo||(ge(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,vo(ko)},100))}),ge(window,"blur",function(){return vo(pr)}),yo=!0)}function ko(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var xo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},wo=0;wo<10;wo++)xo[wo+48]=xo[wo+96]=String(wo);for(var Co=65;Co<=90;Co++)xo[Co]=String.fromCharCode(Co);for(var So=1;So<=12;So++)xo[So+111]=xo[So+63235]="F"+So;var _o={};function Lo(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),e=r?"Shift-"+e:e}function Mo(e){var t,n,r={};for(t in e)if(e.hasOwnProperty(t)){var i=e[t];if(!/^(name|fallthrough|(de|at)tach)$/.test(t))if("..."!=i){for(var o=G(t.split(" "),Lo),a=0;a<o.length;a++){var s=void 0,l=void 0,s=a==o.length-1?(l=o.join(" "),i):(l=o.slice(0,a+1).join(" "),"..."),c=r[l];if(c){if(c!=s)throw new Error("Inconsistent bindings for "+l)}else r[l]=s}delete e[t]}else delete e[t]}for(n in r)e[n]=r[n];return e}function To(e,t,n,r){var i=(t=Eo(t)).call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return To(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=To(e,t.fallthrough[o],n,r);if(a)return a}}}function Ao(e){e="string"==typeof e?e:xo[e.keyCode];return"Ctrl"==e||"Alt"==e||"Shift"==e||"Mod"==e}function Oo(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(b?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(b?t.ctrlKey:t.metaKey)&&"Mod"!=r&&(e="Cmd-"+e),e=!n&&t.shiftKey&&"Shift"!=r?"Shift-"+e:e}function No(e,t){if(p&&34==e.keyCode&&e.char)return!1;var n=xo[e.keyCode];return null!=n&&!e.altGraphKey&&Oo(n=3==e.keyCode&&e.code?e.code:n,e,t)}function Eo(e){return"string"==typeof e?_o[e]:e}function Io(t,e){for(var n=t.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=e(n[i]);r.length&&nt(o.from,$(r).to)<=0;){var a=r.pop();if(nt(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Rr(t,function(){for(var e=r.length-1;0<=e;e--)Yi(t.doc,"",r[e].from,r[e].to,"+delete");kr(t)})}function Po(e,t,n){n=re(e.text,t+n,n);return n<0||n>e.text.length?null:n}function Ro(e,t,n){e=Po(e,t.ch,n);return null==e?null:new tt(t.line,e,n<0?"after":"before")}function Bo(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=pe(n,t.doc.direction);if(o){var a,s,l,e=i<0?$(o):o[0],o=i<0==(1==e.level)?"after":"before";return 0<e.level||"rtl"==t.doc.direction?(a=Sn(t,n),s=i<0?n.text.length-1:0,l=_n(t,a,s).top,s=ie(function(e){return _n(t,a,e).top==l},i<0==(1==e.level)?e.from:e.to-1,s),"before"==o&&(s=Po(n,s,1))):s=i<0?e.to:e.from,new tt(r,s,o)}}return new tt(r,i<0?n.text.length:0,i<0?"before":"after")}function Do(t,n,s,e){var l=pe(n,t.doc.direction);if(!l)return Ro(n,s,e);s.ch>=n.text.length?(s.ch=n.text.length,s.sticky="before"):s.ch<=0&&(s.ch=0,s.sticky="after");var r=ae(l,s.ch,s.sticky),i=l[r];if("ltr"==t.doc.direction&&i.level%2==0&&(0<e?i.to>s.ch:i.from<s.ch))return Ro(n,s,e);function c(e,t){return Po(n,e instanceof tt?e.ch:e,t)}function o(e){return t.options.lineWrapping?(a=a||Sn(t,n),jn(t,n,a,e)):{begin:0,end:n.text.length}}var a,u=o("before"==s.sticky?c(s,-1):s.ch);if("rtl"==t.doc.direction||1==i.level){var d=1==i.level==e<0,f=c(s,d?1:-1);if(null!=f&&(d?f<=i.to&&f<=u.end:f>=i.from&&f>=u.begin))return new tt(s.line,f,d?"before":"after")}d=function(e,t,n){for(var r=function(e,t){return t?new tt(s.line,c(e,1),"before"):new tt(s.line,e,"after")};0<=e&&e<l.length;e+=t){var i=l[e],o=0<t==(1!=i.level),a=o?n.begin:c(n.end,-1);if(i.from<=a&&a<i.to)return r(a,o);if(a=o?i.from:c(i.to,-1),n.begin<=a&&a<n.end)return r(a,o)}},r=d(r+e,e,u);if(r)return r;u=0<e?u.end:c(u.begin,-1);return null==u||0<e&&u==n.text.length||!(r=d(0<e?0:l.length-1,e,o(u)))?null:r}_o.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},_o.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},_o.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},_o.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},_o.default=m?_o.macDefault:_o.pcDefault;var Fo={selectAll:ji,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),q)},killLine:function(n){return Io(n,function(e){if(e.empty()){var t=$e(n.doc,e.head.line).text.length;return e.head.ch==t&&e.head.line<n.lastLine()?{from:e.head,to:tt(e.head.line+1,0)}:{from:e.head,to:tt(e.head.line,t)}}return{from:e.from(),to:e.to()}})},deleteLine:function(t){return Io(t,function(e){return{from:tt(e.from().line,0),to:lt(t.doc,tt(e.to().line+1,0))}})},delLineLeft:function(e){return Io(e,function(e){return{from:tt(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(n){return Io(n,function(e){var t=n.charCoords(e.head,"div").top+5;return{from:n.coordsChar({left:0,top:t},"div"),to:e.from()}})},delWrappedLineRight:function(n){return Io(n,function(e){var t=n.charCoords(e.head,"div").top+5,t=n.coordsChar({left:n.display.lineDiv.offsetWidth+100,top:t},"div");return{from:e.from(),to:t}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(tt(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(tt(e.lastLine()))},goLineStart:function(t){return t.extendSelectionsBy(function(e){return zo(t,e.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(t){return t.extendSelectionsBy(function(e){return Wo(t,e.head)},{origin:"+move",bias:1})},goLineEnd:function(t){return t.extendSelectionsBy(function(e){return function(e,t){var n=$e(e.doc,t),r=function(e){for(var t;t=Rt(e);)e=t.find(1,!0).line;return e}(n);r!=n&&(t=Qe(r));return Bo(!0,e,n,t,-1)}(t,e.head.line)},{origin:"+move",bias:-1})},goLineRight:function(t){return t.extendSelectionsBy(function(e){e=t.cursorCoords(e.head,"div").top+5;return t.coordsChar({left:t.display.lineDiv.offsetWidth+100,top:e},"div")},j)},goLineLeft:function(t){return t.extendSelectionsBy(function(e){e=t.cursorCoords(e.head,"div").top+5;return t.coordsChar({left:0,top:e},"div")},j)},goLineLeftSmart:function(n){return n.extendSelectionsBy(function(e){var t=n.cursorCoords(e.head,"div").top+5,t=n.coordsChar({left:0,top:t},"div");return t.ch<n.getLine(t.line).search(/\S/)?Wo(n,e.head):t},j)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),o=B(e.getLine(o.line),o.ch,r);t.push(V(r-o%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(a){return Rr(a,function(){for(var e,t,n,r=a.listSelections(),i=[],o=0;o<r.length;o++)r[o].empty()&&(e=r[o].head,(t=$e(a.doc,e.line).text)&&(0<(e=e.ch==t.length?new tt(e.line,e.ch-1):e).ch?(e=new tt(e.line,e.ch+1),a.replaceRange(t.charAt(e.ch-1)+t.charAt(e.ch-2),tt(e.line,e.ch-2),e,"+transpose")):e.line>a.doc.first&&((n=$e(a.doc,e.line-1).text)&&(e=new tt(e.line,1),a.replaceRange(t.charAt(0)+a.doc.lineSeparator()+n.charAt(n.length-1),tt(e.line-1,n.length-1),e,"+transpose")))),i.push(new oi(e,e)));a.setSelections(i)})},newlineAndIndent:function(r){return Rr(r,function(){for(var e=(t=r.listSelections()).length-1;0<=e;e--)r.replaceRange(r.doc.lineSeparator(),t[e].anchor,t[e].head,"+input");for(var t=r.listSelections(),n=0;n<t.length;n++)r.indentLine(t[n].from().line,null,!0);kr(r)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function zo(e,t){var n=$e(e.doc,t),r=Dt(n);return Bo(!0,e,r,t=r!=n?Qe(r):t,1)}function Wo(e,t){var n=zo(e,t.line),r=$e(e.doc,n.line),e=pe(r,e.doc.direction);if(e&&0!=e[0].level)return n;r=Math.max(n.ch,r.text.search(/\S/)),t=t.line==n.line&&t.ch<=r&&t.ch;return tt(n.line,t?0:r,n.sticky)}function qo(e,t,n){if("string"==typeof t&&!(t=Fo[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=W}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}var Ho=new D;function jo(e,t,n,r){var i=e.state.keySeq;if(i){if(Ao(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:Ho.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),Ko(e,i+" "+t,n,r))return!0}return Ko(e,t,n,r)}function Ko(e,t,n,r){r=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=To(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&To(t,e.options.extraKeys,n,e)||To(t,e.options.keyMap,n,e)}(e,t,r);return"multi"==r&&(e.state.keySeq=t),"handled"==r&&rn(e,"keyHandled",e,t,n),"handled"!=r&&"multi"!=r||(Se(n),ur(e)),!!r}function Uo(t,e){var n=No(e,!0);return!!n&&(e.shiftKey&&!t.state.keySeq?jo(t,"Shift-"+n,e,function(e){return qo(t,e,!0)})||jo(t,n,e,function(e){if("string"==typeof e?/^go[A-Z]/.test(e):e.motion)return qo(t,e)}):jo(t,n,e,function(e){return qo(t,e)}))}var Vo=null;function $o(e){var t,n,r,i=this;function o(e){18!=e.keyCode&&e.altKey||(C(r,"CodeMirror-crosshair"),ye(document,"keyup",o),ye(document,"mouseover",o))}e.target&&e.target!=i.display.input.getField()||(i.curOp.focus=A(),ke(i,e)||(k&&v<11&&27==e.keyCode&&(e.returnValue=!1),t=e.keyCode,i.display.shift=16==t||e.shiftKey,n=Uo(i,e),p&&(Vo=n?t:null,!n&&88==t&&!Re&&(m?e.metaKey:e.ctrlKey)&&i.replaceSelection("",null,"cut")),f&&!m&&!n&&46==t&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=t||/\bCodeMirror-crosshair\b/.test(i.display.lineDiv.className)||(O(r=i.display.lineDiv,"CodeMirror-crosshair"),ge(document,"keyup",o),ge(document,"mouseover",o))))}function Go(e){16==e.keyCode&&(this.doc.sel.shift=!1),ke(this,e)}function Xo(e){var t=this;if(!(e.target&&e.target!=t.display.input.getField()||pn(t.display,e)||ke(t,e)||e.ctrlKey&&!e.altKey||m&&e.metaKey)){var n,r=e.keyCode,i=e.charCode;if(p&&r==Vo)return Vo=null,void Se(e);p&&(!e.which||e.which<10)&&Uo(t,e)||"\b"!=(i=String.fromCharCode(null==i?r:i))&&(jo(n=t,"'"+i+"'",e,function(e){return qo(n,e,!0)})||t.display.input.onKeyPress(e))}}function Yo(e,t,n){this.time=e,this.pos=t,this.button=n}var Qo,Jo;function Zo(e){var t,n,r,i,o,a=this,s=a.display;ke(a,e)||s.activeTouch&&s.input.supportsTouch()||(s.input.ensurePolled(),s.shift=e.shiftKey,pn(s,e)?h||(s.scroller.draggable=!1,setTimeout(function(){return s.scroller.draggable=!0},100)):na(a,e)||(t=Zn(a,e),n=Ae(e),i=t?(r=t,i=n,o=+new Date,Jo&&Jo.compare(o,r,i)?(Qo=Jo=null,"triple"):Qo&&Qo.compare(o,r,i)?(Jo=new Yo(o,r,i),Qo=null,"double"):(Qo=new Yo(o,r,i),Jo=null,"single")):"single",window.focus(),1==n&&a.state.selectingText&&a.state.selectingText(e),t&&function(n,e,r,t,i){var o="Click";"double"==t?o="Double"+o:"triple"==t&&(o="Triple"+o);return jo(n,Oo(o=(1==e?"Left":2==e?"Middle":"Right")+o,i),i,function(e){if(!(e="string"==typeof e?Fo[e]:e))return!1;var t=!1;try{n.isReadOnly()&&(n.state.suppressEdits=!0),t=e(n,r)!=W}finally{n.state.suppressEdits=!1}return t})}(a,n,t,i,e)||(1==n?t?function(e,t,n,r){k?setTimeout(P(dr,e),0):e.curOp.focus=A();var i,o=function(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};null==i.unit&&(r=g?n.shiftKey&&n.metaKey:n.altKey,i.unit=r?"rectangle":"single"==t?"char":"double"==t?"word":"line");null!=i.extend&&!e.doc.extend||(i.extend=e.doc.extend||n.shiftKey);null==i.addNew&&(i.addNew=m?n.metaKey:n.ctrlKey);null==i.moveOnDrag&&(i.moveOnDrag=!(m?n.altKey:n.ctrlKey));return i}(e,n,r),a=e.doc.sel;(e.options.dragDrop&&Ee&&!e.isReadOnly()&&"single"==n&&-1<(i=a.contains(t))&&(nt((i=a.ranges[i]).from(),t)<0||0<t.xRel)&&(0<nt(i.to(),t)||t.xRel<0)?function(t,n,r,i){var o=t.display,a=!1,s=Br(t,function(e){h&&(o.scroller.draggable=!1),t.state.draggingText=!1,t.state.delayingBlurEvent&&(t.hasFocus()?t.state.delayingBlurEvent=!1:fr(t)),ye(o.wrapper.ownerDocument,"mouseup",s),ye(o.wrapper.ownerDocument,"mousemove",l),ye(o.scroller,"dragstart",c),ye(o.scroller,"drop",s),a||(Se(e),i.addNew||Oi(t.doc,r,null,null,i.extend),h&&!u||k&&9==v?setTimeout(function(){o.wrapper.ownerDocument.body.focus({preventScroll:!0}),o.input.focus()},20):o.input.focus())}),l=function(e){a=a||10<=Math.abs(n.clientX-e.clientX)+Math.abs(n.clientY-e.clientY)},c=function(){return a=!0};h&&(o.scroller.draggable=!0);(t.state.draggingText=s).copy=!i.moveOnDrag,ge(o.wrapper.ownerDocument,"mouseup",s),ge(o.wrapper.ownerDocument,"mousemove",l),ge(o.scroller,"dragstart",c),ge(o.scroller,"drop",s),t.state.delayingBlurEvent=!0,setTimeout(function(){return o.input.focus()},20),o.scroller.dragDrop&&o.scroller.dragDrop()}:function(f,e,h,p){k&&fr(f);var a=f.display,m=f.doc;Se(e);var g,v,y=m.sel,t=y.ranges;p.addNew&&!p.extend?(v=m.sel.contains(h),g=-1<v?t[v]:new oi(h,h)):(g=m.sel.primary(),v=m.sel.primIndex);"rectangle"==p.unit?(p.addNew||(g=new oi(h,h)),h=Zn(f,e,!0,!0),v=-1):(e=ea(f,h,p.unit),g=p.extend?Ai(g,e.anchor,e.head,p.extend):e);p.addNew?-1==v?(v=t.length,Ri(m,ai(f,t.concat([g]),v),{scroll:!1,origin:"*mouse"})):1<t.length&&t[v].empty()&&"char"==p.unit&&!p.extend?(Ri(m,ai(f,t.slice(0,v).concat(t.slice(v+1)),0),{scroll:!1,origin:"*mouse"}),y=m.sel):Ei(m,v,g,H):(Ri(m,new ii([g],v=0),H),y=m.sel);var b=h;function s(e){if(0!=nt(b,e))if(b=e,"rectangle"==p.unit){for(var t=[],n=f.options.tabSize,r=B($e(m,h.line).text,h.ch,n),i=B($e(m,e.line).text,e.ch,n),o=Math.min(r,i),a=Math.max(r,i),s=Math.min(h.line,e.line),l=Math.min(f.lastLine(),Math.max(h.line,e.line));s<=l;s++){var c=$e(m,s).text,u=K(c,o,n);o==a?t.push(new oi(tt(s,u),tt(s,u))):c.length>u&&t.push(new oi(tt(s,u),tt(s,K(c,a,n))))}t.length||t.push(new oi(h,h)),Ri(m,ai(f,y.ranges.slice(0,v).concat(t),v),{origin:"*mouse",scroll:!1}),f.scrollIntoView(e)}else{var d,r=g,i=ea(f,e,p.unit),e=r.anchor,e=0<nt(i.anchor,e)?(d=i.head,at(r.from(),i.anchor)):(d=i.anchor,ot(r.to(),i.head)),i=y.ranges.slice(0);i[v]=function(e,t){var n=t.anchor,r=t.head,i=$e(e.doc,n.line);if(0==nt(n,r)&&n.sticky==r.sticky)return t;var o=pe(i);if(!o)return t;var a=ae(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;i=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==i||i==o.length)return t;l=r.line!=n.line?0<(r.line-n.line)*("ltr"==e.doc.direction?1:-1):(e=ae(o,r.ch,r.sticky),l=e-a||(r.ch-n.ch)*(1==s.level?-1:1),e==i-1||e==i?l<0:0<l);var i=o[i+(l?-1:0)],l=l==(1==i.level),i=l?i.from:i.to,l=l?"after":"before";return n.ch==i&&n.sticky==l?t:new oi(new tt(n.line,i,l),r)}(f,new oi(lt(m,e),d)),Ri(m,ai(f,i,v),H)}}var l=a.wrapper.getBoundingClientRect(),c=0;function n(e){f.state.selectingText=!1,c=1/0,e&&(Se(e),a.input.focus()),ye(a.wrapper.ownerDocument,"mousemove",r),ye(a.wrapper.ownerDocument,"mouseup",i),m.history.lastSelOrigin=null}var r=Br(f,function(e){(0!==e.buttons&&Ae(e)?function e(t){var n,r,i=++c,o=Zn(f,t,!0,"rectangle"==p.unit);o&&(0!=nt(o,b)?(f.curOp.focus=A(),s(o),n=vr(a,m),(o.line>=n.to||o.line<n.from)&&setTimeout(Br(f,function(){c==i&&e(t)}),150)):(r=t.clientY<l.top?-20:t.clientY>l.bottom?20:0)&&setTimeout(Br(f,function(){c==i&&(a.scroller.scrollTop+=r,e(t))}),50))}:n)(e)}),i=Br(f,n);f.state.selectingText=i,ge(a.wrapper.ownerDocument,"mousemove",r),ge(a.wrapper.ownerDocument,"mouseup",i)})(e,r,t,o)}(a,t,i,e):Te(e)==s.scroller&&Se(e):2==n?(t&&Oi(a.doc,t),setTimeout(function(){return s.input.focus()},20)):3==n&&(x?a.display.input.onContextMenu(e):fr(a)))))}function ea(e,t,n){if("char"==n)return new oi(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new oi(tt(t.line,0),lt(e.doc,tt(t.line+1,0)));t=n(e,t);return new oi(t.from,t.to)}function ta(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&Se(t);var a=e.display,r=a.lineDiv.getBoundingClientRect();if(o>r.bottom||!we(e,n))return Le(t);o-=r.top-a.viewOffset;for(var s=0;s<e.display.gutterSpecs.length;++s){var l=a.gutters.childNodes[s];if(l&&l.getBoundingClientRect().right>=i)return be(e,n,e,Je(e.doc,o),e.display.gutterSpecs[s].className,t),Le(t)}}function na(e,t){return ta(e,t,"gutterClick",!0)}function ra(e,t){var n,r;pn(e.display,t)||(r=t,we(n=e,"gutterContextMenu")&&ta(n,r,"gutterContextMenu",!1))||ke(e,t,"contextmenu")||x||e.display.input.onContextMenu(t)}function ia(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Nn(e)}Yo.prototype.compare=function(e,t,n){return this.time+400>e&&0==nt(t,this.pos)&&n==this.button};var oa={toString:function(){return"CodeMirror.Init"}},aa={},sa={};function la(e,t,n){!t!=!(n&&n!=oa)&&(n=e.display.dragFunctions,(t=t?ge:ye)(e.display.scroller,"dragstart",n.start),t(e.display.scroller,"dragenter",n.enter),t(e.display.scroller,"dragover",n.over),t(e.display.scroller,"dragleave",n.leave),t(e.display.scroller,"drop",n.drop))}function ca(e){e.options.lineWrapping?(O(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(C(e.display.wrapper,"CodeMirror-wrap"),jt(e)),Jn(e),tr(e),Nn(e),setTimeout(function(){return Tr(e)},100)}function ua(e,t){var n=this;if(!(this instanceof ua))return new ua(e,t);this.options=t=t?R(t):{},R(aa,t,!1);var r=t.value;"string"==typeof r?r=new fo(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i,o=new ua.inputStyles[t.inputStyle](this),o=this.display=new Jr(e,r,o,t);for(i in ia(o.wrapper.CodeMirror=this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Nr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new D,keySeq:null,specialChars:null},t.autofocus&&!d&&o.input.focus(),k&&v<11&&setTimeout(function(){return n.display.input.reset(!0)},20),function(r){var i=r.display;ge(i.scroller,"mousedown",Br(r,Zo)),ge(i.scroller,"dblclick",k&&v<11?Br(r,function(e){var t;ke(r,e)||(!(t=Zn(r,e))||na(r,e)||pn(r.display,e)||(Se(e),t=r.findWordAt(t),Oi(r.doc,t.anchor,t.head)))}):function(e){return ke(r,e)||Se(e)});ge(i.scroller,"contextmenu",function(e){return ra(r,e)}),ge(i.input.getField(),"contextmenu",function(e){i.scroller.contains(e.target)||ra(r,e)});var n,o={end:0};function a(){i.activeTouch&&(n=setTimeout(function(){return i.activeTouch=null},1e3),(o=i.activeTouch).end=+new Date)}function s(e,t){if(null==t.left)return 1;var n=t.left-e.left,e=t.top-e.top;return 400<n*n+e*e}ge(i.scroller,"touchstart",function(e){var t;ke(r,e)||function(e){if(1==e.touches.length){e=e.touches[0];return e.radiusX<=1&&e.radiusY<=1}}(e)||na(r,e)||(i.input.ensurePolled(),clearTimeout(n),t=+new Date,i.activeTouch={start:t,moved:!1,prev:t-o.end<=300?o:null},1==e.touches.length&&(i.activeTouch.left=e.touches[0].pageX,i.activeTouch.top=e.touches[0].pageY))}),ge(i.scroller,"touchmove",function(){i.activeTouch&&(i.activeTouch.moved=!0)}),ge(i.scroller,"touchend",function(e){var t,n=i.activeTouch;n&&!pn(i,e)&&null!=n.left&&!n.moved&&new Date-n.start<300&&(t=r.coordsChar(i.activeTouch,"page"),t=!n.prev||s(n,n.prev)?new oi(t,t):!n.prev.prev||s(n,n.prev.prev)?r.findWordAt(t):new oi(tt(t.line,0),lt(r.doc,tt(t.line+1,0))),r.setSelection(t.anchor,t.head),r.focus(),Se(e)),a()}),ge(i.scroller,"touchcancel",a),ge(i.scroller,"scroll",function(){i.scroller.clientHeight&&(Sr(r,i.scroller.scrollTop),Lr(r,i.scroller.scrollLeft,!0),be(r,"scroll",r))}),ge(i.scroller,"mousewheel",function(e){return ri(r,e)}),ge(i.scroller,"DOMMouseScroll",function(e){return ri(r,e)}),ge(i.wrapper,"scroll",function(){return i.wrapper.scrollTop=i.wrapper.scrollLeft=0}),i.dragFunctions={enter:function(e){ke(r,e)||Me(e)},over:function(e){var t,n;ke(r,e)||((n=Zn(t=r,n=e))&&(lr(t,n,n=document.createDocumentFragment()),t.display.dragCursor||(t.display.dragCursor=M("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),t.display.lineSpace.insertBefore(t.display.dragCursor,t.display.cursorDiv)),_(t.display.dragCursor,n)),Me(e))},start:function(e){var t,n;t=r,n=e,k&&(!t.state.draggingText||+new Date-po<100)?Me(n):ke(t,n)||pn(t.display,n)||(n.dataTransfer.setData("Text",t.getSelection()),n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setDragImage&&!u&&((e=M("img",null,null,"position: fixed; left: 0; top: 0;")).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",p&&(e.width=e.height=1,t.display.wrapper.appendChild(e),e._top=e.offsetTop),n.dataTransfer.setDragImage(e,0,0),p&&e.parentNode.removeChild(e)))},drop:Br(r,mo),leave:function(e){ke(r,e)||go(r)}};var e=i.input.getField();ge(e,"keyup",function(e){return Go.call(r,e)}),ge(e,"keydown",Br(r,$o)),ge(e,"keypress",Br(r,Xo)),ge(e,"focus",function(e){return hr(r,e)}),ge(e,"blur",function(e){return pr(r,e)})}(this),bo(),Ir(this),this.curOp.forceUpdate=!0,vi(this,r),t.autofocus&&!d||this.hasFocus()?setTimeout(function(){n.hasFocus()&&!n.state.focused&&hr(n)},20):pr(this),sa)sa.hasOwnProperty(i)&&sa[i](this,t[i],oa);Gr(this),t.finishInit&&t.finishInit(this);for(var a=0;a<da.length;++a)da[a](this);Pr(this),h&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}ua.defaults=aa,ua.optionHandlers=sa;var da=[];function fa(e,t,n,r){var i,o=e.doc;"smart"==(n=null==n?"add":n)&&(o.mode.indent?i=pt(e,t).state:n="prev");var a=e.options.tabSize,s=$e(o,t),l=B(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((u=o.mode.indent(i,s.text.slice(c.length),s.text))==W||150<u)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=t>o.first?B($e(o,t-1).text,null,a):0:"add"==n?u=l+e.options.indentUnit:"subtract"==n?u=l-e.options.indentUnit:"number"==typeof n&&(u=l+n);var u=Math.max(0,u),d="",f=0;if(e.options.indentWithTabs)for(var h=Math.floor(u/a);h;--h)f+=a,d+="\t";if(f<u&&(d+=V(u-f)),d!=c)return Yi(o,d,tt(t,0),tt(t,c.length),"+input"),!(s.stateAfter=null);for(var p=0;p<o.sel.ranges.length;p++){var m=o.sel.ranges[p];if(m.head.line==t&&m.head.ch<c.length){m=tt(t,c.length);Ei(o,p,new oi(m,m));break}}}ua.defineInitHook=function(e){return da.push(e)};var ha=null;function pa(e){ha=e}function ma(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r=r||o.sel;var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=Ie(t),c=null;if(s&&1<r.ranges.length)if(ha&&ha.text.join("\n")==t){if(r.ranges.length%ha.text.length==0)for(var c=[],u=0;u<ha.text.length;u++)c.push(o.splitLines(ha.text[u]))}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(c=G(l,function(e){return[e]}));for(var d=e.curOp.updateInput,f=r.ranges.length-1;0<=f;f--){var h=r.ranges[f],p=h.from(),m=h.to();h.empty()&&(n&&0<n?p=tt(p.line,p.ch-n):e.state.overwrite&&!s?m=tt(m.line,Math.min($e(o,m.line).text.length,m.ch+$(l).length)):s&&ha&&ha.lineWise&&ha.text.join("\n")==l.join("\n")&&(p=m=tt(p.line,0)));m={from:p,to:m,text:c?c[f%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};Ui(e.doc,m),rn(e,"inputRead",e,m)}t&&!s&&va(e,t),kr(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function ga(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");return n&&(e.preventDefault(),t.isReadOnly()||t.options.disableInput||Rr(t,function(){return ma(t,n,0,null,"paste")}),1)}function va(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;0<=r;r--){var i=n.ranges[r];if(!(100<i.head.ch||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(-1<t.indexOf(o.electricChars.charAt(s))){a=fa(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test($e(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=fa(e,i.head.line,"smart"));a&&rn(e,"electricInput",e,i.head.line)}}}function ya(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,i={anchor:tt(i,0),head:tt(i+1,0)};n.push(i),t.push(e.getRange(i.anchor,i.head))}return{text:t,ranges:n}}function ba(e,t,n,r){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function ka(){var e=M("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=M("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return h?e.style.width="1000px":e.setAttribute("wrap","off"),s&&(e.style.border="1px solid black"),ba(e),t}function xa(i,o,a,s,l){var e=o,t=a,c=$e(i,o.line),u=l&&"rtl"==i.direction?-a:a;function n(e){var t,n,r;if(null==(n="codepoint"==s?(t=c.text.charCodeAt(o.ch+(0<a?0:-1)),isNaN(t)?null:(n=0<a?55296<=t&&t<56320:56320<=t&&t<57343,new tt(o.line,Math.max(0,Math.min(c.text.length,o.ch+a*(n?2:1))),-a))):l?Do(i.cm,c,o,a):Ro(c,o,a))){if(e||(r=o.line+u)<i.first||r>=i.first+i.size||(o=new tt(r,o.ch,o.sticky),!(c=$e(i,r))))return;o=Bo(l,i.cm,c,o.line,u)}else o=n;return 1}if("char"==s||"codepoint"==s)n();else if("column"==s)n(!0);else if("word"==s||"group"==s)for(var r=null,d="group"==s,f=i.cm&&i.cm.getHelper(o,"wordChars"),h=!0;!(a<0)||n(!h);h=!1){var p=c.text.charAt(o.ch)||"\n",p=Z(p,f)?"w":d&&"\n"==p?"n":!d||/\s/.test(p)?null:"p";if(!d||h||p||(p="s"),r&&r!=p){a<0&&(a=1,n(),o.sticky="after");break}if(p&&(r=p),0<a&&!n(!h))break}t=qi(i,o,e,t,!0);return rt(e,t)&&(t.hitSide=!0),t}function wa(e,t,n,r){var i,o,a,s=e.doc,l=t.left;for("page"==r?(i=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),i=Math.max(i-.5*$n(e.display),3),o=(0<n?t.bottom:t.top)+n*i):"line"==r&&(o=0<n?t.bottom+3:t.top-3);(a=qn(e,l,o)).outside;){if(n<0?o<=0:o>=s.height){a.hitSide=!0;break}o+=5*n}return a}e=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new D,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ca(e,t){var n=Cn(e,t.line);if(!n||n.hidden)return null;var r=$e(e.doc,t.line),n=xn(n,r,t.line),r=pe(r,e.doc.direction),e="left";r&&(e=ae(r,t.ch)%2?"right":"left");e=Tn(n.map,t.ch,e);return e.offset="right"==e.collapse?e.end:e.start,e}function Sa(e,t){return t&&(e.bad=!0),e}function _a(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Sa(e.clipPos(tt(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return function(c,e,t){var n=c.text.firstChild,r=!1;if(!e||!T(n,e))return Sa(tt(Qe(c.line),0),!0);if(e==n&&(r=!0,e=n.childNodes[t],t=0,!e)){var i=c.rest?$(c.rest):c.line;return Sa(tt(Qe(i),i.text.length),r)}var i=3==e.nodeType?e:null,o=e;i||1!=e.childNodes.length||3!=e.firstChild.nodeType||(i=e.firstChild,t=t&&i.nodeValue.length);for(;o.parentNode!=n;)o=o.parentNode;var u=c.measure,d=u.maps;function a(e,t,n){for(var r=-1;r<(d?d.length:0);r++)for(var i=r<0?u.map:d[r],o=0;o<i.length;o+=3){var a=i[o+2];if(a==e||a==t){var s=Qe(r<0?c.line:c.rest[r]),l=i[o]+n;return tt(s,l=n<0||a!=e?i[o+(n?1:0)]:l)}}}var s=a(i,o,t);if(s)return Sa(s,r);for(var l=o.nextSibling,f=i?i.nodeValue.length-t:0;l;l=l.nextSibling){if(s=a(l,l.firstChild,0))return Sa(tt(s.line,s.ch-f),r);f+=l.textContent.length}for(var h=o.previousSibling,p=t;h;h=h.previousSibling){if(s=a(h,h.firstChild,-1))return Sa(tt(s.line,s.ch+p),r);p+=h.textContent.length}}(o,t,n)}}e.prototype.init=function(e){var t=this,o=this,a=o.cm,s=o.div=e.lineDiv;function l(e){for(var t=e.target;t;t=t.parentNode){if(t==s)return 1;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}}function n(e){if(l(e)&&!ke(a,e)){if(a.somethingSelected())pa({lineWise:!1,text:a.getSelections()}),"cut"==e.type&&a.replaceSelection("",null,"cut");else{if(!a.options.lineWiseCopyCut)return;var t=ya(a);pa({lineWise:!0,text:t.text}),"cut"==e.type&&a.operation(function(){a.setSelections(t.ranges,0,q),a.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var n=ha.text.join("\n");if(e.clipboardData.setData("Text",n),e.clipboardData.getData("Text")==n)return void e.preventDefault()}var r=ka(),e=r.firstChild;a.display.lineSpace.insertBefore(r,a.display.lineSpace.firstChild),e.value=ha.text.join("\n");var i=A();I(e),setTimeout(function(){a.display.lineSpace.removeChild(r),i.focus(),i==s&&o.showPrimarySelection()},50)}}s.contentEditable=!0,ba(s,a.options.spellcheck,a.options.autocorrect,a.options.autocapitalize),ge(s,"paste",function(e){!l(e)||ke(a,e)||ga(e,a)||v<=11&&setTimeout(Br(a,function(){return t.updateFromDOM()}),20)}),ge(s,"compositionstart",function(e){t.composing={data:e.data,done:!1}}),ge(s,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1})}),ge(s,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),ge(s,"touchstart",function(){return o.forceCompositionEnd()}),ge(s,"input",function(){t.composing||t.readFromDOMSoon()}),ge(s,"copy",n),ge(s,"cut",n)},e.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},e.prototype.prepareSelection=function(){var e=sr(this.cm,!1);return e.focus=A()==this.div,e},e.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},e.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},e.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),r=n.from(),i=n.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||i.line<t.display.viewFrom)e.removeAllRanges();else{var o=_a(t,e.anchorNode,e.anchorOffset),n=_a(t,e.focusNode,e.focusOffset);if(!o||o.bad||!n||n.bad||0!=nt(at(o,n),r)||0!=nt(ot(o,n),i)){n=t.display.view,r=r.line>=t.display.viewFrom&&Ca(t,r)||{node:n[0].measure.map[2],offset:0},i=i.line<t.display.viewTo&&Ca(t,i);if(i||(i={node:(s=(s=n[n.length-1].measure).maps?s.maps[s.maps.length-1]:s.map)[s.length-1],offset:s[s.length-2]-s[s.length-3]}),r&&i){var a,s=e.rangeCount&&e.getRangeAt(0);try{a=E(r.node,r.offset,i.offset,i.node)}catch(e){}a&&(!f&&t.state.focused?(e.collapse(r.node,r.offset),a.collapsed||(e.removeAllRanges(),e.addRange(a))):(e.removeAllRanges(),e.addRange(a)),s&&null==e.anchorNode?e.addRange(s):f&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},e.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},e.prototype.showMultipleSelections=function(e){_(this.cm.display.cursorDiv,e.cursors),_(this.cm.display.selectionDiv,e.selection)},e.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},e.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;e=e.getRangeAt(0).commonAncestorContainer;return T(this.div,e)},e.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&A()==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},e.prototype.blur=function(){this.div.blur()},e.prototype.getField=function(){return this.div},e.prototype.supportsTouch=function(){return!0},e.prototype.receivedFocus=function(){var t=this;this.selectionInEditor()?this.pollSelection():Rr(this.cm,function(){return t.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))})},e.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},e.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e,t,n=this.getSelection(),r=this.cm;if(l&&o&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(n.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();this.composing||(this.rememberSelection(),e=_a(r,n.anchorNode,n.anchorOffset),t=_a(r,n.focusNode,n.focusOffset),e&&t&&Rr(r,function(){Ri(r.doc,si(e,t),q),(e.bad||t.bad)&&(r.curOp.selectionChanged=!0)}))}},e.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t=this.cm,n=t.display,r=t.doc.sel.primary(),i=r.from(),r=r.to();if(0==i.ch&&i.line>t.firstLine()&&(i=tt(i.line-1,$e(t.doc,i.line-1).length)),r.ch==$e(t.doc,r.line).text.length&&r.line<t.lastLine()&&(r=tt(r.line+1,0)),i.line<n.viewFrom||r.line>n.viewTo-1)return!1;var o,a=i.line==n.viewFrom||0==(a=er(t,i.line))?(e=Qe(n.view[0].line),n.view[0].node):(e=Qe(n.view[a].line),n.view[a-1].node.nextSibling),r=er(t,r.line),r=r==n.view.length-1?(o=n.viewTo-1,n.lineDiv.lastChild):(o=Qe(n.view[r+1].line)-1,n.view[r+1].node.previousSibling);if(!a)return!1;for(var s=t.doc.splitLines(function(a,e,t,s,l){var n="",c=!1,u=a.doc.lineSeparator(),d=!1;function f(){c&&(n+=u,d&&(n+=u),c=d=!1)}function h(e){e&&(f(),n+=e)}for(;!function e(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)h(n);else if(n=t.getAttribute("cm-marker"))(n=a.findMarks(tt(s,0),tt(l+1,0),(o=+n,function(e){return e.id==o}))).length&&(r=n[0].find(0))&&h(Ge(a.doc,r.from,r.to).join(u));else if("false"!=t.getAttribute("contenteditable")){var r=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(/^br$/i.test(t.nodeName)||0!=t.textContent.length){r&&f();for(var i=0;i<t.childNodes.length;i++)e(t.childNodes[i]);/^(pre|p)$/i.test(t.nodeName)&&(d=!0),r&&(c=!0)}}}else 3==t.nodeType&&h(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "));var o}(e),e!=t;)e=e.nextSibling,d=!1;return n}(t,a,r,e,o)),l=Ge(t.doc,tt(e,0),tt(o,$e(t.doc,o).text.length));1<s.length&&1<l.length;)if($(s)==$(l))s.pop(),l.pop(),o--;else{if(s[0]!=l[0])break;s.shift(),l.shift(),e++}for(var c=0,u=0,d=s[0],f=l[0],h=Math.min(d.length,f.length);c<h&&d.charCodeAt(c)==f.charCodeAt(c);)++c;for(var p=$(s),m=$(l),g=Math.min(p.length-(1==s.length?c:0),m.length-(1==l.length?c:0));u<g&&p.charCodeAt(p.length-u-1)==m.charCodeAt(m.length-u-1);)++u;if(1==s.length&&1==l.length&&e==i.line)for(;c&&c>i.ch&&p.charCodeAt(p.length-u-1)==m.charCodeAt(m.length-u-1);)c--,u++;s[s.length-1]=p.slice(0,p.length-u).replace(/^\u200b+/,""),s[0]=s[0].slice(c).replace(/\u200b+$/,"");a=tt(e,c),r=tt(o,l.length?$(l).length-u:0);return 1<s.length||s[0]||nt(a,r)?(Yi(t.doc,s,a,r,"+input"),!0):void 0},e.prototype.ensurePolled=function(){this.forceCompositionEnd()},e.prototype.reset=function(){this.forceCompositionEnd()},e.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},e.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},e.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Rr(this.cm,function(){return tr(e.cm)})},e.prototype.setUneditable=function(e){e.contentEditable="false"},e.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Br(this.cm,ma)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},e.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},e.prototype.onContextMenu=function(){},e.prototype.resetPosition=function(){},e.prototype.needsContentAttribute=!0;var La,Ma,Ta,Aa,Oa,r=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new D,this.hasSelection=!1,this.composing=null};function Na(e,t,r,n){La.defaults[e]=t,r&&(Ma[e]=n?function(e,t,n){n!=oa&&r(e,t,n)}:r)}r.prototype.init=function(n){var e=this,r=this,i=this.cm;this.createField(n);var o=this.textarea;function t(e){if(!ke(i,e)){if(i.somethingSelected())pa({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=ya(i);pa({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,q):(r.prevInput="",o.value=t.text.join("\n"),I(o))}"cut"==e.type&&(i.state.cutIncoming=+new Date)}}n.wrapper.insertBefore(this.wrapper,n.wrapper.firstChild),s&&(o.style.width="0px"),ge(o,"input",function(){k&&9<=v&&e.hasSelection&&(e.hasSelection=null),r.poll()}),ge(o,"paste",function(e){ke(i,e)||ga(e,i)||(i.state.pasteIncoming=+new Date,r.fastPoll())}),ge(o,"cut",t),ge(o,"copy",t),ge(n.scroller,"paste",function(e){if(!pn(n,e)&&!ke(i,e)){if(!o.dispatchEvent)return i.state.pasteIncoming=+new Date,void r.focus();var t=new Event("paste");t.clipboardData=e.clipboardData,o.dispatchEvent(t)}}),ge(n.lineSpace,"selectstart",function(e){pn(n,e)||Se(e)}),ge(o,"compositionstart",function(){var e=i.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),ge(o,"compositionend",function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)})},r.prototype.createField=function(e){this.wrapper=ka(),this.textarea=this.wrapper.firstChild},r.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},r.prototype.prepareSelection=function(){var e,t=this.cm,n=t.display,r=t.doc,i=sr(t);return t.options.moveInputWithCursor&&(e=Fn(t,r.sel.primary().head,"div"),t=n.wrapper.getBoundingClientRect(),r=n.lineDiv.getBoundingClientRect(),i.teTop=Math.max(0,Math.min(n.wrapper.clientHeight-10,e.top+r.top-t.top)),i.teLeft=Math.max(0,Math.min(n.wrapper.clientWidth-10,e.left+r.left-t.left))),i},r.prototype.showSelection=function(e){var t=this.cm.display;_(t.cursorDiv,e.cursors),_(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},r.prototype.reset=function(e){var t,n;this.contextMenuPending||this.composing||((t=this.cm).somethingSelected()?(this.prevInput="",n=t.getSelection(),this.textarea.value=n,t.state.focused&&I(this.textarea),k&&9<=v&&(this.hasSelection=n)):e||(this.prevInput=this.textarea.value="",k&&9<=v&&(this.hasSelection=null)))},r.prototype.getField=function(){return this.textarea},r.prototype.supportsTouch=function(){return!1},r.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!d||A()!=this.textarea))try{this.textarea.focus()}catch(e){}},r.prototype.blur=function(){this.textarea.blur()},r.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},r.prototype.receivedFocus=function(){this.slowPoll()},r.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},r.prototype.fastPoll=function(){var t=!1,n=this;n.pollingFast=!0,n.polling.set(20,function e(){n.poll()||t?(n.pollingFast=!1,n.slowPoll()):(t=!0,n.polling.set(60,e))})},r.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Pe(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(k&&9<=v&&this.hasSelection===i||m&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r=""),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var a=0,s=Math.min(r.length,i.length);a<s&&r.charCodeAt(a)==i.charCodeAt(a);)++a;return Rr(t,function(){ma(t,i.slice(a),r.length-a,null,e.composing?"*compose":null),1e3<i.length||-1<i.indexOf("\n")?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},r.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},r.prototype.onKeyPress=function(){k&&9<=v&&(this.hasSelection=null),this.fastPoll()},r.prototype.onContextMenu=function(e){var n=this,r=n.cm,i=r.display,o=n.textarea;n.contextMenuPending&&n.contextMenuPending();var a,s,t,l,c=Zn(r,e),u=i.scroller.scrollTop;function d(){var e,t;null!=o.selectionStart&&(t=""+((e=r.somethingSelected())?o.value:""),o.value="⇚",o.value=t,n.prevInput=e?"":"",o.selectionStart=1,o.selectionEnd=t.length,i.selForContextMenu=r.doc.sel)}function f(){var e,t;n.contextMenuPending==f&&(n.contextMenuPending=!1,n.wrapper.style.cssText=s,o.style.cssText=a,k&&v<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=u),null!=o.selectionStart&&((!k||v<9)&&d(),e=0,t=function(){i.selForContextMenu==r.doc.sel&&0==o.selectionStart&&0<o.selectionEnd&&""==n.prevInput?Br(r,ji)(r):e++<10?i.detectingSelectAll=setTimeout(t,500):(i.selForContextMenu=null,i.input.reset())},i.detectingSelectAll=setTimeout(t,200)))}c&&!p&&(r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(c)&&Br(r,Ri)(r.doc,si(c),q),a=o.style.cssText,s=n.wrapper.style.cssText,c=n.wrapper.offsetParent.getBoundingClientRect(),n.wrapper.style.cssText="position: static",o.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-c.top-5)+"px; left: "+(e.clientX-c.left-5)+"px;\n z-index: 1000; background: "+(k?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",h&&(t=window.scrollY),i.input.focus(),h&&window.scrollTo(null,t),i.input.reset(),r.somethingSelected()||(o.value=n.prevInput=" "),n.contextMenuPending=f,i.selForContextMenu=r.doc.sel,clearTimeout(i.detectingSelectAll),k&&9<=v&&d(),x?(Me(e),l=function(){ye(window,"mouseup",l),setTimeout(f,20)},ge(window,"mouseup",l)):setTimeout(f,50))},r.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},r.prototype.setUneditable=function(){},r.prototype.needsContentAttribute=!1,Ma=(La=ua).optionHandlers,La.defineOption=Na,La.Init=oa,Na("value","",function(e,t){return e.setValue(t)},!0),Na("mode",null,function(e,t){e.doc.modeOption=t,fi(e)},!0),Na("indentUnit",2,fi,!0),Na("indentWithTabs",!1),Na("smartIndent",!0),Na("tabSize",4,function(e){hi(e),Nn(e),tr(e)},!0),Na("lineSeparator",null,function(e,r){if(e.doc.lineSep=r){var i=[],o=e.doc.first;e.doc.iter(function(e){for(var t=0;;){var n=e.text.indexOf(r,t);if(-1==n)break;t=n+r.length,i.push(tt(o,n))}o++});for(var t=i.length-1;0<=t;t--)Yi(e.doc,r,i[t],tt(i[t].line,i[t].ch+r.length))}}),Na("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=oa&&e.refresh()}),Na("specialCharPlaceholder",Xt,function(e){return e.refresh()},!0),Na("electricChars",!0),Na("inputStyle",d?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Na("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),Na("autocorrect",!1,function(e,t){return e.getInputField().autocorrect=t},!0),Na("autocapitalize",!1,function(e,t){return e.getInputField().autocapitalize=t},!0),Na("rtlMoveVisually",!y),Na("wholeLineUpdateBefore",!0),Na("theme","default",function(e){ia(e),Qr(e)},!0),Na("keyMap","default",function(e,t,n){t=Eo(t),n=n!=oa&&Eo(n);n&&n.detach&&n.detach(e,t),t.attach&&t.attach(e,n||null)}),Na("extraKeys",null),Na("configureMouse",null),Na("lineWrapping",!1,ca,!0),Na("gutters",[],function(e,t){e.display.gutterSpecs=Xr(t,e.options.lineNumbers),Qr(e)},!0),Na("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?Yn(e.display)+"px":"0",e.refresh()},!0),Na("coverGutterNextToScrollbar",!1,function(e){return Tr(e)},!0),Na("scrollbarStyle","native",function(e){Nr(e),Tr(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),Na("lineNumbers",!1,function(e,t){e.display.gutterSpecs=Xr(e.options.gutters,t),Qr(e)},!0),Na("firstLineNumber",1,Qr,!0),Na("lineNumberFormatter",function(e){return e},Qr,!0),Na("showCursorWhenSelecting",!1,ar,!0),Na("resetSelectionOnContextMenu",!0),Na("lineWiseCopyCut",!0),Na("pasteLinesPerSelection",!0),Na("selectionsMayTouch",!1),Na("readOnly",!1,function(e,t){"nocursor"==t&&(pr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),Na("screenReaderLabel",null,function(e,t){e.display.input.screenReaderLabelChanged(t=""===t?null:t)}),Na("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),Na("dragDrop",!0,la),Na("allowDropFileTypes",null),Na("cursorBlinkRate",530),Na("cursorScrollMargin",0),Na("cursorHeight",1,ar,!0),Na("singleCursorHeightPerLine",!0,ar,!0),Na("workTime",100),Na("workDelay",100),Na("flattenSpans",!0,hi,!0),Na("addModeClass",!1,hi,!0),Na("pollInterval",100),Na("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),Na("historyEventDelay",1250),Na("viewportMargin",10,function(e){return e.refresh()},!0),Na("maxHighlightLength",1e4,hi,!0),Na("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),Na("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),Na("autofocus",null),Na("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0),Na("phrases",null),Aa=(Ta=ua).optionHandlers,Oa=Ta.helpers={},Ta.prototype={constructor:Ta,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,t){var n=this.options,r=n[e];n[e]==t&&"mode"!=e||(n[e]=t,Aa.hasOwnProperty(e)&&Br(this,Aa[e])(this,t,r),be(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Eo(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Dr(function(e,t){var n=e.token?e:Ta.getMode(this.options,e);if(n.startState)throw new Error("Overlays may not be stateful.");!function(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}(this.state.overlays,{mode:n,modeSpec:e,opaque:t&&t.opaque,priority:t&&t.priority||0},function(e){return e.priority}),this.state.modeGen++,tr(this)}),removeOverlay:Dr(function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void tr(this)}}),indentLine:Dr(function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),Ze(this.doc,e)&&fa(this,e,t,n)}),indentSelection:Dr(function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(fa(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&kr(this));else{for(var o=i.from(),a=i.to(),i=Math.max(n,o.line),n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1,s=i;s<n;++s)fa(this,s,e);i=this.doc.sel.ranges;0==o.ch&&t.length==i.length&&0<i[r].from().ch&&Ei(this.doc,r,new oi(o,i[r].to()),q)}}}),getTokenAt:function(e,t){return bt(this,e,t)},getLineTokens:function(e,t){return bt(this,tt(e),t,!0)},getTokenTypeAt:function(e){e=lt(this.doc,e);var t,n=ht(this,$e(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=1+a}}e=t?t.indexOf("overlay "):-1;return e<0?t:0==e?null:t.slice(0,e-1)},getModeAt:function(e){var t=this.doc.mode;return t.innerMode?Ta.innerMode(t,this.getTokenAt(e).state).mode:t},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!Oa.hasOwnProperty(t))return n;var r=Oa[t],i=this.getModeAt(e);if("string"==typeof i[t])r[i[t]]&&n.push(r[i[t]]);else if(i[t])for(var o=0;o<i[t].length;o++){var a=r[i[t][o]];a&&n.push(a)}else i.helperType&&r[i.helperType]?n.push(r[i.helperType]):r[i.name]&&n.push(r[i.name]);for(var s=0;s<r._global.length;s++){var l=r._global[s];l.pred(i,this)&&-1==F(n,l.val)&&n.push(l.val)}return n},getStateAfter:function(e,t){var n=this.doc;return pt(this,(e=st(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary(),n=null==e?n.head:"object"==typeof e?lt(this.doc,e):e?n.from():n.to();return Fn(this,n,t||"page")},charCoords:function(e,t){return Dn(this,lt(this.doc,e),t||"page")},coordsChar:function(e,t){return qn(this,(e=Bn(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=Bn(this,{top:e,left:0},t||"page").top,Je(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1,e="number"==typeof e?(r=this.doc.first+this.doc.size-1,e<this.doc.first?e=this.doc.first:r<e&&(e=r,i=!0),$e(this.doc,e)):e;return Rn(this,e,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-qt(e):0)},defaultTextHeight:function(){return $n(this.display)},defaultCharWidth:function(){return Gn(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o,a,s=this.display,l=(e=Fn(this,lt(this.doc,e))).bottom,c=e.left;t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),s.sizer.appendChild(t),"over"==r?l=e.top:"above"!=r&&"near"!=r||(o=Math.max(s.wrapper.clientHeight,this.doc.height),a=Math.max(s.sizer.clientWidth,s.lineSpace.clientWidth),("above"==r||e.bottom+t.offsetHeight>o)&&e.top>t.offsetHeight?l=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=o&&(l=e.bottom),c+t.offsetWidth>a&&(c=a-t.offsetWidth)),t.style.top=l+"px",t.style.left=t.style.right="","right"==i?(c=s.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?c=0:"middle"==i&&(c=(s.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),n&&(n=this,t={left:c,top:l,right:c+t.offsetWidth,bottom:l+t.offsetHeight},null!=(t=yr(n,t)).scrollTop&&Sr(n,t.scrollTop),null!=t.scrollLeft&&Lr(n,t.scrollLeft))},triggerOnKeyDown:Dr($o),triggerOnKeyPress:Dr(Xo),triggerOnKeyUp:Go,triggerOnMouseDown:Dr(Zo),execCommand:function(e){if(Fo.hasOwnProperty(e))return Fo[e].call(null,this)},triggerElectric:Dr(function(e){va(this,e)}),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=lt(this.doc,e),a=0;a<t&&!(o=xa(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:Dr(function(t,n){var r=this;this.extendSelectionsBy(function(e){return r.display.shift||r.doc.extend||e.empty()?xa(r.doc,e.head,t,n,r.options.rtlMoveVisually):t<0?e.from():e.to()},j)}),deleteH:Dr(function(n,r){var e=this.doc.sel,i=this.doc;e.somethingSelected()?i.replaceSelection("",null,"+delete"):Io(this,function(e){var t=xa(i,e.head,n,r,!1);return n<0?{from:t,to:e.head}:{from:e.head,to:t}})}),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=lt(this.doc,e),s=0;s<t;++s){var l=Fn(this,a,"div");if(null==o?o=l.left:l.left=o,(a=wa(this,l,i,n)).hitSide)break}return a},moveV:Dr(function(r,i){var o=this,a=this.doc,s=[],l=!this.display.shift&&!a.extend&&a.sel.somethingSelected();if(a.extendSelectionsBy(function(e){if(l)return r<0?e.from():e.to();var t=Fn(o,e.head,"div");null!=e.goalColumn&&(t.left=e.goalColumn),s.push(t.left);var n=wa(o,t,r,i);return"page"==i&&e==a.sel.primary()&&br(o,Dn(o,n,"div").top-t.top),n},j),s.length)for(var e=0;e<a.sel.ranges.length;e++)a.sel.ranges[e].goalColumn=s[e]}),findWordAt:function(e){var t=$e(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=Z(o,i)?function(e){return Z(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!Z(e)};0<n&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new oi(tt(e.line,n),tt(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||(((this.state.overwrite=!this.state.overwrite)?O:C)(this.display.cursorDiv,"CodeMirror-overwrite"),be(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==A()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Dr(function(e,t){xr(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-yn(this)-this.display.barHeight,width:e.scrollWidth-yn(this)-this.display.barWidth,clientHeight:kn(this),clientWidth:bn(this)}},scrollIntoView:Dr(function(e,t){var n;null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:tt(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?(n=e,wr(t=this),t.curOp.scrollToPos=n):Cr(this,e.from,e.to,e.margin)}),setSize:Dr(function(e,t){function n(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e}var r=this;null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&On(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){nr(r,i,"widget");break}++i}),this.curOp.forceUpdate=!0,be(this,"refresh",this)}),operation:function(e){return Rr(this,e)},startOperation:function(){return Ir(this)},endOperation:function(){return Pr(this)},refresh:Dr(function(){var e=this.display.cachedTextHeight;tr(this),this.curOp.forceUpdate=!0,Nn(this),xr(this,this.doc.scrollLeft,this.doc.scrollTop),Ur(this.display),(null==e||.5<Math.abs(e-$n(this.display))||this.options.lineWrapping)&&Jn(this),be(this,"refresh",this)}),swapDoc:Dr(function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),vi(this,e),Nn(this),this.display.input.reset(),xr(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,rn(this,"swapDoc",this,t),t}),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ce(Ta),Ta.registerHelper=function(e,t,n){Oa.hasOwnProperty(e)||(Oa[e]=Ta[e]={_global:[]}),Oa[e][t]=n},Ta.registerGlobalHelper=function(e,t,n,r){Ta.registerHelper(e,t,r),Oa[e]._global.push({pred:n,val:r})};var Ea,Ia,Pa="iter insert remove copy getEditor constructor".split(" ");for(Ea in fo.prototype)fo.prototype.hasOwnProperty(Ea)&&F(Pa,Ea)<0&&(ua.prototype[Ea]=function(e){return function(){return e.apply(this.doc,arguments)}}(fo.prototype[Ea]));return Ce(fo),ua.inputStyles={textarea:r,contenteditable:e},ua.defineMode=function(e){ua.defaults.mode||"null"==e||(ua.defaults.mode=e),function(e,t){2<arguments.length&&(t.dependencies=Array.prototype.slice.call(arguments,2)),De[e]=t}.apply(this,arguments)},ua.defineMIME=function(e,t){Fe[e]=t},ua.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),ua.defineMIME("text/plain","null"),ua.defineExtension=function(e,t){ua.prototype[e]=t},ua.defineDocExtension=function(e,t){fo.prototype[e]=t},ua.fromTextArea=function(t,n){var e;function r(){t.value=s.getValue()}if((n=n?R(n):{}).value=t.value,!n.tabindex&&t.tabIndex&&(n.tabindex=t.tabIndex),!n.placeholder&&t.placeholder&&(n.placeholder=t.placeholder),null==n.autofocus&&(e=A(),n.autofocus=e==t||null!=t.getAttribute("autofocus")&&e==document.body),t.form&&(ge(t.form,"submit",r),!n.leaveSubmitMethodAlone)){var i=t.form,o=i.submit;try{var a=i.submit=function(){r(),i.submit=o,i.submit(),i.submit=a}}catch(e){}}n.finishInit=function(e){e.save=r,e.getTextArea=function(){return t},e.toTextArea=function(){e.toTextArea=isNaN,r(),t.parentNode.removeChild(e.getWrapperElement()),t.style.display="",t.form&&(ye(t.form,"submit",r),n.leaveSubmitMethodAlone||"function"!=typeof t.form.submit||(t.form.submit=o))}},t.style.display="none";var s=ua(function(e){return t.parentNode.insertBefore(e,t.nextSibling)},n);return s},(Ia=ua).off=ye,Ia.on=ge,Ia.wheelEventPixels=ni,Ia.Doc=fo,Ia.splitLines=Ie,Ia.countColumn=B,Ia.findColumn=K,Ia.isWordChar=J,Ia.Pass=W,Ia.signal=be,Ia.Line=Kt,Ia.changeEnd=li,Ia.scrollbarModel=Or,Ia.Pos=tt,Ia.cmpPos=nt,Ia.modes=De,Ia.mimeModes=Fe,Ia.resolveMode=ze,Ia.getMode=We,Ia.modeExtensions=qe,Ia.extendMode=He,Ia.copyState=je,Ia.startState=Ue,Ia.innerMode=Ke,Ia.commands=Fo,Ia.keyMap=_o,Ia.keyName=No,Ia.isModifierKey=Ao,Ia.lookupKey=To,Ia.normalizeKeyMap=Mo,Ia.StringStream=Ve,Ia.SharedTextMarker=lo,Ia.TextMarker=oo,Ia.LineWidget=ro,Ia.e_preventDefault=Se,Ia.e_stopPropagation=_e,Ia.e_stop=Me,Ia.addClass=O,Ia.contains=T,Ia.rmClass=C,Ia.keyNames=xo,ua.version="5.62.3",ua}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(C){"use strict";var S={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},_={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};C.defineMode("xml",function(e,t){var n,o,a,s=e.indentUnit,l={},r=t.htmlMode?S:_;for(n in r)l[n]=r[n];for(n in t)l[n]=t[n];function c(t,n){function e(e){return(n.tokenize=e)(t,n)}var r=t.next();if("<"==r)return t.eat("!")?t.eat("[")?t.match("CDATA[")?e(i("atom","]]>")):null:t.match("--")?e(i("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),e(function r(i){return function(e,t){for(var n;null!=(n=e.next());){if("<"==n)return t.tokenize=r(i+1),t.tokenize(e,t);if(">"==n){if(1!=i)return t.tokenize=r(i-1),t.tokenize(e,t);t.tokenize=c;break}}return"meta"}}(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),n.tokenize=i("meta","?>"),"meta"):(o=t.eat("/")?"closeTag":"openTag",n.tokenize=u,"tag bracket");if("&"!=r)return t.eatWhile(/[^&<]/),null;r=t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";");return r?"atom":"error"}function u(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=c,o=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return o="equals",null;if("<"!=n)return/[\'\"]/.test(n)?(t.tokenize=(r=n,i.isInAttribute=!0,i),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word");t.tokenize=c,t.state=p,t.tagName=t.tagStart=null;var r,t=t.tokenize(e,t);return t?t+" tag error":"tag error";function i(e,t){for(;!e.eol();)if(e.next()==r){t.tokenize=u;break}return"string"}}function i(n,r){return function(e,t){for(;!e.eol();){if(e.match(r)){t.tokenize=c;break}e.next()}return n}}function d(e,t,n){this.prev=e.context,this.tagName=t||"",this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function f(e){e.context&&(e.context=e.context.prev)}function h(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;f(e)}}function p(e,t,n){return"openTag"==e?(n.tagStart=t.column(),m):"closeTag"==e?g:p}function m(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",b):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",b(e,0,n)):(a="error",m)}function g(e,t,n){if("word"!=e)return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",v(e,0,n)):(a="error",y);t=t.current();return n.context&&n.context.tagName!=t&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&f(n),n.context&&n.context.tagName==t||!1===l.matchClosing?(a="tag",v):(a="tag error",y)}function v(e,t,n){return"endTag"!=e?(a="error",v):(f(n),p)}function y(e,t,n){return a="error",v(e,0,n)}function b(e,t,n){if("word"==e)return a="attribute",k;if("endTag"!=e&&"selfcloseTag"!=e)return a="error",b;var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?h(n,r):(h(n,r),n.context=new d(n,r,i==n.indented)),p}function k(e,t,n){return"equals"==e?x:(l.allowMissing||(a="error"),b(e,0,n))}function x(e,t,n){return"string"==e?w:"word"==e&&l.allowUnquoted?(a="string",b):(a="error",b(e,0,n))}function w(e,t,n){return"string"==e?w:b(e,0,n)}return c.isInText=!0,{startState:function(e){var t={tokenize:c,state:p,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(a=null,t.state=t.state(o||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(e,t,n){var r=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+s;if(r&&r.noIndent)return C.Pass;if(e.tokenize!=u&&e.tokenize!=c)return n?n.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==l.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(t))return 0;var i=t&&/^<(\/)?([\w_:\.-]*)/.exec(t);if(i&&i[1])for(;r;){if(r.tagName==i[2]){r=r.prev;break}if(!l.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(i)for(;r;){var o=l.contextGrabbers[r.tagName];if(!o||!o.hasOwnProperty(i[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+s:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==x&&(e.state=b)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)t.push(n.tagName);return t.reverse()}}}),C.defineMIME("text/xml","xml"),C.defineMIME("application/xml","xml"),C.mimeModes.hasOwnProperty("text/html")||C.defineMIME("text/html",{name:"xml",htmlMode:!0})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(nt){"use strict";nt.defineMode("javascript",function(e,u){var t,n,r,i,d=e.indentUnit,f=u.statementIndent,o=u.jsonld,a=u.json||o,s=!1!==u.trackScope,c=u.typescript,h=u.wordCharacters||/[\w$\xa1-\uffff]/,l=(t=p("keyword a"),n=p("keyword b"),r=p("keyword c"),i=p("keyword d"),e=p("operator"),{if:p("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:i,break:i,continue:i,new:p("new"),delete:r,void:r,throw:r,debugger:p("debugger"),var:p("var"),const:p("var"),let:p("var"),function:p("function"),catch:p("catch"),for:p("for"),switch:p("switch"),case:p("case"),default:p("default"),in:e,typeof:e,instanceof:e,true:e={type:"atom",style:"atom"},false:e,null:e,undefined:e,NaN:e,Infinity:e,this:p("this"),class:p("class"),super:p("atom"),yield:r,export:p("export"),import:p("import"),extends:r,await:r});function p(e){return{type:e,style:"keyword"}}var m,g,v=/[+\-*&%=<>!?|~^@]/,y=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function b(e,t,n){return m=e,g=n,t}function k(e,t){var i,n=e.next();if('"'==n||"'"==n)return t.tokenize=(i=n,function(e,t){var n,r=!1;if(o&&"@"==e.peek()&&e.match(y))return t.tokenize=k,b("jsonld-keyword","meta");for(;null!=(n=e.next())&&(n!=i||r);)r=!r&&"\\"==n;return r||(t.tokenize=k),b("string","string")}),t.tokenize(e,t);if("."==n&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return b("number","number");if("."==n&&e.match(".."))return b("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return b(n);if("="==n&&e.eat(">"))return b("=>","operator");if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return b("number","number");if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),b("number","number");if("/"==n)return e.eat("*")?(t.tokenize=x)(e,t):e.eat("/")?(e.skipToEnd(),b("comment","comment")):tt(e,t,1)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),b("regexp","string-2")):(e.eat("="),b("operator","operator",e.current()));if("`"==n)return(t.tokenize=w)(e,t);if("#"==n&&"!"==e.peek())return e.skipToEnd(),b("meta","meta");if("#"==n&&e.eatWhile(h))return b("variable","property");if("<"==n&&e.match("!--")||"-"==n&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),b("comment","comment");if(v.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-|&?]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),"?"==n&&e.eat(".")?b("."):b("operator","operator",e.current());if(h.test(n)){e.eatWhile(h);n=e.current();if("."!=t.lastType){if(l.propertyIsEnumerable(n)){t=l[n];return b(t.type,t.style,n)}if("async"==n&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return b("async","keyword",n)}return b("variable","variable",n)}}function x(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=k;break}r="*"==n}return b("comment","comment")}function w(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=k;break}r=!r&&"\\"==n}return b("quasi","string-2",e.current())}function C(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n,r=e.string.indexOf("=>",e.start);if(!(r<0)){!c||(n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r)))&&(r=n.index);for(var i=0,o=!1,a=r-1;0<=a;--a){var s=e.string.charAt(a),l="([{}])".indexOf(s);if(0<=l&&l<3){if(!i){++a;break}if(0==--i){"("==s&&(o=!0);break}}else if(3<=l&&l<6)++i;else if(h.test(s))o=!0;else if(/["'\/`]/.test(s))for(;;--a){if(0==a)return;if(e.string.charAt(a-1)==s&&"\\"!=e.string.charAt(a-2)){a--;break}}else if(o&&!i){++a;break}}o&&!i&&(t.fatArrowAt=a)}}var S={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function _(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function L(e,t,n,r,i){var o=e.cc;for(M.state=e,M.stream=i,M.marked=null,M.cc=o,M.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():a?K:H)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return M.marked?M.marked:"variable"==n&&function(e,t){if(s){for(var n=e.localVars;n;n=n.next)if(n.name==t)return 1;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return 1}}(e,r)?"variable-2":t}}var M={state:null,column:null,marked:null,cc:null};function T(){for(var e=arguments.length-1;0<=e;e--)M.cc.push(arguments[e])}function A(){return T.apply(null,arguments),!0}function O(e,t){for(var n=t;n;n=n.next)if(n.name==e)return 1}function N(e){var t=M.state;if(M.marked="def",s){if(t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var n=function e(t,n){{if(n){if(n.block){var r=e(t,n.prev);return r?r==n.prev?n:new I(r,n.vars,!0):null}return O(t,n.vars)?n:new I(n.prev,new P(t,n.vars),!1)}return null}}(e,t.context);if(null!=n)return void(t.context=n)}else if(!O(e,t.localVars))return void(t.localVars=new P(e,t.localVars));u.globalVars&&!O(e,t.globalVars)&&(t.globalVars=new P(e,t.globalVars))}}function E(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function I(e,t,n){this.prev=e,this.vars=t,this.block=n}function P(e,t){this.name=e,this.next=t}var R=new P("this",new P("arguments",null));function B(){M.state.context=new I(M.state.context,M.state.localVars,!1),M.state.localVars=R}function D(){M.state.context=new I(M.state.context,M.state.localVars,!0),M.state.localVars=null}function F(){M.state.localVars=M.state.context.vars,M.state.context=M.state.context.prev}function z(r,i){function e(){var e=M.state,t=e.indented;if("stat"==e.lexical.type)t=e.lexical.indented;else for(var n=e.lexical;n&&")"==n.type&&n.align;n=n.prev)t=n.indented;e.lexical=new _(t,M.stream.column(),r,null,e.lexical,i)}return e.lex=!0,e}function W(){var e=M.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function q(n){return function e(t){return t==n?A():";"==n||"}"==t||")"==t||"]"==t?T():A(e)}}function H(e,t){return"var"==e?A(z("vardef",t),Le,q(";"),W):"keyword a"==e?A(z("form"),V,H,W):"keyword b"==e?A(z("form"),H,W):"keyword d"==e?M.stream.match(/^\s*$/,!1)?A():A(z("stat"),G,q(";"),W):"debugger"==e?A(q(";")):"{"==e?A(z("}"),D,ue,W,F):";"==e?A():"if"==e?("else"==M.state.lexical.info&&M.state.cc[M.state.cc.length-1]==W&&M.state.cc.pop()(),A(z("form"),V,H,W,Ee)):"function"==e?A(Be):"for"==e?A(z("form"),D,Ie,H,F,W):"class"==e||c&&"interface"==t?(M.marked="keyword",A(z("form","class"==e?e:t),qe,W)):"variable"==e?c&&"declare"==t?(M.marked="keyword",A(H)):c&&("module"==t||"enum"==t||"type"==t)&&M.stream.match(/^\s*\w/,!1)?(M.marked="keyword","enum"==t?A(Ze):"type"==t?A(Fe,q("operator"),me,q(";")):A(z("form"),Me,q("{"),z("}"),ue,W,W)):c&&"namespace"==t?(M.marked="keyword",A(z("form"),K,H,W)):c&&"abstract"==t?(M.marked="keyword",A(H)):A(z("stat"),re):"switch"==e?A(z("form"),V,q("{"),z("}","switch"),D,ue,W,W,F):"case"==e?A(K,q(":")):"default"==e?A(q(":")):"catch"==e?A(z("form"),B,j,H,W,F):"export"==e?A(z("stat"),Ue,W):"import"==e?A(z("stat"),$e,W):"async"==e?A(H):"@"==t?A(K,H):T(z("stat"),K,q(";"),W)}function j(e){if("("==e)return A(ze,q(")"))}function K(e,t){return $(e,t,!1)}function U(e,t){return $(e,t,!0)}function V(e){return"("!=e?T():A(z(")"),G,q(")"),W)}function $(e,t,n){if(M.state.fatArrowAt==M.stream.start){var r=n?ee:Z;if("("==e)return A(B,z(")"),le(ze,")"),W,q("=>"),r,F);if("variable"==e)return T(B,Me,q("=>"),r,F)}var i,r=n?Y:X;return S.hasOwnProperty(e)?A(r):"function"==e?A(Be,r):"class"==e||c&&"interface"==t?(M.marked="keyword",A(z("form"),We,W)):"keyword c"==e||"async"==e?A(n?U:K):"("==e?A(z(")"),G,q(")"),W,r):"operator"==e||"spread"==e?A(n?U:K):"["==e?A(z("]"),Je,W,r):"{"==e?ce(oe,"}",null,r):"quasi"==e?T(Q,r):"new"==e?A((i=n,function(e){return"."==e?A(i?ne:te):"variable"==e&&c?A(Ce,i?Y:X):T(i?U:K)})):A()}function G(e){return e.match(/[;\}\)\],]/)?T():T(K)}function X(e,t){return","==e?A(G):Y(e,t,!1)}function Y(e,t,n){var r=0==n?X:Y,i=0==n?K:U;return"=>"==e?A(B,n?ee:Z,F):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?A(r):c&&"<"==t&&M.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?A(z(">"),le(me,">"),W,r):"?"==t?A(K,q(":"),i):A(i):"quasi"==e?T(Q,r):";"!=e?"("==e?ce(U,")","call",r):"."==e?A(ie,r):"["==e?A(z("]"),G,q("]"),W,r):c&&"as"==t?(M.marked="keyword",A(me,r)):"regexp"==e?(M.state.lastType=M.marked="operator",M.stream.backUp(M.stream.pos-M.stream.start-1),A(i)):void 0:void 0}function Q(e,t){return"quasi"!=e?T():"${"!=t.slice(t.length-2)?A(Q):A(G,J)}function J(e){if("}"==e)return M.marked="string-2",M.state.tokenize=w,A(Q)}function Z(e){return C(M.stream,M.state),T("{"==e?H:K)}function ee(e){return C(M.stream,M.state),T("{"==e?H:U)}function te(e,t){if("target"==t)return M.marked="keyword",A(X)}function ne(e,t){if("target"==t)return M.marked="keyword",A(Y)}function re(e){return":"==e?A(W,H):T(X,q(";"),W)}function ie(e){if("variable"==e)return M.marked="property",A()}function oe(e,t){return"async"==e?(M.marked="property",A(oe)):"variable"!=e&&"keyword"!=M.style?"number"==e||"string"==e?(M.marked=o?"property":M.style+" property",A(se)):"jsonld-keyword"==e?A(se):c&&E(t)?(M.marked="keyword",A(oe)):"["==e?A(K,de,q("]"),se):"spread"==e?A(U,se):"*"==t?(M.marked="keyword",A(oe)):":"==e?T(se):void 0:(M.marked="property","get"==t||"set"==t?A(ae):(c&&M.state.fatArrowAt==M.stream.start&&(n=M.stream.match(/^\s*:\s*/,!1))&&(M.state.fatArrowAt=M.stream.pos+n[0].length),A(se)));var n}function ae(e){return"variable"!=e?T(se):(M.marked="property",A(Be))}function se(e){return":"==e?A(U):"("==e?T(Be):void 0}function le(r,i,o){function a(e,t){if(o?-1<o.indexOf(e):","==e){var n=M.state.lexical;return"call"==n.info&&(n.pos=(n.pos||0)+1),A(function(e,t){return e==i||t==i?T():T(r)},a)}return e==i||t==i?A():o&&-1<o.indexOf(";")?T(r):A(q(i))}return function(e,t){return e==i||t==i?A():T(r,a)}}function ce(e,t,n){for(var r=3;r<arguments.length;r++)M.cc.push(arguments[r]);return A(z(t,n),le(e,t),W)}function ue(e){return"}"==e?A():T(H,ue)}function de(e,t){if(c)return":"==e?A(me):"?"==t?A(de):void 0}function fe(e,t){if(c&&(":"==e||"in"==t))return A(me)}function he(e){if(c&&":"==e)return M.stream.match(/^\s*\w+\s+is\b/,!1)?A(K,pe,me):A(me)}function pe(e,t){if("is"==t)return M.marked="keyword",A()}function me(e,t){return"keyof"==t||"typeof"==t||"infer"==t||"readonly"==t?(M.marked="keyword",A("typeof"==t?U:me)):"variable"==e||"void"==t?(M.marked="type",A(we)):"|"==t||"&"==t?A(me):"string"==e||"number"==e||"atom"==e?A(we):"["==e?A(z("]"),le(me,"]",","),W,we):"{"==e?A(z("}"),ve,W,we):"("==e?A(le(xe,")"),ge,we):"<"==e?A(le(me,">"),me):"quasi"==e?T(be,we):void 0}function ge(e){if("=>"==e)return A(me)}function ve(e){return e.match(/[\}\)\]]/)?A():","==e||";"==e?A(ve):T(ye,ve)}function ye(e,t){return"variable"==e||"keyword"==M.style?(M.marked="property",A(ye)):"?"==t||"number"==e||"string"==e?A(ye):":"==e?A(me):"["==e?A(q("variable"),fe,q("]"),ye):"("==e?T(De,ye):e.match(/[;\}\)\],]/)?void 0:A()}function be(e,t){return"quasi"!=e?T():"${"!=t.slice(t.length-2)?A(be):A(me,ke)}function ke(e){if("}"==e)return M.marked="string-2",M.state.tokenize=w,A(be)}function xe(e,t){return"variable"==e&&M.stream.match(/^\s*[?:]/,!1)||"?"==t?A(xe):":"==e?A(me):"spread"==e?A(xe):T(me)}function we(e,t){return"<"==t?A(z(">"),le(me,">"),W,we):"|"==t||"."==e||"&"==t?A(me):"["==e?A(me,q("]"),we):"extends"==t||"implements"==t?(M.marked="keyword",A(me)):"?"==t?A(me,q(":"),me):void 0}function Ce(e,t){if("<"==t)return A(z(">"),le(me,">"),W,we)}function Se(){return T(me,_e)}function _e(e,t){if("="==t)return A(me)}function Le(e,t){return"enum"==t?(M.marked="keyword",A(Ze)):T(Me,de,Oe,Ne)}function Me(e,t){return c&&E(t)?(M.marked="keyword",A(Me)):"variable"==e?(N(t),A()):"spread"==e?A(Me):"["==e?ce(Ae,"]"):"{"==e?ce(Te,"}"):void 0}function Te(e,t){return"variable"!=e||M.stream.match(/^\s*:/,!1)?("variable"==e&&(M.marked="property"),"spread"==e?A(Me):"}"==e?T():"["==e?A(K,q("]"),q(":"),Te):A(q(":"),Me,Oe)):(N(t),A(Oe))}function Ae(){return T(Me,Oe)}function Oe(e,t){if("="==t)return A(U)}function Ne(e){if(","==e)return A(Le)}function Ee(e,t){if("keyword b"==e&&"else"==t)return A(z("form","else"),H,W)}function Ie(e,t){return"await"==t?A(Ie):"("==e?A(z(")"),Pe,W):void 0}function Pe(e){return"var"==e?A(Le,Re):("variable"==e?A:T)(Re)}function Re(e,t){return")"==e?A():";"==e?A(Re):"in"==t||"of"==t?(M.marked="keyword",A(K,Re)):T(K,Re)}function Be(e,t){return"*"==t?(M.marked="keyword",A(Be)):"variable"==e?(N(t),A(Be)):"("==e?A(B,z(")"),le(ze,")"),W,he,H,F):c&&"<"==t?A(z(">"),le(Se,">"),W,Be):void 0}function De(e,t){return"*"==t?(M.marked="keyword",A(De)):"variable"==e?(N(t),A(De)):"("==e?A(B,z(")"),le(ze,")"),W,he,F):c&&"<"==t?A(z(">"),le(Se,">"),W,De):void 0}function Fe(e,t){return"keyword"==e||"variable"==e?(M.marked="type",A(Fe)):"<"==t?A(z(">"),le(Se,">"),W):void 0}function ze(e,t){return"@"==t&&A(K,ze),"spread"==e?A(ze):c&&E(t)?(M.marked="keyword",A(ze)):c&&"this"==e?A(de,Oe):T(Me,de,Oe)}function We(e,t){return("variable"==e?qe:He)(e,t)}function qe(e,t){if("variable"==e)return N(t),A(He)}function He(e,t){return"<"==t?A(z(">"),le(Se,">"),W,He):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(M.marked="keyword"),A(c?me:K,He)):"{"==e?A(z("}"),je,W):void 0}function je(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&E(t))&&M.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(M.marked="keyword",A(je)):"variable"==e||"keyword"==M.style?(M.marked="property",A(Ke,je)):"number"==e||"string"==e?A(Ke,je):"["==e?A(K,de,q("]"),Ke,je):"*"==t?(M.marked="keyword",A(je)):c&&"("==e?T(De,je):";"==e||","==e?A(je):"}"==e?A():"@"==t?A(K,je):void 0}function Ke(e,t){if("!"==t)return A(Ke);if("?"==t)return A(Ke);if(":"==e)return A(me,Oe);if("="==t)return A(U);t=M.state.lexical.prev;return T(t&&"interface"==t.info?De:Be)}function Ue(e,t){return"*"==t?(M.marked="keyword",A(Qe,q(";"))):"default"==t?(M.marked="keyword",A(K,q(";"))):"{"==e?A(le(Ve,"}"),Qe,q(";")):T(H)}function Ve(e,t){return"as"==t?(M.marked="keyword",A(q("variable"))):"variable"==e?T(U,Ve):void 0}function $e(e){return"string"==e?A():"("==e?T(K):"."==e?T(X):T(Ge,Xe,Qe)}function Ge(e,t){return"{"==e?ce(Ge,"}"):("variable"==e&&N(t),"*"==t&&(M.marked="keyword"),A(Ye))}function Xe(e){if(","==e)return A(Ge,Xe)}function Ye(e,t){if("as"==t)return M.marked="keyword",A(Ge)}function Qe(e,t){if("from"==t)return M.marked="keyword",A(K)}function Je(e){return"]"==e?A():T(le(U,"]"))}function Ze(){return T(z("form"),Me,q("{"),z("}"),le(et,"}"),W,W)}function et(){return T(Me,Oe)}function tt(e,t,n){return t.tokenize==k&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return W.lex=F.lex=!0,{startState:function(e){e={tokenize:k,lastType:"sof",cc:[],lexical:new _((e||0)-d,0,"block",!1),localVars:u.localVars,context:u.localVars&&new I(null,null,!1),indented:e||0};return u.globalVars&&"object"==typeof u.globalVars&&(e.globalVars=u.globalVars),e},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),C(e,t)),t.tokenize!=x&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==m?n:(t.lastType="operator"!=m||"++"!=g&&"--"!=g?m:"incdec",L(t,n,m,g,e))},indent:function(e,t){if(e.tokenize==x||e.tokenize==w)return nt.Pass;if(e.tokenize!=k)return 0;var n,r=t&&t.charAt(0),i=e.lexical;if(!/^\s*else\b/.test(t))for(var o=e.cc.length-1;0<=o;--o){var a=e.cc[o];if(a==W)i=i.prev;else if(a!=Ee&&a!=F)break}for(;("stat"==i.type||"form"==i.type)&&("}"==r||(n=e.cc[e.cc.length-1])&&(n==X||n==Y)&&!/^[,\.=+\-*:?[\(]/.test(t));)i=i.prev;var s,l=(i=f&&")"==i.type&&"stat"==i.prev.type?i.prev:i).type,c=r==l;return"vardef"==l?i.indented+("operator"==e.lastType||","==e.lastType?i.info.length+1:0):"form"==l&&"{"==r?i.indented:"form"==l?i.indented+d:"stat"==l?i.indented+(s=t,"operator"==(l=e).lastType||","==l.lastType||v.test(s.charAt(0))||/[,.]/.test(s.charAt(0))?f||d:0):"switch"!=i.info||c||0==u.doubleIndentSwitch?i.align?i.column+(c?0:1):i.indented+(c?0:d):i.indented+(/^(?:case|default)\b/.test(t)?d:2*d)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:a?null:"/*",blockCommentEnd:a?null:"*/",blockCommentContinue:a?null:" * ",lineComment:a?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:a?"json":"javascript",jsonldMode:o,jsonMode:a,expressionAllowed:tt,skipExpression:function(e){L(e,"atom","atom","true",new nt.StringStream("",2,null))}}}),nt.registerHelper("wordChars","javascript",/[\w$]/),nt.defineMIME("text/javascript","javascript"),nt.defineMIME("text/ecmascript","javascript"),nt.defineMIME("application/javascript","javascript"),nt.defineMIME("application/x-javascript","javascript"),nt.defineMIME("application/ecmascript","javascript"),nt.defineMIME("application/json",{name:"javascript",json:!0}),nt.defineMIME("application/x-json",{name:"javascript",json:!0}),nt.defineMIME("application/manifest+json",{name:"javascript",json:!0}),nt.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),nt.defineMIME("text/typescript",{name:"javascript",typescript:!0}),nt.defineMIME("application/typescript",{name:"javascript",typescript:!0})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(N){"use strict";function e(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}N.defineMode("css",function(e,t){var n=t.inline;t.propertyKeywords||(t=N.resolveMode("text/css"));var o,r,i=e.indentUnit,a=t.tokenHooks,s=t.documentTypes||{},l=t.mediaTypes||{},c=t.mediaFeatures||{},u=t.mediaValueKeywords||{},d=t.propertyKeywords||{},f=t.nonStandardPropertyKeywords||{},h=t.fontProperties||{},p=t.counterDescriptors||{},m=t.colorKeywords||{},g=t.valueKeywords||{},v=t.allowNested,y=t.lineComment,b=!0===t.supportsAtComponent,k=!1!==e.highlightNonStandardPropertyKeywords;function x(e,t){return o=t,e}function w(i){return function(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==i&&!r){")"==i&&e.backUp(1);break}r=!r&&"\\"==n}return n!=i&&(r||")"==i)||(t.tokenize=null),o="string"}}function C(e,t){return e.next(),e.match(/^\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=w(")"),o="(",null}function S(e,t,n){this.type=e,this.indent=t,this.prev=n}function _(e,t,n,r){return e.context=new S(n,t.indentation()+(!1===r?0:i),e.context),n}function L(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function M(e,t,n){return O[n.context.type](e,t,n)}function T(e,t,n,r){for(var i=r||1;0<i;i--)n.context=n.context.prev;return M(e,t,n)}function A(e){e=e.current().toLowerCase();r=g.hasOwnProperty(e)?"atom":m.hasOwnProperty(e)?"keyword":"variable"}var O={top:function(e,t,n){if("{"==e)return _(n,t,"block");if("}"==e&&n.context.prev)return L(n);if(b&&/@component/i.test(e))return _(n,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return _(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return _(n,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return _(n,t,"at");if("hash"==e)r="builtin";else if("word"==e)r="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return _(n,t,"interpolation");if(":"==e)return"pseudo";if(v&&"("==e)return _(n,t,"parens")}return n.context.type},block:function(e,t,n){if("word"!=e)return"meta"==e?"block":v||"hash"!=e&&"qualifier"!=e?O.top(e,t,n):(r="error","block");n=t.current().toLowerCase();return d.hasOwnProperty(n)?(r="property","maybeprop"):f.hasOwnProperty(n)?(r=k?"string-2":"property","maybeprop"):v?(r=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(r+=" error","maybeprop")},maybeprop:function(e,t,n){return":"==e?_(n,t,"prop"):M(e,t,n)},prop:function(e,t,n){if(";"==e)return L(n);if("{"==e&&v)return _(n,t,"propBlock");if("}"==e||"{"==e)return T(e,t,n);if("("==e)return _(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)A(t);else if("interpolation"==e)return _(n,t,"interpolation")}else r+=" error";return"prop"},propBlock:function(e,t,n){return"}"==e?L(n):"word"==e?(r="property","maybeprop"):n.context.type},parens:function(e,t,n){return"{"==e||"}"==e?T(e,t,n):")"==e?L(n):"("==e?_(n,t,"parens"):"interpolation"==e?_(n,t,"interpolation"):("word"==e&&A(t),"parens")},pseudo:function(e,t,n){return"meta"==e?"pseudo":"word"==e?(r="variable-3",n.context.type):M(e,t,n)},documentTypes:function(e,t,n){return"word"==e&&s.hasOwnProperty(t.current())?(r="tag",n.context.type):O.atBlock(e,t,n)},atBlock:function(e,t,n){return"("==e?_(n,t,"atBlock_parens"):"}"==e||";"==e?T(e,t,n):"{"==e?L(n)&&_(n,t,v?"block":"top"):"interpolation"==e?_(n,t,"interpolation"):("word"==e&&(t=t.current().toLowerCase(),r="only"==t||"not"==t||"and"==t||"or"==t?"keyword":l.hasOwnProperty(t)?"attribute":c.hasOwnProperty(t)?"property":u.hasOwnProperty(t)?"keyword":d.hasOwnProperty(t)?"property":f.hasOwnProperty(t)?k?"string-2":"property":g.hasOwnProperty(t)?"atom":m.hasOwnProperty(t)?"keyword":"error"),n.context.type)},atComponentBlock:function(e,t,n){return"}"==e?T(e,t,n):"{"==e?L(n)&&_(n,t,v?"block":"top",!1):("word"==e&&(r="error"),n.context.type)},atBlock_parens:function(e,t,n){return")"==e?L(n):"{"==e||"}"==e?T(e,t,n,2):O.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,n){return"{"==e?_(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(r="variable","restricted_atBlock_before"):M(e,t,n)},restricted_atBlock:function(e,t,n){return"}"==e?(n.stateArg=null,L(n)):"word"==e?(r="@font-face"==n.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!p.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,n){return"word"==e?(r="variable","keyframes"):"{"==e?_(n,t,"top"):M(e,t,n)},at:function(e,t,n){return";"==e?L(n):"{"==e||"}"==e?T(e,t,n):("word"==e?r="tag":"hash"==e&&(r="builtin"),"at")},interpolation:function(e,t,n){return"}"==e?L(n):"{"==e||";"==e?T(e,t,n):("word"==e?r="variable":"variable"!=e&&"("!=e&&")"!=e&&(r="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new S(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||function(e,t){var n=e.next();if(a[n]){var r=a[n](e,t);if(!1!==r)return r}return"@"==n?(e.eatWhile(/[\w\\\-]/),x("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?(o="compare",null):'"'==n||"'"==n?(t.tokenize=w(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),o="hash","atom"):"!"==n?(e.match(/^\s*\w*/),o="important","keyword"):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),o="unit","number"):"-"===n?/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),o="unit","number"):e.match(/^-[\w\\\-]*/)?(e.eatWhile(/[\w\\\-]/),o=e.match(/^\s*:/,!1)?"variable-definition":"variable","variable-2"):e.match(/^\w+-/)?o="meta":void 0:/[,+>*\/]/.test(n)?(o="select-op",null):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?o="qualifier":/[:;{}\[\]\(\)]/.test(n)?x(null,n):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(t.tokenize=C),o="variable","variable callee"):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),o="word","property"):o=null})(e,t);return n&&"object"==typeof n&&(o=n[1],n=n[0]),r=n,"comment"!=o&&(t.state=O[t.state](o,e,t)),r},indent:function(e,t){var n=e.context,e=t&&t.charAt(0),t=n.indent;return(n="prop"==n.type&&("}"==e||")"==e)?n.prev:n).prev&&("}"!=e||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=e||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=e||"at"!=n.type&&"atBlock"!=n.type)||(t=Math.max(0,n.indent-i)):t=(n=n.prev).indent),t},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],n=e(t),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=e(r),o=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme"],a=e(o),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light"],l=e(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],u=e(c),d=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],f=e(d),h=e(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),p=e(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),m=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=e(m),v=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=e(v),v=t.concat(r).concat(o).concat(s).concat(c).concat(d).concat(m).concat(v);function b(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}N.registerHelper("hintWords","css",v),N.defineMIME("text/css",{documentTypes:n,mediaTypes:i,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:f,fontProperties:h,counterDescriptors:p,colorKeywords:g,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=b)(e,t)}},name:"css"}),N.defineMIME("text/x-scss",{mediaTypes:i,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:y,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=b)(e,t):["operator","operator"]},":":function(e){return!!e.match(/^\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),N.defineMIME("text/x-less",{mediaTypes:i,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:f,colorKeywords:g,valueKeywords:y,fontProperties:h,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=b)(e,t):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),N.defineMIME("text/x-gss",{documentTypes:n,mediaTypes:i,mediaFeatures:a,propertyKeywords:u,nonStandardPropertyKeywords:f,fontProperties:h,counterDescriptors:p,colorKeywords:g,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=b)(e,t)}},name:"css",helperType:"gss"})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],e):e(CodeMirror)}(function(d){"use strict";var i={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};var n={};function f(e,t){t=e.match(n[t=t]||(n[t]=new RegExp("\\s+"+t+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*")));return t?/^\s*(.*?)\s*$/.exec(t[2])[1]:""}function h(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function o(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),i=e[n],o=i.length-1;0<=o;o--)r.unshift(i[o])}d.defineMode("htmlmixed",function(s,e){var l=d.getMode(s,{name:"xml",htmlMode:!0,multilineTagIndentFactor:e.multilineTagIndentFactor,multilineTagIndentPastTag:e.multilineTagIndentPastTag,allowMissingTagName:e.allowMissingTagName}),c={},t=e&&e.tags,n=e&&e.scriptTypes;if(o(i,c),t&&o(t,c),n)for(var r=n.length-1;0<=r;r--)c.script.unshift(["type",n[r].matches,n[r].mode]);function u(e,t){var n,o,a,r=l.token(e,t.htmlState),i=/\btag\b/.test(r);return i&&!/[<>\s\/]/.test(e.current())&&(n=t.htmlState.tagName&&t.htmlState.tagName.toLowerCase())&&c.hasOwnProperty(n)?t.inTag=n+" ":t.inTag&&i&&/>$/.test(e.current())?(n=/^([\S]+) (.*)/.exec(t.inTag),t.inTag=null,i=">"==e.current()&&function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(!r[0]||r[1].test(f(t,r[0])))return r[2]}}(c[n[1]],n[2]),i=d.getMode(s,i),o=h(n[1],!0),a=h(n[1],!1),t.token=function(e,t){return e.match(o,!1)?(t.token=u,t.localState=t.localMode=null):(n=e,r=a,i=t.localMode.token(e,t.localState),e=n.current(),-1<(t=e.search(r))?n.backUp(e.length-t):e.match(/<\/?$/)&&(n.backUp(e.length),n.match(r,!1)||n.match(e)),i);var n,r,i},t.localMode=i,t.localState=d.startState(i,l.indent(t.htmlState,"",""))):t.inTag&&(t.inTag+=e.current(),e.eol()&&(t.inTag+=" ")),r}return{startState:function(){return{token:u,inTag:null,localMode:null,localState:null,htmlState:d.startState(l)}},copyState:function(e){var t;return e.localState&&(t=d.copyState(e.localMode,e.localState)),{token:e.token,inTag:e.inTag,localMode:e.localMode,localState:t,htmlState:d.copyState(l,e.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(e,t,n){return!e.localMode||/^\s*<\//.test(t)?l.indent(e.htmlState,t,n):e.localMode.indent?e.localMode.indent(e.localState,t,n):d.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||l}}}},"xml","javascript","css"),d.defineMIME("text/html","htmlmixed")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(A){"use strict";function O(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=i,this.prev=o}function N(e,t,n,r){var i=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(i=e.context.indented),e.context=new O(i,t,n,r,null,e.context)}function E(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function I(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function P(e){for(;;){if(!e||"top"==e.type)return 1;if("}"==e.type&&"namespace"!=e.prev.info)return;e=e.prev}}function e(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function R(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}A.defineMode("clike",function(e,a){var s,l,c=e.indentUnit,u=a.statementIndentUnit||c,d=a.dontAlignCalls,i=a.keywords||{},f=a.types||{},h=a.builtin||{},p=a.blockKeywords||{},m=a.defKeywords||{},g=a.atoms||{},v=a.hooks||{},y=a.multiLineStrings,o=!1!==a.indentStatements,e=!1!==a.indentSwitch,b=a.namespaceSeparator,k=a.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,x=a.numberStart||/[\d\.]/,w=a.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,C=a.isOperatorChar||/[+\-*&%=<>!?|\/]/,S=a.isIdentifierChar||/[\w\$_\xa1-\uffff]/,_=a.isReservedIdentifier||!1;function L(e,t){var o,n=e.next();if(v[n]){var r=v[n](e,t);if(!1!==r)return r}if('"'==n||"'"==n)return t.tokenize=(o=n,function(e,t){for(var n,r=!1,i=!1;null!=(n=e.next());){if(n==o&&!r){i=!0;break}r=!r&&"\\"==n}return!i&&(r||y)||(t.tokenize=null),"string"}),t.tokenize(e,t);if(x.test(n)){if(e.backUp(1),e.match(w))return"number";e.next()}if(k.test(n))return s=n,null;if("/"==n){if(e.eat("*"))return(t.tokenize=M)(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(C.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(C););return"operator"}if(e.eatWhile(S),b)for(;e.match(b);)e.eatWhile(S);n=e.current();return R(i,n)?(R(p,n)&&(s="newstatement"),R(m,n)&&(l=!0),"keyword"):R(f,n)?"type":R(h,n)||_&&_(n)?(R(p,n)&&(s="newstatement"),"builtin"):R(g,n)?"atom":"variable"}function M(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function T(e,t){a.typeFirstDefinitions&&e.eol()&&P(t.context)&&(t.typeAtEndOfLine=I(e,t,e.pos))}return{startState:function(e){return{tokenize:null,context:new O((e||0)-c,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return T(e,t),null;s=l=null;var r,i=(t.tokenize||L)(e,t);if("comment"==i||"meta"==i)return i;if(null==n.align&&(n.align=!0),";"==s||":"==s||","==s&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)E(t);else if("{"==s)N(t,e.column(),"}");else if("["==s)N(t,e.column(),"]");else if("("==s)N(t,e.column(),")");else if("}"==s){for(;"statement"==n.type;)n=E(t);for("}"==n.type&&(n=E(t));"statement"==n.type;)n=E(t)}else s==n.type?E(t):o&&(("}"==n.type||"top"==n.type)&&";"!=s||"statement"==n.type&&"newstatement"==s)&&N(t,e.column(),"statement",e.current());return"variable"==i&&("def"==t.prevToken||a.typeFirstDefinitions&&I(e,t,e.start)&&P(t.context)&&e.match(/^\s*\(/,!1))&&(i="def"),!v.token||void 0!==(r=v.token(e,t,i))&&(i=r),"def"==i&&!1===a.styleDefs&&(i="variable"),t.startOfLine=!1,t.prevToken=l?"def":i||s,T(e,t),i},indent:function(e,t){if(e.tokenize!=L&&null!=e.tokenize||e.typeAtEndOfLine)return A.Pass;var n=e.context,r=t&&t.charAt(0),i=r==n.type;if("statement"==n.type&&"}"==r&&(n=n.prev),a.dontIndentStatements)for(;"statement"==n.type&&a.dontIndentStatements.test(n.info);)n=n.prev;if(v.indent){var o=v.indent(e,n,t,c);if("number"==typeof o)return o}o=n.prev&&"switch"==n.prev.info;if(a.allmanIndentation&&/[{(]/.test(r)){for(;"top"!=n.type&&"}"!=n.type;)n=n.prev;return n.indented}return"statement"==n.type?n.indented+("{"==r?0:u):!n.align||d&&")"==n.type?")"!=n.type||i?n.indented+(i?0:c)+(i||!o||/^(?:case|default)\b/.test(t)?0:c):n.indented+u:n.column+(i?0:1)},electricInput:e?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",n="alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq",r="bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available",i="FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT",o=e("int long char short double float unsigned signed void bool"),a=e("SEL instancetype id Class Protocol BOOL");function s(e){return R(o,e)||/.+_t$/.test(e)}function l(e){return s(e)||R(a,e)}var c="case do else for if switch while struct enum union",u="struct enum union";function d(e,t){if(!t.startOfLine)return!1;for(var n,r=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){r=d;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=r,"meta"}function f(e,t){return"type"==t.prevToken&&"type"}function h(e){return!(!e||e.length<2)&&("_"==e[0]&&("_"==e[1]||e[1]!==e[1].toLowerCase()))}function p(e){return e.eatWhile(/[\w\.']/),"number"}function m(e,t){if(e.backUp(1),e.match(/^(?:R|u8R|uR|UR|LR)/)){var n=e.match(/^"([^\s\\()]{0,16})\(/);return n?(t.cpp11RawStringDelim=n[1],(t.tokenize=y)(e,t)):!1}return e.match(/^(?:u8|u|U|L)/)?!!e.match(/^["']/,!1)&&"string":(e.next(),!1)}function g(e){e=/(\w+)::~?(\w+)$/.exec(e);return e&&e[1]==e[2]}function v(e,t){for(var n;null!=(n=e.next());)if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function y(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+n+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function b(e,t){"string"==typeof e&&(e=[e]);var n=[];function r(e){if(e)for(var t in e)e.hasOwnProperty(t)&&n.push(t)}r(t.keywords),r(t.types),r(t.builtin),r(t.atoms),n.length&&(t.helperType=e[0],A.registerHelper("hintWords",e[0],n));for(var i=0;i<e.length;++i)A.defineMIME(e[i],t)}function k(e,t){for(var n=!1;!e.eol();){if(!n&&e.match('"""')){t.tokenize=null;break}n="\\"==e.next()&&!n}return"string"}function x(r){return function(e,t){for(var n;n=e.next();){if("*"==n&&e.eat("/")){if(1!=r)return t.tokenize=x(r-1),t.tokenize(e,t);t.tokenize=null;break}if("/"==n&&e.eat("*"))return t.tokenize=x(r+1),t.tokenize(e,t)}return"comment"}}b(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:e(t),types:s,blockKeywords:e(c),defKeywords:e(u),typeFirstDefinitions:!0,atoms:e("NULL true false"),isReservedIdentifier:h,hooks:{"#":d,"*":f},modeProps:{fold:["brace","include"]}}),b(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:e(t+" "+n),types:s,blockKeywords:e(c+" class try catch"),defKeywords:e(u+" class namespace"),typeFirstDefinitions:!0,atoms:e("true false NULL nullptr"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,isReservedIdentifier:h,hooks:{"#":d,"*":f,u:m,U:m,L:m,R:m,0:p,1:p,2:p,3:p,4:p,5:p,6:p,7:p,8:p,9:p,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&g(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),b("text/x-java",{name:"clike",keywords:e("abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:e("var byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:e("catch class do else finally for if switch try while"),defKeywords:e("class interface enum @interface"),typeFirstDefinitions:!0,atoms:e("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),b("text/x-csharp",{name:"clike",keywords:e("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:e("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:e("catch class do else finally for foreach if struct switch try while"),defKeywords:e("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:e("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=v)(e,t):(e.eatWhile(/[\w\$_]/),"meta")}}}),b("text/x-scala",{name:"clike",keywords:e("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:e("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:e("catch class enum do else finally for forSome if match switch try while"),defKeywords:e("class enum def object package trait type val var"),atoms:e("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=k,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var n=t.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(t.context=new O(n.indented,n.column,n.type,n.info,null,n.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=x(1),t.tokenize(e,t))}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}}),b("text/x-kotlin",{name:"clike",keywords:e("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam value"),types:e("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:e("catch class do else finally for if where try while enum"),defKeywords:e("class val var object interface fun"),atoms:e("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return"."==t.prevToken?"variable":"operator"},'"':function(e,t){var o;return t.tokenize=(o=e.match('""'),function(e,t){for(var n,r=!1,i=!1;!e.eol();){if(!o&&!r&&e.match('"')){i=!0;break}if(o&&e.match('"""')){i=!0;break}n=e.next(),!r&&"$"==n&&e.match("{")&&e.skipTo("}"),r=!r&&"\\"==n&&!o}return!i&&o||(t.tokenize=null),"string"}),t.tokenize(e,t)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=x(1),t.tokenize(e,t))},indent:function(e,t,n,r){var i=n&&n.charAt(0);return"}"!=e.prevToken&&")"!=e.prevToken||""!=n?"operator"==e.prevToken&&"}"!=n&&"}"!=e.context.type||"variable"==e.prevToken&&"."==i||("}"==e.prevToken||")"==e.prevToken)&&"."==i?2*r+t.indented:t.align&&"}"==t.type?t.indented+(e.context.type==(n||"").charAt(0)?0:r):void 0:e.indented}},modeProps:{closeBrackets:{triples:'"'}}}),b(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:e("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:e("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:e("for while do if else struct"),builtin:e("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:e("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":d},modeProps:{fold:["brace","include"]}}),b("text/x-nesc",{name:"clike",keywords:e(t+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:s,blockKeywords:e(c),atoms:e("null true false"),hooks:{"#":d},modeProps:{fold:["brace","include"]}}),b("text/x-objectivec",{name:"clike",keywords:e(t+" "+r),types:l,builtin:e(i),blockKeywords:e(c+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:e(u+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:e("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:h,hooks:{"#":d,"*":f},modeProps:{fold:["brace","include"]}}),b("text/x-objectivec++",{name:"clike",keywords:e(t+" "+r+" "+n),types:l,builtin:e(i),blockKeywords:e(c+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:e(u+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:e("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:h,hooks:{"#":d,"*":f,u:m,U:m,L:m,R:m,0:p,1:p,2:p,3:p,4:p,5:p,6:p,7:p,8:p,9:p,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&g(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),b("text/x-squirrel",{name:"clike",keywords:e("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:s,blockKeywords:e("case catch class else for foreach if switch try while"),defKeywords:e("function local class"),typeFirstDefinitions:!0,atoms:e("true false null"),hooks:{"#":d},modeProps:{fold:["brace","include"]}});var w=null;b("text/x-ceylon",{name:"clike",keywords:e("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){e=e.charAt(0);return e===e.toUpperCase()&&e!==e.toLowerCase()},blockKeywords:e("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:e("class dynamic function interface module object package value"),builtin:e("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:e("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=function o(a){return function(e,t){for(var n,r=!1,i=!1;!e.eol();){if(!r&&e.match('"')&&("single"==a||e.match('""'))){i=!0;break}if(!r&&e.match("``")){w=o(a),i=!0;break}n=e.next(),r="single"==a&&!r&&"\\"==n}return i&&(t.tokenize=null),"string"}}(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!w||!e.match("`"))&&(t.tokenize=w,w=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../clike/clike"],e):e(CodeMirror)}(function(l){"use strict";function e(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function s(i,o,a){return 0==i.length?c(o):function(e,t){for(var n=i[0],r=0;r<n.length;r++)if(e.match(n[r][0]))return t.tokenize=s(i.slice(1),o),n[r][1];return t.tokenize=c(o,a),"string"}}function c(n,r){return function(e,t){return function(e,t,n,r){if(!1!==r&&e.match("${",!1)||e.match("{$",!1))return t.tokenize=null,"string";if(!1!==r&&e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return e.match("[",!1)&&(t.tokenize=s([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],n,r)),e.match(/^->\w/,!1)&&(t.tokenize=s([[["->",null]],[[/[\w]+/,"variable"]]],n,r)),"variable-2";var i=!1;for(;!e.eol()&&(i||!1===r||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!i&&e.match(n)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break}i="\\"==e.next()&&!i}return"string"}(e,t,n,r)}}var t="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",n="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",r="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage memory_get_peak_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";l.registerHelper("hintWords","php",[t,n,r].join(" ").split(" ")),l.registerHelper("wordChars","php",/[\w$]/);var i={name:"clike",helperType:"php",keywords:e(t),blockKeywords:e("catch do else elseif for foreach if switch try while finally"),defKeywords:e("class function interface namespace trait"),atoms:e(n),builtin:e(r),multiLineStrings:!0,hooks:{$:function(e){return e.eatWhile(/[\w\$_]/),"variable-2"},"<":function(e,t){if(r=e.match(/^<<\s*/)){var n=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var r=e.current().slice(r[0].length+(n?2:1));if(n&&e.eat(n),r)return(t.tokStack||(t.tokStack=[])).push(r,0),t.tokenize=c(r,"'"!=n),"string"}return!1},"#":function(e){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"},"/":function(e){if(e.eat("/")){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"}return!1},'"':function(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=c('"'),"string"},"{":function(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1},"}":function(e,t){return t.tokStack&&0<t.tokStack.length&&!--t.tokStack[t.tokStack.length-1]&&(t.tokenize=c(t.tokStack[t.tokStack.length-2])),!1}}};l.defineMode("php",function(e,n){var a=l.getMode(e,n&&n.htmlMode||"text/html"),s=l.getMode(e,i);return{startState:function(){var e=l.startState(a),t=n.startOpen?l.startState(s):null;return{html:e,php:t,curMode:n.startOpen?s:a,curState:n.startOpen?t:e,pending:null}},copyState:function(e){var t=e.html,n=l.copyState(a,t),r=e.php,t=r&&l.copyState(s,r),r=e.curMode==a?n:t;return{html:n,php:t,curMode:e.curMode,curState:r,pending:e.pending}},token:function(e,t){var n=t.curMode==s;if(e.sol()&&t.pending&&'"'!=t.pending&&"'"!=t.pending&&(t.pending=null),n)return null==t.php.tokenize&&e.match("?>")?(t.curMode=a,t.curState=t.html,t.php.context.prev||(t.php=null),"meta"):s.token(e,t.curState);if(e.match(/^<\?\w*/))return t.curMode=s,t.php||(t.php=l.startState(s,a.indent(t.html,"",""))),t.curState=t.php,"meta";if('"'==t.pending||"'"==t.pending){for(;!e.eol()&&e.next()!=t.pending;);var r="string"}else r=t.pending&&e.pos<t.pending.end?(e.pos=t.pending.end,t.pending.style):a.token(e,t.curState);t.pending&&(t.pending=null);var i,o=e.current();return-1!=(n=o.search(/<\?/))&&("string"==r&&(i=o.match(/[\'\"]$/))&&!/\?>/.test(o)?t.pending=i[0]:t.pending={end:e.pos,style:r},e.backUp(o.length-n)),r},indent:function(e,t,n){return e.curMode!=s&&/^\s*<\//.test(t)||e.curMode==s&&/^\?>/.test(t)?a.indent(e.html,t,n):e.curMode.indent(e.curState,t,n)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(e){return{state:e.curState,mode:e.curMode}}}},"htmlmixed","clike"),l.defineMIME("application/x-httpd-php","php"),l.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),l.defineMIME("text/x-php",i)}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var C={allowUnquoted:!0,allowMissing:!0,caseFold:!0};e.defineMode("shortcode",function(e,t){var n,r,o,a,s=e.indentUnit,l={},i=C;for(n in i)l[n]=i[n];for(r in t)l[r]=t[r];function c(e,t){return"["===e.next()?"["===e.peek()?(t.tokenize=u,"comment"):/\s/.test(e.peek())?null:(o=e.eat("/")?"closeTag":"openTag",t.tokenize=d,"tag bracket"):(e.eatWhile(/[^\[]/),null)}function u(e,t){function n(e,t){return e.next(),t.tokenize=c,"comment"}return n.isInEscape=!0,"]"===e.next()&&"]"===e.peek()&&(t.tokenize=n),e.eatWhile(/[^\]]/),null}function d(e,t){var n=e.next();if("]"===n||"/"===n&&e.eat("]"))return t.tokenize=c,o="endTag","tag bracket";if("="===n)return o="equals",null;if("["!==n)return/[\'\"]/.test(n)?(t.tokenize=(r=n,i.isInAttribute=!0,i),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=\[\]\"\']*[^\s\u00a0=\[\]\"\'\/]/),"word");t.tokenize=c,t.state=p,t.tagName=t.tagStart=null;var r,t=t.tokenize(e,t);return t?t+" tag error":"tag error";function i(e,t){var n=e.next();return n===r?(t.tokenize=d,"string"):/[\[\]]/.test(n)?"string error":(e.eatWhile(/[^\[\]\'\"]/),"string")}}function f(e,t,n){this.tagHistory=[t],e.context&&(this.tagHistory=this.tagHistory.concat(e.context.tagHistory)),this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n}function h(e){e.context&&(e.context=e.context.prev)}function p(e,t,n){return"openTag"===e?(n.tagStart=t.column(),m):"closeTag"===e?g:p}function m(e,t,n){if("word"!==e)return a="error",m;e=t.current();return a=/[\[\]\/\'\"<>&]/.test(e)?"error":(n.tagName=t.current(),"tag"),b}function g(e,t,n){if("word"!==e)return a="error",y;t=t.current();if(n.context&&n.context.tagName===t||!1===l.matchClosing)return a="tag",v;if(n.context&&0<n.context.tagHistory.indexOf(t)){for(var r=n.context.tagHistory.indexOf(t),i=0;i<r;i++)h(n);return a="tag",v}return a="tag error",y}function v(e,t,n){return"endTag"!==e?(a="error",v):(h(n),p)}function y(e,t,n){return a="error",v(e,0,n)}function b(e,t,n){if("word"===e)return a=/^[a-z0-9_\-]+$/i.test(t.current())?"attribute":"error",k;if("endTag"!==e)return a="error",b;t=n.tagName,e=n.tagStart;return n.tagName=n.tagStart=null,n.context=new f(n,t,e===n.indented),p}function k(e,t,n){return"equals"===e?x:(l.allowMissing||(a="error"),b(e,t,n))}function x(e,t,n){return"string"===e?w:"word"===e&&l.allowUnquoted?(a="string",b):(a="error",b(e,t,n))}function w(e,t,n){return"string"===e?w:b(e,t,n)}return u.isInEscape=c.isInText=!0,{startState:function(e){var t={tokenize:c,state:p,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!==n&&(a=null,t.state=t.state(o||n,e,t),a&&(n="error"===a?n+" error":a)),n},indent:function(e,t,n){var r=e.context;if(e.tokenize.isInAttribute)return e.tagStart===e.indented?e.stringStartCol+1:e.indented+s;if(e.tokenize!==d&&e.tokenize!==c)return n?n.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==l.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+s*(l.multilineTagIndentFactor||1);var i=t&&/^\[(\/)?([\w_:\.-]*)/.exec(t);if(i&&i[1])for(;r&&r.tagName===i[2];){r=r.prev;break}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+s:e.baseIndent||0},skipAttribute:function(e){e.state===x&&(e.state=b)}}})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],e):e(CodeMirror)}(function(n){"use strict";n.defineMode("wordpresspost",function(e,t){var a=n.getMode(e,{name:"htmlmixed",multilineTagIndentFactor:t.multilineTagIndentFactor,multilineTagIndentPastTag:t.multilineTagIndentPastTag}),s=n.getMode(e,{name:"shortcode",multilineTagIndentFactor:t.multilineTagIndentFactor,multilineTagIndentPastTag:t.multilineTagIndentPastTag});function l(e,t){t.isInShortcode=!0;var n=s.token(e,t.shortcodeState),r=t.shortcodeState.tokenize.isInText,i=t.shortcodeState.tokenize.isInEscape;return r?t.token=o:i&&/\]/.test(e.current())&&(i=(r=e.current()).search(/\]/),e.backUp(r.length-i-1),"]"!==e.peek()&&(t.token=o)),n}function o(e,t){t.isInShortcode=!1;var n,r,i=a.token(e,t.htmlmixedState),o=t.htmlmixedState.htmlState.tokenize.isInText;return o&&/\[/.test(e.current())&&!t.htmlmixedState.localState&&null===i?(r=(n=e.current()).search(/\[/),e.backUp(n.length-r),null==t.shortcodeState&&(t.shortcodeState=s.startState(a.indent(t.htmlmixedState,""))),t.token=l):o&&/<!\-\-more|<!\-\-(noteaser|nextpage)\-\->?/.test(e.current())&&!t.htmlmixedState.localState&&"comment"===i&&(e.backUp(e.current().length),t.token=c),i}function c(e,t){return e.match("\x3c!--more")?"meta":e.match("--\x3e")||e.match("\x3c!--noteaser--\x3e")||e.match("\x3c!--nextpage--\x3e")?(t.token=o,"meta"):(e.eatWhile(/[^\-/]/),"string")}return{startState:function(){return{token:o,isInShortcode:!1,shortcodeState:null,htmlmixedState:a.startState()}},copyState:function(e){var t;return e.shortcodeState&&(t=n.copyState(s,e.shortcodeState)),{token:e.token,shortcodeState:t,htmlmixedState:n.copyState(a,e.htmlmixedState)}},token:function(e,t){return t.token(e,t)},indent:function(e,t){return e.isInShortcode?e.isInShortcode?s.indent(e.shortcodeState,t):n.Pass:a.indent(e.htmlmixedState,t)},innerMode:function(e){return e.isInShortcode?{state:e.shortcodeState,mode:s}:{state:e.htmlmixedState,mode:a}}}},"htmlmixed","shortcode")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(r){"use strict";var a="CodeMirror-activeline",s="CodeMirror-activeline-background",l="CodeMirror-activeline-gutter";function c(e){for(var t=0;t<e.state.activeLines.length;t++)e.removeLineClass(e.state.activeLines[t],"wrap",a),e.removeLineClass(e.state.activeLines[t],"background",s),e.removeLineClass(e.state.activeLines[t],"gutter",l)}function i(t,e){for(var n=[],r=0;r<e.length;r++){var i=e[r],o=t.getOption("styleActiveLine");("object"==typeof o&&o.nonEmpty?i.anchor.line==i.head.line:i.empty())&&(i=t.getLineHandleVisualStart(i.head.line),n[n.length-1]!=i&&n.push(i))}!function(e,t){if(e.length==t.length){for(var n=0;n<e.length;n++)if(e[n]!=t[n])return;return 1}}(t.state.activeLines,n)&&t.operation(function(){c(t);for(var e=0;e<n.length;e++)t.addLineClass(n[e],"wrap",a),t.addLineClass(n[e],"background",s),t.addLineClass(n[e],"gutter",l);t.state.activeLines=n})}function o(e,t){i(e,t.ranges)}r.defineOption("styleActiveLine",!1,function(e,t,n){n=n!=r.Init&&n;t!=n&&(n&&(e.off("beforeSelectionChange",o),c(e),delete e.state.activeLines),t&&(e.state.activeLines=[],i(e,e.listSelections()),e.on("beforeSelectionChange",o)))})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(i){"use strict";var g,v,y=i.Pos;function p(e,t){for(var n,r,n=null!=(r=(n=e).flags)?r:(n.ignoreCase?"i":"")+(n.global?"g":"")+(n.multiline?"m":""),i=n,o=0;o<t.length;o++)-1==i.indexOf(t.charAt(o))&&(i+=t.charAt(o));return n==i?e:new RegExp(e.source,i)}function m(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}function h(e,t,n){t=p(t,"g");for(var r=n.line,i=n.ch,o=e.lastLine();r<=o;r++,i=0){t.lastIndex=i;var a=e.getLine(r),a=t.exec(a);if(a)return{from:y(r,a.index),to:y(r,a.index+a[0].length),match:a}}}function o(e,t,n){if(!m(t))return h(e,t,n);t=p(t,"gm");for(var r=1,i=n.line,o=e.lastLine();i<=o;){for(var a=0;a<r&&!(o<i);a++)var s=e.getLine(i++),l=null==l?s:l+"\n"+s;r*=2,t.lastIndex=n.ch;var c=t.exec(l);if(c){var u=l.slice(0,c.index).split("\n"),d=c[0].split("\n"),f=n.line+u.length-1,u=u[u.length-1].length;return{from:y(f,u),to:y(f+d.length-1,1==d.length?u+d[0].length:d[d.length-1].length),match:c}}}}function b(e,t,n){for(var r,i=0;i<=e.length;){t.lastIndex=i;var o=t.exec(e);if(!o)break;var a=o.index+o[0].length;if(a>e.length-n)break;(!r||a>r.index+r[0].length)&&(r=o),i=o.index+1}return r}function k(e,t,n){t=p(t,"g");for(var r=n.line,i=n.ch,o=e.firstLine();o<=r;r--,i=-1){var a=e.getLine(r),a=b(a,t,i<0?0:a.length-i);if(a)return{from:y(r,a.index),to:y(r,a.index+a[0].length),match:a}}}function a(e,t,n){if(!m(t))return k(e,t,n);t=p(t,"gm");for(var r=1,i=e.getLine(n.line).length-n.ch,o=n.line,a=e.firstLine();a<=o;){for(var s=0;s<r&&a<=o;s++)var l=e.getLine(o--),c=null==c?l:l+"\n"+c;r*=2;var u=b(c,t,i);if(u){var d=c.slice(0,u.index).split("\n"),f=u[0].split("\n"),h=o+d.length,d=d[d.length-1].length;return{from:y(h,d),to:y(h+f.length-1,1==f.length?d+f[0].length:f[f.length-1].length),match:u}}}}function x(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;n<s?o=a:i=1+a}}function s(e,t,n,r){if(!t.length)return null;var i=r?g:v,o=i(t).split(/\r|\n\r?/);e:for(var a=n.line,s=n.ch,l=e.lastLine()+1-o.length;a<=l;a++,s=0){var c=e.getLine(a).slice(s),u=i(c);if(1==o.length){var d=u.indexOf(o[0]);if(-1!=d){n=x(c,u,d,i)+s;return{from:y(a,x(c,u,d,i)+s),to:y(a,x(c,u,d+o[0].length,i)+s)}}}else{var f=u.length-o[0].length;if(u.slice(f)==o[0]){for(var h=1;h<o.length-1;h++)if(i(e.getLine(a+h))!=o[h])continue e;var p=e.getLine(a+o.length-1),m=i(p),d=o[o.length-1];if(m.slice(0,d.length)==d)return{from:y(a,x(c,u,f,i)+s),to:y(a+o.length-1,x(p,m,d.length,i))}}}}}function l(e,t,n,r){if(!t.length)return null;var i=r?g:v,o=i(t).split(/\r|\n\r?/);e:for(var a=n.line,s=n.ch,l=e.firstLine()-1+o.length;l<=a;a--,s=-1){var c=e.getLine(a),u=i(c=-1<s?c.slice(0,s):c);if(1==o.length){var d=u.lastIndexOf(o[0]);if(-1!=d)return{from:y(a,x(c,u,d,i)),to:y(a,x(c,u,d+o[0].length,i))}}else{var f=o[o.length-1];if(u.slice(0,f.length)==f){for(var h=1,n=a-o.length+1;h<o.length-1;h++)if(i(e.getLine(n+h))!=o[h])continue e;var p=e.getLine(a+1-o.length),d=i(p);if(d.slice(d.length-o[0].length)==o[0])return{from:y(a+1-o.length,x(p,d,p.length-o[0].length,i)),to:y(a,x(c,u,f.length,i))}}}}}function r(n,r,e,t){var i;this.atOccurrence=!1,this.doc=n,e=e?n.clipPos(e):y(0,0),this.pos={from:e,to:e},"object"==typeof t?i=t.caseFold:(i=t,t=null),"string"==typeof r?(null==i&&(i=!1),this.matches=function(e,t){return(e?l:s)(n,r,t,i)}):(r=p(r,"gm"),t&&!1===t.multiline?this.matches=function(e,t){return(e?k:h)(n,r,t)}:this.matches=function(e,t){return(e?a:o)(n,r,t)})}v=String.prototype.normalize?(g=function(e){return e.normalize("NFD").toLowerCase()},function(e){return e.normalize("NFD")}):(g=function(e){return e.toLowerCase()},function(e){return e}),r.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(e){for(var t=this.matches(e,this.doc.clipPos(e?this.pos.from:this.pos.to));t&&0==i.cmpPos(t.from,t.to);)e?t.from.ch?t.from=y(t.from.line,t.from.ch-1):t=t.from.line==this.doc.firstLine()?null:this.matches(e,this.doc.clipPos(y(t.from.line-1))):t.to.ch<this.doc.getLine(t.to.line).length?t.to=y(t.to.line,t.to.ch+1):t=t.to.line==this.doc.lastLine()?null:this.matches(e,y(t.to.line+1,0));if(t)return this.pos=t,this.atOccurrence=!0,this.pos.match||!0;var n=y(e?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:n,to:n},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(e,t){this.atOccurrence&&(e=i.splitLines(e),this.doc.replaceRange(e,this.pos.from,this.pos.to,t),this.pos.to=y(this.pos.from.line+e.length-1,e[e.length-1].length+(1==e.length?this.pos.from.ch:0)))}},i.defineExtension("getSearchCursor",function(e,t,n){return new r(this.doc,e,t,n)}),i.defineDocExtension("getSearchCursor",function(e,t,n){return new r(this,e,t,n)}),i.defineExtension("selectMatches",function(e,t){for(var n=[],r=this.getSearchCursor(e,this.getCursor("from"),t);r.findNext()&&!(0<i.cmpPos(r.to(),this.getCursor("to")));)n.push({anchor:r.from(),head:r.to()});n.length&&this.setSelections(n,0)})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("./searchcursor"),require("../dialog/dialog")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../dialog/dialog"],e):e(CodeMirror)}(function(d){"use strict";function t(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function f(e){return e.state.search||(e.state.search=new t)}function i(e){return"string"==typeof e&&e==e.toLowerCase()}function h(e,t,n){return e.getSearchCursor(t,n,{caseFold:i(t),multiline:!0})}function p(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(n,r))}function m(e){return e.replace(/\\([nrt\\])/g,function(e,t){return"n"==t?"\n":"r"==t?"\r":"t"==t?"\t":"\\"==t?"\\":e})}function o(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(e){}else e=m(e);return e=("string"==typeof e?""==e:e.test(""))?/x^/:e}function g(e,t,n){var r;t.queryText=n,t.query=o(n),e.removeOverlay(t.overlay,i(t.query)),t.overlay=(r=t.query,n=i(t.query),"string"==typeof r?r=new RegExp(r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),n?"gi":"g"):r.global||(r=new RegExp(r.source,r.ignoreCase?"gi":"g")),{token:function(e){r.lastIndex=e.pos;var t=r.exec(e.string);if(t&&t.index==e.pos)return e.pos+=t[0].length||1,"searching";t?e.pos=t.index:e.skipToEnd()}}),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,i(t.query)))}function n(i,t,e,n){var r=f(i);if(r.query)return v(i,t);var o,a,s,l,c,u=i.getSelection()||r.lastQuery;u instanceof RegExp&&"x^"==u.source&&(u=null),e&&i.openDialog?(o=null,a=function(e,t){d.e_stop(t),e&&(e!=r.queryText&&(g(i,r,e),r.posFrom=r.posTo=i.getCursor()),o&&(o.style.opacity=1),v(i,t.shiftKey,function(e,t){var n;t.line<3&&document.querySelector&&(n=i.display.wrapper.querySelector(".CodeMirror-dialog"))&&n.getBoundingClientRect().bottom-4>i.cursorCoords(t,"window").top&&((o=n).style.opacity=.4)}))},l=k(s=i),c=u,e=function(e,t){var n=d.keyName(e),r=i.getOption("extraKeys"),n=r&&r[n]||d.keyMap[i.getOption("keyMap")][n];"findNext"==n||"findPrev"==n||"findPersistentNext"==n||"findPersistentPrev"==n?(d.e_stop(e),g(i,f(i),t),i.execCommand(n)):"find"!=n&&"findPersistent"!=n||(d.e_stop(e),a(t,e))},s.openDialog(l,a,{value:c,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){y(s)},onKeyDown:e,bottom:s.options.search.bottom}),n&&u&&(g(i,r,u),v(i,t))):p(i,k(i),"Search for:",u,function(e){e&&!r.query&&i.operation(function(){g(i,r,e),r.posFrom=r.posTo=i.getCursor(),v(i,t)})})}function v(n,r,i){n.operation(function(){var e=f(n),t=h(n,e.query,r?e.posFrom:e.posTo);(t.find(r)||(t=h(n,e.query,r?d.Pos(n.lastLine()):d.Pos(n.firstLine(),0))).find(r))&&(n.setSelection(t.from(),t.to()),n.scrollIntoView({from:t.from(),to:t.to()},20),e.posFrom=t.from(),e.posTo=t.to(),i&&i(t.from(),t.to()))})}function y(t){t.operation(function(){var e=f(t);e.lastQuery=e.query,e.query&&(e.query=e.queryText=null,t.removeOverlay(e.overlay),e.annotate&&(e.annotate.clear(),e.annotate=null))})}function b(e,t){var n,r=e?document.createElement(e):document.createDocumentFragment();for(n in t)r[n]=t[n];for(var i=2;i<arguments.length;i++){var o=arguments[i];r.appendChild("string"==typeof o?document.createTextNode(o):o)}return r}function k(e){return b("",null,b("span",{className:"CodeMirror-search-label"},e.phrase("Search:"))," ",b("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})," ",b("span",{style:"color: #888",className:"CodeMirror-search-hint"},e.phrase("(Use /re/ syntax for regexp search)")))}function x(t,r,i){t.operation(function(){for(var n,e=h(t,r);e.findNext();)"string"!=typeof r?(n=t.getRange(e.from(),e.to()).match(r),e.replace(i.replace(/\$(\d)/g,function(e,t){return n[t]}))):e.replace(i)})}function r(u,e){var t,n,r;u.getOption("readOnly")||(t=u.getSelection()||f(u).lastQuery,r=b("",null,b("span",{className:"CodeMirror-search-label"},n=e?u.phrase("Replace all:"):u.phrase("Replace:")),(r=u,b("",null," ",b("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})," ",b("span",{style:"color: #888",className:"CodeMirror-search-hint"},r.phrase("(Use /re/ syntax for regexp search)"))))),p(u,r,n,t,function(c){c&&(c=o(c),p(u,b("",null,b("span",{className:"CodeMirror-search-label"},u.phrase("With:"))," ",b("input",{type:"text",style:"width: 10em",className:"CodeMirror-search-field"})),u.phrase("Replace with:"),"",function(o){var a,s,l;o=m(o),e?x(u,c,o):(y(u),a=h(u,c,u.getCursor("from")),s=function(){var e,t,n,r,i=a.from();!(e=a.findNext())&&(a=h(u,c),!(e=a.findNext())||i&&a.from().line==i.line&&a.from().ch==i.ch)||(u.setSelection(a.from(),a.to()),u.scrollIntoView({from:a.from(),to:a.to()}),n=b("",null,b("span",{className:"CodeMirror-search-label"},(r=t=u).phrase("Replace?"))," ",b("button",{},r.phrase("Yes"))," ",b("button",{},r.phrase("No"))," ",b("button",{},r.phrase("All"))," ",b("button",{},r.phrase("Stop"))),i=u.phrase("Replace?"),r=[function(){l(e)},s,function(){x(u,c,o)}],t.openConfirm?t.openConfirm(n,r):confirm(i)&&r[0]())},l=function(n){a.replace("string"==typeof c?o:o.replace(/\$(\d)/g,function(e,t){return n[t]})),s()},s())}))}))}d.defineOption("search",{bottom:!1}),d.commands.find=function(e){y(e),n(e)},d.commands.findPersistent=function(e){y(e),n(e,!1,!0)},d.commands.findPersistentNext=function(e){n(e,!1,!0,!0)},d.commands.findPersistentPrev=function(e){n(e,!0,!0,!0)},d.commands.findNext=n,d.commands.findPrev=function(e){n(e,!0)},d.commands.clearSearch=y,d.commands.replace=r,d.commands.replaceAll=function(e){r(e,!0)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(d){function f(e,t,n){var r=e.getWrapperElement(),e=r.appendChild(document.createElement("div"));return e.className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?e.innerHTML=t:e.appendChild(t),d.addClass(r,"dialog-opened"),e}function h(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}d.defineExtension("openDialog",function(e,t,n){n=n||{},h(this,null);var r=f(this,e,n.bottom),i=!1,o=this;function a(e){"string"==typeof e?s.value=e:i||(i=!0,d.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r),o.focus(),n.onClose&&n.onClose(r))}var s=r.getElementsByTagName("input")[0];return s?(s.focus(),n.value&&(s.value=n.value,!1!==n.selectValueOnOpen&&s.select()),n.onInput&&d.on(s,"input",function(e){n.onInput(e,s.value,a)}),n.onKeyUp&&d.on(s,"keyup",function(e){n.onKeyUp(e,s.value,a)}),d.on(s,"keydown",function(e){n&&n.onKeyDown&&n.onKeyDown(e,s.value,a)||((27==e.keyCode||!1!==n.closeOnEnter&&13==e.keyCode)&&(s.blur(),d.e_stop(e),a()),13==e.keyCode&&t(s.value,e))}),!1!==n.closeOnBlur&&d.on(r,"focusout",function(e){null!==e.relatedTarget&&a()})):(e=r.getElementsByTagName("button")[0])&&(d.on(e,"click",function(){a(),o.focus()}),!1!==n.closeOnBlur&&d.on(e,"blur",a),e.focus()),a}),d.defineExtension("openConfirm",function(e,t,n){h(this,null);var r=f(this,e,n&&n.bottom),i=r.getElementsByTagName("button"),o=!1,a=this,s=1;function l(){o||(o=!0,d.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r),a.focus())}i[0].focus();for(var c=0;c<i.length;++c){var u=i[c];!function(t){d.on(u,"click",function(e){d.e_preventDefault(e),l(),t&&t(a)})}(t[c]),d.on(u,"blur",function(){--s,setTimeout(function(){s<=0&&l()},200)}),d.on(u,"focus",function(){++s})}}),d.defineExtension("openNotification",function(e,t){h(this,o);var n,r=f(this,e,t&&t.bottom),i=!1,t=t&&void 0!==t.duration?t.duration:5e3;function o(){i||(i=!0,clearTimeout(n),d.rmClass(r.parentNode,"dialog-opened"),r.parentNode.removeChild(r))}return d.on(r,"click",function(e){d.e_preventDefault(e),o()}),t&&(n=setTimeout(o,t)),o})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(s){"use strict";function r(e,t,n){this.orientation=t,this.scroll=n,this.screen=this.total=this.size=1,this.pos=0,this.node=document.createElement("div"),this.node.className=e+"-"+t,this.inner=this.node.appendChild(document.createElement("div"));var a=this;function r(e){var t=s.wheelEventPixels(e)["horizontal"==a.orientation?"x":"y"],n=a.pos;a.moveTo(a.pos+t),a.pos!=n&&s.e_preventDefault(e)}s.on(this.inner,"mousedown",function(e){var t,n,r;function i(){s.off(document,"mousemove",o),s.off(document,"mouseup",i)}function o(e){if(1!=e.which)return i();a.moveTo(r+(e[t]-n)*(a.total/a.size))}1==e.which&&(s.e_preventDefault(e),t="horizontal"==a.orientation?"pageX":"pageY",n=e[t],r=a.pos,s.on(document,"mousemove",o),s.on(document,"mouseup",i))}),s.on(this.node,"click",function(e){s.e_preventDefault(e);var t=a.inner.getBoundingClientRect(),t="horizontal"==a.orientation?e.clientX<t.left?-1:e.clientX>t.right?1:0:e.clientY<t.top?-1:e.clientY>t.bottom?1:0;a.moveTo(a.pos+t*a.screen)}),s.on(this.node,"mousewheel",r),s.on(this.node,"DOMMouseScroll",r)}r.prototype.setPos=function(e,t){return(e=e<0?0:e)>this.total-this.screen&&(e=this.total-this.screen),!(!t&&e==this.pos)&&(this.pos=e,this.inner.style["horizontal"==this.orientation?"left":"top"]=e*(this.size/this.total)+"px",!0)},r.prototype.moveTo=function(e){this.setPos(e)&&this.scroll(e,this.orientation)};function n(e,t,n){this.addClass=e,this.horiz=new r(e,"horizontal",n),t(this.horiz.node),this.vert=new r(e,"vertical",n),t(this.vert.node),this.width=null}r.prototype.update=function(e,t,n){var r=this.screen!=t||this.total!=e||this.size!=n;r&&(this.screen=t,this.total=e,this.size=n);n=this.screen*(this.size/this.total);n<10&&(this.size-=10-n,n=10),this.inner.style["horizontal"==this.orientation?"width":"height"]=n+"px",this.setPos(this.pos,r)},n.prototype.update=function(e){null!=this.width||(r=window.getComputedStyle?window.getComputedStyle(this.horiz.node):this.horiz.node.currentStyle)&&(this.width=parseInt(r.height));var t=this.width||0,n=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1;return this.vert.node.style.display=r?"block":"none",this.horiz.node.style.display=n?"block":"none",r&&(this.vert.update(e.scrollHeight,e.clientHeight,e.viewHeight-(n?t:0)),this.vert.node.style.bottom=n?t+"px":"0"),n&&(this.horiz.update(e.scrollWidth,e.clientWidth,e.viewWidth-(r?t:0)-e.barLeft),this.horiz.node.style.right=r?t+"px":"0",this.horiz.node.style.left=e.barLeft+"px"),{right:r?t:0,bottom:n?t:0}},n.prototype.setScrollTop=function(e){this.vert.setPos(e)},n.prototype.setScrollLeft=function(e){this.horiz.setPos(e)},n.prototype.clear=function(){var e=this.horiz.node.parentNode;e.removeChild(this.horiz.node),e.removeChild(this.vert.node)},s.scrollbarModel.simple=function(e,t){return new n("CodeMirror-simplescroll",e,t)},s.scrollbarModel.overlay=function(e,t){return new n("CodeMirror-overlayscroll",e,t)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var x={},w=/[^\s\u00a0]/,C=e.Pos,p=e.cmpPos;function f(e){e=e.search(w);return-1==e?0:e}function S(e,t){var n=e.getMode();return!1!==n.useInnerComments&&n.innerMode?e.getModeAt(t):n}e.commands.toggleComment=function(e){e.toggleComment()},e.defineExtension("toggleComment",function(e){e=e||x;for(var t=1/0,n=this.listSelections(),r=null,i=n.length-1;0<=i;i--){var o=n[i].from(),a=n[i].to();o.line>=t||(a.line>=t&&(a=C(t,0)),t=o.line,null==r?r=this.uncomment(o,a,e)?"un":(this.lineComment(o,a,e),"line"):"un"==r?this.uncomment(o,a,e):this.lineComment(o,a,e))}}),e.defineExtension("lineComment",function(o,e,a){a=a||x;var s,l,c,u,d=this,t=S(d,o),n=d.getLine(o.line);null!=n&&(n=n,!/\bstring\b/.test(d.getTokenTypeAt(C(o.line,0)))||/^[\'\"\`]/.test(n))&&((s=a.lineComment||t.lineComment)?(l=Math.min(0!=e.ch||e.line==o.line?e.line+1:e.line,d.lastLine()+1),c=null==a.padding?" ":a.padding,u=a.commentBlankLines||o.line==e.line,d.operation(function(){if(a.indent){for(var e=null,t=o.line;t<l;++t){var n=(r=d.getLine(t)).slice(0,f(r));(null==e||e.length>n.length)&&(e=n)}for(t=o.line;t<l;++t){var r=d.getLine(t),i=e.length;(u||w.test(r))&&(r.slice(0,i)!=e&&(i=f(r)),d.replaceRange(e+s+c,C(t,0),C(t,i)))}}else for(t=o.line;t<l;++t)(u||w.test(d.getLine(t)))&&d.replaceRange(s+c,C(t,0))})):(a.blockCommentStart||t.blockCommentStart)&&(a.fullLines=!0,d.blockComment(o,e,a)))}),e.defineExtension("blockComment",function(o,a,s){s=s||x;var l,c,u=this,d=S(u,o),f=s.blockCommentStart||d.blockCommentStart,h=s.blockCommentEnd||d.blockCommentEnd;f&&h?/\bcomment\b/.test(u.getTokenTypeAt(C(o.line,0)))||((l=Math.min(a.line,u.lastLine()))!=o.line&&0==a.ch&&w.test(u.getLine(l))&&--l,c=null==s.padding?" ":s.padding,o.line>l||u.operation(function(){if(0!=s.fullLines){var e=w.test(u.getLine(l));u.replaceRange(c+h,C(l)),u.replaceRange(f+c,C(o.line,0));var t=s.blockCommentLead||d.blockCommentLead;if(null!=t)for(var n=o.line+1;n<=l;++n)n==l&&!e||u.replaceRange(t+c,C(n,0))}else{var r=0==p(u.getCursor("to"),a),i=!u.somethingSelected();u.replaceRange(h,a),r&&u.setSelection(i?a:u.getCursor("from"),a),u.replaceRange(f,o)}})):(s.lineComment||d.lineComment)&&0!=s.fullLines&&u.lineComment(o,a,s)}),e.defineExtension("uncomment",function(e,t,n){n=n||x;var i,o=this,r=S(o,e),a=Math.min(0!=t.ch||t.line==e.line?t.line:t.line-1,o.lastLine()),s=Math.min(e.line,a),l=n.lineComment||r.lineComment,c=[],u=null==n.padding?" ":n.padding;e:if(l){for(var d=s;d<=a;++d){var f=o.getLine(d),h=f.indexOf(l);if(-1==(h=-1<h&&!/comment/.test(o.getTokenTypeAt(C(d,h+1)))?-1:h)&&w.test(f))break e;if(-1<h&&w.test(f.slice(0,h)))break e;c.push(f)}if(o.operation(function(){for(var e=s;e<=a;++e){var t=c[e-s],n=t.indexOf(l),r=n+l.length;n<0||(t.slice(r,r+u.length)==u&&(r+=u.length),i=!0,o.replaceRange("",C(e,n),C(e,r)))}}),i)return!0}var p=n.blockCommentStart||r.blockCommentStart,m=n.blockCommentEnd||r.blockCommentEnd;if(!p||!m)return!1;var g=n.blockCommentLead||r.blockCommentLead,v=o.getLine(s),y=v.indexOf(p);if(-1==y)return!1;var b=a==s?v:o.getLine(a),k=b.indexOf(m,a==s?y+p.length:0),n=C(s,y+1),r=C(a,k+1);if(-1==k||!/comment/.test(o.getTokenTypeAt(n))||!/comment/.test(o.getTokenTypeAt(r))||-1<o.getRange(n,r,"\n").indexOf(m))return!1;r=-1==(n=v.lastIndexOf(p,e.ch))?-1:v.slice(0,e.ch).indexOf(m,n+p.length);if(-1!=n&&-1!=r&&r+m.length!=e.ch)return!1;r=b.indexOf(m,t.ch),e=b.slice(t.ch).lastIndexOf(p,r-t.ch),n=-1==r||-1==e?-1:t.ch+e;return(-1==r||-1==n||n==t.ch)&&(o.operation(function(){o.replaceRange("",C(a,k-(u&&b.slice(k-u.length,k)==u?u.length:0)),C(a,k+m.length));var e=y+p.length;if(u&&v.slice(e,e+u.length)==u&&(e+=u.length),o.replaceRange("",C(s,y),C(s,e)),g)for(var t=s+1;t<=a;++t){var n,r=o.getLine(t),i=r.indexOf(g);-1==i||w.test(r.slice(0,i))||(n=i+g.length,u&&r.slice(n,n+u.length)==u&&(n+=u.length),o.replaceRange("",C(t,i),C(t,n)))}}),!0)})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(u){"use strict";function i(i,o,e,a){var s;e&&e.call?(s=e,e=null):s=d(i,e,"rangeFinder"),"number"==typeof o&&(o=u.Pos(o,0));var l=d(i,e,"minFoldSize");function t(e){var t=s(i,o);if(!t||t.to.line-t.from.line<l)return null;if("fold"===a)return t;for(var n=i.findMarksAt(t.from),r=0;r<n.length;++r)if(n[r].__isFold){if(!e)return null;t.cleared=!0,n[r].clear()}return t}var n,r,c=t(!0);if(d(i,e,"scanUp"))for(;!c&&o.line>i.firstLine();)o=u.Pos(o.line-1,0),c=t(!1);c&&!c.cleared&&"unfold"!==a&&(n=function(e,t,n){t=d(e,t,"widget");"function"==typeof t&&(t=t(n.from,n.to));"string"==typeof t?(n=document.createTextNode(t),(t=document.createElement("span")).appendChild(n),t.className="CodeMirror-foldmarker"):t=t&&t.cloneNode(!0);return t}(i,e,c),u.on(n,"mousedown",function(e){r.clear(),u.e_preventDefault(e)}),(r=i.markText(c.from,c.to,{replacedWith:n,clearOnEnter:d(i,e,"clearOnEnter"),__isFold:!0})).on("clear",function(e,t){u.signal(i,"unfold",i,e,t)}),u.signal(i,"fold",i,c.from,c.to))}u.newFoldFunction=function(n,r){return function(e,t){i(e,t,{rangeFinder:n,widget:r})}},u.defineExtension("foldCode",function(e,t,n){i(this,e,t,n)}),u.defineExtension("isFolded",function(e){for(var t=this.findMarksAt(e),n=0;n<t.length;++n)if(t[n].__isFold)return!0}),u.commands.toggleFold=function(e){e.foldCode(e.getCursor())},u.commands.fold=function(e){e.foldCode(e.getCursor(),null,"fold")},u.commands.unfold=function(e){e.foldCode(e.getCursor(),{scanUp:!1},"unfold")},u.commands.foldAll=function(n){n.operation(function(){for(var e=n.firstLine(),t=n.lastLine();e<=t;e++)n.foldCode(u.Pos(e,0),{scanUp:!1},"fold")})},u.commands.unfoldAll=function(n){n.operation(function(){for(var e=n.firstLine(),t=n.lastLine();e<=t;e++)n.foldCode(u.Pos(e,0),{scanUp:!1},"unfold")})},u.registerHelper("fold","combine",function(){var i=Array.prototype.slice.call(arguments,0);return function(e,t){for(var n=0;n<i.length;++n){var r=i[n](e,t);if(r)return r}}}),u.registerHelper("fold","auto",function(e,t){for(var n=e.getHelpers(t,"fold"),r=0;r<n.length;r++){var i=n[r](e,t);if(i)return i}});var r={rangeFinder:u.fold.auto,widget:"↔",minFoldSize:0,scanUp:!1,clearOnEnter:!0};function d(e,t,n){if(t&&void 0!==t[n])return t[n];e=e.options.foldOptions;return(e&&void 0!==e[n]?e:r)[n]}u.defineOption("foldOptions",null),u.defineExtension("foldOption",function(e,t){return d(this,e,t)})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("./foldcode")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./foldcode"],e):e(CodeMirror)}(function(r){"use strict";r.defineOption("foldGutter",!1,function(e,t,n){n&&n!=r.Init&&(e.clearGutter(e.state.foldGutter.options.gutter),e.state.foldGutter=null,e.off("gutterClick",s),e.off("changes",l),e.off("viewportChange",c),e.off("fold",u),e.off("unfold",u),e.off("swapDoc",l)),t&&(e.state.foldGutter=new i(function(e){!0===e&&(e={});null==e.gutter&&(e.gutter="CodeMirror-foldgutter");null==e.indicatorOpen&&(e.indicatorOpen="CodeMirror-foldgutter-open");null==e.indicatorFolded&&(e.indicatorFolded="CodeMirror-foldgutter-folded");return e}(t)),a(e),e.on("gutterClick",s),e.on("changes",l),e.on("viewportChange",c),e.on("fold",u),e.on("unfold",u),e.on("swapDoc",l))});var d=r.Pos;function i(e){this.options=e,this.from=this.to=0}function f(e,t){for(var n=e.findMarks(d(t,0),d(t+1,0)),r=0;r<n.length;++r)if(n[r].__isFold){var i=n[r].find(-1);if(i&&i.line===t)return n[r]}}function h(e){if("string"!=typeof e)return e.cloneNode(!0);var t=document.createElement("div");return t.className=e+" CodeMirror-guttermarker-subtle",t}function o(i,e,t){var o=i.state.foldGutter.options,a=e-1,s=i.foldOption(o,"minFoldSize"),l=i.foldOption(o,"rangeFinder"),c="string"==typeof o.indicatorFolded&&n(o.indicatorFolded),u="string"==typeof o.indicatorOpen&&n(o.indicatorOpen);i.eachLine(e,t,function(e){++a;var t=null,n=(n=e.gutterMarkers)&&n[o.gutter];if(f(i,a)){if(c&&n&&c.test(n.className))return;t=h(o.indicatorFolded)}else{var r=d(a,0),r=l&&l(i,r);if(r&&r.to.line-r.from.line>=s){if(u&&n&&u.test(n.className))return;t=h(o.indicatorOpen)}}(t||n)&&i.setGutterMarker(e,o.gutter,t)})}function n(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function a(e){var t=e.getViewport(),n=e.state.foldGutter;n&&(e.operation(function(){o(e,t.from,t.to)}),n.from=t.from,n.to=t.to)}function s(e,t,n){var r=e.state.foldGutter;!r||n==(n=r.options).gutter&&((r=f(e,t))?r.clear():e.foldCode(d(t,0),n))}function l(e){var t,n=e.state.foldGutter;n&&(t=n.options,n.from=n.to=0,clearTimeout(n.changeUpdate),n.changeUpdate=setTimeout(function(){a(e)},t.foldOnChangeTimeSpan||600))}function c(t){var e,n=t.state.foldGutter;n&&(e=n.options,clearTimeout(n.changeUpdate),n.changeUpdate=setTimeout(function(){var e=t.getViewport();n.from==n.to||20<e.from-n.to||20<n.from-e.to?a(t):t.operation(function(){e.from<n.from&&(o(t,e.from,n.from),n.from=e.from),e.to>n.to&&(o(t,n.to,e.to),n.to=e.to)})},e.updateViewportTimeSpan||400))}function u(e,t){var n=e.state.foldGutter;!n||(t=t.line)>=n.from&&t<n.to&&o(e,t,t+1)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var l=e.Pos;function s(e,t){return e.line-t.line||e.ch-t.ch}var t="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r=new RegExp("<(/?)(["+t+"][A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");function c(e,t,n,r){this.line=t,this.ch=n,this.cm=e,this.text=e.getLine(t),this.min=r?Math.max(r.from,e.firstLine()):e.firstLine(),this.max=r?Math.min(r.to-1,e.lastLine()):e.lastLine()}function u(e,t){t=e.cm.getTokenTypeAt(l(e.line,t));return t&&/\btag\b/.test(t)}function i(e){return!(e.line>=e.max)&&(e.ch=0,e.text=e.cm.getLine(++e.line),1)}function d(e){return!(e.line<=e.min)&&(e.text=e.cm.getLine(--e.line),e.ch=e.text.length,1)}function f(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(i(e))continue;return}if(u(e,t+1)){var n=e.text.lastIndexOf("/",t),n=-1<n&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,n?"selfClose":"regular"}e.ch=t+1}}function h(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(d(e))continue;return}if(u(e,t+1)){r.lastIndex=t,e.ch=t;var n=r.exec(e.text);if(n&&n.index==t)return n}else e.ch=t}}function p(e){for(;;){r.lastIndex=e.ch;var t=r.exec(e.text);if(!t){if(i(e))continue;return}if(u(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function m(e,t){for(var n=[];;){var r,i=p(e),o=e.line,a=e.ch-(i?i[0].length:0);if(!i||!(r=f(e)))return;if("selfClose"!=r)if(i[1]){for(var s=n.length-1;0<=s;--s)if(n[s]==i[2]){n.length=s;break}if(s<0&&(!t||t==i[2]))return{tag:i[2],from:l(o,a),to:l(e.line,e.ch)}}else n.push(i[2])}}function g(e,t){for(var n=[];;){var r=function(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(d(e))continue;return}if(u(e,t+1)){var n=e.text.lastIndexOf("/",t),n=-1<n&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,n?"selfClose":"regular"}e.ch=t}}(e);if(!r)return;if("selfClose"!=r){var i=e.line,r=e.ch,o=h(e);if(!o)return;if(o[1])n.push(o[2]);else{for(var a=n.length-1;0<=a;--a)if(n[a]==o[2]){n.length=a;break}if(a<0&&(!t||t==o[2]))return{tag:o[2],from:l(e.line,e.ch),to:l(i,r)}}}else h(e)}}e.registerHelper("fold","xml",function(e,t){for(var n=new c(e,t.line,0);;){var r=p(n);if(!r||n.line!=t.line)return;var i=f(n);if(!i)return;if(!r[1]&&"selfClose"!=i){i=l(n.line,n.ch),r=m(n,r[2]);return r&&0<s(r.from,i)?{from:i,to:r.from}:null}}}),e.findMatchingTag=function(e,t,n){var r=new c(e,t.line,t.ch,n);if(-1!=r.text.indexOf(">")||-1!=r.text.indexOf("<")){var i=f(r),o=i&&l(r.line,r.ch),a=i&&h(r);if(i&&a&&!(0<s(r,t))){t={from:l(r.line,r.ch),to:o,tag:a[2]};return"selfClose"==i?{open:t,close:null,at:"open"}:a[1]?{open:g(r,a[2]),close:t,at:"close"}:{open:t,close:m(r=new c(e,o.line,o.ch,n),a[2]),at:"open"}}}},e.findEnclosingTag=function(e,t,n,r){for(var i=new c(e,t.line,t.ch,n);;){var o=g(i,r);if(!o)break;var a=m(new c(e,t.line,t.ch,n),o.tag);if(a)return{open:o,close:a}}},e.scanForClosingTag=function(e,t,n,r){return m(new c(e,t.line,t.ch,r?{from:0,to:r}:null),n)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(s){"use strict";function l(e,t){var n=e.getLine(t),r=n.search(/\S/);return-1==r||/\bcomment\b/.test(e.getTokenTypeAt(s.Pos(t,r+1)))?-1:s.countColumn(n,null,e.getOption("tabSize"))}s.registerHelper("fold","indent",function(e,t){var n=l(e,t.line);if(!(n<0)){for(var r=null,i=t.line+1,o=e.lastLine();i<=o;++i){var a=l(e,i);if(-1!=a){if(!(n<a))break;r=i}}return r?{from:s.Pos(t.line,e.getLine(t.line).length),to:s.Pos(r,e.getLine(r).length)}:void 0}})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(r){var d=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),g=r.Pos,v={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function y(e){return e&&e.bracketRegex||/[(){}[\]]/}function f(e,t,n){var r=e.getLineHandle(t.line),i=t.ch-1,o=n&&n.afterCursor;null==o&&(o=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var a=y(n),o=!o&&0<=i&&a.test(r.text.charAt(i))&&v[r.text.charAt(i)]||a.test(r.text.charAt(i+1))&&v[r.text.charAt(++i)];if(!o)return null;a=">"==o.charAt(1)?1:-1;if(n&&n.strict&&0<a!=(i==t.ch))return null;r=e.getTokenTypeAt(g(t.line,i+1)),n=s(e,g(t.line,i+(0<a?1:0)),a,r,n);return null==n?null:{from:g(t.line,i),to:n&&n.pos,match:n&&n.ch==o.charAt(0),forward:0<a}}function s(e,t,n,r,i){for(var o=i&&i.maxScanLineLength||1e4,a=i&&i.maxScanLines||1e3,s=[],l=y(i),c=0<n?Math.min(t.line+a,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-a),u=t.line;u!=c;u+=n){var d=e.getLine(u);if(d){var f=0<n?0:d.length-1,h=0<n?d.length:-1;if(!(d.length>o))for(u==t.line&&(f=t.ch-(n<0?1:0));f!=h;f+=n){var p=d.charAt(f);if(l.test(p)&&(void 0===r||(e.getTokenTypeAt(g(u,f+1))||"")==(r||""))){var m=v[p];if(m&&">"==m.charAt(1)==0<n)s.push(p);else{if(!s.length)return{pos:g(u,f),ch:p};s.pop()}}}}}return u-n!=(0<n?e.lastLine():e.firstLine())&&null}function t(e,t,n){for(var r=e.state.matchBrackets.maxHighlightLineLength||1e3,i=n&&n.highlightNonMatching,o=[],a=e.listSelections(),s=0;s<a.length;s++){var l,c=a[s].empty()&&f(e,a[s].head,n);c&&(c.match||!1!==i)&&e.getLine(c.from.line).length<=r&&(l=c.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket",o.push(e.markText(c.from,g(c.from.line,c.from.ch+1),{className:l})),c.to&&e.getLine(c.to.line).length<=r&&o.push(e.markText(c.to,g(c.to.line,c.to.ch+1),{className:l})))}if(o.length){d&&e.state.focused&&e.focus();function u(){e.operation(function(){for(var e=0;e<o.length;e++)o[e].clear()})}if(!t)return u;setTimeout(u,800)}}function i(e){e.operation(function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=t(e,!1,e.state.matchBrackets)})}function o(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}r.defineOption("matchBrackets",!1,function(e,t,n){n&&n!=r.Init&&(e.off("cursorActivity",i),e.off("focus",i),e.off("blur",o),o(e)),t&&(e.state.matchBrackets="object"==typeof t?t:{},e.on("cursorActivity",i),e.on("focus",i),e.on("blur",o))}),r.defineExtension("matchBrackets",function(){t(this,!0)}),r.defineExtension("findMatchingBracket",function(e,t,n){return f(this,e,t=n||"boolean"==typeof t?n?(n.strict=t,n):t?{strict:!0}:null:t)}),r.defineExtension("scanForBracket",function(e,t,n,r){return s(this,e,t,n,r)})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../fold/xml-fold")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],e):e(CodeMirror)}(function(r){"use strict";function i(e){e.state.tagHit&&e.state.tagHit.clear(),e.state.tagOther&&e.state.tagOther.clear(),e.state.tagHit=e.state.tagOther=null}function o(n){n.state.failedTagMatch=!1,n.operation(function(){var e,t;i(n),n.somethingSelected()||(t=n.getCursor(),(e=n.getViewport()).from=Math.min(e.from,t.line),e.to=Math.max(t.line+1,e.to),(t=r.findMatchingTag(n,t,e))&&(!n.state.matchBothTags||(e="open"==t.at?t.open:t.close)&&(n.state.tagHit=n.markText(e.from,e.to,{className:"CodeMirror-matchingtag"})),(t="close"==t.at?t.open:t.close)?n.state.tagOther=n.markText(t.from,t.to,{className:"CodeMirror-matchingtag"}):n.state.failedTagMatch=!0))})}function a(e){e.state.failedTagMatch&&o(e)}r.defineOption("matchTags",!1,function(e,t,n){n&&n!=r.Init&&(e.off("cursorActivity",o),e.off("viewportChange",a),i(e)),t&&(e.state.matchBothTags="object"==typeof t&&t.bothTags,e.on("cursorActivity",o),e.on("viewportChange",a),o(e))}),r.commands.toMatchingTag=function(e){var t=r.findMatchingTag(e,e.getCursor());!t||(t="close"==t.at?t.open:t.close)&&e.extendSelection(t.to,t.from)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("./matchesonscrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./matchesonscrollbar"],e):e(CodeMirror)}(function(r){"use strict";var n={style:"matchhighlight",minChars:2,delay:100,wordsOnly:!1,annotateScrollbar:!1,showToken:!1,trim:!0};function i(e){for(var t in this.options={},n)this.options[t]=(e&&e.hasOwnProperty(t)?e:n)[t];this.overlay=this.timeout=null,this.matchesonscroll=null,this.active=!1}function o(e){var t=e.state.matchHighlighter;(t.active||e.hasFocus())&&s(e,t)}function a(e){var t=e.state.matchHighlighter;t.active||(t.active=!0,s(e,t))}function s(e,t){clearTimeout(t.timeout),t.timeout=setTimeout(function(){l(e)},t.options.delay)}function c(e,t,n,r){var i,o,a,s=e.state.matchHighlighter;e.addOverlay(s.overlay=(i=t,o=n,a=r,{token:function(e){if(e.match(i)&&(!o||(n=o,!((t=e).start&&n.test(t.string.charAt(t.start-1))||t.pos!=t.string.length&&n.test(t.string.charAt(t.pos))))))return a;var t,n;e.next(),e.skipTo(i.charAt(0))||e.skipToEnd()}})),s.options.annotateScrollbar&&e.showMatchesOnScrollbar&&(t=n?new RegExp((/\w/.test(t.charAt(0))?"\\b":"")+t.replace(/[\\\[.+*?(){|^$]/g,"\\$&")+(/\w/.test(t.charAt(t.length-1))?"\\b":"")):t,s.matchesonscroll=e.showMatchesOnScrollbar(t,!1,{className:"CodeMirror-selection-highlight-scrollbar"}))}function u(e){var t=e.state.matchHighlighter;t.overlay&&(e.removeOverlay(t.overlay),t.overlay=null,t.matchesonscroll&&(t.matchesonscroll.clear(),t.matchesonscroll=null))}function l(l){l.operation(function(){var e=l.state.matchHighlighter;if(u(l),l.somethingSelected()||!e.options.showToken){var t=l.getCursor("from"),n=l.getCursor("to");t.line==n.line&&(e.options.wordsOnly&&!function(e,t,n){{if(null===e.getRange(t,n).match(/^\w+$/))return!1;if(0<t.ch){var r={line:t.line,ch:t.ch-1};if(null===e.getRange(r,t).match(/\W/))return!1}if(n.ch<e.getLine(t.line).length){r={line:n.line,ch:n.ch+1};if(null===e.getRange(n,r).match(/\W/))return!1}return!0}}(l,t,n)||(i=l.getRange(t,n),(i=e.options.trim?i.replace(/^\s+|\s+$/g,""):i).length>=e.options.minChars&&c(l,i,!1,e.options.style)))}else{for(var r=!0===e.options.showToken?/[\w$]/:e.options.showToken,i=l.getCursor(),o=l.getLine(i.line),a=i.ch,s=a;a&&r.test(o.charAt(a-1));)--a;for(;s<o.length&&r.test(o.charAt(s));)++s;a<s&&c(l,o.slice(a,s),r,e.options.style)}})}r.defineOption("highlightSelectionMatches",!1,function(e,t,n){n&&n!=r.Init&&(u(e),clearTimeout(e.state.matchHighlighter.timeout),e.state.matchHighlighter=null,e.off("cursorActivity",o),e.off("focus",a)),t&&(t=e.state.matchHighlighter=new i(t),e.hasFocus()?(t.active=!0,l(e)):e.on("focus",a),e.on("cursorActivity",o))})}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../fold/xml-fold")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../fold/xml-fold"],e):e(CodeMirror)}(function(v){v.defineOption("autoCloseTags",!1,function(e,t,n){n!=v.Init&&n&&e.removeKeyMap("autoCloseTags"),t&&(n={name:"autoCloseTags"},"object"==typeof t&&!1===t.whenClosing||(n["'/'"]=function(e){return(e=e).getOption("disableInput")?v.Pass:r(e,!0)}),"object"==typeof t&&!1===t.whenOpening||(n["'>'"]=function(e){if(e.getOption("disableInput"))return v.Pass;for(var t=e.listSelections(),n=[],r=e.getOption("autoCloseTags"),i=0;i<t.length;i++){if(!t[i].empty())return v.Pass;var o=t[i].head,a=e.getTokenAt(o),s=v.innerMode(e.getMode(),a.state),l=s.state,c=s.mode.xmlCurrentTag&&s.mode.xmlCurrentTag(l),u=c&&c.name;if(!u)return v.Pass;var d="html"==s.mode.configuration,f="object"==typeof r&&r.dontCloseTags||d&&y,h="object"==typeof r&&r.indentTags||d&&b,d=(u=a.end>o.ch?u.slice(0,u.length-a.end+o.ch):u).toLowerCase();if(!u||"string"==a.type&&(a.end!=o.ch||!/[\"\']/.test(a.string.charAt(a.string.length-1))||1==a.string.length)||"tag"==a.type&&c.close||a.string.indexOf("/")==o.ch-a.start-1||f&&-1<k(f,d)||x(e,s.mode.xmlCurrentContext&&s.mode.xmlCurrentContext(l)||[],u,o,!0))return v.Pass;l="object"==typeof r&&r.emptyTags;l&&-1<k(l,u)?n[i]={text:"/>",newPos:v.Pos(o.line,o.ch+2)}:(d=h&&-1<k(h,d),n[i]={indent:d,text:">"+(d?"\n\n":"")+"</"+u+">",newPos:d?v.Pos(o.line+1,0):v.Pos(o.line,o.ch+1)})}for(var p="object"==typeof r&&r.dontIndentOnAutoClose,i=t.length-1;0<=i;i--){var m=n[i];e.replaceRange(m.text,t[i].head,t[i].anchor,"+insert");var g=e.listSelections().slice(0);g[i]={head:m.newPos,anchor:m.newPos},e.setSelections(g),!p&&m.indent&&(e.indentLine(m.newPos.line,null,!0),e.indentLine(m.newPos.line+1,null,!0))}}),e.addKeyMap(n))});var y=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],b=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function r(e,t){for(var n=e.listSelections(),r=[],i=t?"/":"</",o=e.getOption("autoCloseTags"),o="object"==typeof o&&o.dontIndentOnSlash,a=0;a<n.length;a++){if(!n[a].empty())return v.Pass;var s=n[a].head,l=e.getTokenAt(s),c=v.innerMode(e.getMode(),l.state),u=c.state;if(t&&("string"==l.type||"<"!=l.string.charAt(0)||l.start!=s.ch-1))return v.Pass;var d,f="xml"!=c.mode.name&&"htmlmixed"==e.getMode().name;if(f&&"javascript"==c.mode.name)d=i+"script";else if(f&&"css"==c.mode.name)d=i+"style";else{c=c.mode.xmlCurrentContext&&c.mode.xmlCurrentContext(u),u=c.length?c[c.length-1]:"";if(!c||c.length&&x(e,c,u,s))return v.Pass;d=i+u}">"!=e.getLine(s.line).charAt(l.end)&&(d+=">"),r[a]=d}if(e.replaceSelections(r),n=e.listSelections(),!o)for(a=0;a<n.length;a++)(a==n.length-1||n[a].head.line<n[a+1].head.line)&&e.indentLine(n[a].head.line)}function k(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;++n)if(e[n]==t)return n;return-1}function x(e,t,n,r,i){if(v.scanForClosingTag){var o=Math.min(e.lastLine()+1,r.line+500),a=v.scanForClosingTag(e,r,null,o);if(a&&a.tag==n){for(var s=i?1:0,l=t.length-1;0<=l&&t[l]==n;l--)++s;r=a.to;for(l=1;l<s;l++){var c=v.scanForClosingTag(e,r,null,o);if(!c||c.tag!=n)return;r=c.to}return 1}}}v.commands.closeTag=function(e){return r(e)}}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(y){var n={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},b=y.Pos;function k(e,t){return"pairs"==t&&"string"==typeof e?e:("object"==typeof e&&null!=e[t]?e:n)[t]}y.defineOption("autoCloseBrackets",!1,function(e,t,n){n&&n!=y.Init&&(e.removeKeyMap(i),e.state.closeBrackets=null),t&&(r(k(t,"pairs")),e.state.closeBrackets=t,e.addKeyMap(i))});var i={Backspace:function(e){var t=x(e);if(!t||e.getOption("disableInput"))return y.Pass;for(var n=k(t,"pairs"),r=e.listSelections(),i=0;i<r.length;i++){if(!r[i].empty())return y.Pass;var o=s(e,r[i].head);if(!o||n.indexOf(o)%2!=0)return y.Pass}for(i=r.length-1;0<=i;i--){var a=r[i].head;e.replaceRange("",b(a.line,a.ch-1),b(a.line,a.ch+1),"+delete")}},Enter:function(r){var e=x(r),t=e&&k(e,"explode");if(!t||r.getOption("disableInput"))return y.Pass;for(var i=r.listSelections(),n=0;n<i.length;n++){if(!i[n].empty())return y.Pass;var o=s(r,i[n].head);if(!o||t.indexOf(o)%2!=0)return y.Pass}r.operation(function(){var e=r.lineSeparator()||"\n";r.replaceSelection(e+e,null),w(r,-1),i=r.listSelections();for(var t=0;t<i.length;t++){var n=i[t].head.line;r.indentLine(n,null,!0),r.indentLine(n+1,null,!0)}})}};function r(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r="'"+n+"'";i[r]||(i[r]=function(t){return function(e){return function(i,e){var t=x(i);if(!t||i.getOption("disableInput"))return y.Pass;var n=k(t,"pairs"),r=n.indexOf(e);if(-1==r)return y.Pass;for(var o,a=k(t,"closeBefore"),s=k(t,"triples"),l=n.charAt(r+1)==e,c=i.listSelections(),u=r%2==0,d=0;d<c.length;d++){var f,h=c[d],p=h.head,m=i.getRange(p,b(p.line,p.ch+1));if(u&&!h.empty())f="surround";else if(!l&&u||m!=e)if(l&&1<p.ch&&0<=s.indexOf(e)&&i.getRange(b(p.line,p.ch-2),p)==e+e){if(2<p.ch&&/\bstring/.test(i.getTokenTypeAt(b(p.line,p.ch-2))))return y.Pass;f="addFour"}else if(l){h=0==p.ch?" ":i.getRange(b(p.line,p.ch-1),p);if(y.isWordChar(m)||h==e||y.isWordChar(h))return y.Pass;f="both"}else{if(!u||!(0===m.length||/\s/.test(m)||-1<a.indexOf(m)))return y.Pass;f="both"}else f=l&&function(e,t){var n=e.getTokenAt(b(t.line,t.ch+1));return/\bstring/.test(n.type)&&n.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}(i,p)?"both":0<=s.indexOf(e)&&i.getRange(p,b(p.line,p.ch+3))==e+e+e?"skipThree":"skip";if(o){if(o!=f)return y.Pass}else o=f}var g=r%2?n.charAt(r-1):e,v=r%2?e:n.charAt(r+1);i.operation(function(){if("skip"==o)w(i,1);else if("skipThree"==o)w(i,3);else if("surround"==o){for(var e=i.getSelections(),t=0;t<e.length;t++)e[t]=g+e[t]+v;i.replaceSelections(e,"around");for(e=i.listSelections().slice(),t=0;t<e.length;t++)e[t]=(n=e[t],r=void 0,r=0<y.cmpPos(n.anchor,n.head),{anchor:new b(n.anchor.line,n.anchor.ch+(r?-1:1)),head:new b(n.head.line,n.head.ch+(r?1:-1))});i.setSelections(e)}else"both"==o?(i.replaceSelection(g+v,null),i.triggerElectric(g+v),w(i,-1)):"addFour"==o&&(i.replaceSelection(g+g+g+g,"before"),w(i,1));var n,r})}(e,t)}}(n))}}function x(e){var t=e.state.closeBrackets;return t&&!t.override&&e.getModeAt(e.getCursor()).closeBrackets||t}function w(e,t){for(var n=[],r=e.listSelections(),i=0,o=0;o<r.length;o++){var a=r[o];a.head==e.getCursor()&&(i=o);a=a.head.ch||0<t?{line:a.head.line,ch:a.head.ch+t}:{line:a.head.line-1};n.push({anchor:a,head:a})}e.setSelections(n,i)}function s(e,t){t=e.getRange(b(t.line,t.ch-1),b(t.line,t.ch+1));return 2==t.length?t:null}r(n.pairs+"`")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../lib/codemirror"),require("../addon/search/searchcursor"),require("../addon/edit/matchbrackets")):"function"==typeof define&&define.amd?define(["../lib/codemirror","../addon/search/searchcursor","../addon/edit/matchbrackets"],e):e(CodeMirror)}(function(d){"use strict";var r=d.commands,f=d.Pos;function t(t,n){t.extendSelectionsBy(function(e){return t.display.shift||t.doc.extend||e.empty()?function(e,t,n){if(n<0&&0==t.ch)return e.clipPos(f(t.line-1));var r=e.getLine(t.line);if(0<n&&t.ch>=r.length)return e.clipPos(f(t.line+1,0));for(var i,o="start",a=t.ch,s=a,l=n<0?0:r.length;s!=l;s+=n,0){var c=r.charAt(n<0?s-1:s),u="_"!=c&&d.isWordChar(c)?"w":"o";if("w"==u&&c.toUpperCase()==c&&(u="W"),"start"==o)"o"!=u?(o="in",i=u):a=s+n;else if("in"==o&&i!=u){if("w"==i&&"W"==u&&n<0&&s--,"W"==i&&"w"==u&&0<n){if(s==a+1){i="w";continue}s--}break}}return f(t.line,s)}(t.doc,e.head,n):n<0?e.from():e.to()})}function n(a,s){if(a.isReadOnly())return d.Pass;a.operation(function(){for(var e=a.listSelections().length,t=[],n=-1,r=0;r<e;r++){var i,o=a.listSelections()[r].head;o.line<=n||(i=f(o.line+(s?0:1),0),a.replaceRange("\n",i,null,"+insertLine"),a.indentLine(i.line,null,!0),t.push({head:i,anchor:i}),n=o.line+1)}a.setSelections(t)}),a.execCommand("indentAuto")}function c(e,t){for(var n=t.ch,r=n,i=e.getLine(t.line);n&&d.isWordChar(i.charAt(n-1));)--n;for(;r<i.length&&d.isWordChar(i.charAt(r));)++r;return{from:f(t.line,n),to:f(t.line,r),word:i.slice(n,r)}}function i(e,t){for(var n=e.listSelections(),r=[],i=0;i<n.length;i++){var o=n[i],a=e.findPosV(o.anchor,t,"line",o.anchor.goalColumn),s=e.findPosV(o.head,t,"line",o.head.goalColumn);a.goalColumn=null!=o.anchor.goalColumn?o.anchor.goalColumn:e.cursorCoords(o.anchor,"div").left,s.goalColumn=null!=o.head.goalColumn?o.head.goalColumn:e.cursorCoords(o.head,"div").left;s={anchor:a,head:s};r.push(o),r.push(s)}e.setSelections(r)}r.goSubwordLeft=function(e){t(e,-1)},r.goSubwordRight=function(e){t(e,1)},r.scrollLineUp=function(e){var t,n=e.getScrollInfo();e.somethingSelected()||(t=e.lineAtHeight(n.top+n.clientHeight,"local"),e.getCursor().line>=t&&e.execCommand("goLineUp")),e.scrollTo(null,n.top-e.defaultTextHeight())},r.scrollLineDown=function(e){var t,n=e.getScrollInfo();e.somethingSelected()||(t=e.lineAtHeight(n.top,"local")+1,e.getCursor().line<=t&&e.execCommand("goLineDown")),e.scrollTo(null,n.top+e.defaultTextHeight())},r.splitSelectionByLine=function(e){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)for(var i=t[r].from(),o=t[r].to(),a=i.line;a<=o.line;++a)o.line>i.line&&a==o.line&&0==o.ch||n.push({anchor:a==i.line?i:f(a,0),head:a==o.line?o:f(a)});e.setSelections(n,0)},r.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},r.selectLine=function(e){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++){var i=t[r];n.push({anchor:f(i.from().line,0),head:f(i.to().line+1,0)})}e.setSelections(n)},r.insertLineAfter=function(e){return n(e,!1)},r.insertLineBefore=function(e){return n(e,!0)},r.selectNextOccurrence=function(e){var t=e.getCursor("from"),n=e.getCursor("to"),r=e.state.sublimeFindFullWord==e.doc.sel;if(0==d.cmpPos(t,n)){var i=c(e,t);if(!i.word)return;e.setSelection(i.from,i.to),r=!0}else{t=e.getRange(t,n),t=r?new RegExp("\\b"+t+"\\b"):t,n=e.getSearchCursor(t,n);if(!(n.findNext()||(n=e.getSearchCursor(t,f(e.firstLine(),0))).findNext())||function(e,t,n){for(var r=0;r<e.length;r++)if(0==d.cmpPos(e[r].from(),t)&&0==d.cmpPos(e[r].to(),n))return!0;return!1}(e.listSelections(),n.from(),n.to()))return;e.addSelection(n.from(),n.to())}r&&(e.state.sublimeFindFullWord=e.doc.sel)},r.skipAndSelectNextOccurrence=function(e){var t=e.getCursor("anchor"),n=e.getCursor("head");r.selectNextOccurrence(e),0!=d.cmpPos(t,n)&&e.doc.setSelections(e.doc.listSelections().filter(function(e){return e.anchor!=t||e.head!=n}))},r.addCursorToPrevLine=function(e){i(e,-1)},r.addCursorToNextLine=function(e){i(e,1)};function o(e){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++){var i=t[r],o=i.head,a=e.scanForBracket(o,-1);if(!a)return;for(;;){var s=e.scanForBracket(o,1);if(!s)return;if(s.ch=="(){}[]".charAt("(){}[]".indexOf(a.ch)+1)){var l=f(a.pos.line,a.pos.ch+1);if(0!=d.cmpPos(l,i.from())||0!=d.cmpPos(s.pos,i.to())){n.push({anchor:l,head:s.pos});break}if(!(a=e.scanForBracket(a.pos,-1)))return}o=f(s.pos.line,s.pos.ch+1)}}return e.setSelections(n),1}function a(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}function s(a,s,l){if(a.isReadOnly())return d.Pass;for(var c,e=a.listSelections(),u=[],t=0;t<e.length;t++){var n=e[t];if(!n.empty()){for(var r=n.from().line,i=n.to().line;t<e.length-1&&e[t+1].from().line==i;)i=e[++t].to().line;e[t].to().ch||i--,u.push(r,i)}}u.length?c=!0:u.push(a.firstLine(),a.lastLine()),a.operation(function(){for(var e=[],t=0;t<u.length;t+=2){var n=u[t],r=u[t+1],i=f(n,0),o=f(r),n=a.getRange(i,o,!1);s?n.sort(function(e,t){return e<t?-l:e==t?0:l}):n.sort(function(e,t){var n=e.toUpperCase(),r=t.toUpperCase();return n!=r&&(e=n,t=r),e<t?-l:e==t?0:l}),a.replaceRange(n,i,o),c&&e.push({anchor:i,head:f(r+1,0)})}c&&a.setSelections(e,0)})}function l(s,l){s.operation(function(){for(var e=s.listSelections(),t=[],n=[],r=0;r<e.length;r++)(a=e[r]).empty()?(t.push(r),n.push("")):n.push(l(s.getRange(a.from(),a.to())));s.replaceSelections(n,"around","case");for(r=t.length-1;0<=r;r--){var i,o,a=e[t[r]];o&&0<d.cmpPos(a.head,o)||(o=(i=c(s,a.head)).from,s.replaceRange(l(i.word),i.from,i.to))}})}function u(e){var t=e.getCursor("from"),n=e.getCursor("to");if(0==d.cmpPos(t,n)){var r=c(e,t);if(!r.word)return;t=r.from,n=r.to}return{from:t,to:n,query:e.getRange(t,n),word:r}}function h(e,t){var n,r,i=u(e);i&&(n=i.query,r=e.getSearchCursor(n,t?i.to:i.from),(t?r.findNext():r.findPrevious())?e.setSelection(r.from(),r.to()):(r=e.getSearchCursor(n,t?f(e.firstLine(),0):e.clipPos(f(e.lastLine()))),(t?r.findNext():r.findPrevious())?e.setSelection(r.from(),r.to()):i.word&&e.setSelection(i.from,i.to)))}r.selectScope=function(e){o(e)||e.execCommand("selectAll")},r.selectBetweenBrackets=function(e){if(!o(e))return d.Pass},r.goToBracket=function(n){n.extendSelectionsBy(function(e){var t=n.scanForBracket(e.head,1,a(n.getTokenTypeAt(e.head)));if(t&&0!=d.cmpPos(t.pos,e.head))return t.pos;t=n.scanForBracket(e.head,-1,a(n.getTokenTypeAt(f(e.head.line,e.head.ch+1))));return t&&f(t.pos.line,t.pos.ch+1)||e.head})},r.swapLineUp=function(i){if(i.isReadOnly())return d.Pass;for(var e=i.listSelections(),o=[],t=i.firstLine()-1,a=[],n=0;n<e.length;n++){var r=e[n],s=r.from().line-1,l=r.to().line;a.push({anchor:f(r.anchor.line-1,r.anchor.ch),head:f(r.head.line-1,r.head.ch)}),0!=r.to().ch||r.empty()||--l,t<s?o.push(s,l):o.length&&(o[o.length-1]=l),t=l}i.operation(function(){for(var e=0;e<o.length;e+=2){var t=o[e],n=o[e+1],r=i.getLine(t);i.replaceRange("",f(t,0),f(t+1,0),"+swapLine"),n>i.lastLine()?i.replaceRange("\n"+r,f(i.lastLine()),null,"+swapLine"):i.replaceRange(r+"\n",f(n,0),null,"+swapLine")}i.setSelections(a),i.scrollIntoView()})},r.swapLineDown=function(i){if(i.isReadOnly())return d.Pass;for(var e=i.listSelections(),o=[],t=i.lastLine()+1,n=e.length-1;0<=n;n--){var r=e[n],a=r.to().line+1,s=r.from().line;0!=r.to().ch||r.empty()||a--,a<t?o.push(a,s):o.length&&(o[o.length-1]=s),t=s}i.operation(function(){for(var e=o.length-2;0<=e;e-=2){var t=o[e],n=o[e+1],r=i.getLine(t);t==i.lastLine()?i.replaceRange("",f(t-1),f(t),"+swapLine"):i.replaceRange("",f(t,0),f(t+1,0),"+swapLine"),i.replaceRange(r+"\n",f(n,0),null,"+swapLine")}i.scrollIntoView()})},r.toggleCommentIndented=function(e){e.toggleComment({indent:!0})},r.joinLines=function(l){for(var e=l.listSelections(),c=[],t=0;t<e.length;t++){for(var n=e[t],r=n.from(),i=r.line,o=n.to().line;t<e.length-1&&e[t+1].from().line==o;)o=e[++t].to().line;c.push({start:i,end:o,anchor:!n.empty()&&r})}l.operation(function(){for(var e=0,t=[],n=0;n<c.length;n++){for(var r,i=c[n],o=i.anchor&&f(i.anchor.line-e,i.anchor.ch),a=i.start;a<=i.end;a++){var s=a-e;a==i.end&&(r=f(s,l.getLine(s).length+1)),s<l.lastLine()&&(l.replaceRange(" ",f(s),f(1+s,/^\s*/.exec(l.getLine(1+s))[0].length)),++e)}t.push({anchor:o||r,head:r})}l.setSelections(t,0)})},r.duplicateLine=function(r){r.operation(function(){for(var e=r.listSelections().length,t=0;t<e;t++){var n=r.listSelections()[t];n.empty()?r.replaceRange(r.getLine(n.head.line)+"\n",f(n.head.line,0)):r.replaceRange(r.getRange(n.from(),n.to()),n.from())}r.scrollIntoView()})},r.sortLines=function(e){s(e,!0,1)},r.reverseSortLines=function(e){s(e,!0,-1)},r.sortLinesInsensitive=function(e){s(e,!1,1)},r.reverseSortLinesInsensitive=function(e){s(e,!1,-1)},r.nextBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){var n=t.shift(),r=n.find();if(r)return t.push(n),e.setSelection(r.from,r.to)}},r.prevBookmark=function(e){var t=e.state.sublimeBookmarks;if(t)for(;t.length;){t.unshift(t.pop());var n=t[t.length-1].find();if(n)return e.setSelection(n.from,n.to);t.pop()}},r.toggleBookmark=function(e){for(var t=e.listSelections(),n=e.state.sublimeBookmarks||(e.state.sublimeBookmarks=[]),r=0;r<t.length;r++){for(var i=t[r].from(),o=t[r].to(),a=t[r].empty()?e.findMarksAt(i):e.findMarks(i,o),s=0;s<a.length;s++)if(a[s].sublimeBookmark){a[s].clear();for(var l=0;l<n.length;l++)n[l]==a[s]&&n.splice(l--,1);break}s==a.length&&n.push(e.markText(i,o,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},r.clearBookmarks=function(e){var t=e.state.sublimeBookmarks;if(t)for(var n=0;n<t.length;n++)t[n].clear();t.length=0},r.selectBookmarks=function(e){var t=e.state.sublimeBookmarks,n=[];if(t)for(var r=0;r<t.length;r++){var i=t[r].find();i?n.push({anchor:i.from,head:i.to}):t.splice(r--,0)}n.length&&e.setSelections(n,0)},r.smartBackspace=function(s){if(s.somethingSelected())return d.Pass;s.operation(function(){for(var e=s.listSelections(),t=s.getOption("indentUnit"),n=e.length-1;0<=n;n--){var r=e[n].head,i=s.getRange({line:r.line,ch:0},r),o=d.countColumn(i,null,s.getOption("tabSize")),a=s.findPosH(r,-1,"char",!1);!i||/\S/.test(i)||o%t!=0||(o=new f(r.line,d.findColumn(i,o-t,t))).ch!=r.ch&&(a=o),s.replaceRange("",a,r,"+delete")}})},r.delLineRight=function(n){n.operation(function(){for(var e=n.listSelections(),t=e.length-1;0<=t;t--)n.replaceRange("",e[t].anchor,f(e[t].to().line),"+delete");n.scrollIntoView()})},r.upcaseAtCursor=function(e){l(e,function(e){return e.toUpperCase()})},r.downcaseAtCursor=function(e){l(e,function(e){return e.toLowerCase()})},r.setSublimeMark=function(e){e.state.sublimeMark&&e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor())},r.selectToSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&e.setSelection(e.getCursor(),t)},r.deleteToSublimeMark=function(e){var t,n,r=e.state.sublimeMark&&e.state.sublimeMark.find();r&&(n=e.getCursor(),0<d.cmpPos(n,t=r)&&(r=t,t=n,n=r),e.state.sublimeKilled=e.getRange(n,t),e.replaceRange("",n,t))},r.swapWithSublimeMark=function(e){var t=e.state.sublimeMark&&e.state.sublimeMark.find();t&&(e.state.sublimeMark.clear(),e.state.sublimeMark=e.setBookmark(e.getCursor()),e.setCursor(t))},r.sublimeYank=function(e){null!=e.state.sublimeKilled&&e.replaceSelection(e.state.sublimeKilled,null,"paste")},r.showInCenter=function(e){var t=e.cursorCoords(null,"local");e.scrollTo(null,(t.top+t.bottom)/2-e.getScrollInfo().clientHeight/2)},r.findUnder=function(e){h(e,!0)},r.findUnderPrevious=function(e){h(e,!1)},r.findAllUnder=function(e){var t=u(e);if(t){for(var n=e.getSearchCursor(t.query),r=[],i=-1;n.findNext();)r.push({anchor:n.from(),head:n.to()}),n.from().line<=t.from.line&&n.from().ch<=t.from.ch&&i++;e.setSelections(r,i)}};var e=d.keyMap;e.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},d.normalizeKeyMap(e.macSublime),e.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},d.normalizeKeyMap(e.pcSublime);var p=e.default==e.macDefault;e.sublime=p?e.macSublime:e.pcSublime}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../lib/codemirror")):"function"==typeof define&&define.amd?define(["../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";var t=e.commands,l=e.Pos;function s(e,t){return e.line==t.line&&e.ch==t.ch}var o=[];function a(e){o.push(e),50<o.length&&o.shift()}function n(e){return o[o.length-(e?Math.min(e,1):1)]||""}var c=null;function u(e,t,n,r,i){null==i&&(i=e.getRange(t,n)),"grow"==r&&c&&c.cm==e&&s(t,c.pos)&&e.isClean(c.gen)?function(e){if(!o.length)return a(e);o[o.length-1]+=e}(i):!1!==r&&a(i),e.replaceRange("",t,n,"+delete"),c="grow"==r?{cm:e,pos:t,gen:e.changeGeneration()}:null}function r(e,t,n){return e.findPosH(t,n,"char",!0)}function i(e,t,n){return e.findPosH(t,n,"word",!0)}function d(e,t,n){return e.findPosV(t,n,"line",e.doc.sel.goalColumn)}function f(e,t,n){return e.findPosV(t,n,"page",e.doc.sel.goalColumn)}function h(e,t,n){for(var r=t.line,i=e.getLine(r),o=/\S/.test(n<0?i.slice(0,t.ch):i.slice(t.ch)),a=e.firstLine(),s=e.lastLine();;){if((r+=n)<a||s<r)return e.clipPos(l(r-n,n<0?0:null));i=e.getLine(r);if(/\S/.test(i))o=!0;else if(o)return l(r,0)}}function p(e,t,n){for(var r=t.line,i=t.ch,o=e.getLine(t.line),a=!1;;){var s=o.charAt(i+(n<0?-1:0));if(s){if(a&&/[!?.]/.test(s))return l(r,i+(0<n?1:0));a=a||/\w/.test(s),i+=n}else{if(r==(n<0?e.firstLine():e.lastLine()))return l(r,i);if(o=e.getLine(r+n),!/\S/.test(o))return l(r,i);r+=n,i=n<0?o.length:0}}}function m(e,t,n){var r;if(e.findMatchingBracket&&(r=e.findMatchingBracket(t,{strict:!0}))&&r.match&&(r.forward?1:-1)==n)return 0<n?l(r.to.line,r.to.ch+1):r.to;for(var i=!0;;i=!1){var o=e.getTokenAt(t),a=l(t.line,n<0?o.start:o.end);if(!(i&&0<n&&o.end==t.ch)&&/\w/.test(o.string))return a;o=e.findPosH(a,n,"char");if(s(a,o))return t;t=o}}function g(e,t){var n=e.state.emacsPrefix;return n?(_(e),"-"==n?-1:Number(n)):t?null:1}function v(t){var r="string"==typeof t?function(e){e.execCommand(t)}:t;return function(e){var t=g(e);r(e);for(var n=1;n<t;++n)r(e)}}function y(e,t,n,r){var i=g(e);i<0&&(r=-r,i=-i);for(var o=0;o<i;++o){var a=n(e,t,r);if(s(a,t))break;t=a}return t}function b(t,n){function e(e){e.extendSelection(y(e,e.getCursor(),t,n))}return e.motion=!0,e}function k(e,t,n,r){for(var i,o=e.listSelections(),a=o.length;a--;)u(e,i=o[a].head,y(e,i,t,n),r)}function x(e,t){if(e.somethingSelected()){for(var n,r=e.listSelections(),i=r.length;i--;)u(e,(n=r[i]).anchor,n.head,t);return!0}}function w(e,t){e.state.emacsPrefix?"-"!=t&&(e.state.emacsPrefix+=t):(e.state.emacsPrefix=t,e.on("keyHandled",S),e.on("inputRead",L))}var C={"Alt-G":!0,"Ctrl-X":!0,"Ctrl-Q":!0,"Ctrl-U":!0};function S(e,t){e.state.emacsPrefixMap||C.hasOwnProperty(t)||_(e)}function _(e){e.state.emacsPrefix=null,e.off("keyHandled",S),e.off("inputRead",L)}function L(e,t){var n=g(e);if(1<n&&"+input"==t.origin){for(var r=t.text.join("\n"),i="",o=1;o<n;++o)i+=r;e.replaceSelection(i)}}function M(e,t){"string"==typeof t&&(/^\d$/.test(t)||"Ctrl-U"==t)||(e.removeKeyMap(E),e.state.emacsPrefixMap=!1,e.off("keyHandled",M),e.off("inputRead",M))}function T(e){e.setExtending(!1),e.setCursor(e.getCursor())}function A(e,t,n){var r,i;e.openDialog?e.openDialog((r=t,i=document.createDocumentFragment(),(e=document.createElement("input")).setAttribute("type","text"),e.style.width="10em",i.appendChild(document.createTextNode(r+": ")),i.appendChild(e),i),n,{bottom:!0}):n(prompt(t,""))}function O(e,t){var n=e.getCursor(),r=e.findPosH(n,1,"word");e.replaceRange(t(e.getRange(n,r)),n,r),e.setCursor(r)}t.setMark=function(e){e.setCursor(e.getCursor()),e.setExtending(!e.getExtending()),e.on("change",function(){e.setExtending(!1)})},t.killRegion=function(e){u(e,e.getCursor("start"),e.getCursor("end"),!0)},t.killLineEmacs=v(function(e){var t=e.getCursor(),n=e.clipPos(l(t.line)),r=e.getRange(t,n);/\S/.test(r)||(r+="\n",n=l(t.line+1,0)),u(e,t,n,"grow",r)}),t.killRingSave=function(e){a(e.getSelection()),T(e)},t.yank=function(e){var t=e.getCursor();e.replaceRange(n(g(e)),t,t,"paste"),e.setSelection(t,e.getCursor())},t.yankPop=function(e){e.replaceSelection((1<o.length&&o.pop(),n()),"around","paste")},t.forwardChar=b(r,1),t.backwardChar=b(r,-1),t.deleteChar=function(e){k(e,r,1,!1)},t.deleteForwardChar=function(e){x(e,!1)||k(e,r,1,!1)},t.deleteBackwardChar=function(e){x(e,!1)||k(e,r,-1,!1)},t.forwardWord=b(i,1),t.backwardWord=b(i,-1),t.killWord=function(e){k(e,i,1,"grow")},t.backwardKillWord=function(e){k(e,i,-1,"grow")},t.nextLine=b(d,1),t.previousLine=b(d,-1),t.scrollDownCommand=b(f,-1),t.scrollUpCommand=b(f,1),t.backwardParagraph=b(h,-1),t.forwardParagraph=b(h,1),t.backwardSentence=b(p,-1),t.forwardSentence=b(p,1),t.killSentence=function(e){k(e,p,1,"grow")},t.backwardKillSentence=function(e){u(e,e.getCursor(),p(e,e.getCursor(),1),"grow")},t.killSexp=function(e){k(e,m,1,"grow")},t.backwardKillSexp=function(e){k(e,m,-1,"grow")},t.forwardSexp=b(m,1),t.backwardSexp=b(m,-1),t.markSexp=function(e){var t=e.getCursor();e.setSelection(y(e,t,m,1),t)},t.transposeSexps=function(e){var t=m(e,e.getCursor(),-1),n=m(e,t,1),r=m(e,n,1),i=m(e,r,-1);e.replaceRange(e.getRange(i,r)+e.getRange(n,i)+e.getRange(t,n),t,r)},t.backwardUpList=v(function(e){for(var t=e.getCursor(),n=t.line,r=t.ch,i=[];n>=e.firstLine();){for(var o=e.getLine(n),a=null==r?o.length:r;0<a;)if(")"==(r=o.charAt(--a)))i.push("(");else if("]"==r)i.push("[");else if("}"==r)i.push("{");else if(/[\(\{\[]/.test(r)&&(!i.length||i.pop()!=r))return e.extendSelection(l(n,a));--n,r=null}}),t.justOneSpace=function(e){for(var t=e.getCursor(),n=t.ch,r=t.ch,i=e.getLine(t.line);n&&/\s/.test(i.charAt(n-1));)--n;for(;r<i.length&&/\s/.test(i.charAt(r));)++r;e.replaceRange(" ",l(t.line,n),l(t.line,r))},t.openLine=v(function(e){e.replaceSelection("\n","start")}),t.transposeCharsRepeatable=v(function(e){e.execCommand("transposeChars")}),t.capitalizeWord=v(function(e){O(e,function(e){var t=e.search(/\w/);return-1==t?e:e.slice(0,t)+e.charAt(t).toUpperCase()+e.slice(t+1).toLowerCase()})}),t.upcaseWord=v(function(e){O(e,function(e){return e.toUpperCase()})}),t.downcaseWord=v(function(e){O(e,function(e){return e.toLowerCase()})}),t.undoRepeatable=v("undo"),t.keyboardQuit=function(e){e.execCommand("clearSearch"),T(e)},t.newline=v(function(e){e.replaceSelection("\n","end")}),t.gotoLine=function(n){var e=g(n,!0);if(null!=e&&0<e)return n.setCursor(e-1);A(n,"Goto line",function(e){var t;e&&!isNaN(t=Number(e))&&t==(0|t)&&0<t&&n.setCursor(t-1)})},t.indentRigidly=function(e){e.indentSelection(g(e,!0)||e.getOption("indentUnit"))},t.exchangePointAndMark=function(e){e.setSelection(e.getCursor("head"),e.getCursor("anchor"))},t.quotedInsertTab=v("insertTab"),t.universalArgument=function(e){e.state.emacsPrefixMap=!0,e.addKeyMap(E),e.on("keyHandled",M),e.on("inputRead",M)},e.emacs={kill:u,killRegion:x,repeated:v};var N=e.keyMap.emacs=e.normalizeKeyMap({"Ctrl-W":"killRegion","Ctrl-K":"killLineEmacs","Alt-W":"killRingSave","Ctrl-Y":"yank","Alt-Y":"yankPop","Ctrl-Space":"setMark","Ctrl-Shift-2":"setMark","Ctrl-F":"forwardChar","Ctrl-B":"backwardChar",Right:"forwardChar",Left:"backwardChar","Ctrl-D":"deleteChar",Delete:"deleteForwardChar","Ctrl-H":"deleteBackwardChar",Backspace:"deleteBackwardChar","Alt-F":"forwardWord","Alt-B":"backwardWord","Alt-Right":"forwardWord","Alt-Left":"backwardWord","Alt-D":"killWord","Alt-Backspace":"backwardKillWord","Ctrl-N":"nextLine","Ctrl-P":"previousLine",Down:"nextLine",Up:"previousLine","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd",End:"goLineEnd",Home:"goLineStart","Alt-V":"scrollDownCommand","Ctrl-V":"scrollUpCommand",PageUp:"scrollDownCommand",PageDown:"scrollUpCommand","Ctrl-Up":"backwardParagraph","Ctrl-Down":"forwardParagraph","Alt-{":"backwardParagraph","Alt-}":"forwardParagraph","Alt-A":"backwardSentence","Alt-E":"forwardSentence","Alt-K":"killSentence","Ctrl-X Delete":"backwardKillSentence","Ctrl-Alt-K":"killSexp","Ctrl-Alt-Backspace":"backwardKillSexp","Ctrl-Alt-F":"forwardSexp","Ctrl-Alt-B":"backwardSexp","Shift-Ctrl-Alt-2":"markSexp","Ctrl-Alt-T":"transposeSexps","Ctrl-Alt-U":"backwardUpList","Alt-Space":"justOneSpace","Ctrl-O":"openLine","Ctrl-T":"transposeCharsRepeatable","Alt-C":"capitalizeWord","Alt-U":"upcaseWord","Alt-L":"downcaseWord","Alt-;":"toggleComment","Ctrl-/":"undoRepeatable","Shift-Ctrl--":"undoRepeatable","Ctrl-Z":"undoRepeatable","Cmd-Z":"undoRepeatable","Ctrl-X U":"undoRepeatable","Shift-Ctrl-Z":"redo","Shift-Alt-,":"goDocStart","Shift-Alt-.":"goDocEnd","Ctrl-S":"findPersistentNext","Ctrl-R":"findPersistentPrev","Ctrl-G":"keyboardQuit","Shift-Alt-5":"replace","Alt-/":"autocomplete",Enter:"newlineAndIndent","Ctrl-J":"newline",Tab:"indentAuto","Alt-G G":"gotoLine","Ctrl-X Tab":"indentRigidly","Ctrl-X Ctrl-X":"exchangePointAndMark","Ctrl-X Ctrl-S":"save","Ctrl-X Ctrl-W":"save","Ctrl-X S":"saveAll","Ctrl-X F":"open","Ctrl-X K":"close","Ctrl-X H":"selectAll","Ctrl-Q Tab":"quotedInsertTab","Ctrl-U":"universalArgument",fallthrough:"default"}),E={"Ctrl-G":_};function I(t){E[t]=function(e){w(e,t)},N["Ctrl-"+t]=function(e){w(e,t)},C["Ctrl-"+t]=!0}for(var P=0;P<10;++P)I(String(P));I("-")}),function(e){"object"==typeof exports&&"object"==typeof module?e(require("../lib/codemirror"),require("../addon/search/searchcursor"),require("../addon/dialog/dialog"),require("../addon/edit/matchbrackets.js")):"function"==typeof define&&define.amd?define(["../lib/codemirror","../addon/search/searchcursor","../addon/dialog/dialog","../addon/edit/matchbrackets"],e):e(CodeMirror)}(function(Ye){"use strict";var Qe=[{keys:"<Left>",type:"keyToKey",toKeys:"h"},{keys:"<Right>",type:"keyToKey",toKeys:"l"},{keys:"<Up>",type:"keyToKey",toKeys:"k"},{keys:"<Down>",type:"keyToKey",toKeys:"j"},{keys:"<Space>",type:"keyToKey",toKeys:"l"},{keys:"<BS>",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"<Del>",type:"keyToKey",toKeys:"x",context:"normal"},{keys:"<C-Space>",type:"keyToKey",toKeys:"W"},{keys:"<C-BS>",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"<S-Space>",type:"keyToKey",toKeys:"w"},{keys:"<S-BS>",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"<C-n>",type:"keyToKey",toKeys:"j"},{keys:"<C-p>",type:"keyToKey",toKeys:"k"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>"},{keys:"<C-[>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"<C-c>",type:"keyToKey",toKeys:"<Esc>",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"<Home>",type:"keyToKey",toKeys:"0"},{keys:"<End>",type:"keyToKey",toKeys:"$"},{keys:"<PageUp>",type:"keyToKey",toKeys:"<C-b>"},{keys:"<PageDown>",type:"keyToKey",toKeys:"<C-f>"},{keys:"<CR>",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"<Ins>",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"<C-f>",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"<C-b>",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"<C-d>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"<C-u>",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F<character>",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T<character>",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'<character>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`<character>",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[<character>",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"gn",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!0}},{keys:"gN",type:"motion",motion:"findAndSelectNextInclusive",motionArgs:{forward:!1}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"<C-w>",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"<C-w>",type:"idle",context:"normal"},{keys:"<C-i>",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"<C-o>",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"<C-e>",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"<C-y>",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"<C-v>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"<C-q>",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r<character>",type:"action",action:"replace",isEdit:!0},{keys:"@<character>",type:"action",action:"replayMacro"},{keys:"q<character>",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"<C-r>",type:"action",action:"redo"},{keys:"m<character>",type:"action",action:"setMark"},{keys:'"<character>',type:"action",action:"setRegister"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z<CR>",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"<C-a>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"<C-x>",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"<C-t>",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"<C-d>",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a<character>",type:"motion",motion:"textObjectManipulation"},{keys:"i<character>",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],Je=Qe.length,Ze=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"unmap"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"vglobal",shortName:"v"},{name:"global",shortName:"g"}],et=Ye.Pos;Ye.Vim=function(){function e(e,t){var n;this==Ye.keyMap.vim&&(Ye.rmClass(e.getWrapperElement(),"cm-fat-cursor"),"contenteditable"==e.getOption("inputStyle")&&null!=document.body.style.caretColor&&(a(n=e),n.off("cursorActivity",i),n.state.fatCursorMarks=null,e.getInputField().style.caretColor="")),t&&t.attach==r||((e=e).setOption("disableInput",!1),e.off("cursorActivity",je),Ye.off(e.getInputField(),"paste",l(e)),e.state.vim=null)}function r(e,t){var n;this==Ye.keyMap.vim&&(Ye.addClass(e.getWrapperElement(),"cm-fat-cursor"),"contenteditable"==e.getOption("inputStyle")&&null!=document.body.style.caretColor&&((n=e).state.fatCursorMarks=[],i(n),n.on("cursorActivity",i),e.getInputField().style.caretColor="transparent")),t&&t.attach==r||((e=e).setOption("disableInput",!0),e.setOption("showCursorWhenSelecting",!1),Ye.signal(e,"vim-mode-change",{mode:"normal"}),e.on("cursorActivity",je),I(e),Ye.on(e.getInputField(),"paste",l(e)))}function i(e){if(e.state.fatCursorMarks){a(e);for(var t=e.listSelections(),n=[],r=0;r<t.length;r++){var i,o=t[r];o.empty()&&(i=e.getLine(o.anchor.line).length,o.anchor.ch<i?n.push(e.markText(o.anchor,et(o.anchor.line,o.anchor.ch+1),{className:"cm-fat-cursor-mark"})):n.push(e.markText(et(o.anchor.line,i-1),et(o.anchor.line,i),{className:"cm-fat-cursor-mark"})))}e.state.fatCursorMarks=n}}function a(e){var t=e.state.fatCursorMarks;if(t)for(var n=0;n<t.length;n++)t[n].clear()}function t(e,t){if(t){if(this[e])return this[e];var n=function(e){if("'"==e.charAt(0))return e.charAt(1);var t=e.split(/-(?!$)/),e=t[t.length-1];{if(1==t.length&&1==t[0].length)return!1;if(2==t.length&&"Shift"==t[0]&&1==e.length)return!1}for(var n=!1,r=0;r<t.length;r++){var i=t[r];i in o?t[r]=o[i]:n=!0,i in s&&(t[r]=s[i])}if(!n)return!1;k(e)&&(t[t.length-1]=e.toLowerCase());return"<"+t.join("-")+">"}(e);if(!n)return!1;e=Ye.Vim.findKey(t,n);return"function"==typeof e&&Ye.signal(t,"vim-keypress",n),e}}Ye.defineOption("vimMode",!1,function(e,t,n){t&&"vim"!=e.getOption("keyMap")?e.setOption("keyMap","vim"):!t&&n!=Ye.Init&&/^vim/.test(e.getOption("keyMap"))&&e.setOption("keyMap","default")});var o={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A",CapsLock:""},s={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"};function l(e){var t=e.state.vim;return t.onPasteFn||(t.onPasteFn=function(){t.insertMode||(e.setCursor($(e.getCursor(),0,1)),K.enterInsertMode(e,{},t))}),t.onPasteFn}var c=/[\d]/,m=[Ye.isWordChar,function(e){return e&&!Ye.isWordChar(e)&&!/\s/.test(e)}],g=[function(e){return/\S/.test(e)}];function n(e,t){for(var n=[],r=e;r<e+t;r++)n.push(String.fromCharCode(r));return n}var u,d=n(65,26),f=n(97,26),h=n(48,10),p=[].concat(d,f,h,["<",">"]),v=[].concat(d,f,h,["-",'"',".",":","_","/"]);try{u=new RegExp("^[\\p{Lu}]$","u")}catch(e){u=/^[A-Z]$/}function y(e,t){return t>=e.firstLine()&&t<=e.lastLine()}function b(e){return/^[a-z]$/.test(e)}function k(e){return u.test(e)}function _(e){return/^\s*$/.test(e)}function x(e){return-1!=".?!".indexOf(e)}function w(e,t){for(var n=0;n<t.length;n++)if(t[n]==e)return!0;return!1}var C={};function S(e,t,n,r,i){if(void 0===t&&!i)throw Error("defaultValue is required unless callback is provided");if(C[e]={type:n=n||"string",defaultValue:t,callback:i},r)for(var o=0;o<r.length;o++)C[r[o]]=C[e];t&&L(e,t)}function L(e,t,n,r){var i=C[e],r=(r=r||{}).scope;if(!i)return new Error("Unknown option: "+e);if("boolean"==i.type){if(t&&!0!==t)return new Error("Invalid argument: "+e+"="+t);!1!==t&&(t=!0)}i.callback?("local"!==r&&i.callback(t,void 0),"global"!==r&&n&&i.callback(t,n)):("local"!==r&&(i.value="boolean"==i.type?!!t:t),"global"!==r&&n&&(n.state.vim.options[e]={value:t}))}function M(e,t,n){var r=C[e],n=(n=n||{}).scope;if(!r)return new Error("Unknown option: "+e);if(r.callback){var i=t&&r.callback(void 0,t);return"global"!==n&&void 0!==i?i:"local"!==n?r.callback():void 0}return((i="global"!==n&&t&&t.state.vim.options[e])||"local"!==n&&r||{}).value}S("filetype",void 0,"string",["ft"],function(e,t){if(void 0!==t){if(void 0===e)return"null"==(n=t.getOption("mode"))?"":n;var n=""==e?"null":e;t.setOption("mode",n)}});function T(){var a=100,s=-1,l=0,c=0,u=new Array(a);function r(e,t){l<(s+=t)?s=l:s<c&&(s=c);var n=u[(a+s)%a];if(n&&!n.find()){var r,i=0<t?1:-1,o=e.getCursor();do{if((n=u[(a+(s+=i))%a])&&(r=n.find())&&!Y(o,r))break}while(s<l&&c<s)}return n}return{cachedCursor:void 0,add:function(r,e,t){var n=u[s%a];function i(e){var t=++s%a,n=u[t];n&&n.clear(),u[t]=r.setBookmark(e)}n&&(!(n=n.find())||Y(n,e))||i(e),i(t),(c=(l=s)-a+1)<0&&(c=0)},find:function(e,t){var n=s,t=r(e,t);return s=n,t&&t.find()},move:r}}function A(e){return e?{changes:e.changes,expectCursorActivityForChange:e.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}}var O,N;function E(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=A()}function I(e){return e.state.vim||(e.state.vim={inputState:new R,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},fakeCursor:null,insertMode:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{}}),e.state.vim}function P(){for(var e in O={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:T(),macroModeState:new E,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new F({}),searchHistoryController:new z,exCommandHistoryController:new z},C){e=C[e];e.value=e.defaultValue}}f={buildKeyMap:function(){},getRegisterController:function(){return O.registerController},resetVimGlobalState_:P,getVimGlobalState_:function(){return O},maybeInitVimState_:I,suppressErrorLogging:!(E.prototype={exitMacroRecordMode:function(){var e=O.macroModeState;e.onRecordingDone&&e.onRecordingDone(),e.onRecordingDone=void 0,e.isRecording=!1},enterMacroRecordMode:function(e,t){var n=O.registerController.getRegister(t);n&&(n.clear(),this.latestRegister=t,e.openDialog&&(this.onRecordingDone=e.openDialog(document.createTextNode("(recording)["+t+"]"),null,{bottom:!0})),this.isRecording=!0)}}),InsertModeKey:Ve,map:function(e,t,n){ze.map(e,t,n)},unmap:function(e,t){ze.unmap(e,t)},noremap:function(e,t,n){function r(e){return e?[e]:["normal","insert","visual"]}for(var i=r(n),o=Qe.length,a=o-Je;a<o&&i.length;a++){var s=Qe[a];if(!(s.keys!=t||n&&s.context&&s.context!==n||"ex"===s.type.substr(0,2)||"key"===s.type.substr(0,3))){var l,c={};for(l in s)c[l]=s[l];c.keys=e,n&&!c.context&&(c.context=n),this._mapCommand(c);var u=r(s.context),i=i.filter(function(e){return-1===u.indexOf(e)})}}},mapclear:function(e){var t=Qe.length,n=Je,r=Qe.slice(0,t-n);if(Qe=Qe.slice(t-n),e)for(var i=r.length-1;0<=i;i--){var o=r[i];if(e!==o.context)if(o.context)this._mapCommand(o);else{var a,s=["normal","insert","visual"];for(a in s)if(s[a]!==e){var l,c={};for(l in o)c[l]=o[l];c.context=s[a],this._mapCommand(c)}}}},setOption:L,getOption:M,defineOption:S,defineEx:function(e,t,n){if(t){if(0!==e.indexOf(t))throw new Error('(Vim.defineEx) "'+t+'" is not a prefix of "'+e+'", command not registered')}else t=e;Fe[e]=n,ze.commandMap_[t]={name:e,shortName:t,type:"api"}},handleKey:function(e,t,n){n=this.findKey(e,t,n);if("function"==typeof n)return n()},findKey:function(s,l,n){var e,c=I(s);function r(){var e,t=O.macroModeState;if(t.isRecording){if("q"==l)return t.exitMacroRecordMode(),B(s),1;"mapping"!=n&&(e=l,(t=t).isPlaying||(t=t.latestRegister,(t=O.registerController.getRegister(t))&&t.pushText(e)))}}function u(){return"<Esc>"==l&&(B(s),c.visualMode?le(s):c.insertMode&&We(s),1)}return!1===(e=(c.insertMode?function(){if(u())return!0;for(var e=c.inputState.keyBuffer=c.inputState.keyBuffer+l,t=1==l.length,n=W.matchCommand(e,Qe,c.inputState,"insert");1<e.length&&"full"!=n.type;){var e=c.inputState.keyBuffer=e.slice(1),r=W.matchCommand(e,Qe,c.inputState,"insert");"none"!=r.type&&(n=r)}if("none"==n.type)return B(s),!1;if("partial"==n.type)return N&&window.clearTimeout(N),N=window.setTimeout(function(){c.insertMode&&c.inputState.keyBuffer&&B(s)},M("insertModeEscKeysTimeout")),!t;if(N&&window.clearTimeout(N),t){for(var i=s.listSelections(),o=0;o<i.length;o++){var a=i[o].head;s.replaceRange("",$(a,0,-(e.length-1)),a,"+input")}O.macroModeState.lastInsertModeChanges.changes.pop()}return B(s),n.command}:function(){if(r()||u())return!0;var e=c.inputState.keyBuffer=c.inputState.keyBuffer+l;if(/^[1-9]\d*$/.test(e))return!0;var t=/^(\d*)(.*)$/.exec(e);if(!t)return B(s),!1;var n=c.visualMode?"visual":"normal";return"none"==(n=W.matchCommand(t[2]||t[1],Qe,c.inputState,n)).type?(B(s),!1):"partial"==n.type||(c.inputState.keyBuffer="",(t=/^(\d*)(.*)$/.exec(e))[1]&&"0"!=t[1]&&c.inputState.pushRepeatDigit(t[1]),n.command)})())?c.insertMode||1!==l.length?void 0:function(){return!0}:!0===e?function(){return!0}:function(){return s.operation(function(){s.curOp.isVimOp=!0;try{"keyToKey"==e.type?function(e){for(var t;e;)t=/<\w+-.+?>|<\w+>|./.exec(e),l=t[0],e=e.substring(t.index+l.length),Ye.Vim.handleKey(s,l,"mapping")}(e.toKeys):W.processCommand(s,c,e)}catch(e){throw s.state.vim=void 0,I(s),Ye.Vim.suppressErrorLogging||console.log(e),e}return!0})}},handleEx:function(e,t){ze.processCommand(e,t)},defineMotion:function(e,t){q[e]=t},defineAction:function(e,t){K[e]=t},defineOperator:function(e,t){j[e]=t},mapCommand:function(e,t,n,r,i){var o,a={keys:e,type:t};for(o in a[t]=n,a[t+"Args"]=r,i)a[o]=i[o];qe(a)},_mapCommand:qe,defineRegister:function(e,t){var n=O.registerController.registers;if(!e||1!=e.length)throw Error("Register name must be 1 character");if(n[e])throw Error("Register already defined "+e);n[e]=t,v.push(e)},exitVisualMode:le,exitInsertMode:We};function R(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null}function B(e,t){e.state.vim.inputState=new R,Ye.signal(e,"vim-command-done",t)}function D(e,t,n){this.clear(),this.keyBuffer=[e||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!t,this.blockwise=!!n}function F(e){this.registers=e,this.unnamedRegister=e['"']=new D,e["."]=new D,e[":"]=new D,e["/"]=new D}function z(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}R.prototype.pushRepeatDigit=function(e){this.operator?this.motionRepeat=this.motionRepeat.concat(e):this.prefixRepeat=this.prefixRepeat.concat(e)},R.prototype.getRepeat=function(){var e=0;return(0<this.prefixRepeat.length||0<this.motionRepeat.length)&&(e=1,0<this.prefixRepeat.length&&(e*=parseInt(this.prefixRepeat.join(""),10)),0<this.motionRepeat.length&&(e*=parseInt(this.motionRepeat.join(""),10))),e},D.prototype={setText:function(e,t,n){this.keyBuffer=[e||""],this.linewise=!!t,this.blockwise=!!n},pushText:function(e,t){t&&(this.linewise||this.keyBuffer.push("\n"),this.linewise=!0),this.keyBuffer.push(e)},pushInsertModeChanges:function(e){this.insertModeChanges.push(A(e))},pushSearchQuery:function(e){this.searchQueries.push(e)},clear:function(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1},toString:function(){return this.keyBuffer.join("")}},F.prototype={pushText:function(e,t,n,r,i){if("_"!==e){r&&"\n"!==n.charAt(n.length-1)&&(n+="\n");var o=this.isValidRegister(e)?this.getRegister(e):null;if(o)k(e)?o.pushText(n,r):o.setText(n,r,i),this.unnamedRegister.setText(o.toString(),r);else{switch(t){case"yank":this.registers[0]=new D(n,r,i);break;case"delete":case"change":-1==n.indexOf("\n")?this.registers["-"]=new D(n,r):(this.shiftNumericRegisters_(),this.registers[1]=new D(n,r))}this.unnamedRegister.setText(n,r,i)}}},getRegister:function(e){return this.isValidRegister(e)?(e=e.toLowerCase(),this.registers[e]||(this.registers[e]=new D),this.registers[e]):this.unnamedRegister},isValidRegister:function(e){return e&&w(e,v)},shiftNumericRegisters_:function(){for(var e=9;2<=e;e--)this.registers[e]=this.getRegister(""+(e-1))}},z.prototype={nextMatch:function(e,t){var n=this.historyBuffer,r=t?-1:1;null===this.initialPrefix&&(this.initialPrefix=e);for(var i=this.iterator+r;t?0<=i:i<n.length;i+=r)for(var o=n[i],a=0;a<=o.length;a++)if(this.initialPrefix==o.substring(0,a))return this.iterator=i,o;return i>=n.length?(this.iterator=n.length,this.initialPrefix):i<0?e:void 0},pushInput:function(e){var t=this.historyBuffer.indexOf(e);-1<t&&this.historyBuffer.splice(t,1),e.length&&this.historyBuffer.push(e)},reset:function(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}};var W={matchCommand:function(e,t,n,r){var i=function(e,t,n,r){for(var i,o=[],a=[],s=0;s<t.length;s++){var l=t[s];"insert"==n&&"insert"!=l.context||l.context&&l.context!=n||r.operator&&"action"==l.type||!(i=function(e,t){{if("<character>"!=t.slice(-11))return e==t?"full":0==t.indexOf(e)&&"partial";var n=t.length-11,r=e.slice(0,n),t=t.slice(0,n);return r==t&&e.length>n?"full":0==t.indexOf(r)&&"partial"}}(e,l.keys))||("partial"==i&&o.push(l),"full"==i&&a.push(l))}return{partial:o.length&&o,full:a.length&&a}}(e,t,r,n);if(!i.full&&!i.partial)return{type:"none"};if(!i.full&&i.partial)return{type:"partial"};for(var o=0;o<i.full.length;o++)var a=i.full[o],s=s||a;if("<character>"==s.keys.slice(-11)){e=function(e){var t=/^.*(<[^>]+>)$/.exec(e),n=t?t[1]:e.slice(-1);if(1<n.length)switch(n){case"<CR>":n="\n";break;case"<Space>":n=" ";break;default:n=""}return n}(e);if(!e)return{type:"none"};n.selectedCharacter=e}return{type:"full",command:s}},processCommand:function(e,t,n){switch(t.inputState.repeatOverride=n.repeatOverride,n.type){case"motion":this.processMotion(e,t,n);break;case"operator":this.processOperator(e,t,n);break;case"operatorMotion":this.processOperatorMotion(e,t,n);break;case"action":this.processAction(e,t,n);break;case"search":this.processSearch(e,t,n);break;case"ex":case"keyToEx":this.processEx(e,t,n)}},processMotion:function(e,t,n){t.inputState.motion=n.motion,t.inputState.motionArgs=V(n.motionArgs),this.evalInput(e,t)},processOperator:function(e,t,n){var r=t.inputState;if(r.operator){if(r.operator==n.operator)return r.motion="expandToLine",r.motionArgs={linewise:!0},void this.evalInput(e,t);B(e)}r.operator=n.operator,r.operatorArgs=V(n.operatorArgs),n.exitVisualBlock&&(t.visualBlock=!1,ae(e)),t.visualMode&&this.evalInput(e,t)},processOperatorMotion:function(e,t,n){var r=t.visualMode,i=V(n.operatorMotionArgs);i&&r&&i.visualLine&&(t.visualLine=!0),this.processOperator(e,t,n),r||this.processMotion(e,t,n)},processAction:function(e,t,n){var r=t.inputState,i=r.getRepeat(),o=!!i,a=V(n.actionArgs)||{};r.selectedCharacter&&(a.selectedCharacter=r.selectedCharacter),n.operator&&this.processOperator(e,t,n),n.motion&&this.processMotion(e,t,n),(n.motion||n.operator)&&this.evalInput(e,t),a.repeat=i||1,a.repeatIsExplicit=o,a.registerName=r.registerName,B(e),t.lastMotion=null,n.isEdit&&this.recordLastEdit(t,r,n),K[n.action](e,a,t)},processSearch:function(a,r,i){if(a.getSearchCursor){var s=i.searchArgs.forward,e=i.searchArgs.wholeWordOnly;ke(a).setReversed(!s);var t=s?"/":"?",o=ke(a).getQuery(),l=a.getScrollInfo();switch(i.searchArgs.querySrc){case"prompt":var n=O.macroModeState;n.isPlaying?d(u=n.replaySearchQueries.shift(),!0,!1):Ae(a,{onClose:f,prefix:t,desc:"(JavaScript regexp)",onKeyUp:function(e,t,n){var r,i,o=Ye.keyName(e);"Up"==o||"Down"==o?(r=e.target?e.target.selectionEnd:0,n(t=O.searchHistoryController.nextMatch(t,"Up"==o)||""),r&&e.target&&(e.target.selectionEnd=e.target.selectionStart=Math.min(r,e.target.value.length))):"Left"!=o&&"Right"!=o&&"Ctrl"!=o&&"Alt"!=o&&"Shift"!=o&&O.searchHistoryController.reset();try{i=Oe(a,t,!0,!0)}catch(e){}i?a.scrollIntoView(Ie(a,!s,i),30):(Pe(a),a.scrollTo(l.left,l.top))},onKeyDown:function(e,t,n){var r=Ye.keyName(e);"Esc"==r||"Ctrl-C"==r||"Ctrl-["==r||"Backspace"==r&&""==t?(O.searchHistoryController.pushInput(t),O.searchHistoryController.reset(),Oe(a,o),Pe(a),a.scrollTo(l.left,l.top),Ye.e_stop(e),B(a),n(),a.focus()):"Up"==r||"Down"==r?Ye.e_stop(e):"Ctrl-U"==r&&(Ye.e_stop(e),n(""))}});break;case"wordUnderCursor":var c=ue(a,!1,0,!1,!0),n=!0;if(c||(c=ue(a,!1,0,!1,!1),n=!1),!c)return;var u=a.getLine(c.start.line).substring(c.start.ch,c.end.ch);u=n&&e?"\\b"+u+"\\b":u.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1"),O.jumpList.cachedCursor=a.getCursor(),a.setCursor(c.start),d(u,!0,!1)}}function d(t,e,n){O.searchHistoryController.pushInput(t),O.searchHistoryController.reset();try{Oe(a,t,e,n)}catch(e){return Te(a,"Invalid regex: "+t),void B(a)}W.processMotion(a,r,{type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:i.searchArgs.toJumplist}})}function f(e){a.scrollTo(l.left,l.top),d(e,!0,!0);var t=O.macroModeState;t.isRecording&&(e=e,(t=t).isPlaying||(t=t.latestRegister,(t=O.registerController.getRegister(t))&&t.pushSearchQuery&&t.pushSearchQuery(e)))}},processEx:function(o,e,t){function n(e){O.exCommandHistoryController.pushInput(e),O.exCommandHistoryController.reset(),ze.processCommand(o,e)}function r(e,t,n){var r,i=Ye.keyName(e);("Esc"==i||"Ctrl-C"==i||"Ctrl-["==i||"Backspace"==i&&""==t)&&(O.exCommandHistoryController.pushInput(t),O.exCommandHistoryController.reset(),Ye.e_stop(e),B(o),n(),o.focus()),"Up"==i||"Down"==i?(Ye.e_stop(e),r=e.target?e.target.selectionEnd:0,n(t=O.exCommandHistoryController.nextMatch(t,"Up"==i)||""),r&&e.target&&(e.target.selectionEnd=e.target.selectionStart=Math.min(r,e.target.value.length))):"Ctrl-U"==i?(Ye.e_stop(e),n("")):"Left"!=i&&"Right"!=i&&"Ctrl"!=i&&"Alt"!=i&&"Shift"!=i&&O.exCommandHistoryController.reset()}"keyToEx"==t.type?ze.processCommand(o,t.exArgs.input):e.visualMode?Ae(o,{onClose:n,prefix:":",value:"'<,'>",onKeyDown:r,selectValueOnOpen:!1}):Ae(o,{onClose:n,prefix:":",onKeyDown:r})},evalInput:function(e,t){var n,r,i,o,a,s=t.inputState,l=s.motion,c=s.motionArgs||{},u=s.operator,d=s.operatorArgs||{},f=s.registerName,h=t.sel,p=X(t.visualMode?U(e,h.head):e.getCursor("head")),m=X(t.visualMode?U(e,h.anchor):e.getCursor("anchor")),g=X(p),v=X(m);if(u&&this.recordLastEdit(t,s),0<(m=void 0!==s.repeatOverride?s.repeatOverride:s.getRepeat())&&c.explicitRepeat?c.repeatIsExplicit=!0:(c.noRepeat||!c.explicitRepeat&&0===m)&&(c.repeatIsExplicit=!(m=1)),s.selectedCharacter&&(c.selectedCharacter=d.selectedCharacter=s.selectedCharacter),c.repeat=m,B(e),l){var y,b=q[l](e,p,c,t,s);if(t.lastMotion=q[l],!b)return;c.toJumplist&&((S=(y=O.jumpList).cachedCursor)?(de(e,S,b),delete y.cachedCursor):de(e,p,b)),S=(S=b instanceof Array?(n=b[0],b[1]):b)||X(p),t.visualMode?(t.visualBlock&&S.ch===1/0||(S=U(e,S)),n=n&&U(e,n),h.anchor=n=n||v,h.head=S,ae(e),ve(e,t,"<",Q(n,S)?n:S),ve(e,t,">",Q(n,S)?S:n)):u||(S=U(e,S),e.setCursor(S.line,S.ch))}if(u){if(d.lastSel?(n=v,y=d.lastSel,b=Math.abs(y.head.line-y.anchor.line),p=Math.abs(y.head.ch-y.anchor.ch),S=y.visualLine?et(v.line+b,v.ch):y.visualBlock?et(v.line+b,v.ch+p):y.head.line==y.anchor.line?et(v.line,v.ch+p):et(v.line+b,v.ch),t.visualMode=!0,t.visualLine=y.visualLine,t.visualBlock=y.visualBlock,h=t.sel={anchor:n,head:S},ae(e)):t.visualMode&&(d.lastSel={anchor:X(h.anchor),head:X(h.head),visualBlock:t.visualBlock,visualLine:t.visualLine}),t.visualMode){if(i=J(h.head,h.anchor),o=Z(h.head,h.anchor),r=t.visualLine||d.linewise,C=se(e,{anchor:i,head:o},w=t.visualBlock?"block":r?"line":"char"),r){var k=C.ranges;if("block"==w)for(var x=0;x<k.length;x++)k[x].head.ch=te(e,k[x].head.line);else"line"==w&&(k[0].head=et(k[0].head.line+1,0))}}else{i=X(n||v),Q(o=X(S||g),i)&&(a=i,i=o,o=a),(r=c.linewise||d.linewise)?(a=o,i.ch=0,a.ch=0,a.line++):c.forward&&function(e,t,n){t=e.getRange(t,n);if(/\n\s*$/.test(t)){var r=t.split("\n");r.pop();for(var i=r.pop();0<r.length&&i&&_(i);i=r.pop())n.line--,n.ch=0;i?(n.line--,n.ch=te(e,n.line)):n.ch=0}}(e,i,o);var w="char",c=!c.inclusive||r,C=se(e,{anchor:i,head:o},w,c)}e.setSelections(C.ranges,C.primary),t.lastMotion=null,d.repeat=m,d.registerName=f,d.linewise=r;var S=j[u](e,d,C.ranges,v,S);t.visualMode&&le(e,null!=S),S&&e.setCursor(S)}},recordLastEdit:function(e,t,n){var r=O.macroModeState;r.isPlaying||(e.lastEditInputState=t,e.lastEditActionCommand=n,r.lastInsertModeChanges.changes=[],r.lastInsertModeChanges.expectCursorActivityForChange=!1,r.lastInsertModeChanges.visualBlock=e.visualBlock?e.sel.head.line-e.sel.anchor.line:0)}},q={moveToTopLine:function(e,t,n){n=Re(e).top+n.repeat-1;return et(n,ce(e.getLine(n)))},moveToMiddleLine:function(e){var t=Re(e),t=Math.floor(.5*(t.top+t.bottom));return et(t,ce(e.getLine(t)))},moveToBottomLine:function(e,t,n){n=Re(e).bottom-n.repeat+1;return et(n,ce(e.getLine(n)))},expandToLine:function(e,t,n){return et(t.line+n.repeat-1,1/0)},findNext:function(e,t,n){var r=ke(e),i=r.getQuery();if(i){var o=!n.forward,o=r.isReversed()?!o:o;return Ee(e,i),Ie(e,o,i,n.repeat)}},findAndSelectNextInclusive:function(e,t,n,r,i){var o=ke(e),a=o.getQuery();if(a){var s=!n.forward,l=function(i,o,a,s,l){void 0===s&&(s=1);return i.operation(function(){var e=i.getCursor(),t=i.getSearchCursor(a,e),n=t.find(!o);!l.visualMode&&n&&Y(t.from(),e)&&t.find(!o);for(var r=0;r<s;r++)if(!(n=t.find(o))&&!(t=i.getSearchCursor(a,o?et(i.lastLine()):et(i.firstLine(),0))).find(o))return;return[t.from(),t.to()]})}(e,s=o.isReversed()?!s:s,a,n.repeat,r);if(l){if(i.operator)return l;a=l[0],i=et(l[1].line,l[1].ch-1);if(r.visualMode){(r.visualLine||r.visualBlock)&&(r.visualLine=!1,r.visualBlock=!1,Ye.signal(e,"vim-mode-change",{mode:"visual",subMode:""}));l=r.sel.anchor;if(l)return o.isReversed()?n.forward?[l,a]:[l,i]:n.forward?[l,i]:[l,a]}else r.visualMode=!0,r.visualLine=!1,r.visualBlock=!1,Ye.signal(e,"vim-mode-change",{mode:"visual",subMode:""});return s?[i,a]:[a,i]}}},goToMark:function(e,t,n,r){r=Be(e,r,n.selectedCharacter);return r?n.linewise?{line:r.line,ch:ce(e.getLine(r.line))}:r:null},moveToOtherHighlightedEnd:function(e,t,n,r){if(r.visualBlock&&n.sameLine){n=r.sel;return[U(e,et(n.anchor.line,n.head.ch)),U(e,et(n.head.line,n.anchor.ch))]}return[r.sel.head,r.sel.anchor]},jumpToMark:function(e,t,n,r){for(var i=t,o=0;o<n.repeat;o++){var a,s,l,c,u=i;for(a in r.marks)b(a)&&(s=r.marks[a].find(),(n.forward?Q(s,u):Q(u,s))||n.linewise&&s.line==u.line||(l=Y(u,i),c=n.forward?ee(u,s,i):ee(i,s,u),(l||c)&&(i=s)))}return i=n.linewise?et(i.line,ce(e.getLine(i.line))):i},moveByCharacters:function(e,t,n){var r=n.repeat,r=n.forward?t.ch+r:t.ch-r;return et(t.line,r)},moveByLines:function(e,t,n,r){var i=t,o=i.ch;switch(r.lastMotion){case this.moveByLines:case this.moveByDisplayLines:case this.moveByScroll:case this.moveToColumn:case this.moveToEol:o=r.lastHPos;break;default:r.lastHPos=o}var a=n.repeat+(n.repeatOffset||0),s=n.forward?i.line+a:i.line-a,l=e.firstLine(),c=e.lastLine(),a=e.findPosV(i,n.forward?a:-a,"line",r.lastHSPos);return(n.forward?a.line>s:a.line<s)&&(s=a.line,o=a.ch),s<l&&i.line==l?this.moveToStartOfLine(e,t,n,r):c<s&&i.line==c?me(e,t,n,r,!0):(n.toFirstChar&&(o=ce(e.getLine(s)),r.lastHPos=o),r.lastHSPos=e.charCoords(et(s,o),"div").left,et(s,o))},moveByDisplayLines:function(e,t,n,r){var i=t;switch(r.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:r.lastHSPos=e.charCoords(i,"div").left}var o,t=n.repeat,t=e.findPosV(i,n.forward?t:-t,"line",r.lastHSPos);return t.hitSide&&(t=n.forward?(o={top:e.charCoords(t,"div").top+8,left:r.lastHSPos},e.coordsChar(o,"div")):((o=e.charCoords(et(e.firstLine(),0),"div")).left=r.lastHSPos,e.coordsChar(o,"div"))),r.lastHPos=t.ch,t},moveByPage:function(e,t,n){var r=n.repeat;return e.findPosV(t,n.forward?r:-r,"page")},moveByParagraph:function(e,t,n){var r=n.forward?1:-1;return ye(e,t,n.repeat,r)},moveBySentence:function(e,t,n){var r=n.forward?1:-1;return function(e,t,n,r){function u(e,t){if(t.pos+t.dir<0||t.pos+t.dir>=t.line.length){if(t.ln+=t.dir,!y(e,t.ln))return t.line=null,t.ln=null,void(t.pos=null);t.line=e.getLine(t.ln),t.pos=0<t.dir?0:t.line.length-1}else t.pos+=t.dir}var i={ln:t.line,pos:t.ch};for(;0<n;)i=(r<0?function(e,t,n,r){var i={line:s=e.getLine(t),ln:t,pos:n,dir:r},o={ln:i.ln,pos:null},a=""===i.line;for(u(e,i);null!==i.line;){if(""===i.line&&!a)return null!==o.pos?o:{ln:i.ln,pos:i.pos};if(x(i.line[i.pos])&&null!==o.pos&&(i.ln!==o.ln||i.pos+1!==o.pos))return o;""===i.line||_(i.line[i.pos])||(a=!1,o={ln:i.ln,pos:i.pos}),u(e,i)}for(var s=e.getLine(o.ln),l=o.pos=0;l<s.length;++l)if(!_(s[l])){o.pos=l;break}return o}:function(e,t,n,r){var i=""===(l=e.getLine(t)),o={line:l,ln:t,pos:n,dir:r},a={ln:o.ln,pos:o.pos},s=""===o.line;for(u(e,o);null!==o.line;){if(a.ln=o.ln,a.pos=o.pos,""===o.line&&!s)return{ln:o.ln,pos:o.pos};if(i&&""!==o.line&&!_(o.line[o.pos]))return{ln:o.ln,pos:o.pos};!x(o.line[o.pos])||i||o.pos!==o.line.length-1&&!_(o.line[o.pos+1])||(i=!0),u(e,o)}var l=e.getLine(a.ln);a.pos=0;for(var c=l.length-1;0<=c;--c)if(!_(l[c])){a.pos=c;break}return a})(e,i.ln,i.pos,r),n--;return et(i.ln,i.pos)}(e,t,n.repeat,r)},moveByScroll:function(e,t,n,r){var i=e.getScrollInfo(),o=null,a=(a=n.repeat)||i.clientHeight/(2*e.defaultTextHeight()),s=e.charCoords(t,"local");if(n.repeat=a,!(o=q.moveByDisplayLines(e,t,n,r)))return null;r=e.charCoords(o,"local");return e.scrollTo(null,i.top+r.top-s.top),o},moveByWords:function(e,t,n){return function(e,t,n,r,i,o){var a=X(t),s=[];(r&&!i||!r&&i)&&n++;for(var l=!(r&&i),c=0;c<n;c++){var u=function(e,t,n,r,i){var o=t.line,a=t.ch,s=e.getLine(o),l=n?1:-1,c=r?g:m;if(i&&""==s){if(o+=l,s=e.getLine(o),!y(e,o))return null;a=n?0:s.length}for(;;){if(i&&""==s)return{from:0,to:0,line:o};for(var u=0<l?s.length:-1,d=u,f=u;a!=u;){for(var h=!1,p=0;p<c.length&&!h;++p)if(c[p](s.charAt(a))){for(d=a;a!=u&&c[p](s.charAt(a));)a+=l;if(h=d!=(f=a),d!=t.ch||o!=t.line||f!=d+l)return{from:Math.min(d,f+1),to:Math.max(d,f),line:o}}h||(a+=l)}if(!y(e,o+=l))return null;s=e.getLine(o),a=0<l?0:s.length}}(e,t,r,o,l);if(!u){var d=te(e,e.lastLine());s.push(r?{line:e.lastLine(),from:d,to:d}:{line:0,from:0,to:0});break}s.push(u),t=et(u.line,r?u.to-1:u.from)}var f=s.length!=n,h=s[0],p=s.pop();return r&&!i?(f||h.from==a.ch&&h.line==a.line||(p=s.pop()),et(p.line,p.from)):r&&i?et(p.line,p.to-1):!r&&i?(f||h.to==a.ch&&h.line==a.line||(p=s.pop()),et(p.line,p.to)):et(p.line,p.from)}(e,t,n.repeat,!!n.forward,!!n.wordEnd,!!n.bigWord)},moveTillCharacter:function(e,t,n){var r=ge(e,n.repeat,n.forward,n.selectedCharacter),e=n.forward?-1:1;return fe(e,n),r?(r.ch+=e,r):null},moveToCharacter:function(e,t,n){var r=n.repeat;return fe(0,n),ge(e,r,n.forward,n.selectedCharacter)||t},moveToSymbol:function(e,t,n){return function(e,t,n,r){var i=X(e.getCursor()),o=n?1:-1,a=n?e.lineCount():-1,s=i.ch,l=i.line,c=e.getLine(l),u={lineText:c,nextCh:c.charAt(s),lastCh:null,index:s,symb:r,reverseSymb:(n?{")":"(","}":"{"}:{"(":")","{":"}"})[r],forward:n,depth:0,curMoveThrough:!1},n=he[r];if(!n)return i;var r=pe[n].init,d=pe[n].isComplete;r&&r(u);for(;l!==a&&t;){var f;u.index+=o,u.nextCh=u.lineText.charAt(u.index),u.nextCh||(l+=o,u.lineText=e.getLine(l)||"",0<o?u.index=0:(f=u.lineText.length,u.index=0<f?f-1:0),u.nextCh=u.lineText.charAt(u.index)),d(u)&&(i.line=l,i.ch=u.index,t--)}if(u.nextCh||u.curMoveThrough)return et(l,u.index);return i}(e,n.repeat,n.forward,n.selectedCharacter)||t},moveToColumn:function(e,t,n,r){n=n.repeat;return r.lastHPos=n-1,r.lastHSPos=e.charCoords(t,"div").left,t=n,e=(n=e).getCursor().line,U(n,et(e,t-1))},moveToEol:function(e,t,n,r){return me(e,t,n,r,!1)},moveToFirstNonWhiteSpaceCharacter:function(e,t){return et(t.line,ce(e.getLine(t.line)))},moveToMatchedSymbol:function(e,t){for(var n=t,r=n.line,i=n.ch,o=e.getLine(r);i<o.length;i++)if((a=o.charAt(i))&&-1!="()[]{}".indexOf(a)){var a=e.getTokenTypeAt(et(r,i+1));if("string"!==a&&"comment"!==a)break}if(i<o.length){t="<"===i||">"===i?/[(){}[\]<>]/:/[(){}[\]]/;return e.findMatchingBracket(et(r,i),{bracketRegex:t}).to}return n},moveToStartOfLine:function(e,t){return et(t.line,0)},moveToLineOrEdgeOfDocument:function(e,t,n){var r=n.forward?e.lastLine():e.firstLine();return n.repeatIsExplicit&&(r=n.repeat-e.getOption("firstLineNumber")),et(r,ce(e.getLine(r)))},textObjectManipulation:function(e,t,n,r){var i=n.selectedCharacter;"b"==i?i="(":"B"==i&&(i="{");var o=!n.textObjectInner;if({"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"}[i])a=function(e,t,n,r){var i=t,o={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[n],t={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[n],n=e.getLine(i.line).charAt(i.ch)===t?1:0;if(t=e.scanForBracket(et(i.line,i.ch+n),-1,void 0,{bracketRegex:o}),o=e.scanForBracket(et(i.line,i.ch+n),1,void 0,{bracketRegex:o}),!t||!o)return{start:i,end:i};t=t.pos,o=o.pos,(t.line==o.line&&t.ch>o.ch||t.line>o.line)&&(i=t,t=o,o=i);r?o.ch+=1:t.ch+=1;return{start:t,end:o}}(e,t,i,o);else if({"'":!0,'"':!0,"`":!0}[i])a=function(e,t,n,r){var i,o,a,s,t=X(t),l=e.getLine(t.line).split(""),e=l.indexOf(n);t.ch<e?t.ch=e:e<t.ch&&l[t.ch]==n&&(o=t.ch,--t.ch);if(l[t.ch]!=n||o)for(a=t.ch;-1<a&&!i;a--)l[a]==n&&(i=a+1);else i=t.ch+1;if(i&&!o)for(a=i,s=l.length;a<s&&!o;a++)l[a]==n&&(o=a);if(!i||!o)return{start:t,end:t};r&&(--i,++o);return{start:et(t.line,i),end:et(t.line,o)}}(e,t,i,o);else if("W"===i)a=ue(e,o,0,!0);else if("w"===i)a=ue(e,o,0,!1);else if("p"===i){var a=ye(e,t,n.repeat,0,o);n.linewise=!0,r.visualMode?r.visualLine||(r.visualLine=!0):((r=r.inputState.operatorArgs)&&(r.linewise=!0),a.end.line--)}else{if("t"!==i)return null;a=function(e,t,n){var r=t;if(!Ye.findMatchingTag||!Ye.findEnclosingTag)return{start:r,end:r};t=Ye.findMatchingTag(e,t)||Ye.findEnclosingTag(e,t);if(!t||!t.open||!t.close)return{start:r,end:r};if(n)return{start:t.open.from,end:t.close.to};return{start:t.open.to,end:t.close.from}}(e,t,o)}return e.state.vim.visualMode?function(e,t,n){var r=e.state.vim.sel,i=r.head,o=r.anchor;Q(n,t)&&(r=n,n=t,t=r);Q(i,o)?(i=J(t,i),o=Z(o,n)):(o=J(t,o),-1==(i=$(i=Z(i,n),0,-1)).ch&&i.line!=e.firstLine()&&(i=et(i.line-1,te(e,i.line-1))));return[o,i]}(e,a.start,a.end):[a.start,a.end]},repeatLastCharacterSearch:function(e,t,n){var r=O.lastCharacterSearch,i=n.repeat,o=n.forward===r.forward,a=(r.increment?1:0)*(o?-1:1);e.moveH(-a,"char");r=ge(e,i,n.inclusive=o,r.selectedCharacter);return r?(r.ch+=a,r):(e.moveH(a,"char"),t)}};function H(e,t){for(var n=[],r=0;r<t;r++)n.push(e);return n}var j={change:function(e,t,n){var r,i,o,a=e.state.vim,s=n[0].anchor,l=n[0].head,s=a.visualMode?t.fullLine?(l.ch=Number.MAX_VALUE,l.line--,e.setSelection(s,l),i=e.getSelection(),e.replaceSelection(""),s):(i=e.getSelection(),r=H("",n.length),e.replaceSelections(r),J(n[0].head,n[0].anchor)):(i=e.getRange(s,l),"moveByWords"!=(a=a.lastEditInputState||{}).motion||_(i)||(o=/\s+$/.exec(i))&&a.motionArgs&&a.motionArgs.forward&&(l=$(l,0,-o[0].length),i=i.slice(0,-o[0].length)),a=new et(s.line-1,Number.MAX_VALUE),o=e.firstLine()==e.lastLine(),l.line>e.lastLine()&&t.linewise&&!o?e.replaceRange("",a,l):e.replaceRange("",s,l),t.linewise&&(o||(e.setCursor(a),Ye.commands.newlineAndIndent(e)),s.ch=Number.MAX_VALUE),s);O.registerController.pushText(t.registerName,"change",i,t.linewise,1<n.length),K.enterInsertMode(e,{head:s},e.state.vim)},delete:function(e,t,n){var r,i,o,a=e.state.vim;return a.visualBlock?(i=e.getSelection(),o=H("",n.length),e.replaceSelections(o),r=n[0].anchor):(o=n[0].anchor,n=n[0].head,t.linewise&&n.line!=e.firstLine()&&o.line==e.lastLine()&&o.line==n.line-1&&(o.line==e.firstLine()?o.ch=0:o=et(o.line-1,te(e,o.line-1))),i=e.getRange(o,n),e.replaceRange("",o,n),r=o,t.linewise&&(r=q.moveToFirstNonWhiteSpaceCharacter(e,o))),O.registerController.pushText(t.registerName,"delete",i,t.linewise,a.visualBlock),U(e,r)},indent:function(e,t,n){var r=e.state.vim,i=n[0].anchor.line,o=(r.visualBlock?n[n.length-1].anchor:n[0].head).line,a=r.visualMode?t.repeat:1;t.linewise&&o--;for(var s=i;s<=o;s++)for(var l=0;l<a;l++)e.indentLine(s,t.indentRight);return q.moveToFirstNonWhiteSpaceCharacter(e,n[0].anchor)},indentAuto:function(e,t,n){return e.execCommand("indentAuto"),q.moveToFirstNonWhiteSpaceCharacter(e,n[0].anchor)},changeCase:function(e,t,n,r,i){for(var o=e.getSelections(),a=[],s=t.toLower,l=0;l<o.length;l++){var c=o[l],u="";if(!0===s)u=c.toLowerCase();else if(!1===s)u=c.toUpperCase();else for(var d=0;d<c.length;d++){var f=c.charAt(d);u+=k(f)?f.toLowerCase():f.toUpperCase()}a.push(u)}return e.replaceSelections(a),t.shouldMoveCursor?i:!e.state.vim.visualMode&&t.linewise&&n[0].anchor.line+1==n[0].head.line?q.moveToFirstNonWhiteSpaceCharacter(e,r):t.linewise?r:J(n[0].anchor,n[0].head)},yank:function(e,t,n,r){var i=e.state.vim,e=e.getSelection(),r=i.visualMode?J(i.sel.anchor,i.sel.head,n[0].head,n[0].anchor):r;return O.registerController.pushText(t.registerName,"yank",e,t.linewise,i.visualBlock),r}};var K={jumpListWalk:function(e,t,n){n.visualMode||(n=t.repeat,t=t.forward,n=(n=(n=O.jumpList.move(e,t?n:-n))?n.find():void 0)||e.getCursor(),e.setCursor(n))},scroll:function(e,t,n){var r,i,o;n.visualMode||(i=t.repeat||1,r=e.defaultTextHeight(),o=e.getScrollInfo().top,n=r*i,i=t.forward?o+n:o-n,o=X(e.getCursor()),n=e.charCoords(o,"local"),t.forward?i>n.top?(o.line+=(i-n.top)/r,o.line=Math.ceil(o.line),e.setCursor(o),n=e.charCoords(o,"local"),e.scrollTo(null,n.top)):e.scrollTo(null,i):(t=i+e.getScrollInfo().clientHeight)<n.bottom?(o.line-=(n.bottom-t)/r,o.line=Math.floor(o.line),e.setCursor(o),n=e.charCoords(o,"local"),e.scrollTo(null,n.bottom-e.getScrollInfo().clientHeight)):e.scrollTo(null,i))},scrollToCursor:function(e,t){var n=e.getCursor().line,n=e.charCoords(et(n,0),"local"),r=e.getScrollInfo().clientHeight,i=n.top,o=n.bottom-i;switch(t.position){case"center":i=i-r/2+o;break;case"bottom":i=i-r+o}e.scrollTo(null,i)},replayMacro:function(e,t,n){var r=t.selectedCharacter,i=t.repeat,o=O.macroModeState;for("@"==r?r=o.latestRegister:o.latestRegister=r;i--;)!function(e,t,n,r){var i=O.registerController.getRegister(r);if(":"!=r){var o=i.keyBuffer,a=0;n.isPlaying=!0,n.replaySearchQueries=i.searchQueries.slice(0);for(var s=0;s<o.length;s++)for(var l,c,u=o[s];u;)l=/<\w+-.+?>|<\w+>|./.exec(u),c=l[0],u=u.substring(l.index+c.length),Ye.Vim.handleKey(e,c,"macro"),t.insertMode&&(c=i.insertModeChanges[a++].changes,O.macroModeState.lastInsertModeChanges.changes=c,Xe(e,c,1),We(e));n.isPlaying=!1}else i.keyBuffer[0]&&ze.processCommand(e,i.keyBuffer[0]),n.isPlaying=!1}(e,n,o,r)},enterMacroRecordMode:function(e,t){var n=O.macroModeState,t=t.selectedCharacter;O.registerController.isValidRegister(t)&&n.enterMacroRecordMode(e,t)},toggleOverwrite:function(e){e.state.overwrite?(e.toggleOverwrite(!1),e.setOption("keyMap","vim-insert"),Ye.signal(e,"vim-mode-change",{mode:"insert"})):(e.toggleOverwrite(!0),e.setOption("keyMap","vim-replace"),Ye.signal(e,"vim-mode-change",{mode:"replace"}))},enterInsertMode:function(e,t,n){if(!e.getOption("readOnly")){n.insertMode=!0,n.insertModeRepeat=t&&t.repeat||1;var r=t?t.insertAt:null,i=n.sel,o=t.head||e.getCursor("head"),a=e.listSelections().length;if("eol"==r)o=et(o.line,te(e,o.line));else if("bol"==r)o=et(o.line,0);else if("charAfter"==r)o=$(o,0,1);else if("firstNonBlank"==r)o=q.moveToFirstNonWhiteSpaceCharacter(e,o);else if("startOfSelectedArea"==r){if(!n.visualMode)return;n.visualBlock?(o=et(Math.min(i.head.line,i.anchor.line),Math.min(i.head.ch,i.anchor.ch)),a=Math.abs(i.head.line-i.anchor.line)+1):o=i.head.line<i.anchor.line?i.head:et(i.anchor.line,0)}else if("endOfSelectedArea"==r){if(!n.visualMode)return;n.visualBlock?(o=et(Math.min(i.head.line,i.anchor.line),Math.max(i.head.ch+1,i.anchor.ch)),a=Math.abs(i.head.line-i.anchor.line)+1):o=i.head.line>=i.anchor.line?$(i.head,0,1):et(i.anchor.line,0)}else if("inplace"==r){if(n.visualMode)return}else"lastEdit"==r&&(o=De(e)||o);e.setOption("disableInput",!1),t&&t.replace?(e.toggleOverwrite(!0),e.setOption("keyMap","vim-replace"),Ye.signal(e,"vim-mode-change",{mode:"replace"})):(e.toggleOverwrite(!1),e.setOption("keyMap","vim-insert"),Ye.signal(e,"vim-mode-change",{mode:"insert"})),O.macroModeState.isPlaying||(e.on("change",He),Ye.on(e.getInputField(),"keydown",$e)),n.visualMode&&le(e),ie(e,o,a)}},toggleVisualMode:function(e,t,n){var r=t.repeat,i=e.getCursor();n.visualMode?n.visualLine^t.linewise||n.visualBlock^t.blockwise?(n.visualLine=!!t.linewise,n.visualBlock=!!t.blockwise,Ye.signal(e,"vim-mode-change",{mode:"visual",subMode:n.visualLine?"linewise":n.visualBlock?"blockwise":""}),ae(e)):le(e):(n.visualMode=!0,n.visualLine=!!t.linewise,n.visualBlock=!!t.blockwise,r=U(e,et(i.line,i.ch+r-1)),n.sel={anchor:i,head:r},Ye.signal(e,"vim-mode-change",{mode:"visual",subMode:n.visualLine?"linewise":n.visualBlock?"blockwise":""}),ae(e),ve(e,n,"<",J(i,r)),ve(e,n,">",Z(i,r)))},reselectLastSelection:function(e,t,n){var r,i,o=n.lastSelection;n.visualMode&&oe(e,n),o&&(r=o.anchorMark.find(),i=o.headMark.find(),r&&i&&(n.sel={anchor:r,head:i},n.visualMode=!0,n.visualLine=o.visualLine,n.visualBlock=o.visualBlock,ae(e),ve(e,n,"<",J(r,i)),ve(e,n,">",Z(r,i)),Ye.signal(e,"vim-mode-change",{mode:"visual",subMode:n.visualLine?"linewise":n.visualBlock?"blockwise":""})))},joinLines:function(e,t,n){var r,i;n.visualMode?(i=e.getCursor("anchor"),Q(r=e.getCursor("head"),i)&&(s=r,r=i,i=s),r.ch=te(e,r.line)-1):(c=Math.max(t.repeat,2),i=e.getCursor(),r=U(e,et(i.line+c-1,1/0)));for(var o=0,a=i.line;a<r.line;a++){var o=te(e,i.line),s=et(i.line+1,te(e,i.line+1)),l=e.getRange(i,s),l=t.keepSpaces?l.replace(/\n\r?/g,""):l.replace(/\n\s*/g," ");e.replaceRange(l,i,s)}var c=et(i.line,o);n.visualMode&&le(e,!1),e.setCursor(c)},newLineAndEnterInsertMode:function(e,t,n){n.insertMode=!0;var r=X(e.getCursor());r.line!==e.firstLine()||t.after?(r.line=t.after?r.line:r.line-1,r.ch=te(e,r.line),e.setCursor(r),(Ye.commands.newlineAndIndentContinueComment||Ye.commands.newlineAndIndent)(e)):(e.replaceRange("\n",et(e.firstLine(),0)),e.setCursor(e.firstLine(),0)),this.enterInsertMode(e,{repeat:t.repeat},n)},paste:function(n,e,t){var r,i,o,a,s=X(n.getCursor()),l=O.registerController.getRegister(e.registerName),c=l.toString();if(c){e.matchIndent&&(r=n.getOption("tabSize"),i=function(e){var t=e.split("\t").length-1,e=e.split(" ").length-1;return t*r+e},y=n.getLine(n.getCursor().line),o=i(y.match(/^\s*/)[0]),k=c.replace(/\n$/,""),w=c!==k,a=i(c.match(/^\s*/)[0]),c=k.replace(/^\s*/gm,function(e){var t=o+(i(e)-a);if(t<0)return"";if(n.getOption("indentWithTabs")){e=Math.floor(t/r);return Array(e+1).join("\t")}return Array(t+1).join(" ")}),c+=w?"\n":""),1<e.repeat&&(c=Array(e.repeat+1).join(c));var u,d,f,h,p,m,g,v=l.linewise,y=l.blockwise;if(y){c=c.split("\n"),v&&c.pop();for(var b=0;b<c.length;b++)c[b]=""==c[b]?" ":c[b];s.ch+=e.after?1:0,s.ch=Math.min(te(n,s.line),s.ch)}else v?t.visualMode?c=t.visualLine?c.slice(0,-1):"\n"+c.slice(0,c.length-1)+"\n":e.after?(c="\n"+c.slice(0,c.length-1),s.ch=te(n,s.line)):s.ch=0:s.ch+=e.after?1:0;if(t.visualMode){t.lastPastedText=c;var k=(m=n,g=t.lastSelection,(t.visualMode?function(){var e=m.listSelections(),t=e[0],e=e[e.length-1];return[Q(t.anchor,t.head)?t.anchor:t.head,Q(e.anchor,e.head)?e.head:e.anchor]}:function(){var e=m.getCursor(),t=m.getCursor(),n=g.visualBlock;if(n){for(var r=n.width,i=n.height,t=et(e.line+i,e.ch+r),o=[],a=e.line;a<t.line;a++){var s=et(a,e.ch),l=et(a,t.ch);o.push({anchor:s,head:l})}m.setSelections(o)}else{n=g.anchorMark.find(),i=g.headMark.find(),r=i.line-n.line,n=i.ch-n.ch;t={line:t.line+r,ch:r?t.ch:n+t.ch},g.visualLine&&(e=et(e.line,0),t=et(t.line,te(m,t.line))),m.setSelection(e,t)}return[e,t]})()),x=k[0],w=k[1],l=n.getSelection(),k=n.listSelections(),k=new Array(k.length).join("1").split("1");t.lastSelection&&(d=t.lastSelection.headMark.find()),O.registerController.unnamedRegister.setText(l),x=y?(n.replaceSelections(k),w=et(x.line+c.length-1,x.ch),n.setCursor(x),re(n,w),n.replaceSelections(c),x):t.visualBlock?(n.replaceSelections(k),n.setCursor(x),n.replaceRange(c,x,x),x):(n.replaceRange(c,x,w),n.posFromIndex(n.indexFromPos(x)+c.length-1)),d&&(t.lastSelection.headMark=n.setBookmark(d)),v&&(x.ch=0)}else if(y){n.setCursor(s);for(b=0;b<c.length;b++){var C=s.line+b;C>n.lastLine()&&n.replaceRange("\n",et(C,0)),te(n,C)<s.ch&&(f=n,h=C,p=s.ch,C=void 0,C=te(f,h),p=new Array(p-C+1).join(" "),f.setCursor(et(h,C)),f.replaceRange(p,f.getCursor()))}n.setCursor(s),re(n,et(s.line+c.length-1,s.ch)),n.replaceSelections(c),x=s}else n.replaceRange(c,s),x=v&&e.after?et(s.line+1,ce(n.getLine(s.line+1))):v&&!e.after?et(s.line,ce(n.getLine(s.line))):!v&&e.after?(u=n.indexFromPos(s),n.posFromIndex(u+c.length-1)):(u=n.indexFromPos(s),n.posFromIndex(u+c.length));t.visualMode&&le(n,!1),n.setCursor(x)}},undo:function(e,t){e.operation(function(){G(e,Ye.commands.undo,t.repeat)(),e.setCursor(e.getCursor("anchor"))})},redo:function(e,t){G(e,Ye.commands.redo,t.repeat)()},setRegister:function(e,t,n){n.inputState.registerName=t.selectedCharacter},setMark:function(e,t,n){ve(e,n,t.selectedCharacter,e.getCursor())},replace:function(e,t,n){var r,i,o=t.selectedCharacter,a=e.getCursor(),s=e.listSelections(),t=n.visualMode?(a=e.getCursor("start"),e.getCursor("end")):(i=e.getLine(a.line),(r=a.ch+t.repeat)>i.length&&(r=i.length),et(a.line,r));"\n"==o?(n.visualMode||e.replaceRange("",a,t),(Ye.commands.newlineAndIndentContinueComment||Ye.commands.newlineAndIndent)(e)):(i=(i=e.getRange(a,t)).replace(/[^\n]/g,o),n.visualBlock?(r=new Array(e.getOption("tabSize")+1).join(" "),i=(i=e.getSelection()).replace(/\t/g,r).replace(/[^\n]/g,o).split("\n"),e.replaceSelections(i)):e.replaceRange(i,a,t),n.visualMode?(a=Q(s[0].anchor,s[0].head)?s[0].anchor:s[0].head,e.setCursor(a),le(e,!1)):e.setCursor($(t,0,-1)))},incrementNumberToken:function(e,t){for(var n,r,i,o,a,s,l,c=e.getCursor(),u=e.getLine(c.line),d=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi;null!==(n=d.exec(u))&&(i=(r=n.index)+n[0].length,!(c.ch<i)););!t.backtrack&&i<=c.ch||n&&(s=n[2]||n[4],l=n[3]||n[5],o=t.increase?1:-1,a={"0b":2,0:8,"":10,"0x":16}[s.toLowerCase()],a=(parseInt(n[1]+l,a)+o*t.repeat).toString(a),l=s?new Array(l.length-a.length+1+n[1].length).join("0"):"",a="-"===a.charAt(0)?"-"+s+l+a.substr(1):s+l+a,s=et(c.line,r),l=et(c.line,i),e.replaceRange(a,s,l),e.setCursor(et(c.line,r+a.length-1)))},repeatLastEdit:function(e,t,n){var r;n.lastEditInputState&&((r=t.repeat)&&t.repeatIsExplicit?n.lastEditInputState.repeatOverride=r:r=n.lastEditInputState.repeatOverride||r,Ge(e,n,r,!1))},indent:function(e,t){e.indentLine(e.getCursor().line,t.indentRight)},exitInsertMode:We};function U(e,t){var n=e.state.vim,r=n.insertMode||n.visualMode,n=Math.min(Math.max(e.firstLine(),t.line),e.lastLine()),r=te(e,n)-1+!!r,r=Math.min(Math.max(0,t.ch),r);return et(n,r)}function V(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function $(e,t,n){return"object"==typeof t&&(n=t.ch,t=t.line),et(e.line+t,e.ch+n)}function G(t,n,r){return function(){for(var e=0;e<r;e++)n(t)}}function X(e){return et(e.line,e.ch)}function Y(e,t){return e.ch==t.ch&&e.line==t.line}function Q(e,t){return e.line<t.line||e.line==t.line&&e.ch<t.ch}function J(e,t){return Q(e,t=2<arguments.length?J.apply(void 0,Array.prototype.slice.call(arguments,1)):t)?e:t}function Z(e,t){return Q(e,t=2<arguments.length?Z.apply(void 0,Array.prototype.slice.call(arguments,1)):t)?t:e}function ee(e,t,n){e=Q(e,t),n=Q(t,n);return e&&n}function te(e,t){return e.getLine(t).length}function ne(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function re(e,t){var n=[],r=e.listSelections(),i=X(e.clipPos(t)),o=!Y(t,i),a=function(e,t,n){for(var r=0;r<e.length;r++){var i="head"!=n&&Y(e[r].anchor,t),o="anchor"!=n&&Y(e[r].head,t);if(i||o)return r}return-1}(r,e.getCursor("head")),s=Y(r[a].head,r[a].anchor),l=r.length-1,c=a<l-a?l:0,a=r[c].anchor,l=Math.min(a.line,i.line),u=Math.max(a.line,i.line),d=a.ch,f=i.ch,r=r[c].head.ch-d,c=f-d;0<r&&c<=0?(d++,o||f--):r<0&&0<=c?(d--,s||f++):r<0&&-1==c&&(d--,f++);for(var h=l;h<=u;h++){var p={anchor:new et(h,d),head:new et(h,f)};n.push(p)}return e.setSelections(n),t.ch=f,a.ch=d,a}function ie(e,t,n){for(var r=[],i=0;i<n;i++){var o=$(t,i,0);r.push({anchor:o,head:o})}e.setSelections(r,0)}function oe(e,t){var n=t.sel.anchor,r=t.sel.head;t.lastPastedText&&(r=e.posFromIndex(e.indexFromPos(n)+t.lastPastedText.length),t.lastPastedText=null),t.lastSelection={anchorMark:e.setBookmark(n),headMark:e.setBookmark(r),anchor:X(n),head:X(r),visualMode:t.visualMode,visualLine:t.visualLine,visualBlock:t.visualBlock}}function ae(e,t,n){var r=e.state.vim,n=se(e,t=t||r.sel,n=n||r.visualLine?"line":r.visualBlock?"block":"char");e.setSelections(n.ranges,n.primary),Ke(e)}function se(e,t,n,r){var i=X(t.head),o=X(t.anchor);if("char"==n){var a=r||Q(t.head,t.anchor)?0:1,r=Q(t.head,t.anchor)?1:0,i=$(t.head,0,a);return{ranges:[{anchor:o=$(t.anchor,0,r),head:i}],primary:0}}if("line"==n)return Q(t.head,t.anchor)?(i.ch=0,o.ch=te(e,o.line)):(o.ch=0,t=e.lastLine(),i.line>t&&(i.line=t),i.ch=te(e,i.line)),{ranges:[{anchor:o,head:i}],primary:0};if("block"==n){for(var s=Math.min(o.line,i.line),l=Math.min(o.ch,i.ch),n=Math.max(o.line,i.line),c=Math.max(o.ch,i.ch)+1,u=n-s+1,i=i.line==s?0:u-1,d=[],f=0;f<u;f++)d.push({anchor:et(s+f,l),head:et(s+f,c)});return{ranges:d,primary:i}}}function le(e,t){var n=e.state.vim;!1!==t&&e.setCursor(U(e,n.sel.head)),oe(e,n),n.visualMode=!1,n.visualLine=!1,n.visualBlock=!1,n.insertMode||Ye.signal(e,"vim-mode-change",{mode:"normal"}),Ue(n)}function ce(e){if(!e)return 0;var t=e.search(/\S/);return-1==t?e.length:t}function ue(e,t,n,r,i){for(var o,a,a=(a=(o=e).getCursor("head"),a=1==o.getSelection().length?J(a,o.getCursor("anchor")):a),s=e.getLine(a.line),l=a.ch,c=(i?m:g)[0];!c(s.charAt(l));)if(++l>=s.length)return null;r?c=g[0]:(c=m[0])(s.charAt(l))||(c=m[1]);for(var u=l,d=l;c(s.charAt(u))&&u<s.length;)u++;for(;c(s.charAt(d))&&0<=d;)d--;if(d++,t){for(t=u;/\s/.test(s.charAt(u))&&u<s.length;)u++;if(t==u){for(t=d;/\s/.test(s.charAt(d-1))&&0<d;)d--;d=d||t}}return{start:et(a.line,d),end:et(a.line,u)}}function de(e,t,n){Y(t,n)||O.jumpList.add(e,t,n)}function fe(e,t){O.lastCharacterSearch.increment=e,O.lastCharacterSearch.forward=t.forward,O.lastCharacterSearch.selectedCharacter=t.selectedCharacter}var he={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},pe={bracket:{isComplete:function(e){if(e.nextCh===e.symb){if(e.depth++,1<=e.depth)return!0}else e.nextCh===e.reverseSymb&&e.depth--;return!1}},section:{init:function(e){e.curMoveThrough=!0,e.symb=(e.forward?"]":"[")===e.symb?"{":"}"},isComplete:function(e){return 0===e.index&&e.nextCh===e.symb}},comment:{isComplete:function(e){var t="*"===e.lastCh&&"/"===e.nextCh;return e.lastCh=e.nextCh,t}},method:{init:function(e){e.symb="m"===e.symb?"{":"}",e.reverseSymb="{"===e.symb?"}":"{"},isComplete:function(e){return e.nextCh===e.symb}},preprocess:{init:function(e){e.index=0},isComplete:function(e){if("#"===e.nextCh){var t=e.lineText.match(/^#(\w+)/)[1];if("endif"===t){if(e.forward&&0===e.depth)return!0;e.depth++}else if("if"===t){if(!e.forward&&0===e.depth)return!0;e.depth--}if("else"===t&&0===e.depth)return!0}return!1}}};function me(e,t,n,r,i){t=et(t.line+n.repeat-1,1/0),n=e.clipPos(t);return n.ch--,i||(r.lastHPos=1/0,r.lastHSPos=e.charCoords(n,"div").left),t}function ge(e,t,n,r){for(var i,o=e.getCursor(),a=o.ch,s=0;s<t;s++){if(-1==(i=function(e,t,n,r,i){var o;r?-1==(o=t.indexOf(n,e+1))||i||--o:-1==(o=t.lastIndexOf(n,e-1))||i||(o+=1);return o}(a,e.getLine(o.line),r,n,!0)))return null;a=i}return et(e.getCursor().line,i)}function ve(e,t,n,r){w(n,p)&&(t.marks[n]&&t.marks[n].clear(),t.marks[n]=e.setBookmark(r))}function ye(t,e,n,r,i){var o=e.line,a=t.firstLine(),s=t.lastLine(),l=o;function c(e){return!t.getLine(e)}function u(e,t,n){return n?c(e)!=c(e+t):!c(e)&&c(e+t)}if(r){for(;a<=l&&l<=s&&0<n;)u(l,r)&&n--,l+=r;return new et(l,0)}var d,e=t.state.vim;e.visualLine&&u(o,1,!0)&&(u((d=e.sel.anchor).line,-1,!0)&&(i&&d.line==o||(o+=1)));for(var f=c(o),l=o;l<=s&&n;l++)u(l,1,!0)&&(i&&c(l)==f||n--);for(d=new et(l,0),s<l&&!f?f=!0:i=!1,l=o;a<l&&(i&&c(l)!=f&&l!=o||!u(l,-1,!0));l--);return{start:new et(l,0),end:d}}function be(){}function ke(e){e=e.state.vim;return e.searchState_||(e.searchState_=new be)}function xe(e,t){var n=we(e,t)||[];if(!n.length)return[];var r=[];if(0===n[0]){for(var i=0;i<n.length;i++)"number"==typeof n[i]&&r.push(e.substring(n[i]+1,n[i+1]));return r}}function we(e,t){t=t||"/";for(var n=!1,r=[],i=0;i<e.length;i++){var o=e.charAt(i);n||o!=t||r.push(i),n=!n&&"\\"==o}return r}S("pcre",!0,"boolean"),be.prototype={getQuery:function(){return O.query},setQuery:function(e){O.query=e},getOverlay:function(){return this.searchOverlay},setOverlay:function(e){this.searchOverlay=e},isReversed:function(){return O.isReversed},setReversed:function(e){O.isReversed=e},getScrollbarAnnotate:function(){return this.annotate},setScrollbarAnnotate:function(e){this.annotate=e}};var Ce={"\\n":"\n","\\r":"\r","\\t":"\t"};function Se(e){for(var t=!1,n=[],r=-1;r<e.length;r++){var i=e.charAt(r)||"",o=e.charAt(r+1)||"";Ce[i+o]?(n.push(Ce[i+o]),r++):t?(n.push(i),t=!1):"\\"===i?(t=!0,c.test(o)||"$"===o?n.push("$"):"/"!==o&&"\\"!==o&&n.push("\\")):("$"===i&&n.push("$"),n.push(i),"/"===o&&n.push("\\"))}return n.join("")}var _e={"\\/":"/","\\\\":"\\","\\n":"\n","\\r":"\r","\\t":"\t","\\&":"&"};function Le(e,t,n){if(O.registerController.getRegister("/").setText(e),e instanceof RegExp)return e;var r,i,o=we(e,"/");return o.length?(r=e.substring(0,o[0]),i=-1!=e.substring(o[0]).indexOf("i")):r=e,r?(M("pcre")||(r=function(e){for(var t=!1,n=[],r=-1;r<e.length;r++){var i=e.charAt(r)||"",o=e.charAt(r+1)||"",a=o&&-1!="|(){".indexOf(o);t?("\\"===i&&a||n.push(i),t=!1):"\\"===i?(t=!0,(a=o&&-1!="}".indexOf(o)?!0:a)&&"\\"!==o||n.push(i)):(n.push(i),a&&"\\"!==o&&n.push("\\"))}return n.join("")}(r)),n&&(t=/^[^A-Z]*$/.test(r)),new RegExp(r,t||i?"i":void 0)):null}function Me(e){"string"==typeof e&&(e=document.createElement(e));for(var t,n=1;n<arguments.length;n++)if(t=arguments[n])if((t="object"!=typeof t?document.createTextNode(t):t).nodeType)e.appendChild(t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&("$"===r[0]?e.style[r.slice(1)]=t[r]:e.setAttribute(r,t[r]));return e}function Te(e,t){t=Me("pre",{$color:"red"},t);e.openNotification?e.openNotification(t,{bottom:!0,duration:5e3}):alert(t.innerText)}function Ae(e,t){var n,r,i=(t.prefix||"")+" "+(t.desc||""),r=(n=t.prefix,r=t.desc,Me(document.createDocumentFragment(),Me("span",{$fontFamily:"monospace",$whiteSpace:"pre"},n,Me("input",{type:"text",autocorrect:"off",autocapitalize:"off",spellcheck:"false"})),r&&Me("span",{$color:"#888"},r)));e.openDialog?e.openDialog(r,t.onClose,{onKeyDown:t.onKeyDown,onKeyUp:t.onKeyUp,bottom:!0,selectValueOnOpen:!1,value:t.value}):t.onClose(prompt(i,""))}function Oe(e,t,n,r){if(t){var i=ke(e),r=Le(t,!!n,!!r);if(r)return Ee(e,r),function(e,t){if(e instanceof RegExp&&t instanceof RegExp){for(var n=["global","multiline","ignoreCase","source"],r=0;r<n.length;r++){var i=n[r];if(e[i]!==t[i])return}return 1}}(r,i.getQuery())||i.setQuery(r),r}}var Ne=0;function Ee(i,o){clearTimeout(Ne),Ne=setTimeout(function(){var n,r,e=ke(i),t=e.getOverlay();t&&o==t.query||(t&&i.removeOverlay(t),"^"==(n=o).source.charAt(0)&&(r=!0),i.addOverlay(t={token:function(e){if(!r||e.sol()){var t=e.match(n,!1);if(t)return 0==t[0].length?(e.next(),"searching"):e.sol()||(e.backUp(1),n.exec(e.next()+t[0]))?(e.match(n),"searching"):(e.next(),null);for(;!e.eol()&&(e.next(),!e.match(n,!1)););}else e.skipToEnd()},query:n}),i.showMatchesOnScrollbar&&(e.getScrollbarAnnotate()&&e.getScrollbarAnnotate().clear(),e.setScrollbarAnnotate(i.showMatchesOnScrollbar(o))),e.setOverlay(t))},50)}function Ie(i,o,a,s){return void 0===s&&(s=1),i.operation(function(){for(var e=i.getCursor(),t=i.getSearchCursor(a,e),n=0;n<s;n++){var r=t.find(o);if(!(r=0==n&&r&&Y(t.from(),e)?t.find(o):r)&&!(t=i.getSearchCursor(a,o?et(i.lastLine()):et(i.firstLine(),0))).find(o))return}return t.from()})}function Pe(e){var t=ke(e);e.removeOverlay(ke(e).getOverlay()),t.setOverlay(null),t.getScrollbarAnnotate()&&(t.getScrollbarAnnotate().clear(),t.setScrollbarAnnotate(null))}function Re(e){var t=e.getScrollInfo(),n=e.coordsChar({left:0,top:6+t.top},"local"),t=t.clientHeight-10+t.top,t=e.coordsChar({left:0,top:t},"local");return{top:n.line,bottom:t.line}}function Be(e,t,n){if("'"==n||"`"==n)return O.jumpList.find(e,-1)||et(0,0);if("."==n)return De(e);n=t.marks[n];return n&&n.find()}function De(e){for(var t=e.doc.history.done,n=t.length;n--;)if(t[n].changes)return X(t[n].changes[0].to)}h=function(){this.buildCommandMap_()};h.prototype={processCommand:function(e,t,n){var r=this;e.operation(function(){e.curOp.isVimOp=!0,r._processCommand(e,t,n)})},_processCommand:function(t,e,n){var r=t.state.vim,i=O.registerController.getRegister(":"),o=i.toString();r.visualMode&&le(t);r=new Ye.StringStream(e);i.setText(e);var a,s,n=n||{};n.input=e;try{this.parseInput_(t,r,n)}catch(e){throw Te(t,e.toString()),e}if(n.commandName){if(a=this.matchCommand_(n.commandName)){if(s=a.name,a.excludeFromCommandHistory&&i.setText(o),this.parseCommandArgs_(r,n,a),"exToKey"==a.type){for(var l=0;l<a.toKeys.length;l++)Ye.Vim.handleKey(t,a.toKeys[l],"mapping");return}if("exToEx"==a.type)return void this.processCommand(t,a.toInput)}}else void 0!==n.line&&(s="move");if(s)try{Fe[s](t,n),a&&a.possiblyAsync||!n.callback||n.callback()}catch(e){throw Te(t,e.toString()),e}else Te(t,'Not an editor command ":'+e+'"')},parseInput_:function(e,t,n){t.eatWhile(":"),t.eat("%")?(n.line=e.firstLine(),n.lineEnd=e.lastLine()):(n.line=this.parseLineSpec_(e,t),void 0!==n.line&&t.eat(",")&&(n.lineEnd=this.parseLineSpec_(e,t)));e=t.match(/^(\w+|!!|@@|[!#&*<=>@~])/);return n.commandName=e?e[1]:t.match(/.*/)[0],n},parseLineSpec_:function(e,t){var n=t.match(/^(\d+)/);if(n)return parseInt(n[1],10)-1;switch(t.next()){case".":return this.parseLineSpecOffset_(t,e.getCursor().line);case"$":return this.parseLineSpecOffset_(t,e.lastLine());case"'":var r=t.next(),r=Be(e,e.state.vim,r);if(!r)throw new Error("Mark not set");return this.parseLineSpecOffset_(t,r.line);case"-":case"+":return t.backUp(1),this.parseLineSpecOffset_(t,e.getCursor().line);default:return void t.backUp(1)}},parseLineSpecOffset_:function(e,t){var n=e.match(/^([+-])?(\d+)/);return n&&(e=parseInt(n[2],10),"-"==n[1]?t-=e:t+=e),t},parseCommandArgs_:function(e,t,n){e.eol()||(t.argString=e.match(/.*/)[0],n=n.argDelimiter||/\s+/,(n=ne(t.argString).split(n)).length&&n[0]&&(t.args=n))},matchCommand_:function(e){for(var t=e.length;0<t;t--){var n=e.substring(0,t);if(this.commandMap_[n]){n=this.commandMap_[n];if(0===n.name.indexOf(e))return n}}return null},buildCommandMap_:function(){this.commandMap_={};for(var e=0;e<Ze.length;e++){var t=Ze[e],n=t.shortName||t.name;this.commandMap_[n]=t}},map:function(e,t,n){if(":"!=e&&":"==e.charAt(0)){if(n)throw Error("Mode not supported for ex mappings");var r=e.substring(1);":"!=t&&":"==t.charAt(0)?this.commandMap_[r]={name:r,type:"exToEx",toInput:t.substring(1),user:!0}:this.commandMap_[r]={name:r,type:"exToKey",toKeys:t,user:!0}}else t=":"!=t&&":"==t.charAt(0)?{keys:e,type:"keyToEx",exArgs:{input:t.substring(1)}}:{keys:e,type:"keyToKey",toKeys:t},n&&(t.context=n),Qe.unshift(t)},unmap:function(e,t){if(":"!=e&&":"==e.charAt(0)){if(t)throw Error("Mode not supported for ex mappings");var n=e.substring(1);if(this.commandMap_[n]&&this.commandMap_[n].user)return void delete this.commandMap_[n]}else for(var r=e,i=0;i<Qe.length;i++)if(r==Qe[i].keys&&Qe[i].context===t)return void Qe.splice(i,1);throw Error("No such mapping.")}};var Fe={colorscheme:function(e,t){!t.args||t.args.length<1?Te(e,e.getOption("theme")):e.setOption("theme",t.args[0])},map:function(e,t,n){var r=t.args;!r||r.length<2?e&&Te(e,"Invalid mapping: "+t.input):ze.map(r[0],r[1],n)},imap:function(e,t){this.map(e,t,"insert")},nmap:function(e,t){this.map(e,t,"normal")},vmap:function(e,t){this.map(e,t,"visual")},unmap:function(e,t,n){var r=t.args;!r||r.length<1?e&&Te(e,"No such mapping: "+t.input):ze.unmap(r[0],n)},move:function(e,t){W.processCommand(e,e.state.vim,{type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:t.line+1})},set:function(e,t){var n=t.args,r=t.setCfg||{};if(!n||n.length<1)e&&Te(e,"Invalid mapping: "+t.input);else{var i=n[0].split("="),o=i[0],n=i[1],i=!1;if("?"==o.charAt(o.length-1)){if(n)throw Error("Trailing characters: "+t.argString);o=o.substring(0,o.length-1),i=!0}void 0===n&&"no"==o.substring(0,2)&&(o=o.substring(2),n=!1);t=C[o]&&"boolean"==C[o].type;t&&null==n&&(n=!0),!t&&void 0===n||i?(i=M(o,e,r))instanceof Error?Te(e,i.message):Te(e,!0===i||!1===i?" "+(i?"":"no")+o:" "+o+"="+i):(r=L(o,n,e,r))instanceof Error&&Te(e,r.message)}},setlocal:function(e,t){t.setCfg={scope:"local"},this.set(e,t)},setglobal:function(e,t){t.setCfg={scope:"global"},this.set(e,t)},registers:function(e,t){var n=t.args,r=O.registerController.registers,i="----------Registers----------\n\n";if(n)for(var n=n.join(""),o=0;o<n.length;o++)a=n.charAt(o),O.registerController.isValidRegister(a)&&(i+='"'+a+" "+(r[a]||new D).toString()+"\n");else for(var a in r){var s=r[a].toString();s.length&&(i+='"'+a+" "+s+"\n")}Te(e,i)},sort:function(e,i){var o,a,s,l,c;var t=function(){if(i.argString){var e=new Ye.StringStream(i.argString);if(e.eat("!")&&(o=!0),!e.eol()){if(!e.eatSpace())return"Invalid arguments";var t=e.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!t&&!e.eol())return"Invalid arguments";if(t[1]){a=-1!=t[1].indexOf("i"),s=-1!=t[1].indexOf("u");var n=-1!=t[1].indexOf("d")||-1!=t[1].indexOf("n")&&1,r=-1!=t[1].indexOf("x")&&1,e=-1!=t[1].indexOf("o")&&1;if(1<n+r+e)return"Invalid arguments";l=(n?"decimal":r&&"hex")||e&&"octal"}t[2]&&(c=new RegExp(t[2].substr(1,t[2].length-2),a?"i":""))}}}();if(t)Te(e,t+": "+i.argString);else{var n=i.line||e.firstLine(),t=i.lineEnd||i.line||e.lastLine();if(n!=t){var n=et(n,0),t=et(t,te(e,t)),r=e.getRange(n,t).split("\n"),u=c||("decimal"==l?/(-?)([\d]+)/:"hex"==l?/(-?)(?:0x)?([0-9a-f]+)/i:"octal"==l?/([0-7]+)/:null),d="decimal"==l?10:"hex"==l?16:"octal"==l?8:null,f=[],h=[];if(l||c)for(var p=0;p<r.length;p++){var m=c?r[p].match(c):null;m&&""!=m[0]?f.push(m):(!c&&u.exec(r[p])?f:h).push(r[p])}else h=r;if(f.sort(c?function(e,t){var n;return o&&(n=e,e=t,t=n),a&&(e[0]=e[0].toLowerCase(),t[0]=t[0].toLowerCase()),e[0]<t[0]?-1:1}:y),c)for(p=0;p<f.length;p++)f[p]=f[p].input;else l||h.sort(y);if(r=o?f.concat(h):h.concat(f),s)for(var g,v=r,r=[],p=0;p<v.length;p++)v[p]!=g&&r.push(v[p]),g=v[p];e.replaceRange(r.join("\n"),n,t)}}function y(e,t){o&&(r=e,e=t,t=r),a&&(e=e.toLowerCase(),t=t.toLowerCase());var n=l&&u.exec(e),r=l&&u.exec(t);return n?parseInt((n[1]+n[2]).toLowerCase(),d)-(r=parseInt((r[1]+r[2]).toLowerCase(),d)):e<t?-1:1}},vglobal:function(e,t){this.global(e,t)},global:function(t,e){var n=e.argString;if(n){var r,i="v"===e.commandName[0],o=void 0!==e.line?e.line:t.firstLine(),a=e.lineEnd||e.line||t.lastLine(),e=xe(n,"/"),n=n;if(e.length&&(n=e[0],r=e.slice(1,e.length).join("/")),n)try{Oe(t,n,!0,!0)}catch(e){return void Te(t,"Invalid regex: "+n)}for(var s,l,c=ke(t).getQuery(),u=[],d=o;d<=a;d++){var f=t.getLineHandle(d);c.test(f.text)!==i&&u.push(r?f:f.text)}r?(s=0,(l=function(){var e;s<u.length&&(e=u[s++],null!=(e=t.getLineNumber(e))?(e=e+1+r,ze.processCommand(t,e,{callback:l})):l())})()):Te(t,u.join("\n"))}else Te(t,"Regular Expression missing from global")},substitute:function(t,e){if(!t.getSearchCursor)throw new Error("Search feature not available. Requires searchcursor.js or any other getSearchCursor implementation.");var n,r,i,o,a=e.argString,s=a?xe(a,a[0]):[],l="",c=!1,u=!1;if(s.length)i=s[0],M("pcre")&&""!==i&&(i=new RegExp(i).source),l=s[1],/(^|[^\\])(\\\\)*\$$/.test(i)&&(i=i.slice(0,-1)+"\\n",l=(l||"")+"\n"),void 0!==l&&(l=M("pcre")?function(e){for(var t=new Ye.StringStream(e),n=[];!t.eol();){for(;t.peek()&&"\\"!=t.peek();)n.push(t.next());var r,i=!1;for(r in _e)if(t.match(r,!0)){i=!0,n.push(_e[r]);break}i||n.push(t.next())}return n.join("")}(l.replace(/([^\\])&/g,"$1$$&")):Se(l),O.lastSubstituteReplacePart=l),n=s[2]?s[2].split(" "):[];else if(a&&a.length)return void Te(t,"Substitutions should be of the form :s/pattern/replace/");if(n&&(r=n[0],o=parseInt(n[1]),r&&(-1!=r.indexOf("c")&&(c=!0),-1!=r.indexOf("g")&&(u=!0),i=M("pcre")?i+"/"+r:i.replace(/\//g,"\\/")+"/"+r)),i)try{Oe(t,i,!0,!0)}catch(e){return void Te(t,"Invalid regex: "+i)}void 0!==(l=l||O.lastSubstituteReplacePart)?(n=ke(t).getQuery(),r=(void 0!==e.line?e:t.getCursor()).line,i=e.lineEnd||r,r==t.firstLine()&&i==t.lastLine()&&(i=1/0),o&&(i=(r=i)+o-1),o=U(t,et(r,0)),o=t.getSearchCursor(n,o),function(i,e,r,o,a,s,n,l,c){i.state.vim.exMode=!0;var u,d,f,h=!1;function p(){i.operation(function(){for(;!h;)m(),g();v()})}function m(){var e=i.getRange(s.from(),s.to()).replace(n,l),t=s.to().line;s.replace(e),d=s.to().line,a+=d-t,f=d<t}function g(){for(;s.findNext()&&(e=s.from(),t=o,n=a,"number"!=typeof e&&(e=e.line),t instanceof Array?w(e,t):"number"==typeof n?t<=e&&e<=n:e==t);)if(r||s.from().line!=d||f)return i.scrollIntoView(s.from(),30),i.setSelection(s.from(),s.to()),u=s.from(),void(h=!1);var e,t,n;h=!0}function v(e){e&&e(),i.focus(),u&&(i.setCursor(u),(e=i.state.vim).exMode=!1,e.lastHPos=e.lastHSPos=u.ch),c&&c()}g(),h?Te(i,"No matches for "+n.source):e?Ae(i,{prefix:Me("span","replace with ",Me("strong",l)," (y/n/a/q/l)"),onKeyDown:function(e,t,n){switch(Ye.e_stop(e),Ye.keyName(e)){case"Y":m(),g();break;case"N":g();break;case"A":var r=c;c=void 0,i.operation(p),c=r;break;case"L":m();case"Q":case"Esc":case"Ctrl-C":case"Ctrl-[":v(n)}h&&v(n);return!0}}):(p(),c&&c())}(t,c,u,r,i,o,n,l,e.callback)):Te(t,"No previous substitute regular expression")},redo:Ye.commands.redo,undo:Ye.commands.undo,write:function(e){Ye.commands.save?Ye.commands.save(e):e.save&&e.save()},nohlsearch:function(e){Pe(e)},yank:function(e){var t=X(e.getCursor()).line,t=e.getLine(t);O.registerController.pushText("0","yank",t,!0,!0)},delmarks:function(e,t){if(t.argString&&ne(t.argString))for(var n=e.state.vim,r=new Ye.StringStream(ne(t.argString));!r.eol();){r.eatSpace();var i=r.pos;if(!r.match(/[a-zA-Z]/,!1))return void Te(e,"Invalid argument: "+t.argString.substring(i));var o=r.next();if(r.match("-",!0)){if(!r.match(/[a-zA-Z]/,!1))return void Te(e,"Invalid argument: "+t.argString.substring(i));var a=o,s=r.next();if(!(b(a)&&b(s)||k(a)&&k(s)))return void Te(e,"Invalid argument: "+a+"-");var l=a.charCodeAt(0),c=s.charCodeAt(0);if(c<=l)return void Te(e,"Invalid argument: "+t.argString.substring(i));for(var u=0;u<=c-l;u++){var d=String.fromCharCode(l+u);delete n.marks[d]}}else delete n.marks[o]}else Te(e,"Argument required")}},ze=new h;function We(e){var t=e.state.vim,n=O.macroModeState,r=O.registerController.getRegister("."),i=n.isPlaying,o=n.lastInsertModeChanges;i||(e.off("change",He),Ye.off(e.getInputField(),"keydown",$e)),!i&&1<t.insertModeRepeat&&(Ge(e,t,t.insertModeRepeat-1,!0),t.lastEditInputState.repeatOverride=t.insertModeRepeat),delete t.insertModeRepeat,t.insertMode=!1,e.setCursor(e.getCursor().line,e.getCursor().ch-1),e.setOption("keyMap","vim"),e.setOption("disableInput",!0),e.toggleOverwrite(!1),r.setText(o.changes.join("")),Ye.signal(e,"vim-mode-change",{mode:"normal"}),n.isRecording&&((e=n).isPlaying||(n=e.latestRegister,(n=O.registerController.getRegister(n))&&n.pushInsertModeChanges&&n.pushInsertModeChanges(e.lastInsertModeChanges)))}function qe(e){Qe.unshift(e)}function He(e,t){var n,r=O.macroModeState,i=r.lastInsertModeChanges;if(!r.isPlaying)for(;t;)i.expectCursorActivityForChange=!0,1<i.ignoreCount?i.ignoreCount--:"+input"!=t.origin&&"paste"!=t.origin&&void 0!==t.origin||(1<(n=e.listSelections().length)&&(i.ignoreCount=n),n=t.text.join("\n"),i.maybeReset&&(i.changes=[],i.maybeReset=!1),n&&(e.state.overwrite&&!/\n/.test(n)?i.changes.push([n]):i.changes.push(n))),t=t.next}function je(e){var t=e.state.vim;if(t.insertMode){var n=O.macroModeState;if(n.isPlaying)return;n=n.lastInsertModeChanges;n.expectCursorActivityForChange?n.expectCursorActivityForChange=!1:n.maybeReset=!0}else e.curOp.isVimOp||function(e,t){var n=e.getCursor("anchor"),r=e.getCursor("head");t.visualMode&&!e.somethingSelected()?le(e,!1):t.visualMode||t.insertMode||!e.somethingSelected()||(t.visualMode=!0,t.visualLine=!1,Ye.signal(e,"vim-mode-change",{mode:"visual"}));{var i,o;t.visualMode?(i=Q(r,n)?0:-1,o=Q(r,n)?-1:0,r=$(r,0,i),n=$(n,0,o),t.sel={anchor:n,head:r},ve(e,t,"<",J(r,n)),ve(e,t,">",Z(r,n))):t.insertMode||(t.lastHPos=e.getCursor().ch)}}(e,t);t.visualMode&&Ke(e)}function Ke(e){var t,n="cm-animate-fat-cursor",r=e.state.vim,i=U(e,X(r.sel.head)),o=$(i,0,1);Ue(r),i.ch==e.getLine(i.line).length?(t=Me("span",{class:n}," "),r.fakeCursorBookmark=e.setBookmark(i,{widget:t})):r.fakeCursor=e.markText(i,o,{className:n})}function Ue(e){e.fakeCursor&&(e.fakeCursor.clear(),e.fakeCursor=null),e.fakeCursorBookmark&&(e.fakeCursorBookmark.clear(),e.fakeCursorBookmark=null)}function Ve(e){this.keyName=e}function $e(e){var t=O.macroModeState.lastInsertModeChanges,n=Ye.keyName(e);n&&(-1==n.indexOf("Delete")&&-1==n.indexOf("Backspace")||Ye.lookupKey(n,"vim-insert",function(){return t.maybeReset&&(t.changes=[],t.maybeReset=!1),t.changes.push(new Ve(n)),!0}))}function Ge(n,r,e,t){var i=O.macroModeState;i.isPlaying=!0;var o=!!r.lastEditActionCommand,a=r.inputState;function s(){o?W.processAction(n,r,r.lastEditActionCommand):W.evalInput(n,r)}function l(e){var t;0<i.lastInsertModeChanges.changes.length&&(e=r.lastEditActionCommand?e:1,t=i.lastInsertModeChanges,Xe(n,t.changes,e))}if(r.inputState=r.lastEditInputState,o&&r.lastEditActionCommand.interlaceInsertRepeat)for(var c=0;c<e;c++)s(),l(1);else t||s(),l(e);r.inputState=a,r.insertMode&&!t&&We(n),i.isPlaying=!1}function Xe(t,e,n){function r(e){return"string"==typeof e?Ye.commands[e](t):e(t),!0}var i=t.getCursor("head"),o=O.macroModeState.lastInsertModeChanges.visualBlock;o&&(ie(t,i,o+1),n=t.listSelections().length,t.setCursor(i));for(var a=0;a<n;a++){o&&t.setCursor($(i,a,0));for(var s=0;s<e.length;s++){var l,c,u=e[s];u instanceof Ve?Ye.lookupKey(u.keyName,"vim-insert",r):"string"==typeof u?(c=t.getCursor(),t.replaceRange(u,c,c)):(c=$(l=t.getCursor(),0,u[0].length),t.replaceRange(u[0],l,c))}}o&&t.setCursor($(i,0,1))}return Ye.keyMap.vim={attach:r,detach:e,call:t},S("insertModeEscKeysTimeout",200,"number"),Ye.keyMap["vim-insert"]={fallthrough:["default"],attach:r,detach:e,call:t},Ye.keyMap["vim-replace"]={Backspace:"goCharLeft",fallthrough:["vim-insert"],attach:r,detach:e,call:t},P(),f}()}),function(i,u,o,t,a){"use strict";var d,s,l,c=i.getElementById("CodeMirror-settings"),r=i.getElementById("CodeMirror-settings__form"),f=i.getElementById("ed_toolbar"),h=i.getElementById("content")||i.getElementById("newcontent"),n=i.getElementById("content-html"),p=i.getElementById("content-tmce"),m=null!=i.getElementById("post_ID")?i.getElementById("post_ID").value:0,g=i.getElementById("editor-expand-toggle"),v={isVisualEnabled:null!=i.getElementById("content-tmce"),isThemeOrPlugin:null!=i.getElementById("newcontent"),isActive:function(){return null!=d},isVisualActive:function(){return null!=i.getElementsByClassName("tmce-active")[0]},isGutenberg:null!=(wp.data&&wp.data.select("core/edit-post")),isGutenbergVisualActive:function(){return"visual"===wp.data.select("core/edit-post").getEditorMode()},isFullHeight:function(){return!!g&&g.checked},previousSettingsPosition:"none",settingsPosition:function(){var e=this,t=f?"absolute"===f.style.position?"0px"===f.style.top?"top":"bottom":"fixed"===f.style.position?"middle":"normal":"none";return u.setTimeout(function(){e.previousSettingsPosition=t},0),t},charWidth:0},y={mode:"wordpresspost",tabMode:"indent",indentWithTabs:!0,smartIndent:!1,enterMode:"keep",styleActiveLine:!0,electricChars:!1,showCursorWhenSelecting:!0,viewportMargin:10,extraKeys:{F11:function(){P()},Esc:function(){P(!0)},"Ctrl-S":function(){e()},"Cmd-S":function(){e()}}};function e(){v.isGutenberg?(Q(),wp.data.dispatch("core/editor").savePost()):(i.getElementById("save-post")||i.getElementById("publish")||i.getElementById("submit")).click()}function b(e){var t=!1;return function(){t||(e.apply(this,arguments),t=!0,u.requestAnimationFrame(function(){u.requestAnimationFrame(function(){t=!1})}))}}function k(){for(var e=-1;e<c.children.length;e++){var t=e<0?l:c.children[e];null!=t&&(t.style.position="",t.style.top="",t.style.left="",t.style.right="",t.style.width="")}}var x=b(w);function w(e){S();var t=v.settingsPosition();if(t!==v.previousSettingsPosition||e&&"resize"===e.type)switch(R(),t){case"top":k();break;case"middle":!function(){for(var e=f.getBoundingClientRect(),t=-1;t<c.children.length;t++){var n=t<0?l:c.children[t];null!=n&&(n.style.position="fixed",n.style.top=e.bottom+"px",n.style.right=i.documentElement.getBoundingClientRect().width-e.right+"px",n.id.match(/toggle/gi)||(n.style.left=e.left+"px",n.style.width="auto"))}}();break;case"bottom":!function(){for(var e=f.getBoundingClientRect(),t=d.getWrapperElement().getBoundingClientRect(),n=-1;n<c.children.length;n++){var r=n<0?l:c.children[n];null!=r&&(r.style.position="absolute",r.style.top=-1*(t.top-e.bottom)+"px",r.style.left="",r.style.right="",r.style.width="")}}()}}var C=!!navigator.userAgent.match(/Trident/gi);function S(){var e,t,n;r&&(e=r.getBoundingClientRect().top,t=i.getElementById("post-status-info").getBoundingClientRect().top,n=u.innerHeight-e,r.style.maxHeight=Math.min(t-e,n)-6+"px",C&&(r.style.height=r.style.maxHeight))}function _(){v.isFullHeight()?(d.setOption("viewportMargin",1/0),d.on("change",R),u.addEventListener("scroll",x),u.addEventListener("resize",x),u.addEventListener("resize",D),d.getWrapperElement().style.height="auto",w(),F(),u.setTimeout(function(){S(),R()},100)):(d.setOption("viewportMargin",y.viewportMargin),d.off("change",R),u.removeEventListener("scroll",x),u.removeEventListener("resize",x),u.removeEventListener("resize",D),d.getWrapperElement().style.marginTop="",r.style.maxHeight="",C&&(r.style.height=""),k(),B())}function L(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.addedNodes[0]&&n.addedNodes[0].classList.contains("CodeMirror-dialog"))for(var r=(l=n.addedNodes[0]).getElementsByTagName("button"),i=0;i<r.length;i++)r[i].classList="button button-small";else l=void 0}}function M(e){e.target.id.match(/advanced/gi)?c.classList.contains("open-advanced")?T("open"):T("advanced"):c.classList.contains("open")?T("closed"):T("open")}function T(e){switch(e){case"open":c.classList.add("open"),c.classList.remove("open-advanced"),c.classList.remove("closed");break;case"advanced":c.classList.add("open"),c.classList.add("open-advanced"),c.classList.remove("closed");break;default:c.classList.remove("open"),c.classList.remove("open-advanced"),c.classList.add("closed")}}function A(){v.charWidth=d.defaultCharWidth()*(a.fontSize/13)}function O(e){var t=+e.target.value,t=isNaN(t)?e.target.value:t;switch("checkbox"===e.target.type&&(t=e.target.checked),e.target.id){case"fontSize":a.fontSize=t,s.style.fontSize=t+"px",A(),d.refresh();break;case"lineHeight":a.lineHeight=t,s.style.lineHeight=t+"em",d.refresh();break;case"matchTags":a.matchTags=t,d.setOption("matchTags",t?{bothTags:!0}:null);break;case"scrollbarStyle":a.scrollbarStyle=t,d.setOption("scrollbarStyle",t?"overlay":null);break;case"foldGutter":d.setOption("gutters",t?["CodeMirror-linenumbers","CodeMirror-foldgutter"]:[]);case"tabSize":d.setOption("indentUnit",t);default:a[e.target.id]=t,d.setOption(e.target.id,t)}"lineNumbers"===e.target.id&&t&&a.foldGutter&&d.setOption("gutters",["CodeMirror-linenumbers","CodeMirror-foldgutter"])}function N(){var e=t(r).serializeArray();t.post(a.ajaxUrl,e,function(e){})}var E=i.getElementById("wp-content-editor-container"),I="heshFullscreen";function P(e){e=!0===e,v.isFullHeight()?E.classList.remove(I):(E.classList.contains(I)||e?E.classList.remove(I):E.classList.add(I),d.focus())}function R(){d.save(),d.getTextArea().style.height=d.getWrapperElement().getBoundingClientRect().height+"px"}function B(){d.getWrapperElement().style.height=d.getTextArea().style.height}var D=b(F);function F(){d.getWrapperElement().style.marginTop=f.offsetHeight+"px"}var z,W,q=200,H=500;function j(e){W=H+(e.pageY-z),d.getWrapperElement().style.height=Math.max(q,W)+"px"}function K(e){z=e.pageY,i.addEventListener("mousemove",j),i.addEventListener("mouseup",U),e.preventDefault()}function U(e){H=Math.max(q,W),i.removeEventListener("mousemove",j),d.refresh(),i.removeEventListener("mouseup",U)}function V(e){W=H=e,d.getWrapperElement().style.height=H+"px";e=i.createElement("div");e.className="hesh-content-resize-handle",e.id="content-resize-handle",d.getWrapperElement().appendChild(e),i.getElementById("content-resize-handle").addEventListener("mousedown",K)}function $(){var e=(function(e){if(2===(e=("; "+i.cookie).split("; "+e+"=")).length)return e.pop().split(";").shift()}("hesh_plugin_selection_state")||"0,0,0,0,0,0,0").split(",");m===e[0]&&(d.doc.setSelection({line:+e[1],ch:+e[2]},{line:+e[3],ch:+e[4]},{scroll:!1}),d.scrollTo(+e[5],+e[6]))}var G=b(X);function X(){var e=d.doc.listSelections()[0],t=d.getScrollInfo();i.cookie="hesh_plugin_selection_state="+m+","+e.anchor.line+","+e.anchor.ch+","+e.head.line+","+e.head.ch+","+t.left+","+t.top}function Y(){var t,n,r,e,i,o=d.doc.listSelections()[0];function a(){u.clearInterval(i),d.off("focus",a)}t=n=r=0,d.doc.eachLine(function(e){r<=o.head.line-1&&(t+=e.text.length+1),r<=o.anchor.line-1&&(n+=e.text.length+1),r++}),t+=o.head.ch,n+=o.anchor.ch,d.getTextArea().setSelectionRange(Math.min(n,t),Math.max(n,t)),d.getTextArea().focus(),e=d.getTextArea().value.length,i=u.setInterval(function(){e!==d.getTextArea().value.length&&(u.clearInterval(i),function(){var e=d.getTextArea().selectionStart,t=d.getTextArea().selectionEnd,n=d.getScrollInfo(),r={top:u.pageYOffset,left:u.pageXOffset};d.doc.setValue(d.getTextArea().value),d.focus();var i=0,o=0,a=0,s=e,l=t,c=d.getLineHandle(a).text.length+1;for(;c<=s&&c<=l;)a++,c<=s&&(s-=c,i=a),c<=l&&(l-=c,o=a),c=d.getLineHandle(a).text.length+1;d.doc.setSelection({line:i,ch:s},{line:o,ch:l},{scroll:!1}),u.scrollTo(r.left,r.top),d.scrollTo(n.left,n.top),d.save()}())},10),d.on("focus",a)}function Q(){d.save(),X(),wp.data.dispatch("core/editor").resetBlocks(wp.blocks.parse(d.getTextArea().value)),d.setValue(wp.data.select("core/editor").getEditedPostContent()),$()}function J(){var t,e,n,r;v.isActive()||null!=(h=v.isGutenberg?i.getElementsByClassName("editor-post-text-editor")[0]:h)&&(y.theme=a.theme,y.lineNumbers=!!a.lineNumbers,y.foldGutter=!!a.foldGutter,y.gutters=y.foldGutter?["CodeMirror-linenumbers","CodeMirror-foldgutter"]:[],y.tabSize=y.indentUnit=+a.tabSize,y.lineWrapping=!!a.lineWrapping,y.matchBrackets=!!a.matchBrackets,y.autoCloseTags=!!a.autoCloseTags,y.autoCloseBrackets=!!a.autoCloseBrackets,y.surveyNoticeDismissedB=!!a.surveyNoticeDismissedB,y.highlightSelectionMatches=!!a.highlightSelectionMatches,y.matchTags=!!a.matchTags&&{bothTags:!0},y.scrollbarStyle=a.scrollbarStyle?"overlay":null,y.keyMap=a.keyMap,y.autofocus=i.getElementById("title")&&!!i.getElementById("title").value&&0<i.getElementById("title").value.length,v.isThemeOrPlugin&&(e=(e=i.querySelector(".fileedit-sub .alignleft").textContent.match(/\.[a-z\d]{2,}/gi))[e.length-1].match(/[a-z]*/gi)[1],y.mode={php:"php",css:"css",xml:"xml",html:"htmlmixed",js:"javascript",json:"javascript"}[e]),d=o.fromTextArea(h,y),s=d.getWrapperElement().querySelector(".CodeMirror-code"),h.classList.add("CodeMirror-mirrored"),v.isGutenberg?d.on("blur",Q):d.on("change",function(){d.save()}),$(),d.on("cursorActivity",G),d.on("scroll",G),v.isThemeOrPlugin?V(u.innerHeight-d.getWrapperElement().getBoundingClientRect().top-100):v.isGutenberg?V(u.innerHeight-d.getWrapperElement().getBoundingClientRect().top-16):(f.addEventListener("mousedown",Y),t=u.send_to_editor,u.send_to_editor=function(e){v.isActive()&&"content"===u.wpActiveEditor?(d.replaceSelection(e),d.save()):t(e)},i.getElementById("content-resize-handle").addEventListener("mousedown",function(){i.addEventListener("mousemove",B)}),i.addEventListener("mouseup",function(){i.removeEventListener("mousemove",B)}),g&&(g.addEventListener("change",_),_()),f.insertAdjacentHTML("afterbegin",'<button type="button" id="cm_content_fullscreen" class="ed_button qt-dfw" title="Full Screen"></button>'),i.getElementById("cm_content_fullscreen").onclick=P),function(){d.getWrapperElement().appendChild(c),c.style.display="block",c.querySelector(".CodeMirror-settings__toggle").addEventListener("click",M),c.querySelector(".CodeMirror-settings__toggle-advanced").addEventListener("click",M),new MutationObserver(L).observe(d.getWrapperElement(),{childList:!0});for(var e=c.querySelectorAll(".CodeMirror-settings__option"),t=0;t<e.length;t++){var n=e[t];n.addEventListener("change",N),n.addEventListener("change",O)}}(),n=+a.fontSize,r=+a.lineHeight,s.style.fontSize=n+"px",a.fontSize=n,s.style.lineHeight=r+"em",a.lineHeight=r,A(),d.refresh(),e=".CodeMirror pre > * { text-indent: 0px; }",n=i.head||i.getElementsByTagName("head")[0],(r=i.createElement("style")).type="text/css",r.styleSheet?r.styleSheet.cssText=e:r.appendChild(i.createTextNode(e)),n.appendChild(r),d.on("renderLine",function(e,t,n){e=o.countColumn(t.text,null,e.getOption("tabSize"))*v.charWidth;n.style.textIndent="-"+e+"px",n.style.paddingLeft=4+e+"px"}),d.refresh())}function Z(){v.isActive()&&(T("closed"),d.toTextArea(),d=void 0)}function ee(){var e,t;(e=i.querySelector(".notice-hesh .notice-dismiss"))&&e.addEventListener("click",function(){var e=r.elements.surveyNoticeDismissedB;e&&(e.value=!0),N()}),v.isThemeOrPlugin?J():v.isGutenberg?(t=v.isGutenbergVisualActive(),wp.data.subscribe(function(){v.isGutenbergVisualActive()!==t&&((t=v.isGutenbergVisualActive())?Z():u.setTimeout(J,0))}),t||J()):v.isVisualEnabled?(n.addEventListener("click",function(){u.setTimeout(J,0)}),p.addEventListener("click",Z),v.isVisualActive()||J()):(J(),i.body.className+=" visual-editor-is-disabled")}"complete"!==i.readyState?u.addEventListener?u.addEventListener("load",ee,!1):u.attachEvent&&u.attachEvent("onload",ee):ee()}(document,window,window.CodeMirror,window.jQuery,window.heshOptions);
|
html-editor-syntax-highlighter.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author URI: http://bradford.digital/
|
7 |
* Author: Petr Mukhortov
|
8 |
* Author URI: http://mukhortov.com/
|
9 |
-
* Version: 2.4.
|
10 |
*
|
11 |
* @package HESH_plugin
|
12 |
**/
|
6 |
* Author URI: http://bradford.digital/
|
7 |
* Author: Petr Mukhortov
|
8 |
* Author URI: http://mukhortov.com/
|
9 |
+
* Version: 2.4.3
|
10 |
*
|
11 |
* @package HESH_plugin
|
12 |
**/
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: nixdns, arniebradfo, rraub, collinprice
|
|
3 |
Donate link: https://www.paypal.me/mukhortov/5
|
4 |
Tags: syntax highlighter, codemirror, text editor, code highlighter, code coloring, editor, html editor, gutenberg, code editor, theme editor, plugin editor, syntax, highlighting, highlighter, syntax highlighting, codemirror.js, code,
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 2.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -46,12 +46,12 @@ See the last screenshot for a visual example.
|
|
46 |
It may work with other code related parts of Gutenberg in the future. [Track the progress here.](https://github.com/mukhortov/HESH-WordPress-Plugin/issues/72)
|
47 |
|
48 |
|
49 |
-
= I
|
50 |
|
51 |
Since WordPress version 5.0, Gutenberg is the default editor. If you want this plugin to work the way it used to, you'll have to download the [Classic Editor plugin](https://wordpress.org/plugins/classic-editor/).
|
52 |
|
53 |
|
54 |
-
= Can I search and
|
55 |
|
56 |
__Function: WINDOWS / MAC__
|
57 |
__Start searching:__ `Ctrl-F` / `Cmd-F`
|
@@ -123,6 +123,9 @@ __Not really...__ It is partially supported in IE 11. Known bugs are tracked [he
|
|
123 |
|
124 |
== Changelog ==
|
125 |
|
|
|
|
|
|
|
126 |
= 2.4.2 =
|
127 |
* removing survey notice
|
128 |
|
@@ -349,5 +352,4 @@ Initial release.
|
|
349 |
2. Quick Settings Panel.
|
350 |
3. Advanced Settings Panel.
|
351 |
4. Syntax highlighting in the Theme/Plugin editor.
|
352 |
-
5.
|
353 |
-
6. Example code highlighting.
|
3 |
Donate link: https://www.paypal.me/mukhortov/5
|
4 |
Tags: syntax highlighter, codemirror, text editor, code highlighter, code coloring, editor, html editor, gutenberg, code editor, theme editor, plugin editor, syntax, highlighting, highlighter, syntax highlighting, codemirror.js, code,
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.8.0
|
7 |
+
Stable tag: 2.4.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
46 |
It may work with other code related parts of Gutenberg in the future. [Track the progress here.](https://github.com/mukhortov/HESH-WordPress-Plugin/issues/72)
|
47 |
|
48 |
|
49 |
+
= How do I get the Classic Editor back!? =
|
50 |
|
51 |
Since WordPress version 5.0, Gutenberg is the default editor. If you want this plugin to work the way it used to, you'll have to download the [Classic Editor plugin](https://wordpress.org/plugins/classic-editor/).
|
52 |
|
53 |
|
54 |
+
= Can I search and replace? =
|
55 |
|
56 |
__Function: WINDOWS / MAC__
|
57 |
__Start searching:__ `Ctrl-F` / `Cmd-F`
|
123 |
|
124 |
== Changelog ==
|
125 |
|
126 |
+
= 2.4.3 =
|
127 |
+
* Updated css for wordpress v5.8
|
128 |
+
|
129 |
= 2.4.2 =
|
130 |
* removing survey notice
|
131 |
|
352 |
2. Quick Settings Panel.
|
353 |
3. Advanced Settings Panel.
|
354 |
4. Syntax highlighting in the Theme/Plugin editor.
|
355 |
+
5. Example code highlighting.
|
|