@kernelift/markdown 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -58
- package/dist/index.d.ts +10 -3
- package/dist/index.js +818 -785
- package/dist/markdown.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a_, mergeModels as i_, useModel as o_, ref as s_, shallowRef as c_, onMounted as l_, watch as u_, onBeforeUnmount as
|
|
1
|
+
import { defineComponent as a_, mergeModels as i_, useModel as o_, ref as s_, shallowRef as c_, onMounted as l_, watch as u_, onBeforeUnmount as __, createElementBlock as d_, openBlock as p_, createElementVNode as m_, unref as E_ } from "vue";
|
|
2
2
|
const Xo = {};
|
|
3
3
|
function od(e) {
|
|
4
4
|
let t = Xo[e];
|
|
@@ -152,15 +152,15 @@ an.prototype.parse = function(e, t) {
|
|
|
152
152
|
const p = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
153
153
|
if (!p) {
|
|
154
154
|
const d = this.hostname.split(/\./);
|
|
155
|
-
for (let
|
|
156
|
-
const b = d[
|
|
155
|
+
for (let E = 0, S = d.length; E < S; E++) {
|
|
156
|
+
const b = d[E];
|
|
157
157
|
if (b && !b.match(es)) {
|
|
158
158
|
let f = "";
|
|
159
|
-
for (let T = 0,
|
|
159
|
+
for (let T = 0, N = b.length; T < N; T++)
|
|
160
160
|
b.charCodeAt(T) > 127 ? f += "x" : f += b[T];
|
|
161
161
|
if (!f.match(es)) {
|
|
162
|
-
const T = d.slice(0,
|
|
163
|
-
|
|
162
|
+
const T = d.slice(0, E), N = d.slice(E + 1), R = b.match(Ed);
|
|
163
|
+
R && (T.push(R[1]), N.unshift(R[2])), N.length && (i = N.join(".") + i), this.hostname = T.join(".");
|
|
164
164
|
break;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
@@ -183,14 +183,14 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
183
183
|
encode: Bt,
|
|
184
184
|
format: Ro,
|
|
185
185
|
parse: Co
|
|
186
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
186
|
+
}, Symbol.toStringTag, { value: "Module" })), g_ = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, S_ = /[\0-\x1F\x7F-\x9F]/, Sd = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, No = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, f_ = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, b_ = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, fd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
187
187
|
__proto__: null,
|
|
188
|
-
Any:
|
|
189
|
-
Cc:
|
|
188
|
+
Any: g_,
|
|
189
|
+
Cc: S_,
|
|
190
190
|
Cf: Sd,
|
|
191
191
|
P: No,
|
|
192
|
-
S:
|
|
193
|
-
Z:
|
|
192
|
+
S: f_,
|
|
193
|
+
Z: b_
|
|
194
194
|
}, Symbol.toStringTag, { value: "Module" })), bd = new Uint16Array(
|
|
195
195
|
// prettier-ignore
|
|
196
196
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e) => e.charCodeAt(0))
|
|
@@ -457,7 +457,7 @@ class vd {
|
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function T_(e) {
|
|
461
461
|
let t = "";
|
|
462
462
|
const n = new vd(e, (r) => t += Cd(r));
|
|
463
463
|
return function(a, i) {
|
|
@@ -499,9 +499,9 @@ function yd(e, t, n, r) {
|
|
|
499
499
|
}
|
|
500
500
|
return -1;
|
|
501
501
|
}
|
|
502
|
-
const Dd =
|
|
503
|
-
|
|
504
|
-
function
|
|
502
|
+
const Dd = T_(bd);
|
|
503
|
+
T_(Td);
|
|
504
|
+
function R_(e, t = Ke.Legacy) {
|
|
505
505
|
return Dd(e, t);
|
|
506
506
|
}
|
|
507
507
|
function xd(e) {
|
|
@@ -525,7 +525,7 @@ function _n(e) {
|
|
|
525
525
|
}
|
|
526
526
|
}), e;
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function C_(e, t, n) {
|
|
529
529
|
return [].concat(e.slice(0, t), n, e.slice(t + 1));
|
|
530
530
|
}
|
|
531
531
|
function ho(e) {
|
|
@@ -539,17 +539,17 @@ function on(e) {
|
|
|
539
539
|
}
|
|
540
540
|
return String.fromCharCode(e);
|
|
541
541
|
}
|
|
542
|
-
const
|
|
542
|
+
const N_ = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, wd = /&([a-z#][a-z0-9]{1,31});/gi, Pd = new RegExp(N_.source + "|" + wd.source, "gi"), kd = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
543
543
|
function Fd(e, t) {
|
|
544
544
|
if (t.charCodeAt(0) === 35 && kd.test(t)) {
|
|
545
545
|
const r = t[1].toLowerCase() === "x" ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10);
|
|
546
546
|
return ho(r) ? on(r) : e;
|
|
547
547
|
}
|
|
548
|
-
const n =
|
|
548
|
+
const n = R_(e);
|
|
549
549
|
return n !== e ? n : e;
|
|
550
550
|
}
|
|
551
551
|
function Ud(e) {
|
|
552
|
-
return e.indexOf("\\") < 0 ? e : e.replace(
|
|
552
|
+
return e.indexOf("\\") < 0 ? e : e.replace(N_, "$1");
|
|
553
553
|
}
|
|
554
554
|
function ut(e) {
|
|
555
555
|
return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(Pd, function(t, n, r) {
|
|
@@ -605,7 +605,7 @@ function wt(e) {
|
|
|
605
605
|
return !1;
|
|
606
606
|
}
|
|
607
607
|
function Pt(e) {
|
|
608
|
-
return No.test(e) ||
|
|
608
|
+
return No.test(e) || f_.test(e);
|
|
609
609
|
}
|
|
610
610
|
function kt(e) {
|
|
611
611
|
switch (e) {
|
|
@@ -651,7 +651,7 @@ function dn(e) {
|
|
|
651
651
|
}
|
|
652
652
|
const zd = { mdurl: gd, ucmicro: fd }, Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
653
653
|
__proto__: null,
|
|
654
|
-
arrayReplaceAt:
|
|
654
|
+
arrayReplaceAt: C_,
|
|
655
655
|
assign: _n,
|
|
656
656
|
escapeHtml: Xe,
|
|
657
657
|
escapeRE: Vd,
|
|
@@ -1007,10 +1007,10 @@ we.prototype.attrJoin = function(t, n) {
|
|
|
1007
1007
|
const r = this.attrIndex(t);
|
|
1008
1008
|
r < 0 ? this.attrPush([t, n]) : this.attrs[r][1] = this.attrs[r][1] + " " + n;
|
|
1009
1009
|
};
|
|
1010
|
-
function
|
|
1010
|
+
function O_(e, t, n) {
|
|
1011
1011
|
this.src = e, this.env = n, this.tokens = [], this.inlineMode = !1, this.md = t;
|
|
1012
1012
|
}
|
|
1013
|
-
|
|
1013
|
+
O_.prototype.Token = we;
|
|
1014
1014
|
const Zd = /\r\n?|\n/g, Jd = /\0/g;
|
|
1015
1015
|
function jd(e) {
|
|
1016
1016
|
let t;
|
|
@@ -1055,33 +1055,33 @@ function ap(e) {
|
|
|
1055
1055
|
let _ = o.level, m = 0;
|
|
1056
1056
|
l.length > 0 && l[0].index === 0 && s > 0 && a[s - 1].type === "text_special" && (l = l.slice(1));
|
|
1057
1057
|
for (let p = 0; p < l.length; p++) {
|
|
1058
|
-
const d = l[p].url,
|
|
1059
|
-
if (!e.md.validateLink(
|
|
1058
|
+
const d = l[p].url, E = e.md.normalizeLink(d);
|
|
1059
|
+
if (!e.md.validateLink(E))
|
|
1060
1060
|
continue;
|
|
1061
1061
|
let S = l[p].text;
|
|
1062
1062
|
l[p].schema ? l[p].schema === "mailto:" && !/^mailto:/i.test(S) ? S = e.md.normalizeLinkText("mailto:" + S).replace(/^mailto:/, "") : S = e.md.normalizeLinkText(S) : S = e.md.normalizeLinkText("http://" + S).replace(/^http:\/\//, "");
|
|
1063
1063
|
const b = l[p].index;
|
|
1064
1064
|
if (b > m) {
|
|
1065
|
-
const
|
|
1066
|
-
|
|
1065
|
+
const R = new e.Token("text", "", 0);
|
|
1066
|
+
R.content = c.slice(m, b), R.level = _, u.push(R);
|
|
1067
1067
|
}
|
|
1068
1068
|
const f = new e.Token("link_open", "a", 1);
|
|
1069
|
-
f.attrs = [["href",
|
|
1069
|
+
f.attrs = [["href", E]], f.level = _++, f.markup = "linkify", f.info = "auto", u.push(f);
|
|
1070
1070
|
const T = new e.Token("text", "", 0);
|
|
1071
1071
|
T.content = S, T.level = _, u.push(T);
|
|
1072
|
-
const
|
|
1073
|
-
|
|
1072
|
+
const N = new e.Token("link_close", "a", -1);
|
|
1073
|
+
N.level = --_, N.markup = "linkify", N.info = "auto", u.push(N), m = l[p].lastIndex;
|
|
1074
1074
|
}
|
|
1075
1075
|
if (m < c.length) {
|
|
1076
1076
|
const p = new e.Token("text", "", 0);
|
|
1077
1077
|
p.content = c.slice(m), p.level = _, u.push(p);
|
|
1078
1078
|
}
|
|
1079
|
-
t[n].children = a =
|
|
1079
|
+
t[n].children = a = C_(a, s, u);
|
|
1080
1080
|
}
|
|
1081
1081
|
}
|
|
1082
1082
|
}
|
|
1083
1083
|
}
|
|
1084
|
-
const
|
|
1084
|
+
const h_ = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, ip = /\((c|tm|r)\)/i, op = /\((c|tm|r)\)/ig, sp = {
|
|
1085
1085
|
c: "©",
|
|
1086
1086
|
r: "®",
|
|
1087
1087
|
tm: "™"
|
|
@@ -1100,14 +1100,14 @@ function up(e) {
|
|
|
1100
1100
|
let t = 0;
|
|
1101
1101
|
for (let n = e.length - 1; n >= 0; n--) {
|
|
1102
1102
|
const r = e[n];
|
|
1103
|
-
r.type === "text" && !t &&
|
|
1103
|
+
r.type === "text" && !t && h_.test(r.content) && (r.content = r.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), r.type === "link_open" && r.info === "auto" && t--, r.type === "link_close" && r.info === "auto" && t++;
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
1106
1106
|
function _p(e) {
|
|
1107
1107
|
let t;
|
|
1108
1108
|
if (e.md.options.typographer)
|
|
1109
1109
|
for (t = e.tokens.length - 1; t >= 0; t--)
|
|
1110
|
-
e.tokens[t].type === "inline" && (ip.test(e.tokens[t].content) && lp(e.tokens[t].children),
|
|
1110
|
+
e.tokens[t].type === "inline" && (ip.test(e.tokens[t].content) && lp(e.tokens[t].children), h_.test(e.tokens[t].content) && up(e.tokens[t].children));
|
|
1111
1111
|
}
|
|
1112
1112
|
const dp = /['"]/, rs = /['"]/g, as = "’";
|
|
1113
1113
|
function nn(e, t, n) {
|
|
@@ -1141,33 +1141,33 @@ function pp(e, t) {
|
|
|
1141
1141
|
d = e[n].content.charCodeAt(e[n].content.length - 1);
|
|
1142
1142
|
break;
|
|
1143
1143
|
}
|
|
1144
|
-
let
|
|
1144
|
+
let E = 32;
|
|
1145
1145
|
if (c < l)
|
|
1146
|
-
|
|
1146
|
+
E = o.charCodeAt(c);
|
|
1147
1147
|
else
|
|
1148
1148
|
for (n = a + 1; n < e.length && !(e[n].type === "softbreak" || e[n].type === "hardbreak"); n++)
|
|
1149
1149
|
if (e[n].content) {
|
|
1150
|
-
|
|
1150
|
+
E = e[n].content.charCodeAt(0);
|
|
1151
1151
|
break;
|
|
1152
1152
|
}
|
|
1153
|
-
const S = kt(d) || Pt(String.fromCharCode(d)), b = kt(
|
|
1154
|
-
if (T ? _ = !1 : b && (f || S || (_ = !1)), f ? m = !1 : S && (T || b || (m = !1)),
|
|
1153
|
+
const S = kt(d) || Pt(String.fromCharCode(d)), b = kt(E) || Pt(String.fromCharCode(E)), f = wt(d), T = wt(E);
|
|
1154
|
+
if (T ? _ = !1 : b && (f || S || (_ = !1)), f ? m = !1 : S && (T || b || (m = !1)), E === 34 && u[0] === '"' && d >= 48 && d <= 57 && (m = _ = !1), _ && m && (_ = S, m = b), !_ && !m) {
|
|
1155
1155
|
p && (i.content = nn(i.content, u.index, as));
|
|
1156
1156
|
continue;
|
|
1157
1157
|
}
|
|
1158
1158
|
if (m)
|
|
1159
1159
|
for (n = r.length - 1; n >= 0; n--) {
|
|
1160
|
-
let
|
|
1160
|
+
let N = r[n];
|
|
1161
1161
|
if (r[n].level < s)
|
|
1162
1162
|
break;
|
|
1163
|
-
if (
|
|
1164
|
-
|
|
1165
|
-
let
|
|
1166
|
-
p ? (
|
|
1167
|
-
e[
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
), c +=
|
|
1163
|
+
if (N.single === p && r[n].level === s) {
|
|
1164
|
+
N = r[n];
|
|
1165
|
+
let R, C;
|
|
1166
|
+
p ? (R = t.md.options.quotes[2], C = t.md.options.quotes[3]) : (R = t.md.options.quotes[0], C = t.md.options.quotes[1]), i.content = nn(i.content, u.index, C), e[N.token].content = nn(
|
|
1167
|
+
e[N.token].content,
|
|
1168
|
+
N.pos,
|
|
1169
|
+
R
|
|
1170
|
+
), c += C.length - 1, N.token === a && (c += R.length - 1), o = i.content, l = o.length, r.length = n;
|
|
1171
1171
|
continue e;
|
|
1172
1172
|
}
|
|
1173
1173
|
}
|
|
@@ -1219,7 +1219,7 @@ Ao.prototype.process = function(e) {
|
|
|
1219
1219
|
for (let n = 0, r = t.length; n < r; n++)
|
|
1220
1220
|
t[n](e);
|
|
1221
1221
|
};
|
|
1222
|
-
Ao.prototype.State =
|
|
1222
|
+
Ao.prototype.State = O_;
|
|
1223
1223
|
function Ge(e, t, n, r) {
|
|
1224
1224
|
this.src = e, this.md = t, this.env = n, this.tokens = r, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0;
|
|
1225
1225
|
const a = this.src;
|
|
@@ -1327,23 +1327,23 @@ function Sp(e, t, n, r) {
|
|
|
1327
1327
|
if (o !== 124 && o !== 45 && o !== 58 && !ee(o) || s === 45 && ee(o))
|
|
1328
1328
|
return !1;
|
|
1329
1329
|
for (; i < e.eMarks[a]; ) {
|
|
1330
|
-
const
|
|
1331
|
-
if (
|
|
1330
|
+
const N = e.src.charCodeAt(i);
|
|
1331
|
+
if (N !== 124 && N !== 45 && N !== 58 && !ee(N))
|
|
1332
1332
|
return !1;
|
|
1333
1333
|
i++;
|
|
1334
1334
|
}
|
|
1335
1335
|
let c = vn(e, t + 1), l = c.split("|");
|
|
1336
1336
|
const u = [];
|
|
1337
|
-
for (let
|
|
1338
|
-
const
|
|
1339
|
-
if (!
|
|
1340
|
-
if (
|
|
1337
|
+
for (let N = 0; N < l.length; N++) {
|
|
1338
|
+
const R = l[N].trim();
|
|
1339
|
+
if (!R) {
|
|
1340
|
+
if (N === 0 || N === l.length - 1)
|
|
1341
1341
|
continue;
|
|
1342
1342
|
return !1;
|
|
1343
1343
|
}
|
|
1344
|
-
if (!/^:?-+:?$/.test(
|
|
1344
|
+
if (!/^:?-+:?$/.test(R))
|
|
1345
1345
|
return !1;
|
|
1346
|
-
|
|
1346
|
+
R.charCodeAt(R.length - 1) === 58 ? u.push(R.charCodeAt(0) === 58 ? "center" : "right") : R.charCodeAt(0) === 58 ? u.push("left") : u.push("");
|
|
1347
1347
|
}
|
|
1348
1348
|
if (c = vn(e, t).trim(), c.indexOf("|") === -1 || e.sCount[t] - e.blkIndent >= 4)
|
|
1349
1349
|
return !1;
|
|
@@ -1355,44 +1355,44 @@ function Sp(e, t, n, r) {
|
|
|
1355
1355
|
return !0;
|
|
1356
1356
|
const m = e.parentType;
|
|
1357
1357
|
e.parentType = "table";
|
|
1358
|
-
const p = e.md.block.ruler.getRules("blockquote"), d = e.push("table_open", "table", 1),
|
|
1359
|
-
d.map =
|
|
1358
|
+
const p = e.md.block.ruler.getRules("blockquote"), d = e.push("table_open", "table", 1), E = [t, 0];
|
|
1359
|
+
d.map = E;
|
|
1360
1360
|
const S = e.push("thead_open", "thead", 1);
|
|
1361
1361
|
S.map = [t, t + 1];
|
|
1362
1362
|
const b = e.push("tr_open", "tr", 1);
|
|
1363
1363
|
b.map = [t, t + 1];
|
|
1364
|
-
for (let
|
|
1365
|
-
const
|
|
1366
|
-
u[
|
|
1367
|
-
const
|
|
1368
|
-
|
|
1364
|
+
for (let N = 0; N < l.length; N++) {
|
|
1365
|
+
const R = e.push("th_open", "th", 1);
|
|
1366
|
+
u[N] && (R.attrs = [["style", "text-align:" + u[N]]]);
|
|
1367
|
+
const C = e.push("inline", "", 0);
|
|
1368
|
+
C.content = l[N].trim(), C.children = [], e.push("th_close", "th", -1);
|
|
1369
1369
|
}
|
|
1370
1370
|
e.push("tr_close", "tr", -1), e.push("thead_close", "thead", -1);
|
|
1371
1371
|
let f, T = 0;
|
|
1372
1372
|
for (a = t + 2; a < n && !(e.sCount[a] < e.blkIndent); a++) {
|
|
1373
|
-
let
|
|
1374
|
-
for (let
|
|
1375
|
-
if (p[
|
|
1376
|
-
|
|
1373
|
+
let N = !1;
|
|
1374
|
+
for (let C = 0, A = p.length; C < A; C++)
|
|
1375
|
+
if (p[C](e, a, n, !0)) {
|
|
1376
|
+
N = !0;
|
|
1377
1377
|
break;
|
|
1378
1378
|
}
|
|
1379
|
-
if (
|
|
1379
|
+
if (N || (c = vn(e, a).trim(), !c) || e.sCount[a] - e.blkIndent >= 4 || (l = is(c), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop(), T += _ - l.length, T > gp))
|
|
1380
1380
|
break;
|
|
1381
1381
|
if (a === t + 2) {
|
|
1382
|
-
const
|
|
1383
|
-
|
|
1382
|
+
const C = e.push("tbody_open", "tbody", 1);
|
|
1383
|
+
C.map = f = [t + 2, 0];
|
|
1384
1384
|
}
|
|
1385
|
-
const
|
|
1386
|
-
|
|
1387
|
-
for (let
|
|
1385
|
+
const R = e.push("tr_open", "tr", 1);
|
|
1386
|
+
R.map = [a, a + 1];
|
|
1387
|
+
for (let C = 0; C < _; C++) {
|
|
1388
1388
|
const A = e.push("td_open", "td", 1);
|
|
1389
|
-
u[
|
|
1389
|
+
u[C] && (A.attrs = [["style", "text-align:" + u[C]]]);
|
|
1390
1390
|
const I = e.push("inline", "", 0);
|
|
1391
|
-
I.content = l[
|
|
1391
|
+
I.content = l[C] ? l[C].trim() : "", I.children = [], e.push("td_close", "td", -1);
|
|
1392
1392
|
}
|
|
1393
1393
|
e.push("tr_close", "tr", -1);
|
|
1394
1394
|
}
|
|
1395
|
-
return f && (e.push("tbody_close", "tbody", -1), f[1] = a), e.push("table_close", "table", -1),
|
|
1395
|
+
return f && (e.push("tbody_close", "tbody", -1), f[1] = a), e.push("table_close", "table", -1), E[1] = a, e.parentType = m, e.line = a, !0;
|
|
1396
1396
|
}
|
|
1397
1397
|
function fp(e, t, n) {
|
|
1398
1398
|
if (e.sCount[t] - e.blkIndent < 4)
|
|
@@ -1456,9 +1456,9 @@ function Tp(e, t, n, r) {
|
|
|
1456
1456
|
if (a = e.bMarks[d] + e.tShift[d], i = e.eMarks[d], a >= i)
|
|
1457
1457
|
break;
|
|
1458
1458
|
if (e.src.charCodeAt(a++) === 62 && !T) {
|
|
1459
|
-
let
|
|
1460
|
-
e.src.charCodeAt(a) === 32 ? (a++,
|
|
1461
|
-
let I =
|
|
1459
|
+
let R = e.sCount[d] + 1, C, A;
|
|
1460
|
+
e.src.charCodeAt(a) === 32 ? (a++, R++, A = !1, C = !0) : e.src.charCodeAt(a) === 9 ? (C = !0, (e.bsCount[d] + R) % 4 === 3 ? (a++, R++, A = !1) : A = !0) : C = !1;
|
|
1461
|
+
let I = R;
|
|
1462
1462
|
for (o.push(e.bMarks[d]), e.bMarks[d] = a; a < i; ) {
|
|
1463
1463
|
const M = e.src.charCodeAt(a);
|
|
1464
1464
|
if (ee(M))
|
|
@@ -1467,24 +1467,24 @@ function Tp(e, t, n, r) {
|
|
|
1467
1467
|
break;
|
|
1468
1468
|
a++;
|
|
1469
1469
|
}
|
|
1470
|
-
p = a >= i, c.push(e.bsCount[d]), e.bsCount[d] = e.sCount[d] + 1 + (
|
|
1470
|
+
p = a >= i, c.push(e.bsCount[d]), e.bsCount[d] = e.sCount[d] + 1 + (C ? 1 : 0), l.push(e.sCount[d]), e.sCount[d] = I - R, u.push(e.tShift[d]), e.tShift[d] = a - e.bMarks[d];
|
|
1471
1471
|
continue;
|
|
1472
1472
|
}
|
|
1473
1473
|
if (p)
|
|
1474
1474
|
break;
|
|
1475
|
-
let
|
|
1476
|
-
for (let
|
|
1477
|
-
if (_[
|
|
1478
|
-
|
|
1475
|
+
let N = !1;
|
|
1476
|
+
for (let R = 0, C = _.length; R < C; R++)
|
|
1477
|
+
if (_[R](e, d, n, !0)) {
|
|
1478
|
+
N = !0;
|
|
1479
1479
|
break;
|
|
1480
1480
|
}
|
|
1481
|
-
if (
|
|
1481
|
+
if (N) {
|
|
1482
1482
|
e.lineMax = d, e.blkIndent !== 0 && (o.push(e.bMarks[d]), c.push(e.bsCount[d]), u.push(e.tShift[d]), l.push(e.sCount[d]), e.sCount[d] -= e.blkIndent);
|
|
1483
1483
|
break;
|
|
1484
1484
|
}
|
|
1485
1485
|
o.push(e.bMarks[d]), c.push(e.bsCount[d]), u.push(e.tShift[d]), l.push(e.sCount[d]), e.sCount[d] = -1;
|
|
1486
1486
|
}
|
|
1487
|
-
const
|
|
1487
|
+
const E = e.blkIndent;
|
|
1488
1488
|
e.blkIndent = 0;
|
|
1489
1489
|
const S = e.push("blockquote_open", "blockquote", 1);
|
|
1490
1490
|
S.markup = ">";
|
|
@@ -1494,7 +1494,7 @@ function Tp(e, t, n, r) {
|
|
|
1494
1494
|
f.markup = ">", e.lineMax = s, e.parentType = m, b[1] = e.line;
|
|
1495
1495
|
for (let T = 0; T < u.length; T++)
|
|
1496
1496
|
e.bMarks[T + t] = o[T], e.tShift[T + t] = u[T], e.sCount[T + t] = l[T], e.bsCount[T + t] = c[T];
|
|
1497
|
-
return e.blkIndent =
|
|
1497
|
+
return e.blkIndent = E, !0;
|
|
1498
1498
|
}
|
|
1499
1499
|
function Rp(e, t, n, r) {
|
|
1500
1500
|
const a = e.eMarks[t];
|
|
@@ -1576,7 +1576,7 @@ function Np(e, t, n, r) {
|
|
|
1576
1576
|
return !1;
|
|
1577
1577
|
if (r)
|
|
1578
1578
|
return !0;
|
|
1579
|
-
const d = e.src.charCodeAt(p - 1),
|
|
1579
|
+
const d = e.src.charCodeAt(p - 1), E = e.tokens.length;
|
|
1580
1580
|
_ ? (o = e.push("ordered_list_open", "ol", 1), m !== 1 && (o.attrs = [["start", m]])) : o = e.push("bullet_list_open", "ul", 1);
|
|
1581
1581
|
const S = [c, 0];
|
|
1582
1582
|
o.map = S, o.markup = String.fromCharCode(d);
|
|
@@ -1584,27 +1584,27 @@ function Np(e, t, n, r) {
|
|
|
1584
1584
|
const f = e.md.block.ruler.getRules("list"), T = e.parentType;
|
|
1585
1585
|
for (e.parentType = "list"; c < n; ) {
|
|
1586
1586
|
i = p, a = e.eMarks[c];
|
|
1587
|
-
const
|
|
1588
|
-
let
|
|
1587
|
+
const N = e.sCount[c] + p - (e.bMarks[c] + e.tShift[c]);
|
|
1588
|
+
let R = N;
|
|
1589
1589
|
for (; i < a; ) {
|
|
1590
1590
|
const Y = e.src.charCodeAt(i);
|
|
1591
1591
|
if (Y === 9)
|
|
1592
|
-
|
|
1592
|
+
R += 4 - (R + e.bsCount[c]) % 4;
|
|
1593
1593
|
else if (Y === 32)
|
|
1594
|
-
|
|
1594
|
+
R++;
|
|
1595
1595
|
else
|
|
1596
1596
|
break;
|
|
1597
1597
|
i++;
|
|
1598
1598
|
}
|
|
1599
|
-
const
|
|
1599
|
+
const C = i;
|
|
1600
1600
|
let A;
|
|
1601
|
-
|
|
1602
|
-
const I =
|
|
1601
|
+
C >= a ? A = 1 : A = R - N, A > 4 && (A = 1);
|
|
1602
|
+
const I = N + A;
|
|
1603
1603
|
o = e.push("list_item_open", "li", 1), o.markup = String.fromCharCode(d);
|
|
1604
1604
|
const M = [c, 0];
|
|
1605
1605
|
o.map = M, _ && (o.info = e.src.slice(s, p - 1));
|
|
1606
|
-
const F = e.tight,
|
|
1607
|
-
if (e.listIndent = e.blkIndent, e.blkIndent = I, e.tight = !0, e.tShift[c] =
|
|
1606
|
+
const F = e.tight, D = e.tShift[c], H = e.sCount[c], J = e.listIndent;
|
|
1607
|
+
if (e.listIndent = e.blkIndent, e.blkIndent = I, e.tight = !0, e.tShift[c] = C - e.bMarks[c], e.sCount[c] = R, C >= a && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, n) : e.md.block.tokenize(e, c, n, !0), (!e.tight || b) && (l = !1), b = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = J, e.tShift[c] = D, e.sCount[c] = H, e.tight = F, o = e.push("list_item_close", "li", -1), o.markup = String.fromCharCode(d), c = e.line, M[1] = c, c >= n || e.sCount[c] < e.blkIndent || e.sCount[c] - e.blkIndent >= 4)
|
|
1608
1608
|
break;
|
|
1609
1609
|
let X = !1;
|
|
1610
1610
|
for (let Y = 0, z = f.length; Y < z; Y++)
|
|
@@ -1623,7 +1623,7 @@ function Np(e, t, n, r) {
|
|
|
1623
1623
|
if (d !== e.src.charCodeAt(p - 1))
|
|
1624
1624
|
break;
|
|
1625
1625
|
}
|
|
1626
|
-
return _ ? o = e.push("ordered_list_close", "ol", -1) : o = e.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), S[1] = c, e.line = c, e.parentType = T, l && Cp(e,
|
|
1626
|
+
return _ ? o = e.push("ordered_list_close", "ol", -1) : o = e.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), S[1] = c, e.line = c, e.parentType = T, l && Cp(e, E), !0;
|
|
1627
1627
|
}
|
|
1628
1628
|
function Op(e, t, n, r) {
|
|
1629
1629
|
let a = e.bMarks[t] + e.tShift[t], i = e.eMarks[t], s = t + 1;
|
|
@@ -1633,12 +1633,12 @@ function Op(e, t, n, r) {
|
|
|
1633
1633
|
const T = e.lineMax;
|
|
1634
1634
|
if (f >= T || e.isEmpty(f))
|
|
1635
1635
|
return null;
|
|
1636
|
-
let
|
|
1637
|
-
if (e.sCount[f] - e.blkIndent > 3 && (
|
|
1636
|
+
let N = !1;
|
|
1637
|
+
if (e.sCount[f] - e.blkIndent > 3 && (N = !0), e.sCount[f] < 0 && (N = !0), !N) {
|
|
1638
1638
|
const A = e.md.block.ruler.getRules("reference"), I = e.parentType;
|
|
1639
1639
|
e.parentType = "reference";
|
|
1640
1640
|
let M = !1;
|
|
1641
|
-
for (let F = 0,
|
|
1641
|
+
for (let F = 0, D = A.length; F < D; F++)
|
|
1642
1642
|
if (A[F](e, f, T, !0)) {
|
|
1643
1643
|
M = !0;
|
|
1644
1644
|
break;
|
|
@@ -1646,8 +1646,8 @@ function Op(e, t, n, r) {
|
|
|
1646
1646
|
if (e.parentType = I, M)
|
|
1647
1647
|
return null;
|
|
1648
1648
|
}
|
|
1649
|
-
const
|
|
1650
|
-
return e.src.slice(
|
|
1649
|
+
const R = e.bMarks[f] + e.tShift[f], C = e.eMarks[f];
|
|
1650
|
+
return e.src.slice(R, C + 1);
|
|
1651
1651
|
}
|
|
1652
1652
|
let c = e.src.slice(a, i + 1);
|
|
1653
1653
|
i = c.length;
|
|
@@ -1691,14 +1691,14 @@ function Op(e, t, n, r) {
|
|
|
1691
1691
|
T !== null && (c += T, i = c.length, s++);
|
|
1692
1692
|
} else if (!ee(f)) break;
|
|
1693
1693
|
}
|
|
1694
|
-
let
|
|
1695
|
-
for (;
|
|
1694
|
+
let E = e.md.helpers.parseLinkTitle(c, a, i);
|
|
1695
|
+
for (; E.can_continue; ) {
|
|
1696
1696
|
const f = o(s);
|
|
1697
1697
|
if (f === null) break;
|
|
1698
|
-
c += f, a = i, i = c.length, s++,
|
|
1698
|
+
c += f, a = i, i = c.length, s++, E = e.md.helpers.parseLinkTitle(c, a, i, E);
|
|
1699
1699
|
}
|
|
1700
1700
|
let S;
|
|
1701
|
-
for (a < i && d !== a &&
|
|
1701
|
+
for (a < i && d !== a && E.ok ? (S = E.str, a = E.pos) : (S = "", a = m, s = p); a < i; ) {
|
|
1702
1702
|
const f = c.charCodeAt(a);
|
|
1703
1703
|
if (!ee(f))
|
|
1704
1704
|
break;
|
|
@@ -1779,7 +1779,7 @@ const hp = [
|
|
|
1779
1779
|
"tr",
|
|
1780
1780
|
"track",
|
|
1781
1781
|
"ul"
|
|
1782
|
-
], Ap = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Ip = "[^\"'=<>`\\x00-\\x20]+", vp = "'[^']*'", yp = '"[^"]*"', Dp = "(?:" + Ip + "|" + vp + "|" + yp + ")", xp = "(?:\\s+" + Ap + "(?:\\s*=\\s*" + Dp + ")?)",
|
|
1782
|
+
], Ap = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Ip = "[^\"'=<>`\\x00-\\x20]+", vp = "'[^']*'", yp = '"[^"]*"', Dp = "(?:" + Ip + "|" + vp + "|" + yp + ")", xp = "(?:\\s+" + Ap + "(?:\\s*=\\s*" + Dp + ")?)", A_ = "<[A-Za-z][A-Za-z0-9\\-]*" + xp + "*\\s*\\/?>", I_ = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", Mp = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", Lp = "<[?][\\s\\S]*?[?]>", wp = "<![A-Za-z][^>]*>", Pp = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", kp = new RegExp("^(?:" + A_ + "|" + I_ + "|" + Mp + "|" + Lp + "|" + wp + "|" + Pp + ")"), Fp = new RegExp("^(?:" + A_ + "|" + I_ + ")"), st = [
|
|
1783
1783
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
1784
1784
|
[/^<!--/, /-->/, !0],
|
|
1785
1785
|
[/^<\?/, /\?>/, !0],
|
|
@@ -2149,7 +2149,7 @@ function Xp(e) {
|
|
|
2149
2149
|
for (let r = 0; r < n; r++)
|
|
2150
2150
|
t[r] && t[r].delimiters && cs(e, t[r].delimiters);
|
|
2151
2151
|
}
|
|
2152
|
-
const
|
|
2152
|
+
const v_ = {
|
|
2153
2153
|
tokenize: Qp,
|
|
2154
2154
|
postProcess: Xp
|
|
2155
2155
|
};
|
|
@@ -2203,7 +2203,7 @@ function Jp(e) {
|
|
|
2203
2203
|
for (let r = 0; r < n; r++)
|
|
2204
2204
|
t[r] && t[r].delimiters && ls(e, t[r].delimiters);
|
|
2205
2205
|
}
|
|
2206
|
-
const
|
|
2206
|
+
const y_ = {
|
|
2207
2207
|
tokenize: Zp,
|
|
2208
2208
|
postProcess: Jp
|
|
2209
2209
|
};
|
|
@@ -2238,8 +2238,8 @@ function jp(e, t) {
|
|
|
2238
2238
|
}
|
|
2239
2239
|
if (!t) {
|
|
2240
2240
|
e.pos = m, e.posMax = p;
|
|
2241
|
-
const
|
|
2242
|
-
|
|
2241
|
+
const E = e.push("link_open", "a", 1), S = [["href", s]];
|
|
2242
|
+
E.attrs = S, o && S.push(["title", o]), e.linkLevel++, e.md.inline.tokenize(e), e.linkLevel--, e.push("link_close", "a", -1);
|
|
2243
2243
|
}
|
|
2244
2244
|
return e.pos = d, e.posMax = _, !0;
|
|
2245
2245
|
}
|
|
@@ -2275,15 +2275,15 @@ function em(e, t) {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
if (!t) {
|
|
2277
2277
|
r = e.src.slice(p, d);
|
|
2278
|
-
const
|
|
2278
|
+
const E = [];
|
|
2279
2279
|
e.md.inline.parse(
|
|
2280
2280
|
r,
|
|
2281
2281
|
e.md,
|
|
2282
2282
|
e.env,
|
|
2283
|
-
|
|
2283
|
+
E
|
|
2284
2284
|
);
|
|
2285
2285
|
const S = e.push("image", "img", 0), b = [["src", u], ["alt", ""]];
|
|
2286
|
-
S.attrs = b, S.children =
|
|
2286
|
+
S.attrs = b, S.children = E, S.content = r, c && b.push(["title", c]);
|
|
2287
2287
|
}
|
|
2288
2288
|
return e.pos = i, e.posMax = m, !0;
|
|
2289
2289
|
}
|
|
@@ -2374,7 +2374,7 @@ function um(e, t) {
|
|
|
2374
2374
|
} else {
|
|
2375
2375
|
const i = e.src.slice(n).match(lm);
|
|
2376
2376
|
if (i) {
|
|
2377
|
-
const s =
|
|
2377
|
+
const s = R_(i[0]);
|
|
2378
2378
|
if (s !== i[0]) {
|
|
2379
2379
|
if (!t) {
|
|
2380
2380
|
const o = e.push("text_special", "", 0);
|
|
@@ -2430,8 +2430,8 @@ const yn = [
|
|
|
2430
2430
|
["newline", Wp],
|
|
2431
2431
|
["escape", $p],
|
|
2432
2432
|
["backticks", Kp],
|
|
2433
|
-
["strikethrough",
|
|
2434
|
-
["emphasis",
|
|
2433
|
+
["strikethrough", v_.tokenize],
|
|
2434
|
+
["emphasis", y_.tokenize],
|
|
2435
2435
|
["link", jp],
|
|
2436
2436
|
["image", em],
|
|
2437
2437
|
["autolink", rm],
|
|
@@ -2439,8 +2439,8 @@ const yn = [
|
|
|
2439
2439
|
["entity", um]
|
|
2440
2440
|
], Dn = [
|
|
2441
2441
|
["balance_pairs", _m],
|
|
2442
|
-
["strikethrough",
|
|
2443
|
-
["emphasis",
|
|
2442
|
+
["strikethrough", v_.postProcess],
|
|
2443
|
+
["emphasis", y_.postProcess],
|
|
2444
2444
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
2445
2445
|
// rule below merges unused segments back with the rest of the text
|
|
2446
2446
|
["fragments_join", dm]
|
|
@@ -2503,7 +2503,7 @@ Yt.prototype.parse = function(e, t, n, r) {
|
|
|
2503
2503
|
Yt.prototype.State = Gt;
|
|
2504
2504
|
function pm(e) {
|
|
2505
2505
|
const t = {};
|
|
2506
|
-
e = e || {}, t.src_Any =
|
|
2506
|
+
e = e || {}, t.src_Any = g_.source, t.src_Cc = S_.source, t.src_Z = b_.source, t.src_P = No.source, t.src_ZPCc = [t.src_Z, t.src_P, t.src_Cc].join("|"), t.src_ZCc = [t.src_Z, t.src_Cc].join("|");
|
|
2507
2507
|
const n = "[><|]";
|
|
2508
2508
|
return t.src_pseudo_letter = "(?:(?!" + n + "|" + t.src_ZPCc + ")" + t.src_Any + ")", t.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", t.src_auth = "(?:(?:(?!" + t.src_ZCc + "|[@/\\[\\]()]).)+@)?", t.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", t.src_host_terminator = "(?=$|" + n + "|" + t.src_ZPCc + ")(?!" + (e["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + t.src_ZPCc + "))", t.src_path = "(?:[/?#](?:(?!" + t.src_ZCc + "|" + n + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + t.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + t.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + t.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + t.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + t.src_ZCc + "|[']).)+\\'|\\'(?=" + t.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + t.src_ZCc + "|[.]|$)|" + (e["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
|
|
2509
2509
|
",(?!" + t.src_ZCc + "|$)|;(?!" + t.src_ZCc + "|$)|\\!+(?!" + t.src_ZCc + "|[!]|$)|\\?(?!" + t.src_ZCc + "|[?]|$))+|\\/)?", t.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', t.src_xn = "xn--[a-z0-9\\-]{1,59}", t.src_domain_root = // Allow letters & digits (http://test1)
|
|
@@ -2538,14 +2538,14 @@ function _s(e) {
|
|
|
2538
2538
|
function Sm(e) {
|
|
2539
2539
|
return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
2540
2540
|
}
|
|
2541
|
-
const
|
|
2541
|
+
const D_ = {
|
|
2542
2542
|
fuzzyLink: !0,
|
|
2543
2543
|
fuzzyEmail: !0,
|
|
2544
2544
|
fuzzyIP: !1
|
|
2545
2545
|
};
|
|
2546
2546
|
function fm(e) {
|
|
2547
2547
|
return Object.keys(e || {}).reduce(function(t, n) {
|
|
2548
|
-
return t ||
|
|
2548
|
+
return t || D_.hasOwnProperty(n);
|
|
2549
2549
|
}, !1);
|
|
2550
2550
|
}
|
|
2551
2551
|
const bm = {
|
|
@@ -2643,7 +2643,7 @@ function go(e, t) {
|
|
|
2643
2643
|
function Ie(e, t) {
|
|
2644
2644
|
if (!(this instanceof Ie))
|
|
2645
2645
|
return new Ie(e, t);
|
|
2646
|
-
t || fm(e) && (t = e, e = {}), this.__opts__ = Eo({},
|
|
2646
|
+
t || fm(e) && (t = e, e = {}), this.__opts__ = Eo({}, D_, t), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = Eo({}, bm, e), this.__compiled__ = {}, this.__tlds__ = Rm, this.__tlds_replaced__ = !1, this.re = {}, sn(this);
|
|
2647
2647
|
}
|
|
2648
2648
|
Ie.prototype.add = function(t, n) {
|
|
2649
2649
|
return this.__schemas__[t] = n, sn(this), this;
|
|
@@ -2696,7 +2696,7 @@ Ie.prototype.normalize = function(t) {
|
|
|
2696
2696
|
};
|
|
2697
2697
|
Ie.prototype.onCompile = function() {
|
|
2698
2698
|
};
|
|
2699
|
-
const ct = 2147483647, Fe = 36, vo = 1, Ft = 26, hm = 38, Am = 700,
|
|
2699
|
+
const ct = 2147483647, Fe = 36, vo = 1, Ft = 26, hm = 38, Am = 700, x_ = 72, M_ = 128, L_ = "-", Im = /^xn--/, vm = /[^\0-\x7F]/, ym = /[\x2E\u3002\uFF0E\uFF61]/g, Dm = {
|
|
2700
2700
|
overflow: "Overflow: input needs wider integers to process",
|
|
2701
2701
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
2702
2702
|
"invalid-input": "Invalid input"
|
|
@@ -2711,14 +2711,14 @@ function xm(e, t) {
|
|
|
2711
2711
|
n[r] = t(e[r]);
|
|
2712
2712
|
return n;
|
|
2713
2713
|
}
|
|
2714
|
-
function
|
|
2714
|
+
function w_(e, t) {
|
|
2715
2715
|
const n = e.split("@");
|
|
2716
2716
|
let r = "";
|
|
2717
2717
|
n.length > 1 && (r = n[0] + "@", e = n[1]), e = e.replace(ym, ".");
|
|
2718
2718
|
const a = e.split("."), i = xm(a, t).join(".");
|
|
2719
2719
|
return r + i;
|
|
2720
2720
|
}
|
|
2721
|
-
function
|
|
2721
|
+
function P_(e) {
|
|
2722
2722
|
const t = [];
|
|
2723
2723
|
let n = 0;
|
|
2724
2724
|
const r = e.length;
|
|
@@ -2736,14 +2736,14 @@ const Mm = (e) => String.fromCodePoint(...e), Lm = function(e) {
|
|
|
2736
2736
|
return e >= 48 && e < 58 ? 26 + (e - 48) : e >= 65 && e < 91 ? e - 65 : e >= 97 && e < 123 ? e - 97 : Fe;
|
|
2737
2737
|
}, ps = function(e, t) {
|
|
2738
2738
|
return e + 22 + 75 * (e < 26) - ((t != 0) << 5);
|
|
2739
|
-
},
|
|
2739
|
+
}, k_ = function(e, t, n) {
|
|
2740
2740
|
let r = 0;
|
|
2741
2741
|
for (e = n ? Ue(e / Am) : e >> 1, e += Ue(e / t); e > xn * Ft >> 1; r += Fe)
|
|
2742
2742
|
e = Ue(e / xn);
|
|
2743
2743
|
return Ue(r + (xn + 1) * e / (e + hm));
|
|
2744
|
-
},
|
|
2744
|
+
}, F_ = function(e) {
|
|
2745
2745
|
const t = [], n = e.length;
|
|
2746
|
-
let r = 0, a =
|
|
2746
|
+
let r = 0, a = M_, i = x_, s = e.lastIndexOf(L_);
|
|
2747
2747
|
s < 0 && (s = 0);
|
|
2748
2748
|
for (let o = 0; o < s; ++o)
|
|
2749
2749
|
e.charCodeAt(o) >= 128 && $e("not-basic"), t.push(e.charCodeAt(o));
|
|
@@ -2760,19 +2760,19 @@ const Mm = (e) => String.fromCodePoint(...e), Lm = function(e) {
|
|
|
2760
2760
|
u > Ue(ct / d) && $e("overflow"), u *= d;
|
|
2761
2761
|
}
|
|
2762
2762
|
const l = t.length + 1;
|
|
2763
|
-
i =
|
|
2763
|
+
i = k_(r - c, l, c == 0), Ue(r / l) > ct - a && $e("overflow"), a += Ue(r / l), r %= l, t.splice(r++, 0, a);
|
|
2764
2764
|
}
|
|
2765
2765
|
return String.fromCodePoint(...t);
|
|
2766
|
-
},
|
|
2766
|
+
}, U_ = function(e) {
|
|
2767
2767
|
const t = [];
|
|
2768
|
-
e =
|
|
2768
|
+
e = P_(e);
|
|
2769
2769
|
const n = e.length;
|
|
2770
|
-
let r =
|
|
2770
|
+
let r = M_, a = 0, i = x_;
|
|
2771
2771
|
for (const c of e)
|
|
2772
2772
|
c < 128 && t.push(Mn(c));
|
|
2773
2773
|
const s = t.length;
|
|
2774
2774
|
let o = s;
|
|
2775
|
-
for (s && t.push(
|
|
2775
|
+
for (s && t.push(L_); o < n; ) {
|
|
2776
2776
|
let c = ct;
|
|
2777
2777
|
for (const u of e)
|
|
2778
2778
|
u >= r && u < c && (c = u);
|
|
@@ -2785,25 +2785,25 @@ const Mm = (e) => String.fromCodePoint(...e), Lm = function(e) {
|
|
|
2785
2785
|
const p = m <= i ? vo : m >= i + Ft ? Ft : m - i;
|
|
2786
2786
|
if (_ < p)
|
|
2787
2787
|
break;
|
|
2788
|
-
const d = _ - p,
|
|
2788
|
+
const d = _ - p, E = Fe - p;
|
|
2789
2789
|
t.push(
|
|
2790
|
-
Mn(ps(p + d %
|
|
2791
|
-
), _ = Ue(d /
|
|
2790
|
+
Mn(ps(p + d % E, 0))
|
|
2791
|
+
), _ = Ue(d / E);
|
|
2792
2792
|
}
|
|
2793
|
-
t.push(Mn(ps(_, 0))), i =
|
|
2793
|
+
t.push(Mn(ps(_, 0))), i = k_(a, l, o === s), a = 0, ++o;
|
|
2794
2794
|
}
|
|
2795
2795
|
++a, ++r;
|
|
2796
2796
|
}
|
|
2797
2797
|
return t.join("");
|
|
2798
2798
|
}, wm = function(e) {
|
|
2799
|
-
return
|
|
2800
|
-
return Im.test(t) ?
|
|
2799
|
+
return w_(e, function(t) {
|
|
2800
|
+
return Im.test(t) ? F_(t.slice(4).toLowerCase()) : t;
|
|
2801
2801
|
});
|
|
2802
2802
|
}, Pm = function(e) {
|
|
2803
|
-
return
|
|
2804
|
-
return vm.test(t) ? "xn--" +
|
|
2803
|
+
return w_(e, function(t) {
|
|
2804
|
+
return vm.test(t) ? "xn--" + U_(t) : t;
|
|
2805
2805
|
});
|
|
2806
|
-
},
|
|
2806
|
+
}, B_ = {
|
|
2807
2807
|
/**
|
|
2808
2808
|
* A string representing the current Punycode.js version number.
|
|
2809
2809
|
* @memberOf punycode
|
|
@@ -2818,11 +2818,11 @@ const Mm = (e) => String.fromCodePoint(...e), Lm = function(e) {
|
|
|
2818
2818
|
* @type Object
|
|
2819
2819
|
*/
|
|
2820
2820
|
ucs2: {
|
|
2821
|
-
decode:
|
|
2821
|
+
decode: P_,
|
|
2822
2822
|
encode: Mm
|
|
2823
2823
|
},
|
|
2824
|
-
decode:
|
|
2825
|
-
encode:
|
|
2824
|
+
decode: F_,
|
|
2825
|
+
encode: U_,
|
|
2826
2826
|
toASCII: Pm,
|
|
2827
2827
|
toUnicode: wm
|
|
2828
2828
|
}, km = {
|
|
@@ -2999,21 +2999,21 @@ function qm(e) {
|
|
|
2999
2999
|
const t = e.trim().toLowerCase();
|
|
3000
3000
|
return Gm.test(t) ? Ym.test(t) : !0;
|
|
3001
3001
|
}
|
|
3002
|
-
const
|
|
3002
|
+
const G_ = ["http:", "https:", "mailto:"];
|
|
3003
3003
|
function Hm(e) {
|
|
3004
3004
|
const t = Co(e, !0);
|
|
3005
|
-
if (t.hostname && (!t.protocol ||
|
|
3005
|
+
if (t.hostname && (!t.protocol || G_.indexOf(t.protocol) >= 0))
|
|
3006
3006
|
try {
|
|
3007
|
-
t.hostname =
|
|
3007
|
+
t.hostname = B_.toASCII(t.hostname);
|
|
3008
3008
|
} catch {
|
|
3009
3009
|
}
|
|
3010
3010
|
return Bt(Ro(t));
|
|
3011
3011
|
}
|
|
3012
3012
|
function Vm(e) {
|
|
3013
3013
|
const t = Co(e, !0);
|
|
3014
|
-
if (t.hostname && (!t.protocol ||
|
|
3014
|
+
if (t.hostname && (!t.protocol || G_.indexOf(t.protocol) >= 0))
|
|
3015
3015
|
try {
|
|
3016
|
-
t.hostname =
|
|
3016
|
+
t.hostname = B_.toUnicode(t.hostname);
|
|
3017
3017
|
} catch {
|
|
3018
3018
|
}
|
|
3019
3019
|
return lt(Ro(t), lt.defaultChars + "%");
|
|
@@ -3090,15 +3090,15 @@ var Ln, ms;
|
|
|
3090
3090
|
function Wm() {
|
|
3091
3091
|
if (ms) return Ln;
|
|
3092
3092
|
ms = 1;
|
|
3093
|
-
function e(
|
|
3094
|
-
return
|
|
3093
|
+
function e(g) {
|
|
3094
|
+
return g instanceof Map ? g.clear = g.delete = g.set = function() {
|
|
3095
3095
|
throw new Error("map is read-only");
|
|
3096
|
-
} :
|
|
3096
|
+
} : g instanceof Set && (g.add = g.clear = g.delete = function() {
|
|
3097
3097
|
throw new Error("set is read-only");
|
|
3098
|
-
}), Object.freeze(
|
|
3099
|
-
const v =
|
|
3098
|
+
}), Object.freeze(g), Object.getOwnPropertyNames(g).forEach((O) => {
|
|
3099
|
+
const v = g[O], U = typeof v;
|
|
3100
3100
|
(U === "object" || U === "function") && !Object.isFrozen(v) && e(v);
|
|
3101
|
-
}),
|
|
3101
|
+
}), g;
|
|
3102
3102
|
}
|
|
3103
3103
|
class t {
|
|
3104
3104
|
/**
|
|
@@ -3111,30 +3111,30 @@ function Wm() {
|
|
|
3111
3111
|
this.isMatchIgnored = !0;
|
|
3112
3112
|
}
|
|
3113
3113
|
}
|
|
3114
|
-
function n(
|
|
3115
|
-
return
|
|
3114
|
+
function n(g) {
|
|
3115
|
+
return g.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
3116
3116
|
}
|
|
3117
|
-
function r(
|
|
3117
|
+
function r(g, ...O) {
|
|
3118
3118
|
const v = /* @__PURE__ */ Object.create(null);
|
|
3119
|
-
for (const U in
|
|
3120
|
-
v[U] =
|
|
3119
|
+
for (const U in g)
|
|
3120
|
+
v[U] = g[U];
|
|
3121
3121
|
return O.forEach(function(U) {
|
|
3122
3122
|
for (const ie in U)
|
|
3123
3123
|
v[ie] = U[ie];
|
|
3124
3124
|
}), /** @type {T} */
|
|
3125
3125
|
v;
|
|
3126
3126
|
}
|
|
3127
|
-
const a = "</span>", i = (
|
|
3128
|
-
if (
|
|
3129
|
-
return
|
|
3130
|
-
if (
|
|
3131
|
-
const v =
|
|
3127
|
+
const a = "</span>", i = (g) => !!g.scope, s = (g, { prefix: O }) => {
|
|
3128
|
+
if (g.startsWith("language:"))
|
|
3129
|
+
return g.replace("language:", "language-");
|
|
3130
|
+
if (g.includes(".")) {
|
|
3131
|
+
const v = g.split(".");
|
|
3132
3132
|
return [
|
|
3133
3133
|
`${O}${v.shift()}`,
|
|
3134
3134
|
...v.map((U, ie) => `${U}${"_".repeat(ie + 1)}`)
|
|
3135
3135
|
].join(" ");
|
|
3136
3136
|
}
|
|
3137
|
-
return `${O}${
|
|
3137
|
+
return `${O}${g}`;
|
|
3138
3138
|
};
|
|
3139
3139
|
class o {
|
|
3140
3140
|
/**
|
|
@@ -3187,9 +3187,9 @@ function Wm() {
|
|
|
3187
3187
|
this.buffer += `<span class="${O}">`;
|
|
3188
3188
|
}
|
|
3189
3189
|
}
|
|
3190
|
-
const c = (
|
|
3190
|
+
const c = (g = {}) => {
|
|
3191
3191
|
const O = { children: [] };
|
|
3192
|
-
return Object.assign(O,
|
|
3192
|
+
return Object.assign(O, g), O;
|
|
3193
3193
|
};
|
|
3194
3194
|
class l {
|
|
3195
3195
|
constructor() {
|
|
@@ -3278,59 +3278,59 @@ function Wm() {
|
|
|
3278
3278
|
return this.closeAllNodes(), !0;
|
|
3279
3279
|
}
|
|
3280
3280
|
}
|
|
3281
|
-
function _(
|
|
3282
|
-
return
|
|
3281
|
+
function _(g) {
|
|
3282
|
+
return g ? typeof g == "string" ? g : g.source : null;
|
|
3283
3283
|
}
|
|
3284
|
-
function m(
|
|
3285
|
-
return
|
|
3284
|
+
function m(g) {
|
|
3285
|
+
return E("(?=", g, ")");
|
|
3286
3286
|
}
|
|
3287
|
-
function p(
|
|
3288
|
-
return
|
|
3287
|
+
function p(g) {
|
|
3288
|
+
return E("(?:", g, ")*");
|
|
3289
3289
|
}
|
|
3290
|
-
function d(
|
|
3291
|
-
return
|
|
3290
|
+
function d(g) {
|
|
3291
|
+
return E("(?:", g, ")?");
|
|
3292
3292
|
}
|
|
3293
|
-
function
|
|
3294
|
-
return
|
|
3293
|
+
function E(...g) {
|
|
3294
|
+
return g.map((v) => _(v)).join("");
|
|
3295
3295
|
}
|
|
3296
|
-
function S(
|
|
3297
|
-
const O =
|
|
3298
|
-
return typeof O == "object" && O.constructor === Object ? (
|
|
3296
|
+
function S(g) {
|
|
3297
|
+
const O = g[g.length - 1];
|
|
3298
|
+
return typeof O == "object" && O.constructor === Object ? (g.splice(g.length - 1, 1), O) : {};
|
|
3299
3299
|
}
|
|
3300
|
-
function b(...
|
|
3301
|
-
return "(" + (S(
|
|
3300
|
+
function b(...g) {
|
|
3301
|
+
return "(" + (S(g).capture ? "" : "?:") + g.map((U) => _(U)).join("|") + ")";
|
|
3302
3302
|
}
|
|
3303
|
-
function f(
|
|
3304
|
-
return new RegExp(
|
|
3303
|
+
function f(g) {
|
|
3304
|
+
return new RegExp(g.toString() + "|").exec("").length - 1;
|
|
3305
3305
|
}
|
|
3306
|
-
function T(
|
|
3307
|
-
const v =
|
|
3306
|
+
function T(g, O) {
|
|
3307
|
+
const v = g && g.exec(O);
|
|
3308
3308
|
return v && v.index === 0;
|
|
3309
3309
|
}
|
|
3310
|
-
const
|
|
3311
|
-
function
|
|
3310
|
+
const N = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
|
|
3311
|
+
function R(g, { joinWith: O }) {
|
|
3312
3312
|
let v = 0;
|
|
3313
|
-
return
|
|
3313
|
+
return g.map((U) => {
|
|
3314
3314
|
v += 1;
|
|
3315
3315
|
const ie = v;
|
|
3316
3316
|
let oe = _(U), w = "";
|
|
3317
3317
|
for (; oe.length > 0; ) {
|
|
3318
|
-
const
|
|
3319
|
-
if (!
|
|
3318
|
+
const x = N.exec(oe);
|
|
3319
|
+
if (!x) {
|
|
3320
3320
|
w += oe;
|
|
3321
3321
|
break;
|
|
3322
3322
|
}
|
|
3323
|
-
w += oe.substring(0,
|
|
3323
|
+
w += oe.substring(0, x.index), oe = oe.substring(x.index + x[0].length), x[0][0] === "\\" && x[1] ? w += "\\" + String(Number(x[1]) + ie) : (w += x[0], x[0] === "(" && v++);
|
|
3324
3324
|
}
|
|
3325
3325
|
return w;
|
|
3326
3326
|
}).map((U) => `(${U})`).join(O);
|
|
3327
3327
|
}
|
|
3328
|
-
const
|
|
3328
|
+
const C = /\b\B/, A = "[a-zA-Z]\\w*", I = "[a-zA-Z_]\\w*", M = "\\b\\d+(\\.\\d+)?", F = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", D = "\\b(0b[01]+)", H = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", J = (g = {}) => {
|
|
3329
3329
|
const O = /^#![ ]*\//;
|
|
3330
|
-
return
|
|
3330
|
+
return g.binary && (g.begin = E(
|
|
3331
3331
|
O,
|
|
3332
3332
|
/.*\b/,
|
|
3333
|
-
|
|
3333
|
+
g.binary,
|
|
3334
3334
|
/\b.*/
|
|
3335
3335
|
)), r({
|
|
3336
3336
|
scope: "meta",
|
|
@@ -3341,7 +3341,7 @@ function Wm() {
|
|
|
3341
3341
|
"on:begin": (v, U) => {
|
|
3342
3342
|
v.index !== 0 && U.ignoreMatch();
|
|
3343
3343
|
}
|
|
3344
|
-
},
|
|
3344
|
+
}, g);
|
|
3345
3345
|
}, X = {
|
|
3346
3346
|
begin: "\\\\[\\s\\S]",
|
|
3347
3347
|
relevance: 0
|
|
@@ -3359,11 +3359,11 @@ function Wm() {
|
|
|
3359
3359
|
contains: [X]
|
|
3360
3360
|
}, j = {
|
|
3361
3361
|
begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
|
|
3362
|
-
}, ae = function(
|
|
3362
|
+
}, ae = function(g, O, v = {}) {
|
|
3363
3363
|
const U = r(
|
|
3364
3364
|
{
|
|
3365
3365
|
scope: "comment",
|
|
3366
|
-
begin:
|
|
3366
|
+
begin: g,
|
|
3367
3367
|
end: O,
|
|
3368
3368
|
contains: []
|
|
3369
3369
|
},
|
|
@@ -3414,7 +3414,7 @@ function Wm() {
|
|
|
3414
3414
|
//
|
|
3415
3415
|
// for a visual example please see:
|
|
3416
3416
|
// https://github.com/highlightjs/highlight.js/issues/2827
|
|
3417
|
-
begin:
|
|
3417
|
+
begin: E(
|
|
3418
3418
|
/[ ]+/,
|
|
3419
3419
|
// necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
|
|
3420
3420
|
"(",
|
|
@@ -3435,7 +3435,7 @@ function Wm() {
|
|
|
3435
3435
|
relevance: 0
|
|
3436
3436
|
}, Se = {
|
|
3437
3437
|
scope: "number",
|
|
3438
|
-
begin:
|
|
3438
|
+
begin: D,
|
|
3439
3439
|
relevance: 0
|
|
3440
3440
|
}, ce = {
|
|
3441
3441
|
scope: "regexp",
|
|
@@ -3468,15 +3468,15 @@ function Wm() {
|
|
|
3468
3468
|
APOS_STRING_MODE: Y,
|
|
3469
3469
|
BACKSLASH_ESCAPE: X,
|
|
3470
3470
|
BINARY_NUMBER_MODE: Se,
|
|
3471
|
-
BINARY_NUMBER_RE:
|
|
3471
|
+
BINARY_NUMBER_RE: D,
|
|
3472
3472
|
COMMENT: ae,
|
|
3473
3473
|
C_BLOCK_COMMENT_MODE: Ae,
|
|
3474
3474
|
C_LINE_COMMENT_MODE: Re,
|
|
3475
3475
|
C_NUMBER_MODE: Ne,
|
|
3476
3476
|
C_NUMBER_RE: F,
|
|
3477
|
-
END_SAME_AS_BEGIN: function(
|
|
3477
|
+
END_SAME_AS_BEGIN: function(g) {
|
|
3478
3478
|
return Object.assign(
|
|
3479
|
-
|
|
3479
|
+
g,
|
|
3480
3480
|
{
|
|
3481
3481
|
/** @type {ModeCallback} */
|
|
3482
3482
|
"on:begin": (O, v) => {
|
|
@@ -3491,7 +3491,7 @@ function Wm() {
|
|
|
3491
3491
|
},
|
|
3492
3492
|
HASH_COMMENT_MODE: Ce,
|
|
3493
3493
|
IDENT_RE: A,
|
|
3494
|
-
MATCH_NOTHING_RE:
|
|
3494
|
+
MATCH_NOTHING_RE: C,
|
|
3495
3495
|
METHOD_GUARD: W,
|
|
3496
3496
|
NUMBER_MODE: ve,
|
|
3497
3497
|
NUMBER_RE: M,
|
|
@@ -3504,39 +3504,39 @@ function Wm() {
|
|
|
3504
3504
|
UNDERSCORE_IDENT_RE: I,
|
|
3505
3505
|
UNDERSCORE_TITLE_MODE: Q
|
|
3506
3506
|
});
|
|
3507
|
-
function le(
|
|
3508
|
-
|
|
3507
|
+
function le(g, O) {
|
|
3508
|
+
g.input[g.index - 1] === "." && O.ignoreMatch();
|
|
3509
3509
|
}
|
|
3510
|
-
function fe(
|
|
3511
|
-
|
|
3510
|
+
function fe(g, O) {
|
|
3511
|
+
g.className !== void 0 && (g.scope = g.className, delete g.className);
|
|
3512
3512
|
}
|
|
3513
|
-
function ye(
|
|
3514
|
-
O &&
|
|
3513
|
+
function ye(g, O) {
|
|
3514
|
+
O && g.beginKeywords && (g.begin = "\\b(" + g.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", g.__beforeBegin = le, g.keywords = g.keywords || g.beginKeywords, delete g.beginKeywords, g.relevance === void 0 && (g.relevance = 0));
|
|
3515
3515
|
}
|
|
3516
|
-
function Et(
|
|
3517
|
-
Array.isArray(
|
|
3516
|
+
function Et(g, O) {
|
|
3517
|
+
Array.isArray(g.illegal) && (g.illegal = b(...g.illegal));
|
|
3518
3518
|
}
|
|
3519
|
-
function Ht(
|
|
3520
|
-
if (
|
|
3521
|
-
if (
|
|
3522
|
-
|
|
3519
|
+
function Ht(g, O) {
|
|
3520
|
+
if (g.match) {
|
|
3521
|
+
if (g.begin || g.end) throw new Error("begin & end are not supported with match");
|
|
3522
|
+
g.begin = g.match, delete g.match;
|
|
3523
3523
|
}
|
|
3524
3524
|
}
|
|
3525
|
-
function nt(
|
|
3526
|
-
|
|
3525
|
+
function nt(g, O) {
|
|
3526
|
+
g.relevance === void 0 && (g.relevance = 1);
|
|
3527
3527
|
}
|
|
3528
|
-
const gt = (
|
|
3529
|
-
if (!
|
|
3530
|
-
if (
|
|
3531
|
-
const v = Object.assign({},
|
|
3532
|
-
Object.keys(
|
|
3533
|
-
delete
|
|
3534
|
-
}),
|
|
3528
|
+
const gt = (g, O) => {
|
|
3529
|
+
if (!g.beforeMatch) return;
|
|
3530
|
+
if (g.starts) throw new Error("beforeMatch cannot be used with starts");
|
|
3531
|
+
const v = Object.assign({}, g);
|
|
3532
|
+
Object.keys(g).forEach((U) => {
|
|
3533
|
+
delete g[U];
|
|
3534
|
+
}), g.keywords = v.keywords, g.begin = E(v.beforeMatch, m(v.begin)), g.starts = {
|
|
3535
3535
|
relevance: 0,
|
|
3536
3536
|
contains: [
|
|
3537
3537
|
Object.assign(v, { endsParent: !0 })
|
|
3538
3538
|
]
|
|
3539
|
-
},
|
|
3539
|
+
}, g.relevance = 0, delete v.beforeMatch;
|
|
3540
3540
|
}, St = [
|
|
3541
3541
|
"of",
|
|
3542
3542
|
"and",
|
|
@@ -3553,70 +3553,70 @@ function Wm() {
|
|
|
3553
3553
|
"value"
|
|
3554
3554
|
// common variable name
|
|
3555
3555
|
], Vt = "keyword";
|
|
3556
|
-
function ft(
|
|
3556
|
+
function ft(g, O, v = Vt) {
|
|
3557
3557
|
const U = /* @__PURE__ */ Object.create(null);
|
|
3558
|
-
return typeof
|
|
3558
|
+
return typeof g == "string" ? ie(v, g.split(" ")) : Array.isArray(g) ? ie(v, g) : Object.keys(g).forEach(function(oe) {
|
|
3559
3559
|
Object.assign(
|
|
3560
3560
|
U,
|
|
3561
|
-
ft(
|
|
3561
|
+
ft(g[oe], O, oe)
|
|
3562
3562
|
);
|
|
3563
3563
|
}), U;
|
|
3564
3564
|
function ie(oe, w) {
|
|
3565
|
-
O && (w = w.map((
|
|
3566
|
-
const k =
|
|
3565
|
+
O && (w = w.map((x) => x.toLowerCase())), w.forEach(function(x) {
|
|
3566
|
+
const k = x.split("|");
|
|
3567
3567
|
U[k[0]] = [oe, rt(k[0], k[1])];
|
|
3568
3568
|
});
|
|
3569
3569
|
}
|
|
3570
3570
|
}
|
|
3571
|
-
function rt(
|
|
3572
|
-
return O ? Number(O) : zt(
|
|
3571
|
+
function rt(g, O) {
|
|
3572
|
+
return O ? Number(O) : zt(g) ? 0 : 1;
|
|
3573
3573
|
}
|
|
3574
|
-
function zt(
|
|
3575
|
-
return St.includes(
|
|
3574
|
+
function zt(g) {
|
|
3575
|
+
return St.includes(g.toLowerCase());
|
|
3576
3576
|
}
|
|
3577
|
-
const bt = {}, Pe = (
|
|
3578
|
-
console.error(
|
|
3579
|
-
}, We = (
|
|
3580
|
-
console.log(`WARN: ${
|
|
3581
|
-
}, be = (
|
|
3582
|
-
bt[`${
|
|
3577
|
+
const bt = {}, Pe = (g) => {
|
|
3578
|
+
console.error(g);
|
|
3579
|
+
}, We = (g, ...O) => {
|
|
3580
|
+
console.log(`WARN: ${g}`, ...O);
|
|
3581
|
+
}, be = (g, O) => {
|
|
3582
|
+
bt[`${g}/${O}`] || (console.log(`Deprecated as of ${g}. ${O}`), bt[`${g}/${O}`] = !0);
|
|
3583
3583
|
}, Ze = new Error();
|
|
3584
|
-
function Tt(
|
|
3584
|
+
function Tt(g, O, { key: v }) {
|
|
3585
3585
|
let U = 0;
|
|
3586
|
-
const ie =
|
|
3587
|
-
for (let
|
|
3588
|
-
w[
|
|
3589
|
-
|
|
3590
|
-
}
|
|
3591
|
-
function Rt(
|
|
3592
|
-
if (Array.isArray(
|
|
3593
|
-
if (
|
|
3586
|
+
const ie = g[v], oe = {}, w = {};
|
|
3587
|
+
for (let x = 1; x <= O.length; x++)
|
|
3588
|
+
w[x + U] = ie[x], oe[x + U] = !0, U += f(O[x - 1]);
|
|
3589
|
+
g[v] = w, g[v]._emit = oe, g[v]._multi = !0;
|
|
3590
|
+
}
|
|
3591
|
+
function Rt(g) {
|
|
3592
|
+
if (Array.isArray(g.begin)) {
|
|
3593
|
+
if (g.skip || g.excludeBegin || g.returnBegin)
|
|
3594
3594
|
throw Pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), Ze;
|
|
3595
|
-
if (typeof
|
|
3595
|
+
if (typeof g.beginScope != "object" || g.beginScope === null)
|
|
3596
3596
|
throw Pe("beginScope must be object"), Ze;
|
|
3597
|
-
Tt(
|
|
3597
|
+
Tt(g, g.begin, { key: "beginScope" }), g.begin = R(g.begin, { joinWith: "" });
|
|
3598
3598
|
}
|
|
3599
3599
|
}
|
|
3600
|
-
function at(
|
|
3601
|
-
if (Array.isArray(
|
|
3602
|
-
if (
|
|
3600
|
+
function at(g) {
|
|
3601
|
+
if (Array.isArray(g.end)) {
|
|
3602
|
+
if (g.skip || g.excludeEnd || g.returnEnd)
|
|
3603
3603
|
throw Pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"), Ze;
|
|
3604
|
-
if (typeof
|
|
3604
|
+
if (typeof g.endScope != "object" || g.endScope === null)
|
|
3605
3605
|
throw Pe("endScope must be object"), Ze;
|
|
3606
|
-
Tt(
|
|
3606
|
+
Tt(g, g.end, { key: "endScope" }), g.end = R(g.end, { joinWith: "" });
|
|
3607
3607
|
}
|
|
3608
3608
|
}
|
|
3609
|
-
function Wt(
|
|
3610
|
-
|
|
3609
|
+
function Wt(g) {
|
|
3610
|
+
g.scope && typeof g.scope == "object" && g.scope !== null && (g.beginScope = g.scope, delete g.scope);
|
|
3611
3611
|
}
|
|
3612
|
-
function Ct(
|
|
3613
|
-
Wt(
|
|
3612
|
+
function Ct(g) {
|
|
3613
|
+
Wt(g), typeof g.beginScope == "string" && (g.beginScope = { _wrap: g.beginScope }), typeof g.endScope == "string" && (g.endScope = { _wrap: g.endScope }), Rt(g), at(g);
|
|
3614
3614
|
}
|
|
3615
|
-
function $t(
|
|
3616
|
-
function O(w,
|
|
3615
|
+
function $t(g) {
|
|
3616
|
+
function O(w, x) {
|
|
3617
3617
|
return new RegExp(
|
|
3618
3618
|
_(w),
|
|
3619
|
-
"m" + (
|
|
3619
|
+
"m" + (g.case_insensitive ? "i" : "") + (g.unicodeRegex ? "u" : "") + (x ? "g" : "")
|
|
3620
3620
|
);
|
|
3621
3621
|
}
|
|
3622
3622
|
class v {
|
|
@@ -3624,18 +3624,18 @@ function Wm() {
|
|
|
3624
3624
|
this.matchIndexes = {}, this.regexes = [], this.matchAt = 1, this.position = 0;
|
|
3625
3625
|
}
|
|
3626
3626
|
// @ts-ignore
|
|
3627
|
-
addRule(
|
|
3628
|
-
k.position = this.position++, this.matchIndexes[this.matchAt] = k, this.regexes.push([k,
|
|
3627
|
+
addRule(x, k) {
|
|
3628
|
+
k.position = this.position++, this.matchIndexes[this.matchAt] = k, this.regexes.push([k, x]), this.matchAt += f(x) + 1;
|
|
3629
3629
|
}
|
|
3630
3630
|
compile() {
|
|
3631
3631
|
this.regexes.length === 0 && (this.exec = () => null);
|
|
3632
|
-
const
|
|
3633
|
-
this.matcherRe = O(
|
|
3632
|
+
const x = this.regexes.map((k) => k[1]);
|
|
3633
|
+
this.matcherRe = O(R(x, { joinWith: "|" }), !0), this.lastIndex = 0;
|
|
3634
3634
|
}
|
|
3635
3635
|
/** @param {string} s */
|
|
3636
|
-
exec(
|
|
3636
|
+
exec(x) {
|
|
3637
3637
|
this.matcherRe.lastIndex = this.lastIndex;
|
|
3638
|
-
const k = this.matcherRe.exec(
|
|
3638
|
+
const k = this.matcherRe.exec(x);
|
|
3639
3639
|
if (!k)
|
|
3640
3640
|
return null;
|
|
3641
3641
|
const de = k.findIndex((ot, Zt) => Zt > 0 && ot !== void 0), se = this.matchIndexes[de];
|
|
@@ -3647,10 +3647,10 @@ function Wm() {
|
|
|
3647
3647
|
this.rules = [], this.multiRegexes = [], this.count = 0, this.lastIndex = 0, this.regexIndex = 0;
|
|
3648
3648
|
}
|
|
3649
3649
|
// @ts-ignore
|
|
3650
|
-
getMatcher(
|
|
3651
|
-
if (this.multiRegexes[
|
|
3650
|
+
getMatcher(x) {
|
|
3651
|
+
if (this.multiRegexes[x]) return this.multiRegexes[x];
|
|
3652
3652
|
const k = new v();
|
|
3653
|
-
return this.rules.slice(
|
|
3653
|
+
return this.rules.slice(x).forEach(([de, se]) => k.addRule(de, se)), k.compile(), this.multiRegexes[x] = k, k;
|
|
3654
3654
|
}
|
|
3655
3655
|
resumingScanAtSamePosition() {
|
|
3656
3656
|
return this.regexIndex !== 0;
|
|
@@ -3659,26 +3659,26 @@ function Wm() {
|
|
|
3659
3659
|
this.regexIndex = 0;
|
|
3660
3660
|
}
|
|
3661
3661
|
// @ts-ignore
|
|
3662
|
-
addRule(
|
|
3663
|
-
this.rules.push([
|
|
3662
|
+
addRule(x, k) {
|
|
3663
|
+
this.rules.push([x, k]), k.type === "begin" && this.count++;
|
|
3664
3664
|
}
|
|
3665
3665
|
/** @param {string} s */
|
|
3666
|
-
exec(
|
|
3666
|
+
exec(x) {
|
|
3667
3667
|
const k = this.getMatcher(this.regexIndex);
|
|
3668
3668
|
k.lastIndex = this.lastIndex;
|
|
3669
|
-
let de = k.exec(
|
|
3669
|
+
let de = k.exec(x);
|
|
3670
3670
|
if (this.resumingScanAtSamePosition() && !(de && de.index === this.lastIndex)) {
|
|
3671
3671
|
const se = this.getMatcher(0);
|
|
3672
|
-
se.lastIndex = this.lastIndex + 1, de = se.exec(
|
|
3672
|
+
se.lastIndex = this.lastIndex + 1, de = se.exec(x);
|
|
3673
3673
|
}
|
|
3674
3674
|
return de && (this.regexIndex += de.position + 1, this.regexIndex === this.count && this.considerAll()), de;
|
|
3675
3675
|
}
|
|
3676
3676
|
}
|
|
3677
3677
|
function ie(w) {
|
|
3678
|
-
const
|
|
3679
|
-
return w.contains.forEach((k) =>
|
|
3678
|
+
const x = new U();
|
|
3679
|
+
return w.contains.forEach((k) => x.addRule(k.begin, { rule: k, type: "begin" })), w.terminatorEnd && x.addRule(w.terminatorEnd, { type: "end" }), w.illegal && x.addRule(w.illegal, { type: "illegal" }), x;
|
|
3680
3680
|
}
|
|
3681
|
-
function oe(w,
|
|
3681
|
+
function oe(w, x) {
|
|
3682
3682
|
const k = (
|
|
3683
3683
|
/** @type CompiledMode */
|
|
3684
3684
|
w
|
|
@@ -3691,16 +3691,16 @@ function Wm() {
|
|
|
3691
3691
|
Ht,
|
|
3692
3692
|
Ct,
|
|
3693
3693
|
gt
|
|
3694
|
-
].forEach((se) => se(w,
|
|
3694
|
+
].forEach((se) => se(w, x)), g.compilerExtensions.forEach((se) => se(w, x)), w.__beforeBegin = null, [
|
|
3695
3695
|
ye,
|
|
3696
3696
|
// do this later so compiler extensions that come earlier have access to the
|
|
3697
3697
|
// raw array if they wanted to perhaps manipulate it, etc.
|
|
3698
3698
|
Et,
|
|
3699
3699
|
// default to 1 relevance if not specified
|
|
3700
3700
|
nt
|
|
3701
|
-
].forEach((se) => se(w,
|
|
3701
|
+
].forEach((se) => se(w, x)), w.isCompiled = !0;
|
|
3702
3702
|
let de = null;
|
|
3703
|
-
return typeof w.keywords == "object" && w.keywords.$pattern && (w.keywords = Object.assign({}, w.keywords), de = w.keywords.$pattern, delete w.keywords.$pattern), de = de || /\w+/, w.keywords && (w.keywords = ft(w.keywords,
|
|
3703
|
+
return typeof w.keywords == "object" && w.keywords.$pattern && (w.keywords = Object.assign({}, w.keywords), de = w.keywords.$pattern, delete w.keywords.$pattern), de = de || /\w+/, w.keywords && (w.keywords = ft(w.keywords, g.case_insensitive)), k.keywordPatternRe = O(de, !0), x && (w.begin || (w.begin = /\B|\b/), k.beginRe = O(k.begin), !w.end && !w.endsWithParent && (w.end = /\B|\b/), w.end && (k.endRe = O(k.end)), k.terminatorEnd = _(k.end) || "", w.endsWithParent && x.terminatorEnd && (k.terminatorEnd += (w.end ? "|" : "") + x.terminatorEnd)), w.illegal && (k.illegalRe = O(
|
|
3704
3704
|
/** @type {RegExp | string} */
|
|
3705
3705
|
w.illegal
|
|
3706
3706
|
)), w.contains || (w.contains = []), w.contains = [].concat(...w.contains.map(function(se) {
|
|
@@ -3711,22 +3711,22 @@ function Wm() {
|
|
|
3711
3711
|
se,
|
|
3712
3712
|
k
|
|
3713
3713
|
);
|
|
3714
|
-
}), w.starts && oe(w.starts,
|
|
3714
|
+
}), w.starts && oe(w.starts, x), k.matcher = ie(k), k;
|
|
3715
3715
|
}
|
|
3716
|
-
if (
|
|
3716
|
+
if (g.compilerExtensions || (g.compilerExtensions = []), g.contains && g.contains.includes("self"))
|
|
3717
3717
|
throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
|
|
3718
|
-
return
|
|
3718
|
+
return g.classNameAliases = r(g.classNameAliases || {}), oe(
|
|
3719
3719
|
/** @type Mode */
|
|
3720
|
-
|
|
3720
|
+
g
|
|
3721
3721
|
);
|
|
3722
3722
|
}
|
|
3723
|
-
function Nt(
|
|
3724
|
-
return
|
|
3723
|
+
function Nt(g) {
|
|
3724
|
+
return g ? g.endsWithParent || Nt(g.starts) : !1;
|
|
3725
3725
|
}
|
|
3726
|
-
function Kt(
|
|
3727
|
-
return
|
|
3728
|
-
return r(
|
|
3729
|
-
})),
|
|
3726
|
+
function Kt(g) {
|
|
3727
|
+
return g.variants && !g.cachedVariants && (g.cachedVariants = g.variants.map(function(O) {
|
|
3728
|
+
return r(g, { variants: null }, O);
|
|
3729
|
+
})), g.cachedVariants ? g.cachedVariants : Nt(g) ? r(g, { starts: g.starts ? r(g.starts) : null }) : Object.isFrozen(g) ? r(g) : g;
|
|
3730
3730
|
}
|
|
3731
3731
|
var Qt = "11.11.1";
|
|
3732
3732
|
class Xt extends Error {
|
|
@@ -3734,11 +3734,11 @@ function Wm() {
|
|
|
3734
3734
|
super(O), this.name = "HTMLInjectionError", this.html = v;
|
|
3735
3735
|
}
|
|
3736
3736
|
}
|
|
3737
|
-
const it = n, Ot = r, $ = Symbol("nomatch"), Je = 7, Ye = function(
|
|
3737
|
+
const it = n, Ot = r, $ = Symbol("nomatch"), Je = 7, Ye = function(g) {
|
|
3738
3738
|
const O = /* @__PURE__ */ Object.create(null), v = /* @__PURE__ */ Object.create(null), U = [];
|
|
3739
3739
|
let ie = !0;
|
|
3740
3740
|
const oe = "Could not find the language '{}', did you forget to load/include a language module?", w = { disableAutodetect: !0, name: "Plain text", contains: [] };
|
|
3741
|
-
let
|
|
3741
|
+
let x = {
|
|
3742
3742
|
ignoreUnescapedHTML: !1,
|
|
3743
3743
|
throwUnescapedHTML: !1,
|
|
3744
3744
|
noHighlightRe: /^(no-?highlight)$/i,
|
|
@@ -3751,12 +3751,12 @@ function Wm() {
|
|
|
3751
3751
|
__emitter: u
|
|
3752
3752
|
};
|
|
3753
3753
|
function k(h) {
|
|
3754
|
-
return
|
|
3754
|
+
return x.noHighlightRe.test(h);
|
|
3755
3755
|
}
|
|
3756
3756
|
function de(h) {
|
|
3757
3757
|
let P = h.className + " ";
|
|
3758
3758
|
P += h.parentNode ? h.parentNode.className : "";
|
|
3759
|
-
const q =
|
|
3759
|
+
const q = x.languageDetectRe.exec(P);
|
|
3760
3760
|
if (q) {
|
|
3761
3761
|
const Z = He(q[1]);
|
|
3762
3762
|
return Z || (We(oe.replace("{}", q[1])), We("Falling back to no-highlight mode for this block.", h)), Z ? q[1] : "no-highlight";
|
|
@@ -3917,7 +3917,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ue = h, Z = P), q ===
|
|
|
3917
3917
|
throw Pe(oe.replace("{}", h)), new Error('Unknown language: "' + h + '"');
|
|
3918
3918
|
const hn = $t(xe);
|
|
3919
3919
|
let yt = "", B = Z || hn;
|
|
3920
|
-
const tn = {}, pe = new
|
|
3920
|
+
const tn = {}, pe = new x.__emitter(x);
|
|
3921
3921
|
$o();
|
|
3922
3922
|
let K = "", je = 0, ke = 0, Dt = 0, xt = !1;
|
|
3923
3923
|
try {
|
|
@@ -3976,12 +3976,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ue = h, Z = P), q ===
|
|
|
3976
3976
|
illegal: !1,
|
|
3977
3977
|
relevance: 0,
|
|
3978
3978
|
_top: w,
|
|
3979
|
-
_emitter: new
|
|
3979
|
+
_emitter: new x.__emitter(x)
|
|
3980
3980
|
};
|
|
3981
3981
|
return P._emitter.addText(h), P;
|
|
3982
3982
|
}
|
|
3983
3983
|
function Jt(h, P) {
|
|
3984
|
-
P = P ||
|
|
3984
|
+
P = P || x.languages || Object.keys(O);
|
|
3985
3985
|
const q = Zt(h), Z = P.filter(He).filter(Rn).map(
|
|
3986
3986
|
(Oe) => ot(Oe, h, !1)
|
|
3987
3987
|
);
|
|
@@ -4013,7 +4013,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ue = h, Z = P), q ===
|
|
|
4013
4013
|
console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", h);
|
|
4014
4014
|
return;
|
|
4015
4015
|
}
|
|
4016
|
-
if (h.children.length > 0 && (
|
|
4016
|
+
if (h.children.length > 0 && (x.ignoreUnescapedHTML || (console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."), console.warn("https://github.com/highlightjs/highlight.js/wiki/security"), console.warn("The element with unescaped HTML:"), console.warn(h)), x.throwUnescapedHTML))
|
|
4017
4017
|
throw new Xt(
|
|
4018
4018
|
"One of your code blocks includes unescaped HTML.",
|
|
4019
4019
|
h.innerHTML
|
|
@@ -4031,7 +4031,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ue = h, Z = P), q ===
|
|
|
4031
4031
|
}), At("after:highlightElement", { el: h, result: ue, text: Z });
|
|
4032
4032
|
}
|
|
4033
4033
|
function wo(h) {
|
|
4034
|
-
|
|
4034
|
+
x = Ot(x, h);
|
|
4035
4035
|
}
|
|
4036
4036
|
const Po = () => {
|
|
4037
4037
|
ht(), be("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
|
|
@@ -4048,12 +4048,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ue = h, Z = P), q ===
|
|
|
4048
4048
|
bn || window.addEventListener("DOMContentLoaded", h, !1), bn = !0;
|
|
4049
4049
|
return;
|
|
4050
4050
|
}
|
|
4051
|
-
document.querySelectorAll(
|
|
4051
|
+
document.querySelectorAll(x.cssSelector).forEach(jt);
|
|
4052
4052
|
}
|
|
4053
4053
|
function Fo(h, P) {
|
|
4054
4054
|
let q = null;
|
|
4055
4055
|
try {
|
|
4056
|
-
q = P(
|
|
4056
|
+
q = P(g);
|
|
4057
4057
|
} catch (Z) {
|
|
4058
4058
|
if (Pe("Language definition for '{}' could not be registered.".replace("{}", h)), ie)
|
|
4059
4059
|
Pe(Z);
|
|
@@ -4061,7 +4061,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ue = h, Z = P), q ===
|
|
|
4061
4061
|
throw Z;
|
|
4062
4062
|
q = w;
|
|
4063
4063
|
}
|
|
4064
|
-
q.name || (q.name = h), O[h] = q, q.rawDefinition = P.bind(null,
|
|
4064
|
+
q.name || (q.name = h), O[h] = q, q.rawDefinition = P.bind(null, g), q.aliases && Tn(q.aliases, { languageName: h });
|
|
4065
4065
|
}
|
|
4066
4066
|
function Uo(h) {
|
|
4067
4067
|
delete O[h];
|
|
@@ -4110,7 +4110,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ue = h, Z = P), q ===
|
|
|
4110
4110
|
function Ho(h) {
|
|
4111
4111
|
return be("10.7.0", "highlightBlock will be removed entirely in v12.0"), be("10.7.0", "Please use highlightElement now."), jt(h);
|
|
4112
4112
|
}
|
|
4113
|
-
Object.assign(
|
|
4113
|
+
Object.assign(g, {
|
|
4114
4114
|
highlight: se,
|
|
4115
4115
|
highlightAuto: Jt,
|
|
4116
4116
|
highlightAll: ht,
|
|
@@ -4129,12 +4129,12 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ue = h, Z = P), q ===
|
|
|
4129
4129
|
inherit: Ot,
|
|
4130
4130
|
addPlugin: Yo,
|
|
4131
4131
|
removePlugin: qo
|
|
4132
|
-
}),
|
|
4132
|
+
}), g.debugMode = function() {
|
|
4133
4133
|
ie = !1;
|
|
4134
|
-
},
|
|
4134
|
+
}, g.safeMode = function() {
|
|
4135
4135
|
ie = !0;
|
|
4136
|
-
},
|
|
4137
|
-
concat:
|
|
4136
|
+
}, g.versionString = Qt, g.regex = {
|
|
4137
|
+
concat: E,
|
|
4138
4138
|
lookahead: m,
|
|
4139
4139
|
either: b,
|
|
4140
4140
|
optional: d,
|
|
@@ -4142,7 +4142,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), ue = h, Z = P), q ===
|
|
|
4142
4142
|
};
|
|
4143
4143
|
for (const h in re)
|
|
4144
4144
|
typeof re[h] == "object" && e(re[h]);
|
|
4145
|
-
return Object.assign(
|
|
4145
|
+
return Object.assign(g, re), g;
|
|
4146
4146
|
}, qe = Ye({});
|
|
4147
4147
|
return qe.newInstance = () => Ye({}), Ln = qe, qe.HighlightJS = qe, qe.default = qe, Ln;
|
|
4148
4148
|
}
|
|
@@ -5613,7 +5613,7 @@ function nE() {
|
|
|
5613
5613
|
className: "title",
|
|
5614
5614
|
begin: r.optional(s) + n.IDENT_RE,
|
|
5615
5615
|
relevance: 0
|
|
5616
|
-
},
|
|
5616
|
+
}, E = r.optional(s) + n.IDENT_RE + "\\s*\\(", S = [
|
|
5617
5617
|
"alignas",
|
|
5618
5618
|
"alignof",
|
|
5619
5619
|
"and",
|
|
@@ -5877,7 +5877,7 @@ function nE() {
|
|
|
5877
5877
|
"visit",
|
|
5878
5878
|
"vprintf",
|
|
5879
5879
|
"vsprintf"
|
|
5880
|
-
],
|
|
5880
|
+
], C = {
|
|
5881
5881
|
type: b,
|
|
5882
5882
|
keyword: S,
|
|
5883
5883
|
literal: [
|
|
@@ -5932,12 +5932,12 @@ function nE() {
|
|
|
5932
5932
|
end: /;/
|
|
5933
5933
|
}
|
|
5934
5934
|
],
|
|
5935
|
-
keywords:
|
|
5935
|
+
keywords: C,
|
|
5936
5936
|
contains: I.concat([
|
|
5937
5937
|
{
|
|
5938
5938
|
begin: /\(/,
|
|
5939
5939
|
end: /\)/,
|
|
5940
|
-
keywords:
|
|
5940
|
+
keywords: C,
|
|
5941
5941
|
contains: I.concat(["self"]),
|
|
5942
5942
|
relevance: 0
|
|
5943
5943
|
}
|
|
@@ -5945,21 +5945,21 @@ function nE() {
|
|
|
5945
5945
|
relevance: 0
|
|
5946
5946
|
}, F = {
|
|
5947
5947
|
className: "function",
|
|
5948
|
-
begin: "(" + c + "[\\*&\\s]+)+" +
|
|
5948
|
+
begin: "(" + c + "[\\*&\\s]+)+" + E,
|
|
5949
5949
|
returnBegin: !0,
|
|
5950
5950
|
end: /[{;=]/,
|
|
5951
5951
|
excludeEnd: !0,
|
|
5952
|
-
keywords:
|
|
5952
|
+
keywords: C,
|
|
5953
5953
|
illegal: /[^\w\s\*&:<>.]/,
|
|
5954
5954
|
contains: [
|
|
5955
5955
|
{
|
|
5956
5956
|
// to prevent it from being confused as the function title
|
|
5957
5957
|
begin: i,
|
|
5958
|
-
keywords:
|
|
5958
|
+
keywords: C,
|
|
5959
5959
|
relevance: 0
|
|
5960
5960
|
},
|
|
5961
5961
|
{
|
|
5962
|
-
begin:
|
|
5962
|
+
begin: E,
|
|
5963
5963
|
returnBegin: !0,
|
|
5964
5964
|
contains: [d],
|
|
5965
5965
|
relevance: 0
|
|
@@ -5989,7 +5989,7 @@ function nE() {
|
|
|
5989
5989
|
className: "params",
|
|
5990
5990
|
begin: /\(/,
|
|
5991
5991
|
end: /\)/,
|
|
5992
|
-
keywords:
|
|
5992
|
+
keywords: C,
|
|
5993
5993
|
relevance: 0,
|
|
5994
5994
|
contains: [
|
|
5995
5995
|
a,
|
|
@@ -6001,7 +6001,7 @@ function nE() {
|
|
|
6001
6001
|
{
|
|
6002
6002
|
begin: /\(/,
|
|
6003
6003
|
end: /\)/,
|
|
6004
|
-
keywords:
|
|
6004
|
+
keywords: C,
|
|
6005
6005
|
relevance: 0,
|
|
6006
6006
|
contains: [
|
|
6007
6007
|
"self",
|
|
@@ -6031,7 +6031,7 @@ function nE() {
|
|
|
6031
6031
|
"hxx",
|
|
6032
6032
|
"cxx"
|
|
6033
6033
|
],
|
|
6034
|
-
keywords:
|
|
6034
|
+
keywords: C,
|
|
6035
6035
|
illegal: "</",
|
|
6036
6036
|
classNameAliases: { "function.dispatch": "built_in" },
|
|
6037
6037
|
contains: [].concat(
|
|
@@ -6045,7 +6045,7 @@ function nE() {
|
|
|
6045
6045
|
// containers: ie, `vector <int> rooms (9);`
|
|
6046
6046
|
begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",
|
|
6047
6047
|
end: ">",
|
|
6048
|
-
keywords:
|
|
6048
|
+
keywords: C,
|
|
6049
6049
|
contains: [
|
|
6050
6050
|
"self",
|
|
6051
6051
|
l
|
|
@@ -6053,7 +6053,7 @@ function nE() {
|
|
|
6053
6053
|
},
|
|
6054
6054
|
{
|
|
6055
6055
|
begin: n.IDENT_RE + "::",
|
|
6056
|
-
keywords:
|
|
6056
|
+
keywords: C
|
|
6057
6057
|
},
|
|
6058
6058
|
{
|
|
6059
6059
|
match: [
|
|
@@ -7848,7 +7848,7 @@ function dE() {
|
|
|
7848
7848
|
], d = t.SHEBANG({
|
|
7849
7849
|
binary: `(${p.join("|")})`,
|
|
7850
7850
|
relevance: 10
|
|
7851
|
-
}),
|
|
7851
|
+
}), E = {
|
|
7852
7852
|
className: "function",
|
|
7853
7853
|
begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/,
|
|
7854
7854
|
returnBegin: !0,
|
|
@@ -7894,7 +7894,7 @@ function dE() {
|
|
|
7894
7894
|
"trap",
|
|
7895
7895
|
"umask",
|
|
7896
7896
|
"unset"
|
|
7897
|
-
],
|
|
7897
|
+
], N = [
|
|
7898
7898
|
"alias",
|
|
7899
7899
|
"bind",
|
|
7900
7900
|
"builtin",
|
|
@@ -7917,7 +7917,7 @@ function dE() {
|
|
|
7917
7917
|
"typeset",
|
|
7918
7918
|
"ulimit",
|
|
7919
7919
|
"unalias"
|
|
7920
|
-
],
|
|
7920
|
+
], R = [
|
|
7921
7921
|
"autoload",
|
|
7922
7922
|
"bg",
|
|
7923
7923
|
"bindkey",
|
|
@@ -7986,7 +7986,7 @@ function dE() {
|
|
|
7986
7986
|
"zsocket",
|
|
7987
7987
|
"zstyle",
|
|
7988
7988
|
"ztcp"
|
|
7989
|
-
],
|
|
7989
|
+
], C = [
|
|
7990
7990
|
"chcon",
|
|
7991
7991
|
"chgrp",
|
|
7992
7992
|
"chown",
|
|
@@ -8103,12 +8103,12 @@ function dE() {
|
|
|
8103
8103
|
literal: b,
|
|
8104
8104
|
built_in: [
|
|
8105
8105
|
...T,
|
|
8106
|
-
...
|
|
8106
|
+
...N,
|
|
8107
8107
|
// Shell modifiers
|
|
8108
8108
|
"set",
|
|
8109
8109
|
"shopt",
|
|
8110
|
-
...
|
|
8111
|
-
...
|
|
8110
|
+
...R,
|
|
8111
|
+
...C
|
|
8112
8112
|
]
|
|
8113
8113
|
},
|
|
8114
8114
|
contains: [
|
|
@@ -8116,7 +8116,7 @@ function dE() {
|
|
|
8116
8116
|
// to catch known shells and boost relevancy
|
|
8117
8117
|
t.SHEBANG(),
|
|
8118
8118
|
// to catch unknown shells but still highlight the shebang
|
|
8119
|
-
|
|
8119
|
+
E,
|
|
8120
8120
|
m,
|
|
8121
8121
|
s,
|
|
8122
8122
|
o,
|
|
@@ -8627,7 +8627,7 @@ function gE() {
|
|
|
8627
8627
|
}
|
|
8628
8628
|
]),
|
|
8629
8629
|
relevance: 0
|
|
8630
|
-
},
|
|
8630
|
+
}, N = {
|
|
8631
8631
|
begin: "(" + o + "[\\*&\\s]+)+" + d,
|
|
8632
8632
|
returnBegin: !0,
|
|
8633
8633
|
end: /[{;=]/,
|
|
@@ -8698,7 +8698,7 @@ function gE() {
|
|
|
8698
8698
|
illegal: "</",
|
|
8699
8699
|
contains: [].concat(
|
|
8700
8700
|
T,
|
|
8701
|
-
|
|
8701
|
+
N,
|
|
8702
8702
|
f,
|
|
8703
8703
|
[
|
|
8704
8704
|
m,
|
|
@@ -9213,7 +9213,7 @@ function RE() {
|
|
|
9213
9213
|
begin: "\\[|(#::?" + r + ")?\\{",
|
|
9214
9214
|
end: "[\\]\\}]",
|
|
9215
9215
|
relevance: 0
|
|
9216
|
-
},
|
|
9216
|
+
}, E = {
|
|
9217
9217
|
className: "symbol",
|
|
9218
9218
|
begin: "[:]{1,2}" + r
|
|
9219
9219
|
}, S = {
|
|
@@ -9235,12 +9235,12 @@ function RE() {
|
|
|
9235
9235
|
l,
|
|
9236
9236
|
u,
|
|
9237
9237
|
m,
|
|
9238
|
-
|
|
9238
|
+
E,
|
|
9239
9239
|
d,
|
|
9240
9240
|
o,
|
|
9241
9241
|
p,
|
|
9242
9242
|
s
|
|
9243
|
-
],
|
|
9243
|
+
], N = {
|
|
9244
9244
|
beginKeywords: a,
|
|
9245
9245
|
keywords: {
|
|
9246
9246
|
$pattern: r,
|
|
@@ -9259,7 +9259,7 @@ function RE() {
|
|
|
9259
9259
|
].concat(T)
|
|
9260
9260
|
};
|
|
9261
9261
|
return S.contains = [
|
|
9262
|
-
|
|
9262
|
+
N,
|
|
9263
9263
|
f,
|
|
9264
9264
|
b
|
|
9265
9265
|
], b.contains = T, d.contains = T, {
|
|
@@ -9276,7 +9276,7 @@ function RE() {
|
|
|
9276
9276
|
l,
|
|
9277
9277
|
u,
|
|
9278
9278
|
m,
|
|
9279
|
-
|
|
9279
|
+
E,
|
|
9280
9280
|
d,
|
|
9281
9281
|
o,
|
|
9282
9282
|
p
|
|
@@ -9499,11 +9499,11 @@ function OE() {
|
|
|
9499
9499
|
"let",
|
|
9500
9500
|
"function",
|
|
9501
9501
|
"static"
|
|
9502
|
-
], m = (
|
|
9502
|
+
], m = (R) => (C) => !R.includes(C), p = {
|
|
9503
9503
|
keyword: e.concat(u).filter(m(_)),
|
|
9504
9504
|
literal: t.concat(l),
|
|
9505
9505
|
built_in: i.concat(c)
|
|
9506
|
-
}, d = "[A-Za-z$_][0-9A-Za-z$_]*",
|
|
9506
|
+
}, d = "[A-Za-z$_][0-9A-Za-z$_]*", E = {
|
|
9507
9507
|
className: "subst",
|
|
9508
9508
|
begin: /#\{/,
|
|
9509
9509
|
end: /\}/,
|
|
@@ -9533,7 +9533,7 @@ function OE() {
|
|
|
9533
9533
|
end: /"""/,
|
|
9534
9534
|
contains: [
|
|
9535
9535
|
o.BACKSLASH_ESCAPE,
|
|
9536
|
-
|
|
9536
|
+
E
|
|
9537
9537
|
]
|
|
9538
9538
|
},
|
|
9539
9539
|
{
|
|
@@ -9541,7 +9541,7 @@ function OE() {
|
|
|
9541
9541
|
end: /"/,
|
|
9542
9542
|
contains: [
|
|
9543
9543
|
o.BACKSLASH_ESCAPE,
|
|
9544
|
-
|
|
9544
|
+
E
|
|
9545
9545
|
]
|
|
9546
9546
|
}
|
|
9547
9547
|
]
|
|
@@ -9553,7 +9553,7 @@ function OE() {
|
|
|
9553
9553
|
begin: "///",
|
|
9554
9554
|
end: "///",
|
|
9555
9555
|
contains: [
|
|
9556
|
-
|
|
9556
|
+
E,
|
|
9557
9557
|
o.HASH_COMMENT_MODE
|
|
9558
9558
|
]
|
|
9559
9559
|
},
|
|
@@ -9588,7 +9588,7 @@ function OE() {
|
|
|
9588
9588
|
]
|
|
9589
9589
|
}
|
|
9590
9590
|
];
|
|
9591
|
-
|
|
9591
|
+
E.contains = S;
|
|
9592
9592
|
const b = o.inherit(o.TITLE_MODE, { begin: d }), f = "(\\(.*\\)\\s*)?\\B[-=]>", T = {
|
|
9593
9593
|
className: "params",
|
|
9594
9594
|
begin: "\\([^\\(]",
|
|
@@ -9603,7 +9603,7 @@ function OE() {
|
|
|
9603
9603
|
contains: ["self"].concat(S)
|
|
9604
9604
|
}
|
|
9605
9605
|
]
|
|
9606
|
-
},
|
|
9606
|
+
}, N = {
|
|
9607
9607
|
variants: [
|
|
9608
9608
|
{ match: [
|
|
9609
9609
|
/class\s+/,
|
|
@@ -9659,7 +9659,7 @@ function OE() {
|
|
|
9659
9659
|
}
|
|
9660
9660
|
]
|
|
9661
9661
|
},
|
|
9662
|
-
|
|
9662
|
+
N,
|
|
9663
9663
|
{
|
|
9664
9664
|
begin: d + ":",
|
|
9665
9665
|
end: ":",
|
|
@@ -10269,7 +10269,7 @@ function IE() {
|
|
|
10269
10269
|
className: "title",
|
|
10270
10270
|
begin: n.optional(i) + t.IDENT_RE,
|
|
10271
10271
|
relevance: 0
|
|
10272
|
-
}, d = n.optional(i) + t.IDENT_RE + "\\s*\\(",
|
|
10272
|
+
}, d = n.optional(i) + t.IDENT_RE + "\\s*\\(", E = [
|
|
10273
10273
|
"alignas",
|
|
10274
10274
|
"alignof",
|
|
10275
10275
|
"and",
|
|
@@ -10533,9 +10533,9 @@ function IE() {
|
|
|
10533
10533
|
"visit",
|
|
10534
10534
|
"vprintf",
|
|
10535
10535
|
"vsprintf"
|
|
10536
|
-
],
|
|
10536
|
+
], R = {
|
|
10537
10537
|
type: S,
|
|
10538
|
-
keyword:
|
|
10538
|
+
keyword: E,
|
|
10539
10539
|
literal: [
|
|
10540
10540
|
"NULL",
|
|
10541
10541
|
"false",
|
|
@@ -10545,7 +10545,7 @@ function IE() {
|
|
|
10545
10545
|
],
|
|
10546
10546
|
built_in: ["_Pragma"],
|
|
10547
10547
|
_type_hints: b
|
|
10548
|
-
},
|
|
10548
|
+
}, C = {
|
|
10549
10549
|
className: "function.dispatch",
|
|
10550
10550
|
relevance: 0,
|
|
10551
10551
|
keywords: {
|
|
@@ -10563,7 +10563,7 @@ function IE() {
|
|
|
10563
10563
|
n.lookahead(/(<[^<>]+>|)\s*\(/)
|
|
10564
10564
|
)
|
|
10565
10565
|
}, A = [
|
|
10566
|
-
|
|
10566
|
+
C,
|
|
10567
10567
|
m,
|
|
10568
10568
|
c,
|
|
10569
10569
|
r,
|
|
@@ -10588,12 +10588,12 @@ function IE() {
|
|
|
10588
10588
|
end: /;/
|
|
10589
10589
|
}
|
|
10590
10590
|
],
|
|
10591
|
-
keywords:
|
|
10591
|
+
keywords: R,
|
|
10592
10592
|
contains: A.concat([
|
|
10593
10593
|
{
|
|
10594
10594
|
begin: /\(/,
|
|
10595
10595
|
end: /\)/,
|
|
10596
|
-
keywords:
|
|
10596
|
+
keywords: R,
|
|
10597
10597
|
contains: A.concat(["self"]),
|
|
10598
10598
|
relevance: 0
|
|
10599
10599
|
}
|
|
@@ -10605,13 +10605,13 @@ function IE() {
|
|
|
10605
10605
|
returnBegin: !0,
|
|
10606
10606
|
end: /[{;=]/,
|
|
10607
10607
|
excludeEnd: !0,
|
|
10608
|
-
keywords:
|
|
10608
|
+
keywords: R,
|
|
10609
10609
|
illegal: /[^\w\s\*&:<>.]/,
|
|
10610
10610
|
contains: [
|
|
10611
10611
|
{
|
|
10612
10612
|
// to prevent it from being confused as the function title
|
|
10613
10613
|
begin: a,
|
|
10614
|
-
keywords:
|
|
10614
|
+
keywords: R,
|
|
10615
10615
|
relevance: 0
|
|
10616
10616
|
},
|
|
10617
10617
|
{
|
|
@@ -10645,7 +10645,7 @@ function IE() {
|
|
|
10645
10645
|
className: "params",
|
|
10646
10646
|
begin: /\(/,
|
|
10647
10647
|
end: /\)/,
|
|
10648
|
-
keywords:
|
|
10648
|
+
keywords: R,
|
|
10649
10649
|
relevance: 0,
|
|
10650
10650
|
contains: [
|
|
10651
10651
|
r,
|
|
@@ -10657,7 +10657,7 @@ function IE() {
|
|
|
10657
10657
|
{
|
|
10658
10658
|
begin: /\(/,
|
|
10659
10659
|
end: /\)/,
|
|
10660
|
-
keywords:
|
|
10660
|
+
keywords: R,
|
|
10661
10661
|
relevance: 0,
|
|
10662
10662
|
contains: [
|
|
10663
10663
|
"self",
|
|
@@ -10687,13 +10687,13 @@ function IE() {
|
|
|
10687
10687
|
"hxx",
|
|
10688
10688
|
"cxx"
|
|
10689
10689
|
],
|
|
10690
|
-
keywords:
|
|
10690
|
+
keywords: R,
|
|
10691
10691
|
illegal: "</",
|
|
10692
10692
|
classNameAliases: { "function.dispatch": "built_in" },
|
|
10693
10693
|
contains: [].concat(
|
|
10694
10694
|
I,
|
|
10695
10695
|
M,
|
|
10696
|
-
|
|
10696
|
+
C,
|
|
10697
10697
|
A,
|
|
10698
10698
|
[
|
|
10699
10699
|
m,
|
|
@@ -10701,7 +10701,7 @@ function IE() {
|
|
|
10701
10701
|
// containers: ie, `vector <int> rooms (9);`
|
|
10702
10702
|
begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",
|
|
10703
10703
|
end: ">",
|
|
10704
|
-
keywords:
|
|
10704
|
+
keywords: R,
|
|
10705
10705
|
contains: [
|
|
10706
10706
|
"self",
|
|
10707
10707
|
c
|
|
@@ -10709,7 +10709,7 @@ function IE() {
|
|
|
10709
10709
|
},
|
|
10710
10710
|
{
|
|
10711
10711
|
begin: t.IDENT_RE + "::",
|
|
10712
|
-
keywords:
|
|
10712
|
+
keywords: R
|
|
10713
10713
|
},
|
|
10714
10714
|
{
|
|
10715
10715
|
match: [
|
|
@@ -10847,13 +10847,13 @@ function yE() {
|
|
|
10847
10847
|
keywords: o
|
|
10848
10848
|
};
|
|
10849
10849
|
function _(f, T) {
|
|
10850
|
-
const
|
|
10850
|
+
const N = [
|
|
10851
10851
|
{
|
|
10852
10852
|
begin: f,
|
|
10853
10853
|
end: T
|
|
10854
10854
|
}
|
|
10855
10855
|
];
|
|
10856
|
-
return
|
|
10856
|
+
return N[0].contains = N, N;
|
|
10857
10857
|
}
|
|
10858
10858
|
const m = {
|
|
10859
10859
|
className: "string",
|
|
@@ -10960,7 +10960,7 @@ function yE() {
|
|
|
10960
10960
|
}
|
|
10961
10961
|
],
|
|
10962
10962
|
relevance: 0
|
|
10963
|
-
},
|
|
10963
|
+
}, E = {
|
|
10964
10964
|
className: "regexp",
|
|
10965
10965
|
contains: [
|
|
10966
10966
|
t.BACKSLASH_ESCAPE,
|
|
@@ -11002,7 +11002,7 @@ function yE() {
|
|
|
11002
11002
|
u,
|
|
11003
11003
|
m,
|
|
11004
11004
|
p,
|
|
11005
|
-
|
|
11005
|
+
E,
|
|
11006
11006
|
d,
|
|
11007
11007
|
S,
|
|
11008
11008
|
l,
|
|
@@ -11271,7 +11271,7 @@ function DE() {
|
|
|
11271
11271
|
begin: /\{/,
|
|
11272
11272
|
end: /\}/,
|
|
11273
11273
|
keywords: o
|
|
11274
|
-
}, d = t.inherit(p, { illegal: /\n/ }),
|
|
11274
|
+
}, d = t.inherit(p, { illegal: /\n/ }), E = {
|
|
11275
11275
|
className: "string",
|
|
11276
11276
|
begin: /\$"/,
|
|
11277
11277
|
end: '"',
|
|
@@ -11303,7 +11303,7 @@ function DE() {
|
|
|
11303
11303
|
});
|
|
11304
11304
|
p.contains = [
|
|
11305
11305
|
S,
|
|
11306
|
-
|
|
11306
|
+
E,
|
|
11307
11307
|
_,
|
|
11308
11308
|
t.APOS_STRING_MODE,
|
|
11309
11309
|
t.QUOTE_STRING_MODE,
|
|
@@ -11311,7 +11311,7 @@ function DE() {
|
|
|
11311
11311
|
t.C_BLOCK_COMMENT_MODE
|
|
11312
11312
|
], d.contains = [
|
|
11313
11313
|
b,
|
|
11314
|
-
|
|
11314
|
+
E,
|
|
11315
11315
|
m,
|
|
11316
11316
|
t.APOS_STRING_MODE,
|
|
11317
11317
|
t.QUOTE_STRING_MODE,
|
|
@@ -11321,7 +11321,7 @@ function DE() {
|
|
|
11321
11321
|
const f = { variants: [
|
|
11322
11322
|
u,
|
|
11323
11323
|
S,
|
|
11324
|
-
|
|
11324
|
+
E,
|
|
11325
11325
|
_,
|
|
11326
11326
|
t.APOS_STRING_MODE,
|
|
11327
11327
|
t.QUOTE_STRING_MODE
|
|
@@ -11332,7 +11332,7 @@ function DE() {
|
|
|
11332
11332
|
{ beginKeywords: "in out" },
|
|
11333
11333
|
c
|
|
11334
11334
|
]
|
|
11335
|
-
},
|
|
11335
|
+
}, N = t.IDENT_RE + "(<" + t.IDENT_RE + "(\\s*,\\s*" + t.IDENT_RE + ")*>)?(\\[\\])?", R = {
|
|
11336
11336
|
// prevents expressions like `@class` from incorrect flagging
|
|
11337
11337
|
// `class` as a keyword
|
|
11338
11338
|
begin: "@" + t.IDENT_RE,
|
|
@@ -11439,7 +11439,7 @@ function DE() {
|
|
|
11439
11439
|
},
|
|
11440
11440
|
{
|
|
11441
11441
|
className: "function",
|
|
11442
|
-
begin: "(" +
|
|
11442
|
+
begin: "(" + N + "\\s+)+" + t.IDENT_RE + "\\s*(<[^=]+>\\s*)?\\(",
|
|
11443
11443
|
returnBegin: !0,
|
|
11444
11444
|
end: /\s*[{;=]/,
|
|
11445
11445
|
excludeEnd: !0,
|
|
@@ -11478,7 +11478,7 @@ function DE() {
|
|
|
11478
11478
|
t.C_BLOCK_COMMENT_MODE
|
|
11479
11479
|
]
|
|
11480
11480
|
},
|
|
11481
|
-
|
|
11481
|
+
R
|
|
11482
11482
|
]
|
|
11483
11483
|
};
|
|
11484
11484
|
}
|
|
@@ -12336,7 +12336,7 @@ function ME() {
|
|
|
12336
12336
|
"zoom"
|
|
12337
12337
|
].sort().reverse();
|
|
12338
12338
|
function c(l) {
|
|
12339
|
-
const u = l.regex, _ = e(l), m = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, p = "and or not only", d = /@-?\w[\w]*(-\w+)*/,
|
|
12339
|
+
const u = l.regex, _ = e(l), m = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ }, p = "and or not only", d = /@-?\w[\w]*(-\w+)*/, E = "[a-zA-Z-][a-zA-Z0-9_-]*", S = [
|
|
12340
12340
|
l.APOS_STRING_MODE,
|
|
12341
12341
|
l.QUOTE_STRING_MODE
|
|
12342
12342
|
];
|
|
@@ -12363,7 +12363,7 @@ function ME() {
|
|
|
12363
12363
|
},
|
|
12364
12364
|
{
|
|
12365
12365
|
className: "selector-class",
|
|
12366
|
-
begin: "\\." +
|
|
12366
|
+
begin: "\\." + E,
|
|
12367
12367
|
relevance: 0
|
|
12368
12368
|
},
|
|
12369
12369
|
_.ATTRIBUTE_SELECTOR_MODE,
|
|
@@ -12474,7 +12474,7 @@ function LE() {
|
|
|
12474
12474
|
className: "number",
|
|
12475
12475
|
begin: "\\b" + _ + "(L|u|U|Lu|LU|uL|UL)?",
|
|
12476
12476
|
relevance: 0
|
|
12477
|
-
},
|
|
12477
|
+
}, E = {
|
|
12478
12478
|
className: "number",
|
|
12479
12479
|
begin: "\\b(" + m + "([fF]|L|i|[fF]i|Li)?|" + _ + "(i|[fF]i|Li))",
|
|
12480
12480
|
relevance: 0
|
|
@@ -12496,15 +12496,15 @@ function LE() {
|
|
|
12496
12496
|
begin: '[rq]"',
|
|
12497
12497
|
end: '"[cwd]?',
|
|
12498
12498
|
relevance: 5
|
|
12499
|
-
},
|
|
12499
|
+
}, N = {
|
|
12500
12500
|
className: "string",
|
|
12501
12501
|
begin: "`",
|
|
12502
12502
|
end: "`[cwd]?"
|
|
12503
|
-
},
|
|
12503
|
+
}, R = {
|
|
12504
12504
|
className: "string",
|
|
12505
12505
|
begin: 'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',
|
|
12506
12506
|
relevance: 10
|
|
12507
|
-
},
|
|
12507
|
+
}, C = {
|
|
12508
12508
|
className: "string",
|
|
12509
12509
|
begin: 'q"\\{',
|
|
12510
12510
|
end: '\\}"'
|
|
@@ -12536,12 +12536,12 @@ function LE() {
|
|
|
12536
12536
|
t.C_LINE_COMMENT_MODE,
|
|
12537
12537
|
t.C_BLOCK_COMMENT_MODE,
|
|
12538
12538
|
F,
|
|
12539
|
-
|
|
12539
|
+
R,
|
|
12540
12540
|
f,
|
|
12541
12541
|
T,
|
|
12542
|
+
N,
|
|
12542
12543
|
C,
|
|
12543
|
-
|
|
12544
|
-
g,
|
|
12544
|
+
E,
|
|
12545
12545
|
d,
|
|
12546
12546
|
S,
|
|
12547
12547
|
A,
|
|
@@ -13999,17 +13999,17 @@ function WE() {
|
|
|
13999
13999
|
begin: /</,
|
|
14000
14000
|
end: />/
|
|
14001
14001
|
}
|
|
14002
|
-
], d = (
|
|
14002
|
+
], d = (C) => ({
|
|
14003
14003
|
scope: "char.escape",
|
|
14004
|
-
begin: n.concat(/\\/,
|
|
14004
|
+
begin: n.concat(/\\/, C),
|
|
14005
14005
|
relevance: 0
|
|
14006
|
-
}),
|
|
14006
|
+
}), E = {
|
|
14007
14007
|
className: "string",
|
|
14008
14008
|
begin: "~[a-z](?=" + m + ")",
|
|
14009
|
-
contains: p.map((
|
|
14010
|
-
|
|
14009
|
+
contains: p.map((C) => t.inherit(
|
|
14010
|
+
C,
|
|
14011
14011
|
{ contains: [
|
|
14012
|
-
d(
|
|
14012
|
+
d(C.end),
|
|
14013
14013
|
_,
|
|
14014
14014
|
c
|
|
14015
14015
|
] }
|
|
@@ -14017,21 +14017,21 @@ function WE() {
|
|
|
14017
14017
|
}, S = {
|
|
14018
14018
|
className: "string",
|
|
14019
14019
|
begin: "~[A-Z](?=" + m + ")",
|
|
14020
|
-
contains: p.map((
|
|
14021
|
-
|
|
14022
|
-
{ contains: [d(
|
|
14020
|
+
contains: p.map((C) => t.inherit(
|
|
14021
|
+
C,
|
|
14022
|
+
{ contains: [d(C.end)] }
|
|
14023
14023
|
))
|
|
14024
14024
|
}, b = {
|
|
14025
14025
|
className: "regex",
|
|
14026
14026
|
variants: [
|
|
14027
14027
|
{
|
|
14028
14028
|
begin: "~r(?=" + m + ")",
|
|
14029
|
-
contains: p.map((
|
|
14030
|
-
|
|
14029
|
+
contains: p.map((C) => t.inherit(
|
|
14030
|
+
C,
|
|
14031
14031
|
{
|
|
14032
|
-
end: n.concat(
|
|
14032
|
+
end: n.concat(C.end, /[uismxfU]{0,7}/),
|
|
14033
14033
|
contains: [
|
|
14034
|
-
d(
|
|
14034
|
+
d(C.end),
|
|
14035
14035
|
_,
|
|
14036
14036
|
c
|
|
14037
14037
|
]
|
|
@@ -14041,11 +14041,11 @@ function WE() {
|
|
|
14041
14041
|
{
|
|
14042
14042
|
begin: "~R(?=" + m + ")",
|
|
14043
14043
|
contains: p.map(
|
|
14044
|
-
(
|
|
14045
|
-
|
|
14044
|
+
(C) => t.inherit(
|
|
14045
|
+
C,
|
|
14046
14046
|
{
|
|
14047
|
-
end: n.concat(
|
|
14048
|
-
contains: [d(
|
|
14047
|
+
end: n.concat(C.end, /[uismxfU]{0,7}/),
|
|
14048
|
+
contains: [d(C.end)]
|
|
14049
14049
|
}
|
|
14050
14050
|
)
|
|
14051
14051
|
)
|
|
@@ -14110,17 +14110,17 @@ function WE() {
|
|
|
14110
14110
|
endsParent: !0
|
|
14111
14111
|
})
|
|
14112
14112
|
]
|
|
14113
|
-
},
|
|
14113
|
+
}, N = t.inherit(T, {
|
|
14114
14114
|
className: "class",
|
|
14115
14115
|
beginKeywords: "defimpl defmodule defprotocol defrecord",
|
|
14116
14116
|
end: /\bdo\b|$|;/
|
|
14117
|
-
}),
|
|
14117
|
+
}), R = [
|
|
14118
14118
|
f,
|
|
14119
14119
|
b,
|
|
14120
14120
|
S,
|
|
14121
|
-
|
|
14121
|
+
E,
|
|
14122
14122
|
t.HASH_COMMENT_MODE,
|
|
14123
|
-
|
|
14123
|
+
N,
|
|
14124
14124
|
T,
|
|
14125
14125
|
{ begin: "::" },
|
|
14126
14126
|
{
|
|
@@ -14150,14 +14150,14 @@ function WE() {
|
|
|
14150
14150
|
}
|
|
14151
14151
|
// -> has been removed, capnproto always uses this grammar construct
|
|
14152
14152
|
];
|
|
14153
|
-
return c.contains =
|
|
14153
|
+
return c.contains = R, {
|
|
14154
14154
|
name: "Elixir",
|
|
14155
14155
|
aliases: [
|
|
14156
14156
|
"ex",
|
|
14157
14157
|
"exs"
|
|
14158
14158
|
],
|
|
14159
14159
|
keywords: o,
|
|
14160
|
-
contains:
|
|
14160
|
+
contains: R
|
|
14161
14161
|
};
|
|
14162
14162
|
}
|
|
14163
14163
|
return Lr = e, Lr;
|
|
@@ -14473,7 +14473,7 @@ function KE() {
|
|
|
14473
14473
|
]
|
|
14474
14474
|
}
|
|
14475
14475
|
]
|
|
14476
|
-
}, p = "[1-9](_?[0-9])*|0", d = "[0-9](_?[0-9])*",
|
|
14476
|
+
}, p = "[1-9](_?[0-9])*|0", d = "[0-9](_?[0-9])*", E = {
|
|
14477
14477
|
className: "number",
|
|
14478
14478
|
relevance: 0,
|
|
14479
14479
|
variants: [
|
|
@@ -14589,7 +14589,7 @@ function KE() {
|
|
|
14589
14589
|
],
|
|
14590
14590
|
relevance: 0
|
|
14591
14591
|
},
|
|
14592
|
-
|
|
14592
|
+
E,
|
|
14593
14593
|
{
|
|
14594
14594
|
// negative-look forward attempts to prevent false matches like:
|
|
14595
14595
|
// @ident@ or $ident$ that might indicate this is not ruby at all
|
|
@@ -14646,7 +14646,7 @@ function KE() {
|
|
|
14646
14646
|
}
|
|
14647
14647
|
].concat(l, u);
|
|
14648
14648
|
_.contains = A, S.contains = A;
|
|
14649
|
-
const
|
|
14649
|
+
const D = [
|
|
14650
14650
|
{
|
|
14651
14651
|
begin: /^\s*=>/,
|
|
14652
14652
|
starts: {
|
|
@@ -14675,7 +14675,7 @@ function KE() {
|
|
|
14675
14675
|
],
|
|
14676
14676
|
keywords: o,
|
|
14677
14677
|
illegal: /\/\*/,
|
|
14678
|
-
contains: [t.SHEBANG({ binary: "ruby" })].concat(
|
|
14678
|
+
contains: [t.SHEBANG({ binary: "ruby" })].concat(D).concat(u).concat(A)
|
|
14679
14679
|
};
|
|
14680
14680
|
}
|
|
14681
14681
|
return Pr = e, Pr;
|
|
@@ -14815,7 +14815,7 @@ function ZE() {
|
|
|
14815
14815
|
}, d = {
|
|
14816
14816
|
scope: "string",
|
|
14817
14817
|
match: /"""("*)(?!")[\s\S]*?"""\1/
|
|
14818
|
-
},
|
|
14818
|
+
}, E = {
|
|
14819
14819
|
scope: "string",
|
|
14820
14820
|
contains: [t.BACKSLASH_ESCAPE],
|
|
14821
14821
|
variants: [
|
|
@@ -14842,7 +14842,7 @@ function ZE() {
|
|
|
14842
14842
|
t.inherit(t.APOS_STRING_MODE, { className: "" }),
|
|
14843
14843
|
S,
|
|
14844
14844
|
c,
|
|
14845
|
-
|
|
14845
|
+
E,
|
|
14846
14846
|
d,
|
|
14847
14847
|
t.QUOTE_STRING_MODE,
|
|
14848
14848
|
s,
|
|
@@ -14857,7 +14857,7 @@ function ZE() {
|
|
|
14857
14857
|
o,
|
|
14858
14858
|
S,
|
|
14859
14859
|
c,
|
|
14860
|
-
|
|
14860
|
+
E,
|
|
14861
14861
|
d,
|
|
14862
14862
|
t.QUOTE_STRING_MODE,
|
|
14863
14863
|
s,
|
|
@@ -14930,17 +14930,17 @@ function ZE() {
|
|
|
14930
14930
|
returnBegin: !0,
|
|
14931
14931
|
keywords: {
|
|
14932
14932
|
$pattern: "-" + t.IDENT_RE,
|
|
14933
|
-
keyword: f.map((
|
|
14933
|
+
keyword: f.map((N) => `${N}|1.5`).join(" ")
|
|
14934
14934
|
},
|
|
14935
14935
|
contains: [
|
|
14936
14936
|
T,
|
|
14937
|
-
|
|
14937
|
+
E,
|
|
14938
14938
|
d,
|
|
14939
14939
|
t.QUOTE_STRING_MODE
|
|
14940
14940
|
]
|
|
14941
14941
|
},
|
|
14942
14942
|
s,
|
|
14943
|
-
|
|
14943
|
+
E,
|
|
14944
14944
|
d,
|
|
14945
14945
|
t.QUOTE_STRING_MODE,
|
|
14946
14946
|
m,
|
|
@@ -16355,7 +16355,7 @@ function ng() {
|
|
|
16355
16355
|
"voidptr",
|
|
16356
16356
|
// other important FSharp types
|
|
16357
16357
|
"Result"
|
|
16358
|
-
],
|
|
16358
|
+
], E = {
|
|
16359
16359
|
keyword: c,
|
|
16360
16360
|
literal: _,
|
|
16361
16361
|
built_in: [
|
|
@@ -16410,16 +16410,16 @@ function ng() {
|
|
|
16410
16410
|
scope: "variable",
|
|
16411
16411
|
begin: /``/,
|
|
16412
16412
|
end: /``/
|
|
16413
|
-
},
|
|
16413
|
+
}, N = /\B('|\^)/, R = {
|
|
16414
16414
|
scope: "symbol",
|
|
16415
16415
|
variants: [
|
|
16416
16416
|
// the type name is a quoted identifier:
|
|
16417
|
-
{ match: r(
|
|
16417
|
+
{ match: r(N, /``.*?``/) },
|
|
16418
16418
|
// the type name is a normal identifier (we don't use IDENTIFIER_RE because there cannot be another apostrophe here):
|
|
16419
|
-
{ match: r(
|
|
16419
|
+
{ match: r(N, o.UNDERSCORE_IDENT_RE) }
|
|
16420
16420
|
],
|
|
16421
16421
|
relevance: 0
|
|
16422
|
-
},
|
|
16422
|
+
}, C = function({ includeEqual: ce }) {
|
|
16423
16423
|
let _e;
|
|
16424
16424
|
ce ? _e = "!%&*+-/<=>@^|~?" : _e = "!%&*+-/<>@^|~?";
|
|
16425
16425
|
const Q = Array.from(_e), W = r("[", ...Q.map(e), "]"), ne = i(W, /\./), re = r(ne, n(ne)), le = i(
|
|
@@ -16447,7 +16447,7 @@ function ng() {
|
|
|
16447
16447
|
// A single $ can be used as an operator
|
|
16448
16448
|
relevance: 0
|
|
16449
16449
|
};
|
|
16450
|
-
}, A =
|
|
16450
|
+
}, A = C({ includeEqual: !0 }), I = C({ includeEqual: !1 }), M = function(ce, _e) {
|
|
16451
16451
|
return {
|
|
16452
16452
|
begin: r(
|
|
16453
16453
|
// a type annotation is a
|
|
@@ -16492,16 +16492,16 @@ function ng() {
|
|
|
16492
16492
|
),
|
|
16493
16493
|
relevance: 0,
|
|
16494
16494
|
// we need the known types, and we need the type constraint keywords and literals. e.g.: when 'a : null
|
|
16495
|
-
keywords: o.inherit(
|
|
16495
|
+
keywords: o.inherit(E, { type: p }),
|
|
16496
16496
|
contains: [
|
|
16497
16497
|
b,
|
|
16498
|
-
|
|
16498
|
+
R,
|
|
16499
16499
|
o.inherit(T, { scope: null }),
|
|
16500
16500
|
// match to avoid strange patterns inside that may break the parsing
|
|
16501
16501
|
I
|
|
16502
16502
|
]
|
|
16503
16503
|
};
|
|
16504
|
-
}, F = M(/:/, "operator"),
|
|
16504
|
+
}, F = M(/:/, "operator"), D = M(/\bof\b/, "keyword"), H = {
|
|
16505
16505
|
begin: [
|
|
16506
16506
|
/(^|\s+)/,
|
|
16507
16507
|
// prevents matching the following: `match s.stype with`
|
|
@@ -16514,13 +16514,13 @@ function ng() {
|
|
|
16514
16514
|
4: "title.class"
|
|
16515
16515
|
},
|
|
16516
16516
|
end: n(/\(|=|$/),
|
|
16517
|
-
keywords:
|
|
16517
|
+
keywords: E,
|
|
16518
16518
|
// match keywords in type constraints. e.g.: when 'a : null
|
|
16519
16519
|
contains: [
|
|
16520
16520
|
b,
|
|
16521
16521
|
o.inherit(T, { scope: null }),
|
|
16522
16522
|
// match to avoid strange patterns inside that may break the parsing
|
|
16523
|
-
|
|
16523
|
+
R,
|
|
16524
16524
|
{
|
|
16525
16525
|
// For visual consistency, highlight type brackets as operators.
|
|
16526
16526
|
scope: "operator",
|
|
@@ -16575,7 +16575,7 @@ function ng() {
|
|
|
16575
16575
|
scope: "subst",
|
|
16576
16576
|
begin: /\{/,
|
|
16577
16577
|
end: /\}/,
|
|
16578
|
-
keywords:
|
|
16578
|
+
keywords: E
|
|
16579
16579
|
}, Ae = {
|
|
16580
16580
|
scope: "string",
|
|
16581
16581
|
begin: /\$"/,
|
|
@@ -16653,7 +16653,7 @@ function ng() {
|
|
|
16653
16653
|
J,
|
|
16654
16654
|
X,
|
|
16655
16655
|
Y,
|
|
16656
|
-
|
|
16656
|
+
R,
|
|
16657
16657
|
A
|
|
16658
16658
|
], {
|
|
16659
16659
|
name: "F#",
|
|
@@ -16661,7 +16661,7 @@ function ng() {
|
|
|
16661
16661
|
"fs",
|
|
16662
16662
|
"f#"
|
|
16663
16663
|
],
|
|
16664
|
-
keywords:
|
|
16664
|
+
keywords: E,
|
|
16665
16665
|
illegal: /\/\*/,
|
|
16666
16666
|
classNameAliases: {
|
|
16667
16667
|
"computation-expression": "keyword"
|
|
@@ -16699,12 +16699,12 @@ function ng() {
|
|
|
16699
16699
|
Y
|
|
16700
16700
|
]
|
|
16701
16701
|
},
|
|
16702
|
-
|
|
16702
|
+
D,
|
|
16703
16703
|
F,
|
|
16704
16704
|
J,
|
|
16705
16705
|
X,
|
|
16706
16706
|
Y,
|
|
16707
|
-
|
|
16707
|
+
R,
|
|
16708
16708
|
A
|
|
16709
16709
|
]
|
|
16710
16710
|
};
|
|
@@ -16933,7 +16933,7 @@ function ag() {
|
|
|
16933
16933
|
className: "title",
|
|
16934
16934
|
begin: t.UNDERSCORE_IDENT_RE,
|
|
16935
16935
|
relevance: 0
|
|
16936
|
-
}, c = function(p, d,
|
|
16936
|
+
}, c = function(p, d, E) {
|
|
16937
16937
|
const S = t.inherit(
|
|
16938
16938
|
{
|
|
16939
16939
|
className: "function",
|
|
@@ -17090,11 +17090,11 @@ function ig() {
|
|
|
17090
17090
|
"EXISTS"
|
|
17091
17091
|
]
|
|
17092
17092
|
}, a = /\b/;
|
|
17093
|
-
function i(d,
|
|
17093
|
+
function i(d, E) {
|
|
17094
17094
|
if (d.index === 0)
|
|
17095
17095
|
return;
|
|
17096
17096
|
const S = d.input[d.index - 1];
|
|
17097
|
-
S >= "0" && S <= "9" || S !== "_" &&
|
|
17097
|
+
S >= "0" && S <= "9" || S !== "_" && E.ignoreMatch();
|
|
17098
17098
|
}
|
|
17099
17099
|
const s = /[+-]?((\.\d+)|(\d+)(\.\d*)?)/, o = /[GM]\s*\d+(\.\d+)?/, c = /T\s*\d+/, l = /O\s*\d+/, u = /O<.+>/, _ = /[ABCUVWXYZ]\s*/, m = /[FHIJKPQRS]\s*/, p = [
|
|
17100
17100
|
// comments
|
|
@@ -21224,7 +21224,7 @@ function Eg() {
|
|
|
21224
21224
|
"|",
|
|
21225
21225
|
c,
|
|
21226
21226
|
")(?==)"
|
|
21227
|
-
), p = { begin: _ }, d = t.inherit(p, { keywords: a }),
|
|
21227
|
+
), p = { begin: _ }, d = t.inherit(p, { keywords: a }), E = {
|
|
21228
21228
|
begin: /\(/,
|
|
21229
21229
|
end: /\)/
|
|
21230
21230
|
// the "contains" is added below when all necessary sub-modes are defined
|
|
@@ -21241,7 +21241,7 @@ function Eg() {
|
|
|
21241
21241
|
t.QUOTE_STRING_MODE,
|
|
21242
21242
|
t.APOS_STRING_MODE,
|
|
21243
21243
|
d,
|
|
21244
|
-
|
|
21244
|
+
E
|
|
21245
21245
|
] }
|
|
21246
21246
|
}
|
|
21247
21247
|
}, b = {
|
|
@@ -21263,7 +21263,7 @@ function Eg() {
|
|
|
21263
21263
|
b,
|
|
21264
21264
|
S,
|
|
21265
21265
|
d,
|
|
21266
|
-
|
|
21266
|
+
E
|
|
21267
21267
|
],
|
|
21268
21268
|
returnEnd: !0
|
|
21269
21269
|
// the property "end" is defined through inheritance when the mode is used. If depends
|
|
@@ -21274,15 +21274,15 @@ function Eg() {
|
|
|
21274
21274
|
keywords: r,
|
|
21275
21275
|
starts: t.inherit(f, { end: /\)/ })
|
|
21276
21276
|
});
|
|
21277
|
-
|
|
21278
|
-
const
|
|
21277
|
+
E.contains = [T];
|
|
21278
|
+
const N = t.inherit(p, {
|
|
21279
21279
|
keywords: r,
|
|
21280
21280
|
className: "name",
|
|
21281
21281
|
starts: t.inherit(f, { end: /\}\}/ })
|
|
21282
|
-
}),
|
|
21282
|
+
}), R = t.inherit(p, {
|
|
21283
21283
|
keywords: r,
|
|
21284
21284
|
className: "name"
|
|
21285
|
-
}),
|
|
21285
|
+
}), C = t.inherit(p, {
|
|
21286
21286
|
className: "name",
|
|
21287
21287
|
keywords: r,
|
|
21288
21288
|
starts: t.inherit(f, { end: /\}\}/ })
|
|
@@ -21313,7 +21313,7 @@ function Eg() {
|
|
|
21313
21313
|
className: "template-tag",
|
|
21314
21314
|
begin: /\{\{\{\{(?!\/)/,
|
|
21315
21315
|
end: /\}\}\}\}/,
|
|
21316
|
-
contains: [
|
|
21316
|
+
contains: [N],
|
|
21317
21317
|
starts: {
|
|
21318
21318
|
end: /\{\{\{\{\//,
|
|
21319
21319
|
returnEnd: !0,
|
|
@@ -21325,14 +21325,14 @@ function Eg() {
|
|
|
21325
21325
|
className: "template-tag",
|
|
21326
21326
|
begin: /\{\{\{\{\//,
|
|
21327
21327
|
end: /\}\}\}\}/,
|
|
21328
|
-
contains: [
|
|
21328
|
+
contains: [R]
|
|
21329
21329
|
},
|
|
21330
21330
|
{
|
|
21331
21331
|
// open block statement
|
|
21332
21332
|
className: "template-tag",
|
|
21333
21333
|
begin: /\{\{#/,
|
|
21334
21334
|
end: /\}\}/,
|
|
21335
|
-
contains: [
|
|
21335
|
+
contains: [N]
|
|
21336
21336
|
},
|
|
21337
21337
|
{
|
|
21338
21338
|
className: "template-tag",
|
|
@@ -21351,21 +21351,21 @@ function Eg() {
|
|
|
21351
21351
|
className: "template-tag",
|
|
21352
21352
|
begin: /\{\{\//,
|
|
21353
21353
|
end: /\}\}/,
|
|
21354
|
-
contains: [
|
|
21354
|
+
contains: [R]
|
|
21355
21355
|
},
|
|
21356
21356
|
{
|
|
21357
21357
|
// template variable or helper-call that is NOT html-escaped
|
|
21358
21358
|
className: "template-variable",
|
|
21359
21359
|
begin: /\{\{\{/,
|
|
21360
21360
|
end: /\}\}\}/,
|
|
21361
|
-
contains: [
|
|
21361
|
+
contains: [C]
|
|
21362
21362
|
},
|
|
21363
21363
|
{
|
|
21364
21364
|
// template variable or helper-call that is html-escaped
|
|
21365
21365
|
className: "template-variable",
|
|
21366
21366
|
begin: /\{\{/,
|
|
21367
21367
|
end: /\}\}/,
|
|
21368
|
-
contains: [
|
|
21368
|
+
contains: [C]
|
|
21369
21369
|
}
|
|
21370
21370
|
]
|
|
21371
21371
|
};
|
|
@@ -21419,7 +21419,7 @@ function gg() {
|
|
|
21419
21419
|
t.inherit(t.TITLE_MODE, { begin: "[_a-z][\\w']*" }),
|
|
21420
21420
|
u
|
|
21421
21421
|
]
|
|
21422
|
-
},
|
|
21422
|
+
}, E = {
|
|
21423
21423
|
begin: /\{/,
|
|
21424
21424
|
end: /\}/,
|
|
21425
21425
|
contains: d.contains
|
|
@@ -21484,7 +21484,7 @@ function gg() {
|
|
|
21484
21484
|
_,
|
|
21485
21485
|
p,
|
|
21486
21486
|
d,
|
|
21487
|
-
|
|
21487
|
+
E,
|
|
21488
21488
|
u
|
|
21489
21489
|
]
|
|
21490
21490
|
},
|
|
@@ -21888,7 +21888,7 @@ function Tg() {
|
|
|
21888
21888
|
}, p = t.COMMENT("\\^\\{", "\\}"), d = {
|
|
21889
21889
|
className: "symbol",
|
|
21890
21890
|
begin: "[:]{1,2}" + r
|
|
21891
|
-
},
|
|
21891
|
+
}, E = {
|
|
21892
21892
|
begin: "\\(",
|
|
21893
21893
|
end: "\\)"
|
|
21894
21894
|
}, S = {
|
|
@@ -21901,7 +21901,7 @@ function Tg() {
|
|
|
21901
21901
|
begin: r,
|
|
21902
21902
|
starts: S
|
|
21903
21903
|
}, f = [
|
|
21904
|
-
|
|
21904
|
+
E,
|
|
21905
21905
|
c,
|
|
21906
21906
|
m,
|
|
21907
21907
|
p,
|
|
@@ -21912,7 +21912,7 @@ function Tg() {
|
|
|
21912
21912
|
u,
|
|
21913
21913
|
s
|
|
21914
21914
|
];
|
|
21915
|
-
return
|
|
21915
|
+
return E.contains = [
|
|
21916
21916
|
t.COMMENT("comment", ""),
|
|
21917
21917
|
b,
|
|
21918
21918
|
S
|
|
@@ -21922,7 +21922,7 @@ function Tg() {
|
|
|
21922
21922
|
illegal: /\S/,
|
|
21923
21923
|
contains: [
|
|
21924
21924
|
t.SHEBANG(),
|
|
21925
|
-
|
|
21925
|
+
E,
|
|
21926
21926
|
c,
|
|
21927
21927
|
m,
|
|
21928
21928
|
p,
|
|
@@ -22369,7 +22369,7 @@ function hg() {
|
|
|
22369
22369
|
"super",
|
|
22370
22370
|
"this"
|
|
22371
22371
|
]
|
|
22372
|
-
},
|
|
22372
|
+
}, E = {
|
|
22373
22373
|
className: "meta",
|
|
22374
22374
|
begin: "@" + c,
|
|
22375
22375
|
contains: [
|
|
@@ -22497,7 +22497,7 @@ function hg() {
|
|
|
22497
22497
|
keywords: d,
|
|
22498
22498
|
relevance: 0,
|
|
22499
22499
|
contains: [
|
|
22500
|
-
|
|
22500
|
+
E,
|
|
22501
22501
|
s.APOS_STRING_MODE,
|
|
22502
22502
|
s.QUOTE_STRING_MODE,
|
|
22503
22503
|
r,
|
|
@@ -22509,7 +22509,7 @@ function hg() {
|
|
|
22509
22509
|
]
|
|
22510
22510
|
},
|
|
22511
22511
|
r,
|
|
22512
|
-
|
|
22512
|
+
E
|
|
22513
22513
|
]
|
|
22514
22514
|
};
|
|
22515
22515
|
}
|
|
@@ -22672,7 +22672,7 @@ function Ag() {
|
|
|
22672
22672
|
}, m = e, p = {
|
|
22673
22673
|
begin: "<>",
|
|
22674
22674
|
end: "</>"
|
|
22675
|
-
}, d = /<[A-Za-z0-9\\._:-]+\s*\/>/,
|
|
22675
|
+
}, d = /<[A-Za-z0-9\\._:-]+\s*\/>/, E = {
|
|
22676
22676
|
begin: /<[A-Za-z0-9\\._:-]+/,
|
|
22677
22677
|
end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
|
|
22678
22678
|
/**
|
|
@@ -22710,7 +22710,7 @@ function Ag() {
|
|
|
22710
22710
|
literal: n,
|
|
22711
22711
|
built_in: o,
|
|
22712
22712
|
"variable.language": s
|
|
22713
|
-
}, b = "[0-9](_?[0-9])*", f = `\\.(${b})`, T = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",
|
|
22713
|
+
}, b = "[0-9](_?[0-9])*", f = `\\.(${b})`, T = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", N = {
|
|
22714
22714
|
className: "number",
|
|
22715
22715
|
variants: [
|
|
22716
22716
|
// DecimalLiteral
|
|
@@ -22727,14 +22727,14 @@ function Ag() {
|
|
|
22727
22727
|
{ begin: "\\b0[0-7]+n?\\b" }
|
|
22728
22728
|
],
|
|
22729
22729
|
relevance: 0
|
|
22730
|
-
},
|
|
22730
|
+
}, R = {
|
|
22731
22731
|
className: "subst",
|
|
22732
22732
|
begin: "\\$\\{",
|
|
22733
22733
|
end: "\\}",
|
|
22734
22734
|
keywords: S,
|
|
22735
22735
|
contains: []
|
|
22736
22736
|
// defined later
|
|
22737
|
-
},
|
|
22737
|
+
}, C = {
|
|
22738
22738
|
begin: ".?html`",
|
|
22739
22739
|
end: "",
|
|
22740
22740
|
starts: {
|
|
@@ -22742,7 +22742,7 @@ function Ag() {
|
|
|
22742
22742
|
returnEnd: !1,
|
|
22743
22743
|
contains: [
|
|
22744
22744
|
l.BACKSLASH_ESCAPE,
|
|
22745
|
-
|
|
22745
|
+
R
|
|
22746
22746
|
],
|
|
22747
22747
|
subLanguage: "xml"
|
|
22748
22748
|
}
|
|
@@ -22754,7 +22754,7 @@ function Ag() {
|
|
|
22754
22754
|
returnEnd: !1,
|
|
22755
22755
|
contains: [
|
|
22756
22756
|
l.BACKSLASH_ESCAPE,
|
|
22757
|
-
|
|
22757
|
+
R
|
|
22758
22758
|
],
|
|
22759
22759
|
subLanguage: "css"
|
|
22760
22760
|
}
|
|
@@ -22766,7 +22766,7 @@ function Ag() {
|
|
|
22766
22766
|
returnEnd: !1,
|
|
22767
22767
|
contains: [
|
|
22768
22768
|
l.BACKSLASH_ESCAPE,
|
|
22769
|
-
|
|
22769
|
+
R
|
|
22770
22770
|
],
|
|
22771
22771
|
subLanguage: "graphql"
|
|
22772
22772
|
}
|
|
@@ -22776,9 +22776,9 @@ function Ag() {
|
|
|
22776
22776
|
end: "`",
|
|
22777
22777
|
contains: [
|
|
22778
22778
|
l.BACKSLASH_ESCAPE,
|
|
22779
|
-
|
|
22779
|
+
R
|
|
22780
22780
|
]
|
|
22781
|
-
},
|
|
22781
|
+
}, D = {
|
|
22782
22782
|
className: "comment",
|
|
22783
22783
|
variants: [
|
|
22784
22784
|
l.COMMENT(
|
|
@@ -22826,18 +22826,18 @@ function Ag() {
|
|
|
22826
22826
|
}, H = [
|
|
22827
22827
|
l.APOS_STRING_MODE,
|
|
22828
22828
|
l.QUOTE_STRING_MODE,
|
|
22829
|
-
|
|
22829
|
+
C,
|
|
22830
22830
|
A,
|
|
22831
22831
|
I,
|
|
22832
22832
|
M,
|
|
22833
22833
|
// Skip numbers when they are part of a variable name
|
|
22834
22834
|
{ match: /\$\d+/ },
|
|
22835
|
-
|
|
22835
|
+
N
|
|
22836
22836
|
// This is intentional:
|
|
22837
22837
|
// See https://github.com/highlightjs/highlight.js/issues/3288
|
|
22838
22838
|
// hljs.REGEXP_MODE
|
|
22839
22839
|
];
|
|
22840
|
-
|
|
22840
|
+
R.contains = H.concat({
|
|
22841
22841
|
// we need to pair up {} inside our subst to prevent
|
|
22842
22842
|
// it from ending too early by matching another }
|
|
22843
22843
|
begin: /\{/,
|
|
@@ -22847,7 +22847,7 @@ function Ag() {
|
|
|
22847
22847
|
"self"
|
|
22848
22848
|
].concat(H)
|
|
22849
22849
|
});
|
|
22850
|
-
const J = [].concat(
|
|
22850
|
+
const J = [].concat(D, R.contains), X = J.concat([
|
|
22851
22851
|
// eat recursive parens in sub expressions
|
|
22852
22852
|
{
|
|
22853
22853
|
begin: /(\s*)\(/,
|
|
@@ -23036,14 +23036,14 @@ function Ag() {
|
|
|
23036
23036
|
ae,
|
|
23037
23037
|
l.APOS_STRING_MODE,
|
|
23038
23038
|
l.QUOTE_STRING_MODE,
|
|
23039
|
-
|
|
23039
|
+
C,
|
|
23040
23040
|
A,
|
|
23041
23041
|
I,
|
|
23042
23042
|
M,
|
|
23043
|
-
|
|
23043
|
+
D,
|
|
23044
23044
|
// Skip numbers when they are part of a variable name
|
|
23045
23045
|
{ match: /\$\d+/ },
|
|
23046
|
-
|
|
23046
|
+
N,
|
|
23047
23047
|
j,
|
|
23048
23048
|
{
|
|
23049
23049
|
scope: "attr",
|
|
@@ -23057,7 +23057,7 @@ function Ag() {
|
|
|
23057
23057
|
keywords: "return throw case",
|
|
23058
23058
|
relevance: 0,
|
|
23059
23059
|
contains: [
|
|
23060
|
-
|
|
23060
|
+
D,
|
|
23061
23061
|
l.REGEXP_MODE,
|
|
23062
23062
|
{
|
|
23063
23063
|
className: "function",
|
|
@@ -23107,18 +23107,18 @@ function Ag() {
|
|
|
23107
23107
|
{ begin: p.begin, end: p.end },
|
|
23108
23108
|
{ match: d },
|
|
23109
23109
|
{
|
|
23110
|
-
begin:
|
|
23110
|
+
begin: E.begin,
|
|
23111
23111
|
// we carefully check the opening tag to see if it truly
|
|
23112
23112
|
// is a tag and not a false positive
|
|
23113
|
-
"on:begin":
|
|
23114
|
-
end:
|
|
23113
|
+
"on:begin": E.isTrulyOpeningTag,
|
|
23114
|
+
end: E.end
|
|
23115
23115
|
}
|
|
23116
23116
|
],
|
|
23117
23117
|
subLanguage: "xml",
|
|
23118
23118
|
contains: [
|
|
23119
23119
|
{
|
|
23120
|
-
begin:
|
|
23121
|
-
end:
|
|
23120
|
+
begin: E.begin,
|
|
23121
|
+
end: E.end,
|
|
23122
23122
|
skip: !0,
|
|
23123
23123
|
contains: ["self"]
|
|
23124
23124
|
}
|
|
@@ -23595,7 +23595,7 @@ function yg() {
|
|
|
23595
23595
|
}, d = {
|
|
23596
23596
|
className: "meta",
|
|
23597
23597
|
begin: "@" + n
|
|
23598
|
-
},
|
|
23598
|
+
}, E = {
|
|
23599
23599
|
className: "comment",
|
|
23600
23600
|
variants: [
|
|
23601
23601
|
{
|
|
@@ -23615,7 +23615,7 @@ function yg() {
|
|
|
23615
23615
|
m,
|
|
23616
23616
|
p,
|
|
23617
23617
|
d,
|
|
23618
|
-
|
|
23618
|
+
E,
|
|
23619
23619
|
t.HASH_COMMENT_MODE,
|
|
23620
23620
|
{
|
|
23621
23621
|
className: "keyword",
|
|
@@ -23758,7 +23758,7 @@ function xg() {
|
|
|
23758
23758
|
]
|
|
23759
23759
|
}
|
|
23760
23760
|
]
|
|
23761
|
-
}, d = r,
|
|
23761
|
+
}, d = r, E = i.COMMENT(
|
|
23762
23762
|
"/\\*",
|
|
23763
23763
|
"\\*/",
|
|
23764
23764
|
{ contains: [i.C_BLOCK_COMMENT_MODE] }
|
|
@@ -23796,7 +23796,7 @@ function xg() {
|
|
|
23796
23796
|
}
|
|
23797
23797
|
),
|
|
23798
23798
|
i.C_LINE_COMMENT_MODE,
|
|
23799
|
-
|
|
23799
|
+
E,
|
|
23800
23800
|
o,
|
|
23801
23801
|
c,
|
|
23802
23802
|
m,
|
|
@@ -23838,19 +23838,19 @@ function xg() {
|
|
|
23838
23838
|
contains: [
|
|
23839
23839
|
S,
|
|
23840
23840
|
i.C_LINE_COMMENT_MODE,
|
|
23841
|
-
|
|
23841
|
+
E
|
|
23842
23842
|
],
|
|
23843
23843
|
relevance: 0
|
|
23844
23844
|
},
|
|
23845
23845
|
i.C_LINE_COMMENT_MODE,
|
|
23846
|
-
|
|
23846
|
+
E,
|
|
23847
23847
|
m,
|
|
23848
23848
|
p,
|
|
23849
23849
|
_,
|
|
23850
23850
|
i.C_NUMBER_MODE
|
|
23851
23851
|
]
|
|
23852
23852
|
},
|
|
23853
|
-
|
|
23853
|
+
E
|
|
23854
23854
|
]
|
|
23855
23855
|
},
|
|
23856
23856
|
{
|
|
@@ -24069,7 +24069,7 @@ function Lg() {
|
|
|
24069
24069
|
"(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)",
|
|
24070
24070
|
"(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)",
|
|
24071
24071
|
"(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"
|
|
24072
|
-
].map((
|
|
24072
|
+
].map((D) => D + "(?![a-zA-Z@:_])")), a = new RegExp([
|
|
24073
24073
|
// A function \module_function_name:signature or \__module_function_name:signature,
|
|
24074
24074
|
// where both module and function_name need at least two characters and
|
|
24075
24075
|
// function_name may contain single underscores.
|
|
@@ -24090,7 +24090,7 @@ function Lg() {
|
|
|
24090
24090
|
"(?:hbox|vbox):n",
|
|
24091
24091
|
"::[a-zA-Z]_unbraced",
|
|
24092
24092
|
"::[a-zA-Z:]"
|
|
24093
|
-
].map((
|
|
24093
|
+
].map((D) => D + "(?![a-zA-Z:_])").join("|")), i = [
|
|
24094
24094
|
{ begin: /[a-zA-Z@]+/ },
|
|
24095
24095
|
// control word
|
|
24096
24096
|
{ begin: /[^a-zA-Z@]?/ }
|
|
@@ -24160,7 +24160,7 @@ function Lg() {
|
|
|
24160
24160
|
"self",
|
|
24161
24161
|
...p
|
|
24162
24162
|
]
|
|
24163
|
-
},
|
|
24163
|
+
}, E = t.inherit(
|
|
24164
24164
|
d,
|
|
24165
24165
|
{
|
|
24166
24166
|
relevance: 0,
|
|
@@ -24182,58 +24182,58 @@ function Lg() {
|
|
|
24182
24182
|
}, b = {
|
|
24183
24183
|
begin: /\s+/,
|
|
24184
24184
|
relevance: 0
|
|
24185
|
-
}, f = [
|
|
24185
|
+
}, f = [E], T = [S], N = function(D, H) {
|
|
24186
24186
|
return {
|
|
24187
24187
|
contains: [b],
|
|
24188
24188
|
starts: {
|
|
24189
24189
|
relevance: 0,
|
|
24190
|
-
contains:
|
|
24190
|
+
contains: D,
|
|
24191
24191
|
starts: H
|
|
24192
24192
|
}
|
|
24193
24193
|
};
|
|
24194
|
-
},
|
|
24194
|
+
}, R = function(D, H) {
|
|
24195
24195
|
return {
|
|
24196
|
-
begin: "\\\\" +
|
|
24196
|
+
begin: "\\\\" + D + "(?![a-zA-Z@:_])",
|
|
24197
24197
|
keywords: {
|
|
24198
24198
|
$pattern: /\\[a-zA-Z]+/,
|
|
24199
|
-
keyword: "\\" +
|
|
24199
|
+
keyword: "\\" + D
|
|
24200
24200
|
},
|
|
24201
24201
|
relevance: 0,
|
|
24202
24202
|
contains: [b],
|
|
24203
24203
|
starts: H
|
|
24204
24204
|
};
|
|
24205
|
-
},
|
|
24205
|
+
}, C = function(D, H) {
|
|
24206
24206
|
return t.inherit(
|
|
24207
24207
|
{
|
|
24208
|
-
begin: "\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{" +
|
|
24208
|
+
begin: "\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{" + D + "\\})",
|
|
24209
24209
|
keywords: {
|
|
24210
24210
|
$pattern: /\\[a-zA-Z]+/,
|
|
24211
24211
|
keyword: "\\begin"
|
|
24212
24212
|
},
|
|
24213
24213
|
relevance: 0
|
|
24214
24214
|
},
|
|
24215
|
-
|
|
24215
|
+
N(f, H)
|
|
24216
24216
|
);
|
|
24217
|
-
}, A = (
|
|
24218
|
-
className:
|
|
24217
|
+
}, A = (D = "string") => t.END_SAME_AS_BEGIN({
|
|
24218
|
+
className: D,
|
|
24219
24219
|
begin: /(.|\r?\n)/,
|
|
24220
24220
|
end: /(.|\r?\n)/,
|
|
24221
24221
|
excludeBegin: !0,
|
|
24222
24222
|
excludeEnd: !0,
|
|
24223
24223
|
endsParent: !0
|
|
24224
|
-
}), I = function(
|
|
24224
|
+
}), I = function(D) {
|
|
24225
24225
|
return {
|
|
24226
24226
|
className: "string",
|
|
24227
|
-
end: "(?=\\\\end\\{" +
|
|
24227
|
+
end: "(?=\\\\end\\{" + D + "\\})"
|
|
24228
24228
|
};
|
|
24229
|
-
}, M = (
|
|
24229
|
+
}, M = (D = "string") => ({
|
|
24230
24230
|
relevance: 0,
|
|
24231
24231
|
begin: /\{/,
|
|
24232
24232
|
starts: {
|
|
24233
24233
|
endsParent: !0,
|
|
24234
24234
|
contains: [
|
|
24235
24235
|
{
|
|
24236
|
-
className:
|
|
24236
|
+
className: D,
|
|
24237
24237
|
end: /(?=\})/,
|
|
24238
24238
|
endsParent: !0,
|
|
24239
24239
|
contains: [
|
|
@@ -24251,33 +24251,33 @@ function Lg() {
|
|
|
24251
24251
|
...[
|
|
24252
24252
|
"verb",
|
|
24253
24253
|
"lstinline"
|
|
24254
|
-
].map((
|
|
24255
|
-
|
|
24256
|
-
|
|
24254
|
+
].map((D) => R(D, { contains: [A()] })),
|
|
24255
|
+
R("mint", N(f, { contains: [A()] })),
|
|
24256
|
+
R("mintinline", N(f, { contains: [
|
|
24257
24257
|
M(),
|
|
24258
24258
|
A()
|
|
24259
24259
|
] })),
|
|
24260
|
-
|
|
24260
|
+
R("url", { contains: [
|
|
24261
24261
|
M("link"),
|
|
24262
24262
|
M("link")
|
|
24263
24263
|
] }),
|
|
24264
|
-
|
|
24265
|
-
|
|
24264
|
+
R("hyperref", { contains: [M("link")] }),
|
|
24265
|
+
R("href", N(T, { contains: [M("link")] })),
|
|
24266
24266
|
...[].concat(...[
|
|
24267
24267
|
"",
|
|
24268
24268
|
"\\*"
|
|
24269
|
-
].map((
|
|
24270
|
-
|
|
24271
|
-
|
|
24269
|
+
].map((D) => [
|
|
24270
|
+
C("verbatim" + D, I("verbatim" + D)),
|
|
24271
|
+
C("filecontents" + D, N(f, I("filecontents" + D))),
|
|
24272
24272
|
...[
|
|
24273
24273
|
"",
|
|
24274
24274
|
"B",
|
|
24275
24275
|
"L"
|
|
24276
24276
|
].map(
|
|
24277
|
-
(H) =>
|
|
24277
|
+
(H) => C(H + "Verbatim" + D, N(T, I(H + "Verbatim" + D)))
|
|
24278
24278
|
)
|
|
24279
24279
|
])),
|
|
24280
|
-
|
|
24280
|
+
C("minted", N(T, N(f, I("minted"))))
|
|
24281
24281
|
];
|
|
24282
24282
|
return {
|
|
24283
24283
|
name: "LaTeX",
|
|
@@ -25209,7 +25209,7 @@ function kg() {
|
|
|
25209
25209
|
"zoom"
|
|
25210
25210
|
].sort().reverse(), c = i.concat(s).sort().reverse();
|
|
25211
25211
|
function l(u) {
|
|
25212
|
-
const _ = e(u), m = c, p = "and or not only", d = "[\\w-]+",
|
|
25212
|
+
const _ = e(u), m = c, p = "and or not only", d = "[\\w-]+", E = "(" + d + "|@\\{" + d + "\\})", S = [], b = [], f = function(J) {
|
|
25213
25213
|
return {
|
|
25214
25214
|
// Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
|
|
25215
25215
|
className: "string",
|
|
@@ -25221,16 +25221,16 @@ function kg() {
|
|
|
25221
25221
|
begin: X,
|
|
25222
25222
|
relevance: Y
|
|
25223
25223
|
};
|
|
25224
|
-
},
|
|
25224
|
+
}, N = {
|
|
25225
25225
|
$pattern: /[a-z-]+/,
|
|
25226
25226
|
keyword: p,
|
|
25227
25227
|
attribute: a.join(" ")
|
|
25228
|
-
},
|
|
25228
|
+
}, R = {
|
|
25229
25229
|
// used only to properly balance nested parens inside mixin call, def. arg list
|
|
25230
25230
|
begin: "\\(",
|
|
25231
25231
|
end: "\\)",
|
|
25232
25232
|
contains: b,
|
|
25233
|
-
keywords:
|
|
25233
|
+
keywords: N,
|
|
25234
25234
|
relevance: 0
|
|
25235
25235
|
};
|
|
25236
25236
|
b.push(
|
|
@@ -25249,7 +25249,7 @@ function kg() {
|
|
|
25249
25249
|
}
|
|
25250
25250
|
},
|
|
25251
25251
|
_.HEXCOLOR,
|
|
25252
|
-
|
|
25252
|
+
R,
|
|
25253
25253
|
T("variable", "@@?" + d, 10),
|
|
25254
25254
|
T("variable", "@\\{" + d + "\\}"),
|
|
25255
25255
|
T("built_in", "~?`[^`]*?`"),
|
|
@@ -25266,7 +25266,7 @@ function kg() {
|
|
|
25266
25266
|
{ beginKeywords: "and not" },
|
|
25267
25267
|
_.FUNCTION_DISPATCH
|
|
25268
25268
|
);
|
|
25269
|
-
const
|
|
25269
|
+
const C = b.concat({
|
|
25270
25270
|
begin: /\{/,
|
|
25271
25271
|
end: /\}/,
|
|
25272
25272
|
contains: S
|
|
@@ -25276,7 +25276,7 @@ function kg() {
|
|
|
25276
25276
|
contains: [{ beginKeywords: "and not" }].concat(b)
|
|
25277
25277
|
// using this form to override VALUE’s 'function' match
|
|
25278
25278
|
}, I = {
|
|
25279
|
-
begin:
|
|
25279
|
+
begin: E + "\\s*:",
|
|
25280
25280
|
returnBegin: !0,
|
|
25281
25281
|
end: /[;}]/,
|
|
25282
25282
|
relevance: 0,
|
|
@@ -25300,7 +25300,7 @@ function kg() {
|
|
|
25300
25300
|
begin: "@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",
|
|
25301
25301
|
starts: {
|
|
25302
25302
|
end: "[;{}]",
|
|
25303
|
-
keywords:
|
|
25303
|
+
keywords: N,
|
|
25304
25304
|
returnEnd: !0,
|
|
25305
25305
|
contains: b,
|
|
25306
25306
|
relevance: 0
|
|
@@ -25321,9 +25321,9 @@ function kg() {
|
|
|
25321
25321
|
starts: {
|
|
25322
25322
|
end: "[;}]",
|
|
25323
25323
|
returnEnd: !0,
|
|
25324
|
-
contains:
|
|
25324
|
+
contains: C
|
|
25325
25325
|
}
|
|
25326
|
-
},
|
|
25326
|
+
}, D = {
|
|
25327
25327
|
// first parse unambiguous selectors (i.e. those not starting with tag)
|
|
25328
25328
|
// then fall into the scary lookahead-discriminator variant.
|
|
25329
25329
|
// this mode also handles mixin definitions and calls
|
|
@@ -25334,7 +25334,7 @@ function kg() {
|
|
|
25334
25334
|
// mixin calls end with ';'
|
|
25335
25335
|
},
|
|
25336
25336
|
{
|
|
25337
|
-
begin:
|
|
25337
|
+
begin: E,
|
|
25338
25338
|
end: /\{/
|
|
25339
25339
|
}
|
|
25340
25340
|
],
|
|
@@ -25354,9 +25354,9 @@ function kg() {
|
|
|
25354
25354
|
className: "selector-tag"
|
|
25355
25355
|
},
|
|
25356
25356
|
_.CSS_NUMBER_MODE,
|
|
25357
|
-
T("selector-tag",
|
|
25358
|
-
T("selector-id", "#" +
|
|
25359
|
-
T("selector-class", "\\." +
|
|
25357
|
+
T("selector-tag", E, 0),
|
|
25358
|
+
T("selector-id", "#" + E),
|
|
25359
|
+
T("selector-class", "\\." + E, 0),
|
|
25360
25360
|
T("selector-tag", "&", 0),
|
|
25361
25361
|
_.ATTRIBUTE_SELECTOR_MODE,
|
|
25362
25362
|
{
|
|
@@ -25371,7 +25371,7 @@ function kg() {
|
|
|
25371
25371
|
begin: /\(/,
|
|
25372
25372
|
end: /\)/,
|
|
25373
25373
|
relevance: 0,
|
|
25374
|
-
contains:
|
|
25374
|
+
contains: C
|
|
25375
25375
|
},
|
|
25376
25376
|
// argument list of parametric mixins
|
|
25377
25377
|
{ begin: "!important" },
|
|
@@ -25381,7 +25381,7 @@ function kg() {
|
|
|
25381
25381
|
}, H = {
|
|
25382
25382
|
begin: d + `:(:)?(${m.join("|")})`,
|
|
25383
25383
|
returnBegin: !0,
|
|
25384
|
-
contains: [
|
|
25384
|
+
contains: [D]
|
|
25385
25385
|
};
|
|
25386
25386
|
return S.push(
|
|
25387
25387
|
u.C_LINE_COMMENT_MODE,
|
|
@@ -25390,7 +25390,7 @@ function kg() {
|
|
|
25390
25390
|
F,
|
|
25391
25391
|
H,
|
|
25392
25392
|
I,
|
|
25393
|
-
|
|
25393
|
+
D,
|
|
25394
25394
|
A,
|
|
25395
25395
|
_.FUNCTION_DISPATCH
|
|
25396
25396
|
), {
|
|
@@ -25469,7 +25469,7 @@ function Fg() {
|
|
|
25469
25469
|
},
|
|
25470
25470
|
{ begin: "'" + r }
|
|
25471
25471
|
]
|
|
25472
|
-
},
|
|
25472
|
+
}, E = { variants: [
|
|
25473
25473
|
{ begin: "'" + n },
|
|
25474
25474
|
{ begin: "#'" + n + "(::" + n + ")*" }
|
|
25475
25475
|
] }, S = {
|
|
@@ -25493,7 +25493,7 @@ function Fg() {
|
|
|
25493
25493
|
b
|
|
25494
25494
|
], b.contains = [
|
|
25495
25495
|
d,
|
|
25496
|
-
|
|
25496
|
+
E,
|
|
25497
25497
|
S,
|
|
25498
25498
|
i,
|
|
25499
25499
|
s,
|
|
@@ -25513,7 +25513,7 @@ function Fg() {
|
|
|
25513
25513
|
o,
|
|
25514
25514
|
c,
|
|
25515
25515
|
d,
|
|
25516
|
-
|
|
25516
|
+
E,
|
|
25517
25517
|
S,
|
|
25518
25518
|
_
|
|
25519
25519
|
]
|
|
@@ -25805,7 +25805,7 @@ function Bg() {
|
|
|
25805
25805
|
begin: /#\{/,
|
|
25806
25806
|
end: /\}/,
|
|
25807
25807
|
keywords: _
|
|
25808
|
-
},
|
|
25808
|
+
}, E = {
|
|
25809
25809
|
className: "subst",
|
|
25810
25810
|
begin: /#[A-Za-z$_]/,
|
|
25811
25811
|
end: /(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,
|
|
@@ -25841,7 +25841,7 @@ function Bg() {
|
|
|
25841
25841
|
contains: [
|
|
25842
25842
|
o.BACKSLASH_ESCAPE,
|
|
25843
25843
|
d,
|
|
25844
|
-
|
|
25844
|
+
E
|
|
25845
25845
|
]
|
|
25846
25846
|
},
|
|
25847
25847
|
{
|
|
@@ -25850,7 +25850,7 @@ function Bg() {
|
|
|
25850
25850
|
contains: [
|
|
25851
25851
|
o.BACKSLASH_ESCAPE,
|
|
25852
25852
|
d,
|
|
25853
|
-
|
|
25853
|
+
E
|
|
25854
25854
|
]
|
|
25855
25855
|
},
|
|
25856
25856
|
{
|
|
@@ -33494,13 +33494,13 @@ function Vg() {
|
|
|
33494
33494
|
r.optional(u),
|
|
33495
33495
|
r.optional(_)
|
|
33496
33496
|
)
|
|
33497
|
-
}, d = /[a-zA-Z$][a-zA-Z0-9$]*/,
|
|
33497
|
+
}, d = /[a-zA-Z$][a-zA-Z0-9$]*/, E = new Set(e), S = { variants: [
|
|
33498
33498
|
{
|
|
33499
33499
|
className: "builtin-symbol",
|
|
33500
33500
|
begin: d,
|
|
33501
33501
|
// for performance out of fear of regex.either(...Mathematica.SYSTEM_SYMBOLS)
|
|
33502
33502
|
"on:begin": (A, I) => {
|
|
33503
|
-
|
|
33503
|
+
E.has(A[0]) || I.ignoreMatch();
|
|
33504
33504
|
}
|
|
33505
33505
|
},
|
|
33506
33506
|
{
|
|
@@ -33519,15 +33519,15 @@ function Vg() {
|
|
|
33519
33519
|
className: "pattern",
|
|
33520
33520
|
relevance: 0,
|
|
33521
33521
|
begin: /([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/
|
|
33522
|
-
},
|
|
33522
|
+
}, N = {
|
|
33523
33523
|
className: "slot",
|
|
33524
33524
|
relevance: 0,
|
|
33525
33525
|
begin: /#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/
|
|
33526
|
-
},
|
|
33526
|
+
}, R = {
|
|
33527
33527
|
className: "brace",
|
|
33528
33528
|
relevance: 0,
|
|
33529
33529
|
begin: /[[\](){}]/
|
|
33530
|
-
},
|
|
33530
|
+
}, C = {
|
|
33531
33531
|
className: "message-name",
|
|
33532
33532
|
relevance: 0,
|
|
33533
33533
|
begin: r.concat("::", d)
|
|
@@ -33550,14 +33550,14 @@ function Vg() {
|
|
|
33550
33550
|
contains: [
|
|
33551
33551
|
n.COMMENT(/\(\*/, /\*\)/, { contains: ["self"] }),
|
|
33552
33552
|
T,
|
|
33553
|
+
N,
|
|
33553
33554
|
C,
|
|
33554
|
-
R,
|
|
33555
33555
|
S,
|
|
33556
33556
|
b,
|
|
33557
33557
|
n.QUOTE_STRING_MODE,
|
|
33558
33558
|
p,
|
|
33559
33559
|
f,
|
|
33560
|
-
|
|
33560
|
+
R
|
|
33561
33561
|
]
|
|
33562
33562
|
};
|
|
33563
33563
|
}
|
|
@@ -34211,7 +34211,7 @@ function Zg() {
|
|
|
34211
34211
|
/(?:\\.|[^\\\/])*?/,
|
|
34212
34212
|
f,
|
|
34213
34213
|
a
|
|
34214
|
-
),
|
|
34214
|
+
), E = [
|
|
34215
34215
|
l,
|
|
34216
34216
|
t.HASH_COMMENT_MODE,
|
|
34217
34217
|
t.COMMENT(
|
|
@@ -34352,14 +34352,14 @@ function Zg() {
|
|
|
34352
34352
|
]
|
|
34353
34353
|
}
|
|
34354
34354
|
];
|
|
34355
|
-
return s.contains =
|
|
34355
|
+
return s.contains = E, o.contains = E, {
|
|
34356
34356
|
name: "Perl",
|
|
34357
34357
|
aliases: [
|
|
34358
34358
|
"pl",
|
|
34359
34359
|
"pm"
|
|
34360
34360
|
],
|
|
34361
34361
|
keywords: i,
|
|
34362
|
-
contains:
|
|
34362
|
+
contains: E
|
|
34363
34363
|
};
|
|
34364
34364
|
}
|
|
34365
34365
|
return Ua = e, Ua;
|
|
@@ -35687,7 +35687,7 @@ function iS() {
|
|
|
35687
35687
|
}, d = {
|
|
35688
35688
|
scope: "char.escape",
|
|
35689
35689
|
match: /\\\$/
|
|
35690
|
-
},
|
|
35690
|
+
}, E = {
|
|
35691
35691
|
scope: "char.escape",
|
|
35692
35692
|
match: /''\$/
|
|
35693
35693
|
}, S = {
|
|
@@ -35708,7 +35708,7 @@ function iS() {
|
|
|
35708
35708
|
begin: "''",
|
|
35709
35709
|
end: "''",
|
|
35710
35710
|
contains: [
|
|
35711
|
-
|
|
35711
|
+
E,
|
|
35712
35712
|
S,
|
|
35713
35713
|
b,
|
|
35714
35714
|
f
|
|
@@ -35724,10 +35724,10 @@ function iS() {
|
|
|
35724
35724
|
]
|
|
35725
35725
|
}
|
|
35726
35726
|
]
|
|
35727
|
-
},
|
|
35727
|
+
}, N = {
|
|
35728
35728
|
scope: "params",
|
|
35729
35729
|
match: new RegExp(`${i}\\s*:(?=\\s)`)
|
|
35730
|
-
},
|
|
35730
|
+
}, R = [
|
|
35731
35731
|
_,
|
|
35732
35732
|
t.HASH_COMMENT_MODE,
|
|
35733
35733
|
t.C_BLOCK_COMMENT_MODE,
|
|
@@ -35743,13 +35743,13 @@ function iS() {
|
|
|
35743
35743
|
T,
|
|
35744
35744
|
s,
|
|
35745
35745
|
c,
|
|
35746
|
-
|
|
35746
|
+
N,
|
|
35747
35747
|
p,
|
|
35748
35748
|
m,
|
|
35749
35749
|
u
|
|
35750
35750
|
];
|
|
35751
|
-
S.contains =
|
|
35752
|
-
const
|
|
35751
|
+
S.contains = R;
|
|
35752
|
+
const C = [
|
|
35753
35753
|
{
|
|
35754
35754
|
scope: "meta.prompt",
|
|
35755
35755
|
match: /^nix-repl>(?=\s)/,
|
|
@@ -35765,7 +35765,7 @@ function iS() {
|
|
|
35765
35765
|
name: "Nix",
|
|
35766
35766
|
aliases: ["nixos"],
|
|
35767
35767
|
keywords: r,
|
|
35768
|
-
contains:
|
|
35768
|
+
contains: R.concat(C)
|
|
35769
35769
|
};
|
|
35770
35770
|
}
|
|
35771
35771
|
return Wa = e, Wa;
|
|
@@ -35995,7 +35995,7 @@ function sS() {
|
|
|
35995
35995
|
c,
|
|
35996
35996
|
l
|
|
35997
35997
|
]
|
|
35998
|
-
},
|
|
35998
|
+
}, E = [
|
|
35999
35999
|
"Abort",
|
|
36000
36000
|
"AddBrandingImage",
|
|
36001
36001
|
"AddSize",
|
|
@@ -36289,7 +36289,7 @@ function sS() {
|
|
|
36289
36289
|
name: "NSIS",
|
|
36290
36290
|
case_insensitive: !0,
|
|
36291
36291
|
keywords: {
|
|
36292
|
-
keyword:
|
|
36292
|
+
keyword: E,
|
|
36293
36293
|
literal: S
|
|
36294
36294
|
},
|
|
36295
36295
|
contains: [
|
|
@@ -36870,7 +36870,7 @@ function mS() {
|
|
|
36870
36870
|
}).join("|"), _ = "CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ", m = "FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ", p = (
|
|
36871
36871
|
// exceptions https://www.postgresql.org/docs/current/static/errcodes-appendix.html
|
|
36872
36872
|
"SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED "
|
|
36873
|
-
),
|
|
36873
|
+
), E = /* https://www.postgresql.org/docs/11/static/functions-aggregate.html */ "ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(S) {
|
|
36874
36874
|
return S.split("|")[0];
|
|
36875
36875
|
}).join("|");
|
|
36876
36876
|
return {
|
|
@@ -37013,7 +37013,7 @@ function mS() {
|
|
|
37013
37013
|
},
|
|
37014
37014
|
// Known functions - only when followed by '('
|
|
37015
37015
|
{
|
|
37016
|
-
begin: "\\b(" +
|
|
37016
|
+
begin: "\\b(" + E + ")\\s*\\("
|
|
37017
37017
|
// keywords: { built_in: FUNCTIONS }
|
|
37018
37018
|
},
|
|
37019
37019
|
// Types
|
|
@@ -37171,7 +37171,7 @@ function ES() {
|
|
|
37171
37171
|
begin: /<<<[ \t]*'(\w+)'\n/,
|
|
37172
37172
|
end: /[ \t]*(\w+)\b/
|
|
37173
37173
|
}), d = `[
|
|
37174
|
-
]`,
|
|
37174
|
+
]`, E = {
|
|
37175
37175
|
scope: "string",
|
|
37176
37176
|
variants: [
|
|
37177
37177
|
_,
|
|
@@ -37391,7 +37391,7 @@ function ES() {
|
|
|
37391
37391
|
"self",
|
|
37392
37392
|
"static",
|
|
37393
37393
|
"stdClass"
|
|
37394
|
-
],
|
|
37394
|
+
], R = {
|
|
37395
37395
|
keyword: f,
|
|
37396
37396
|
literal: ((Y) => {
|
|
37397
37397
|
const z = [];
|
|
@@ -37400,13 +37400,13 @@ function ES() {
|
|
|
37400
37400
|
}), z;
|
|
37401
37401
|
})(b),
|
|
37402
37402
|
built_in: T
|
|
37403
|
-
},
|
|
37403
|
+
}, C = (Y) => Y.map((z) => z.replace(/\|\d+$/, "")), A = { variants: [
|
|
37404
37404
|
{
|
|
37405
37405
|
match: [
|
|
37406
37406
|
/new/,
|
|
37407
37407
|
n.concat(d, "+"),
|
|
37408
37408
|
// to prevent built ins from being confused as the class constructor call
|
|
37409
|
-
n.concat("(?!",
|
|
37409
|
+
n.concat("(?!", C(T).join("\\b|"), "\\b)"),
|
|
37410
37410
|
i
|
|
37411
37411
|
],
|
|
37412
37412
|
scope: {
|
|
@@ -37470,17 +37470,17 @@ function ES() {
|
|
|
37470
37470
|
] }, F = {
|
|
37471
37471
|
scope: "attr",
|
|
37472
37472
|
match: n.concat(a, n.lookahead(":"), n.lookahead(/(?!::)/))
|
|
37473
|
-
},
|
|
37473
|
+
}, D = {
|
|
37474
37474
|
relevance: 0,
|
|
37475
37475
|
begin: /\(/,
|
|
37476
37476
|
end: /\)/,
|
|
37477
|
-
keywords:
|
|
37477
|
+
keywords: R,
|
|
37478
37478
|
contains: [
|
|
37479
37479
|
F,
|
|
37480
37480
|
o,
|
|
37481
37481
|
M,
|
|
37482
37482
|
t.C_BLOCK_COMMENT_MODE,
|
|
37483
|
-
|
|
37483
|
+
E,
|
|
37484
37484
|
S,
|
|
37485
37485
|
A
|
|
37486
37486
|
]
|
|
@@ -37489,20 +37489,20 @@ function ES() {
|
|
|
37489
37489
|
match: [
|
|
37490
37490
|
/\b/,
|
|
37491
37491
|
// to prevent keywords from being confused as the function title
|
|
37492
|
-
n.concat("(?!fn\\b|function\\b|",
|
|
37492
|
+
n.concat("(?!fn\\b|function\\b|", C(f).join("\\b|"), "|", C(T).join("\\b|"), "\\b)"),
|
|
37493
37493
|
a,
|
|
37494
37494
|
n.concat(d, "*"),
|
|
37495
37495
|
n.lookahead(/(?=\()/)
|
|
37496
37496
|
],
|
|
37497
37497
|
scope: { 3: "title.function.invoke" },
|
|
37498
|
-
contains: [
|
|
37498
|
+
contains: [D]
|
|
37499
37499
|
};
|
|
37500
|
-
|
|
37500
|
+
D.contains.push(H);
|
|
37501
37501
|
const J = [
|
|
37502
37502
|
F,
|
|
37503
37503
|
M,
|
|
37504
37504
|
t.C_BLOCK_COMMENT_MODE,
|
|
37505
|
-
|
|
37505
|
+
E,
|
|
37506
37506
|
S,
|
|
37507
37507
|
A
|
|
37508
37508
|
], X = {
|
|
@@ -37551,7 +37551,7 @@ function ES() {
|
|
|
37551
37551
|
};
|
|
37552
37552
|
return {
|
|
37553
37553
|
case_insensitive: !1,
|
|
37554
|
-
keywords:
|
|
37554
|
+
keywords: R,
|
|
37555
37555
|
contains: [
|
|
37556
37556
|
X,
|
|
37557
37557
|
t.HASH_COMMENT_MODE,
|
|
@@ -37622,14 +37622,14 @@ function ES() {
|
|
|
37622
37622
|
end: "\\)",
|
|
37623
37623
|
excludeBegin: !0,
|
|
37624
37624
|
excludeEnd: !0,
|
|
37625
|
-
keywords:
|
|
37625
|
+
keywords: R,
|
|
37626
37626
|
contains: [
|
|
37627
37627
|
"self",
|
|
37628
37628
|
X,
|
|
37629
37629
|
o,
|
|
37630
37630
|
M,
|
|
37631
37631
|
t.C_BLOCK_COMMENT_MODE,
|
|
37632
|
-
|
|
37632
|
+
E,
|
|
37633
37633
|
S
|
|
37634
37634
|
]
|
|
37635
37635
|
}
|
|
@@ -37679,7 +37679,7 @@ function ES() {
|
|
|
37679
37679
|
t.UNDERSCORE_TITLE_MODE
|
|
37680
37680
|
]
|
|
37681
37681
|
},
|
|
37682
|
-
|
|
37682
|
+
E,
|
|
37683
37683
|
S
|
|
37684
37684
|
]
|
|
37685
37685
|
};
|
|
@@ -37909,7 +37909,7 @@ function bS() {
|
|
|
37909
37909
|
), d = {
|
|
37910
37910
|
className: "built_in",
|
|
37911
37911
|
variants: [{ begin: "(".concat(r, ")+(-)[\\w\\d]+") }]
|
|
37912
|
-
},
|
|
37912
|
+
}, E = {
|
|
37913
37913
|
className: "class",
|
|
37914
37914
|
beginKeywords: "class enum",
|
|
37915
37915
|
end: /\s*[{]/,
|
|
@@ -37970,7 +37970,7 @@ function bS() {
|
|
|
37970
37970
|
className: "selector-tag",
|
|
37971
37971
|
begin: /@\B/,
|
|
37972
37972
|
relevance: 0
|
|
37973
|
-
},
|
|
37973
|
+
}, N = {
|
|
37974
37974
|
className: "function",
|
|
37975
37975
|
begin: /\[.*\]\s*[\w]+[ ]??\(/,
|
|
37976
37976
|
end: /$/,
|
|
@@ -37991,9 +37991,9 @@ function bS() {
|
|
|
37991
37991
|
},
|
|
37992
37992
|
t.inherit(t.TITLE_MODE, { endsParent: !0 })
|
|
37993
37993
|
]
|
|
37994
|
-
},
|
|
37994
|
+
}, R = [
|
|
37995
37995
|
// STATIC_MEMBER,
|
|
37996
|
-
|
|
37996
|
+
N,
|
|
37997
37997
|
p,
|
|
37998
37998
|
o,
|
|
37999
37999
|
t.NUMBER_MODE,
|
|
@@ -38004,7 +38004,7 @@ function bS() {
|
|
|
38004
38004
|
c,
|
|
38005
38005
|
l,
|
|
38006
38006
|
T
|
|
38007
|
-
],
|
|
38007
|
+
], C = {
|
|
38008
38008
|
begin: /\[/,
|
|
38009
38009
|
end: /\]/,
|
|
38010
38010
|
excludeBegin: !0,
|
|
@@ -38012,7 +38012,7 @@ function bS() {
|
|
|
38012
38012
|
relevance: 0,
|
|
38013
38013
|
contains: [].concat(
|
|
38014
38014
|
"self",
|
|
38015
|
-
|
|
38015
|
+
R,
|
|
38016
38016
|
{
|
|
38017
38017
|
begin: "(" + n.join("|") + ")",
|
|
38018
38018
|
className: "built_in",
|
|
@@ -38025,7 +38025,7 @@ function bS() {
|
|
|
38025
38025
|
}
|
|
38026
38026
|
)
|
|
38027
38027
|
};
|
|
38028
|
-
return
|
|
38028
|
+
return N.contains.unshift(C), {
|
|
38029
38029
|
name: "PowerShell",
|
|
38030
38030
|
aliases: [
|
|
38031
38031
|
"pwsh",
|
|
@@ -38034,12 +38034,12 @@ function bS() {
|
|
|
38034
38034
|
],
|
|
38035
38035
|
case_insensitive: !0,
|
|
38036
38036
|
keywords: i,
|
|
38037
|
-
contains:
|
|
38038
|
-
|
|
38037
|
+
contains: R.concat(
|
|
38038
|
+
E,
|
|
38039
38039
|
S,
|
|
38040
38040
|
b,
|
|
38041
38041
|
f,
|
|
38042
|
-
|
|
38042
|
+
C
|
|
38043
38043
|
)
|
|
38044
38044
|
};
|
|
38045
38045
|
}
|
|
@@ -39107,7 +39107,7 @@ function IS() {
|
|
|
39107
39107
|
t.APOS_STRING_MODE,
|
|
39108
39108
|
t.QUOTE_STRING_MODE
|
|
39109
39109
|
]
|
|
39110
|
-
}, p = "[0-9](_?[0-9])*", d = `(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,
|
|
39110
|
+
}, p = "[0-9](_?[0-9])*", d = `(\\b(${p}))?\\.(${p})|\\b(${p})\\.`, E = `\\b|${a.join("|")}`, S = {
|
|
39111
39111
|
className: "number",
|
|
39112
39112
|
relevance: 0,
|
|
39113
39113
|
variants: [
|
|
@@ -39122,7 +39122,7 @@ function IS() {
|
|
|
39122
39122
|
// because both MUST contain a decimal point and so cannot be confused with
|
|
39123
39123
|
// the interior part of an identifier
|
|
39124
39124
|
{
|
|
39125
|
-
begin: `(\\b(${p})|(${d}))[eE][+-]?(${p})[jJ]?(?=${
|
|
39125
|
+
begin: `(\\b(${p})|(${d}))[eE][+-]?(${p})[jJ]?(?=${E})`
|
|
39126
39126
|
},
|
|
39127
39127
|
{
|
|
39128
39128
|
begin: `(${d})[jJ]?`
|
|
@@ -39134,21 +39134,21 @@ function IS() {
|
|
|
39134
39134
|
// decinteger is optionally imaginary
|
|
39135
39135
|
// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
|
|
39136
39136
|
{
|
|
39137
|
-
begin: `\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${
|
|
39137
|
+
begin: `\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${E})`
|
|
39138
39138
|
},
|
|
39139
39139
|
{
|
|
39140
|
-
begin: `\\b0[bB](_?[01])+[lL]?(?=${
|
|
39140
|
+
begin: `\\b0[bB](_?[01])+[lL]?(?=${E})`
|
|
39141
39141
|
},
|
|
39142
39142
|
{
|
|
39143
|
-
begin: `\\b0[oO](_?[0-7])+[lL]?(?=${
|
|
39143
|
+
begin: `\\b0[oO](_?[0-7])+[lL]?(?=${E})`
|
|
39144
39144
|
},
|
|
39145
39145
|
{
|
|
39146
|
-
begin: `\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${
|
|
39146
|
+
begin: `\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${E})`
|
|
39147
39147
|
},
|
|
39148
39148
|
// imagnumber (digitpart-based)
|
|
39149
39149
|
// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
|
|
39150
39150
|
{
|
|
39151
|
-
begin: `\\b(${p})[jJ](?=${
|
|
39151
|
+
begin: `\\b(${p})[jJ](?=${E})`
|
|
39152
39152
|
}
|
|
39153
39153
|
]
|
|
39154
39154
|
}, b = {
|
|
@@ -45816,10 +45816,10 @@ function QS() {
|
|
|
45816
45816
|
"nulls last",
|
|
45817
45817
|
"depth first",
|
|
45818
45818
|
"breadth first"
|
|
45819
|
-
], d = _,
|
|
45819
|
+
], d = _, E = [
|
|
45820
45820
|
...u,
|
|
45821
45821
|
...l
|
|
45822
|
-
].filter((
|
|
45822
|
+
].filter((C) => !_.includes(C)), S = {
|
|
45823
45823
|
scope: "variable",
|
|
45824
45824
|
match: /@[a-z0-9][a-z0-9_]*/
|
|
45825
45825
|
}, b = {
|
|
@@ -45831,24 +45831,24 @@ function QS() {
|
|
|
45831
45831
|
relevance: 0,
|
|
45832
45832
|
keywords: { built_in: d }
|
|
45833
45833
|
};
|
|
45834
|
-
function T(
|
|
45834
|
+
function T(C) {
|
|
45835
45835
|
return n.concat(
|
|
45836
45836
|
/\b/,
|
|
45837
|
-
n.either(...
|
|
45837
|
+
n.either(...C.map((A) => A.replace(/\s+/, "\\s+"))),
|
|
45838
45838
|
/\b/
|
|
45839
45839
|
);
|
|
45840
45840
|
}
|
|
45841
|
-
const
|
|
45841
|
+
const N = {
|
|
45842
45842
|
scope: "keyword",
|
|
45843
45843
|
match: T(p),
|
|
45844
45844
|
relevance: 0
|
|
45845
45845
|
};
|
|
45846
|
-
function
|
|
45846
|
+
function R(C, {
|
|
45847
45847
|
exceptions: A,
|
|
45848
45848
|
when: I
|
|
45849
45849
|
} = {}) {
|
|
45850
45850
|
const M = I;
|
|
45851
|
-
return A = A || [],
|
|
45851
|
+
return A = A || [], C.map((F) => F.match(/\|\d+$/) || A.includes(F) ? F : M(F) ? `${F}|0` : F);
|
|
45852
45852
|
}
|
|
45853
45853
|
return {
|
|
45854
45854
|
name: "SQL",
|
|
@@ -45857,7 +45857,7 @@ function QS() {
|
|
|
45857
45857
|
illegal: /[{}]|<\//,
|
|
45858
45858
|
keywords: {
|
|
45859
45859
|
$pattern: /\b[\w\.]+/,
|
|
45860
|
-
keyword:
|
|
45860
|
+
keyword: R(E, { when: (C) => C.length < 3 }),
|
|
45861
45861
|
literal: s,
|
|
45862
45862
|
type: c,
|
|
45863
45863
|
built_in: m
|
|
@@ -45867,7 +45867,7 @@ function QS() {
|
|
|
45867
45867
|
scope: "type",
|
|
45868
45868
|
match: T(o)
|
|
45869
45869
|
},
|
|
45870
|
-
|
|
45870
|
+
N,
|
|
45871
45871
|
f,
|
|
45872
45872
|
S,
|
|
45873
45873
|
a,
|
|
@@ -47493,7 +47493,7 @@ function tf() {
|
|
|
47493
47493
|
return typeof M == "object" && M.constructor === Object ? (I.splice(I.length - 1, 1), M) : {};
|
|
47494
47494
|
}
|
|
47495
47495
|
function a(...I) {
|
|
47496
|
-
return "(" + (r(I).capture ? "" : "?:") + I.map((
|
|
47496
|
+
return "(" + (r(I).capture ? "" : "?:") + I.map((D) => e(D)).join("|") + ")";
|
|
47497
47497
|
}
|
|
47498
47498
|
const i = (I) => n(
|
|
47499
47499
|
/\b/,
|
|
@@ -47732,7 +47732,7 @@ function tf() {
|
|
|
47732
47732
|
/[\u3001-\u3003]/,
|
|
47733
47733
|
/[\u3008-\u3020]/,
|
|
47734
47734
|
/[\u3030]/
|
|
47735
|
-
),
|
|
47735
|
+
), E = a(
|
|
47736
47736
|
d,
|
|
47737
47737
|
/[\u0300-\u036F]/,
|
|
47738
47738
|
/[\u1DC0-\u1DFF]/,
|
|
@@ -47741,7 +47741,7 @@ function tf() {
|
|
|
47741
47741
|
/[\uFE20-\uFE2F]/
|
|
47742
47742
|
// TODO: The following characters are also allowed, but the regex isn't supported yet.
|
|
47743
47743
|
// /[\u{E0100}-\u{E01EF}]/u
|
|
47744
|
-
), S = n(d,
|
|
47744
|
+
), S = n(d, E, "*"), b = a(
|
|
47745
47745
|
/[a-zA-Z_]/,
|
|
47746
47746
|
/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,
|
|
47747
47747
|
/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,
|
|
@@ -47763,7 +47763,7 @@ function tf() {
|
|
|
47763
47763
|
b,
|
|
47764
47764
|
/\d/,
|
|
47765
47765
|
/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/
|
|
47766
|
-
), T = n(b, f, "*"),
|
|
47766
|
+
), T = n(b, f, "*"), N = n(/[A-Z]/, f, "*"), R = [
|
|
47767
47767
|
"attached",
|
|
47768
47768
|
"autoclosure",
|
|
47769
47769
|
n(/convention\(/, a("swift", "block", "c"), /\)/),
|
|
@@ -47798,7 +47798,7 @@ function tf() {
|
|
|
47798
47798
|
"unknown",
|
|
47799
47799
|
"usableFromInline",
|
|
47800
47800
|
"warn_unqualified_access"
|
|
47801
|
-
],
|
|
47801
|
+
], C = [
|
|
47802
47802
|
"iOS",
|
|
47803
47803
|
"iOSApplicationExtension",
|
|
47804
47804
|
"macOS",
|
|
@@ -47819,7 +47819,7 @@ function tf() {
|
|
|
47819
47819
|
"/\\*",
|
|
47820
47820
|
"\\*/",
|
|
47821
47821
|
{ contains: ["self"] }
|
|
47822
|
-
),
|
|
47822
|
+
), D = [
|
|
47823
47823
|
I.C_LINE_COMMENT_MODE,
|
|
47824
47824
|
F
|
|
47825
47825
|
], H = {
|
|
@@ -47873,7 +47873,7 @@ function tf() {
|
|
|
47873
47873
|
// dot-operator: only operators that start with a dot are allowed to use dots as
|
|
47874
47874
|
// characters (..., ...<, .*, etc). So there rule here is: a dot followed by one or more
|
|
47875
47875
|
// characters that may also include dots.
|
|
47876
|
-
match: `\\.(\\.|${
|
|
47876
|
+
match: `\\.(\\.|${E})+`
|
|
47877
47877
|
}
|
|
47878
47878
|
]
|
|
47879
47879
|
}, Se = [
|
|
@@ -47984,7 +47984,7 @@ function tf() {
|
|
|
47984
47984
|
{
|
|
47985
47985
|
begin: /\(/,
|
|
47986
47986
|
end: /\)/,
|
|
47987
|
-
keywords:
|
|
47987
|
+
keywords: C,
|
|
47988
47988
|
contains: [
|
|
47989
47989
|
...Se,
|
|
47990
47990
|
Q,
|
|
@@ -47994,7 +47994,7 @@ function tf() {
|
|
|
47994
47994
|
] }
|
|
47995
47995
|
}, bt = {
|
|
47996
47996
|
scope: "keyword",
|
|
47997
|
-
match: n(/@/, a(...
|
|
47997
|
+
match: n(/@/, a(...R), t(a(/\(/, /\s+/)))
|
|
47998
47998
|
}, Pe = {
|
|
47999
47999
|
scope: "meta",
|
|
48000
48000
|
match: n(/@/, T)
|
|
@@ -48014,7 +48014,7 @@ function tf() {
|
|
|
48014
48014
|
{
|
|
48015
48015
|
// Type identifier
|
|
48016
48016
|
className: "type",
|
|
48017
|
-
match:
|
|
48017
|
+
match: N,
|
|
48018
48018
|
relevance: 0
|
|
48019
48019
|
},
|
|
48020
48020
|
{
|
|
@@ -48029,7 +48029,7 @@ function tf() {
|
|
|
48029
48029
|
},
|
|
48030
48030
|
{
|
|
48031
48031
|
// Protocol composition
|
|
48032
|
-
match: n(/\s+&\s+/, t(
|
|
48032
|
+
match: n(/\s+&\s+/, t(N)),
|
|
48033
48033
|
relevance: 0
|
|
48034
48034
|
}
|
|
48035
48035
|
]
|
|
@@ -48038,7 +48038,7 @@ function tf() {
|
|
|
48038
48038
|
end: />/,
|
|
48039
48039
|
keywords: j,
|
|
48040
48040
|
contains: [
|
|
48041
|
-
...
|
|
48041
|
+
...D,
|
|
48042
48042
|
...ae,
|
|
48043
48043
|
...We,
|
|
48044
48044
|
ve,
|
|
@@ -48058,7 +48058,7 @@ function tf() {
|
|
|
48058
48058
|
contains: [
|
|
48059
48059
|
"self",
|
|
48060
48060
|
Tt,
|
|
48061
|
-
...
|
|
48061
|
+
...D,
|
|
48062
48062
|
gt,
|
|
48063
48063
|
...ae,
|
|
48064
48064
|
...Ce,
|
|
@@ -48074,7 +48074,7 @@ function tf() {
|
|
|
48074
48074
|
end: />/,
|
|
48075
48075
|
keywords: "repeat each",
|
|
48076
48076
|
contains: [
|
|
48077
|
-
...
|
|
48077
|
+
...D,
|
|
48078
48078
|
be
|
|
48079
48079
|
]
|
|
48080
48080
|
}, Wt = {
|
|
@@ -48100,7 +48100,7 @@ function tf() {
|
|
|
48100
48100
|
keywords: j,
|
|
48101
48101
|
contains: [
|
|
48102
48102
|
Wt,
|
|
48103
|
-
...
|
|
48103
|
+
...D,
|
|
48104
48104
|
...ae,
|
|
48105
48105
|
...Se,
|
|
48106
48106
|
Q,
|
|
@@ -48156,7 +48156,7 @@ function tf() {
|
|
|
48156
48156
|
begin: [
|
|
48157
48157
|
/precedencegroup/,
|
|
48158
48158
|
/\s+/,
|
|
48159
|
-
|
|
48159
|
+
N
|
|
48160
48160
|
],
|
|
48161
48161
|
className: {
|
|
48162
48162
|
1: "keyword",
|
|
@@ -48213,7 +48213,7 @@ function tf() {
|
|
|
48213
48213
|
contains: [
|
|
48214
48214
|
{
|
|
48215
48215
|
scope: "title.class.inherited",
|
|
48216
|
-
match:
|
|
48216
|
+
match: N
|
|
48217
48217
|
},
|
|
48218
48218
|
...ae
|
|
48219
48219
|
],
|
|
@@ -48248,7 +48248,7 @@ function tf() {
|
|
|
48248
48248
|
name: "Swift",
|
|
48249
48249
|
keywords: j,
|
|
48250
48250
|
contains: [
|
|
48251
|
-
...
|
|
48251
|
+
...D,
|
|
48252
48252
|
$t,
|
|
48253
48253
|
Nt,
|
|
48254
48254
|
Xt,
|
|
@@ -48259,7 +48259,7 @@ function tf() {
|
|
|
48259
48259
|
{
|
|
48260
48260
|
beginKeywords: "import",
|
|
48261
48261
|
end: /$/,
|
|
48262
|
-
contains: [...
|
|
48262
|
+
contains: [...D],
|
|
48263
48263
|
relevance: 0
|
|
48264
48264
|
},
|
|
48265
48265
|
gt,
|
|
@@ -48407,7 +48407,7 @@ function rf() {
|
|
|
48407
48407
|
excludeEnd: !0,
|
|
48408
48408
|
keywords: n,
|
|
48409
48409
|
relevance: 0
|
|
48410
|
-
},
|
|
48410
|
+
}, E = {
|
|
48411
48411
|
begin: /\{/,
|
|
48412
48412
|
end: /\}/,
|
|
48413
48413
|
contains: [d],
|
|
@@ -48495,7 +48495,7 @@ function rf() {
|
|
|
48495
48495
|
begin: t.C_NUMBER_RE + "\\b",
|
|
48496
48496
|
relevance: 0
|
|
48497
48497
|
},
|
|
48498
|
-
|
|
48498
|
+
E,
|
|
48499
48499
|
S,
|
|
48500
48500
|
s,
|
|
48501
48501
|
o
|
|
@@ -49113,7 +49113,7 @@ function lf() {
|
|
|
49113
49113
|
"verbatim",
|
|
49114
49114
|
"with"
|
|
49115
49115
|
];
|
|
49116
|
-
i = i.concat(i.map((
|
|
49116
|
+
i = i.concat(i.map((E) => `end${E}`));
|
|
49117
49117
|
const s = {
|
|
49118
49118
|
scope: "string",
|
|
49119
49119
|
variants: [
|
|
@@ -49153,7 +49153,7 @@ function lf() {
|
|
|
49153
49153
|
keywords: a
|
|
49154
49154
|
}
|
|
49155
49155
|
]
|
|
49156
|
-
}, _ = (
|
|
49156
|
+
}, _ = (E, { relevance: S }) => ({
|
|
49157
49157
|
beginScope: {
|
|
49158
49158
|
1: "template-tag",
|
|
49159
49159
|
3: "name"
|
|
@@ -49163,7 +49163,7 @@ function lf() {
|
|
|
49163
49163
|
begin: [
|
|
49164
49164
|
/\{%/,
|
|
49165
49165
|
/\s*/,
|
|
49166
|
-
n.either(...
|
|
49166
|
+
n.either(...E)
|
|
49167
49167
|
],
|
|
49168
49168
|
end: /%\}/,
|
|
49169
49169
|
keywords: "in",
|
|
@@ -49357,7 +49357,7 @@ function uf() {
|
|
|
49357
49357
|
}, p = e, d = {
|
|
49358
49358
|
begin: "<>",
|
|
49359
49359
|
end: "</>"
|
|
49360
|
-
},
|
|
49360
|
+
}, E = /<[A-Za-z0-9\\._:-]+\s*\/>/, S = {
|
|
49361
49361
|
begin: /<[A-Za-z0-9\\._:-]+/,
|
|
49362
49362
|
end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
|
|
49363
49363
|
/**
|
|
@@ -49395,12 +49395,12 @@ function uf() {
|
|
|
49395
49395
|
literal: n,
|
|
49396
49396
|
built_in: o,
|
|
49397
49397
|
"variable.language": s
|
|
49398
|
-
}, f = "[0-9](_?[0-9])*", T = `\\.(${f})`,
|
|
49398
|
+
}, f = "[0-9](_?[0-9])*", T = `\\.(${f})`, N = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", R = {
|
|
49399
49399
|
className: "number",
|
|
49400
49400
|
variants: [
|
|
49401
49401
|
// DecimalLiteral
|
|
49402
|
-
{ begin: `(\\b(${
|
|
49403
|
-
{ begin: `\\b(${
|
|
49402
|
+
{ begin: `(\\b(${N})((${T})|\\.)?|(${T}))[eE][+-]?(${f})\\b` },
|
|
49403
|
+
{ begin: `\\b(${N})\\b((${T})\\b|\\.)?|(${T})\\b` },
|
|
49404
49404
|
// DecimalBigIntegerLiteral
|
|
49405
49405
|
{ begin: "\\b(0|[1-9](_?[0-9])*)n\\b" },
|
|
49406
49406
|
// NonDecimalIntegerLiteral
|
|
@@ -49412,7 +49412,7 @@ function uf() {
|
|
|
49412
49412
|
{ begin: "\\b0[0-7]+n?\\b" }
|
|
49413
49413
|
],
|
|
49414
49414
|
relevance: 0
|
|
49415
|
-
},
|
|
49415
|
+
}, C = {
|
|
49416
49416
|
className: "subst",
|
|
49417
49417
|
begin: "\\$\\{",
|
|
49418
49418
|
end: "\\}",
|
|
@@ -49427,7 +49427,7 @@ function uf() {
|
|
|
49427
49427
|
returnEnd: !1,
|
|
49428
49428
|
contains: [
|
|
49429
49429
|
u.BACKSLASH_ESCAPE,
|
|
49430
|
-
|
|
49430
|
+
C
|
|
49431
49431
|
],
|
|
49432
49432
|
subLanguage: "xml"
|
|
49433
49433
|
}
|
|
@@ -49439,7 +49439,7 @@ function uf() {
|
|
|
49439
49439
|
returnEnd: !1,
|
|
49440
49440
|
contains: [
|
|
49441
49441
|
u.BACKSLASH_ESCAPE,
|
|
49442
|
-
|
|
49442
|
+
C
|
|
49443
49443
|
],
|
|
49444
49444
|
subLanguage: "css"
|
|
49445
49445
|
}
|
|
@@ -49451,7 +49451,7 @@ function uf() {
|
|
|
49451
49451
|
returnEnd: !1,
|
|
49452
49452
|
contains: [
|
|
49453
49453
|
u.BACKSLASH_ESCAPE,
|
|
49454
|
-
|
|
49454
|
+
C
|
|
49455
49455
|
],
|
|
49456
49456
|
subLanguage: "graphql"
|
|
49457
49457
|
}
|
|
@@ -49461,7 +49461,7 @@ function uf() {
|
|
|
49461
49461
|
end: "`",
|
|
49462
49462
|
contains: [
|
|
49463
49463
|
u.BACKSLASH_ESCAPE,
|
|
49464
|
-
|
|
49464
|
+
C
|
|
49465
49465
|
]
|
|
49466
49466
|
}, H = {
|
|
49467
49467
|
className: "comment",
|
|
@@ -49517,12 +49517,12 @@ function uf() {
|
|
|
49517
49517
|
F,
|
|
49518
49518
|
// Skip numbers when they are part of a variable name
|
|
49519
49519
|
{ match: /\$\d+/ },
|
|
49520
|
-
|
|
49520
|
+
R
|
|
49521
49521
|
// This is intentional:
|
|
49522
49522
|
// See https://github.com/highlightjs/highlight.js/issues/3288
|
|
49523
49523
|
// hljs.REGEXP_MODE
|
|
49524
49524
|
];
|
|
49525
|
-
|
|
49525
|
+
C.contains = J.concat({
|
|
49526
49526
|
// we need to pair up {} inside our subst to prevent
|
|
49527
49527
|
// it from ending too early by matching another }
|
|
49528
49528
|
begin: /\{/,
|
|
@@ -49532,7 +49532,7 @@ function uf() {
|
|
|
49532
49532
|
"self"
|
|
49533
49533
|
].concat(J)
|
|
49534
49534
|
});
|
|
49535
|
-
const X = [].concat(H,
|
|
49535
|
+
const X = [].concat(H, C.contains), Y = X.concat([
|
|
49536
49536
|
// eat recursive parens in sub expressions
|
|
49537
49537
|
{
|
|
49538
49538
|
begin: /(\s*)\(/,
|
|
@@ -49728,7 +49728,7 @@ function uf() {
|
|
|
49728
49728
|
H,
|
|
49729
49729
|
// Skip numbers when they are part of a variable name
|
|
49730
49730
|
{ match: /\$\d+/ },
|
|
49731
|
-
|
|
49731
|
+
R,
|
|
49732
49732
|
ae,
|
|
49733
49733
|
{
|
|
49734
49734
|
scope: "attr",
|
|
@@ -49790,7 +49790,7 @@ function uf() {
|
|
|
49790
49790
|
// JSX
|
|
49791
49791
|
variants: [
|
|
49792
49792
|
{ begin: d.begin, end: d.end },
|
|
49793
|
-
{ match:
|
|
49793
|
+
{ match: E },
|
|
49794
49794
|
{
|
|
49795
49795
|
begin: S.begin,
|
|
49796
49796
|
// we carefully check the opening tag to see if it truly
|
|
@@ -49871,7 +49871,7 @@ function uf() {
|
|
|
49871
49871
|
"symbol",
|
|
49872
49872
|
"bigint",
|
|
49873
49873
|
"unknown"
|
|
49874
|
-
],
|
|
49874
|
+
], E = {
|
|
49875
49875
|
begin: [
|
|
49876
49876
|
/namespace/,
|
|
49877
49877
|
/\s+/,
|
|
@@ -49914,35 +49914,35 @@ function uf() {
|
|
|
49914
49914
|
literal: n,
|
|
49915
49915
|
built_in: o.concat(d),
|
|
49916
49916
|
"variable.language": s
|
|
49917
|
-
},
|
|
49917
|
+
}, N = {
|
|
49918
49918
|
className: "meta",
|
|
49919
49919
|
begin: "@" + p
|
|
49920
|
-
},
|
|
49920
|
+
}, R = (M, F, D) => {
|
|
49921
49921
|
const H = M.contains.findIndex((J) => J.label === F);
|
|
49922
49922
|
if (H === -1)
|
|
49923
49923
|
throw new Error("can not find mode to replace");
|
|
49924
|
-
M.contains.splice(H, 1,
|
|
49924
|
+
M.contains.splice(H, 1, D);
|
|
49925
49925
|
};
|
|
49926
|
-
Object.assign(m.keywords, T), m.exports.PARAMS_CONTAINS.push(
|
|
49927
|
-
const
|
|
49926
|
+
Object.assign(m.keywords, T), m.exports.PARAMS_CONTAINS.push(N);
|
|
49927
|
+
const C = m.contains.find((M) => M.scope === "attr"), A = Object.assign(
|
|
49928
49928
|
{},
|
|
49929
|
-
|
|
49929
|
+
C,
|
|
49930
49930
|
{ match: _.concat(p, _.lookahead(/\s*\?:/)) }
|
|
49931
49931
|
);
|
|
49932
49932
|
m.exports.PARAMS_CONTAINS.push([
|
|
49933
49933
|
m.exports.CLASS_REFERENCE,
|
|
49934
49934
|
// class reference for highlighting the params types
|
|
49935
|
-
|
|
49935
|
+
C,
|
|
49936
49936
|
// highlight the params key
|
|
49937
49937
|
A
|
|
49938
49938
|
// Added for optional property assignment highlighting
|
|
49939
49939
|
]), m.contains = m.contains.concat([
|
|
49940
|
-
|
|
49941
|
-
|
|
49940
|
+
N,
|
|
49941
|
+
E,
|
|
49942
49942
|
S,
|
|
49943
49943
|
A
|
|
49944
49944
|
// Added for optional property assignment highlighting
|
|
49945
|
-
]),
|
|
49945
|
+
]), R(m, "shebang", u.SHEBANG()), R(m, "use_strict", b);
|
|
49946
49946
|
const I = m.contains.find((M) => M.label === "func.def");
|
|
49947
49947
|
return I.relevance = 0, Object.assign(m, {
|
|
49948
49948
|
name: "TypeScript",
|
|
@@ -51407,7 +51407,7 @@ function bf() {
|
|
|
51407
51407
|
end: r,
|
|
51408
51408
|
excludeBegin: !0,
|
|
51409
51409
|
relevance: 0
|
|
51410
|
-
},
|
|
51410
|
+
}, E = {
|
|
51411
51411
|
relevance: 0,
|
|
51412
51412
|
match: n.concat(/\b_/, r),
|
|
51413
51413
|
scope: "variable"
|
|
@@ -51441,7 +51441,7 @@ function bf() {
|
|
|
51441
51441
|
},
|
|
51442
51442
|
"self"
|
|
51443
51443
|
] }
|
|
51444
|
-
),
|
|
51444
|
+
), N = {
|
|
51445
51445
|
scope: "subst",
|
|
51446
51446
|
begin: /%\(/,
|
|
51447
51447
|
end: /\)/,
|
|
@@ -51449,15 +51449,15 @@ function bf() {
|
|
|
51449
51449
|
b,
|
|
51450
51450
|
S,
|
|
51451
51451
|
l,
|
|
51452
|
-
|
|
51452
|
+
E,
|
|
51453
51453
|
m
|
|
51454
51454
|
]
|
|
51455
|
-
},
|
|
51455
|
+
}, R = {
|
|
51456
51456
|
scope: "string",
|
|
51457
51457
|
begin: /"/,
|
|
51458
51458
|
end: /"/,
|
|
51459
51459
|
contains: [
|
|
51460
|
-
|
|
51460
|
+
N,
|
|
51461
51461
|
{
|
|
51462
51462
|
scope: "char.escape",
|
|
51463
51463
|
variants: [
|
|
@@ -51469,8 +51469,8 @@ function bf() {
|
|
|
51469
51469
|
}
|
|
51470
51470
|
]
|
|
51471
51471
|
};
|
|
51472
|
-
|
|
51473
|
-
const
|
|
51472
|
+
N.contains.push(R);
|
|
51473
|
+
const C = [
|
|
51474
51474
|
...a,
|
|
51475
51475
|
...s,
|
|
51476
51476
|
...i
|
|
@@ -51478,7 +51478,7 @@ function bf() {
|
|
|
51478
51478
|
relevance: 0,
|
|
51479
51479
|
match: n.concat(
|
|
51480
51480
|
"\\b(?!",
|
|
51481
|
-
|
|
51481
|
+
C.join("|"),
|
|
51482
51482
|
"\\b)",
|
|
51483
51483
|
/[a-zA-Z_]\w*(?:[?!]|\b)/
|
|
51484
51484
|
),
|
|
@@ -51524,7 +51524,7 @@ function bf() {
|
|
|
51524
51524
|
]
|
|
51525
51525
|
},
|
|
51526
51526
|
b,
|
|
51527
|
-
|
|
51527
|
+
R,
|
|
51528
51528
|
p,
|
|
51529
51529
|
T,
|
|
51530
51530
|
t.C_LINE_COMMENT_MODE,
|
|
@@ -51535,7 +51535,7 @@ function bf() {
|
|
|
51535
51535
|
u,
|
|
51536
51536
|
l,
|
|
51537
51537
|
m,
|
|
51538
|
-
|
|
51538
|
+
E,
|
|
51539
51539
|
d,
|
|
51540
51540
|
A
|
|
51541
51541
|
]
|
|
@@ -52252,7 +52252,7 @@ function Of() {
|
|
|
52252
52252
|
}
|
|
52253
52253
|
var hf = /* @__PURE__ */ Of();
|
|
52254
52254
|
const cn = /* @__PURE__ */ zm(hf);
|
|
52255
|
-
var
|
|
52255
|
+
var Y_ = typeof global == "object" && global && global.Object === Object && global, Af = typeof self == "object" && self && self.Object === Object && self, dt = Y_ || Af || Function("return this")(), ln = dt.Symbol, q_ = Object.prototype, If = q_.hasOwnProperty, vf = q_.toString, Mt = ln ? ln.toStringTag : void 0;
|
|
52256
52256
|
function yf(e) {
|
|
52257
52257
|
var t = If.call(e, Mt), n = e[Mt];
|
|
52258
52258
|
try {
|
|
@@ -52279,7 +52279,7 @@ function tt(e) {
|
|
|
52279
52279
|
var t = typeof e;
|
|
52280
52280
|
return e != null && (t == "object" || t == "function");
|
|
52281
52281
|
}
|
|
52282
|
-
function
|
|
52282
|
+
function H_(e) {
|
|
52283
52283
|
return e;
|
|
52284
52284
|
}
|
|
52285
52285
|
var Pf = "[object AsyncFunction]", kf = "[object Function]", Ff = "[object GeneratorFunction]", Uf = "[object Proxy]";
|
|
@@ -52389,8 +52389,8 @@ var un = (function() {
|
|
|
52389
52389
|
value: ib(t),
|
|
52390
52390
|
writable: !0
|
|
52391
52391
|
});
|
|
52392
|
-
} :
|
|
52393
|
-
function
|
|
52392
|
+
} : H_, sb = ab(ob), cb = 9007199254740991, lb = /^(?:0|[1-9]\d*)$/;
|
|
52393
|
+
function V_(e, t) {
|
|
52394
52394
|
var n = typeof e;
|
|
52395
52395
|
return t = t ?? cb, !!t && (n == "number" || n != "symbol" && lb.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
52396
52396
|
}
|
|
@@ -52431,20 +52431,20 @@ function mb(e, t, n) {
|
|
|
52431
52431
|
};
|
|
52432
52432
|
}
|
|
52433
52433
|
function Eb(e, t) {
|
|
52434
|
-
return sb(mb(e, t,
|
|
52434
|
+
return sb(mb(e, t, H_), e + "");
|
|
52435
52435
|
}
|
|
52436
52436
|
var gb = 9007199254740991;
|
|
52437
|
-
function
|
|
52437
|
+
function z_(e) {
|
|
52438
52438
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= gb;
|
|
52439
52439
|
}
|
|
52440
52440
|
function Mo(e) {
|
|
52441
|
-
return e != null &&
|
|
52441
|
+
return e != null && z_(e.length) && !yo(e);
|
|
52442
52442
|
}
|
|
52443
52443
|
function Sb(e, t, n) {
|
|
52444
52444
|
if (!tt(n))
|
|
52445
52445
|
return !1;
|
|
52446
52446
|
var r = typeof t;
|
|
52447
|
-
return (r == "number" ? Mo(n) &&
|
|
52447
|
+
return (r == "number" ? Mo(n) && V_(t, n.length) : r == "string" && t in n) ? gn(n[t], e) : !1;
|
|
52448
52448
|
}
|
|
52449
52449
|
function fb(e) {
|
|
52450
52450
|
return Eb(function(t, n) {
|
|
@@ -52457,7 +52457,7 @@ function fb(e) {
|
|
|
52457
52457
|
});
|
|
52458
52458
|
}
|
|
52459
52459
|
var bb = Object.prototype;
|
|
52460
|
-
function
|
|
52460
|
+
function W_(e) {
|
|
52461
52461
|
var t = e && e.constructor, n = typeof t == "function" && t.prototype || bb;
|
|
52462
52462
|
return e === n;
|
|
52463
52463
|
}
|
|
@@ -52470,7 +52470,7 @@ var Rb = "[object Arguments]";
|
|
|
52470
52470
|
function Xu(e) {
|
|
52471
52471
|
return qt(e) && En(e) == Rb;
|
|
52472
52472
|
}
|
|
52473
|
-
var
|
|
52473
|
+
var $_ = Object.prototype, Cb = $_.hasOwnProperty, Nb = $_.propertyIsEnumerable, fo = Xu(/* @__PURE__ */ (function() {
|
|
52474
52474
|
return arguments;
|
|
52475
52475
|
})()) ? Xu : function(e) {
|
|
52476
52476
|
return qt(e) && Cb.call(e, "callee") && !Nb.call(e, "callee");
|
|
@@ -52478,32 +52478,32 @@ var W_ = Object.prototype, Cb = W_.hasOwnProperty, Nb = W_.propertyIsEnumerable,
|
|
|
52478
52478
|
function Ob() {
|
|
52479
52479
|
return !1;
|
|
52480
52480
|
}
|
|
52481
|
-
var
|
|
52481
|
+
var K_ = typeof exports == "object" && exports && !exports.nodeType && exports, Zu = K_ && typeof module == "object" && module && !module.nodeType && module, hb = Zu && Zu.exports === K_, Ju = hb ? dt.Buffer : void 0, Ab = Ju ? Ju.isBuffer : void 0, Q_ = Ab || Ob, Ib = "[object Arguments]", vb = "[object Array]", yb = "[object Boolean]", Db = "[object Date]", xb = "[object Error]", Mb = "[object Function]", Lb = "[object Map]", wb = "[object Number]", Pb = "[object Object]", kb = "[object RegExp]", Fb = "[object Set]", Ub = "[object String]", Bb = "[object WeakMap]", Gb = "[object ArrayBuffer]", Yb = "[object DataView]", qb = "[object Float32Array]", Hb = "[object Float64Array]", Vb = "[object Int8Array]", zb = "[object Int16Array]", Wb = "[object Int32Array]", $b = "[object Uint8Array]", Kb = "[object Uint8ClampedArray]", Qb = "[object Uint16Array]", Xb = "[object Uint32Array]", te = {};
|
|
52482
52482
|
te[qb] = te[Hb] = te[Vb] = te[zb] = te[Wb] = te[$b] = te[Kb] = te[Qb] = te[Xb] = !0;
|
|
52483
52483
|
te[Ib] = te[vb] = te[Gb] = te[yb] = te[Yb] = te[Db] = te[xb] = te[Mb] = te[Lb] = te[wb] = te[Pb] = te[kb] = te[Fb] = te[Ub] = te[Bb] = !1;
|
|
52484
52484
|
function Zb(e) {
|
|
52485
|
-
return qt(e) &&
|
|
52485
|
+
return qt(e) && z_(e.length) && !!te[En(e)];
|
|
52486
52486
|
}
|
|
52487
52487
|
function Jb(e) {
|
|
52488
52488
|
return function(t) {
|
|
52489
52489
|
return e(t);
|
|
52490
52490
|
};
|
|
52491
52491
|
}
|
|
52492
|
-
var
|
|
52492
|
+
var X_ = typeof exports == "object" && exports && !exports.nodeType && exports, Lt = X_ && typeof module == "object" && module && !module.nodeType && module, jb = Lt && Lt.exports === X_, po = jb && Y_.process, ju = (function() {
|
|
52493
52493
|
try {
|
|
52494
52494
|
var e = Lt && Lt.require && Lt.require("util").types;
|
|
52495
52495
|
return e || po && po.binding && po.binding("util");
|
|
52496
52496
|
} catch {
|
|
52497
52497
|
}
|
|
52498
|
-
})(), e_ = ju && ju.isTypedArray,
|
|
52498
|
+
})(), e_ = ju && ju.isTypedArray, Z_ = e_ ? Jb(e_) : Zb;
|
|
52499
52499
|
function eT(e, t) {
|
|
52500
|
-
var n = So(e), r = !n && fo(e), a = !n && !r &&
|
|
52500
|
+
var n = So(e), r = !n && fo(e), a = !n && !r && Q_(e), i = !n && !r && !a && Z_(e), s = n || r || a || i, o = s ? Tb(e.length, String) : [], c = o.length;
|
|
52501
52501
|
for (var l in e)
|
|
52502
52502
|
s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
52503
52503
|
(l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
52504
52504
|
a && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
52505
52505
|
i && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
|
|
52506
|
-
|
|
52506
|
+
V_(l, c)) || o.push(l);
|
|
52507
52507
|
return o;
|
|
52508
52508
|
}
|
|
52509
52509
|
function tT(e, t) {
|
|
@@ -52522,12 +52522,12 @@ var rT = Object.prototype, aT = rT.hasOwnProperty;
|
|
|
52522
52522
|
function iT(e) {
|
|
52523
52523
|
if (!tt(e))
|
|
52524
52524
|
return nT(e);
|
|
52525
|
-
var t =
|
|
52525
|
+
var t = W_(e), n = [];
|
|
52526
52526
|
for (var r in e)
|
|
52527
52527
|
r == "constructor" && (t || !aT.call(e, r)) || n.push(r);
|
|
52528
52528
|
return n;
|
|
52529
52529
|
}
|
|
52530
|
-
function
|
|
52530
|
+
function J_(e) {
|
|
52531
52531
|
return Mo(e) ? eT(e) : iT(e);
|
|
52532
52532
|
}
|
|
52533
52533
|
var Ut = Do(Object, "create");
|
|
@@ -52609,11 +52609,11 @@ ze.prototype.delete = TT;
|
|
|
52609
52609
|
ze.prototype.get = RT;
|
|
52610
52610
|
ze.prototype.has = CT;
|
|
52611
52611
|
ze.prototype.set = NT;
|
|
52612
|
-
var
|
|
52612
|
+
var j_ = Do(dt, "Map");
|
|
52613
52613
|
function OT() {
|
|
52614
52614
|
this.size = 0, this.__data__ = {
|
|
52615
52615
|
hash: new et(),
|
|
52616
|
-
map: new (
|
|
52616
|
+
map: new (j_ || ze)(),
|
|
52617
52617
|
string: new et()
|
|
52618
52618
|
};
|
|
52619
52619
|
}
|
|
@@ -52651,15 +52651,15 @@ pt.prototype.delete = AT;
|
|
|
52651
52651
|
pt.prototype.get = IT;
|
|
52652
52652
|
pt.prototype.has = vT;
|
|
52653
52653
|
pt.prototype.set = yT;
|
|
52654
|
-
var
|
|
52654
|
+
var ed = tT(Object.getPrototypeOf, Object), DT = "[object Object]", xT = Function.prototype, MT = Object.prototype, td = xT.toString, LT = MT.hasOwnProperty, wT = td.call(Object);
|
|
52655
52655
|
function PT(e) {
|
|
52656
52656
|
if (!qt(e) || En(e) != DT)
|
|
52657
52657
|
return !1;
|
|
52658
|
-
var t =
|
|
52658
|
+
var t = ed(e);
|
|
52659
52659
|
if (t === null)
|
|
52660
52660
|
return !0;
|
|
52661
52661
|
var n = LT.call(t, "constructor") && t.constructor;
|
|
52662
|
-
return typeof n == "function" && n instanceof n &&
|
|
52662
|
+
return typeof n == "function" && n instanceof n && td.call(n) == wT;
|
|
52663
52663
|
}
|
|
52664
52664
|
function kT() {
|
|
52665
52665
|
this.__data__ = new ze(), this.size = 0;
|
|
@@ -52679,7 +52679,7 @@ function YT(e, t) {
|
|
|
52679
52679
|
var n = this.__data__;
|
|
52680
52680
|
if (n instanceof ze) {
|
|
52681
52681
|
var r = n.__data__;
|
|
52682
|
-
if (!
|
|
52682
|
+
if (!j_ || r.length < GT - 1)
|
|
52683
52683
|
return r.push([e, t]), this.size = ++n.size, this;
|
|
52684
52684
|
n = this.__data__ = new pt(r);
|
|
52685
52685
|
}
|
|
@@ -52694,7 +52694,7 @@ mt.prototype.delete = FT;
|
|
|
52694
52694
|
mt.prototype.get = UT;
|
|
52695
52695
|
mt.prototype.has = BT;
|
|
52696
52696
|
mt.prototype.set = YT;
|
|
52697
|
-
var
|
|
52697
|
+
var nd = typeof exports == "object" && exports && !exports.nodeType && exports, t_ = nd && typeof module == "object" && module && !module.nodeType && module, qT = t_ && t_.exports === nd, n_ = qT ? dt.Buffer : void 0;
|
|
52698
52698
|
n_ && n_.allocUnsafe;
|
|
52699
52699
|
function HT(e, t) {
|
|
52700
52700
|
return e.slice();
|
|
@@ -52709,7 +52709,7 @@ function zT(e, t) {
|
|
|
52709
52709
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
52710
52710
|
}
|
|
52711
52711
|
function WT(e) {
|
|
52712
|
-
return typeof e.constructor == "function" && !
|
|
52712
|
+
return typeof e.constructor == "function" && !W_(e) ? Jf(ed(e)) : {};
|
|
52713
52713
|
}
|
|
52714
52714
|
function $T(e) {
|
|
52715
52715
|
return function(t, n, r) {
|
|
@@ -52733,7 +52733,7 @@ function To(e, t) {
|
|
|
52733
52733
|
return e[t];
|
|
52734
52734
|
}
|
|
52735
52735
|
function XT(e) {
|
|
52736
|
-
return pb(e,
|
|
52736
|
+
return pb(e, J_(e));
|
|
52737
52737
|
}
|
|
52738
52738
|
function ZT(e, t, n, r, a, i, s) {
|
|
52739
52739
|
var o = To(e, n), c = To(t, n), l = s.get(c);
|
|
@@ -52743,36 +52743,36 @@ function ZT(e, t, n, r, a, i, s) {
|
|
|
52743
52743
|
}
|
|
52744
52744
|
var u = i ? i(o, c, n + "", e, t, s) : void 0, _ = u === void 0;
|
|
52745
52745
|
if (_) {
|
|
52746
|
-
var m = So(c), p = !m &&
|
|
52746
|
+
var m = So(c), p = !m && Q_(c), d = !m && !p && Z_(c);
|
|
52747
52747
|
u = c, m || p || d ? So(o) ? u = o : QT(o) ? u = eb(o) : p ? (_ = !1, u = HT(c)) : d ? (_ = !1, u = zT(c)) : u = [] : PT(c) || fo(c) ? (u = o, fo(o) ? u = XT(o) : (!tt(o) || yo(o)) && (u = WT(c))) : _ = !1;
|
|
52748
52748
|
}
|
|
52749
52749
|
_ && (s.set(c, u), a(u, c, r, i, s), s.delete(c)), bo(e, n, u);
|
|
52750
52750
|
}
|
|
52751
|
-
function
|
|
52751
|
+
function rd(e, t, n, r, a) {
|
|
52752
52752
|
e !== t && KT(t, function(i, s) {
|
|
52753
52753
|
if (a || (a = new mt()), tt(i))
|
|
52754
|
-
ZT(e, t, s, n,
|
|
52754
|
+
ZT(e, t, s, n, rd, r, a);
|
|
52755
52755
|
else {
|
|
52756
52756
|
var o = r ? r(To(e, s), i, s + "", e, t, a) : void 0;
|
|
52757
52757
|
o === void 0 && (o = i), bo(e, s, o);
|
|
52758
52758
|
}
|
|
52759
|
-
},
|
|
52759
|
+
}, J_);
|
|
52760
52760
|
}
|
|
52761
|
-
var
|
|
52762
|
-
|
|
52761
|
+
var ad = fb(function(e, t, n) {
|
|
52762
|
+
rd(e, t, n);
|
|
52763
52763
|
});
|
|
52764
52764
|
const JT = { class: "kernelift-md-render" }, jT = ["id"], eR = /* @__PURE__ */ a_({
|
|
52765
52765
|
name: "MdRender",
|
|
52766
52766
|
__name: "md-render",
|
|
52767
52767
|
props: /* @__PURE__ */ i_({
|
|
52768
|
-
modelValue: {},
|
|
52769
52768
|
plugins: { default: () => [] },
|
|
52770
52769
|
options: { default: () => ({}) },
|
|
52771
52770
|
onCopy: {},
|
|
52772
52771
|
copyText: { default: "复制代码" },
|
|
52773
52772
|
expandText: { default: "展开" },
|
|
52774
52773
|
collapseText: { default: "收起" },
|
|
52775
|
-
codeMaxHeight: { default: 20 }
|
|
52774
|
+
codeMaxHeight: { default: 20 },
|
|
52775
|
+
afterRender: {}
|
|
52776
52776
|
}, {
|
|
52777
52777
|
modelValue: {},
|
|
52778
52778
|
modelModifiers: {}
|
|
@@ -52782,7 +52782,7 @@ const JT = { class: "kernelift-md-render" }, jT = ["id"], eR = /* @__PURE__ */ a
|
|
|
52782
52782
|
const n = e, r = o_(e, "modelValue"), a = s_(), i = c_();
|
|
52783
52783
|
l_(() => {
|
|
52784
52784
|
n.options ? i.value = new Te(
|
|
52785
|
-
|
|
52785
|
+
ad(
|
|
52786
52786
|
{
|
|
52787
52787
|
html: !0,
|
|
52788
52788
|
linkify: !0,
|
|
@@ -52795,29 +52795,29 @@ const JT = { class: "kernelift-md-render" }, jT = ["id"], eR = /* @__PURE__ */ a
|
|
|
52795
52795
|
n.options
|
|
52796
52796
|
)
|
|
52797
52797
|
) : i.value = new Te();
|
|
52798
|
-
const m = i.value.renderer.rules.table_open || function(d,
|
|
52799
|
-
return f.renderToken(d,
|
|
52800
|
-
}, p = i.value.renderer.rules.table_close || function(d,
|
|
52801
|
-
return f.renderToken(d,
|
|
52798
|
+
const m = i.value.renderer.rules.table_open || function(d, E, S, b, f) {
|
|
52799
|
+
return f.renderToken(d, E, S);
|
|
52800
|
+
}, p = i.value.renderer.rules.table_close || function(d, E, S, b, f) {
|
|
52801
|
+
return f.renderToken(d, E, S);
|
|
52802
52802
|
};
|
|
52803
|
-
i.value.renderer.rules.table_open = function(d,
|
|
52804
|
-
return '<div class="table-container">' + m(d,
|
|
52805
|
-
}, i.value.renderer.rules.table_close = function(d,
|
|
52806
|
-
return p(d,
|
|
52807
|
-
}, i.value.renderer.rules.fence = (d,
|
|
52808
|
-
const S = d[
|
|
52803
|
+
i.value.renderer.rules.table_open = function(d, E, S, b, f) {
|
|
52804
|
+
return '<div class="table-container">' + m(d, E, S, b, f);
|
|
52805
|
+
}, i.value.renderer.rules.table_close = function(d, E, S, b, f) {
|
|
52806
|
+
return p(d, E, S, b, f) + "</div>";
|
|
52807
|
+
}, i.value.renderer.rules.fence = (d, E) => {
|
|
52808
|
+
const S = d[E], b = S.info.trim(), f = S.content;
|
|
52809
52809
|
if (!i.value)
|
|
52810
52810
|
throw new Error("MarkdownIt instance is not initialized");
|
|
52811
52811
|
const T = b && (cn.getLanguage(b) || b === "vue") ? cn.highlight(f, {
|
|
52812
52812
|
language: b === "vue" ? "html" : b,
|
|
52813
52813
|
ignoreIllegals: !0
|
|
52814
|
-
}).value : i.value.utils.escapeHtml(f),
|
|
52815
|
-
`).length,
|
|
52816
|
-
{ length:
|
|
52817
|
-
(F,
|
|
52818
|
-
).join(""), A =
|
|
52814
|
+
}).value : i.value.utils.escapeHtml(f), R = f.split(`
|
|
52815
|
+
`).length, C = Array.from(
|
|
52816
|
+
{ length: R },
|
|
52817
|
+
(F, D) => `<div class="ln" data-line="${D + 1}">${D + 1}</div>`
|
|
52818
|
+
).join(""), A = R > n.codeMaxHeight, I = A ? "code-block--collapsed" : "", M = A ? `<button class="expand-btn" data-expanded="false">${n.expandText}</button>` : "";
|
|
52819
52819
|
return `
|
|
52820
|
-
<div class="code-block-wrapper not-prose ${I}" data-lines="${
|
|
52820
|
+
<div class="code-block-wrapper not-prose ${I}" data-lines="${R}">
|
|
52821
52821
|
<div class="code-header">
|
|
52822
52822
|
<span class="lang">${b || "text"}</span>
|
|
52823
52823
|
<div class="code-header__actions">
|
|
@@ -52826,29 +52826,29 @@ const JT = { class: "kernelift-md-render" }, jT = ["id"], eR = /* @__PURE__ */ a
|
|
|
52826
52826
|
</div>
|
|
52827
52827
|
</div>
|
|
52828
52828
|
<div class="code-content">
|
|
52829
|
-
<div class="line-numbers" style="min-width: ${Math.max(2,
|
|
52829
|
+
<div class="line-numbers" style="min-width: ${Math.max(2, R.toString().length)}ch;">${C}</div>
|
|
52830
52830
|
<pre><code class="hljs ${b} code-content__code">${T}</code></pre>
|
|
52831
52831
|
</div>
|
|
52832
52832
|
${A ? '<div class="code-block__fade"></div>' : ""}
|
|
52833
52833
|
</div>
|
|
52834
52834
|
`;
|
|
52835
|
-
}, i.value.renderer.rules.code_block = (d,
|
|
52835
|
+
}, i.value.renderer.rules.code_block = (d, E) => {
|
|
52836
52836
|
if (!i.value)
|
|
52837
52837
|
throw new Error("MarkdownIt instance is not initialized");
|
|
52838
|
-
return i.value.renderer.rules.fence(d,
|
|
52839
|
-
}, n.plugins instanceof Array && n.plugins.length > 0 && n.plugins.forEach((d) => {
|
|
52838
|
+
return i.value.renderer.rules.fence(d, E);
|
|
52839
|
+
}, n.afterRender?.(i.value), n.plugins instanceof Array && n.plugins.length > 0 && n.plugins.forEach((d) => {
|
|
52840
52840
|
try {
|
|
52841
52841
|
i.value?.use(d);
|
|
52842
|
-
} catch (
|
|
52843
|
-
console.error("markdown-render use plugin error",
|
|
52842
|
+
} catch (E) {
|
|
52843
|
+
console.error("markdown-render use plugin error", E);
|
|
52844
52844
|
}
|
|
52845
52845
|
}), a.value?.addEventListener("click", l), a.value?.addEventListener("click", c), s();
|
|
52846
52846
|
});
|
|
52847
52847
|
const s = () => {
|
|
52848
52848
|
a.value?.querySelectorAll(".code-block-wrapper")?.forEach((p) => {
|
|
52849
|
-
const d = p.querySelector("pre"),
|
|
52850
|
-
d &&
|
|
52851
|
-
|
|
52849
|
+
const d = p.querySelector("pre"), E = p.querySelector(".line-numbers");
|
|
52850
|
+
d && E && d.addEventListener("scroll", () => {
|
|
52851
|
+
E.scrollTop = d.scrollTop;
|
|
52852
52852
|
});
|
|
52853
52853
|
});
|
|
52854
52854
|
}, o = () => {
|
|
@@ -52864,16 +52864,16 @@ const JT = { class: "kernelift-md-render" }, jT = ["id"], eR = /* @__PURE__ */ a
|
|
|
52864
52864
|
}, l = (m) => {
|
|
52865
52865
|
const p = m.target?.closest(".copy-btn");
|
|
52866
52866
|
if (!p) return;
|
|
52867
|
-
const
|
|
52867
|
+
const E = p.closest(".code-block-wrapper")?.querySelector(".code-content__code")?.innerText;
|
|
52868
52868
|
if (typeof n.onCopy == "function") {
|
|
52869
|
-
n.onCopy(
|
|
52869
|
+
n.onCopy(E || "");
|
|
52870
52870
|
return;
|
|
52871
52871
|
}
|
|
52872
|
-
if (!
|
|
52872
|
+
if (!E) {
|
|
52873
52873
|
console.error("[kernelift/markdown-render] Failed to copy code");
|
|
52874
52874
|
return;
|
|
52875
52875
|
}
|
|
52876
|
-
navigator.clipboard.writeText(
|
|
52876
|
+
navigator.clipboard.writeText(E).then(() => {
|
|
52877
52877
|
console.info("[kernelift/markdown-render] Copied successfully");
|
|
52878
52878
|
}).catch(() => {
|
|
52879
52879
|
console.error("[kernelift/markdown-render] Failed to copy code");
|
|
@@ -52885,35 +52885,39 @@ const JT = { class: "kernelift-md-render" }, jT = ["id"], eR = /* @__PURE__ */ a
|
|
|
52885
52885
|
const u = (m) => {
|
|
52886
52886
|
i.value && m(i.value);
|
|
52887
52887
|
};
|
|
52888
|
-
|
|
52888
|
+
__(() => {
|
|
52889
52889
|
a.value?.removeEventListener("click", l), a.value?.removeEventListener("click", c);
|
|
52890
52890
|
}), t({
|
|
52891
52891
|
renderInstance: i,
|
|
52892
52892
|
execMethods: u
|
|
52893
52893
|
});
|
|
52894
52894
|
const _ = (/* @__PURE__ */ new Date()).getTime();
|
|
52895
|
-
return (m, p) => (
|
|
52896
|
-
|
|
52897
|
-
id: `kernelift-md-render__container-${
|
|
52895
|
+
return (m, p) => (p_(), d_("article", JT, [
|
|
52896
|
+
m_("div", {
|
|
52897
|
+
id: `kernelift-md-render__container-${E_(_)}`,
|
|
52898
52898
|
class: "kernelift-md-render__container",
|
|
52899
52899
|
ref_key: "containerRef",
|
|
52900
52900
|
ref: a
|
|
52901
52901
|
}, null, 8, jT)
|
|
52902
52902
|
]));
|
|
52903
52903
|
}
|
|
52904
|
-
}),
|
|
52904
|
+
}), id = (e, t) => {
|
|
52905
52905
|
const n = e.__vccOpts || e;
|
|
52906
52906
|
for (const [r, a] of t)
|
|
52907
52907
|
n[r] = a;
|
|
52908
52908
|
return n;
|
|
52909
|
-
}, iR = /* @__PURE__ */
|
|
52909
|
+
}, iR = /* @__PURE__ */ id(eR, [["__scopeId", "data-v-2237e4eb"]]), tR = { class: "kernelift-md-render" }, nR = ["id"], rR = /* @__PURE__ */ a_({
|
|
52910
52910
|
name: "MdRender",
|
|
52911
52911
|
__name: "md-render-simple",
|
|
52912
52912
|
props: /* @__PURE__ */ i_({
|
|
52913
52913
|
modelValue: {},
|
|
52914
52914
|
plugins: { default: () => [] },
|
|
52915
52915
|
options: { default: () => ({}) },
|
|
52916
|
-
|
|
52916
|
+
onCopy: {},
|
|
52917
|
+
copyText: { default: "复制代码" },
|
|
52918
|
+
expandText: { default: "展开" },
|
|
52919
|
+
collapseText: { default: "收起" },
|
|
52920
|
+
codeMaxHeight: { default: 20 }
|
|
52917
52921
|
}, {
|
|
52918
52922
|
modelValue: {},
|
|
52919
52923
|
modelModifiers: {}
|
|
@@ -52923,7 +52927,7 @@ const JT = { class: "kernelift-md-render" }, jT = ["id"], eR = /* @__PURE__ */ a
|
|
|
52923
52927
|
const n = e, r = o_(e, "modelValue"), a = s_(), i = c_();
|
|
52924
52928
|
l_(() => {
|
|
52925
52929
|
n.options ? i.value = new Te(
|
|
52926
|
-
|
|
52930
|
+
ad(
|
|
52927
52931
|
{
|
|
52928
52932
|
html: !0,
|
|
52929
52933
|
linkify: !0,
|
|
@@ -52936,84 +52940,113 @@ const JT = { class: "kernelift-md-render" }, jT = ["id"], eR = /* @__PURE__ */ a
|
|
|
52936
52940
|
n.options
|
|
52937
52941
|
)
|
|
52938
52942
|
) : i.value = new Te();
|
|
52939
|
-
const
|
|
52940
|
-
return
|
|
52941
|
-
},
|
|
52942
|
-
return
|
|
52943
|
+
const m = i.value.renderer.rules.table_open || function(d, E, S, b, f) {
|
|
52944
|
+
return f.renderToken(d, E, S);
|
|
52945
|
+
}, p = i.value.renderer.rules.table_close || function(d, E, S, b, f) {
|
|
52946
|
+
return f.renderToken(d, E, S);
|
|
52943
52947
|
};
|
|
52944
|
-
i.value.renderer.rules.table_open = function(
|
|
52945
|
-
return '<div class="table-container">' +
|
|
52946
|
-
}, i.value.renderer.rules.table_close = function(
|
|
52947
|
-
return
|
|
52948
|
-
}, i.value.renderer.rules.fence = (
|
|
52949
|
-
const
|
|
52948
|
+
i.value.renderer.rules.table_open = function(d, E, S, b, f) {
|
|
52949
|
+
return '<div class="table-container">' + m(d, E, S, b, f);
|
|
52950
|
+
}, i.value.renderer.rules.table_close = function(d, E, S, b, f) {
|
|
52951
|
+
return p(d, E, S, b, f) + "</div>";
|
|
52952
|
+
}, i.value.renderer.rules.fence = (d, E) => {
|
|
52953
|
+
const S = d[E], b = S.info.trim(), f = S.content;
|
|
52950
52954
|
if (!i.value)
|
|
52951
52955
|
throw new Error("MarkdownIt instance is not initialized");
|
|
52952
|
-
const
|
|
52953
|
-
language:
|
|
52956
|
+
const T = b && (cn.getLanguage(b) || b === "vue") ? cn.highlight(f, {
|
|
52957
|
+
language: b === "vue" ? "html" : b,
|
|
52954
52958
|
ignoreIllegals: !0
|
|
52955
|
-
}).value : i.value.utils.escapeHtml(
|
|
52956
|
-
`),
|
|
52957
|
-
{ length:
|
|
52958
|
-
(
|
|
52959
|
-
).join("");
|
|
52959
|
+
}).value : i.value.utils.escapeHtml(f), R = f.split(`
|
|
52960
|
+
`).length, C = Array.from(
|
|
52961
|
+
{ length: R },
|
|
52962
|
+
(F, D) => `<div class="ln" data-line="${D + 1}">${D + 1}</div>`
|
|
52963
|
+
).join(""), A = R > n.codeMaxHeight, I = A ? "code-block--collapsed" : "", M = A ? `<button class="expand-btn" data-expanded="false">${n.expandText}</button>` : "";
|
|
52960
52964
|
return `
|
|
52961
|
-
<div class="code-block-wrapper not-prose">
|
|
52965
|
+
<div class="code-block-wrapper not-prose ${I}" data-lines="${R}">
|
|
52962
52966
|
<div class="code-header">
|
|
52963
|
-
<span class="lang">${
|
|
52964
|
-
<
|
|
52967
|
+
<span class="lang">${b || "text"}</span>
|
|
52968
|
+
<div class="code-header__actions">
|
|
52969
|
+
${M}
|
|
52970
|
+
<button class="copy-btn">${n.copyText}</button>
|
|
52971
|
+
</div>
|
|
52965
52972
|
</div>
|
|
52966
52973
|
<div class="code-content">
|
|
52967
|
-
<div class="line-numbers">${
|
|
52968
|
-
<pre><code class="hljs ${
|
|
52974
|
+
<div class="line-numbers" style="min-width: ${Math.max(2, R.toString().length)}ch;">${C}</div>
|
|
52975
|
+
<pre><code class="hljs ${b} code-content__code">${T}</code></pre>
|
|
52969
52976
|
</div>
|
|
52977
|
+
${A ? '<div class="code-block__fade"></div>' : ""}
|
|
52970
52978
|
</div>
|
|
52971
52979
|
`;
|
|
52972
|
-
}, i.value.renderer.rules.code_block = (
|
|
52980
|
+
}, i.value.renderer.rules.code_block = (d, E) => {
|
|
52973
52981
|
if (!i.value)
|
|
52974
52982
|
throw new Error("MarkdownIt instance is not initialized");
|
|
52975
|
-
return i.value.renderer.rules.fence(
|
|
52976
|
-
}, n.plugins instanceof Array && n.plugins.length > 0 && n.plugins.forEach((
|
|
52983
|
+
return i.value.renderer.rules.fence(d, E);
|
|
52984
|
+
}, n.plugins instanceof Array && n.plugins.length > 0 && n.plugins.forEach((d) => {
|
|
52977
52985
|
try {
|
|
52978
|
-
i.value?.use(
|
|
52979
|
-
} catch (
|
|
52980
|
-
console.error("markdown-render use plugin error",
|
|
52986
|
+
i.value?.use(d);
|
|
52987
|
+
} catch (E) {
|
|
52988
|
+
console.error("markdown-render use plugin error", E);
|
|
52981
52989
|
}
|
|
52982
|
-
}), a.value?.addEventListener("click", s);
|
|
52990
|
+
}), a.value?.addEventListener("click", l), a.value?.addEventListener("click", c), s();
|
|
52983
52991
|
});
|
|
52984
|
-
const s = (
|
|
52985
|
-
|
|
52986
|
-
|
|
52987
|
-
|
|
52988
|
-
|
|
52989
|
-
|
|
52992
|
+
const s = () => {
|
|
52993
|
+
a.value?.querySelectorAll(".code-block-wrapper")?.forEach((p) => {
|
|
52994
|
+
const d = p.querySelector("pre"), E = p.querySelector(".line-numbers");
|
|
52995
|
+
d && E && d.addEventListener("scroll", () => {
|
|
52996
|
+
E.scrollTop = d.scrollTop;
|
|
52997
|
+
});
|
|
52998
|
+
});
|
|
52999
|
+
}, o = () => {
|
|
53000
|
+
setTimeout(() => {
|
|
53001
|
+
s();
|
|
53002
|
+
}, 0);
|
|
53003
|
+
}, c = (m) => {
|
|
53004
|
+
const p = m.target?.closest(".expand-btn");
|
|
53005
|
+
if (!p) return;
|
|
53006
|
+
const d = p.closest(".code-block-wrapper");
|
|
53007
|
+
if (!d) return;
|
|
53008
|
+
p.dataset.expanded === "true" ? (d.classList.add("code-block--collapsed"), p.dataset.expanded = "false", p.textContent = n.expandText) : (d.classList.remove("code-block--collapsed"), p.dataset.expanded = "true", p.textContent = n.collapseText);
|
|
53009
|
+
}, l = (m) => {
|
|
53010
|
+
const p = m.target?.closest(".copy-btn");
|
|
53011
|
+
if (!p) return;
|
|
53012
|
+
const E = p.closest(".code-block-wrapper")?.querySelector(".code-content__code")?.innerText;
|
|
53013
|
+
if (typeof n.onCopy == "function") {
|
|
53014
|
+
n.onCopy(E || "");
|
|
53015
|
+
return;
|
|
53016
|
+
}
|
|
53017
|
+
if (!E) {
|
|
53018
|
+
console.error("[kernelift/markdown-render] Failed to copy code");
|
|
52990
53019
|
return;
|
|
52991
53020
|
}
|
|
52992
|
-
navigator.clipboard.writeText(
|
|
52993
|
-
|
|
53021
|
+
navigator.clipboard.writeText(E).then(() => {
|
|
53022
|
+
console.info("[kernelift/markdown-render] Copied successfully");
|
|
52994
53023
|
}).catch(() => {
|
|
52995
|
-
|
|
53024
|
+
console.error("[kernelift/markdown-render] Failed to copy code");
|
|
52996
53025
|
});
|
|
52997
53026
|
};
|
|
52998
|
-
u_([() => r.value, () => i.value], ([
|
|
52999
|
-
|
|
53027
|
+
u_([() => r.value, () => i.value], ([m, p]) => {
|
|
53028
|
+
p && a.value && (a.value.innerHTML = p.render(m || ""), o());
|
|
53029
|
+
});
|
|
53030
|
+
const u = (m) => {
|
|
53031
|
+
i.value && m(i.value);
|
|
53032
|
+
};
|
|
53033
|
+
__(() => {
|
|
53034
|
+
a.value?.removeEventListener("click", l), a.value?.removeEventListener("click", c);
|
|
53000
53035
|
}), t({
|
|
53001
53036
|
renderInstance: i,
|
|
53002
|
-
execMethods:
|
|
53003
|
-
i.value && l(i.value);
|
|
53004
|
-
}
|
|
53037
|
+
execMethods: u
|
|
53005
53038
|
});
|
|
53006
|
-
const
|
|
53007
|
-
return (
|
|
53008
|
-
|
|
53009
|
-
id: `kernelift-md-render__container-${
|
|
53039
|
+
const _ = (/* @__PURE__ */ new Date()).getTime();
|
|
53040
|
+
return (m, p) => (p_(), d_("article", tR, [
|
|
53041
|
+
m_("div", {
|
|
53042
|
+
id: `kernelift-md-render__container-${E_(_)}`,
|
|
53010
53043
|
class: "kernelift-md-render__container",
|
|
53011
53044
|
ref_key: "containerRef",
|
|
53012
53045
|
ref: a
|
|
53013
53046
|
}, null, 8, nR)
|
|
53014
53047
|
]));
|
|
53015
53048
|
}
|
|
53016
|
-
}), oR = /* @__PURE__ */
|
|
53049
|
+
}), oR = /* @__PURE__ */ id(rR, [["__scopeId", "data-v-ac643570"]]);
|
|
53017
53050
|
export {
|
|
53018
53051
|
iR as MdRender,
|
|
53019
53052
|
oR as MdRenderSimple
|