yanki 0.2.3 → 0.3.0
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/dist/{actionscript-3-D6NljDpC.js → actionscript-3-BigF1UXR.js} +1 -1
- package/dist/bin/cli.js +9 -9
- package/dist/lib/index.d.ts +6 -1
- package/dist/lib/index.js +1 -1
- package/dist/move-DOHBU7tp.js +1 -0
- package/dist/pascal-BvCdDh2R.js +1 -0
- package/dist/{sync-CNzgYCr4.js → sync-4dSh1bTq.js} +157 -156
- package/package.json +11 -9
- package/readme.md +44 -14
- package/dist/move-MN12aA4C.js +0 -1
- package/dist/pascal-B6ZnTe72.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
1
|
+
var fh=Object.defineProperty;var l=(e,t)=>fh(e,"name",{value:t,configurable:!0});import hh from"rehype-mathjax";import"node:path";import{webcrypto as $o}from"node:crypto";function ie(e,t,n){const r={type:String(e)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:n!=null&&(r.value=String(n)),r}l(ie,"u$3");const ph=`.card {
|
|
2
2
|
font-family: arial;
|
|
3
3
|
font-size: 20px;
|
|
4
4
|
text-align: center;
|
|
5
5
|
color: black;
|
|
6
6
|
background-color: white;
|
|
7
|
-
}`,
|
|
7
|
+
}`,wi=!0,Mt="yanki",Sn="Yanki",nr="(Empty)",dh=ie("root",[ie("element",{properties:{},tagName:"p"},[ie("element",{properties:{},tagName:"em"},[ie("text",nr)])])]),ki=[{cardTemplates:[{Back:`{{FrontSide}}
|
|
8
8
|
|
|
9
9
|
<hr id=answer>
|
|
10
10
|
|
|
@@ -23,233 +23,234 @@ var np=Object.defineProperty;var l=(e,t)=>np(e,"name",{value:t,configurable:!0})
|
|
|
23
23
|
|
|
24
24
|
{{type:Back}}`,Front:`{{Front}}
|
|
25
25
|
|
|
26
|
-
{{type:Back}}`,YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic (type in the answer)"}],
|
|
26
|
+
{{type:Back}}`,YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic (type in the answer)"}],Bo=ki.map(e=>e.modelName);async function jo(e,t,n=!1){if(n)return;const r=t.map(i=>i.noteId).filter(i=>i!==void 0);await e.note.deleteNotes({notes:r})}l(jo,"deleteNotes");async function mh(e,t,n=!1){if(t.noteId===void 0)throw new Error("Note ID is undefined");n||await e.note.deleteNotes({notes:[t.noteId]})}l(mh,"deleteNote");async function rr(e,t,n){if(t.noteId!==void 0)throw new Error("Note already has an ID");if(n)return 0;const r=await e.note.addNote({note:{...t,options:{allowDuplicate:!0}}}).catch(async i=>{if(i instanceof Error){if(i.message===`model was not found: ${t.modelName}`){const s=ki.find(o=>o.modelName===t.modelName);if(s===void 0)throw new Error(`Model not found: ${t.modelName}`);return await e.model.createModel(s),rr(e,t,n)}if(i.message===`deck was not found: ${t.deckName}`){if(t.deckName==="")throw new Error("Deck name is empty");return await e.deck.createDeck({deck:t.deckName}),rr(e,t,n)}throw i}else throw new TypeError("Unknown error")});if(r===null)throw new Error("Note creation failed");return r}l(rr,"addNote");async function gh(e,t,n,r){if(t.noteId===void 0)throw new Error("Local note ID is undefined");if(n.cards===void 0)throw new Error("Remote note cards are undefined");let i=!1;if((!bh(t.tags??[],n.tags??[])||!yh(t.fields,n.fields))&&(r||await e.note.updateNote({note:{...t,id:t.noteId}}),i=!0),t.deckName!==n.deckName){if(t.deckName==="")throw new Error("Local deck name is empty");r||await e.deck.changeDeck({cards:n.cards,deck:t.deckName}),i=!0}return i}l(gh,"updateNote");function yh(e,t){const n=["Front","Back"];for(const r of n)if(e[r]!==t[r])return!1;return!0}l(yh,"areFieldsEqual");function bh(e,t){if(e.length!==t.length)return!1;for(const[n,r]of e.entries())if(r!==t[n])return!1;return!0}l(bh,"areTagsEqual");async function vi(e,t=Sn){const n=await e.note.findNotes({query:`"YankiNamespace:${t}"`});return await zo(e,n)}l(vi,"getRemoteNotes");async function zo(e,t){const n=await e.note.notesInfo({notes:t}),r=[];if(n.every(a=>a.noteId===void 0))return Array.from({length:n.length}).fill(void 0);const i=n.flatMap(a=>a.cards??[]),s=await e.deck.getDecks({cards:i}),o=new Map;for(const[a,u]of Object.entries(s))for(const c of u)o.set(c,a);for(const a of n){if(a.noteId===void 0){r.push(void 0);continue}const u=new Set;for(const c of a.cards){const h=o.get(c);if(h===void 0)throw new Error(`No deck found for card ${c}`);u.add(h)}if(u.size===0)throw new Error(`No decks found for note ${a.noteId}`);if(u.size>1)throw new Error(`Multiple decks found for note ${a.noteId}`);if(!Bo.includes(a.modelName))throw new Error(`Unknown model name ${a.modelName} for note ${a.noteId}`);r.push({cards:a.cards,deckName:[...u][0],fields:{Back:a.fields.Back.value??"",Front:a.fields.Front.value??"",YankiNamespace:a.fields.YankiNamespace.value??""},modelName:a.modelName,noteId:a.noteId,tags:a.tags})}return r}l(zo,"getRemoteNotesById");async function Uo(e,t,n,r){const i=[...new Set(t.map(f=>f.deckName))].filter(Boolean),o=[...new Set(n.map(f=>f.deckName))].filter(Boolean).filter(f=>!i.includes(f)),a=[];for(const f of o){const p=f.split("::");if(p.length!==1)for(;p.length>1;){p.pop();const d=p.join("::");if(i.some(m=>d.includes(m)))break;a.push(d)}}const u=[...new Set([...o,...a])],c=await e.deck.getDeckStats({decks:u}),h=Object.values(c).reduce((f,p,d)=>{const m=u[d];if(r){const g=n.filter(b=>b.deckName===m).length,y=t.filter(b=>b.deckName===m).length;p.total_in_deck===g&&y===0&&!f.includes(m)&&f.push(m)}else p.total_in_deck===0&&!f.includes(m)&&f.push(m);return f},[]);return r||await e.deck.deleteDecks({cardsToo:!0,decks:h}),h}l(Uo,"deleteOrphanedDecks");async function Ho(e,t,n,r){let i;try{const{css:s}=await e.model.modelStyling({modelName:t});i=s}catch(s){if(s instanceof Error){if(s.message===`model was not found: ${t}`){const o=ki.find(a=>a.modelName===t);if(o===void 0)throw new Error(`Model not found: ${t}`);return r?!1:(await e.model.createModel(o),Ho(e,o.modelName,n,r))}throw s}else throw new TypeError("Unknown error")}return i!==void 0&&i===n?!1:(r||await e.model.updateModelStyling({model:{css:n,name:t}}),!0)}l(Ho,"updateModelStyle");var Vo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ir(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(ir,"getDefaultExportFromCjs");var wh=kh;function $t(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}l($t,"copyBuffer");function kh(e){if(e=e||{},e.circles)return vh(e);const t=new Map;if(t.set(Date,o=>new Date(o)),t.set(Map,(o,a)=>new Map(r(Array.from(o),a))),t.set(Set,(o,a)=>new Set(r(Array.from(o),a))),e.constructorHandlers)for(const o of e.constructorHandlers)t.set(o[0],o[1]);let n=null;return e.proto?s:i;function r(o,a){const u=Object.keys(o),c=new Array(u.length);for(let h=0;h<u.length;h++){const f=u[h],p=o[f];typeof p!="object"||p===null?c[f]=p:p.constructor!==Object&&(n=t.get(p.constructor))?c[f]=n(p,a):ArrayBuffer.isView(p)?c[f]=$t(p):c[f]=a(p)}return c}function i(o){if(typeof o!="object"||o===null)return o;if(Array.isArray(o))return r(o,i);if(o.constructor!==Object&&(n=t.get(o.constructor)))return n(o,i);const a={};for(const u in o){if(Object.hasOwnProperty.call(o,u)===!1)continue;const c=o[u];typeof c!="object"||c===null?a[u]=c:c.constructor!==Object&&(n=t.get(c.constructor))?a[u]=n(c,i):ArrayBuffer.isView(c)?a[u]=$t(c):a[u]=i(c)}return a}function s(o){if(typeof o!="object"||o===null)return o;if(Array.isArray(o))return r(o,s);if(o.constructor!==Object&&(n=t.get(o.constructor)))return n(o,s);const a={};for(const u in o){const c=o[u];typeof c!="object"||c===null?a[u]=c:c.constructor!==Object&&(n=t.get(c.constructor))?a[u]=n(c,s):ArrayBuffer.isView(c)?a[u]=$t(c):a[u]=s(c)}return a}}l(kh,"rfdc");function vh(e){const t=[],n=[],r=new Map;if(r.set(Date,u=>new Date(u)),r.set(Map,(u,c)=>new Map(s(Array.from(u),c))),r.set(Set,(u,c)=>new Set(s(Array.from(u),c))),e.constructorHandlers)for(const u of e.constructorHandlers)r.set(u[0],u[1]);let i=null;return e.proto?a:o;function s(u,c){const h=Object.keys(u),f=new Array(h.length);for(let p=0;p<h.length;p++){const d=h[p],m=u[d];if(typeof m!="object"||m===null)f[d]=m;else if(m.constructor!==Object&&(i=r.get(m.constructor)))f[d]=i(m,c);else if(ArrayBuffer.isView(m))f[d]=$t(m);else{const g=t.indexOf(m);g!==-1?f[d]=n[g]:f[d]=c(m)}}return f}function o(u){if(typeof u!="object"||u===null)return u;if(Array.isArray(u))return s(u,o);if(u.constructor!==Object&&(i=r.get(u.constructor)))return i(u,o);const c={};t.push(u),n.push(c);for(const h in u){if(Object.hasOwnProperty.call(u,h)===!1)continue;const f=u[h];if(typeof f!="object"||f===null)c[h]=f;else if(f.constructor!==Object&&(i=r.get(f.constructor)))c[h]=i(f,o);else if(ArrayBuffer.isView(f))c[h]=$t(f);else{const p=t.indexOf(f);p!==-1?c[h]=n[p]:c[h]=o(f)}}return t.pop(),n.pop(),c}function a(u){if(typeof u!="object"||u===null)return u;if(Array.isArray(u))return s(u,a);if(u.constructor!==Object&&(i=r.get(u.constructor)))return i(u,a);const c={};t.push(u),n.push(c);for(const h in u){const f=u[h];if(typeof f!="object"||f===null)c[h]=f;else if(f.constructor!==Object&&(i=r.get(f.constructor)))c[h]=i(f,a);else if(ArrayBuffer.isView(f))c[h]=$t(f);else{const p=t.indexOf(f);p!==-1?c[h]=n[p]:c[h]=a(f)}}return t.pop(),n.pop(),c}}l(vh,"rfdcCircles");var Go=ir(wh);/**
|
|
27
27
|
* @name codsen-utils
|
|
28
28
|
* @fileoverview Various utility functions
|
|
29
29
|
* @version 1.6.4
|
|
30
30
|
* @author Roy Revelt, Codsen Ltd
|
|
31
31
|
* @license MIT
|
|
32
32
|
* {@link https://codsen.com/os/codsen-utils/}
|
|
33
|
-
*/qo();function mi(e){if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null?!1:!(Symbol.iterator in e)&&!(Symbol.toStringTag in e)}l(mi,"u$2");function Mt(e){return typeof e=="string"}l(Mt,"r$2");function ct(e){return Number.isSafeInteger(e)&&e>=0}l(ct,"q$1");function ft(e){return e!=null}l(ft,"G$1");function hp(e,t){return mi(e)&&Mt(t)&&t in e}l(hp,"v");var dp=typeof global=="object"&&global&&global.Object===Object&&global,mp=typeof self=="object"&&self&&self.Object===Object&&self,gi=dp||mp||Function("return this")(),$t=gi.Symbol,Fo=Object.prototype,gp=Fo.hasOwnProperty,yp=Fo.toString,wn=$t?$t.toStringTag:void 0;function bp(e){var t=gp.call(e,wn),n=e[wn];try{e[wn]=void 0;var r=!0}catch{}var i=yp.call(e);return r&&(t?e[wn]=n:delete e[wn]),i}l(bp,"getRawTag");var wp=Object.prototype,kp=wp.toString;function vp(e){return kp.call(e)}l(vp,"objectToString");var Sp="[object Null]",xp="[object Undefined]",Mo=$t?$t.toStringTag:void 0;function $o(e){return e==null?e===void 0?xp:Sp:Mo&&Mo in Object(e)?bp(e):vp(e)}l($o,"baseGetTag");function Bo(e){return e!=null&&typeof e=="object"}l(Bo,"isObjectLike");var Ap="[object Symbol]";function Cp(e){return typeof e=="symbol"||Bo(e)&&$o(e)==Ap}l(Cp,"isSymbol");function Tp(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}l(Tp,"arrayMap");var Np=Array.isArray,Ep=1/0,jo=$t?$t.prototype:void 0,zo=jo?jo.toString:void 0;function yi(e){if(typeof e=="string")return e;if(Np(e))return Tp(e,yi)+"";if(Cp(e))return zo?zo.call(e):"";var t=e+"";return t=="0"&&1/e==-Ep?"-0":t}l(yi,"baseToString");var _p=/\s/;function Op(e){for(var t=e.length;t--&&_p.test(e.charAt(t)););return t}l(Op,"trimmedEndIndex");var Lp=/^\s+/;function Ip(e){return e&&e.slice(0,Op(e)+1).replace(Lp,"")}l(Ip,"baseTrim");function Uo(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}l(Uo,"isObject");function Ho(e){return e}l(Ho,"identity");var Dp="[object AsyncFunction]",Rp="[object Function]",Pp="[object GeneratorFunction]",qp="[object Proxy]";function Vo(e){if(!Uo(e))return!1;var t=$o(e);return t==Rp||t==Pp||t==Dp||t==qp}l(Vo,"isFunction");var bi=gi["__core-js_shared__"],Go=function(){var e=/[^.]+$/.exec(bi&&bi.keys&&bi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Fp(e){return!!Go&&Go in e}l(Fp,"isMasked");var Mp=Function.prototype,$p=Mp.toString;function Bp(e){if(e!=null){try{return $p.call(e)}catch{}try{return e+""}catch{}}return""}l(Bp,"toSource");var jp=/[\\^$.*+?()[\]{}|]/g,zp=/^\[object .+?Constructor\]$/,Up=Function.prototype,Hp=Object.prototype,Vp=Up.toString,Gp=Hp.hasOwnProperty,Wp=RegExp("^"+Vp.call(Gp).replace(jp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Kp(e){if(!Uo(e)||Fp(e))return!1;var t=Vo(e)?Wp:zp;return t.test(Bp(e))}l(Kp,"baseIsNative");function Yp(e,t){return e?.[t]}l(Yp,"getValue");function wi(e,t){var n=Yp(e,t);return Kp(n)?n:void 0}l(wi,"getNative");function Jp(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}l(Jp,"apply");var Qp=800,Xp=16,Zp=Date.now;function eh(e){var t=0,n=0;return function(){var r=Zp(),i=Xp-(r-n);if(n=r,i>0){if(++t>=Qp)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}l(eh,"shortOut");function th(e){return function(){return e}}l(th,"constant");var Wo=function(){try{var e=wi(Object,"defineProperty");return e({},"",{}),e}catch{}}(),nh=Wo?function(e,t){return Wo(e,"toString",{configurable:!0,enumerable:!1,value:th(t),writable:!0})}:Ho,rh=eh(nh);function ih(e,t,n,r){for(var i=e.length,s=n+-1;++s<i;)if(t(e[s],s,e))return s;return-1}l(ih,"baseFindIndex");function sh(e){return e!==e}l(sh,"baseIsNaN");function oh(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}l(oh,"strictIndexOf");function ki(e,t,n){return t===t?oh(e,t,n):ih(e,sh,n)}l(ki,"baseIndexOf");function ah(e,t){var n=e==null?0:e.length;return!!n&&ki(e,t,0)>-1}l(ah,"arrayIncludes");function lh(e,t){return e===t||e!==e&&t!==t}l(lh,"eq");var Ko=Math.max;function uh(e,t,n){return t=Ko(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,s=Ko(r.length-t,0),o=Array(s);++i<s;)o[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(o),Jp(e,this,a)}}l(uh,"overRest");function ch(e,t){return rh(uh(e,t,Ho),e+"")}l(ch,"baseRest");var fh=9007199254740991;function ph(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=fh}l(ph,"isLength");function hh(e){return e!=null&&ph(e.length)&&!Vo(e)}l(hh,"isArrayLike");var kn=wi(Object,"create");function dh(){this.__data__=kn?kn(null):{},this.size=0}l(dh,"hashClear");function mh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}l(mh,"hashDelete");var gh="__lodash_hash_undefined__",yh=Object.prototype,bh=yh.hasOwnProperty;function wh(e){var t=this.__data__;if(kn){var n=t[e];return n===gh?void 0:n}return bh.call(t,e)?t[e]:void 0}l(wh,"hashGet");var kh=Object.prototype,vh=kh.hasOwnProperty;function Sh(e){var t=this.__data__;return kn?t[e]!==void 0:vh.call(t,e)}l(Sh,"hashHas");var xh="__lodash_hash_undefined__";function Ah(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=kn&&t===void 0?xh:t,this}l(Ah,"hashSet");function wt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l(wt,"Hash"),wt.prototype.clear=dh,wt.prototype.delete=mh,wt.prototype.get=wh,wt.prototype.has=Sh,wt.prototype.set=Ah;function Ch(){this.__data__=[],this.size=0}l(Ch,"listCacheClear");function er(e,t){for(var n=e.length;n--;)if(lh(e[n][0],t))return n;return-1}l(er,"assocIndexOf");var Th=Array.prototype,Nh=Th.splice;function Eh(e){var t=this.__data__,n=er(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Nh.call(t,n,1),--this.size,!0}l(Eh,"listCacheDelete");function _h(e){var t=this.__data__,n=er(t,e);return n<0?void 0:t[n][1]}l(_h,"listCacheGet");function Oh(e){return er(this.__data__,e)>-1}l(Oh,"listCacheHas");function Lh(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}l(Lh,"listCacheSet");function Bt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l(Bt,"ListCache"),Bt.prototype.clear=Ch,Bt.prototype.delete=Eh,Bt.prototype.get=_h,Bt.prototype.has=Oh,Bt.prototype.set=Lh;var Ih=wi(gi,"Map");function Dh(){this.size=0,this.__data__={hash:new wt,map:new(Ih||Bt),string:new wt}}l(Dh,"mapCacheClear");function Rh(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}l(Rh,"isKeyable");function tr(e,t){var n=e.__data__;return Rh(t)?n[typeof t=="string"?"string":"hash"]:n.map}l(tr,"getMapData");function Ph(e){var t=tr(this,e).delete(e);return this.size-=t?1:0,t}l(Ph,"mapCacheDelete");function qh(e){return tr(this,e).get(e)}l(qh,"mapCacheGet");function Fh(e){return tr(this,e).has(e)}l(Fh,"mapCacheHas");function Mh(e,t){var n=tr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}l(Mh,"mapCacheSet");function jt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l(jt,"MapCache"),jt.prototype.clear=Dh,jt.prototype.delete=Ph,jt.prototype.get=qh,jt.prototype.has=Fh,jt.prototype.set=Mh;function $h(e){return e==null?"":yi(e)}l($h,"toString$3");function Bh(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(i);++r<i;)s[r]=e[r+t];return s}l(Bh,"baseSlice");function jh(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:Bh(e,t,n)}l(jh,"castSlice");var zh="\\ud800-\\udfff",Uh="\\u0300-\\u036f",Hh="\\ufe20-\\ufe2f",Vh="\\u20d0-\\u20ff",Gh=Uh+Hh+Vh,Wh="\\ufe0e\\ufe0f",Kh="\\u200d",Yh=RegExp("["+Kh+zh+Gh+Wh+"]");function Jh(e){return Yh.test(e)}l(Jh,"hasUnicode");function Qh(e){return e.split("")}l(Qh,"asciiToArray");var Yo="\\ud800-\\udfff",Xh="\\u0300-\\u036f",Zh="\\ufe20-\\ufe2f",ed="\\u20d0-\\u20ff",td=Xh+Zh+ed,nd="\\ufe0e\\ufe0f",rd="["+Yo+"]",vi="["+td+"]",Si="\\ud83c[\\udffb-\\udfff]",id="(?:"+vi+"|"+Si+")",Jo="[^"+Yo+"]",Qo="(?:\\ud83c[\\udde6-\\uddff]){2}",Xo="[\\ud800-\\udbff][\\udc00-\\udfff]",sd="\\u200d",Zo=id+"?",ea="["+nd+"]?",od="(?:"+sd+"(?:"+[Jo,Qo,Xo].join("|")+")"+ea+Zo+")*",ad=ea+Zo+od,ld="(?:"+[Jo+vi+"?",vi,Qo,Xo,rd].join("|")+")",ud=RegExp(Si+"(?="+Si+")|"+ld+ad,"g");function cd(e){return e.match(ud)||[]}l(cd,"unicodeToArray");function ta(e){return Jh(e)?cd(e):Qh(e)}l(ta,"stringToArray");var fd="__lodash_hash_undefined__";function pd(e){return this.__data__.set(e,fd),this}l(pd,"setCacheAdd");function hd(e){return this.__data__.has(e)}l(hd,"setCacheHas");function nr(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new jt;++t<n;)this.add(e[t])}l(nr,"SetCache"),nr.prototype.add=nr.prototype.push=pd,nr.prototype.has=hd;function dd(e,t){return e.has(t)}l(dd,"cacheHas");function md(e){return Bo(e)&&hh(e)}l(md,"isArrayLikeObject");var gd=200;function yd(e,t,n,r){var i=-1,s=ah,o=!0,a=e.length,u=[],c=t.length;if(!a)return u;t.length>=gd&&(s=dd,o=!1,t=new nr(t));e:for(;++i<a;){var p=e[i],f=p;if(p=p!==0?p:0,o&&f===f){for(var h=c;h--;)if(t[h]===f)continue e;u.push(p)}else s(t,f,r)||u.push(p)}return u}l(yd,"baseDifference");function bd(e,t){for(var n=e.length;n--&&ki(t,e[n],0)>-1;);return n}l(bd,"charsEndIndex");function wd(e,t){for(var n=-1,r=e.length;++n<r&&ki(t,e[n],0)>-1;);return n}l(wd,"charsStartIndex");function na(e,t,n){if(e=$h(e),e&&t===void 0)return Ip(e);if(!e||!(t=yi(t)))return e;var r=ta(e),i=ta(t),s=wd(r,i),o=bd(r,i)+1;return jh(r,s,o).join("")}l(na,"trim");var kd=ch(function(e,t){return md(e)?yd(e,t):[]}),rr={},ir={};Object.defineProperty(ir,"__esModule",{value:!0}),ir.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},ir.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":"\xA0"," ":"\xA0","¡":"\xA1","¡":"\xA1","¢":"\xA2","¢":"\xA2","£":"\xA3","£":"\xA3","¤":"\xA4","¤":"\xA4","¥":"\xA5","¥":"\xA5","¦":"\xA6","¦":"\xA6","§":"\xA7","§":"\xA7","¨":"\xA8","¨":"\xA8","©":"\xA9","©":"\xA9","ª":"\xAA","ª":"\xAA","«":"\xAB","«":"\xAB","¬":"\xAC","¬":"\xAC","­":"\xAD","­":"\xAD","®":"\xAE","®":"\xAE","¯":"\xAF","¯":"\xAF","°":"\xB0","°":"\xB0","±":"\xB1","±":"\xB1","²":"\xB2","²":"\xB2","³":"\xB3","³":"\xB3","´":"\xB4","´":"\xB4","µ":"\xB5","µ":"\xB5","¶":"\xB6","¶":"\xB6","·":"\xB7","·":"\xB7","¸":"\xB8","¸":"\xB8","¹":"\xB9","¹":"\xB9","º":"\xBA","º":"\xBA","»":"\xBB","»":"\xBB","¼":"\xBC","¼":"\xBC","½":"\xBD","½":"\xBD","¾":"\xBE","¾":"\xBE","¿":"\xBF","¿":"\xBF","À":"\xC0","À":"\xC0","Á":"\xC1","Á":"\xC1","Â":"\xC2","Â":"\xC2","Ã":"\xC3","Ã":"\xC3","Ä":"\xC4","Ä":"\xC4","Å":"\xC5","Å":"\xC5","Æ":"\xC6","Æ":"\xC6","Ç":"\xC7","Ç":"\xC7","È":"\xC8","È":"\xC8","É":"\xC9","É":"\xC9","Ê":"\xCA","Ê":"\xCA","Ë":"\xCB","Ë":"\xCB","Ì":"\xCC","Ì":"\xCC","Í":"\xCD","Í":"\xCD","Î":"\xCE","Î":"\xCE","Ï":"\xCF","Ï":"\xCF","Ð":"\xD0","Ð":"\xD0","Ñ":"\xD1","Ñ":"\xD1","Ò":"\xD2","Ò":"\xD2","Ó":"\xD3","Ó":"\xD3","Ô":"\xD4","Ô":"\xD4","Õ":"\xD5","Õ":"\xD5","Ö":"\xD6","Ö":"\xD6","×":"\xD7","×":"\xD7","Ø":"\xD8","Ø":"\xD8","Ù":"\xD9","Ù":"\xD9","Ú":"\xDA","Ú":"\xDA","Û":"\xDB","Û":"\xDB","Ü":"\xDC","Ü":"\xDC","Ý":"\xDD","Ý":"\xDD","Þ":"\xDE","Þ":"\xDE","ß":"\xDF","ß":"\xDF","à":"\xE0","à":"\xE0","á":"\xE1","á":"\xE1","â":"\xE2","â":"\xE2","ã":"\xE3","ã":"\xE3","ä":"\xE4","ä":"\xE4","å":"\xE5","å":"\xE5","æ":"\xE6","æ":"\xE6","ç":"\xE7","ç":"\xE7","è":"\xE8","è":"\xE8","é":"\xE9","é":"\xE9","ê":"\xEA","ê":"\xEA","ë":"\xEB","ë":"\xEB","ì":"\xEC","ì":"\xEC","í":"\xED","í":"\xED","î":"\xEE","î":"\xEE","ï":"\xEF","ï":"\xEF","ð":"\xF0","ð":"\xF0","ñ":"\xF1","ñ":"\xF1","ò":"\xF2","ò":"\xF2","ó":"\xF3","ó":"\xF3","ô":"\xF4","ô":"\xF4","õ":"\xF5","õ":"\xF5","ö":"\xF6","ö":"\xF6","÷":"\xF7","÷":"\xF7","ø":"\xF8","ø":"\xF8","ù":"\xF9","ù":"\xF9","ú":"\xFA","ú":"\xFA","û":"\xFB","û":"\xFB","ü":"\xFC","ü":"\xFC","ý":"\xFD","ý":"\xFD","þ":"\xFE","þ":"\xFE","ÿ":"\xFF","ÿ":"\xFF",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"\u0152","œ":"\u0153","Š":"\u0160","š":"\u0161","Ÿ":"\u0178","ˆ":"\u02C6","˜":"\u02DC"," ":"\u2002"," ":"\u2003"," ":"\u2009","‌":"\u200C","‍":"\u200D","‎":"\u200E","‏":"\u200F","–":"\u2013","—":"\u2014","‘":"\u2018","’":"\u2019","‚":"\u201A","“":"\u201C","”":"\u201D","„":"\u201E","†":"\u2020","‡":"\u2021","‰":"\u2030","‹":"\u2039","›":"\u203A","€":"\u20AC","ƒ":"\u0192","Α":"\u0391","Β":"\u0392","Γ":"\u0393","Δ":"\u0394","Ε":"\u0395","Ζ":"\u0396","Η":"\u0397","Θ":"\u0398","Ι":"\u0399","Κ":"\u039A","Λ":"\u039B","Μ":"\u039C","Ν":"\u039D","Ξ":"\u039E","Ο":"\u039F","Π":"\u03A0","Ρ":"\u03A1","Σ":"\u03A3","Τ":"\u03A4","Υ":"\u03A5","Φ":"\u03A6","Χ":"\u03A7","Ψ":"\u03A8","Ω":"\u03A9","α":"\u03B1","β":"\u03B2","γ":"\u03B3","δ":"\u03B4","ε":"\u03B5","ζ":"\u03B6","η":"\u03B7","θ":"\u03B8","ι":"\u03B9","κ":"\u03BA","λ":"\u03BB","μ":"\u03BC","ν":"\u03BD","ξ":"\u03BE","ο":"\u03BF","π":"\u03C0","ρ":"\u03C1","ς":"\u03C2","σ":"\u03C3","τ":"\u03C4","υ":"\u03C5","φ":"\u03C6","χ":"\u03C7","ψ":"\u03C8","ω":"\u03C9","ϑ":"\u03D1","ϒ":"\u03D2","ϖ":"\u03D6","•":"\u2022","…":"\u2026","′":"\u2032","″":"\u2033","‾":"\u203E","⁄":"\u2044","℘":"\u2118","ℑ":"\u2111","ℜ":"\u211C","™":"\u2122","ℵ":"\u2135","←":"\u2190","↑":"\u2191","→":"\u2192","↓":"\u2193","↔":"\u2194","↵":"\u21B5","⇐":"\u21D0","⇑":"\u21D1","⇒":"\u21D2","⇓":"\u21D3","⇔":"\u21D4","∀":"\u2200","∂":"\u2202","∃":"\u2203","∅":"\u2205","∇":"\u2207","∈":"\u2208","∉":"\u2209","∋":"\u220B","∏":"\u220F","∑":"\u2211","−":"\u2212","∗":"\u2217","√":"\u221A","∝":"\u221D","∞":"\u221E","∠":"\u2220","∧":"\u2227","∨":"\u2228","∩":"\u2229","∪":"\u222A","∫":"\u222B","∴":"\u2234","∼":"\u223C","≅":"\u2245","≈":"\u2248","≠":"\u2260","≡":"\u2261","≤":"\u2264","≥":"\u2265","⊂":"\u2282","⊃":"\u2283","⊄":"\u2284","⊆":"\u2286","⊇":"\u2287","⊕":"\u2295","⊗":"\u2297","⊥":"\u22A5","⋅":"\u22C5","⌈":"\u2308","⌉":"\u2309","⌊":"\u230A","⌋":"\u230B","⟨":"\u2329","⟩":"\u232A","◊":"\u25CA","♠":"\u2660","♣":"\u2663","♥":"\u2665","♦":"\u2666"},characters:{"'":"'","\xA0":" ","\xA1":"¡","\xA2":"¢","\xA3":"£","\xA4":"¤","\xA5":"¥","\xA6":"¦","\xA7":"§","\xA8":"¨","\xA9":"©",\u00AA:"ª","\xAB":"«","\xAC":"¬","\xAD":"­","\xAE":"®","\xAF":"¯","\xB0":"°","\xB1":"±","\xB2":"²","\xB3":"³","\xB4":"´",\u00B5:"µ","\xB6":"¶","\xB7":"·","\xB8":"¸","\xB9":"¹",\u00BA:"º","\xBB":"»","\xBC":"¼","\xBD":"½","\xBE":"¾","\xBF":"¿",\u00C0:"À",\u00C1:"Á",\u00C2:"Â",\u00C3:"Ã",\u00C4:"Ä",\u00C5:"Å",\u00C6:"Æ",\u00C7:"Ç",\u00C8:"È",\u00C9:"É",\u00CA:"Ê",\u00CB:"Ë",\u00CC:"Ì",\u00CD:"Í",\u00CE:"Î",\u00CF:"Ï",\u00D0:"Ð",\u00D1:"Ñ",\u00D2:"Ò",\u00D3:"Ó",\u00D4:"Ô",\u00D5:"Õ",\u00D6:"Ö","\xD7":"×",\u00D8:"Ø",\u00D9:"Ù",\u00DA:"Ú",\u00DB:"Û",\u00DC:"Ü",\u00DD:"Ý",\u00DE:"Þ",\u00DF:"ß",\u00E0:"à",\u00E1:"á",\u00E2:"â",\u00E3:"ã",\u00E4:"ä",\u00E5:"å",\u00E6:"æ",\u00E7:"ç",\u00E8:"è",\u00E9:"é",\u00EA:"ê",\u00EB:"ë",\u00EC:"ì",\u00ED:"í",\u00EE:"î",\u00EF:"ï",\u00F0:"ð",\u00F1:"ñ",\u00F2:"ò",\u00F3:"ó",\u00F4:"ô",\u00F5:"õ",\u00F6:"ö","\xF7":"÷",\u00F8:"ø",\u00F9:"ù",\u00FA:"ú",\u00FB:"û",\u00FC:"ü",\u00FD:"ý",\u00FE:"þ",\u00FF:"ÿ",'"':""","&":"&","<":"<",">":">",\u0152:"Œ",\u0153:"œ",\u0160:"Š",\u0161:"š",\u0178:"Ÿ","\u02C6":"ˆ","\u02DC":"˜","\u2002":" ","\u2003":" ","\u2009":" ","\u200C":"‌","\u200D":"‍","\u200E":"‎","\u200F":"‏","\u2013":"–","\u2014":"—","\u2018":"‘","\u2019":"’","\u201A":"‚","\u201C":"“","\u201D":"”","\u201E":"„","\u2020":"†","\u2021":"‡","\u2030":"‰","\u2039":"‹","\u203A":"›","\u20AC":"€",\u0192:"ƒ",\u0391:"Α",\u0392:"Β",\u0393:"Γ",\u0394:"Δ",\u0395:"Ε",\u0396:"Ζ",\u0397:"Η",\u0398:"Θ",\u0399:"Ι",\u039A:"Κ",\u039B:"Λ",\u039C:"Μ",\u039D:"Ν",\u039E:"Ξ",\u039F:"Ο",\u03A0:"Π",\u03A1:"Ρ",\u03A3:"Σ",\u03A4:"Τ",\u03A5:"Υ",\u03A6:"Φ",\u03A7:"Χ",\u03A8:"Ψ",\u03A9:"Ω",\u03B1:"α",\u03B2:"β",\u03B3:"γ",\u03B4:"δ",\u03B5:"ε",\u03B6:"ζ",\u03B7:"η",\u03B8:"θ",\u03B9:"ι",\u03BA:"κ",\u03BB:"λ",\u03BC:"μ",\u03BD:"ν",\u03BE:"ξ",\u03BF:"ο",\u03C0:"π",\u03C1:"ρ",\u03C2:"ς",\u03C3:"σ",\u03C4:"τ",\u03C5:"υ",\u03C6:"φ",\u03C7:"χ",\u03C8:"ψ",\u03C9:"ω",\u03D1:"ϑ",\u03D2:"ϒ",\u03D6:"ϖ","\u2022":"•","\u2026":"…","\u2032":"′","\u2033":"″","\u203E":"‾","\u2044":"⁄","\u2118":"℘",\u2111:"ℑ",\u211C:"ℜ","\u2122":"™",\u2135:"ℵ","\u2190":"←","\u2191":"↑","\u2192":"→","\u2193":"↓","\u2194":"↔","\u21B5":"↵","\u21D0":"⇐","\u21D1":"⇑","\u21D2":"⇒","\u21D3":"⇓","\u21D4":"⇔","\u2200":"∀","\u2202":"∂","\u2203":"∃","\u2205":"∅","\u2207":"∇","\u2208":"∈","\u2209":"∉","\u220B":"∋","\u220F":"∏","\u2211":"∑","\u2212":"−","\u2217":"∗","\u221A":"√","\u221D":"∝","\u221E":"∞","\u2220":"∠","\u2227":"∧","\u2228":"∨","\u2229":"∩","\u222A":"∪","\u222B":"∫","\u2234":"∴","\u223C":"∼","\u2245":"≅","\u2248":"≈","\u2260":"≠","\u2261":"≡","\u2264":"≤","\u2265":"≥","\u2282":"⊂","\u2283":"⊃","\u2284":"⊄","\u2286":"⊆","\u2287":"⊇","\u2295":"⊕","\u2297":"⊗","\u22A5":"⊥","\u22C5":"⋅","\u2308":"⌈","\u2309":"⌉","\u230A":"⌊","\u230B":"⌋","\u2329":"⟨","\u232A":"⟩","\u25CA":"◊","\u2660":"♠","\u2663":"♣","\u2665":"♥","\u2666":"♦"}},html5:{entities:{"Æ":"\xC6","Æ":"\xC6","&":"&","&":"&","Á":"\xC1","Á":"\xC1","Ă":"\u0102","Â":"\xC2","Â":"\xC2","А":"\u0410","𝔄":"\u{1D504}","À":"\xC0","À":"\xC0","Α":"\u0391","Ā":"\u0100","⩓":"\u2A53","Ą":"\u0104","𝔸":"\u{1D538}","⁡":"\u2061","Å":"\xC5","Å":"\xC5","𝒜":"\u{1D49C}","≔":"\u2254","Ã":"\xC3","Ã":"\xC3","Ä":"\xC4","Ä":"\xC4","∖":"\u2216","⫧":"\u2AE7","⌆":"\u2306","Б":"\u0411","∵":"\u2235","ℬ":"\u212C","Β":"\u0392","𝔅":"\u{1D505}","𝔹":"\u{1D539}","˘":"\u02D8","ℬ":"\u212C","≎":"\u224E","Ч":"\u0427","©":"\xA9","©":"\xA9","Ć":"\u0106","⋒":"\u22D2","ⅅ":"\u2145","ℭ":"\u212D","Č":"\u010C","Ç":"\xC7","Ç":"\xC7","Ĉ":"\u0108","∰":"\u2230","Ċ":"\u010A","¸":"\xB8","·":"\xB7","ℭ":"\u212D","Χ":"\u03A7","⊙":"\u2299","⊖":"\u2296","⊕":"\u2295","⊗":"\u2297","∲":"\u2232","”":"\u201D","’":"\u2019","∷":"\u2237","⩴":"\u2A74","≡":"\u2261","∯":"\u222F","∮":"\u222E","ℂ":"\u2102","∐":"\u2210","∳":"\u2233","⨯":"\u2A2F","𝒞":"\u{1D49E}","⋓":"\u22D3","≍":"\u224D","ⅅ":"\u2145","⤑":"\u2911","Ђ":"\u0402","Ѕ":"\u0405","Џ":"\u040F","‡":"\u2021","↡":"\u21A1","⫤":"\u2AE4","Ď":"\u010E","Д":"\u0414","∇":"\u2207","Δ":"\u0394","𝔇":"\u{1D507}","´":"\xB4","˙":"\u02D9","˝":"\u02DD","`":"`","˜":"\u02DC","⋄":"\u22C4","ⅆ":"\u2146","𝔻":"\u{1D53B}","¨":"\xA8","⃜":"\u20DC","≐":"\u2250","∯":"\u222F","¨":"\xA8","⇓":"\u21D3","⇐":"\u21D0","⇔":"\u21D4","⫤":"\u2AE4","⟸":"\u27F8","⟺":"\u27FA","⟹":"\u27F9","⇒":"\u21D2","⊨":"\u22A8","⇑":"\u21D1","⇕":"\u21D5","∥":"\u2225","↓":"\u2193","⤓":"\u2913","⇵":"\u21F5","̑":"\u0311","⥐":"\u2950","⥞":"\u295E","↽":"\u21BD","⥖":"\u2956","⥟":"\u295F","⇁":"\u21C1","⥗":"\u2957","⊤":"\u22A4","↧":"\u21A7","⇓":"\u21D3","𝒟":"\u{1D49F}","Đ":"\u0110","Ŋ":"\u014A","Ð":"\xD0","Ð":"\xD0","É":"\xC9","É":"\xC9","Ě":"\u011A","Ê":"\xCA","Ê":"\xCA","Э":"\u042D","Ė":"\u0116","𝔈":"\u{1D508}","È":"\xC8","È":"\xC8","∈":"\u2208","Ē":"\u0112","◻":"\u25FB","▫":"\u25AB","Ę":"\u0118","𝔼":"\u{1D53C}","Ε":"\u0395","⩵":"\u2A75","≂":"\u2242","⇌":"\u21CC","ℰ":"\u2130","⩳":"\u2A73","Η":"\u0397","Ë":"\xCB","Ë":"\xCB","∃":"\u2203","ⅇ":"\u2147","Ф":"\u0424","𝔉":"\u{1D509}","◼":"\u25FC","▪":"\u25AA","𝔽":"\u{1D53D}","∀":"\u2200","ℱ":"\u2131","ℱ":"\u2131","Ѓ":"\u0403",">":">",">":">","Γ":"\u0393","Ϝ":"\u03DC","Ğ":"\u011E","Ģ":"\u0122","Ĝ":"\u011C","Г":"\u0413","Ġ":"\u0120","𝔊":"\u{1D50A}","⋙":"\u22D9","𝔾":"\u{1D53E}","≥":"\u2265","⋛":"\u22DB","≧":"\u2267","⪢":"\u2AA2","≷":"\u2277","⩾":"\u2A7E","≳":"\u2273","𝒢":"\u{1D4A2}","≫":"\u226B","Ъ":"\u042A","ˇ":"\u02C7","^":"^","Ĥ":"\u0124","ℌ":"\u210C","ℋ":"\u210B","ℍ":"\u210D","─":"\u2500","ℋ":"\u210B","Ħ":"\u0126","≎":"\u224E","≏":"\u224F","Е":"\u0415","IJ":"\u0132","Ё":"\u0401","Í":"\xCD","Í":"\xCD","Î":"\xCE","Î":"\xCE","И":"\u0418","İ":"\u0130","ℑ":"\u2111","Ì":"\xCC","Ì":"\xCC","ℑ":"\u2111","Ī":"\u012A","ⅈ":"\u2148","⇒":"\u21D2","∬":"\u222C","∫":"\u222B","⋂":"\u22C2","⁣":"\u2063","⁢":"\u2062","Į":"\u012E","𝕀":"\u{1D540}","Ι":"\u0399","ℐ":"\u2110","Ĩ":"\u0128","І":"\u0406","Ï":"\xCF","Ï":"\xCF","Ĵ":"\u0134","Й":"\u0419","𝔍":"\u{1D50D}","𝕁":"\u{1D541}","𝒥":"\u{1D4A5}","Ј":"\u0408","Є":"\u0404","Х":"\u0425","Ќ":"\u040C","Κ":"\u039A","Ķ":"\u0136","К":"\u041A","𝔎":"\u{1D50E}","𝕂":"\u{1D542}","𝒦":"\u{1D4A6}","Љ":"\u0409","<":"<","<":"<","Ĺ":"\u0139","Λ":"\u039B","⟪":"\u27EA","ℒ":"\u2112","↞":"\u219E","Ľ":"\u013D","Ļ":"\u013B","Л":"\u041B","⟨":"\u27E8","←":"\u2190","⇤":"\u21E4","⇆":"\u21C6","⌈":"\u2308","⟦":"\u27E6","⥡":"\u2961","⇃":"\u21C3","⥙":"\u2959","⌊":"\u230A","↔":"\u2194","⥎":"\u294E","⊣":"\u22A3","↤":"\u21A4","⥚":"\u295A","⊲":"\u22B2","⧏":"\u29CF","⊴":"\u22B4","⥑":"\u2951","⥠":"\u2960","↿":"\u21BF","⥘":"\u2958","↼":"\u21BC","⥒":"\u2952","⇐":"\u21D0","⇔":"\u21D4","⋚":"\u22DA","≦":"\u2266","≶":"\u2276","⪡":"\u2AA1","⩽":"\u2A7D","≲":"\u2272","𝔏":"\u{1D50F}","⋘":"\u22D8","⇚":"\u21DA","Ŀ":"\u013F","⟵":"\u27F5","⟷":"\u27F7","⟶":"\u27F6","⟸":"\u27F8","⟺":"\u27FA","⟹":"\u27F9","𝕃":"\u{1D543}","↙":"\u2199","↘":"\u2198","ℒ":"\u2112","↰":"\u21B0","Ł":"\u0141","≪":"\u226A","⤅":"\u2905","М":"\u041C"," ":"\u205F","ℳ":"\u2133","𝔐":"\u{1D510}","∓":"\u2213","𝕄":"\u{1D544}","ℳ":"\u2133","Μ":"\u039C","Њ":"\u040A","Ń":"\u0143","Ň":"\u0147","Ņ":"\u0145","Н":"\u041D","​":"\u200B","​":"\u200B","​":"\u200B","​":"\u200B","≫":"\u226B","≪":"\u226A","
":`
|
|
34
|
-
`,"𝔑":"\u{1D511}","⁠":"\u2060"," ":"\xA0","ℕ":"\u2115","⫬":"\u2AEC","≢":"\u2262","≭":"\u226D","∦":"\u2226","∉":"\u2209","≠":"\u2260","≂̸":"\u2242\u0338","∄":"\u2204","≯":"\u226F","≱":"\u2271","≧̸":"\u2267\u0338","≫̸":"\u226B\u0338","≹":"\u2279","⩾̸":"\u2A7E\u0338","≵":"\u2275","≎̸":"\u224E\u0338","≏̸":"\u224F\u0338","⋪":"\u22EA","⧏̸":"\u29CF\u0338","⋬":"\u22EC","≮":"\u226E","≰":"\u2270","≸":"\u2278","≪̸":"\u226A\u0338","⩽̸":"\u2A7D\u0338","≴":"\u2274","⪢̸":"\u2AA2\u0338","⪡̸":"\u2AA1\u0338","⊀":"\u2280","⪯̸":"\u2AAF\u0338","⋠":"\u22E0","∌":"\u220C","⋫":"\u22EB","⧐̸":"\u29D0\u0338","⋭":"\u22ED","⊏̸":"\u228F\u0338","⋢":"\u22E2","⊐̸":"\u2290\u0338","⋣":"\u22E3","⊂⃒":"\u2282\u20D2","⊈":"\u2288","⊁":"\u2281","⪰̸":"\u2AB0\u0338","⋡":"\u22E1","≿̸":"\u227F\u0338","⊃⃒":"\u2283\u20D2","⊉":"\u2289","≁":"\u2241","≄":"\u2244","≇":"\u2247","≉":"\u2249","∤":"\u2224","𝒩":"\u{1D4A9}","Ñ":"\xD1","Ñ":"\xD1","Ν":"\u039D","Œ":"\u0152","Ó":"\xD3","Ó":"\xD3","Ô":"\xD4","Ô":"\xD4","О":"\u041E","Ő":"\u0150","𝔒":"\u{1D512}","Ò":"\xD2","Ò":"\xD2","Ō":"\u014C","Ω":"\u03A9","Ο":"\u039F","𝕆":"\u{1D546}","“":"\u201C","‘":"\u2018","⩔":"\u2A54","𝒪":"\u{1D4AA}","Ø":"\xD8","Ø":"\xD8","Õ":"\xD5","Õ":"\xD5","⨷":"\u2A37","Ö":"\xD6","Ö":"\xD6","‾":"\u203E","⏞":"\u23DE","⎴":"\u23B4","⏜":"\u23DC","∂":"\u2202","П":"\u041F","𝔓":"\u{1D513}","Φ":"\u03A6","Π":"\u03A0","±":"\xB1","ℌ":"\u210C","ℙ":"\u2119","⪻":"\u2ABB","≺":"\u227A","⪯":"\u2AAF","≼":"\u227C","≾":"\u227E","″":"\u2033","∏":"\u220F","∷":"\u2237","∝":"\u221D","𝒫":"\u{1D4AB}","Ψ":"\u03A8",""":'"',""":'"',"𝔔":"\u{1D514}","ℚ":"\u211A","𝒬":"\u{1D4AC}","⤐":"\u2910","®":"\xAE","®":"\xAE","Ŕ":"\u0154","⟫":"\u27EB","↠":"\u21A0","⤖":"\u2916","Ř":"\u0158","Ŗ":"\u0156","Р":"\u0420","ℜ":"\u211C","∋":"\u220B","⇋":"\u21CB","⥯":"\u296F","ℜ":"\u211C","Ρ":"\u03A1","⟩":"\u27E9","→":"\u2192","⇥":"\u21E5","⇄":"\u21C4","⌉":"\u2309","⟧":"\u27E7","⥝":"\u295D","⇂":"\u21C2","⥕":"\u2955","⌋":"\u230B","⊢":"\u22A2","↦":"\u21A6","⥛":"\u295B","⊳":"\u22B3","⧐":"\u29D0","⊵":"\u22B5","⥏":"\u294F","⥜":"\u295C","↾":"\u21BE","⥔":"\u2954","⇀":"\u21C0","⥓":"\u2953","⇒":"\u21D2","ℝ":"\u211D","⥰":"\u2970","⇛":"\u21DB","ℛ":"\u211B","↱":"\u21B1","⧴":"\u29F4","Щ":"\u0429","Ш":"\u0428","Ь":"\u042C","Ś":"\u015A","⪼":"\u2ABC","Š":"\u0160","Ş":"\u015E","Ŝ":"\u015C","С":"\u0421","𝔖":"\u{1D516}","↓":"\u2193","←":"\u2190","→":"\u2192","↑":"\u2191","Σ":"\u03A3","∘":"\u2218","𝕊":"\u{1D54A}","√":"\u221A","□":"\u25A1","⊓":"\u2293","⊏":"\u228F","⊑":"\u2291","⊐":"\u2290","⊒":"\u2292","⊔":"\u2294","𝒮":"\u{1D4AE}","⋆":"\u22C6","⋐":"\u22D0","⋐":"\u22D0","⊆":"\u2286","≻":"\u227B","⪰":"\u2AB0","≽":"\u227D","≿":"\u227F","∋":"\u220B","∑":"\u2211","⋑":"\u22D1","⊃":"\u2283","⊇":"\u2287","⋑":"\u22D1","Þ":"\xDE","Þ":"\xDE","™":"\u2122","Ћ":"\u040B","Ц":"\u0426","	":" ","Τ":"\u03A4","Ť":"\u0164","Ţ":"\u0162","Т":"\u0422","𝔗":"\u{1D517}","∴":"\u2234","Θ":"\u0398","  ":"\u205F\u200A"," ":"\u2009","∼":"\u223C","≃":"\u2243","≅":"\u2245","≈":"\u2248","𝕋":"\u{1D54B}","⃛":"\u20DB","𝒯":"\u{1D4AF}","Ŧ":"\u0166","Ú":"\xDA","Ú":"\xDA","↟":"\u219F","⥉":"\u2949","Ў":"\u040E","Ŭ":"\u016C","Û":"\xDB","Û":"\xDB","У":"\u0423","Ű":"\u0170","𝔘":"\u{1D518}","Ù":"\xD9","Ù":"\xD9","Ū":"\u016A","_":"_","⏟":"\u23DF","⎵":"\u23B5","⏝":"\u23DD","⋃":"\u22C3","⊎":"\u228E","Ų":"\u0172","𝕌":"\u{1D54C}","↑":"\u2191","⤒":"\u2912","⇅":"\u21C5","↕":"\u2195","⥮":"\u296E","⊥":"\u22A5","↥":"\u21A5","⇑":"\u21D1","⇕":"\u21D5","↖":"\u2196","↗":"\u2197","ϒ":"\u03D2","Υ":"\u03A5","Ů":"\u016E","𝒰":"\u{1D4B0}","Ũ":"\u0168","Ü":"\xDC","Ü":"\xDC","⊫":"\u22AB","⫫":"\u2AEB","В":"\u0412","⊩":"\u22A9","⫦":"\u2AE6","⋁":"\u22C1","‖":"\u2016","‖":"\u2016","∣":"\u2223","|":"|","❘":"\u2758","≀":"\u2240"," ":"\u200A","𝔙":"\u{1D519}","𝕍":"\u{1D54D}","𝒱":"\u{1D4B1}","⊪":"\u22AA","Ŵ":"\u0174","⋀":"\u22C0","𝔚":"\u{1D51A}","𝕎":"\u{1D54E}","𝒲":"\u{1D4B2}","𝔛":"\u{1D51B}","Ξ":"\u039E","𝕏":"\u{1D54F}","𝒳":"\u{1D4B3}","Я":"\u042F","Ї":"\u0407","Ю":"\u042E","Ý":"\xDD","Ý":"\xDD","Ŷ":"\u0176","Ы":"\u042B","𝔜":"\u{1D51C}","𝕐":"\u{1D550}","𝒴":"\u{1D4B4}","Ÿ":"\u0178","Ж":"\u0416","Ź":"\u0179","Ž":"\u017D","З":"\u0417","Ż":"\u017B","​":"\u200B","Ζ":"\u0396","ℨ":"\u2128","ℤ":"\u2124","𝒵":"\u{1D4B5}","á":"\xE1","á":"\xE1","ă":"\u0103","∾":"\u223E","∾̳":"\u223E\u0333","∿":"\u223F","â":"\xE2","â":"\xE2","´":"\xB4","´":"\xB4","а":"\u0430","æ":"\xE6","æ":"\xE6","⁡":"\u2061","𝔞":"\u{1D51E}","à":"\xE0","à":"\xE0","ℵ":"\u2135","ℵ":"\u2135","α":"\u03B1","ā":"\u0101","⨿":"\u2A3F","&":"&","&":"&","∧":"\u2227","⩕":"\u2A55","⩜":"\u2A5C","⩘":"\u2A58","⩚":"\u2A5A","∠":"\u2220","⦤":"\u29A4","∠":"\u2220","∡":"\u2221","⦨":"\u29A8","⦩":"\u29A9","⦪":"\u29AA","⦫":"\u29AB","⦬":"\u29AC","⦭":"\u29AD","⦮":"\u29AE","⦯":"\u29AF","∟":"\u221F","⊾":"\u22BE","⦝":"\u299D","∢":"\u2222","Å":"\xC5","⍼":"\u237C","ą":"\u0105","𝕒":"\u{1D552}","≈":"\u2248","⩰":"\u2A70","⩯":"\u2A6F","≊":"\u224A","≋":"\u224B","'":"'","≈":"\u2248","≊":"\u224A","å":"\xE5","å":"\xE5","𝒶":"\u{1D4B6}","*":"*","≈":"\u2248","≍":"\u224D","ã":"\xE3","ã":"\xE3","ä":"\xE4","ä":"\xE4","∳":"\u2233","⨑":"\u2A11","⫭":"\u2AED","≌":"\u224C","϶":"\u03F6","‵":"\u2035","∽":"\u223D","⋍":"\u22CD","⊽":"\u22BD","⌅":"\u2305","⌅":"\u2305","⎵":"\u23B5","⎶":"\u23B6","≌":"\u224C","б":"\u0431","„":"\u201E","∵":"\u2235","∵":"\u2235","⦰":"\u29B0","϶":"\u03F6","ℬ":"\u212C","β":"\u03B2","ℶ":"\u2136","≬":"\u226C","𝔟":"\u{1D51F}","⋂":"\u22C2","◯":"\u25EF","⋃":"\u22C3","⨀":"\u2A00","⨁":"\u2A01","⨂":"\u2A02","⨆":"\u2A06","★":"\u2605","▽":"\u25BD","△":"\u25B3","⨄":"\u2A04","⋁":"\u22C1","⋀":"\u22C0","⤍":"\u290D","⧫":"\u29EB","▪":"\u25AA","▴":"\u25B4","▾":"\u25BE","◂":"\u25C2","▸":"\u25B8","␣":"\u2423","▒":"\u2592","░":"\u2591","▓":"\u2593","█":"\u2588","=⃥":"=\u20E5","≡⃥":"\u2261\u20E5","⌐":"\u2310","𝕓":"\u{1D553}","⊥":"\u22A5","⊥":"\u22A5","⋈":"\u22C8","╗":"\u2557","╔":"\u2554","╖":"\u2556","╓":"\u2553","═":"\u2550","╦":"\u2566","╩":"\u2569","╤":"\u2564","╧":"\u2567","╝":"\u255D","╚":"\u255A","╜":"\u255C","╙":"\u2559","║":"\u2551","╬":"\u256C","╣":"\u2563","╠":"\u2560","╫":"\u256B","╢":"\u2562","╟":"\u255F","⧉":"\u29C9","╕":"\u2555","╒":"\u2552","┐":"\u2510","┌":"\u250C","─":"\u2500","╥":"\u2565","╨":"\u2568","┬":"\u252C","┴":"\u2534","⊟":"\u229F","⊞":"\u229E","⊠":"\u22A0","╛":"\u255B","╘":"\u2558","┘":"\u2518","└":"\u2514","│":"\u2502","╪":"\u256A","╡":"\u2561","╞":"\u255E","┼":"\u253C","┤":"\u2524","├":"\u251C","‵":"\u2035","˘":"\u02D8","¦":"\xA6","¦":"\xA6","𝒷":"\u{1D4B7}","⁏":"\u204F","∽":"\u223D","⋍":"\u22CD","\":"\\","⧅":"\u29C5","⟈":"\u27C8","•":"\u2022","•":"\u2022","≎":"\u224E","⪮":"\u2AAE","≏":"\u224F","≏":"\u224F","ć":"\u0107","∩":"\u2229","⩄":"\u2A44","⩉":"\u2A49","⩋":"\u2A4B","⩇":"\u2A47","⩀":"\u2A40","∩︀":"\u2229\uFE00","⁁":"\u2041","ˇ":"\u02C7","⩍":"\u2A4D","č":"\u010D","ç":"\xE7","ç":"\xE7","ĉ":"\u0109","⩌":"\u2A4C","⩐":"\u2A50","ċ":"\u010B","¸":"\xB8","¸":"\xB8","⦲":"\u29B2","¢":"\xA2","¢":"\xA2","·":"\xB7","𝔠":"\u{1D520}","ч":"\u0447","✓":"\u2713","✓":"\u2713","χ":"\u03C7","○":"\u25CB","⧃":"\u29C3","ˆ":"\u02C6","≗":"\u2257","↺":"\u21BA","↻":"\u21BB","®":"\xAE","Ⓢ":"\u24C8","⊛":"\u229B","⊚":"\u229A","⊝":"\u229D","≗":"\u2257","⨐":"\u2A10","⫯":"\u2AEF","⧂":"\u29C2","♣":"\u2663","♣":"\u2663",":":":","≔":"\u2254","≔":"\u2254",",":",","@":"@","∁":"\u2201","∘":"\u2218","∁":"\u2201","ℂ":"\u2102","≅":"\u2245","⩭":"\u2A6D","∮":"\u222E","𝕔":"\u{1D554}","∐":"\u2210","©":"\xA9","©":"\xA9","℗":"\u2117","↵":"\u21B5","✗":"\u2717","𝒸":"\u{1D4B8}","⫏":"\u2ACF","⫑":"\u2AD1","⫐":"\u2AD0","⫒":"\u2AD2","⋯":"\u22EF","⤸":"\u2938","⤵":"\u2935","⋞":"\u22DE","⋟":"\u22DF","↶":"\u21B6","⤽":"\u293D","∪":"\u222A","⩈":"\u2A48","⩆":"\u2A46","⩊":"\u2A4A","⊍":"\u228D","⩅":"\u2A45","∪︀":"\u222A\uFE00","↷":"\u21B7","⤼":"\u293C","⋞":"\u22DE","⋟":"\u22DF","⋎":"\u22CE","⋏":"\u22CF","¤":"\xA4","¤":"\xA4","↶":"\u21B6","↷":"\u21B7","⋎":"\u22CE","⋏":"\u22CF","∲":"\u2232","∱":"\u2231","⌭":"\u232D","⇓":"\u21D3","⥥":"\u2965","†":"\u2020","ℸ":"\u2138","↓":"\u2193","‐":"\u2010","⊣":"\u22A3","⤏":"\u290F","˝":"\u02DD","ď":"\u010F","д":"\u0434","ⅆ":"\u2146","‡":"\u2021","⇊":"\u21CA","⩷":"\u2A77","°":"\xB0","°":"\xB0","δ":"\u03B4","⦱":"\u29B1","⥿":"\u297F","𝔡":"\u{1D521}","⇃":"\u21C3","⇂":"\u21C2","⋄":"\u22C4","⋄":"\u22C4","♦":"\u2666","♦":"\u2666","¨":"\xA8","ϝ":"\u03DD","⋲":"\u22F2","÷":"\xF7","÷":"\xF7","÷":"\xF7","⋇":"\u22C7","⋇":"\u22C7","ђ":"\u0452","⌞":"\u231E","⌍":"\u230D","$":"$","𝕕":"\u{1D555}","˙":"\u02D9","≐":"\u2250","≑":"\u2251","∸":"\u2238","∔":"\u2214","⊡":"\u22A1","⌆":"\u2306","↓":"\u2193","⇊":"\u21CA","⇃":"\u21C3","⇂":"\u21C2","⤐":"\u2910","⌟":"\u231F","⌌":"\u230C","𝒹":"\u{1D4B9}","ѕ":"\u0455","⧶":"\u29F6","đ":"\u0111","⋱":"\u22F1","▿":"\u25BF","▾":"\u25BE","⇵":"\u21F5","⥯":"\u296F","⦦":"\u29A6","џ":"\u045F","⟿":"\u27FF","⩷":"\u2A77","≑":"\u2251","é":"\xE9","é":"\xE9","⩮":"\u2A6E","ě":"\u011B","≖":"\u2256","ê":"\xEA","ê":"\xEA","≕":"\u2255","э":"\u044D","ė":"\u0117","ⅇ":"\u2147","≒":"\u2252","𝔢":"\u{1D522}","⪚":"\u2A9A","è":"\xE8","è":"\xE8","⪖":"\u2A96","⪘":"\u2A98","⪙":"\u2A99","⏧":"\u23E7","ℓ":"\u2113","⪕":"\u2A95","⪗":"\u2A97","ē":"\u0113","∅":"\u2205","∅":"\u2205","∅":"\u2205"," ":"\u2004"," ":"\u2005"," ":"\u2003","ŋ":"\u014B"," ":"\u2002","ę":"\u0119","𝕖":"\u{1D556}","⋕":"\u22D5","⧣":"\u29E3","⩱":"\u2A71","ε":"\u03B5","ε":"\u03B5","ϵ":"\u03F5","≖":"\u2256","≕":"\u2255","≂":"\u2242","⪖":"\u2A96","⪕":"\u2A95","=":"=","≟":"\u225F","≡":"\u2261","⩸":"\u2A78","⧥":"\u29E5","≓":"\u2253","⥱":"\u2971","ℯ":"\u212F","≐":"\u2250","≂":"\u2242","η":"\u03B7","ð":"\xF0","ð":"\xF0","ë":"\xEB","ë":"\xEB","€":"\u20AC","!":"!","∃":"\u2203","ℰ":"\u2130","ⅇ":"\u2147","≒":"\u2252","ф":"\u0444","♀":"\u2640","ffi":"\uFB03","ff":"\uFB00","ffl":"\uFB04","𝔣":"\u{1D523}","fi":"\uFB01","fj":"fj","♭":"\u266D","fl":"\uFB02","▱":"\u25B1","ƒ":"\u0192","𝕗":"\u{1D557}","∀":"\u2200","⋔":"\u22D4","⫙":"\u2AD9","⨍":"\u2A0D","½":"\xBD","½":"\xBD","⅓":"\u2153","¼":"\xBC","¼":"\xBC","⅕":"\u2155","⅙":"\u2159","⅛":"\u215B","⅔":"\u2154","⅖":"\u2156","¾":"\xBE","¾":"\xBE","⅗":"\u2157","⅜":"\u215C","⅘":"\u2158","⅚":"\u215A","⅝":"\u215D","⅞":"\u215E","⁄":"\u2044","⌢":"\u2322","𝒻":"\u{1D4BB}","≧":"\u2267","⪌":"\u2A8C","ǵ":"\u01F5","γ":"\u03B3","ϝ":"\u03DD","⪆":"\u2A86","ğ":"\u011F","ĝ":"\u011D","г":"\u0433","ġ":"\u0121","≥":"\u2265","⋛":"\u22DB","≥":"\u2265","≧":"\u2267","⩾":"\u2A7E","⩾":"\u2A7E","⪩":"\u2AA9","⪀":"\u2A80","⪂":"\u2A82","⪄":"\u2A84","⋛︀":"\u22DB\uFE00","⪔":"\u2A94","𝔤":"\u{1D524}","≫":"\u226B","⋙":"\u22D9","ℷ":"\u2137","ѓ":"\u0453","≷":"\u2277","⪒":"\u2A92","⪥":"\u2AA5","⪤":"\u2AA4","≩":"\u2269","⪊":"\u2A8A","⪊":"\u2A8A","⪈":"\u2A88","⪈":"\u2A88","≩":"\u2269","⋧":"\u22E7","𝕘":"\u{1D558}","`":"`","ℊ":"\u210A","≳":"\u2273","⪎":"\u2A8E","⪐":"\u2A90",">":">",">":">","⪧":"\u2AA7","⩺":"\u2A7A","⋗":"\u22D7","⦕":"\u2995","⩼":"\u2A7C","⪆":"\u2A86","⥸":"\u2978","⋗":"\u22D7","⋛":"\u22DB","⪌":"\u2A8C","≷":"\u2277","≳":"\u2273","≩︀":"\u2269\uFE00","≩︀":"\u2269\uFE00","⇔":"\u21D4"," ":"\u200A","½":"\xBD","ℋ":"\u210B","ъ":"\u044A","↔":"\u2194","⥈":"\u2948","↭":"\u21AD","ℏ":"\u210F","ĥ":"\u0125","♥":"\u2665","♥":"\u2665","…":"\u2026","⊹":"\u22B9","𝔥":"\u{1D525}","⤥":"\u2925","⤦":"\u2926","⇿":"\u21FF","∻":"\u223B","↩":"\u21A9","↪":"\u21AA","𝕙":"\u{1D559}","―":"\u2015","𝒽":"\u{1D4BD}","ℏ":"\u210F","ħ":"\u0127","⁃":"\u2043","‐":"\u2010","í":"\xED","í":"\xED","⁣":"\u2063","î":"\xEE","î":"\xEE","и":"\u0438","е":"\u0435","¡":"\xA1","¡":"\xA1","⇔":"\u21D4","𝔦":"\u{1D526}","ì":"\xEC","ì":"\xEC","ⅈ":"\u2148","⨌":"\u2A0C","∭":"\u222D","⧜":"\u29DC","℩":"\u2129","ij":"\u0133","ī":"\u012B","ℑ":"\u2111","ℐ":"\u2110","ℑ":"\u2111","ı":"\u0131","⊷":"\u22B7","Ƶ":"\u01B5","∈":"\u2208","℅":"\u2105","∞":"\u221E","⧝":"\u29DD","ı":"\u0131","∫":"\u222B","⊺":"\u22BA","ℤ":"\u2124","⊺":"\u22BA","⨗":"\u2A17","⨼":"\u2A3C","ё":"\u0451","į":"\u012F","𝕚":"\u{1D55A}","ι":"\u03B9","⨼":"\u2A3C","¿":"\xBF","¿":"\xBF","𝒾":"\u{1D4BE}","∈":"\u2208","⋹":"\u22F9","⋵":"\u22F5","⋴":"\u22F4","⋳":"\u22F3","∈":"\u2208","⁢":"\u2062","ĩ":"\u0129","і":"\u0456","ï":"\xEF","ï":"\xEF","ĵ":"\u0135","й":"\u0439","𝔧":"\u{1D527}","ȷ":"\u0237","𝕛":"\u{1D55B}","𝒿":"\u{1D4BF}","ј":"\u0458","є":"\u0454","κ":"\u03BA","ϰ":"\u03F0","ķ":"\u0137","к":"\u043A","𝔨":"\u{1D528}","ĸ":"\u0138","х":"\u0445","ќ":"\u045C","𝕜":"\u{1D55C}","𝓀":"\u{1D4C0}","⇚":"\u21DA","⇐":"\u21D0","⤛":"\u291B","⤎":"\u290E","≦":"\u2266","⪋":"\u2A8B","⥢":"\u2962","ĺ":"\u013A","⦴":"\u29B4","ℒ":"\u2112","λ":"\u03BB","⟨":"\u27E8","⦑":"\u2991","⟨":"\u27E8","⪅":"\u2A85","«":"\xAB","«":"\xAB","←":"\u2190","⇤":"\u21E4","⤟":"\u291F","⤝":"\u291D","↩":"\u21A9","↫":"\u21AB","⤹":"\u2939","⥳":"\u2973","↢":"\u21A2","⪫":"\u2AAB","⤙":"\u2919","⪭":"\u2AAD","⪭︀":"\u2AAD\uFE00","⤌":"\u290C","❲":"\u2772","{":"{","[":"[","⦋":"\u298B","⦏":"\u298F","⦍":"\u298D","ľ":"\u013E","ļ":"\u013C","⌈":"\u2308","{":"{","л":"\u043B","⤶":"\u2936","“":"\u201C","„":"\u201E","⥧":"\u2967","⥋":"\u294B","↲":"\u21B2","≤":"\u2264","←":"\u2190","↢":"\u21A2","↽":"\u21BD","↼":"\u21BC","⇇":"\u21C7","↔":"\u2194","⇆":"\u21C6","⇋":"\u21CB","↭":"\u21AD","⋋":"\u22CB","⋚":"\u22DA","≤":"\u2264","≦":"\u2266","⩽":"\u2A7D","⩽":"\u2A7D","⪨":"\u2AA8","⩿":"\u2A7F","⪁":"\u2A81","⪃":"\u2A83","⋚︀":"\u22DA\uFE00","⪓":"\u2A93","⪅":"\u2A85","⋖":"\u22D6","⋚":"\u22DA","⪋":"\u2A8B","≶":"\u2276","≲":"\u2272","⥼":"\u297C","⌊":"\u230A","𝔩":"\u{1D529}","≶":"\u2276","⪑":"\u2A91","↽":"\u21BD","↼":"\u21BC","⥪":"\u296A","▄":"\u2584","љ":"\u0459","≪":"\u226A","⇇":"\u21C7","⌞":"\u231E","⥫":"\u296B","◺":"\u25FA","ŀ":"\u0140","⎰":"\u23B0","⎰":"\u23B0","≨":"\u2268","⪉":"\u2A89","⪉":"\u2A89","⪇":"\u2A87","⪇":"\u2A87","≨":"\u2268","⋦":"\u22E6","⟬":"\u27EC","⇽":"\u21FD","⟦":"\u27E6","⟵":"\u27F5","⟷":"\u27F7","⟼":"\u27FC","⟶":"\u27F6","↫":"\u21AB","↬":"\u21AC","⦅":"\u2985","𝕝":"\u{1D55D}","⨭":"\u2A2D","⨴":"\u2A34","∗":"\u2217","_":"_","◊":"\u25CA","◊":"\u25CA","⧫":"\u29EB","(":"(","⦓":"\u2993","⇆":"\u21C6","⌟":"\u231F","⇋":"\u21CB","⥭":"\u296D","‎":"\u200E","⊿":"\u22BF","‹":"\u2039","𝓁":"\u{1D4C1}","↰":"\u21B0","≲":"\u2272","⪍":"\u2A8D","⪏":"\u2A8F","[":"[","‘":"\u2018","‚":"\u201A","ł":"\u0142","<":"<","<":"<","⪦":"\u2AA6","⩹":"\u2A79","⋖":"\u22D6","⋋":"\u22CB","⋉":"\u22C9","⥶":"\u2976","⩻":"\u2A7B","⦖":"\u2996","◃":"\u25C3","⊴":"\u22B4","◂":"\u25C2","⥊":"\u294A","⥦":"\u2966","≨︀":"\u2268\uFE00","≨︀":"\u2268\uFE00","∺":"\u223A","¯":"\xAF","¯":"\xAF","♂":"\u2642","✠":"\u2720","✠":"\u2720","↦":"\u21A6","↦":"\u21A6","↧":"\u21A7","↤":"\u21A4","↥":"\u21A5","▮":"\u25AE","⨩":"\u2A29","м":"\u043C","—":"\u2014","∡":"\u2221","𝔪":"\u{1D52A}","℧":"\u2127","µ":"\xB5","µ":"\xB5","∣":"\u2223","*":"*","⫰":"\u2AF0","·":"\xB7","·":"\xB7","−":"\u2212","⊟":"\u229F","∸":"\u2238","⨪":"\u2A2A","⫛":"\u2ADB","…":"\u2026","∓":"\u2213","⊧":"\u22A7","𝕞":"\u{1D55E}","∓":"\u2213","𝓂":"\u{1D4C2}","∾":"\u223E","μ":"\u03BC","⊸":"\u22B8","⊸":"\u22B8","⋙̸":"\u22D9\u0338","≫⃒":"\u226B\u20D2","≫̸":"\u226B\u0338","⇍":"\u21CD","⇎":"\u21CE","⋘̸":"\u22D8\u0338","≪⃒":"\u226A\u20D2","≪̸":"\u226A\u0338","⇏":"\u21CF","⊯":"\u22AF","⊮":"\u22AE","∇":"\u2207","ń":"\u0144","∠⃒":"\u2220\u20D2","≉":"\u2249","⩰̸":"\u2A70\u0338","≋̸":"\u224B\u0338","ʼn":"\u0149","≉":"\u2249","♮":"\u266E","♮":"\u266E","ℕ":"\u2115"," ":"\xA0"," ":"\xA0","≎̸":"\u224E\u0338","≏̸":"\u224F\u0338","⩃":"\u2A43","ň":"\u0148","ņ":"\u0146","≇":"\u2247","⩭̸":"\u2A6D\u0338","⩂":"\u2A42","н":"\u043D","–":"\u2013","≠":"\u2260","⇗":"\u21D7","⤤":"\u2924","↗":"\u2197","↗":"\u2197","≐̸":"\u2250\u0338","≢":"\u2262","⤨":"\u2928","≂̸":"\u2242\u0338","∄":"\u2204","∄":"\u2204","𝔫":"\u{1D52B}","≧̸":"\u2267\u0338","≱":"\u2271","≱":"\u2271","≧̸":"\u2267\u0338","⩾̸":"\u2A7E\u0338","⩾̸":"\u2A7E\u0338","≵":"\u2275","≯":"\u226F","≯":"\u226F","⇎":"\u21CE","↮":"\u21AE","⫲":"\u2AF2","∋":"\u220B","⋼":"\u22FC","⋺":"\u22FA","∋":"\u220B","њ":"\u045A","⇍":"\u21CD","≦̸":"\u2266\u0338","↚":"\u219A","‥":"\u2025","≰":"\u2270","↚":"\u219A","↮":"\u21AE","≰":"\u2270","≦̸":"\u2266\u0338","⩽̸":"\u2A7D\u0338","⩽̸":"\u2A7D\u0338","≮":"\u226E","≴":"\u2274","≮":"\u226E","⋪":"\u22EA","⋬":"\u22EC","∤":"\u2224","𝕟":"\u{1D55F}","¬":"\xAC","¬":"\xAC","∉":"\u2209","⋹̸":"\u22F9\u0338","⋵̸":"\u22F5\u0338","∉":"\u2209","⋷":"\u22F7","⋶":"\u22F6","∌":"\u220C","∌":"\u220C","⋾":"\u22FE","⋽":"\u22FD","∦":"\u2226","∦":"\u2226","⫽⃥":"\u2AFD\u20E5","∂̸":"\u2202\u0338","⨔":"\u2A14","⊀":"\u2280","⋠":"\u22E0","⪯̸":"\u2AAF\u0338","⊀":"\u2280","⪯̸":"\u2AAF\u0338","⇏":"\u21CF","↛":"\u219B","⤳̸":"\u2933\u0338","↝̸":"\u219D\u0338","↛":"\u219B","⋫":"\u22EB","⋭":"\u22ED","⊁":"\u2281","⋡":"\u22E1","⪰̸":"\u2AB0\u0338","𝓃":"\u{1D4C3}","∤":"\u2224","∦":"\u2226","≁":"\u2241","≄":"\u2244","≄":"\u2244","∤":"\u2224","∦":"\u2226","⋢":"\u22E2","⋣":"\u22E3","⊄":"\u2284","⫅̸":"\u2AC5\u0338","⊈":"\u2288","⊂⃒":"\u2282\u20D2","⊈":"\u2288","⫅̸":"\u2AC5\u0338","⊁":"\u2281","⪰̸":"\u2AB0\u0338","⊅":"\u2285","⫆̸":"\u2AC6\u0338","⊉":"\u2289","⊃⃒":"\u2283\u20D2","⊉":"\u2289","⫆̸":"\u2AC6\u0338","≹":"\u2279","ñ":"\xF1","ñ":"\xF1","≸":"\u2278","⋪":"\u22EA","⋬":"\u22EC","⋫":"\u22EB","⋭":"\u22ED","ν":"\u03BD","#":"#","№":"\u2116"," ":"\u2007","⊭":"\u22AD","⤄":"\u2904","≍⃒":"\u224D\u20D2","⊬":"\u22AC","≥⃒":"\u2265\u20D2",">⃒":">\u20D2","⧞":"\u29DE","⤂":"\u2902","≤⃒":"\u2264\u20D2","<⃒":"<\u20D2","⊴⃒":"\u22B4\u20D2","⤃":"\u2903","⊵⃒":"\u22B5\u20D2","∼⃒":"\u223C\u20D2","⇖":"\u21D6","⤣":"\u2923","↖":"\u2196","↖":"\u2196","⤧":"\u2927","Ⓢ":"\u24C8","ó":"\xF3","ó":"\xF3","⊛":"\u229B","⊚":"\u229A","ô":"\xF4","ô":"\xF4","о":"\u043E","⊝":"\u229D","ő":"\u0151","⨸":"\u2A38","⊙":"\u2299","⦼":"\u29BC","œ":"\u0153","⦿":"\u29BF","𝔬":"\u{1D52C}","˛":"\u02DB","ò":"\xF2","ò":"\xF2","⧁":"\u29C1","⦵":"\u29B5","Ω":"\u03A9","∮":"\u222E","↺":"\u21BA","⦾":"\u29BE","⦻":"\u29BB","‾":"\u203E","⧀":"\u29C0","ō":"\u014D","ω":"\u03C9","ο":"\u03BF","⦶":"\u29B6","⊖":"\u2296","𝕠":"\u{1D560}","⦷":"\u29B7","⦹":"\u29B9","⊕":"\u2295","∨":"\u2228","↻":"\u21BB","⩝":"\u2A5D","ℴ":"\u2134","ℴ":"\u2134","ª":"\xAA","ª":"\xAA","º":"\xBA","º":"\xBA","⊶":"\u22B6","⩖":"\u2A56","⩗":"\u2A57","⩛":"\u2A5B","ℴ":"\u2134","ø":"\xF8","ø":"\xF8","⊘":"\u2298","õ":"\xF5","õ":"\xF5","⊗":"\u2297","⨶":"\u2A36","ö":"\xF6","ö":"\xF6","⌽":"\u233D","∥":"\u2225","¶":"\xB6","¶":"\xB6","∥":"\u2225","⫳":"\u2AF3","⫽":"\u2AFD","∂":"\u2202","п":"\u043F","%":"%",".":".","‰":"\u2030","⊥":"\u22A5","‱":"\u2031","𝔭":"\u{1D52D}","φ":"\u03C6","ϕ":"\u03D5","ℳ":"\u2133","☎":"\u260E","π":"\u03C0","⋔":"\u22D4","ϖ":"\u03D6","ℏ":"\u210F","ℎ":"\u210E","ℏ":"\u210F","+":"+","⨣":"\u2A23","⊞":"\u229E","⨢":"\u2A22","∔":"\u2214","⨥":"\u2A25","⩲":"\u2A72","±":"\xB1","±":"\xB1","⨦":"\u2A26","⨧":"\u2A27","±":"\xB1","⨕":"\u2A15","𝕡":"\u{1D561}","£":"\xA3","£":"\xA3","≺":"\u227A","⪳":"\u2AB3","⪷":"\u2AB7","≼":"\u227C","⪯":"\u2AAF","≺":"\u227A","⪷":"\u2AB7","≼":"\u227C","⪯":"\u2AAF","⪹":"\u2AB9","⪵":"\u2AB5","⋨":"\u22E8","≾":"\u227E","′":"\u2032","ℙ":"\u2119","⪵":"\u2AB5","⪹":"\u2AB9","⋨":"\u22E8","∏":"\u220F","⌮":"\u232E","⌒":"\u2312","⌓":"\u2313","∝":"\u221D","∝":"\u221D","≾":"\u227E","⊰":"\u22B0","𝓅":"\u{1D4C5}","ψ":"\u03C8"," ":"\u2008","𝔮":"\u{1D52E}","⨌":"\u2A0C","𝕢":"\u{1D562}","⁗":"\u2057","𝓆":"\u{1D4C6}","ℍ":"\u210D","⨖":"\u2A16","?":"?","≟":"\u225F",""":'"',""":'"',"⇛":"\u21DB","⇒":"\u21D2","⤜":"\u291C","⤏":"\u290F","⥤":"\u2964","∽̱":"\u223D\u0331","ŕ":"\u0155","√":"\u221A","⦳":"\u29B3","⟩":"\u27E9","⦒":"\u2992","⦥":"\u29A5","⟩":"\u27E9","»":"\xBB","»":"\xBB","→":"\u2192","⥵":"\u2975","⇥":"\u21E5","⤠":"\u2920","⤳":"\u2933","⤞":"\u291E","↪":"\u21AA","↬":"\u21AC","⥅":"\u2945","⥴":"\u2974","↣":"\u21A3","↝":"\u219D","⤚":"\u291A","∶":"\u2236","ℚ":"\u211A","⤍":"\u290D","❳":"\u2773","}":"}","]":"]","⦌":"\u298C","⦎":"\u298E","⦐":"\u2990","ř":"\u0159","ŗ":"\u0157","⌉":"\u2309","}":"}","р":"\u0440","⤷":"\u2937","⥩":"\u2969","”":"\u201D","”":"\u201D","↳":"\u21B3","ℜ":"\u211C","ℛ":"\u211B","ℜ":"\u211C","ℝ":"\u211D","▭":"\u25AD","®":"\xAE","®":"\xAE","⥽":"\u297D","⌋":"\u230B","𝔯":"\u{1D52F}","⇁":"\u21C1","⇀":"\u21C0","⥬":"\u296C","ρ":"\u03C1","ϱ":"\u03F1","→":"\u2192","↣":"\u21A3","⇁":"\u21C1","⇀":"\u21C0","⇄":"\u21C4","⇌":"\u21CC","⇉":"\u21C9","↝":"\u219D","⋌":"\u22CC","˚":"\u02DA","≓":"\u2253","⇄":"\u21C4","⇌":"\u21CC","‏":"\u200F","⎱":"\u23B1","⎱":"\u23B1","⫮":"\u2AEE","⟭":"\u27ED","⇾":"\u21FE","⟧":"\u27E7","⦆":"\u2986","𝕣":"\u{1D563}","⨮":"\u2A2E","⨵":"\u2A35",")":")","⦔":"\u2994","⨒":"\u2A12","⇉":"\u21C9","›":"\u203A","𝓇":"\u{1D4C7}","↱":"\u21B1","]":"]","’":"\u2019","’":"\u2019","⋌":"\u22CC","⋊":"\u22CA","▹":"\u25B9","⊵":"\u22B5","▸":"\u25B8","⧎":"\u29CE","⥨":"\u2968","℞":"\u211E","ś":"\u015B","‚":"\u201A","≻":"\u227B","⪴":"\u2AB4","⪸":"\u2AB8","š":"\u0161","≽":"\u227D","⪰":"\u2AB0","ş":"\u015F","ŝ":"\u015D","⪶":"\u2AB6","⪺":"\u2ABA","⋩":"\u22E9","⨓":"\u2A13","≿":"\u227F","с":"\u0441","⋅":"\u22C5","⊡":"\u22A1","⩦":"\u2A66","⇘":"\u21D8","⤥":"\u2925","↘":"\u2198","↘":"\u2198","§":"\xA7","§":"\xA7",";":";","⤩":"\u2929","∖":"\u2216","∖":"\u2216","✶":"\u2736","𝔰":"\u{1D530}","⌢":"\u2322","♯":"\u266F","щ":"\u0449","ш":"\u0448","∣":"\u2223","∥":"\u2225","­":"\xAD","­":"\xAD","σ":"\u03C3","ς":"\u03C2","ς":"\u03C2","∼":"\u223C","⩪":"\u2A6A","≃":"\u2243","≃":"\u2243","⪞":"\u2A9E","⪠":"\u2AA0","⪝":"\u2A9D","⪟":"\u2A9F","≆":"\u2246","⨤":"\u2A24","⥲":"\u2972","←":"\u2190","∖":"\u2216","⨳":"\u2A33","⧤":"\u29E4","∣":"\u2223","⌣":"\u2323","⪪":"\u2AAA","⪬":"\u2AAC","⪬︀":"\u2AAC\uFE00","ь":"\u044C","/":"/","⧄":"\u29C4","⌿":"\u233F","𝕤":"\u{1D564}","♠":"\u2660","♠":"\u2660","∥":"\u2225","⊓":"\u2293","⊓︀":"\u2293\uFE00","⊔":"\u2294","⊔︀":"\u2294\uFE00","⊏":"\u228F","⊑":"\u2291","⊏":"\u228F","⊑":"\u2291","⊐":"\u2290","⊒":"\u2292","⊐":"\u2290","⊒":"\u2292","□":"\u25A1","□":"\u25A1","▪":"\u25AA","▪":"\u25AA","→":"\u2192","𝓈":"\u{1D4C8}","∖":"\u2216","⌣":"\u2323","⋆":"\u22C6","☆":"\u2606","★":"\u2605","ϵ":"\u03F5","ϕ":"\u03D5","¯":"\xAF","⊂":"\u2282","⫅":"\u2AC5","⪽":"\u2ABD","⊆":"\u2286","⫃":"\u2AC3","⫁":"\u2AC1","⫋":"\u2ACB","⊊":"\u228A","⪿":"\u2ABF","⥹":"\u2979","⊂":"\u2282","⊆":"\u2286","⫅":"\u2AC5","⊊":"\u228A","⫋":"\u2ACB","⫇":"\u2AC7","⫕":"\u2AD5","⫓":"\u2AD3","≻":"\u227B","⪸":"\u2AB8","≽":"\u227D","⪰":"\u2AB0","⪺":"\u2ABA","⪶":"\u2AB6","⋩":"\u22E9","≿":"\u227F","∑":"\u2211","♪":"\u266A","¹":"\xB9","¹":"\xB9","²":"\xB2","²":"\xB2","³":"\xB3","³":"\xB3","⊃":"\u2283","⫆":"\u2AC6","⪾":"\u2ABE","⫘":"\u2AD8","⊇":"\u2287","⫄":"\u2AC4","⟉":"\u27C9","⫗":"\u2AD7","⥻":"\u297B","⫂":"\u2AC2","⫌":"\u2ACC","⊋":"\u228B","⫀":"\u2AC0","⊃":"\u2283","⊇":"\u2287","⫆":"\u2AC6","⊋":"\u228B","⫌":"\u2ACC","⫈":"\u2AC8","⫔":"\u2AD4","⫖":"\u2AD6","⇙":"\u21D9","⤦":"\u2926","↙":"\u2199","↙":"\u2199","⤪":"\u292A","ß":"\xDF","ß":"\xDF","⌖":"\u2316","τ":"\u03C4","⎴":"\u23B4","ť":"\u0165","ţ":"\u0163","т":"\u0442","⃛":"\u20DB","⌕":"\u2315","𝔱":"\u{1D531}","∴":"\u2234","∴":"\u2234","θ":"\u03B8","ϑ":"\u03D1","ϑ":"\u03D1","≈":"\u2248","∼":"\u223C"," ":"\u2009","≈":"\u2248","∼":"\u223C","þ":"\xFE","þ":"\xFE","˜":"\u02DC","×":"\xD7","×":"\xD7","⊠":"\u22A0","⨱":"\u2A31","⨰":"\u2A30","∭":"\u222D","⤨":"\u2928","⊤":"\u22A4","⌶":"\u2336","⫱":"\u2AF1","𝕥":"\u{1D565}","⫚":"\u2ADA","⤩":"\u2929","‴":"\u2034","™":"\u2122","▵":"\u25B5","▿":"\u25BF","◃":"\u25C3","⊴":"\u22B4","≜":"\u225C","▹":"\u25B9","⊵":"\u22B5","◬":"\u25EC","≜":"\u225C","⨺":"\u2A3A","⨹":"\u2A39","⧍":"\u29CD","⨻":"\u2A3B","⏢":"\u23E2","𝓉":"\u{1D4C9}","ц":"\u0446","ћ":"\u045B","ŧ":"\u0167","≬":"\u226C","↞":"\u219E","↠":"\u21A0","⇑":"\u21D1","⥣":"\u2963","ú":"\xFA","ú":"\xFA","↑":"\u2191","ў":"\u045E","ŭ":"\u016D","û":"\xFB","û":"\xFB","у":"\u0443","⇅":"\u21C5","ű":"\u0171","⥮":"\u296E","⥾":"\u297E","𝔲":"\u{1D532}","ù":"\xF9","ù":"\xF9","↿":"\u21BF","↾":"\u21BE","▀":"\u2580","⌜":"\u231C","⌜":"\u231C","⌏":"\u230F","◸":"\u25F8","ū":"\u016B","¨":"\xA8","¨":"\xA8","ų":"\u0173","𝕦":"\u{1D566}","↑":"\u2191","↕":"\u2195","↿":"\u21BF","↾":"\u21BE","⊎":"\u228E","υ":"\u03C5","ϒ":"\u03D2","υ":"\u03C5","⇈":"\u21C8","⌝":"\u231D","⌝":"\u231D","⌎":"\u230E","ů":"\u016F","◹":"\u25F9","𝓊":"\u{1D4CA}","⋰":"\u22F0","ũ":"\u0169","▵":"\u25B5","▴":"\u25B4","⇈":"\u21C8","ü":"\xFC","ü":"\xFC","⦧":"\u29A7","⇕":"\u21D5","⫨":"\u2AE8","⫩":"\u2AE9","⊨":"\u22A8","⦜":"\u299C","ϵ":"\u03F5","ϰ":"\u03F0","∅":"\u2205","ϕ":"\u03D5","ϖ":"\u03D6","∝":"\u221D","↕":"\u2195","ϱ":"\u03F1","ς":"\u03C2","⊊︀":"\u228A\uFE00","⫋︀":"\u2ACB\uFE00","⊋︀":"\u228B\uFE00","⫌︀":"\u2ACC\uFE00","ϑ":"\u03D1","⊲":"\u22B2","⊳":"\u22B3","в":"\u0432","⊢":"\u22A2","∨":"\u2228","⊻":"\u22BB","≚":"\u225A","⋮":"\u22EE","|":"|","|":"|","𝔳":"\u{1D533}","⊲":"\u22B2","⊂⃒":"\u2282\u20D2","⊃⃒":"\u2283\u20D2","𝕧":"\u{1D567}","∝":"\u221D","⊳":"\u22B3","𝓋":"\u{1D4CB}","⫋︀":"\u2ACB\uFE00","⊊︀":"\u228A\uFE00","⫌︀":"\u2ACC\uFE00","⊋︀":"\u228B\uFE00","⦚":"\u299A","ŵ":"\u0175","⩟":"\u2A5F","∧":"\u2227","≙":"\u2259","℘":"\u2118","𝔴":"\u{1D534}","𝕨":"\u{1D568}","℘":"\u2118","≀":"\u2240","≀":"\u2240","𝓌":"\u{1D4CC}","⋂":"\u22C2","◯":"\u25EF","⋃":"\u22C3","▽":"\u25BD","𝔵":"\u{1D535}","⟺":"\u27FA","⟷":"\u27F7","ξ":"\u03BE","⟸":"\u27F8","⟵":"\u27F5","⟼":"\u27FC","⋻":"\u22FB","⨀":"\u2A00","𝕩":"\u{1D569}","⨁":"\u2A01","⨂":"\u2A02","⟹":"\u27F9","⟶":"\u27F6","𝓍":"\u{1D4CD}","⨆":"\u2A06","⨄":"\u2A04","△":"\u25B3","⋁":"\u22C1","⋀":"\u22C0","ý":"\xFD","ý":"\xFD","я":"\u044F","ŷ":"\u0177","ы":"\u044B","¥":"\xA5","¥":"\xA5","𝔶":"\u{1D536}","ї":"\u0457","𝕪":"\u{1D56A}","𝓎":"\u{1D4CE}","ю":"\u044E","ÿ":"\xFF","ÿ":"\xFF","ź":"\u017A","ž":"\u017E","з":"\u0437","ż":"\u017C","ℨ":"\u2128","ζ":"\u03B6","𝔷":"\u{1D537}","ж":"\u0436","⇝":"\u21DD","𝕫":"\u{1D56B}","𝓏":"\u{1D4CF}","‍":"\u200D","‌":"\u200C"},characters:{\u00C6:"Æ","&":"&",\u00C1:"Á",\u0102:"Ă",\u00C2:"Â",\u0410:"А","\u{1D504}":"𝔄",\u00C0:"À",\u0391:"Α",\u0100:"Ā","\u2A53":"⩓",\u0104:"Ą","\u{1D538}":"𝔸","\u2061":"⁡",\u00C5:"Å","\u{1D49C}":"𝒜","\u2254":"≔",\u00C3:"Ã",\u00C4:"Ä","\u2216":"∖","\u2AE7":"⫧","\u2306":"⌆",\u0411:"Б","\u2235":"∵",\u212C:"ℬ",\u0392:"Β","\u{1D505}":"𝔅","\u{1D539}":"𝔹","\u02D8":"˘","\u224E":"≎",\u0427:"Ч","\xA9":"©",\u0106:"Ć","\u22D2":"⋒","\u2145":"ⅅ",\u212D:"ℭ",\u010C:"Č",\u00C7:"Ç",\u0108:"Ĉ","\u2230":"∰",\u010A:"Ċ","\xB8":"¸","\xB7":"·",\u03A7:"Χ","\u2299":"⊙","\u2296":"⊖","\u2295":"⊕","\u2297":"⊗","\u2232":"∲","\u201D":"”","\u2019":"’","\u2237":"∷","\u2A74":"⩴","\u2261":"≡","\u222F":"∯","\u222E":"∮",\u2102:"ℂ","\u2210":"∐","\u2233":"∳","\u2A2F":"⨯","\u{1D49E}":"𝒞","\u22D3":"⋓","\u224D":"≍","\u2911":"⤑",\u0402:"Ђ",\u0405:"Ѕ",\u040F:"Џ","\u2021":"‡","\u21A1":"↡","\u2AE4":"⫤",\u010E:"Ď",\u0414:"Д","\u2207":"∇",\u0394:"Δ","\u{1D507}":"𝔇","\xB4":"´","\u02D9":"˙","\u02DD":"˝","`":"`","\u02DC":"˜","\u22C4":"⋄","\u2146":"ⅆ","\u{1D53B}":"𝔻","\xA8":"¨","\u20DC":"⃜","\u2250":"≐","\u21D3":"⇓","\u21D0":"⇐","\u21D4":"⇔","\u27F8":"⟸","\u27FA":"⟺","\u27F9":"⟹","\u21D2":"⇒","\u22A8":"⊨","\u21D1":"⇑","\u21D5":"⇕","\u2225":"∥","\u2193":"↓","\u2913":"⤓","\u21F5":"⇵","\u0311":"̑","\u2950":"⥐","\u295E":"⥞","\u21BD":"↽","\u2956":"⥖","\u295F":"⥟","\u21C1":"⇁","\u2957":"⥗","\u22A4":"⊤","\u21A7":"↧","\u{1D49F}":"𝒟",\u0110:"Đ",\u014A:"Ŋ",\u00D0:"Ð",\u00C9:"É",\u011A:"Ě",\u00CA:"Ê",\u042D:"Э",\u0116:"Ė","\u{1D508}":"𝔈",\u00C8:"È","\u2208":"∈",\u0112:"Ē","\u25FB":"◻","\u25AB":"▫",\u0118:"Ę","\u{1D53C}":"𝔼",\u0395:"Ε","\u2A75":"⩵","\u2242":"≂","\u21CC":"⇌",\u2130:"ℰ","\u2A73":"⩳",\u0397:"Η",\u00CB:"Ë","\u2203":"∃","\u2147":"ⅇ",\u0424:"Ф","\u{1D509}":"𝔉","\u25FC":"◼","\u25AA":"▪","\u{1D53D}":"𝔽","\u2200":"∀",\u2131:"ℱ",\u0403:"Ѓ",">":">",\u0393:"Γ",\u03DC:"Ϝ",\u011E:"Ğ",\u0122:"Ģ",\u011C:"Ĝ",\u0413:"Г",\u0120:"Ġ","\u{1D50A}":"𝔊","\u22D9":"⋙","\u{1D53E}":"𝔾","\u2265":"≥","\u22DB":"⋛","\u2267":"≧","\u2AA2":"⪢","\u2277":"≷","\u2A7E":"⩾","\u2273":"≳","\u{1D4A2}":"𝒢","\u226B":"≫",\u042A:"Ъ","\u02C7":"ˇ","^":"^",\u0124:"Ĥ",\u210C:"ℌ",\u210B:"ℋ",\u210D:"ℍ","\u2500":"─",\u0126:"Ħ","\u224F":"≏",\u0415:"Е",\u0132:"IJ",\u0401:"Ё",\u00CD:"Í",\u00CE:"Î",\u0418:"И",\u0130:"İ",\u2111:"ℑ",\u00CC:"Ì",\u012A:"Ī","\u2148":"ⅈ","\u222C":"∬","\u222B":"∫","\u22C2":"⋂","\u2063":"⁣","\u2062":"⁢",\u012E:"Į","\u{1D540}":"𝕀",\u0399:"Ι",\u2110:"ℐ",\u0128:"Ĩ",\u0406:"І",\u00CF:"Ï",\u0134:"Ĵ",\u0419:"Й","\u{1D50D}":"𝔍","\u{1D541}":"𝕁","\u{1D4A5}":"𝒥",\u0408:"Ј",\u0404:"Є",\u0425:"Х",\u040C:"Ќ",\u039A:"Κ",\u0136:"Ķ",\u041A:"К","\u{1D50E}":"𝔎","\u{1D542}":"𝕂","\u{1D4A6}":"𝒦",\u0409:"Љ","<":"<",\u0139:"Ĺ",\u039B:"Λ","\u27EA":"⟪",\u2112:"ℒ","\u219E":"↞",\u013D:"Ľ",\u013B:"Ļ",\u041B:"Л","\u27E8":"⟨","\u2190":"←","\u21E4":"⇤","\u21C6":"⇆","\u2308":"⌈","\u27E6":"⟦","\u2961":"⥡","\u21C3":"⇃","\u2959":"⥙","\u230A":"⌊","\u2194":"↔","\u294E":"⥎","\u22A3":"⊣","\u21A4":"↤","\u295A":"⥚","\u22B2":"⊲","\u29CF":"⧏","\u22B4":"⊴","\u2951":"⥑","\u2960":"⥠","\u21BF":"↿","\u2958":"⥘","\u21BC":"↼","\u2952":"⥒","\u22DA":"⋚","\u2266":"≦","\u2276":"≶","\u2AA1":"⪡","\u2A7D":"⩽","\u2272":"≲","\u{1D50F}":"𝔏","\u22D8":"⋘","\u21DA":"⇚",\u013F:"Ŀ","\u27F5":"⟵","\u27F7":"⟷","\u27F6":"⟶","\u{1D543}":"𝕃","\u2199":"↙","\u2198":"↘","\u21B0":"↰",\u0141:"Ł","\u226A":"≪","\u2905":"⤅",\u041C:"М","\u205F":" ",\u2133:"ℳ","\u{1D510}":"𝔐","\u2213":"∓","\u{1D544}":"𝕄",\u039C:"Μ",\u040A:"Њ",\u0143:"Ń",\u0147:"Ň",\u0145:"Ņ",\u041D:"Н","\u200B":"​","\n":"
","\u{1D511}":"𝔑","\u2060":"⁠","\xA0":" ",\u2115:"ℕ","\u2AEC":"⫬","\u2262":"≢","\u226D":"≭","\u2226":"∦","\u2209":"∉","\u2260":"≠","\u2242\u0338":"≂̸","\u2204":"∄","\u226F":"≯","\u2271":"≱","\u2267\u0338":"≧̸","\u226B\u0338":"≫̸","\u2279":"≹","\u2A7E\u0338":"⩾̸","\u2275":"≵","\u224E\u0338":"≎̸","\u224F\u0338":"≏̸","\u22EA":"⋪","\u29CF\u0338":"⧏̸","\u22EC":"⋬","\u226E":"≮","\u2270":"≰","\u2278":"≸","\u226A\u0338":"≪̸","\u2A7D\u0338":"⩽̸","\u2274":"≴","\u2AA2\u0338":"⪢̸","\u2AA1\u0338":"⪡̸","\u2280":"⊀","\u2AAF\u0338":"⪯̸","\u22E0":"⋠","\u220C":"∌","\u22EB":"⋫","\u29D0\u0338":"⧐̸","\u22ED":"⋭","\u228F\u0338":"⊏̸","\u22E2":"⋢","\u2290\u0338":"⊐̸","\u22E3":"⋣","\u2282\u20D2":"⊂⃒","\u2288":"⊈","\u2281":"⊁","\u2AB0\u0338":"⪰̸","\u22E1":"⋡","\u227F\u0338":"≿̸","\u2283\u20D2":"⊃⃒","\u2289":"⊉","\u2241":"≁","\u2244":"≄","\u2247":"≇","\u2249":"≉","\u2224":"∤","\u{1D4A9}":"𝒩",\u00D1:"Ñ",\u039D:"Ν",\u0152:"Œ",\u00D3:"Ó",\u00D4:"Ô",\u041E:"О",\u0150:"Ő","\u{1D512}":"𝔒",\u00D2:"Ò",\u014C:"Ō",\u03A9:"Ω",\u039F:"Ο","\u{1D546}":"𝕆","\u201C":"“","\u2018":"‘","\u2A54":"⩔","\u{1D4AA}":"𝒪",\u00D8:"Ø",\u00D5:"Õ","\u2A37":"⨷",\u00D6:"Ö","\u203E":"‾","\u23DE":"⏞","\u23B4":"⎴","\u23DC":"⏜","\u2202":"∂",\u041F:"П","\u{1D513}":"𝔓",\u03A6:"Φ",\u03A0:"Π","\xB1":"±",\u2119:"ℙ","\u2ABB":"⪻","\u227A":"≺","\u2AAF":"⪯","\u227C":"≼","\u227E":"≾","\u2033":"″","\u220F":"∏","\u221D":"∝","\u{1D4AB}":"𝒫",\u03A8:"Ψ",'"':""","\u{1D514}":"𝔔",\u211A:"ℚ","\u{1D4AC}":"𝒬","\u2910":"⤐","\xAE":"®",\u0154:"Ŕ","\u27EB":"⟫","\u21A0":"↠","\u2916":"⤖",\u0158:"Ř",\u0156:"Ŗ",\u0420:"Р",\u211C:"ℜ","\u220B":"∋","\u21CB":"⇋","\u296F":"⥯",\u03A1:"Ρ","\u27E9":"⟩","\u2192":"→","\u21E5":"⇥","\u21C4":"⇄","\u2309":"⌉","\u27E7":"⟧","\u295D":"⥝","\u21C2":"⇂","\u2955":"⥕","\u230B":"⌋","\u22A2":"⊢","\u21A6":"↦","\u295B":"⥛","\u22B3":"⊳","\u29D0":"⧐","\u22B5":"⊵","\u294F":"⥏","\u295C":"⥜","\u21BE":"↾","\u2954":"⥔","\u21C0":"⇀","\u2953":"⥓",\u211D:"ℝ","\u2970":"⥰","\u21DB":"⇛",\u211B:"ℛ","\u21B1":"↱","\u29F4":"⧴",\u0429:"Щ",\u0428:"Ш",\u042C:"Ь",\u015A:"Ś","\u2ABC":"⪼",\u0160:"Š",\u015E:"Ş",\u015C:"Ŝ",\u0421:"С","\u{1D516}":"𝔖","\u2191":"↑",\u03A3:"Σ","\u2218":"∘","\u{1D54A}":"𝕊","\u221A":"√","\u25A1":"□","\u2293":"⊓","\u228F":"⊏","\u2291":"⊑","\u2290":"⊐","\u2292":"⊒","\u2294":"⊔","\u{1D4AE}":"𝒮","\u22C6":"⋆","\u22D0":"⋐","\u2286":"⊆","\u227B":"≻","\u2AB0":"⪰","\u227D":"≽","\u227F":"≿","\u2211":"∑","\u22D1":"⋑","\u2283":"⊃","\u2287":"⊇",\u00DE:"Þ","\u2122":"™",\u040B:"Ћ",\u0426:"Ц"," ":"	",\u03A4:"Τ",\u0164:"Ť",\u0162:"Ţ",\u0422:"Т","\u{1D517}":"𝔗","\u2234":"∴",\u0398:"Θ","\u205F\u200A":"  ","\u2009":" ","\u223C":"∼","\u2243":"≃","\u2245":"≅","\u2248":"≈","\u{1D54B}":"𝕋","\u20DB":"⃛","\u{1D4AF}":"𝒯",\u0166:"Ŧ",\u00DA:"Ú","\u219F":"↟","\u2949":"⥉",\u040E:"Ў",\u016C:"Ŭ",\u00DB:"Û",\u0423:"У",\u0170:"Ű","\u{1D518}":"𝔘",\u00D9:"Ù",\u016A:"Ū",_:"_","\u23DF":"⏟","\u23B5":"⎵","\u23DD":"⏝","\u22C3":"⋃","\u228E":"⊎",\u0172:"Ų","\u{1D54C}":"𝕌","\u2912":"⤒","\u21C5":"⇅","\u2195":"↕","\u296E":"⥮","\u22A5":"⊥","\u21A5":"↥","\u2196":"↖","\u2197":"↗",\u03D2:"ϒ",\u03A5:"Υ",\u016E:"Ů","\u{1D4B0}":"𝒰",\u0168:"Ũ",\u00DC:"Ü","\u22AB":"⊫","\u2AEB":"⫫",\u0412:"В","\u22A9":"⊩","\u2AE6":"⫦","\u22C1":"⋁","\u2016":"‖","\u2223":"∣","|":"|","\u2758":"❘","\u2240":"≀","\u200A":" ","\u{1D519}":"𝔙","\u{1D54D}":"𝕍","\u{1D4B1}":"𝒱","\u22AA":"⊪",\u0174:"Ŵ","\u22C0":"⋀","\u{1D51A}":"𝔚","\u{1D54E}":"𝕎","\u{1D4B2}":"𝒲","\u{1D51B}":"𝔛",\u039E:"Ξ","\u{1D54F}":"𝕏","\u{1D4B3}":"𝒳",\u042F:"Я",\u0407:"Ї",\u042E:"Ю",\u00DD:"Ý",\u0176:"Ŷ",\u042B:"Ы","\u{1D51C}":"𝔜","\u{1D550}":"𝕐","\u{1D4B4}":"𝒴",\u0178:"Ÿ",\u0416:"Ж",\u0179:"Ź",\u017D:"Ž",\u0417:"З",\u017B:"Ż",\u0396:"Ζ",\u2128:"ℨ",\u2124:"ℤ","\u{1D4B5}":"𝒵",\u00E1:"á",\u0103:"ă","\u223E":"∾","\u223E\u0333":"∾̳","\u223F":"∿",\u00E2:"â",\u0430:"а",\u00E6:"æ","\u{1D51E}":"𝔞",\u00E0:"à",\u2135:"ℵ",\u03B1:"α",\u0101:"ā","\u2A3F":"⨿","\u2227":"∧","\u2A55":"⩕","\u2A5C":"⩜","\u2A58":"⩘","\u2A5A":"⩚","\u2220":"∠","\u29A4":"⦤","\u2221":"∡","\u29A8":"⦨","\u29A9":"⦩","\u29AA":"⦪","\u29AB":"⦫","\u29AC":"⦬","\u29AD":"⦭","\u29AE":"⦮","\u29AF":"⦯","\u221F":"∟","\u22BE":"⊾","\u299D":"⦝","\u2222":"∢","\u237C":"⍼",\u0105:"ą","\u{1D552}":"𝕒","\u2A70":"⩰","\u2A6F":"⩯","\u224A":"≊","\u224B":"≋","'":"'",\u00E5:"å","\u{1D4B6}":"𝒶","*":"*",\u00E3:"ã",\u00E4:"ä","\u2A11":"⨑","\u2AED":"⫭","\u224C":"≌","\u03F6":"϶","\u2035":"‵","\u223D":"∽","\u22CD":"⋍","\u22BD":"⊽","\u2305":"⌅","\u23B6":"⎶",\u0431:"б","\u201E":"„","\u29B0":"⦰",\u03B2:"β",\u2136:"ℶ","\u226C":"≬","\u{1D51F}":"𝔟","\u25EF":"◯","\u2A00":"⨀","\u2A01":"⨁","\u2A02":"⨂","\u2A06":"⨆","\u2605":"★","\u25BD":"▽","\u25B3":"△","\u2A04":"⨄","\u290D":"⤍","\u29EB":"⧫","\u25B4":"▴","\u25BE":"▾","\u25C2":"◂","\u25B8":"▸","\u2423":"␣","\u2592":"▒","\u2591":"░","\u2593":"▓","\u2588":"█","=\u20E5":"=⃥","\u2261\u20E5":"≡⃥","\u2310":"⌐","\u{1D553}":"𝕓","\u22C8":"⋈","\u2557":"╗","\u2554":"╔","\u2556":"╖","\u2553":"╓","\u2550":"═","\u2566":"╦","\u2569":"╩","\u2564":"╤","\u2567":"╧","\u255D":"╝","\u255A":"╚","\u255C":"╜","\u2559":"╙","\u2551":"║","\u256C":"╬","\u2563":"╣","\u2560":"╠","\u256B":"╫","\u2562":"╢","\u255F":"╟","\u29C9":"⧉","\u2555":"╕","\u2552":"╒","\u2510":"┐","\u250C":"┌","\u2565":"╥","\u2568":"╨","\u252C":"┬","\u2534":"┴","\u229F":"⊟","\u229E":"⊞","\u22A0":"⊠","\u255B":"╛","\u2558":"╘","\u2518":"┘","\u2514":"└","\u2502":"│","\u256A":"╪","\u2561":"╡","\u255E":"╞","\u253C":"┼","\u2524":"┤","\u251C":"├","\xA6":"¦","\u{1D4B7}":"𝒷","\u204F":"⁏","\\":"\","\u29C5":"⧅","\u27C8":"⟈","\u2022":"•","\u2AAE":"⪮",\u0107:"ć","\u2229":"∩","\u2A44":"⩄","\u2A49":"⩉","\u2A4B":"⩋","\u2A47":"⩇","\u2A40":"⩀","\u2229\uFE00":"∩︀","\u2041":"⁁","\u2A4D":"⩍",\u010D:"č",\u00E7:"ç",\u0109:"ĉ","\u2A4C":"⩌","\u2A50":"⩐",\u010B:"ċ","\u29B2":"⦲","\xA2":"¢","\u{1D520}":"𝔠",\u0447:"ч","\u2713":"✓",\u03C7:"χ","\u25CB":"○","\u29C3":"⧃","\u02C6":"ˆ","\u2257":"≗","\u21BA":"↺","\u21BB":"↻","\u24C8":"Ⓢ","\u229B":"⊛","\u229A":"⊚","\u229D":"⊝","\u2A10":"⨐","\u2AEF":"⫯","\u29C2":"⧂","\u2663":"♣",":":":",",":",","@":"@","\u2201":"∁","\u2A6D":"⩭","\u{1D554}":"𝕔","\u2117":"℗","\u21B5":"↵","\u2717":"✗","\u{1D4B8}":"𝒸","\u2ACF":"⫏","\u2AD1":"⫑","\u2AD0":"⫐","\u2AD2":"⫒","\u22EF":"⋯","\u2938":"⤸","\u2935":"⤵","\u22DE":"⋞","\u22DF":"⋟","\u21B6":"↶","\u293D":"⤽","\u222A":"∪","\u2A48":"⩈","\u2A46":"⩆","\u2A4A":"⩊","\u228D":"⊍","\u2A45":"⩅","\u222A\uFE00":"∪︀","\u21B7":"↷","\u293C":"⤼","\u22CE":"⋎","\u22CF":"⋏","\xA4":"¤","\u2231":"∱","\u232D":"⌭","\u2965":"⥥","\u2020":"†",\u2138:"ℸ","\u2010":"‐","\u290F":"⤏",\u010F:"ď",\u0434:"д","\u21CA":"⇊","\u2A77":"⩷","\xB0":"°",\u03B4:"δ","\u29B1":"⦱","\u297F":"⥿","\u{1D521}":"𝔡","\u2666":"♦",\u03DD:"ϝ","\u22F2":"⋲","\xF7":"÷","\u22C7":"⋇",\u0452:"ђ","\u231E":"⌞","\u230D":"⌍",$:"$","\u{1D555}":"𝕕","\u2251":"≑","\u2238":"∸","\u2214":"∔","\u22A1":"⊡","\u231F":"⌟","\u230C":"⌌","\u{1D4B9}":"𝒹",\u0455:"ѕ","\u29F6":"⧶",\u0111:"đ","\u22F1":"⋱","\u25BF":"▿","\u29A6":"⦦",\u045F:"џ","\u27FF":"⟿",\u00E9:"é","\u2A6E":"⩮",\u011B:"ě","\u2256":"≖",\u00EA:"ê","\u2255":"≕",\u044D:"э",\u0117:"ė","\u2252":"≒","\u{1D522}":"𝔢","\u2A9A":"⪚",\u00E8:"è","\u2A96":"⪖","\u2A98":"⪘","\u2A99":"⪙","\u23E7":"⏧",\u2113:"ℓ","\u2A95":"⪕","\u2A97":"⪗",\u0113:"ē","\u2205":"∅","\u2004":" ","\u2005":" ","\u2003":" ",\u014B:"ŋ","\u2002":" ",\u0119:"ę","\u{1D556}":"𝕖","\u22D5":"⋕","\u29E3":"⧣","\u2A71":"⩱",\u03B5:"ε","\u03F5":"ϵ","=":"=","\u225F":"≟","\u2A78":"⩸","\u29E5":"⧥","\u2253":"≓","\u2971":"⥱",\u212F:"ℯ",\u03B7:"η",\u00F0:"ð",\u00EB:"ë","\u20AC":"€","!":"!",\u0444:"ф","\u2640":"♀",\uFB03:"ffi",\uFB00:"ff",\uFB04:"ffl","\u{1D523}":"𝔣",\uFB01:"fi",fj:"fj","\u266D":"♭",\uFB02:"fl","\u25B1":"▱",\u0192:"ƒ","\u{1D557}":"𝕗","\u22D4":"⋔","\u2AD9":"⫙","\u2A0D":"⨍","\xBD":"½","\u2153":"⅓","\xBC":"¼","\u2155":"⅕","\u2159":"⅙","\u215B":"⅛","\u2154":"⅔","\u2156":"⅖","\xBE":"¾","\u2157":"⅗","\u215C":"⅜","\u2158":"⅘","\u215A":"⅚","\u215D":"⅝","\u215E":"⅞","\u2044":"⁄","\u2322":"⌢","\u{1D4BB}":"𝒻","\u2A8C":"⪌",\u01F5:"ǵ",\u03B3:"γ","\u2A86":"⪆",\u011F:"ğ",\u011D:"ĝ",\u0433:"г",\u0121:"ġ","\u2AA9":"⪩","\u2A80":"⪀","\u2A82":"⪂","\u2A84":"⪄","\u22DB\uFE00":"⋛︀","\u2A94":"⪔","\u{1D524}":"𝔤",\u2137:"ℷ",\u0453:"ѓ","\u2A92":"⪒","\u2AA5":"⪥","\u2AA4":"⪤","\u2269":"≩","\u2A8A":"⪊","\u2A88":"⪈","\u22E7":"⋧","\u{1D558}":"𝕘",\u210A:"ℊ","\u2A8E":"⪎","\u2A90":"⪐","\u2AA7":"⪧","\u2A7A":"⩺","\u22D7":"⋗","\u2995":"⦕","\u2A7C":"⩼","\u2978":"⥸","\u2269\uFE00":"≩︀",\u044A:"ъ","\u2948":"⥈","\u21AD":"↭",\u210F:"ℏ",\u0125:"ĥ","\u2665":"♥","\u2026":"…","\u22B9":"⊹","\u{1D525}":"𝔥","\u2925":"⤥","\u2926":"⤦","\u21FF":"⇿","\u223B":"∻","\u21A9":"↩","\u21AA":"↪","\u{1D559}":"𝕙","\u2015":"―","\u{1D4BD}":"𝒽",\u0127:"ħ","\u2043":"⁃",\u00ED:"í",\u00EE:"î",\u0438:"и",\u0435:"е","\xA1":"¡","\u{1D526}":"𝔦",\u00EC:"ì","\u2A0C":"⨌","\u222D":"∭","\u29DC":"⧜","\u2129":"℩",\u0133:"ij",\u012B:"ī",\u0131:"ı","\u22B7":"⊷",\u01B5:"Ƶ","\u2105":"℅","\u221E":"∞","\u29DD":"⧝","\u22BA":"⊺","\u2A17":"⨗","\u2A3C":"⨼",\u0451:"ё",\u012F:"į","\u{1D55A}":"𝕚",\u03B9:"ι","\xBF":"¿","\u{1D4BE}":"𝒾","\u22F9":"⋹","\u22F5":"⋵","\u22F4":"⋴","\u22F3":"⋳",\u0129:"ĩ",\u0456:"і",\u00EF:"ï",\u0135:"ĵ",\u0439:"й","\u{1D527}":"𝔧","\u0237":"ȷ","\u{1D55B}":"𝕛","\u{1D4BF}":"𝒿",\u0458:"ј",\u0454:"є",\u03BA:"κ",\u03F0:"ϰ",\u0137:"ķ",\u043A:"к","\u{1D528}":"𝔨",\u0138:"ĸ",\u0445:"х",\u045C:"ќ","\u{1D55C}":"𝕜","\u{1D4C0}":"𝓀","\u291B":"⤛","\u290E":"⤎","\u2A8B":"⪋","\u2962":"⥢",\u013A:"ĺ","\u29B4":"⦴",\u03BB:"λ","\u2991":"⦑","\u2A85":"⪅","\xAB":"«","\u291F":"⤟","\u291D":"⤝","\u21AB":"↫","\u2939":"⤹","\u2973":"⥳","\u21A2":"↢","\u2AAB":"⪫","\u2919":"⤙","\u2AAD":"⪭","\u2AAD\uFE00":"⪭︀","\u290C":"⤌","\u2772":"❲","{":"{","[":"[","\u298B":"⦋","\u298F":"⦏","\u298D":"⦍",\u013E:"ľ",\u013C:"ļ",\u043B:"л","\u2936":"⤶","\u2967":"⥧","\u294B":"⥋","\u21B2":"↲","\u2264":"≤","\u21C7":"⇇","\u22CB":"⋋","\u2AA8":"⪨","\u2A7F":"⩿","\u2A81":"⪁","\u2A83":"⪃","\u22DA\uFE00":"⋚︀","\u2A93":"⪓","\u22D6":"⋖","\u297C":"⥼","\u{1D529}":"𝔩","\u2A91":"⪑","\u296A":"⥪","\u2584":"▄",\u0459:"љ","\u296B":"⥫","\u25FA":"◺",\u0140:"ŀ","\u23B0":"⎰","\u2268":"≨","\u2A89":"⪉","\u2A87":"⪇","\u22E6":"⋦","\u27EC":"⟬","\u21FD":"⇽","\u27FC":"⟼","\u21AC":"↬","\u2985":"⦅","\u{1D55D}":"𝕝","\u2A2D":"⨭","\u2A34":"⨴","\u2217":"∗","\u25CA":"◊","(":"(","\u2993":"⦓","\u296D":"⥭","\u200E":"‎","\u22BF":"⊿","\u2039":"‹","\u{1D4C1}":"𝓁","\u2A8D":"⪍","\u2A8F":"⪏","\u201A":"‚",\u0142:"ł","\u2AA6":"⪦","\u2A79":"⩹","\u22C9":"⋉","\u2976":"⥶","\u2A7B":"⩻","\u2996":"⦖","\u25C3":"◃","\u294A":"⥊","\u2966":"⥦","\u2268\uFE00":"≨︀","\u223A":"∺","\xAF":"¯","\u2642":"♂","\u2720":"✠","\u25AE":"▮","\u2A29":"⨩",\u043C:"м","\u2014":"—","\u{1D52A}":"𝔪","\u2127":"℧",\u00B5:"µ","\u2AF0":"⫰","\u2212":"−","\u2A2A":"⨪","\u2ADB":"⫛","\u22A7":"⊧","\u{1D55E}":"𝕞","\u{1D4C2}":"𝓂",\u03BC:"μ","\u22B8":"⊸","\u22D9\u0338":"⋙̸","\u226B\u20D2":"≫⃒","\u21CD":"⇍","\u21CE":"⇎","\u22D8\u0338":"⋘̸","\u226A\u20D2":"≪⃒","\u21CF":"⇏","\u22AF":"⊯","\u22AE":"⊮",\u0144:"ń","\u2220\u20D2":"∠⃒","\u2A70\u0338":"⩰̸","\u224B\u0338":"≋̸",\u0149:"ʼn","\u266E":"♮","\u2A43":"⩃",\u0148:"ň",\u0146:"ņ","\u2A6D\u0338":"⩭̸","\u2A42":"⩂",\u043D:"н","\u2013":"–","\u21D7":"⇗","\u2924":"⤤","\u2250\u0338":"≐̸","\u2928":"⤨","\u{1D52B}":"𝔫","\u21AE":"↮","\u2AF2":"⫲","\u22FC":"⋼","\u22FA":"⋺",\u045A:"њ","\u2266\u0338":"≦̸","\u219A":"↚","\u2025":"‥","\u{1D55F}":"𝕟","\xAC":"¬","\u22F9\u0338":"⋹̸","\u22F5\u0338":"⋵̸","\u22F7":"⋷","\u22F6":"⋶","\u22FE":"⋾","\u22FD":"⋽","\u2AFD\u20E5":"⫽⃥","\u2202\u0338":"∂̸","\u2A14":"⨔","\u219B":"↛","\u2933\u0338":"⤳̸","\u219D\u0338":"↝̸","\u{1D4C3}":"𝓃","\u2284":"⊄","\u2AC5\u0338":"⫅̸","\u2285":"⊅","\u2AC6\u0338":"⫆̸",\u00F1:"ñ",\u03BD:"ν","#":"#","\u2116":"№","\u2007":" ","\u22AD":"⊭","\u2904":"⤄","\u224D\u20D2":"≍⃒","\u22AC":"⊬","\u2265\u20D2":"≥⃒",">\u20D2":">⃒","\u29DE":"⧞","\u2902":"⤂","\u2264\u20D2":"≤⃒","<\u20D2":"<⃒","\u22B4\u20D2":"⊴⃒","\u2903":"⤃","\u22B5\u20D2":"⊵⃒","\u223C\u20D2":"∼⃒","\u21D6":"⇖","\u2923":"⤣","\u2927":"⤧",\u00F3:"ó",\u00F4:"ô",\u043E:"о",\u0151:"ő","\u2A38":"⨸","\u29BC":"⦼",\u0153:"œ","\u29BF":"⦿","\u{1D52C}":"𝔬","\u02DB":"˛",\u00F2:"ò","\u29C1":"⧁","\u29B5":"⦵","\u29BE":"⦾","\u29BB":"⦻","\u29C0":"⧀",\u014D:"ō",\u03C9:"ω",\u03BF:"ο","\u29B6":"⦶","\u{1D560}":"𝕠","\u29B7":"⦷","\u29B9":"⦹","\u2228":"∨","\u2A5D":"⩝",\u2134:"ℴ",\u00AA:"ª",\u00BA:"º","\u22B6":"⊶","\u2A56":"⩖","\u2A57":"⩗","\u2A5B":"⩛",\u00F8:"ø","\u2298":"⊘",\u00F5:"õ","\u2A36":"⨶",\u00F6:"ö","\u233D":"⌽","\xB6":"¶","\u2AF3":"⫳","\u2AFD":"⫽",\u043F:"п","%":"%",".":".","\u2030":"‰","\u2031":"‱","\u{1D52D}":"𝔭",\u03C6:"φ",\u03D5:"ϕ","\u260E":"☎",\u03C0:"π",\u03D6:"ϖ",\u210E:"ℎ","+":"+","\u2A23":"⨣","\u2A22":"⨢","\u2A25":"⨥","\u2A72":"⩲","\u2A26":"⨦","\u2A27":"⨧","\u2A15":"⨕","\u{1D561}":"𝕡","\xA3":"£","\u2AB3":"⪳","\u2AB7":"⪷","\u2AB9":"⪹","\u2AB5":"⪵","\u22E8":"⋨","\u2032":"′","\u232E":"⌮","\u2312":"⌒","\u2313":"⌓","\u22B0":"⊰","\u{1D4C5}":"𝓅",\u03C8:"ψ","\u2008":" ","\u{1D52E}":"𝔮","\u{1D562}":"𝕢","\u2057":"⁗","\u{1D4C6}":"𝓆","\u2A16":"⨖","?":"?","\u291C":"⤜","\u2964":"⥤","\u223D\u0331":"∽̱",\u0155:"ŕ","\u29B3":"⦳","\u2992":"⦒","\u29A5":"⦥","\xBB":"»","\u2975":"⥵","\u2920":"⤠","\u2933":"⤳","\u291E":"⤞","\u2945":"⥅","\u2974":"⥴","\u21A3":"↣","\u219D":"↝","\u291A":"⤚","\u2236":"∶","\u2773":"❳","}":"}","]":"]","\u298C":"⦌","\u298E":"⦎","\u2990":"⦐",\u0159:"ř",\u0157:"ŗ",\u0440:"р","\u2937":"⤷","\u2969":"⥩","\u21B3":"↳","\u25AD":"▭","\u297D":"⥽","\u{1D52F}":"𝔯","\u296C":"⥬",\u03C1:"ρ",\u03F1:"ϱ","\u21C9":"⇉","\u22CC":"⋌","\u02DA":"˚","\u200F":"‏","\u23B1":"⎱","\u2AEE":"⫮","\u27ED":"⟭","\u21FE":"⇾","\u2986":"⦆","\u{1D563}":"𝕣","\u2A2E":"⨮","\u2A35":"⨵",")":")","\u2994":"⦔","\u2A12":"⨒","\u203A":"›","\u{1D4C7}":"𝓇","\u22CA":"⋊","\u25B9":"▹","\u29CE":"⧎","\u2968":"⥨","\u211E":"℞",\u015B:"ś","\u2AB4":"⪴","\u2AB8":"⪸",\u0161:"š",\u015F:"ş",\u015D:"ŝ","\u2AB6":"⪶","\u2ABA":"⪺","\u22E9":"⋩","\u2A13":"⨓",\u0441:"с","\u22C5":"⋅","\u2A66":"⩦","\u21D8":"⇘","\xA7":"§",";":";","\u2929":"⤩","\u2736":"✶","\u{1D530}":"𝔰","\u266F":"♯",\u0449:"щ",\u0448:"ш","\xAD":"­",\u03C3:"σ",\u03C2:"ς","\u2A6A":"⩪","\u2A9E":"⪞","\u2AA0":"⪠","\u2A9D":"⪝","\u2A9F":"⪟","\u2246":"≆","\u2A24":"⨤","\u2972":"⥲","\u2A33":"⨳","\u29E4":"⧤","\u2323":"⌣","\u2AAA":"⪪","\u2AAC":"⪬","\u2AAC\uFE00":"⪬︀",\u044C:"ь","/":"/","\u29C4":"⧄","\u233F":"⌿","\u{1D564}":"𝕤","\u2660":"♠","\u2293\uFE00":"⊓︀","\u2294\uFE00":"⊔︀","\u{1D4C8}":"𝓈","\u2606":"☆","\u2282":"⊂","\u2AC5":"⫅","\u2ABD":"⪽","\u2AC3":"⫃","\u2AC1":"⫁","\u2ACB":"⫋","\u228A":"⊊","\u2ABF":"⪿","\u2979":"⥹","\u2AC7":"⫇","\u2AD5":"⫕","\u2AD3":"⫓","\u266A":"♪","\xB9":"¹","\xB2":"²","\xB3":"³","\u2AC6":"⫆","\u2ABE":"⪾","\u2AD8":"⫘","\u2AC4":"⫄","\u27C9":"⟉","\u2AD7":"⫗","\u297B":"⥻","\u2AC2":"⫂","\u2ACC":"⫌","\u228B":"⊋","\u2AC0":"⫀","\u2AC8":"⫈","\u2AD4":"⫔","\u2AD6":"⫖","\u21D9":"⇙","\u292A":"⤪",\u00DF:"ß","\u2316":"⌖",\u03C4:"τ",\u0165:"ť",\u0163:"ţ",\u0442:"т","\u2315":"⌕","\u{1D531}":"𝔱",\u03B8:"θ",\u03D1:"ϑ",\u00FE:"þ","\xD7":"×","\u2A31":"⨱","\u2A30":"⨰","\u2336":"⌶","\u2AF1":"⫱","\u{1D565}":"𝕥","\u2ADA":"⫚","\u2034":"‴","\u25B5":"▵","\u225C":"≜","\u25EC":"◬","\u2A3A":"⨺","\u2A39":"⨹","\u29CD":"⧍","\u2A3B":"⨻","\u23E2":"⏢","\u{1D4C9}":"𝓉",\u0446:"ц",\u045B:"ћ",\u0167:"ŧ","\u2963":"⥣",\u00FA:"ú",\u045E:"ў",\u016D:"ŭ",\u00FB:"û",\u0443:"у",\u0171:"ű","\u297E":"⥾","\u{1D532}":"𝔲",\u00F9:"ù","\u2580":"▀","\u231C":"⌜","\u230F":"⌏","\u25F8":"◸",\u016B:"ū",\u0173:"ų","\u{1D566}":"𝕦",\u03C5:"υ","\u21C8":"⇈","\u231D":"⌝","\u230E":"⌎",\u016F:"ů","\u25F9":"◹","\u{1D4CA}":"𝓊","\u22F0":"⋰",\u0169:"ũ",\u00FC:"ü","\u29A7":"⦧","\u2AE8":"⫨","\u2AE9":"⫩","\u299C":"⦜","\u228A\uFE00":"⊊︀","\u2ACB\uFE00":"⫋︀","\u228B\uFE00":"⊋︀","\u2ACC\uFE00":"⫌︀",\u0432:"в","\u22BB":"⊻","\u225A":"≚","\u22EE":"⋮","\u{1D533}":"𝔳","\u{1D567}":"𝕧","\u{1D4CB}":"𝓋","\u299A":"⦚",\u0175:"ŵ","\u2A5F":"⩟","\u2259":"≙","\u2118":"℘","\u{1D534}":"𝔴","\u{1D568}":"𝕨","\u{1D4CC}":"𝓌","\u{1D535}":"𝔵",\u03BE:"ξ","\u22FB":"⋻","\u{1D569}":"𝕩","\u{1D4CD}":"𝓍",\u00FD:"ý",\u044F:"я",\u0177:"ŷ",\u044B:"ы","\xA5":"¥","\u{1D536}":"𝔶",\u0457:"ї","\u{1D56A}":"𝕪","\u{1D4CE}":"𝓎",\u044E:"ю",\u00FF:"ÿ",\u017A:"ź",\u017E:"ž",\u0437:"з",\u017C:"ż",\u03B6:"ζ","\u{1D537}":"𝔷",\u0436:"ж","\u21DD":"⇝","\u{1D56B}":"𝕫","\u{1D4CF}":"𝓏","\u200D":"‍","\u200C":"‌"}}};var xi={};Object.defineProperty(xi,"__esModule",{value:!0}),xi.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var zt={};Object.defineProperty(zt,"__esModule",{value:!0}),zt.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},zt.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536},zt.highSurrogateFrom=55296,zt.highSurrogateTo=56319;var Ut=Po&&Po.__assign||function(){return Ut=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ut.apply(this,arguments)};Object.defineProperty(rr,"__esModule",{value:!0});var vn=ir,vd=xi,ra=zt,Ai=Ut(Ut({},vn.namedReferences),{all:vn.namedReferences.html5});function ia(e,t,n){t.lastIndex=0;var r=t.exec(e),i;if(r){i="";var s=0;do{s!==r.index&&(i+=e.substring(s,r.index));var o=r[0];i+=n(o),s=r.index+o.length}while(r=t.exec(e));s!==e.length&&(i+=e.substring(s))}else i=e;return i}l(ia,"replaceUsingRegExp");var Sd={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},xd={mode:"specialChars",level:"all",numeric:"decimal"};function Ad(e,t){var n=t===void 0?xd:t,r=n.mode,i=r===void 0?"specialChars":r,s=n.numeric,o=s===void 0?"decimal":s,a=n.level,u=a===void 0?"all":a;if(!e)return"";var c=Sd[i],p=Ai[u].characters,f=o==="hexadecimal";return ia(e,c,function(h){var d=p[h];if(!d){var m=h.length>1?ra.getCodePoint(h,0):h.charCodeAt(0);d=(f?"&#x"+m.toString(16):"&#"+m)+";"}return d})}l(Ad,"encode"),rr.encode=Ad;var Cd={scope:"body",level:"all"},Ci=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,Ti=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,sa={xml:{strict:Ci,attribute:Ti,body:vn.bodyRegExps.xml},html4:{strict:Ci,attribute:Ti,body:vn.bodyRegExps.html4},html5:{strict:Ci,attribute:Ti,body:vn.bodyRegExps.html5}},Td=Ut(Ut({},sa),{all:sa.html5}),oa=String.fromCharCode,Nd=oa(65533),Ed={level:"all"};function aa(e,t,n,r){var i=e,s=e[e.length-1];if(n&&s==="=")i=e;else if(r&&s!==";")i=e;else{var o=t[e];if(o)i=o;else if(e[0]==="&"&&e[1]==="#"){var a=e[2],u=a=="x"||a=="X"?parseInt(e.substr(3),16):parseInt(e.substr(2));i=u>=1114111?Nd:u>65535?ra.fromCodePoint(u):oa(vd.numericUnicodeMap[u]||u)}}return i}l(aa,"getDecodedEntity");function _d(e,t){var n=(t===void 0?Ed:t).level,r=n===void 0?"all":n;return e?aa(e,Ai[r].entities,!1,!1):""}l(_d,"decodeEntity"),rr.decodeEntity=_d;function Od(e,t){var n=t===void 0?Cd:t,r=n.level,i=r===void 0?"all":r,s=n.scope,o=s===void 0?i==="xml"?"strict":"body":s;if(!e)return"";var a=Td[i][o],u=Ai[i].entities,c=o==="attribute",p=o==="strict";return ia(e,a,function(f){return aa(f,u,c,p)})}l(Od,"decode$1");var la=rr.decode=Od;/**
|
|
33
|
+
*/Go();function Si(e){if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null?!1:!(Symbol.iterator in e)&&!(Symbol.toStringTag in e)}l(Si,"u$2");function Bt(e){return typeof e=="string"}l(Bt,"r$2");function ut(e){return Number.isSafeInteger(e)&&e>=0}l(ut,"q$1");function ct(e){return e!=null}l(ct,"G$1");function Sh(e,t){return Si(e)&&Bt(t)&&t in e}l(Sh,"v");var xh=typeof global=="object"&&global&&global.Object===Object&&global,Ah=typeof self=="object"&&self&&self.Object===Object&&self,xi=xh||Ah||Function("return this")(),jt=xi.Symbol,Wo=Object.prototype,Ch=Wo.hasOwnProperty,Th=Wo.toString,xn=jt?jt.toStringTag:void 0;function Nh(e){var t=Ch.call(e,xn),n=e[xn];try{e[xn]=void 0;var r=!0}catch{}var i=Th.call(e);return r&&(t?e[xn]=n:delete e[xn]),i}l(Nh,"getRawTag");var Eh=Object.prototype,_h=Eh.toString;function Oh(e){return _h.call(e)}l(Oh,"objectToString");var Lh="[object Null]",Ih="[object Undefined]",Ko=jt?jt.toStringTag:void 0;function Yo(e){return e==null?e===void 0?Ih:Lh:Ko&&Ko in Object(e)?Nh(e):Oh(e)}l(Yo,"baseGetTag");function Jo(e){return e!=null&&typeof e=="object"}l(Jo,"isObjectLike");var Dh="[object Symbol]";function Rh(e){return typeof e=="symbol"||Jo(e)&&Yo(e)==Dh}l(Rh,"isSymbol");function Ph(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}l(Ph,"arrayMap");var Fh=Array.isArray,qh=1/0,Qo=jt?jt.prototype:void 0,Xo=Qo?Qo.toString:void 0;function Ai(e){if(typeof e=="string")return e;if(Fh(e))return Ph(e,Ai)+"";if(Rh(e))return Xo?Xo.call(e):"";var t=e+"";return t=="0"&&1/e==-qh?"-0":t}l(Ai,"baseToString");var Mh=/\s/;function $h(e){for(var t=e.length;t--&&Mh.test(e.charAt(t)););return t}l($h,"trimmedEndIndex");var Bh=/^\s+/;function jh(e){return e&&e.slice(0,$h(e)+1).replace(Bh,"")}l(jh,"baseTrim");function Zo(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}l(Zo,"isObject");function ea(e){return e}l(ea,"identity");var zh="[object AsyncFunction]",Uh="[object Function]",Hh="[object GeneratorFunction]",Vh="[object Proxy]";function ta(e){if(!Zo(e))return!1;var t=Yo(e);return t==Uh||t==Hh||t==zh||t==Vh}l(ta,"isFunction");var Ci=xi["__core-js_shared__"],na=function(){var e=/[^.]+$/.exec(Ci&&Ci.keys&&Ci.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Gh(e){return!!na&&na in e}l(Gh,"isMasked");var Wh=Function.prototype,Kh=Wh.toString;function Yh(e){if(e!=null){try{return Kh.call(e)}catch{}try{return e+""}catch{}}return""}l(Yh,"toSource");var Jh=/[\\^$.*+?()[\]{}|]/g,Qh=/^\[object .+?Constructor\]$/,Xh=Function.prototype,Zh=Object.prototype,ep=Xh.toString,tp=Zh.hasOwnProperty,np=RegExp("^"+ep.call(tp).replace(Jh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function rp(e){if(!Zo(e)||Gh(e))return!1;var t=ta(e)?np:Qh;return t.test(Yh(e))}l(rp,"baseIsNative");function ip(e,t){return e?.[t]}l(ip,"getValue");function Ti(e,t){var n=ip(e,t);return rp(n)?n:void 0}l(Ti,"getNative");function sp(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}l(sp,"apply");var op=800,ap=16,lp=Date.now;function up(e){var t=0,n=0;return function(){var r=lp(),i=ap-(r-n);if(n=r,i>0){if(++t>=op)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}l(up,"shortOut");function cp(e){return function(){return e}}l(cp,"constant");var ra=function(){try{var e=Ti(Object,"defineProperty");return e({},"",{}),e}catch{}}(),fp=ra?function(e,t){return ra(e,"toString",{configurable:!0,enumerable:!1,value:cp(t),writable:!0})}:ea,hp=up(fp);function pp(e,t,n,r){for(var i=e.length,s=n+-1;++s<i;)if(t(e[s],s,e))return s;return-1}l(pp,"baseFindIndex");function dp(e){return e!==e}l(dp,"baseIsNaN");function mp(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}l(mp,"strictIndexOf");function Ni(e,t,n){return t===t?mp(e,t,n):pp(e,dp,n)}l(Ni,"baseIndexOf");function gp(e,t){var n=e==null?0:e.length;return!!n&&Ni(e,t,0)>-1}l(gp,"arrayIncludes");function yp(e,t){return e===t||e!==e&&t!==t}l(yp,"eq");var ia=Math.max;function bp(e,t,n){return t=ia(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,s=ia(r.length-t,0),o=Array(s);++i<s;)o[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(o),sp(e,this,a)}}l(bp,"overRest");function wp(e,t){return hp(bp(e,t,ea),e+"")}l(wp,"baseRest");var kp=9007199254740991;function vp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=kp}l(vp,"isLength");function Sp(e){return e!=null&&vp(e.length)&&!ta(e)}l(Sp,"isArrayLike");var An=Ti(Object,"create");function xp(){this.__data__=An?An(null):{},this.size=0}l(xp,"hashClear");function Ap(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}l(Ap,"hashDelete");var Cp="__lodash_hash_undefined__",Tp=Object.prototype,Np=Tp.hasOwnProperty;function Ep(e){var t=this.__data__;if(An){var n=t[e];return n===Cp?void 0:n}return Np.call(t,e)?t[e]:void 0}l(Ep,"hashGet");var _p=Object.prototype,Op=_p.hasOwnProperty;function Lp(e){var t=this.__data__;return An?t[e]!==void 0:Op.call(t,e)}l(Lp,"hashHas");var Ip="__lodash_hash_undefined__";function Dp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=An&&t===void 0?Ip:t,this}l(Dp,"hashSet");function wt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l(wt,"Hash"),wt.prototype.clear=xp,wt.prototype.delete=Ap,wt.prototype.get=Ep,wt.prototype.has=Lp,wt.prototype.set=Dp;function Rp(){this.__data__=[],this.size=0}l(Rp,"listCacheClear");function sr(e,t){for(var n=e.length;n--;)if(yp(e[n][0],t))return n;return-1}l(sr,"assocIndexOf");var Pp=Array.prototype,Fp=Pp.splice;function qp(e){var t=this.__data__,n=sr(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Fp.call(t,n,1),--this.size,!0}l(qp,"listCacheDelete");function Mp(e){var t=this.__data__,n=sr(t,e);return n<0?void 0:t[n][1]}l(Mp,"listCacheGet");function $p(e){return sr(this.__data__,e)>-1}l($p,"listCacheHas");function Bp(e,t){var n=this.__data__,r=sr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}l(Bp,"listCacheSet");function zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l(zt,"ListCache"),zt.prototype.clear=Rp,zt.prototype.delete=qp,zt.prototype.get=Mp,zt.prototype.has=$p,zt.prototype.set=Bp;var jp=Ti(xi,"Map");function zp(){this.size=0,this.__data__={hash:new wt,map:new(jp||zt),string:new wt}}l(zp,"mapCacheClear");function Up(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}l(Up,"isKeyable");function or(e,t){var n=e.__data__;return Up(t)?n[typeof t=="string"?"string":"hash"]:n.map}l(or,"getMapData");function Hp(e){var t=or(this,e).delete(e);return this.size-=t?1:0,t}l(Hp,"mapCacheDelete");function Vp(e){return or(this,e).get(e)}l(Vp,"mapCacheGet");function Gp(e){return or(this,e).has(e)}l(Gp,"mapCacheHas");function Wp(e,t){var n=or(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}l(Wp,"mapCacheSet");function Ut(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l(Ut,"MapCache"),Ut.prototype.clear=zp,Ut.prototype.delete=Hp,Ut.prototype.get=Vp,Ut.prototype.has=Gp,Ut.prototype.set=Wp;function Kp(e){return e==null?"":Ai(e)}l(Kp,"toString$3");function Yp(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(i);++r<i;)s[r]=e[r+t];return s}l(Yp,"baseSlice");function Jp(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:Yp(e,t,n)}l(Jp,"castSlice");var Qp="\\ud800-\\udfff",Xp="\\u0300-\\u036f",Zp="\\ufe20-\\ufe2f",ed="\\u20d0-\\u20ff",td=Xp+Zp+ed,nd="\\ufe0e\\ufe0f",rd="\\u200d",id=RegExp("["+rd+Qp+td+nd+"]");function sd(e){return id.test(e)}l(sd,"hasUnicode");function od(e){return e.split("")}l(od,"asciiToArray");var sa="\\ud800-\\udfff",ad="\\u0300-\\u036f",ld="\\ufe20-\\ufe2f",ud="\\u20d0-\\u20ff",cd=ad+ld+ud,fd="\\ufe0e\\ufe0f",hd="["+sa+"]",Ei="["+cd+"]",_i="\\ud83c[\\udffb-\\udfff]",pd="(?:"+Ei+"|"+_i+")",oa="[^"+sa+"]",aa="(?:\\ud83c[\\udde6-\\uddff]){2}",la="[\\ud800-\\udbff][\\udc00-\\udfff]",dd="\\u200d",ua=pd+"?",ca="["+fd+"]?",md="(?:"+dd+"(?:"+[oa,aa,la].join("|")+")"+ca+ua+")*",gd=ca+ua+md,yd="(?:"+[oa+Ei+"?",Ei,aa,la,hd].join("|")+")",bd=RegExp(_i+"(?="+_i+")|"+yd+gd,"g");function wd(e){return e.match(bd)||[]}l(wd,"unicodeToArray");function fa(e){return sd(e)?wd(e):od(e)}l(fa,"stringToArray");var kd="__lodash_hash_undefined__";function vd(e){return this.__data__.set(e,kd),this}l(vd,"setCacheAdd");function Sd(e){return this.__data__.has(e)}l(Sd,"setCacheHas");function ar(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Ut;++t<n;)this.add(e[t])}l(ar,"SetCache"),ar.prototype.add=ar.prototype.push=vd,ar.prototype.has=Sd;function xd(e,t){return e.has(t)}l(xd,"cacheHas");function Ad(e){return Jo(e)&&Sp(e)}l(Ad,"isArrayLikeObject");var Cd=200;function Td(e,t,n,r){var i=-1,s=gp,o=!0,a=e.length,u=[],c=t.length;if(!a)return u;t.length>=Cd&&(s=xd,o=!1,t=new ar(t));e:for(;++i<a;){var h=e[i],f=h;if(h=h!==0?h:0,o&&f===f){for(var p=c;p--;)if(t[p]===f)continue e;u.push(h)}else s(t,f,r)||u.push(h)}return u}l(Td,"baseDifference");function Nd(e,t){for(var n=e.length;n--&&Ni(t,e[n],0)>-1;);return n}l(Nd,"charsEndIndex");function Ed(e,t){for(var n=-1,r=e.length;++n<r&&Ni(t,e[n],0)>-1;);return n}l(Ed,"charsStartIndex");function ha(e,t,n){if(e=Kp(e),e&&t===void 0)return jh(e);if(!e||!(t=Ai(t)))return e;var r=fa(e),i=fa(t),s=Ed(r,i),o=Nd(r,i)+1;return Jp(r,s,o).join("")}l(ha,"trim");var _d=wp(function(e,t){return Ad(e)?Td(e,t):[]}),lr={},ur={};Object.defineProperty(ur,"__esModule",{value:!0}),ur.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},ur.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":"\xA0"," ":"\xA0","¡":"\xA1","¡":"\xA1","¢":"\xA2","¢":"\xA2","£":"\xA3","£":"\xA3","¤":"\xA4","¤":"\xA4","¥":"\xA5","¥":"\xA5","¦":"\xA6","¦":"\xA6","§":"\xA7","§":"\xA7","¨":"\xA8","¨":"\xA8","©":"\xA9","©":"\xA9","ª":"\xAA","ª":"\xAA","«":"\xAB","«":"\xAB","¬":"\xAC","¬":"\xAC","­":"\xAD","­":"\xAD","®":"\xAE","®":"\xAE","¯":"\xAF","¯":"\xAF","°":"\xB0","°":"\xB0","±":"\xB1","±":"\xB1","²":"\xB2","²":"\xB2","³":"\xB3","³":"\xB3","´":"\xB4","´":"\xB4","µ":"\xB5","µ":"\xB5","¶":"\xB6","¶":"\xB6","·":"\xB7","·":"\xB7","¸":"\xB8","¸":"\xB8","¹":"\xB9","¹":"\xB9","º":"\xBA","º":"\xBA","»":"\xBB","»":"\xBB","¼":"\xBC","¼":"\xBC","½":"\xBD","½":"\xBD","¾":"\xBE","¾":"\xBE","¿":"\xBF","¿":"\xBF","À":"\xC0","À":"\xC0","Á":"\xC1","Á":"\xC1","Â":"\xC2","Â":"\xC2","Ã":"\xC3","Ã":"\xC3","Ä":"\xC4","Ä":"\xC4","Å":"\xC5","Å":"\xC5","Æ":"\xC6","Æ":"\xC6","Ç":"\xC7","Ç":"\xC7","È":"\xC8","È":"\xC8","É":"\xC9","É":"\xC9","Ê":"\xCA","Ê":"\xCA","Ë":"\xCB","Ë":"\xCB","Ì":"\xCC","Ì":"\xCC","Í":"\xCD","Í":"\xCD","Î":"\xCE","Î":"\xCE","Ï":"\xCF","Ï":"\xCF","Ð":"\xD0","Ð":"\xD0","Ñ":"\xD1","Ñ":"\xD1","Ò":"\xD2","Ò":"\xD2","Ó":"\xD3","Ó":"\xD3","Ô":"\xD4","Ô":"\xD4","Õ":"\xD5","Õ":"\xD5","Ö":"\xD6","Ö":"\xD6","×":"\xD7","×":"\xD7","Ø":"\xD8","Ø":"\xD8","Ù":"\xD9","Ù":"\xD9","Ú":"\xDA","Ú":"\xDA","Û":"\xDB","Û":"\xDB","Ü":"\xDC","Ü":"\xDC","Ý":"\xDD","Ý":"\xDD","Þ":"\xDE","Þ":"\xDE","ß":"\xDF","ß":"\xDF","à":"\xE0","à":"\xE0","á":"\xE1","á":"\xE1","â":"\xE2","â":"\xE2","ã":"\xE3","ã":"\xE3","ä":"\xE4","ä":"\xE4","å":"\xE5","å":"\xE5","æ":"\xE6","æ":"\xE6","ç":"\xE7","ç":"\xE7","è":"\xE8","è":"\xE8","é":"\xE9","é":"\xE9","ê":"\xEA","ê":"\xEA","ë":"\xEB","ë":"\xEB","ì":"\xEC","ì":"\xEC","í":"\xED","í":"\xED","î":"\xEE","î":"\xEE","ï":"\xEF","ï":"\xEF","ð":"\xF0","ð":"\xF0","ñ":"\xF1","ñ":"\xF1","ò":"\xF2","ò":"\xF2","ó":"\xF3","ó":"\xF3","ô":"\xF4","ô":"\xF4","õ":"\xF5","õ":"\xF5","ö":"\xF6","ö":"\xF6","÷":"\xF7","÷":"\xF7","ø":"\xF8","ø":"\xF8","ù":"\xF9","ù":"\xF9","ú":"\xFA","ú":"\xFA","û":"\xFB","û":"\xFB","ü":"\xFC","ü":"\xFC","ý":"\xFD","ý":"\xFD","þ":"\xFE","þ":"\xFE","ÿ":"\xFF","ÿ":"\xFF",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"\u0152","œ":"\u0153","Š":"\u0160","š":"\u0161","Ÿ":"\u0178","ˆ":"\u02C6","˜":"\u02DC"," ":"\u2002"," ":"\u2003"," ":"\u2009","‌":"\u200C","‍":"\u200D","‎":"\u200E","‏":"\u200F","–":"\u2013","—":"\u2014","‘":"\u2018","’":"\u2019","‚":"\u201A","“":"\u201C","”":"\u201D","„":"\u201E","†":"\u2020","‡":"\u2021","‰":"\u2030","‹":"\u2039","›":"\u203A","€":"\u20AC","ƒ":"\u0192","Α":"\u0391","Β":"\u0392","Γ":"\u0393","Δ":"\u0394","Ε":"\u0395","Ζ":"\u0396","Η":"\u0397","Θ":"\u0398","Ι":"\u0399","Κ":"\u039A","Λ":"\u039B","Μ":"\u039C","Ν":"\u039D","Ξ":"\u039E","Ο":"\u039F","Π":"\u03A0","Ρ":"\u03A1","Σ":"\u03A3","Τ":"\u03A4","Υ":"\u03A5","Φ":"\u03A6","Χ":"\u03A7","Ψ":"\u03A8","Ω":"\u03A9","α":"\u03B1","β":"\u03B2","γ":"\u03B3","δ":"\u03B4","ε":"\u03B5","ζ":"\u03B6","η":"\u03B7","θ":"\u03B8","ι":"\u03B9","κ":"\u03BA","λ":"\u03BB","μ":"\u03BC","ν":"\u03BD","ξ":"\u03BE","ο":"\u03BF","π":"\u03C0","ρ":"\u03C1","ς":"\u03C2","σ":"\u03C3","τ":"\u03C4","υ":"\u03C5","φ":"\u03C6","χ":"\u03C7","ψ":"\u03C8","ω":"\u03C9","ϑ":"\u03D1","ϒ":"\u03D2","ϖ":"\u03D6","•":"\u2022","…":"\u2026","′":"\u2032","″":"\u2033","‾":"\u203E","⁄":"\u2044","℘":"\u2118","ℑ":"\u2111","ℜ":"\u211C","™":"\u2122","ℵ":"\u2135","←":"\u2190","↑":"\u2191","→":"\u2192","↓":"\u2193","↔":"\u2194","↵":"\u21B5","⇐":"\u21D0","⇑":"\u21D1","⇒":"\u21D2","⇓":"\u21D3","⇔":"\u21D4","∀":"\u2200","∂":"\u2202","∃":"\u2203","∅":"\u2205","∇":"\u2207","∈":"\u2208","∉":"\u2209","∋":"\u220B","∏":"\u220F","∑":"\u2211","−":"\u2212","∗":"\u2217","√":"\u221A","∝":"\u221D","∞":"\u221E","∠":"\u2220","∧":"\u2227","∨":"\u2228","∩":"\u2229","∪":"\u222A","∫":"\u222B","∴":"\u2234","∼":"\u223C","≅":"\u2245","≈":"\u2248","≠":"\u2260","≡":"\u2261","≤":"\u2264","≥":"\u2265","⊂":"\u2282","⊃":"\u2283","⊄":"\u2284","⊆":"\u2286","⊇":"\u2287","⊕":"\u2295","⊗":"\u2297","⊥":"\u22A5","⋅":"\u22C5","⌈":"\u2308","⌉":"\u2309","⌊":"\u230A","⌋":"\u230B","⟨":"\u2329","⟩":"\u232A","◊":"\u25CA","♠":"\u2660","♣":"\u2663","♥":"\u2665","♦":"\u2666"},characters:{"'":"'","\xA0":" ","\xA1":"¡","\xA2":"¢","\xA3":"£","\xA4":"¤","\xA5":"¥","\xA6":"¦","\xA7":"§","\xA8":"¨","\xA9":"©",\u00AA:"ª","\xAB":"«","\xAC":"¬","\xAD":"­","\xAE":"®","\xAF":"¯","\xB0":"°","\xB1":"±","\xB2":"²","\xB3":"³","\xB4":"´",\u00B5:"µ","\xB6":"¶","\xB7":"·","\xB8":"¸","\xB9":"¹",\u00BA:"º","\xBB":"»","\xBC":"¼","\xBD":"½","\xBE":"¾","\xBF":"¿",\u00C0:"À",\u00C1:"Á",\u00C2:"Â",\u00C3:"Ã",\u00C4:"Ä",\u00C5:"Å",\u00C6:"Æ",\u00C7:"Ç",\u00C8:"È",\u00C9:"É",\u00CA:"Ê",\u00CB:"Ë",\u00CC:"Ì",\u00CD:"Í",\u00CE:"Î",\u00CF:"Ï",\u00D0:"Ð",\u00D1:"Ñ",\u00D2:"Ò",\u00D3:"Ó",\u00D4:"Ô",\u00D5:"Õ",\u00D6:"Ö","\xD7":"×",\u00D8:"Ø",\u00D9:"Ù",\u00DA:"Ú",\u00DB:"Û",\u00DC:"Ü",\u00DD:"Ý",\u00DE:"Þ",\u00DF:"ß",\u00E0:"à",\u00E1:"á",\u00E2:"â",\u00E3:"ã",\u00E4:"ä",\u00E5:"å",\u00E6:"æ",\u00E7:"ç",\u00E8:"è",\u00E9:"é",\u00EA:"ê",\u00EB:"ë",\u00EC:"ì",\u00ED:"í",\u00EE:"î",\u00EF:"ï",\u00F0:"ð",\u00F1:"ñ",\u00F2:"ò",\u00F3:"ó",\u00F4:"ô",\u00F5:"õ",\u00F6:"ö","\xF7":"÷",\u00F8:"ø",\u00F9:"ù",\u00FA:"ú",\u00FB:"û",\u00FC:"ü",\u00FD:"ý",\u00FE:"þ",\u00FF:"ÿ",'"':""","&":"&","<":"<",">":">",\u0152:"Œ",\u0153:"œ",\u0160:"Š",\u0161:"š",\u0178:"Ÿ","\u02C6":"ˆ","\u02DC":"˜","\u2002":" ","\u2003":" ","\u2009":" ","\u200C":"‌","\u200D":"‍","\u200E":"‎","\u200F":"‏","\u2013":"–","\u2014":"—","\u2018":"‘","\u2019":"’","\u201A":"‚","\u201C":"“","\u201D":"”","\u201E":"„","\u2020":"†","\u2021":"‡","\u2030":"‰","\u2039":"‹","\u203A":"›","\u20AC":"€",\u0192:"ƒ",\u0391:"Α",\u0392:"Β",\u0393:"Γ",\u0394:"Δ",\u0395:"Ε",\u0396:"Ζ",\u0397:"Η",\u0398:"Θ",\u0399:"Ι",\u039A:"Κ",\u039B:"Λ",\u039C:"Μ",\u039D:"Ν",\u039E:"Ξ",\u039F:"Ο",\u03A0:"Π",\u03A1:"Ρ",\u03A3:"Σ",\u03A4:"Τ",\u03A5:"Υ",\u03A6:"Φ",\u03A7:"Χ",\u03A8:"Ψ",\u03A9:"Ω",\u03B1:"α",\u03B2:"β",\u03B3:"γ",\u03B4:"δ",\u03B5:"ε",\u03B6:"ζ",\u03B7:"η",\u03B8:"θ",\u03B9:"ι",\u03BA:"κ",\u03BB:"λ",\u03BC:"μ",\u03BD:"ν",\u03BE:"ξ",\u03BF:"ο",\u03C0:"π",\u03C1:"ρ",\u03C2:"ς",\u03C3:"σ",\u03C4:"τ",\u03C5:"υ",\u03C6:"φ",\u03C7:"χ",\u03C8:"ψ",\u03C9:"ω",\u03D1:"ϑ",\u03D2:"ϒ",\u03D6:"ϖ","\u2022":"•","\u2026":"…","\u2032":"′","\u2033":"″","\u203E":"‾","\u2044":"⁄","\u2118":"℘",\u2111:"ℑ",\u211C:"ℜ","\u2122":"™",\u2135:"ℵ","\u2190":"←","\u2191":"↑","\u2192":"→","\u2193":"↓","\u2194":"↔","\u21B5":"↵","\u21D0":"⇐","\u21D1":"⇑","\u21D2":"⇒","\u21D3":"⇓","\u21D4":"⇔","\u2200":"∀","\u2202":"∂","\u2203":"∃","\u2205":"∅","\u2207":"∇","\u2208":"∈","\u2209":"∉","\u220B":"∋","\u220F":"∏","\u2211":"∑","\u2212":"−","\u2217":"∗","\u221A":"√","\u221D":"∝","\u221E":"∞","\u2220":"∠","\u2227":"∧","\u2228":"∨","\u2229":"∩","\u222A":"∪","\u222B":"∫","\u2234":"∴","\u223C":"∼","\u2245":"≅","\u2248":"≈","\u2260":"≠","\u2261":"≡","\u2264":"≤","\u2265":"≥","\u2282":"⊂","\u2283":"⊃","\u2284":"⊄","\u2286":"⊆","\u2287":"⊇","\u2295":"⊕","\u2297":"⊗","\u22A5":"⊥","\u22C5":"⋅","\u2308":"⌈","\u2309":"⌉","\u230A":"⌊","\u230B":"⌋","\u2329":"⟨","\u232A":"⟩","\u25CA":"◊","\u2660":"♠","\u2663":"♣","\u2665":"♥","\u2666":"♦"}},html5:{entities:{"Æ":"\xC6","Æ":"\xC6","&":"&","&":"&","Á":"\xC1","Á":"\xC1","Ă":"\u0102","Â":"\xC2","Â":"\xC2","А":"\u0410","𝔄":"\u{1D504}","À":"\xC0","À":"\xC0","Α":"\u0391","Ā":"\u0100","⩓":"\u2A53","Ą":"\u0104","𝔸":"\u{1D538}","⁡":"\u2061","Å":"\xC5","Å":"\xC5","𝒜":"\u{1D49C}","≔":"\u2254","Ã":"\xC3","Ã":"\xC3","Ä":"\xC4","Ä":"\xC4","∖":"\u2216","⫧":"\u2AE7","⌆":"\u2306","Б":"\u0411","∵":"\u2235","ℬ":"\u212C","Β":"\u0392","𝔅":"\u{1D505}","𝔹":"\u{1D539}","˘":"\u02D8","ℬ":"\u212C","≎":"\u224E","Ч":"\u0427","©":"\xA9","©":"\xA9","Ć":"\u0106","⋒":"\u22D2","ⅅ":"\u2145","ℭ":"\u212D","Č":"\u010C","Ç":"\xC7","Ç":"\xC7","Ĉ":"\u0108","∰":"\u2230","Ċ":"\u010A","¸":"\xB8","·":"\xB7","ℭ":"\u212D","Χ":"\u03A7","⊙":"\u2299","⊖":"\u2296","⊕":"\u2295","⊗":"\u2297","∲":"\u2232","”":"\u201D","’":"\u2019","∷":"\u2237","⩴":"\u2A74","≡":"\u2261","∯":"\u222F","∮":"\u222E","ℂ":"\u2102","∐":"\u2210","∳":"\u2233","⨯":"\u2A2F","𝒞":"\u{1D49E}","⋓":"\u22D3","≍":"\u224D","ⅅ":"\u2145","⤑":"\u2911","Ђ":"\u0402","Ѕ":"\u0405","Џ":"\u040F","‡":"\u2021","↡":"\u21A1","⫤":"\u2AE4","Ď":"\u010E","Д":"\u0414","∇":"\u2207","Δ":"\u0394","𝔇":"\u{1D507}","´":"\xB4","˙":"\u02D9","˝":"\u02DD","`":"`","˜":"\u02DC","⋄":"\u22C4","ⅆ":"\u2146","𝔻":"\u{1D53B}","¨":"\xA8","⃜":"\u20DC","≐":"\u2250","∯":"\u222F","¨":"\xA8","⇓":"\u21D3","⇐":"\u21D0","⇔":"\u21D4","⫤":"\u2AE4","⟸":"\u27F8","⟺":"\u27FA","⟹":"\u27F9","⇒":"\u21D2","⊨":"\u22A8","⇑":"\u21D1","⇕":"\u21D5","∥":"\u2225","↓":"\u2193","⤓":"\u2913","⇵":"\u21F5","̑":"\u0311","⥐":"\u2950","⥞":"\u295E","↽":"\u21BD","⥖":"\u2956","⥟":"\u295F","⇁":"\u21C1","⥗":"\u2957","⊤":"\u22A4","↧":"\u21A7","⇓":"\u21D3","𝒟":"\u{1D49F}","Đ":"\u0110","Ŋ":"\u014A","Ð":"\xD0","Ð":"\xD0","É":"\xC9","É":"\xC9","Ě":"\u011A","Ê":"\xCA","Ê":"\xCA","Э":"\u042D","Ė":"\u0116","𝔈":"\u{1D508}","È":"\xC8","È":"\xC8","∈":"\u2208","Ē":"\u0112","◻":"\u25FB","▫":"\u25AB","Ę":"\u0118","𝔼":"\u{1D53C}","Ε":"\u0395","⩵":"\u2A75","≂":"\u2242","⇌":"\u21CC","ℰ":"\u2130","⩳":"\u2A73","Η":"\u0397","Ë":"\xCB","Ë":"\xCB","∃":"\u2203","ⅇ":"\u2147","Ф":"\u0424","𝔉":"\u{1D509}","◼":"\u25FC","▪":"\u25AA","𝔽":"\u{1D53D}","∀":"\u2200","ℱ":"\u2131","ℱ":"\u2131","Ѓ":"\u0403",">":">",">":">","Γ":"\u0393","Ϝ":"\u03DC","Ğ":"\u011E","Ģ":"\u0122","Ĝ":"\u011C","Г":"\u0413","Ġ":"\u0120","𝔊":"\u{1D50A}","⋙":"\u22D9","𝔾":"\u{1D53E}","≥":"\u2265","⋛":"\u22DB","≧":"\u2267","⪢":"\u2AA2","≷":"\u2277","⩾":"\u2A7E","≳":"\u2273","𝒢":"\u{1D4A2}","≫":"\u226B","Ъ":"\u042A","ˇ":"\u02C7","^":"^","Ĥ":"\u0124","ℌ":"\u210C","ℋ":"\u210B","ℍ":"\u210D","─":"\u2500","ℋ":"\u210B","Ħ":"\u0126","≎":"\u224E","≏":"\u224F","Е":"\u0415","IJ":"\u0132","Ё":"\u0401","Í":"\xCD","Í":"\xCD","Î":"\xCE","Î":"\xCE","И":"\u0418","İ":"\u0130","ℑ":"\u2111","Ì":"\xCC","Ì":"\xCC","ℑ":"\u2111","Ī":"\u012A","ⅈ":"\u2148","⇒":"\u21D2","∬":"\u222C","∫":"\u222B","⋂":"\u22C2","⁣":"\u2063","⁢":"\u2062","Į":"\u012E","𝕀":"\u{1D540}","Ι":"\u0399","ℐ":"\u2110","Ĩ":"\u0128","І":"\u0406","Ï":"\xCF","Ï":"\xCF","Ĵ":"\u0134","Й":"\u0419","𝔍":"\u{1D50D}","𝕁":"\u{1D541}","𝒥":"\u{1D4A5}","Ј":"\u0408","Є":"\u0404","Х":"\u0425","Ќ":"\u040C","Κ":"\u039A","Ķ":"\u0136","К":"\u041A","𝔎":"\u{1D50E}","𝕂":"\u{1D542}","𝒦":"\u{1D4A6}","Љ":"\u0409","<":"<","<":"<","Ĺ":"\u0139","Λ":"\u039B","⟪":"\u27EA","ℒ":"\u2112","↞":"\u219E","Ľ":"\u013D","Ļ":"\u013B","Л":"\u041B","⟨":"\u27E8","←":"\u2190","⇤":"\u21E4","⇆":"\u21C6","⌈":"\u2308","⟦":"\u27E6","⥡":"\u2961","⇃":"\u21C3","⥙":"\u2959","⌊":"\u230A","↔":"\u2194","⥎":"\u294E","⊣":"\u22A3","↤":"\u21A4","⥚":"\u295A","⊲":"\u22B2","⧏":"\u29CF","⊴":"\u22B4","⥑":"\u2951","⥠":"\u2960","↿":"\u21BF","⥘":"\u2958","↼":"\u21BC","⥒":"\u2952","⇐":"\u21D0","⇔":"\u21D4","⋚":"\u22DA","≦":"\u2266","≶":"\u2276","⪡":"\u2AA1","⩽":"\u2A7D","≲":"\u2272","𝔏":"\u{1D50F}","⋘":"\u22D8","⇚":"\u21DA","Ŀ":"\u013F","⟵":"\u27F5","⟷":"\u27F7","⟶":"\u27F6","⟸":"\u27F8","⟺":"\u27FA","⟹":"\u27F9","𝕃":"\u{1D543}","↙":"\u2199","↘":"\u2198","ℒ":"\u2112","↰":"\u21B0","Ł":"\u0141","≪":"\u226A","⤅":"\u2905","М":"\u041C"," ":"\u205F","ℳ":"\u2133","𝔐":"\u{1D510}","∓":"\u2213","𝕄":"\u{1D544}","ℳ":"\u2133","Μ":"\u039C","Њ":"\u040A","Ń":"\u0143","Ň":"\u0147","Ņ":"\u0145","Н":"\u041D","​":"\u200B","​":"\u200B","​":"\u200B","​":"\u200B","≫":"\u226B","≪":"\u226A","
":`
|
|
34
|
+
`,"𝔑":"\u{1D511}","⁠":"\u2060"," ":"\xA0","ℕ":"\u2115","⫬":"\u2AEC","≢":"\u2262","≭":"\u226D","∦":"\u2226","∉":"\u2209","≠":"\u2260","≂̸":"\u2242\u0338","∄":"\u2204","≯":"\u226F","≱":"\u2271","≧̸":"\u2267\u0338","≫̸":"\u226B\u0338","≹":"\u2279","⩾̸":"\u2A7E\u0338","≵":"\u2275","≎̸":"\u224E\u0338","≏̸":"\u224F\u0338","⋪":"\u22EA","⧏̸":"\u29CF\u0338","⋬":"\u22EC","≮":"\u226E","≰":"\u2270","≸":"\u2278","≪̸":"\u226A\u0338","⩽̸":"\u2A7D\u0338","≴":"\u2274","⪢̸":"\u2AA2\u0338","⪡̸":"\u2AA1\u0338","⊀":"\u2280","⪯̸":"\u2AAF\u0338","⋠":"\u22E0","∌":"\u220C","⋫":"\u22EB","⧐̸":"\u29D0\u0338","⋭":"\u22ED","⊏̸":"\u228F\u0338","⋢":"\u22E2","⊐̸":"\u2290\u0338","⋣":"\u22E3","⊂⃒":"\u2282\u20D2","⊈":"\u2288","⊁":"\u2281","⪰̸":"\u2AB0\u0338","⋡":"\u22E1","≿̸":"\u227F\u0338","⊃⃒":"\u2283\u20D2","⊉":"\u2289","≁":"\u2241","≄":"\u2244","≇":"\u2247","≉":"\u2249","∤":"\u2224","𝒩":"\u{1D4A9}","Ñ":"\xD1","Ñ":"\xD1","Ν":"\u039D","Œ":"\u0152","Ó":"\xD3","Ó":"\xD3","Ô":"\xD4","Ô":"\xD4","О":"\u041E","Ő":"\u0150","𝔒":"\u{1D512}","Ò":"\xD2","Ò":"\xD2","Ō":"\u014C","Ω":"\u03A9","Ο":"\u039F","𝕆":"\u{1D546}","“":"\u201C","‘":"\u2018","⩔":"\u2A54","𝒪":"\u{1D4AA}","Ø":"\xD8","Ø":"\xD8","Õ":"\xD5","Õ":"\xD5","⨷":"\u2A37","Ö":"\xD6","Ö":"\xD6","‾":"\u203E","⏞":"\u23DE","⎴":"\u23B4","⏜":"\u23DC","∂":"\u2202","П":"\u041F","𝔓":"\u{1D513}","Φ":"\u03A6","Π":"\u03A0","±":"\xB1","ℌ":"\u210C","ℙ":"\u2119","⪻":"\u2ABB","≺":"\u227A","⪯":"\u2AAF","≼":"\u227C","≾":"\u227E","″":"\u2033","∏":"\u220F","∷":"\u2237","∝":"\u221D","𝒫":"\u{1D4AB}","Ψ":"\u03A8",""":'"',""":'"',"𝔔":"\u{1D514}","ℚ":"\u211A","𝒬":"\u{1D4AC}","⤐":"\u2910","®":"\xAE","®":"\xAE","Ŕ":"\u0154","⟫":"\u27EB","↠":"\u21A0","⤖":"\u2916","Ř":"\u0158","Ŗ":"\u0156","Р":"\u0420","ℜ":"\u211C","∋":"\u220B","⇋":"\u21CB","⥯":"\u296F","ℜ":"\u211C","Ρ":"\u03A1","⟩":"\u27E9","→":"\u2192","⇥":"\u21E5","⇄":"\u21C4","⌉":"\u2309","⟧":"\u27E7","⥝":"\u295D","⇂":"\u21C2","⥕":"\u2955","⌋":"\u230B","⊢":"\u22A2","↦":"\u21A6","⥛":"\u295B","⊳":"\u22B3","⧐":"\u29D0","⊵":"\u22B5","⥏":"\u294F","⥜":"\u295C","↾":"\u21BE","⥔":"\u2954","⇀":"\u21C0","⥓":"\u2953","⇒":"\u21D2","ℝ":"\u211D","⥰":"\u2970","⇛":"\u21DB","ℛ":"\u211B","↱":"\u21B1","⧴":"\u29F4","Щ":"\u0429","Ш":"\u0428","Ь":"\u042C","Ś":"\u015A","⪼":"\u2ABC","Š":"\u0160","Ş":"\u015E","Ŝ":"\u015C","С":"\u0421","𝔖":"\u{1D516}","↓":"\u2193","←":"\u2190","→":"\u2192","↑":"\u2191","Σ":"\u03A3","∘":"\u2218","𝕊":"\u{1D54A}","√":"\u221A","□":"\u25A1","⊓":"\u2293","⊏":"\u228F","⊑":"\u2291","⊐":"\u2290","⊒":"\u2292","⊔":"\u2294","𝒮":"\u{1D4AE}","⋆":"\u22C6","⋐":"\u22D0","⋐":"\u22D0","⊆":"\u2286","≻":"\u227B","⪰":"\u2AB0","≽":"\u227D","≿":"\u227F","∋":"\u220B","∑":"\u2211","⋑":"\u22D1","⊃":"\u2283","⊇":"\u2287","⋑":"\u22D1","Þ":"\xDE","Þ":"\xDE","™":"\u2122","Ћ":"\u040B","Ц":"\u0426","	":" ","Τ":"\u03A4","Ť":"\u0164","Ţ":"\u0162","Т":"\u0422","𝔗":"\u{1D517}","∴":"\u2234","Θ":"\u0398","  ":"\u205F\u200A"," ":"\u2009","∼":"\u223C","≃":"\u2243","≅":"\u2245","≈":"\u2248","𝕋":"\u{1D54B}","⃛":"\u20DB","𝒯":"\u{1D4AF}","Ŧ":"\u0166","Ú":"\xDA","Ú":"\xDA","↟":"\u219F","⥉":"\u2949","Ў":"\u040E","Ŭ":"\u016C","Û":"\xDB","Û":"\xDB","У":"\u0423","Ű":"\u0170","𝔘":"\u{1D518}","Ù":"\xD9","Ù":"\xD9","Ū":"\u016A","_":"_","⏟":"\u23DF","⎵":"\u23B5","⏝":"\u23DD","⋃":"\u22C3","⊎":"\u228E","Ų":"\u0172","𝕌":"\u{1D54C}","↑":"\u2191","⤒":"\u2912","⇅":"\u21C5","↕":"\u2195","⥮":"\u296E","⊥":"\u22A5","↥":"\u21A5","⇑":"\u21D1","⇕":"\u21D5","↖":"\u2196","↗":"\u2197","ϒ":"\u03D2","Υ":"\u03A5","Ů":"\u016E","𝒰":"\u{1D4B0}","Ũ":"\u0168","Ü":"\xDC","Ü":"\xDC","⊫":"\u22AB","⫫":"\u2AEB","В":"\u0412","⊩":"\u22A9","⫦":"\u2AE6","⋁":"\u22C1","‖":"\u2016","‖":"\u2016","∣":"\u2223","|":"|","❘":"\u2758","≀":"\u2240"," ":"\u200A","𝔙":"\u{1D519}","𝕍":"\u{1D54D}","𝒱":"\u{1D4B1}","⊪":"\u22AA","Ŵ":"\u0174","⋀":"\u22C0","𝔚":"\u{1D51A}","𝕎":"\u{1D54E}","𝒲":"\u{1D4B2}","𝔛":"\u{1D51B}","Ξ":"\u039E","𝕏":"\u{1D54F}","𝒳":"\u{1D4B3}","Я":"\u042F","Ї":"\u0407","Ю":"\u042E","Ý":"\xDD","Ý":"\xDD","Ŷ":"\u0176","Ы":"\u042B","𝔜":"\u{1D51C}","𝕐":"\u{1D550}","𝒴":"\u{1D4B4}","Ÿ":"\u0178","Ж":"\u0416","Ź":"\u0179","Ž":"\u017D","З":"\u0417","Ż":"\u017B","​":"\u200B","Ζ":"\u0396","ℨ":"\u2128","ℤ":"\u2124","𝒵":"\u{1D4B5}","á":"\xE1","á":"\xE1","ă":"\u0103","∾":"\u223E","∾̳":"\u223E\u0333","∿":"\u223F","â":"\xE2","â":"\xE2","´":"\xB4","´":"\xB4","а":"\u0430","æ":"\xE6","æ":"\xE6","⁡":"\u2061","𝔞":"\u{1D51E}","à":"\xE0","à":"\xE0","ℵ":"\u2135","ℵ":"\u2135","α":"\u03B1","ā":"\u0101","⨿":"\u2A3F","&":"&","&":"&","∧":"\u2227","⩕":"\u2A55","⩜":"\u2A5C","⩘":"\u2A58","⩚":"\u2A5A","∠":"\u2220","⦤":"\u29A4","∠":"\u2220","∡":"\u2221","⦨":"\u29A8","⦩":"\u29A9","⦪":"\u29AA","⦫":"\u29AB","⦬":"\u29AC","⦭":"\u29AD","⦮":"\u29AE","⦯":"\u29AF","∟":"\u221F","⊾":"\u22BE","⦝":"\u299D","∢":"\u2222","Å":"\xC5","⍼":"\u237C","ą":"\u0105","𝕒":"\u{1D552}","≈":"\u2248","⩰":"\u2A70","⩯":"\u2A6F","≊":"\u224A","≋":"\u224B","'":"'","≈":"\u2248","≊":"\u224A","å":"\xE5","å":"\xE5","𝒶":"\u{1D4B6}","*":"*","≈":"\u2248","≍":"\u224D","ã":"\xE3","ã":"\xE3","ä":"\xE4","ä":"\xE4","∳":"\u2233","⨑":"\u2A11","⫭":"\u2AED","≌":"\u224C","϶":"\u03F6","‵":"\u2035","∽":"\u223D","⋍":"\u22CD","⊽":"\u22BD","⌅":"\u2305","⌅":"\u2305","⎵":"\u23B5","⎶":"\u23B6","≌":"\u224C","б":"\u0431","„":"\u201E","∵":"\u2235","∵":"\u2235","⦰":"\u29B0","϶":"\u03F6","ℬ":"\u212C","β":"\u03B2","ℶ":"\u2136","≬":"\u226C","𝔟":"\u{1D51F}","⋂":"\u22C2","◯":"\u25EF","⋃":"\u22C3","⨀":"\u2A00","⨁":"\u2A01","⨂":"\u2A02","⨆":"\u2A06","★":"\u2605","▽":"\u25BD","△":"\u25B3","⨄":"\u2A04","⋁":"\u22C1","⋀":"\u22C0","⤍":"\u290D","⧫":"\u29EB","▪":"\u25AA","▴":"\u25B4","▾":"\u25BE","◂":"\u25C2","▸":"\u25B8","␣":"\u2423","▒":"\u2592","░":"\u2591","▓":"\u2593","█":"\u2588","=⃥":"=\u20E5","≡⃥":"\u2261\u20E5","⌐":"\u2310","𝕓":"\u{1D553}","⊥":"\u22A5","⊥":"\u22A5","⋈":"\u22C8","╗":"\u2557","╔":"\u2554","╖":"\u2556","╓":"\u2553","═":"\u2550","╦":"\u2566","╩":"\u2569","╤":"\u2564","╧":"\u2567","╝":"\u255D","╚":"\u255A","╜":"\u255C","╙":"\u2559","║":"\u2551","╬":"\u256C","╣":"\u2563","╠":"\u2560","╫":"\u256B","╢":"\u2562","╟":"\u255F","⧉":"\u29C9","╕":"\u2555","╒":"\u2552","┐":"\u2510","┌":"\u250C","─":"\u2500","╥":"\u2565","╨":"\u2568","┬":"\u252C","┴":"\u2534","⊟":"\u229F","⊞":"\u229E","⊠":"\u22A0","╛":"\u255B","╘":"\u2558","┘":"\u2518","└":"\u2514","│":"\u2502","╪":"\u256A","╡":"\u2561","╞":"\u255E","┼":"\u253C","┤":"\u2524","├":"\u251C","‵":"\u2035","˘":"\u02D8","¦":"\xA6","¦":"\xA6","𝒷":"\u{1D4B7}","⁏":"\u204F","∽":"\u223D","⋍":"\u22CD","\":"\\","⧅":"\u29C5","⟈":"\u27C8","•":"\u2022","•":"\u2022","≎":"\u224E","⪮":"\u2AAE","≏":"\u224F","≏":"\u224F","ć":"\u0107","∩":"\u2229","⩄":"\u2A44","⩉":"\u2A49","⩋":"\u2A4B","⩇":"\u2A47","⩀":"\u2A40","∩︀":"\u2229\uFE00","⁁":"\u2041","ˇ":"\u02C7","⩍":"\u2A4D","č":"\u010D","ç":"\xE7","ç":"\xE7","ĉ":"\u0109","⩌":"\u2A4C","⩐":"\u2A50","ċ":"\u010B","¸":"\xB8","¸":"\xB8","⦲":"\u29B2","¢":"\xA2","¢":"\xA2","·":"\xB7","𝔠":"\u{1D520}","ч":"\u0447","✓":"\u2713","✓":"\u2713","χ":"\u03C7","○":"\u25CB","⧃":"\u29C3","ˆ":"\u02C6","≗":"\u2257","↺":"\u21BA","↻":"\u21BB","®":"\xAE","Ⓢ":"\u24C8","⊛":"\u229B","⊚":"\u229A","⊝":"\u229D","≗":"\u2257","⨐":"\u2A10","⫯":"\u2AEF","⧂":"\u29C2","♣":"\u2663","♣":"\u2663",":":":","≔":"\u2254","≔":"\u2254",",":",","@":"@","∁":"\u2201","∘":"\u2218","∁":"\u2201","ℂ":"\u2102","≅":"\u2245","⩭":"\u2A6D","∮":"\u222E","𝕔":"\u{1D554}","∐":"\u2210","©":"\xA9","©":"\xA9","℗":"\u2117","↵":"\u21B5","✗":"\u2717","𝒸":"\u{1D4B8}","⫏":"\u2ACF","⫑":"\u2AD1","⫐":"\u2AD0","⫒":"\u2AD2","⋯":"\u22EF","⤸":"\u2938","⤵":"\u2935","⋞":"\u22DE","⋟":"\u22DF","↶":"\u21B6","⤽":"\u293D","∪":"\u222A","⩈":"\u2A48","⩆":"\u2A46","⩊":"\u2A4A","⊍":"\u228D","⩅":"\u2A45","∪︀":"\u222A\uFE00","↷":"\u21B7","⤼":"\u293C","⋞":"\u22DE","⋟":"\u22DF","⋎":"\u22CE","⋏":"\u22CF","¤":"\xA4","¤":"\xA4","↶":"\u21B6","↷":"\u21B7","⋎":"\u22CE","⋏":"\u22CF","∲":"\u2232","∱":"\u2231","⌭":"\u232D","⇓":"\u21D3","⥥":"\u2965","†":"\u2020","ℸ":"\u2138","↓":"\u2193","‐":"\u2010","⊣":"\u22A3","⤏":"\u290F","˝":"\u02DD","ď":"\u010F","д":"\u0434","ⅆ":"\u2146","‡":"\u2021","⇊":"\u21CA","⩷":"\u2A77","°":"\xB0","°":"\xB0","δ":"\u03B4","⦱":"\u29B1","⥿":"\u297F","𝔡":"\u{1D521}","⇃":"\u21C3","⇂":"\u21C2","⋄":"\u22C4","⋄":"\u22C4","♦":"\u2666","♦":"\u2666","¨":"\xA8","ϝ":"\u03DD","⋲":"\u22F2","÷":"\xF7","÷":"\xF7","÷":"\xF7","⋇":"\u22C7","⋇":"\u22C7","ђ":"\u0452","⌞":"\u231E","⌍":"\u230D","$":"$","𝕕":"\u{1D555}","˙":"\u02D9","≐":"\u2250","≑":"\u2251","∸":"\u2238","∔":"\u2214","⊡":"\u22A1","⌆":"\u2306","↓":"\u2193","⇊":"\u21CA","⇃":"\u21C3","⇂":"\u21C2","⤐":"\u2910","⌟":"\u231F","⌌":"\u230C","𝒹":"\u{1D4B9}","ѕ":"\u0455","⧶":"\u29F6","đ":"\u0111","⋱":"\u22F1","▿":"\u25BF","▾":"\u25BE","⇵":"\u21F5","⥯":"\u296F","⦦":"\u29A6","џ":"\u045F","⟿":"\u27FF","⩷":"\u2A77","≑":"\u2251","é":"\xE9","é":"\xE9","⩮":"\u2A6E","ě":"\u011B","≖":"\u2256","ê":"\xEA","ê":"\xEA","≕":"\u2255","э":"\u044D","ė":"\u0117","ⅇ":"\u2147","≒":"\u2252","𝔢":"\u{1D522}","⪚":"\u2A9A","è":"\xE8","è":"\xE8","⪖":"\u2A96","⪘":"\u2A98","⪙":"\u2A99","⏧":"\u23E7","ℓ":"\u2113","⪕":"\u2A95","⪗":"\u2A97","ē":"\u0113","∅":"\u2205","∅":"\u2205","∅":"\u2205"," ":"\u2004"," ":"\u2005"," ":"\u2003","ŋ":"\u014B"," ":"\u2002","ę":"\u0119","𝕖":"\u{1D556}","⋕":"\u22D5","⧣":"\u29E3","⩱":"\u2A71","ε":"\u03B5","ε":"\u03B5","ϵ":"\u03F5","≖":"\u2256","≕":"\u2255","≂":"\u2242","⪖":"\u2A96","⪕":"\u2A95","=":"=","≟":"\u225F","≡":"\u2261","⩸":"\u2A78","⧥":"\u29E5","≓":"\u2253","⥱":"\u2971","ℯ":"\u212F","≐":"\u2250","≂":"\u2242","η":"\u03B7","ð":"\xF0","ð":"\xF0","ë":"\xEB","ë":"\xEB","€":"\u20AC","!":"!","∃":"\u2203","ℰ":"\u2130","ⅇ":"\u2147","≒":"\u2252","ф":"\u0444","♀":"\u2640","ffi":"\uFB03","ff":"\uFB00","ffl":"\uFB04","𝔣":"\u{1D523}","fi":"\uFB01","fj":"fj","♭":"\u266D","fl":"\uFB02","▱":"\u25B1","ƒ":"\u0192","𝕗":"\u{1D557}","∀":"\u2200","⋔":"\u22D4","⫙":"\u2AD9","⨍":"\u2A0D","½":"\xBD","½":"\xBD","⅓":"\u2153","¼":"\xBC","¼":"\xBC","⅕":"\u2155","⅙":"\u2159","⅛":"\u215B","⅔":"\u2154","⅖":"\u2156","¾":"\xBE","¾":"\xBE","⅗":"\u2157","⅜":"\u215C","⅘":"\u2158","⅚":"\u215A","⅝":"\u215D","⅞":"\u215E","⁄":"\u2044","⌢":"\u2322","𝒻":"\u{1D4BB}","≧":"\u2267","⪌":"\u2A8C","ǵ":"\u01F5","γ":"\u03B3","ϝ":"\u03DD","⪆":"\u2A86","ğ":"\u011F","ĝ":"\u011D","г":"\u0433","ġ":"\u0121","≥":"\u2265","⋛":"\u22DB","≥":"\u2265","≧":"\u2267","⩾":"\u2A7E","⩾":"\u2A7E","⪩":"\u2AA9","⪀":"\u2A80","⪂":"\u2A82","⪄":"\u2A84","⋛︀":"\u22DB\uFE00","⪔":"\u2A94","𝔤":"\u{1D524}","≫":"\u226B","⋙":"\u22D9","ℷ":"\u2137","ѓ":"\u0453","≷":"\u2277","⪒":"\u2A92","⪥":"\u2AA5","⪤":"\u2AA4","≩":"\u2269","⪊":"\u2A8A","⪊":"\u2A8A","⪈":"\u2A88","⪈":"\u2A88","≩":"\u2269","⋧":"\u22E7","𝕘":"\u{1D558}","`":"`","ℊ":"\u210A","≳":"\u2273","⪎":"\u2A8E","⪐":"\u2A90",">":">",">":">","⪧":"\u2AA7","⩺":"\u2A7A","⋗":"\u22D7","⦕":"\u2995","⩼":"\u2A7C","⪆":"\u2A86","⥸":"\u2978","⋗":"\u22D7","⋛":"\u22DB","⪌":"\u2A8C","≷":"\u2277","≳":"\u2273","≩︀":"\u2269\uFE00","≩︀":"\u2269\uFE00","⇔":"\u21D4"," ":"\u200A","½":"\xBD","ℋ":"\u210B","ъ":"\u044A","↔":"\u2194","⥈":"\u2948","↭":"\u21AD","ℏ":"\u210F","ĥ":"\u0125","♥":"\u2665","♥":"\u2665","…":"\u2026","⊹":"\u22B9","𝔥":"\u{1D525}","⤥":"\u2925","⤦":"\u2926","⇿":"\u21FF","∻":"\u223B","↩":"\u21A9","↪":"\u21AA","𝕙":"\u{1D559}","―":"\u2015","𝒽":"\u{1D4BD}","ℏ":"\u210F","ħ":"\u0127","⁃":"\u2043","‐":"\u2010","í":"\xED","í":"\xED","⁣":"\u2063","î":"\xEE","î":"\xEE","и":"\u0438","е":"\u0435","¡":"\xA1","¡":"\xA1","⇔":"\u21D4","𝔦":"\u{1D526}","ì":"\xEC","ì":"\xEC","ⅈ":"\u2148","⨌":"\u2A0C","∭":"\u222D","⧜":"\u29DC","℩":"\u2129","ij":"\u0133","ī":"\u012B","ℑ":"\u2111","ℐ":"\u2110","ℑ":"\u2111","ı":"\u0131","⊷":"\u22B7","Ƶ":"\u01B5","∈":"\u2208","℅":"\u2105","∞":"\u221E","⧝":"\u29DD","ı":"\u0131","∫":"\u222B","⊺":"\u22BA","ℤ":"\u2124","⊺":"\u22BA","⨗":"\u2A17","⨼":"\u2A3C","ё":"\u0451","į":"\u012F","𝕚":"\u{1D55A}","ι":"\u03B9","⨼":"\u2A3C","¿":"\xBF","¿":"\xBF","𝒾":"\u{1D4BE}","∈":"\u2208","⋹":"\u22F9","⋵":"\u22F5","⋴":"\u22F4","⋳":"\u22F3","∈":"\u2208","⁢":"\u2062","ĩ":"\u0129","і":"\u0456","ï":"\xEF","ï":"\xEF","ĵ":"\u0135","й":"\u0439","𝔧":"\u{1D527}","ȷ":"\u0237","𝕛":"\u{1D55B}","𝒿":"\u{1D4BF}","ј":"\u0458","є":"\u0454","κ":"\u03BA","ϰ":"\u03F0","ķ":"\u0137","к":"\u043A","𝔨":"\u{1D528}","ĸ":"\u0138","х":"\u0445","ќ":"\u045C","𝕜":"\u{1D55C}","𝓀":"\u{1D4C0}","⇚":"\u21DA","⇐":"\u21D0","⤛":"\u291B","⤎":"\u290E","≦":"\u2266","⪋":"\u2A8B","⥢":"\u2962","ĺ":"\u013A","⦴":"\u29B4","ℒ":"\u2112","λ":"\u03BB","⟨":"\u27E8","⦑":"\u2991","⟨":"\u27E8","⪅":"\u2A85","«":"\xAB","«":"\xAB","←":"\u2190","⇤":"\u21E4","⤟":"\u291F","⤝":"\u291D","↩":"\u21A9","↫":"\u21AB","⤹":"\u2939","⥳":"\u2973","↢":"\u21A2","⪫":"\u2AAB","⤙":"\u2919","⪭":"\u2AAD","⪭︀":"\u2AAD\uFE00","⤌":"\u290C","❲":"\u2772","{":"{","[":"[","⦋":"\u298B","⦏":"\u298F","⦍":"\u298D","ľ":"\u013E","ļ":"\u013C","⌈":"\u2308","{":"{","л":"\u043B","⤶":"\u2936","“":"\u201C","„":"\u201E","⥧":"\u2967","⥋":"\u294B","↲":"\u21B2","≤":"\u2264","←":"\u2190","↢":"\u21A2","↽":"\u21BD","↼":"\u21BC","⇇":"\u21C7","↔":"\u2194","⇆":"\u21C6","⇋":"\u21CB","↭":"\u21AD","⋋":"\u22CB","⋚":"\u22DA","≤":"\u2264","≦":"\u2266","⩽":"\u2A7D","⩽":"\u2A7D","⪨":"\u2AA8","⩿":"\u2A7F","⪁":"\u2A81","⪃":"\u2A83","⋚︀":"\u22DA\uFE00","⪓":"\u2A93","⪅":"\u2A85","⋖":"\u22D6","⋚":"\u22DA","⪋":"\u2A8B","≶":"\u2276","≲":"\u2272","⥼":"\u297C","⌊":"\u230A","𝔩":"\u{1D529}","≶":"\u2276","⪑":"\u2A91","↽":"\u21BD","↼":"\u21BC","⥪":"\u296A","▄":"\u2584","љ":"\u0459","≪":"\u226A","⇇":"\u21C7","⌞":"\u231E","⥫":"\u296B","◺":"\u25FA","ŀ":"\u0140","⎰":"\u23B0","⎰":"\u23B0","≨":"\u2268","⪉":"\u2A89","⪉":"\u2A89","⪇":"\u2A87","⪇":"\u2A87","≨":"\u2268","⋦":"\u22E6","⟬":"\u27EC","⇽":"\u21FD","⟦":"\u27E6","⟵":"\u27F5","⟷":"\u27F7","⟼":"\u27FC","⟶":"\u27F6","↫":"\u21AB","↬":"\u21AC","⦅":"\u2985","𝕝":"\u{1D55D}","⨭":"\u2A2D","⨴":"\u2A34","∗":"\u2217","_":"_","◊":"\u25CA","◊":"\u25CA","⧫":"\u29EB","(":"(","⦓":"\u2993","⇆":"\u21C6","⌟":"\u231F","⇋":"\u21CB","⥭":"\u296D","‎":"\u200E","⊿":"\u22BF","‹":"\u2039","𝓁":"\u{1D4C1}","↰":"\u21B0","≲":"\u2272","⪍":"\u2A8D","⪏":"\u2A8F","[":"[","‘":"\u2018","‚":"\u201A","ł":"\u0142","<":"<","<":"<","⪦":"\u2AA6","⩹":"\u2A79","⋖":"\u22D6","⋋":"\u22CB","⋉":"\u22C9","⥶":"\u2976","⩻":"\u2A7B","⦖":"\u2996","◃":"\u25C3","⊴":"\u22B4","◂":"\u25C2","⥊":"\u294A","⥦":"\u2966","≨︀":"\u2268\uFE00","≨︀":"\u2268\uFE00","∺":"\u223A","¯":"\xAF","¯":"\xAF","♂":"\u2642","✠":"\u2720","✠":"\u2720","↦":"\u21A6","↦":"\u21A6","↧":"\u21A7","↤":"\u21A4","↥":"\u21A5","▮":"\u25AE","⨩":"\u2A29","м":"\u043C","—":"\u2014","∡":"\u2221","𝔪":"\u{1D52A}","℧":"\u2127","µ":"\xB5","µ":"\xB5","∣":"\u2223","*":"*","⫰":"\u2AF0","·":"\xB7","·":"\xB7","−":"\u2212","⊟":"\u229F","∸":"\u2238","⨪":"\u2A2A","⫛":"\u2ADB","…":"\u2026","∓":"\u2213","⊧":"\u22A7","𝕞":"\u{1D55E}","∓":"\u2213","𝓂":"\u{1D4C2}","∾":"\u223E","μ":"\u03BC","⊸":"\u22B8","⊸":"\u22B8","⋙̸":"\u22D9\u0338","≫⃒":"\u226B\u20D2","≫̸":"\u226B\u0338","⇍":"\u21CD","⇎":"\u21CE","⋘̸":"\u22D8\u0338","≪⃒":"\u226A\u20D2","≪̸":"\u226A\u0338","⇏":"\u21CF","⊯":"\u22AF","⊮":"\u22AE","∇":"\u2207","ń":"\u0144","∠⃒":"\u2220\u20D2","≉":"\u2249","⩰̸":"\u2A70\u0338","≋̸":"\u224B\u0338","ʼn":"\u0149","≉":"\u2249","♮":"\u266E","♮":"\u266E","ℕ":"\u2115"," ":"\xA0"," ":"\xA0","≎̸":"\u224E\u0338","≏̸":"\u224F\u0338","⩃":"\u2A43","ň":"\u0148","ņ":"\u0146","≇":"\u2247","⩭̸":"\u2A6D\u0338","⩂":"\u2A42","н":"\u043D","–":"\u2013","≠":"\u2260","⇗":"\u21D7","⤤":"\u2924","↗":"\u2197","↗":"\u2197","≐̸":"\u2250\u0338","≢":"\u2262","⤨":"\u2928","≂̸":"\u2242\u0338","∄":"\u2204","∄":"\u2204","𝔫":"\u{1D52B}","≧̸":"\u2267\u0338","≱":"\u2271","≱":"\u2271","≧̸":"\u2267\u0338","⩾̸":"\u2A7E\u0338","⩾̸":"\u2A7E\u0338","≵":"\u2275","≯":"\u226F","≯":"\u226F","⇎":"\u21CE","↮":"\u21AE","⫲":"\u2AF2","∋":"\u220B","⋼":"\u22FC","⋺":"\u22FA","∋":"\u220B","њ":"\u045A","⇍":"\u21CD","≦̸":"\u2266\u0338","↚":"\u219A","‥":"\u2025","≰":"\u2270","↚":"\u219A","↮":"\u21AE","≰":"\u2270","≦̸":"\u2266\u0338","⩽̸":"\u2A7D\u0338","⩽̸":"\u2A7D\u0338","≮":"\u226E","≴":"\u2274","≮":"\u226E","⋪":"\u22EA","⋬":"\u22EC","∤":"\u2224","𝕟":"\u{1D55F}","¬":"\xAC","¬":"\xAC","∉":"\u2209","⋹̸":"\u22F9\u0338","⋵̸":"\u22F5\u0338","∉":"\u2209","⋷":"\u22F7","⋶":"\u22F6","∌":"\u220C","∌":"\u220C","⋾":"\u22FE","⋽":"\u22FD","∦":"\u2226","∦":"\u2226","⫽⃥":"\u2AFD\u20E5","∂̸":"\u2202\u0338","⨔":"\u2A14","⊀":"\u2280","⋠":"\u22E0","⪯̸":"\u2AAF\u0338","⊀":"\u2280","⪯̸":"\u2AAF\u0338","⇏":"\u21CF","↛":"\u219B","⤳̸":"\u2933\u0338","↝̸":"\u219D\u0338","↛":"\u219B","⋫":"\u22EB","⋭":"\u22ED","⊁":"\u2281","⋡":"\u22E1","⪰̸":"\u2AB0\u0338","𝓃":"\u{1D4C3}","∤":"\u2224","∦":"\u2226","≁":"\u2241","≄":"\u2244","≄":"\u2244","∤":"\u2224","∦":"\u2226","⋢":"\u22E2","⋣":"\u22E3","⊄":"\u2284","⫅̸":"\u2AC5\u0338","⊈":"\u2288","⊂⃒":"\u2282\u20D2","⊈":"\u2288","⫅̸":"\u2AC5\u0338","⊁":"\u2281","⪰̸":"\u2AB0\u0338","⊅":"\u2285","⫆̸":"\u2AC6\u0338","⊉":"\u2289","⊃⃒":"\u2283\u20D2","⊉":"\u2289","⫆̸":"\u2AC6\u0338","≹":"\u2279","ñ":"\xF1","ñ":"\xF1","≸":"\u2278","⋪":"\u22EA","⋬":"\u22EC","⋫":"\u22EB","⋭":"\u22ED","ν":"\u03BD","#":"#","№":"\u2116"," ":"\u2007","⊭":"\u22AD","⤄":"\u2904","≍⃒":"\u224D\u20D2","⊬":"\u22AC","≥⃒":"\u2265\u20D2",">⃒":">\u20D2","⧞":"\u29DE","⤂":"\u2902","≤⃒":"\u2264\u20D2","<⃒":"<\u20D2","⊴⃒":"\u22B4\u20D2","⤃":"\u2903","⊵⃒":"\u22B5\u20D2","∼⃒":"\u223C\u20D2","⇖":"\u21D6","⤣":"\u2923","↖":"\u2196","↖":"\u2196","⤧":"\u2927","Ⓢ":"\u24C8","ó":"\xF3","ó":"\xF3","⊛":"\u229B","⊚":"\u229A","ô":"\xF4","ô":"\xF4","о":"\u043E","⊝":"\u229D","ő":"\u0151","⨸":"\u2A38","⊙":"\u2299","⦼":"\u29BC","œ":"\u0153","⦿":"\u29BF","𝔬":"\u{1D52C}","˛":"\u02DB","ò":"\xF2","ò":"\xF2","⧁":"\u29C1","⦵":"\u29B5","Ω":"\u03A9","∮":"\u222E","↺":"\u21BA","⦾":"\u29BE","⦻":"\u29BB","‾":"\u203E","⧀":"\u29C0","ō":"\u014D","ω":"\u03C9","ο":"\u03BF","⦶":"\u29B6","⊖":"\u2296","𝕠":"\u{1D560}","⦷":"\u29B7","⦹":"\u29B9","⊕":"\u2295","∨":"\u2228","↻":"\u21BB","⩝":"\u2A5D","ℴ":"\u2134","ℴ":"\u2134","ª":"\xAA","ª":"\xAA","º":"\xBA","º":"\xBA","⊶":"\u22B6","⩖":"\u2A56","⩗":"\u2A57","⩛":"\u2A5B","ℴ":"\u2134","ø":"\xF8","ø":"\xF8","⊘":"\u2298","õ":"\xF5","õ":"\xF5","⊗":"\u2297","⨶":"\u2A36","ö":"\xF6","ö":"\xF6","⌽":"\u233D","∥":"\u2225","¶":"\xB6","¶":"\xB6","∥":"\u2225","⫳":"\u2AF3","⫽":"\u2AFD","∂":"\u2202","п":"\u043F","%":"%",".":".","‰":"\u2030","⊥":"\u22A5","‱":"\u2031","𝔭":"\u{1D52D}","φ":"\u03C6","ϕ":"\u03D5","ℳ":"\u2133","☎":"\u260E","π":"\u03C0","⋔":"\u22D4","ϖ":"\u03D6","ℏ":"\u210F","ℎ":"\u210E","ℏ":"\u210F","+":"+","⨣":"\u2A23","⊞":"\u229E","⨢":"\u2A22","∔":"\u2214","⨥":"\u2A25","⩲":"\u2A72","±":"\xB1","±":"\xB1","⨦":"\u2A26","⨧":"\u2A27","±":"\xB1","⨕":"\u2A15","𝕡":"\u{1D561}","£":"\xA3","£":"\xA3","≺":"\u227A","⪳":"\u2AB3","⪷":"\u2AB7","≼":"\u227C","⪯":"\u2AAF","≺":"\u227A","⪷":"\u2AB7","≼":"\u227C","⪯":"\u2AAF","⪹":"\u2AB9","⪵":"\u2AB5","⋨":"\u22E8","≾":"\u227E","′":"\u2032","ℙ":"\u2119","⪵":"\u2AB5","⪹":"\u2AB9","⋨":"\u22E8","∏":"\u220F","⌮":"\u232E","⌒":"\u2312","⌓":"\u2313","∝":"\u221D","∝":"\u221D","≾":"\u227E","⊰":"\u22B0","𝓅":"\u{1D4C5}","ψ":"\u03C8"," ":"\u2008","𝔮":"\u{1D52E}","⨌":"\u2A0C","𝕢":"\u{1D562}","⁗":"\u2057","𝓆":"\u{1D4C6}","ℍ":"\u210D","⨖":"\u2A16","?":"?","≟":"\u225F",""":'"',""":'"',"⇛":"\u21DB","⇒":"\u21D2","⤜":"\u291C","⤏":"\u290F","⥤":"\u2964","∽̱":"\u223D\u0331","ŕ":"\u0155","√":"\u221A","⦳":"\u29B3","⟩":"\u27E9","⦒":"\u2992","⦥":"\u29A5","⟩":"\u27E9","»":"\xBB","»":"\xBB","→":"\u2192","⥵":"\u2975","⇥":"\u21E5","⤠":"\u2920","⤳":"\u2933","⤞":"\u291E","↪":"\u21AA","↬":"\u21AC","⥅":"\u2945","⥴":"\u2974","↣":"\u21A3","↝":"\u219D","⤚":"\u291A","∶":"\u2236","ℚ":"\u211A","⤍":"\u290D","❳":"\u2773","}":"}","]":"]","⦌":"\u298C","⦎":"\u298E","⦐":"\u2990","ř":"\u0159","ŗ":"\u0157","⌉":"\u2309","}":"}","р":"\u0440","⤷":"\u2937","⥩":"\u2969","”":"\u201D","”":"\u201D","↳":"\u21B3","ℜ":"\u211C","ℛ":"\u211B","ℜ":"\u211C","ℝ":"\u211D","▭":"\u25AD","®":"\xAE","®":"\xAE","⥽":"\u297D","⌋":"\u230B","𝔯":"\u{1D52F}","⇁":"\u21C1","⇀":"\u21C0","⥬":"\u296C","ρ":"\u03C1","ϱ":"\u03F1","→":"\u2192","↣":"\u21A3","⇁":"\u21C1","⇀":"\u21C0","⇄":"\u21C4","⇌":"\u21CC","⇉":"\u21C9","↝":"\u219D","⋌":"\u22CC","˚":"\u02DA","≓":"\u2253","⇄":"\u21C4","⇌":"\u21CC","‏":"\u200F","⎱":"\u23B1","⎱":"\u23B1","⫮":"\u2AEE","⟭":"\u27ED","⇾":"\u21FE","⟧":"\u27E7","⦆":"\u2986","𝕣":"\u{1D563}","⨮":"\u2A2E","⨵":"\u2A35",")":")","⦔":"\u2994","⨒":"\u2A12","⇉":"\u21C9","›":"\u203A","𝓇":"\u{1D4C7}","↱":"\u21B1","]":"]","’":"\u2019","’":"\u2019","⋌":"\u22CC","⋊":"\u22CA","▹":"\u25B9","⊵":"\u22B5","▸":"\u25B8","⧎":"\u29CE","⥨":"\u2968","℞":"\u211E","ś":"\u015B","‚":"\u201A","≻":"\u227B","⪴":"\u2AB4","⪸":"\u2AB8","š":"\u0161","≽":"\u227D","⪰":"\u2AB0","ş":"\u015F","ŝ":"\u015D","⪶":"\u2AB6","⪺":"\u2ABA","⋩":"\u22E9","⨓":"\u2A13","≿":"\u227F","с":"\u0441","⋅":"\u22C5","⊡":"\u22A1","⩦":"\u2A66","⇘":"\u21D8","⤥":"\u2925","↘":"\u2198","↘":"\u2198","§":"\xA7","§":"\xA7",";":";","⤩":"\u2929","∖":"\u2216","∖":"\u2216","✶":"\u2736","𝔰":"\u{1D530}","⌢":"\u2322","♯":"\u266F","щ":"\u0449","ш":"\u0448","∣":"\u2223","∥":"\u2225","­":"\xAD","­":"\xAD","σ":"\u03C3","ς":"\u03C2","ς":"\u03C2","∼":"\u223C","⩪":"\u2A6A","≃":"\u2243","≃":"\u2243","⪞":"\u2A9E","⪠":"\u2AA0","⪝":"\u2A9D","⪟":"\u2A9F","≆":"\u2246","⨤":"\u2A24","⥲":"\u2972","←":"\u2190","∖":"\u2216","⨳":"\u2A33","⧤":"\u29E4","∣":"\u2223","⌣":"\u2323","⪪":"\u2AAA","⪬":"\u2AAC","⪬︀":"\u2AAC\uFE00","ь":"\u044C","/":"/","⧄":"\u29C4","⌿":"\u233F","𝕤":"\u{1D564}","♠":"\u2660","♠":"\u2660","∥":"\u2225","⊓":"\u2293","⊓︀":"\u2293\uFE00","⊔":"\u2294","⊔︀":"\u2294\uFE00","⊏":"\u228F","⊑":"\u2291","⊏":"\u228F","⊑":"\u2291","⊐":"\u2290","⊒":"\u2292","⊐":"\u2290","⊒":"\u2292","□":"\u25A1","□":"\u25A1","▪":"\u25AA","▪":"\u25AA","→":"\u2192","𝓈":"\u{1D4C8}","∖":"\u2216","⌣":"\u2323","⋆":"\u22C6","☆":"\u2606","★":"\u2605","ϵ":"\u03F5","ϕ":"\u03D5","¯":"\xAF","⊂":"\u2282","⫅":"\u2AC5","⪽":"\u2ABD","⊆":"\u2286","⫃":"\u2AC3","⫁":"\u2AC1","⫋":"\u2ACB","⊊":"\u228A","⪿":"\u2ABF","⥹":"\u2979","⊂":"\u2282","⊆":"\u2286","⫅":"\u2AC5","⊊":"\u228A","⫋":"\u2ACB","⫇":"\u2AC7","⫕":"\u2AD5","⫓":"\u2AD3","≻":"\u227B","⪸":"\u2AB8","≽":"\u227D","⪰":"\u2AB0","⪺":"\u2ABA","⪶":"\u2AB6","⋩":"\u22E9","≿":"\u227F","∑":"\u2211","♪":"\u266A","¹":"\xB9","¹":"\xB9","²":"\xB2","²":"\xB2","³":"\xB3","³":"\xB3","⊃":"\u2283","⫆":"\u2AC6","⪾":"\u2ABE","⫘":"\u2AD8","⊇":"\u2287","⫄":"\u2AC4","⟉":"\u27C9","⫗":"\u2AD7","⥻":"\u297B","⫂":"\u2AC2","⫌":"\u2ACC","⊋":"\u228B","⫀":"\u2AC0","⊃":"\u2283","⊇":"\u2287","⫆":"\u2AC6","⊋":"\u228B","⫌":"\u2ACC","⫈":"\u2AC8","⫔":"\u2AD4","⫖":"\u2AD6","⇙":"\u21D9","⤦":"\u2926","↙":"\u2199","↙":"\u2199","⤪":"\u292A","ß":"\xDF","ß":"\xDF","⌖":"\u2316","τ":"\u03C4","⎴":"\u23B4","ť":"\u0165","ţ":"\u0163","т":"\u0442","⃛":"\u20DB","⌕":"\u2315","𝔱":"\u{1D531}","∴":"\u2234","∴":"\u2234","θ":"\u03B8","ϑ":"\u03D1","ϑ":"\u03D1","≈":"\u2248","∼":"\u223C"," ":"\u2009","≈":"\u2248","∼":"\u223C","þ":"\xFE","þ":"\xFE","˜":"\u02DC","×":"\xD7","×":"\xD7","⊠":"\u22A0","⨱":"\u2A31","⨰":"\u2A30","∭":"\u222D","⤨":"\u2928","⊤":"\u22A4","⌶":"\u2336","⫱":"\u2AF1","𝕥":"\u{1D565}","⫚":"\u2ADA","⤩":"\u2929","‴":"\u2034","™":"\u2122","▵":"\u25B5","▿":"\u25BF","◃":"\u25C3","⊴":"\u22B4","≜":"\u225C","▹":"\u25B9","⊵":"\u22B5","◬":"\u25EC","≜":"\u225C","⨺":"\u2A3A","⨹":"\u2A39","⧍":"\u29CD","⨻":"\u2A3B","⏢":"\u23E2","𝓉":"\u{1D4C9}","ц":"\u0446","ћ":"\u045B","ŧ":"\u0167","≬":"\u226C","↞":"\u219E","↠":"\u21A0","⇑":"\u21D1","⥣":"\u2963","ú":"\xFA","ú":"\xFA","↑":"\u2191","ў":"\u045E","ŭ":"\u016D","û":"\xFB","û":"\xFB","у":"\u0443","⇅":"\u21C5","ű":"\u0171","⥮":"\u296E","⥾":"\u297E","𝔲":"\u{1D532}","ù":"\xF9","ù":"\xF9","↿":"\u21BF","↾":"\u21BE","▀":"\u2580","⌜":"\u231C","⌜":"\u231C","⌏":"\u230F","◸":"\u25F8","ū":"\u016B","¨":"\xA8","¨":"\xA8","ų":"\u0173","𝕦":"\u{1D566}","↑":"\u2191","↕":"\u2195","↿":"\u21BF","↾":"\u21BE","⊎":"\u228E","υ":"\u03C5","ϒ":"\u03D2","υ":"\u03C5","⇈":"\u21C8","⌝":"\u231D","⌝":"\u231D","⌎":"\u230E","ů":"\u016F","◹":"\u25F9","𝓊":"\u{1D4CA}","⋰":"\u22F0","ũ":"\u0169","▵":"\u25B5","▴":"\u25B4","⇈":"\u21C8","ü":"\xFC","ü":"\xFC","⦧":"\u29A7","⇕":"\u21D5","⫨":"\u2AE8","⫩":"\u2AE9","⊨":"\u22A8","⦜":"\u299C","ϵ":"\u03F5","ϰ":"\u03F0","∅":"\u2205","ϕ":"\u03D5","ϖ":"\u03D6","∝":"\u221D","↕":"\u2195","ϱ":"\u03F1","ς":"\u03C2","⊊︀":"\u228A\uFE00","⫋︀":"\u2ACB\uFE00","⊋︀":"\u228B\uFE00","⫌︀":"\u2ACC\uFE00","ϑ":"\u03D1","⊲":"\u22B2","⊳":"\u22B3","в":"\u0432","⊢":"\u22A2","∨":"\u2228","⊻":"\u22BB","≚":"\u225A","⋮":"\u22EE","|":"|","|":"|","𝔳":"\u{1D533}","⊲":"\u22B2","⊂⃒":"\u2282\u20D2","⊃⃒":"\u2283\u20D2","𝕧":"\u{1D567}","∝":"\u221D","⊳":"\u22B3","𝓋":"\u{1D4CB}","⫋︀":"\u2ACB\uFE00","⊊︀":"\u228A\uFE00","⫌︀":"\u2ACC\uFE00","⊋︀":"\u228B\uFE00","⦚":"\u299A","ŵ":"\u0175","⩟":"\u2A5F","∧":"\u2227","≙":"\u2259","℘":"\u2118","𝔴":"\u{1D534}","𝕨":"\u{1D568}","℘":"\u2118","≀":"\u2240","≀":"\u2240","𝓌":"\u{1D4CC}","⋂":"\u22C2","◯":"\u25EF","⋃":"\u22C3","▽":"\u25BD","𝔵":"\u{1D535}","⟺":"\u27FA","⟷":"\u27F7","ξ":"\u03BE","⟸":"\u27F8","⟵":"\u27F5","⟼":"\u27FC","⋻":"\u22FB","⨀":"\u2A00","𝕩":"\u{1D569}","⨁":"\u2A01","⨂":"\u2A02","⟹":"\u27F9","⟶":"\u27F6","𝓍":"\u{1D4CD}","⨆":"\u2A06","⨄":"\u2A04","△":"\u25B3","⋁":"\u22C1","⋀":"\u22C0","ý":"\xFD","ý":"\xFD","я":"\u044F","ŷ":"\u0177","ы":"\u044B","¥":"\xA5","¥":"\xA5","𝔶":"\u{1D536}","ї":"\u0457","𝕪":"\u{1D56A}","𝓎":"\u{1D4CE}","ю":"\u044E","ÿ":"\xFF","ÿ":"\xFF","ź":"\u017A","ž":"\u017E","з":"\u0437","ż":"\u017C","ℨ":"\u2128","ζ":"\u03B6","𝔷":"\u{1D537}","ж":"\u0436","⇝":"\u21DD","𝕫":"\u{1D56B}","𝓏":"\u{1D4CF}","‍":"\u200D","‌":"\u200C"},characters:{\u00C6:"Æ","&":"&",\u00C1:"Á",\u0102:"Ă",\u00C2:"Â",\u0410:"А","\u{1D504}":"𝔄",\u00C0:"À",\u0391:"Α",\u0100:"Ā","\u2A53":"⩓",\u0104:"Ą","\u{1D538}":"𝔸","\u2061":"⁡",\u00C5:"Å","\u{1D49C}":"𝒜","\u2254":"≔",\u00C3:"Ã",\u00C4:"Ä","\u2216":"∖","\u2AE7":"⫧","\u2306":"⌆",\u0411:"Б","\u2235":"∵",\u212C:"ℬ",\u0392:"Β","\u{1D505}":"𝔅","\u{1D539}":"𝔹","\u02D8":"˘","\u224E":"≎",\u0427:"Ч","\xA9":"©",\u0106:"Ć","\u22D2":"⋒","\u2145":"ⅅ",\u212D:"ℭ",\u010C:"Č",\u00C7:"Ç",\u0108:"Ĉ","\u2230":"∰",\u010A:"Ċ","\xB8":"¸","\xB7":"·",\u03A7:"Χ","\u2299":"⊙","\u2296":"⊖","\u2295":"⊕","\u2297":"⊗","\u2232":"∲","\u201D":"”","\u2019":"’","\u2237":"∷","\u2A74":"⩴","\u2261":"≡","\u222F":"∯","\u222E":"∮",\u2102:"ℂ","\u2210":"∐","\u2233":"∳","\u2A2F":"⨯","\u{1D49E}":"𝒞","\u22D3":"⋓","\u224D":"≍","\u2911":"⤑",\u0402:"Ђ",\u0405:"Ѕ",\u040F:"Џ","\u2021":"‡","\u21A1":"↡","\u2AE4":"⫤",\u010E:"Ď",\u0414:"Д","\u2207":"∇",\u0394:"Δ","\u{1D507}":"𝔇","\xB4":"´","\u02D9":"˙","\u02DD":"˝","`":"`","\u02DC":"˜","\u22C4":"⋄","\u2146":"ⅆ","\u{1D53B}":"𝔻","\xA8":"¨","\u20DC":"⃜","\u2250":"≐","\u21D3":"⇓","\u21D0":"⇐","\u21D4":"⇔","\u27F8":"⟸","\u27FA":"⟺","\u27F9":"⟹","\u21D2":"⇒","\u22A8":"⊨","\u21D1":"⇑","\u21D5":"⇕","\u2225":"∥","\u2193":"↓","\u2913":"⤓","\u21F5":"⇵","\u0311":"̑","\u2950":"⥐","\u295E":"⥞","\u21BD":"↽","\u2956":"⥖","\u295F":"⥟","\u21C1":"⇁","\u2957":"⥗","\u22A4":"⊤","\u21A7":"↧","\u{1D49F}":"𝒟",\u0110:"Đ",\u014A:"Ŋ",\u00D0:"Ð",\u00C9:"É",\u011A:"Ě",\u00CA:"Ê",\u042D:"Э",\u0116:"Ė","\u{1D508}":"𝔈",\u00C8:"È","\u2208":"∈",\u0112:"Ē","\u25FB":"◻","\u25AB":"▫",\u0118:"Ę","\u{1D53C}":"𝔼",\u0395:"Ε","\u2A75":"⩵","\u2242":"≂","\u21CC":"⇌",\u2130:"ℰ","\u2A73":"⩳",\u0397:"Η",\u00CB:"Ë","\u2203":"∃","\u2147":"ⅇ",\u0424:"Ф","\u{1D509}":"𝔉","\u25FC":"◼","\u25AA":"▪","\u{1D53D}":"𝔽","\u2200":"∀",\u2131:"ℱ",\u0403:"Ѓ",">":">",\u0393:"Γ",\u03DC:"Ϝ",\u011E:"Ğ",\u0122:"Ģ",\u011C:"Ĝ",\u0413:"Г",\u0120:"Ġ","\u{1D50A}":"𝔊","\u22D9":"⋙","\u{1D53E}":"𝔾","\u2265":"≥","\u22DB":"⋛","\u2267":"≧","\u2AA2":"⪢","\u2277":"≷","\u2A7E":"⩾","\u2273":"≳","\u{1D4A2}":"𝒢","\u226B":"≫",\u042A:"Ъ","\u02C7":"ˇ","^":"^",\u0124:"Ĥ",\u210C:"ℌ",\u210B:"ℋ",\u210D:"ℍ","\u2500":"─",\u0126:"Ħ","\u224F":"≏",\u0415:"Е",\u0132:"IJ",\u0401:"Ё",\u00CD:"Í",\u00CE:"Î",\u0418:"И",\u0130:"İ",\u2111:"ℑ",\u00CC:"Ì",\u012A:"Ī","\u2148":"ⅈ","\u222C":"∬","\u222B":"∫","\u22C2":"⋂","\u2063":"⁣","\u2062":"⁢",\u012E:"Į","\u{1D540}":"𝕀",\u0399:"Ι",\u2110:"ℐ",\u0128:"Ĩ",\u0406:"І",\u00CF:"Ï",\u0134:"Ĵ",\u0419:"Й","\u{1D50D}":"𝔍","\u{1D541}":"𝕁","\u{1D4A5}":"𝒥",\u0408:"Ј",\u0404:"Є",\u0425:"Х",\u040C:"Ќ",\u039A:"Κ",\u0136:"Ķ",\u041A:"К","\u{1D50E}":"𝔎","\u{1D542}":"𝕂","\u{1D4A6}":"𝒦",\u0409:"Љ","<":"<",\u0139:"Ĺ",\u039B:"Λ","\u27EA":"⟪",\u2112:"ℒ","\u219E":"↞",\u013D:"Ľ",\u013B:"Ļ",\u041B:"Л","\u27E8":"⟨","\u2190":"←","\u21E4":"⇤","\u21C6":"⇆","\u2308":"⌈","\u27E6":"⟦","\u2961":"⥡","\u21C3":"⇃","\u2959":"⥙","\u230A":"⌊","\u2194":"↔","\u294E":"⥎","\u22A3":"⊣","\u21A4":"↤","\u295A":"⥚","\u22B2":"⊲","\u29CF":"⧏","\u22B4":"⊴","\u2951":"⥑","\u2960":"⥠","\u21BF":"↿","\u2958":"⥘","\u21BC":"↼","\u2952":"⥒","\u22DA":"⋚","\u2266":"≦","\u2276":"≶","\u2AA1":"⪡","\u2A7D":"⩽","\u2272":"≲","\u{1D50F}":"𝔏","\u22D8":"⋘","\u21DA":"⇚",\u013F:"Ŀ","\u27F5":"⟵","\u27F7":"⟷","\u27F6":"⟶","\u{1D543}":"𝕃","\u2199":"↙","\u2198":"↘","\u21B0":"↰",\u0141:"Ł","\u226A":"≪","\u2905":"⤅",\u041C:"М","\u205F":" ",\u2133:"ℳ","\u{1D510}":"𝔐","\u2213":"∓","\u{1D544}":"𝕄",\u039C:"Μ",\u040A:"Њ",\u0143:"Ń",\u0147:"Ň",\u0145:"Ņ",\u041D:"Н","\u200B":"​","\n":"
","\u{1D511}":"𝔑","\u2060":"⁠","\xA0":" ",\u2115:"ℕ","\u2AEC":"⫬","\u2262":"≢","\u226D":"≭","\u2226":"∦","\u2209":"∉","\u2260":"≠","\u2242\u0338":"≂̸","\u2204":"∄","\u226F":"≯","\u2271":"≱","\u2267\u0338":"≧̸","\u226B\u0338":"≫̸","\u2279":"≹","\u2A7E\u0338":"⩾̸","\u2275":"≵","\u224E\u0338":"≎̸","\u224F\u0338":"≏̸","\u22EA":"⋪","\u29CF\u0338":"⧏̸","\u22EC":"⋬","\u226E":"≮","\u2270":"≰","\u2278":"≸","\u226A\u0338":"≪̸","\u2A7D\u0338":"⩽̸","\u2274":"≴","\u2AA2\u0338":"⪢̸","\u2AA1\u0338":"⪡̸","\u2280":"⊀","\u2AAF\u0338":"⪯̸","\u22E0":"⋠","\u220C":"∌","\u22EB":"⋫","\u29D0\u0338":"⧐̸","\u22ED":"⋭","\u228F\u0338":"⊏̸","\u22E2":"⋢","\u2290\u0338":"⊐̸","\u22E3":"⋣","\u2282\u20D2":"⊂⃒","\u2288":"⊈","\u2281":"⊁","\u2AB0\u0338":"⪰̸","\u22E1":"⋡","\u227F\u0338":"≿̸","\u2283\u20D2":"⊃⃒","\u2289":"⊉","\u2241":"≁","\u2244":"≄","\u2247":"≇","\u2249":"≉","\u2224":"∤","\u{1D4A9}":"𝒩",\u00D1:"Ñ",\u039D:"Ν",\u0152:"Œ",\u00D3:"Ó",\u00D4:"Ô",\u041E:"О",\u0150:"Ő","\u{1D512}":"𝔒",\u00D2:"Ò",\u014C:"Ō",\u03A9:"Ω",\u039F:"Ο","\u{1D546}":"𝕆","\u201C":"“","\u2018":"‘","\u2A54":"⩔","\u{1D4AA}":"𝒪",\u00D8:"Ø",\u00D5:"Õ","\u2A37":"⨷",\u00D6:"Ö","\u203E":"‾","\u23DE":"⏞","\u23B4":"⎴","\u23DC":"⏜","\u2202":"∂",\u041F:"П","\u{1D513}":"𝔓",\u03A6:"Φ",\u03A0:"Π","\xB1":"±",\u2119:"ℙ","\u2ABB":"⪻","\u227A":"≺","\u2AAF":"⪯","\u227C":"≼","\u227E":"≾","\u2033":"″","\u220F":"∏","\u221D":"∝","\u{1D4AB}":"𝒫",\u03A8:"Ψ",'"':""","\u{1D514}":"𝔔",\u211A:"ℚ","\u{1D4AC}":"𝒬","\u2910":"⤐","\xAE":"®",\u0154:"Ŕ","\u27EB":"⟫","\u21A0":"↠","\u2916":"⤖",\u0158:"Ř",\u0156:"Ŗ",\u0420:"Р",\u211C:"ℜ","\u220B":"∋","\u21CB":"⇋","\u296F":"⥯",\u03A1:"Ρ","\u27E9":"⟩","\u2192":"→","\u21E5":"⇥","\u21C4":"⇄","\u2309":"⌉","\u27E7":"⟧","\u295D":"⥝","\u21C2":"⇂","\u2955":"⥕","\u230B":"⌋","\u22A2":"⊢","\u21A6":"↦","\u295B":"⥛","\u22B3":"⊳","\u29D0":"⧐","\u22B5":"⊵","\u294F":"⥏","\u295C":"⥜","\u21BE":"↾","\u2954":"⥔","\u21C0":"⇀","\u2953":"⥓",\u211D:"ℝ","\u2970":"⥰","\u21DB":"⇛",\u211B:"ℛ","\u21B1":"↱","\u29F4":"⧴",\u0429:"Щ",\u0428:"Ш",\u042C:"Ь",\u015A:"Ś","\u2ABC":"⪼",\u0160:"Š",\u015E:"Ş",\u015C:"Ŝ",\u0421:"С","\u{1D516}":"𝔖","\u2191":"↑",\u03A3:"Σ","\u2218":"∘","\u{1D54A}":"𝕊","\u221A":"√","\u25A1":"□","\u2293":"⊓","\u228F":"⊏","\u2291":"⊑","\u2290":"⊐","\u2292":"⊒","\u2294":"⊔","\u{1D4AE}":"𝒮","\u22C6":"⋆","\u22D0":"⋐","\u2286":"⊆","\u227B":"≻","\u2AB0":"⪰","\u227D":"≽","\u227F":"≿","\u2211":"∑","\u22D1":"⋑","\u2283":"⊃","\u2287":"⊇",\u00DE:"Þ","\u2122":"™",\u040B:"Ћ",\u0426:"Ц"," ":"	",\u03A4:"Τ",\u0164:"Ť",\u0162:"Ţ",\u0422:"Т","\u{1D517}":"𝔗","\u2234":"∴",\u0398:"Θ","\u205F\u200A":"  ","\u2009":" ","\u223C":"∼","\u2243":"≃","\u2245":"≅","\u2248":"≈","\u{1D54B}":"𝕋","\u20DB":"⃛","\u{1D4AF}":"𝒯",\u0166:"Ŧ",\u00DA:"Ú","\u219F":"↟","\u2949":"⥉",\u040E:"Ў",\u016C:"Ŭ",\u00DB:"Û",\u0423:"У",\u0170:"Ű","\u{1D518}":"𝔘",\u00D9:"Ù",\u016A:"Ū",_:"_","\u23DF":"⏟","\u23B5":"⎵","\u23DD":"⏝","\u22C3":"⋃","\u228E":"⊎",\u0172:"Ų","\u{1D54C}":"𝕌","\u2912":"⤒","\u21C5":"⇅","\u2195":"↕","\u296E":"⥮","\u22A5":"⊥","\u21A5":"↥","\u2196":"↖","\u2197":"↗",\u03D2:"ϒ",\u03A5:"Υ",\u016E:"Ů","\u{1D4B0}":"𝒰",\u0168:"Ũ",\u00DC:"Ü","\u22AB":"⊫","\u2AEB":"⫫",\u0412:"В","\u22A9":"⊩","\u2AE6":"⫦","\u22C1":"⋁","\u2016":"‖","\u2223":"∣","|":"|","\u2758":"❘","\u2240":"≀","\u200A":" ","\u{1D519}":"𝔙","\u{1D54D}":"𝕍","\u{1D4B1}":"𝒱","\u22AA":"⊪",\u0174:"Ŵ","\u22C0":"⋀","\u{1D51A}":"𝔚","\u{1D54E}":"𝕎","\u{1D4B2}":"𝒲","\u{1D51B}":"𝔛",\u039E:"Ξ","\u{1D54F}":"𝕏","\u{1D4B3}":"𝒳",\u042F:"Я",\u0407:"Ї",\u042E:"Ю",\u00DD:"Ý",\u0176:"Ŷ",\u042B:"Ы","\u{1D51C}":"𝔜","\u{1D550}":"𝕐","\u{1D4B4}":"𝒴",\u0178:"Ÿ",\u0416:"Ж",\u0179:"Ź",\u017D:"Ž",\u0417:"З",\u017B:"Ż",\u0396:"Ζ",\u2128:"ℨ",\u2124:"ℤ","\u{1D4B5}":"𝒵",\u00E1:"á",\u0103:"ă","\u223E":"∾","\u223E\u0333":"∾̳","\u223F":"∿",\u00E2:"â",\u0430:"а",\u00E6:"æ","\u{1D51E}":"𝔞",\u00E0:"à",\u2135:"ℵ",\u03B1:"α",\u0101:"ā","\u2A3F":"⨿","\u2227":"∧","\u2A55":"⩕","\u2A5C":"⩜","\u2A58":"⩘","\u2A5A":"⩚","\u2220":"∠","\u29A4":"⦤","\u2221":"∡","\u29A8":"⦨","\u29A9":"⦩","\u29AA":"⦪","\u29AB":"⦫","\u29AC":"⦬","\u29AD":"⦭","\u29AE":"⦮","\u29AF":"⦯","\u221F":"∟","\u22BE":"⊾","\u299D":"⦝","\u2222":"∢","\u237C":"⍼",\u0105:"ą","\u{1D552}":"𝕒","\u2A70":"⩰","\u2A6F":"⩯","\u224A":"≊","\u224B":"≋","'":"'",\u00E5:"å","\u{1D4B6}":"𝒶","*":"*",\u00E3:"ã",\u00E4:"ä","\u2A11":"⨑","\u2AED":"⫭","\u224C":"≌","\u03F6":"϶","\u2035":"‵","\u223D":"∽","\u22CD":"⋍","\u22BD":"⊽","\u2305":"⌅","\u23B6":"⎶",\u0431:"б","\u201E":"„","\u29B0":"⦰",\u03B2:"β",\u2136:"ℶ","\u226C":"≬","\u{1D51F}":"𝔟","\u25EF":"◯","\u2A00":"⨀","\u2A01":"⨁","\u2A02":"⨂","\u2A06":"⨆","\u2605":"★","\u25BD":"▽","\u25B3":"△","\u2A04":"⨄","\u290D":"⤍","\u29EB":"⧫","\u25B4":"▴","\u25BE":"▾","\u25C2":"◂","\u25B8":"▸","\u2423":"␣","\u2592":"▒","\u2591":"░","\u2593":"▓","\u2588":"█","=\u20E5":"=⃥","\u2261\u20E5":"≡⃥","\u2310":"⌐","\u{1D553}":"𝕓","\u22C8":"⋈","\u2557":"╗","\u2554":"╔","\u2556":"╖","\u2553":"╓","\u2550":"═","\u2566":"╦","\u2569":"╩","\u2564":"╤","\u2567":"╧","\u255D":"╝","\u255A":"╚","\u255C":"╜","\u2559":"╙","\u2551":"║","\u256C":"╬","\u2563":"╣","\u2560":"╠","\u256B":"╫","\u2562":"╢","\u255F":"╟","\u29C9":"⧉","\u2555":"╕","\u2552":"╒","\u2510":"┐","\u250C":"┌","\u2565":"╥","\u2568":"╨","\u252C":"┬","\u2534":"┴","\u229F":"⊟","\u229E":"⊞","\u22A0":"⊠","\u255B":"╛","\u2558":"╘","\u2518":"┘","\u2514":"└","\u2502":"│","\u256A":"╪","\u2561":"╡","\u255E":"╞","\u253C":"┼","\u2524":"┤","\u251C":"├","\xA6":"¦","\u{1D4B7}":"𝒷","\u204F":"⁏","\\":"\","\u29C5":"⧅","\u27C8":"⟈","\u2022":"•","\u2AAE":"⪮",\u0107:"ć","\u2229":"∩","\u2A44":"⩄","\u2A49":"⩉","\u2A4B":"⩋","\u2A47":"⩇","\u2A40":"⩀","\u2229\uFE00":"∩︀","\u2041":"⁁","\u2A4D":"⩍",\u010D:"č",\u00E7:"ç",\u0109:"ĉ","\u2A4C":"⩌","\u2A50":"⩐",\u010B:"ċ","\u29B2":"⦲","\xA2":"¢","\u{1D520}":"𝔠",\u0447:"ч","\u2713":"✓",\u03C7:"χ","\u25CB":"○","\u29C3":"⧃","\u02C6":"ˆ","\u2257":"≗","\u21BA":"↺","\u21BB":"↻","\u24C8":"Ⓢ","\u229B":"⊛","\u229A":"⊚","\u229D":"⊝","\u2A10":"⨐","\u2AEF":"⫯","\u29C2":"⧂","\u2663":"♣",":":":",",":",","@":"@","\u2201":"∁","\u2A6D":"⩭","\u{1D554}":"𝕔","\u2117":"℗","\u21B5":"↵","\u2717":"✗","\u{1D4B8}":"𝒸","\u2ACF":"⫏","\u2AD1":"⫑","\u2AD0":"⫐","\u2AD2":"⫒","\u22EF":"⋯","\u2938":"⤸","\u2935":"⤵","\u22DE":"⋞","\u22DF":"⋟","\u21B6":"↶","\u293D":"⤽","\u222A":"∪","\u2A48":"⩈","\u2A46":"⩆","\u2A4A":"⩊","\u228D":"⊍","\u2A45":"⩅","\u222A\uFE00":"∪︀","\u21B7":"↷","\u293C":"⤼","\u22CE":"⋎","\u22CF":"⋏","\xA4":"¤","\u2231":"∱","\u232D":"⌭","\u2965":"⥥","\u2020":"†",\u2138:"ℸ","\u2010":"‐","\u290F":"⤏",\u010F:"ď",\u0434:"д","\u21CA":"⇊","\u2A77":"⩷","\xB0":"°",\u03B4:"δ","\u29B1":"⦱","\u297F":"⥿","\u{1D521}":"𝔡","\u2666":"♦",\u03DD:"ϝ","\u22F2":"⋲","\xF7":"÷","\u22C7":"⋇",\u0452:"ђ","\u231E":"⌞","\u230D":"⌍",$:"$","\u{1D555}":"𝕕","\u2251":"≑","\u2238":"∸","\u2214":"∔","\u22A1":"⊡","\u231F":"⌟","\u230C":"⌌","\u{1D4B9}":"𝒹",\u0455:"ѕ","\u29F6":"⧶",\u0111:"đ","\u22F1":"⋱","\u25BF":"▿","\u29A6":"⦦",\u045F:"џ","\u27FF":"⟿",\u00E9:"é","\u2A6E":"⩮",\u011B:"ě","\u2256":"≖",\u00EA:"ê","\u2255":"≕",\u044D:"э",\u0117:"ė","\u2252":"≒","\u{1D522}":"𝔢","\u2A9A":"⪚",\u00E8:"è","\u2A96":"⪖","\u2A98":"⪘","\u2A99":"⪙","\u23E7":"⏧",\u2113:"ℓ","\u2A95":"⪕","\u2A97":"⪗",\u0113:"ē","\u2205":"∅","\u2004":" ","\u2005":" ","\u2003":" ",\u014B:"ŋ","\u2002":" ",\u0119:"ę","\u{1D556}":"𝕖","\u22D5":"⋕","\u29E3":"⧣","\u2A71":"⩱",\u03B5:"ε","\u03F5":"ϵ","=":"=","\u225F":"≟","\u2A78":"⩸","\u29E5":"⧥","\u2253":"≓","\u2971":"⥱",\u212F:"ℯ",\u03B7:"η",\u00F0:"ð",\u00EB:"ë","\u20AC":"€","!":"!",\u0444:"ф","\u2640":"♀",\uFB03:"ffi",\uFB00:"ff",\uFB04:"ffl","\u{1D523}":"𝔣",\uFB01:"fi",fj:"fj","\u266D":"♭",\uFB02:"fl","\u25B1":"▱",\u0192:"ƒ","\u{1D557}":"𝕗","\u22D4":"⋔","\u2AD9":"⫙","\u2A0D":"⨍","\xBD":"½","\u2153":"⅓","\xBC":"¼","\u2155":"⅕","\u2159":"⅙","\u215B":"⅛","\u2154":"⅔","\u2156":"⅖","\xBE":"¾","\u2157":"⅗","\u215C":"⅜","\u2158":"⅘","\u215A":"⅚","\u215D":"⅝","\u215E":"⅞","\u2044":"⁄","\u2322":"⌢","\u{1D4BB}":"𝒻","\u2A8C":"⪌",\u01F5:"ǵ",\u03B3:"γ","\u2A86":"⪆",\u011F:"ğ",\u011D:"ĝ",\u0433:"г",\u0121:"ġ","\u2AA9":"⪩","\u2A80":"⪀","\u2A82":"⪂","\u2A84":"⪄","\u22DB\uFE00":"⋛︀","\u2A94":"⪔","\u{1D524}":"𝔤",\u2137:"ℷ",\u0453:"ѓ","\u2A92":"⪒","\u2AA5":"⪥","\u2AA4":"⪤","\u2269":"≩","\u2A8A":"⪊","\u2A88":"⪈","\u22E7":"⋧","\u{1D558}":"𝕘",\u210A:"ℊ","\u2A8E":"⪎","\u2A90":"⪐","\u2AA7":"⪧","\u2A7A":"⩺","\u22D7":"⋗","\u2995":"⦕","\u2A7C":"⩼","\u2978":"⥸","\u2269\uFE00":"≩︀",\u044A:"ъ","\u2948":"⥈","\u21AD":"↭",\u210F:"ℏ",\u0125:"ĥ","\u2665":"♥","\u2026":"…","\u22B9":"⊹","\u{1D525}":"𝔥","\u2925":"⤥","\u2926":"⤦","\u21FF":"⇿","\u223B":"∻","\u21A9":"↩","\u21AA":"↪","\u{1D559}":"𝕙","\u2015":"―","\u{1D4BD}":"𝒽",\u0127:"ħ","\u2043":"⁃",\u00ED:"í",\u00EE:"î",\u0438:"и",\u0435:"е","\xA1":"¡","\u{1D526}":"𝔦",\u00EC:"ì","\u2A0C":"⨌","\u222D":"∭","\u29DC":"⧜","\u2129":"℩",\u0133:"ij",\u012B:"ī",\u0131:"ı","\u22B7":"⊷",\u01B5:"Ƶ","\u2105":"℅","\u221E":"∞","\u29DD":"⧝","\u22BA":"⊺","\u2A17":"⨗","\u2A3C":"⨼",\u0451:"ё",\u012F:"į","\u{1D55A}":"𝕚",\u03B9:"ι","\xBF":"¿","\u{1D4BE}":"𝒾","\u22F9":"⋹","\u22F5":"⋵","\u22F4":"⋴","\u22F3":"⋳",\u0129:"ĩ",\u0456:"і",\u00EF:"ï",\u0135:"ĵ",\u0439:"й","\u{1D527}":"𝔧","\u0237":"ȷ","\u{1D55B}":"𝕛","\u{1D4BF}":"𝒿",\u0458:"ј",\u0454:"є",\u03BA:"κ",\u03F0:"ϰ",\u0137:"ķ",\u043A:"к","\u{1D528}":"𝔨",\u0138:"ĸ",\u0445:"х",\u045C:"ќ","\u{1D55C}":"𝕜","\u{1D4C0}":"𝓀","\u291B":"⤛","\u290E":"⤎","\u2A8B":"⪋","\u2962":"⥢",\u013A:"ĺ","\u29B4":"⦴",\u03BB:"λ","\u2991":"⦑","\u2A85":"⪅","\xAB":"«","\u291F":"⤟","\u291D":"⤝","\u21AB":"↫","\u2939":"⤹","\u2973":"⥳","\u21A2":"↢","\u2AAB":"⪫","\u2919":"⤙","\u2AAD":"⪭","\u2AAD\uFE00":"⪭︀","\u290C":"⤌","\u2772":"❲","{":"{","[":"[","\u298B":"⦋","\u298F":"⦏","\u298D":"⦍",\u013E:"ľ",\u013C:"ļ",\u043B:"л","\u2936":"⤶","\u2967":"⥧","\u294B":"⥋","\u21B2":"↲","\u2264":"≤","\u21C7":"⇇","\u22CB":"⋋","\u2AA8":"⪨","\u2A7F":"⩿","\u2A81":"⪁","\u2A83":"⪃","\u22DA\uFE00":"⋚︀","\u2A93":"⪓","\u22D6":"⋖","\u297C":"⥼","\u{1D529}":"𝔩","\u2A91":"⪑","\u296A":"⥪","\u2584":"▄",\u0459:"љ","\u296B":"⥫","\u25FA":"◺",\u0140:"ŀ","\u23B0":"⎰","\u2268":"≨","\u2A89":"⪉","\u2A87":"⪇","\u22E6":"⋦","\u27EC":"⟬","\u21FD":"⇽","\u27FC":"⟼","\u21AC":"↬","\u2985":"⦅","\u{1D55D}":"𝕝","\u2A2D":"⨭","\u2A34":"⨴","\u2217":"∗","\u25CA":"◊","(":"(","\u2993":"⦓","\u296D":"⥭","\u200E":"‎","\u22BF":"⊿","\u2039":"‹","\u{1D4C1}":"𝓁","\u2A8D":"⪍","\u2A8F":"⪏","\u201A":"‚",\u0142:"ł","\u2AA6":"⪦","\u2A79":"⩹","\u22C9":"⋉","\u2976":"⥶","\u2A7B":"⩻","\u2996":"⦖","\u25C3":"◃","\u294A":"⥊","\u2966":"⥦","\u2268\uFE00":"≨︀","\u223A":"∺","\xAF":"¯","\u2642":"♂","\u2720":"✠","\u25AE":"▮","\u2A29":"⨩",\u043C:"м","\u2014":"—","\u{1D52A}":"𝔪","\u2127":"℧",\u00B5:"µ","\u2AF0":"⫰","\u2212":"−","\u2A2A":"⨪","\u2ADB":"⫛","\u22A7":"⊧","\u{1D55E}":"𝕞","\u{1D4C2}":"𝓂",\u03BC:"μ","\u22B8":"⊸","\u22D9\u0338":"⋙̸","\u226B\u20D2":"≫⃒","\u21CD":"⇍","\u21CE":"⇎","\u22D8\u0338":"⋘̸","\u226A\u20D2":"≪⃒","\u21CF":"⇏","\u22AF":"⊯","\u22AE":"⊮",\u0144:"ń","\u2220\u20D2":"∠⃒","\u2A70\u0338":"⩰̸","\u224B\u0338":"≋̸",\u0149:"ʼn","\u266E":"♮","\u2A43":"⩃",\u0148:"ň",\u0146:"ņ","\u2A6D\u0338":"⩭̸","\u2A42":"⩂",\u043D:"н","\u2013":"–","\u21D7":"⇗","\u2924":"⤤","\u2250\u0338":"≐̸","\u2928":"⤨","\u{1D52B}":"𝔫","\u21AE":"↮","\u2AF2":"⫲","\u22FC":"⋼","\u22FA":"⋺",\u045A:"њ","\u2266\u0338":"≦̸","\u219A":"↚","\u2025":"‥","\u{1D55F}":"𝕟","\xAC":"¬","\u22F9\u0338":"⋹̸","\u22F5\u0338":"⋵̸","\u22F7":"⋷","\u22F6":"⋶","\u22FE":"⋾","\u22FD":"⋽","\u2AFD\u20E5":"⫽⃥","\u2202\u0338":"∂̸","\u2A14":"⨔","\u219B":"↛","\u2933\u0338":"⤳̸","\u219D\u0338":"↝̸","\u{1D4C3}":"𝓃","\u2284":"⊄","\u2AC5\u0338":"⫅̸","\u2285":"⊅","\u2AC6\u0338":"⫆̸",\u00F1:"ñ",\u03BD:"ν","#":"#","\u2116":"№","\u2007":" ","\u22AD":"⊭","\u2904":"⤄","\u224D\u20D2":"≍⃒","\u22AC":"⊬","\u2265\u20D2":"≥⃒",">\u20D2":">⃒","\u29DE":"⧞","\u2902":"⤂","\u2264\u20D2":"≤⃒","<\u20D2":"<⃒","\u22B4\u20D2":"⊴⃒","\u2903":"⤃","\u22B5\u20D2":"⊵⃒","\u223C\u20D2":"∼⃒","\u21D6":"⇖","\u2923":"⤣","\u2927":"⤧",\u00F3:"ó",\u00F4:"ô",\u043E:"о",\u0151:"ő","\u2A38":"⨸","\u29BC":"⦼",\u0153:"œ","\u29BF":"⦿","\u{1D52C}":"𝔬","\u02DB":"˛",\u00F2:"ò","\u29C1":"⧁","\u29B5":"⦵","\u29BE":"⦾","\u29BB":"⦻","\u29C0":"⧀",\u014D:"ō",\u03C9:"ω",\u03BF:"ο","\u29B6":"⦶","\u{1D560}":"𝕠","\u29B7":"⦷","\u29B9":"⦹","\u2228":"∨","\u2A5D":"⩝",\u2134:"ℴ",\u00AA:"ª",\u00BA:"º","\u22B6":"⊶","\u2A56":"⩖","\u2A57":"⩗","\u2A5B":"⩛",\u00F8:"ø","\u2298":"⊘",\u00F5:"õ","\u2A36":"⨶",\u00F6:"ö","\u233D":"⌽","\xB6":"¶","\u2AF3":"⫳","\u2AFD":"⫽",\u043F:"п","%":"%",".":".","\u2030":"‰","\u2031":"‱","\u{1D52D}":"𝔭",\u03C6:"φ",\u03D5:"ϕ","\u260E":"☎",\u03C0:"π",\u03D6:"ϖ",\u210E:"ℎ","+":"+","\u2A23":"⨣","\u2A22":"⨢","\u2A25":"⨥","\u2A72":"⩲","\u2A26":"⨦","\u2A27":"⨧","\u2A15":"⨕","\u{1D561}":"𝕡","\xA3":"£","\u2AB3":"⪳","\u2AB7":"⪷","\u2AB9":"⪹","\u2AB5":"⪵","\u22E8":"⋨","\u2032":"′","\u232E":"⌮","\u2312":"⌒","\u2313":"⌓","\u22B0":"⊰","\u{1D4C5}":"𝓅",\u03C8:"ψ","\u2008":" ","\u{1D52E}":"𝔮","\u{1D562}":"𝕢","\u2057":"⁗","\u{1D4C6}":"𝓆","\u2A16":"⨖","?":"?","\u291C":"⤜","\u2964":"⥤","\u223D\u0331":"∽̱",\u0155:"ŕ","\u29B3":"⦳","\u2992":"⦒","\u29A5":"⦥","\xBB":"»","\u2975":"⥵","\u2920":"⤠","\u2933":"⤳","\u291E":"⤞","\u2945":"⥅","\u2974":"⥴","\u21A3":"↣","\u219D":"↝","\u291A":"⤚","\u2236":"∶","\u2773":"❳","}":"}","]":"]","\u298C":"⦌","\u298E":"⦎","\u2990":"⦐",\u0159:"ř",\u0157:"ŗ",\u0440:"р","\u2937":"⤷","\u2969":"⥩","\u21B3":"↳","\u25AD":"▭","\u297D":"⥽","\u{1D52F}":"𝔯","\u296C":"⥬",\u03C1:"ρ",\u03F1:"ϱ","\u21C9":"⇉","\u22CC":"⋌","\u02DA":"˚","\u200F":"‏","\u23B1":"⎱","\u2AEE":"⫮","\u27ED":"⟭","\u21FE":"⇾","\u2986":"⦆","\u{1D563}":"𝕣","\u2A2E":"⨮","\u2A35":"⨵",")":")","\u2994":"⦔","\u2A12":"⨒","\u203A":"›","\u{1D4C7}":"𝓇","\u22CA":"⋊","\u25B9":"▹","\u29CE":"⧎","\u2968":"⥨","\u211E":"℞",\u015B:"ś","\u2AB4":"⪴","\u2AB8":"⪸",\u0161:"š",\u015F:"ş",\u015D:"ŝ","\u2AB6":"⪶","\u2ABA":"⪺","\u22E9":"⋩","\u2A13":"⨓",\u0441:"с","\u22C5":"⋅","\u2A66":"⩦","\u21D8":"⇘","\xA7":"§",";":";","\u2929":"⤩","\u2736":"✶","\u{1D530}":"𝔰","\u266F":"♯",\u0449:"щ",\u0448:"ш","\xAD":"­",\u03C3:"σ",\u03C2:"ς","\u2A6A":"⩪","\u2A9E":"⪞","\u2AA0":"⪠","\u2A9D":"⪝","\u2A9F":"⪟","\u2246":"≆","\u2A24":"⨤","\u2972":"⥲","\u2A33":"⨳","\u29E4":"⧤","\u2323":"⌣","\u2AAA":"⪪","\u2AAC":"⪬","\u2AAC\uFE00":"⪬︀",\u044C:"ь","/":"/","\u29C4":"⧄","\u233F":"⌿","\u{1D564}":"𝕤","\u2660":"♠","\u2293\uFE00":"⊓︀","\u2294\uFE00":"⊔︀","\u{1D4C8}":"𝓈","\u2606":"☆","\u2282":"⊂","\u2AC5":"⫅","\u2ABD":"⪽","\u2AC3":"⫃","\u2AC1":"⫁","\u2ACB":"⫋","\u228A":"⊊","\u2ABF":"⪿","\u2979":"⥹","\u2AC7":"⫇","\u2AD5":"⫕","\u2AD3":"⫓","\u266A":"♪","\xB9":"¹","\xB2":"²","\xB3":"³","\u2AC6":"⫆","\u2ABE":"⪾","\u2AD8":"⫘","\u2AC4":"⫄","\u27C9":"⟉","\u2AD7":"⫗","\u297B":"⥻","\u2AC2":"⫂","\u2ACC":"⫌","\u228B":"⊋","\u2AC0":"⫀","\u2AC8":"⫈","\u2AD4":"⫔","\u2AD6":"⫖","\u21D9":"⇙","\u292A":"⤪",\u00DF:"ß","\u2316":"⌖",\u03C4:"τ",\u0165:"ť",\u0163:"ţ",\u0442:"т","\u2315":"⌕","\u{1D531}":"𝔱",\u03B8:"θ",\u03D1:"ϑ",\u00FE:"þ","\xD7":"×","\u2A31":"⨱","\u2A30":"⨰","\u2336":"⌶","\u2AF1":"⫱","\u{1D565}":"𝕥","\u2ADA":"⫚","\u2034":"‴","\u25B5":"▵","\u225C":"≜","\u25EC":"◬","\u2A3A":"⨺","\u2A39":"⨹","\u29CD":"⧍","\u2A3B":"⨻","\u23E2":"⏢","\u{1D4C9}":"𝓉",\u0446:"ц",\u045B:"ћ",\u0167:"ŧ","\u2963":"⥣",\u00FA:"ú",\u045E:"ў",\u016D:"ŭ",\u00FB:"û",\u0443:"у",\u0171:"ű","\u297E":"⥾","\u{1D532}":"𝔲",\u00F9:"ù","\u2580":"▀","\u231C":"⌜","\u230F":"⌏","\u25F8":"◸",\u016B:"ū",\u0173:"ų","\u{1D566}":"𝕦",\u03C5:"υ","\u21C8":"⇈","\u231D":"⌝","\u230E":"⌎",\u016F:"ů","\u25F9":"◹","\u{1D4CA}":"𝓊","\u22F0":"⋰",\u0169:"ũ",\u00FC:"ü","\u29A7":"⦧","\u2AE8":"⫨","\u2AE9":"⫩","\u299C":"⦜","\u228A\uFE00":"⊊︀","\u2ACB\uFE00":"⫋︀","\u228B\uFE00":"⊋︀","\u2ACC\uFE00":"⫌︀",\u0432:"в","\u22BB":"⊻","\u225A":"≚","\u22EE":"⋮","\u{1D533}":"𝔳","\u{1D567}":"𝕧","\u{1D4CB}":"𝓋","\u299A":"⦚",\u0175:"ŵ","\u2A5F":"⩟","\u2259":"≙","\u2118":"℘","\u{1D534}":"𝔴","\u{1D568}":"𝕨","\u{1D4CC}":"𝓌","\u{1D535}":"𝔵",\u03BE:"ξ","\u22FB":"⋻","\u{1D569}":"𝕩","\u{1D4CD}":"𝓍",\u00FD:"ý",\u044F:"я",\u0177:"ŷ",\u044B:"ы","\xA5":"¥","\u{1D536}":"𝔶",\u0457:"ї","\u{1D56A}":"𝕪","\u{1D4CE}":"𝓎",\u044E:"ю",\u00FF:"ÿ",\u017A:"ź",\u017E:"ž",\u0437:"з",\u017C:"ż",\u03B6:"ζ","\u{1D537}":"𝔷",\u0436:"ж","\u21DD":"⇝","\u{1D56B}":"𝕫","\u{1D4CF}":"𝓏","\u200D":"‍","\u200C":"‌"}}};var Oi={};Object.defineProperty(Oi,"__esModule",{value:!0}),Oi.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var Ht={};Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},Ht.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536},Ht.highSurrogateFrom=55296,Ht.highSurrogateTo=56319;var Vt=Vo&&Vo.__assign||function(){return Vt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Vt.apply(this,arguments)};Object.defineProperty(lr,"__esModule",{value:!0});var Cn=ur,Od=Oi,pa=Ht,Li=Vt(Vt({},Cn.namedReferences),{all:Cn.namedReferences.html5});function da(e,t,n){t.lastIndex=0;var r=t.exec(e),i;if(r){i="";var s=0;do{s!==r.index&&(i+=e.substring(s,r.index));var o=r[0];i+=n(o),s=r.index+o.length}while(r=t.exec(e));s!==e.length&&(i+=e.substring(s))}else i=e;return i}l(da,"replaceUsingRegExp");var Ld={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},Id={mode:"specialChars",level:"all",numeric:"decimal"};function Dd(e,t){var n=t===void 0?Id:t,r=n.mode,i=r===void 0?"specialChars":r,s=n.numeric,o=s===void 0?"decimal":s,a=n.level,u=a===void 0?"all":a;if(!e)return"";var c=Ld[i],h=Li[u].characters,f=o==="hexadecimal";return da(e,c,function(p){var d=h[p];if(!d){var m=p.length>1?pa.getCodePoint(p,0):p.charCodeAt(0);d=(f?"&#x"+m.toString(16):"&#"+m)+";"}return d})}l(Dd,"encode"),lr.encode=Dd;var Rd={scope:"body",level:"all"},Ii=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,Di=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,ma={xml:{strict:Ii,attribute:Di,body:Cn.bodyRegExps.xml},html4:{strict:Ii,attribute:Di,body:Cn.bodyRegExps.html4},html5:{strict:Ii,attribute:Di,body:Cn.bodyRegExps.html5}},Pd=Vt(Vt({},ma),{all:ma.html5}),ga=String.fromCharCode,Fd=ga(65533),qd={level:"all"};function ya(e,t,n,r){var i=e,s=e[e.length-1];if(n&&s==="=")i=e;else if(r&&s!==";")i=e;else{var o=t[e];if(o)i=o;else if(e[0]==="&"&&e[1]==="#"){var a=e[2],u=a=="x"||a=="X"?parseInt(e.substr(3),16):parseInt(e.substr(2));i=u>=1114111?Fd:u>65535?pa.fromCodePoint(u):ga(Od.numericUnicodeMap[u]||u)}}return i}l(ya,"getDecodedEntity");function Md(e,t){var n=(t===void 0?qd:t).level,r=n===void 0?"all":n;return e?ya(e,Li[r].entities,!1,!1):""}l(Md,"decodeEntity"),lr.decodeEntity=Md;function $d(e,t){var n=t===void 0?Rd:t,r=n.level,i=r===void 0?"all":r,s=n.scope,o=s===void 0?i==="xml"?"strict":"body":s;if(!e)return"";var a=Pd[i][o],u=Li[i].entities,c=o==="attribute",h=o==="strict";return da(e,a,function(f){return ya(f,u,c,h)})}l($d,"decode$1");var ba=lr.decode=$d;/**
|
|
35
35
|
* @name ranges-sort
|
|
36
36
|
* @fileoverview Sort string index ranges
|
|
37
37
|
* @version 6.0.11
|
|
38
38
|
* @author Roy Revelt, Codsen Ltd
|
|
39
39
|
* @license MIT
|
|
40
40
|
* {@link https://codsen.com/os/ranges-sort/}
|
|
41
|
-
*/var
|
|
41
|
+
*/var Bd={strictlyTwoElementsInRangeArrays:!1,progressFn:null};function cr(e,t){if(!Array.isArray(e)||!e.length)return e;let n={...Bd,...t},r,i;if(n.strictlyTwoElementsInRangeArrays&&!e.every((a,u)=>!Array.isArray(a)||a.length!==2?(r=u,i=a.length,!1):!0))throw new TypeError(`ranges-sort: [THROW_ID_03] The first argument should be an array and must consist of arrays which are natural number indexes representing TWO string index ranges. However, ${r}th range (${JSON.stringify(e[r],null,4)}) has not two but ${i} elements!`);if(!e.every((a,u)=>!Array.isArray(a)||!Number.isInteger(a[0])||a[0]<0||!Number.isInteger(a[1])||a[1]<0?(r=u,!1):!0))throw new TypeError(`ranges-sort: [THROW_ID_04] The first argument should be an array and must consist of arrays which are natural number indexes representing string index ranges. However, ${r}th range (${JSON.stringify(e[r],null,4)}) does not consist of only natural numbers!`);let s=e.length**2,o=0;return Array.from(e).sort((a,u)=>(n.progressFn&&(o+=1,n.progressFn(Math.floor(o*100/s))),a[0]===u[0]?a[1]<u[1]?-1:a[1]>u[1]?1:0:a[0]<u[0]?-1:1))}l(cr,"g$1");/**
|
|
42
42
|
* @name ranges-merge
|
|
43
43
|
* @fileoverview Merge and sort string index ranges
|
|
44
44
|
* @version 9.0.15
|
|
45
45
|
* @author Roy Revelt, Codsen Ltd
|
|
46
46
|
* @license MIT
|
|
47
47
|
* {@link https://codsen.com/os/ranges-merge/}
|
|
48
|
-
*/var
|
|
49
|
-
${JSON.stringify(t,null,4)} (type ${typeof t})`);else r={...
|
|
48
|
+
*/var wa={mergeType:1,progressFn:null,joinRangesThatTouchEdges:!0};function jd(e,t){function n(c){return!!c&&typeof c=="object"&&!Array.isArray(c)}if(l(n,"l"),!Array.isArray(e)||!e.length)return null;let r;if(t)if(n(t)){if(r={...wa,...t},r.progressFn&&n(r.progressFn)&&!Object.keys(r.progressFn).length)r.progressFn=null;else if(r.progressFn&&typeof r.progressFn!="function")throw new Error(`ranges-merge: [THROW_ID_01] opts.progressFn must be a function! It was given of a type: "${typeof r.progressFn}", equal to ${JSON.stringify(r.progressFn,null,4)}`);if(![1,2,"1","2"].includes(r.mergeType))throw new Error(`ranges-merge: [THROW_ID_02] opts.mergeType was customised to a wrong thing! It was given of a type: "${typeof r.mergeType}", equal to ${JSON.stringify(r.mergeType,null,4)}`);if(typeof r.joinRangesThatTouchEdges!="boolean")throw new Error(`ranges-merge: [THROW_ID_04] opts.joinRangesThatTouchEdges was customised to a wrong thing! It was given of a type: "${typeof r.joinRangesThatTouchEdges}", equal to ${JSON.stringify(r.joinRangesThatTouchEdges,null,4)}`)}else throw new Error(`emlint: [THROW_ID_03] the second input argument must be a plain object. It was given as:
|
|
49
|
+
${JSON.stringify(t,null,4)} (type ${typeof t})`);else r={...wa};let i=e.filter(c=>Array.isArray(c)).map(c=>[...c]).filter(c=>c[2]!==void 0||c[0]!==c[1]),s,o,a;r.progressFn?s=cr(i,{progressFn:c=>{a=Math.floor(c/5),a!==o&&(o=a,r.progressFn(a))}}):s=cr(i);let u=s.length-1;for(let c=u;c>0;c--)r.progressFn&&(a=Math.floor((1-c/u)*78)+21,a!==o&&a>o&&(o=a,r.progressFn(a))),(s[c][0]<=s[c-1][0]||!r.joinRangesThatTouchEdges&&s[c][0]<s[c-1][1]||r.joinRangesThatTouchEdges&&s[c][0]<=s[c-1][1])&&(s[c-1][0]=Math.min(s[c][0],s[c-1][0]),s[c-1][1]=Math.max(s[c][1],s[c-1][1]),s[c][2]!==void 0&&(s[c-1][0]>=s[c][0]||s[c-1][1]<=s[c][1])&&s[c-1][2]!==null&&(s[c][2]===null&&s[c-1][2]!==null?s[c-1][2]=null:s[c-1][2]!=null?+r.mergeType==2&&s[c-1][0]===s[c][0]?s[c-1][2]=s[c][2]:s[c-1][2]+=s[c][2]:s[c-1][2]=s[c][2]),s.splice(c,1),c=s.length);return s.length?s:null}l(jd,"b$1");var zd=process.env.NODE_ENV==="production",ka="Invariant failed";function Ud(e,t){if(!e){if(zd)throw new Error(ka);var n=ka;throw new Error(n)}}l(Ud,"invariant");/**
|
|
50
50
|
* @name ranges-apply
|
|
51
51
|
* @fileoverview Take an array of string index ranges, delete/replace the string according to them
|
|
52
52
|
* @version 7.0.16
|
|
53
53
|
* @author Roy Revelt, Codsen Ltd
|
|
54
54
|
* @license MIT
|
|
55
55
|
* {@link https://codsen.com/os/ranges-apply/}
|
|
56
|
-
*/function
|
|
56
|
+
*/function Hd(e,t,n){if(arguments.length===0)throw new Error("ranges-apply: [THROW_ID_01] inputs missing!");if(typeof e!="string")throw new TypeError(`ranges-apply: [THROW_ID_02] first input argument must be a string! Currently it's: ${typeof e}, equal to: ${JSON.stringify(e,null,4)}`);if(t&&!Array.isArray(t))throw new TypeError(`ranges-apply: [THROW_ID_03] second input argument must be an array (or null)! Currently it's: ${typeof t}, equal to: ${JSON.stringify(t,null,4)}`);if(!t?.filter(o=>o).length)return e;let r;Array.isArray(t)&&Number.isInteger(t[0])&&Number.isInteger(t[1])?r=[Array.from(t)]:r=Array.from(t),r.length,r.filter(o=>o).forEach((o,a)=>{if(!Array.isArray(o))throw new TypeError(`ranges-apply: [THROW_ID_05] ranges array, second input arg., has ${a}th element not an array: ${JSON.stringify(o,null,4)}, which is ${typeof o}`);if(!Number.isInteger(o[0])){if(!Number.isInteger(+o[0])||+o[0]<0)throw new TypeError(`ranges-apply: [THROW_ID_06] ranges array, second input arg. has ${a}th element, array ${JSON.stringify(o,null,0)}. Its first element is not an integer, string index, but ${typeof o[0]}, equal to: ${JSON.stringify(o[0],null,4)}.`);r[a][0]=+r[a][0]}if(!Number.isInteger(o[1])){if(!Number.isInteger(+o[1])||+o[1]<0)throw new TypeError(`ranges-apply: [THROW_ID_07] ranges array, second input arg. has ${a}th element, array ${JSON.stringify(o,null,0)}. Its second element is not an integer, string index, but ${typeof o[1]}, equal to: ${JSON.stringify(o[1],null,4)}.`);r[a][1]=+r[a][1]}});let i=jd(r,{progressFn:o=>{}});Ud(i);let s=i.length;if(s>0){let o=e.slice(i[s-1][1]);e=i.reduce((a,u,c,h)=>{let f=c===0?0:h[c-1][1],p=h[c][0];return`${a}${e.slice(f,p)}${h[c][2]||""}`},""),e+=o}return e}l(Hd,"_");/**
|
|
57
57
|
* @name string-collapse-leading-whitespace
|
|
58
58
|
* @fileoverview Collapse the leading and trailing whitespace of a string
|
|
59
59
|
* @version 7.0.7
|
|
60
60
|
* @author Roy Revelt, Codsen Ltd
|
|
61
61
|
* @license MIT
|
|
62
62
|
* {@link https://codsen.com/os/string-collapse-leading-whitespace/}
|
|
63
|
-
*/function
|
|
63
|
+
*/function Ri(e,t=1){let n="\xA0";function r(s){return Array.from(s).reverse().join("")}l(r,"g");function i(s,o,a){let u=a?`
|
|
64
64
|
`:"\r",c=a?"\r":`
|
|
65
|
-
`;if(!s)return s;let
|
|
66
|
-
`.includes(s[
|
|
65
|
+
`;if(!s)return s;let h=0,f="";for(let p=0,d=s.length;p<d;p++)(s[p]===u||s[p]===c&&s[p-1]!==u)&&h++,`\r
|
|
66
|
+
`.includes(s[p])||s[p]===n?s[p]===n?f+=s[p]:s[p]===u?h<=o&&(f+=s[p],s[p+1]===c&&(f+=s[p+1],p++)):s[p]===c&&s?.[p-1]!==u&&h<=o&&(f+=s[p]):!s[p+1]&&!h&&(f+=" ");return f}if(l(i,"p"),typeof e=="string"&&e.length){let s=1;typeof+t=="number"&&Number.isInteger(+t)&&+t>=0&&(s=+t);let o="",a="";if(!e.trim())o=e;else if(!e[0].trim()){for(let u=0,c=e.length;u<c;u++)if(e[u].trim()){o=e.slice(0,u);break}}if(e.trim()&&(e.slice(-1).trim()===""||e.slice(-1)===n)){for(let u=e.length;u--;)if(e[u].trim()){a=e.slice(u+1);break}}return`${i(o,s,!1)}${e.trim()}${r(i(r(a),s,!0))}`}return e}l(Ri,"D$1");/**
|
|
67
67
|
* @name ranges-push
|
|
68
68
|
* @fileoverview Gather string index ranges
|
|
69
69
|
* @version 7.0.15
|
|
70
70
|
* @author Roy Revelt, Codsen Ltd
|
|
71
71
|
* @license MIT
|
|
72
72
|
* {@link https://codsen.com/os/ranges-push/}
|
|
73
|
-
*/var
|
|
74
|
-
${JSON.stringify(t,null,4)} (type ${typeof t})`);else r={...
|
|
75
|
-
${JSON.stringify(n,null,4)}`);if(
|
|
73
|
+
*/var va={mergeType:1,progressFn:null,joinRangesThatTouchEdges:!0};function Vd(e,t){function n(c){return!!c&&typeof c=="object"&&!Array.isArray(c)}if(l(n,"r"),!Array.isArray(e)||!e.length)return null;let r;if(t)if(n(t)){if(r={...va,...t},r.progressFn&&n(r.progressFn)&&!Object.keys(r.progressFn).length)r.progressFn=null;else if(r.progressFn&&typeof r.progressFn!="function")throw new Error(`ranges-merge: [THROW_ID_01] resolvedOpts.progressFn must be a function! It was given of a type: "${typeof r.progressFn}", equal to ${JSON.stringify(r.progressFn,null,4)}`);if(![1,2,"1","2"].includes(r.mergeType))throw new Error(`ranges-merge: [THROW_ID_02] resolvedOpts.mergeType was customised to a wrong thing! It was given of a type: "${typeof r.mergeType}", equal to ${JSON.stringify(r.mergeType,null,4)}`);if(typeof r.joinRangesThatTouchEdges!="boolean")throw new Error(`ranges-merge: [THROW_ID_04] resolvedOpts.joinRangesThatTouchEdges was customised to a wrong thing! It was given of a type: "${typeof r.joinRangesThatTouchEdges}", equal to ${JSON.stringify(r.joinRangesThatTouchEdges,null,4)}`)}else throw new Error(`emlint: [THROW_ID_03] the second input argument must be a plain object. It was given as:
|
|
74
|
+
${JSON.stringify(t,null,4)} (type ${typeof t})`);else r={...va};let i=e.filter(c=>Array.isArray(c)).map(c=>[...c]).filter(c=>c[2]!==void 0||c[0]!==c[1]),s,o,a;r.progressFn?s=cr(i,{progressFn:c=>{a=Math.floor(c/5),a!==o&&(o=a,r.progressFn(a))}}):s=cr(i);let u=s.length-1;for(let c=u;c>0;c--)r.progressFn&&(a=Math.floor((1-c/u)*78)+21,a!==o&&a>o&&(o=a,r.progressFn(a))),(s[c][0]<=s[c-1][0]||!r.joinRangesThatTouchEdges&&s[c][0]<s[c-1][1]||r.joinRangesThatTouchEdges&&s[c][0]<=s[c-1][1])&&(s[c-1][0]=Math.min(s[c][0],s[c-1][0]),s[c-1][1]=Math.max(s[c][1],s[c-1][1]),s[c][2]!==void 0&&(s[c-1][0]>=s[c][0]||s[c-1][1]<=s[c][1])&&s[c-1][2]!==null&&(s[c][2]===null&&s[c-1][2]!==null?s[c-1][2]=null:s[c-1][2]!=null?+r.mergeType==2&&s[c-1][0]===s[c][0]?s[c-1][2]=s[c][2]:s[c-1][2]+=s[c][2]:s[c-1][2]=s[c][2]),s.splice(c,1),c=s.length);return s.length?s:null}l(Vd,"$");var Gd={limitToBeAddedWhitespace:!1,limitLinebreaksCount:1,mergeType:1},Wd=class{static{l(this,"y")}constructor(e){let t={...Gd,...e};if(t.mergeType&&t.mergeType!==1&&t.mergeType!==2)if(Bt(t.mergeType)&&t.mergeType.trim()==="1")t.mergeType=1;else if(Bt(t.mergeType)&&t.mergeType.trim()==="2")t.mergeType=2;else throw new Error(`ranges-push: [THROW_ID_02] opts.mergeType was customised to a wrong thing! It was given of a type: "${typeof t.mergeType}", equal to ${JSON.stringify(t.mergeType,null,4)}`);this.opts=t,this.ranges=[]}ranges;opts;add(e,t,n){if(e==null&&t==null)return;if(ct(e)&&!ct(t)){if(Array.isArray(e)){if(e.length){if(e.some(s=>Array.isArray(s))){e.forEach(s=>{Array.isArray(s)&&this.add(...s)});return}e.length&&ut(+e[0])&&ut(+e[1])&&this.add(...e)}return}throw new TypeError(`ranges-push/Ranges/add(): [THROW_ID_12] the first input argument, "from" is set (${JSON.stringify(e,null,0)}) but second-one, "to" is not (${JSON.stringify(t,null,0)})`)}else if(!ct(e)&&ct(t))throw new TypeError(`ranges-push/Ranges/add(): [THROW_ID_13] the second input argument, "to" is set (${JSON.stringify(t,null,0)}) but first-one, "from" is not (${JSON.stringify(e,null,0)})`);let r=+e,i=+t;if(ut(n)&&(n=String(n)),ut(r)&&ut(i)){if(ct(n)&&!Bt(n)&&!ut(n))throw new TypeError(`ranges-push/Ranges/add(): [THROW_ID_08] The third argument, the value to add, was given not as string but ${typeof n}, equal to:
|
|
75
|
+
${JSON.stringify(n,null,4)}`);if(ct(this.ranges)&&Array.isArray(this.last())&&r===this.last()[1]){if(this.last()[1]=i,this.last()[2],this.last()[2]!==null&&ct(n)){let s=this.last()[2]&&this.last()[2].length&&(!this.opts?.mergeType||this.opts.mergeType===1)?`${this.last()[2]}${n}`:n;this.opts.limitToBeAddedWhitespace&&(s=Ri(s,this.opts.limitLinebreaksCount)),Bt(s)&&!s.length||(this.last()[2]=s)}}else{this.ranges||(this.ranges=[]);let s=n!==void 0&&!(Bt(n)&&!n.length)?[r,i,n&&this.opts.limitToBeAddedWhitespace?Ri(n,this.opts.limitLinebreaksCount):n]:[r,i];this.ranges.push(s)}}else throw ut(r)&&r>=0?new TypeError(`ranges-push/Ranges/add(): [THROW_ID_10] "to" value, the second input argument, must be a natural number or zero! Currently it's of a type "${typeof i}" equal to: ${JSON.stringify(i,null,4)}`):new TypeError(`ranges-push/Ranges/add(): [THROW_ID_09] "from" value, the first input argument, must be a natural number or zero! Currently it's of a type "${typeof r}" equal to: ${JSON.stringify(r,null,4)}`)}push(e,t,n){this.add(e,t,n)}current(){return Array.isArray(this.ranges)&&this.ranges.length?(this.ranges=Vd(this.ranges,{mergeType:this.opts.mergeType}),this.ranges&&this.opts.limitToBeAddedWhitespace?this.ranges.map(e=>ct(e[2])?[e[0],e[1],Ri(e[2],this.opts.limitLinebreaksCount)]:e):this.ranges):null}wipe(){this.ranges=[]}replace(e){if(Array.isArray(e)&&e.length)if(Array.isArray(e[0])&&ut(e[0][0]))this.ranges=Array.from(e);else throw new Error(`ranges-push/Ranges/replace(): [THROW_ID_11] Single range was given but we expected array of arrays! The first element, ${JSON.stringify(e[0],null,4)} should be an array and its first element should be an integer, a string index.`);else this.ranges=[]}last(){return Array.isArray(this.ranges)&&this.ranges.length?this.ranges[this.ranges.length-1]:null}};/**
|
|
76
76
|
* @name string-left-right
|
|
77
77
|
* @fileoverview Looks up the first non-whitespace character to the left/right of a given index
|
|
78
78
|
* @version 6.0.17
|
|
79
79
|
* @author Roy Revelt, Codsen Ltd
|
|
80
80
|
* @license MIT
|
|
81
81
|
* {@link https://codsen.com/os/string-left-right/}
|
|
82
|
-
*/
|
|
83
|
-
\r`.includes(e[t+1])||r&&e[t+1]===
|
|
84
|
-
\r`.includes(e[t+2])||r&&e[t+2]===
|
|
85
|
-
\r`.includes(e[i])||r&&e[i]===
|
|
82
|
+
*/Go();var Pi="\xA0";function Kd({str:e,idx:t=0,stopAtNewlines:n=!1,stopAtRawNbsp:r=!1}){if(typeof e!="string"||!e.length||((!t||typeof t!="number")&&(t=0),!e[t+1]))return null;if(e[t+1]&&(e[t+1].trim()||n&&`
|
|
83
|
+
\r`.includes(e[t+1])||r&&e[t+1]===Pi))return t+1;if(e[t+2]&&(e[t+2].trim()||n&&`
|
|
84
|
+
\r`.includes(e[t+2])||r&&e[t+2]===Pi))return t+2;for(let i=t+1,s=e.length;i<s;i++)if(e[i].trim()||n&&`
|
|
85
|
+
\r`.includes(e[i])||r&&e[i]===Pi)return i;return null}l(Kd,"D");function Ke(e,t=0){return Kd({str:e,idx:t,stopAtNewlines:!1,stopAtRawNbsp:!1})}l(Ke,"E");/**
|
|
86
86
|
* @name string-strip-html
|
|
87
87
|
* @fileoverview Strip HTML tags from strings. No parser, accepts mixed sources.
|
|
88
88
|
* @version 13.4.8
|
|
89
89
|
* @author Roy Revelt, Codsen Ltd
|
|
90
90
|
* @license MIT
|
|
91
91
|
* {@link https://codsen.com/os/string-strip-html/}
|
|
92
|
-
*/function
|
|
93
|
-
`)&&
|
|
94
|
-
`:
|
|
92
|
+
*/function Yd(e){return/[-_A-Za-z0-9]/.test(e)}l(Yd,"ee");function Sa(e,t){if(!e)return[];if(Array.isArray(e))return e.filter(n=>typeof n=="string"&&n.trim());if(typeof e=="string")return e.trim()?[e]:[];throw new TypeError(`string-strip-html/stripHtml(): [THROW_ID_05] ${t} must be array containing zero or more strings or something falsey. Currently it's equal to: ${e}, that a type of ${typeof e}.`)}l(Sa,"G");function fr(e,t,n,r){for(let i=t,s=e.length;i<s;i++){if(e.startsWith(n,i))return!0;if(e.startsWith(r,i))return!1}return!1}l(fr,"j");function xa(e,t,n){return e?.quotes,e?.quotes?.value&&fr(t,n+1,e.quotes.value,">"),e?.quotes?.next,fr(t,e?.quotes?.next-1,e?.quotes?.value,">"),!e?.quotes||!fr(t,n+1,e.quotes.value,">")&&e?.quotes?.next!==-1&&fr(t,e?.quotes?.next-1,e?.quotes?.value,">")}l(xa,"Y");function Jd(e,t){return(t.match(new RegExp(e,"g"))||[]).length}l(Jd,"ne");var Tn=new Set(["!doctype","abbr","address","area","article","aside","audio","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","doctype","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","param","picture","pre","progress","rb","rp","rt","rtc","ruby","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","ul","var","video","wbr","xml"]),Fi=new Set(["a","b","i","p","q","s","u"]),qi=new Set([".",",",";","!","?"]),Aa=new Set([".",",","?",";",")","\u2026",'"',"\xBB"]),Qd=new Set(["a","abbr","acronym","audio","b","bdi","bdo","big","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","input","ins","kbd","label","map","mark","meter","noscript","object","output","picture","progress","q","ruby","s","samp","select","slot","small","span","strong","sub","sup","svg","template","textarea","time","u","tt","var","video","wbr"]),Ca={ignoreTags:[],ignoreTagsWithTheirContents:[],onlyStripTags:[],stripTogetherWithTheirContents:["script","style","xml"],skipHtmlDecoding:!1,trimOnlySpaces:!1,stripRecognisedHTMLOnly:!1,dumpLinkHrefsNearby:{enabled:!1,putOnNewLine:!1,wrapHeads:"",wrapTails:""},ignoreIndentations:!1,cb:null,reportProgressFunc:null,reportProgressFuncFrom:0,reportProgressFuncTo:100};function Ta(e,t){let n=Date.now(),r=[],i=[],s=[],o=[],a={};function u(){a={attributes:[]}}l(u,"re"),u();let c=null,h=null,f=null,p=!1,d={},m={tagName:"",hrefValue:"",openingTagEnds:void 0},g="",y=!1,b=null,w=!0;function A(k,I,v){if(Array.isArray(I.stripTogetherWithTheirContents)&&(I.stripTogetherWithTheirContents.includes(a.name)||I.stripTogetherWithTheirContents.includes("*")))if(a.slashPresent&&Array.isArray(r)&&r.some(M=>M.name===a.name)){for(let M=r.length;M--;)if(r[M].name===a.name){o=o.filter(([j,ne])=>(j<r[M].lastOpeningBracketAt||j>=k+1)&&(ne<=r[M].lastOpeningBracketAt||ne>k+1));let K=k+1;a.lastClosingBracketAt&&(K=a.lastClosingBracketAt+1),o.push([r[M].lastOpeningBracketAt,K]),Aa.has(e[k])&&I.cb?I.cb({tag:a,deleteFrom:r[M].lastOpeningBracketAt,deleteTo:k+1,insert:null,rangesArr:v,proposedReturn:[r[M].lastOpeningBracketAt,k,null]}):I.cb&&I.cb({tag:a,deleteFrom:r[M].lastOpeningBracketAt,deleteTo:k,insert:"",rangesArr:v,proposedReturn:[r[M].lastOpeningBracketAt,k,""]}),r.splice(M,1);break}}else a.slashPresent||r.push(a);else Array.isArray(I.ignoreTagsWithTheirContents)&&_(k,I,a)&&(w=!1)}l(A,"v$1");function N(k,I,v,M,K,j){if(Array.isArray($.current())&&typeof v=="number"&&$.current()[0][0]===0&&$.current()[0][1]>=v)return"";if(e.length===M&&j&&!S?.dumpLinkHrefsNearby?.enabled)return null;let ne="";if(Number.isInteger(v)&&v<K&&(ne+=k.slice(v,K)),Number.isInteger(M)&&M>j+1){let ze=k.slice(j+1,M);M&&!Ke(e,M-1)&&(ze=ze.trimEnd()),ze.includes(`
|
|
93
|
+
`)&&x(M,k)?ne+=" ":ne+=ze}let Se=!Aa.has(k[I]),et=k[M-1]!==">"||!k[v].trim(),tt=!['"',"("].includes(k[K-1]),Ft=![";",".",":","!"].includes(k[I]);if((Se||et&&tt&&Ft)&&(et||tt)&&k[I]!=="!"&&(!Qd.has(a.name)||typeof v=="number"&&v<K||typeof M=="number"&&M>j+1)){let ze=ne.match(/\n/g);return Array.isArray(ze)&&ze.length?ze.length===1?`
|
|
94
|
+
`:ze.length===2?`
|
|
95
95
|
|
|
96
96
|
`:`
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
`:" "}return""}l(
|
|
99
|
+
`:" "}return""}l(N,"L");function T(k,I){if(k.dumpLinkHrefsNearby?.enabled&&m.tagName&&m.tagName===a.name&&a.lastOpeningBracketAt&&(m.openingTagEnds&&a.lastOpeningBracketAt>m.openingTagEnds||!m.openingTagEnds)&&(y=!0),y){let v=k.dumpLinkHrefsNearby?.putOnNewLine?`
|
|
100
100
|
|
|
101
|
-
`:"";g=`${v}${m.hrefValue}`,(typeof
|
|
102
|
-
${JSON.stringify(e,null,4)}`);if(t)if(
|
|
103
|
-
${JSON.stringify(t,null,4)}`);function
|
|
104
|
-
`.includes(e[k])){let
|
|
101
|
+
`:"";g=`${v}${m.hrefValue}`,(typeof I!="number"||Ke(e,I-1))&&(g+=v)}}l(T,"U");function x(k,I){return I?I[k]==="<"&&I[k+1]!=="%":e[k]==="<"&&e[k+1]!=="%"}l(x,"S");function E(k){return e[k]===">"&&e[k-1]!=="%"}l(E,"A");function _(k,I,v){if(I.ignoreTagsWithTheirContents.includes("*"))return!0;let M=e.indexOf(`<${v.name}`,k),K=e.indexOf(`</${v.name}`,k);return!v.slashPresent&&K===-1||v.slashPresent&&!i.some(j=>j.name===v.name)||K>-1&&M>-1&&M<K?!1:I.ignoreTagsWithTheirContents.includes(v.name)}if(l(_,"M"),typeof e!="string")throw new TypeError(`string-strip-html/stripHtml(): [THROW_ID_01] Input must be string! Currently it's: ${(typeof e).toLowerCase()}, equal to:
|
|
102
|
+
${JSON.stringify(e,null,4)}`);if(t)if(Si(t)){if(t.reportProgressFunc&&typeof t.reportProgressFunc!="function")throw new Error(`string-strip-html/stripHtml(): [THROW_ID_03] The Optional Options Object's key reportProgressFunc, callback function, should be a function but it was given as type ${typeof t.reportProgressFunc}, equal to ${JSON.stringify(t.reportProgressFunc,null,4)}`);if(typeof t.dumpLinkHrefsNearby=="boolean"&&t.dumpLinkHrefsNearby!=null)throw new Error(`string-strip-html/stripHtml(): [THROW_ID_04] The Optional Options Object's key should be a plain object but it was given as type ${typeof t.dumpLinkHrefsNearby}, equal to ${JSON.stringify(t.dumpLinkHrefsNearby,null,4)}`)}else throw new TypeError(`string-strip-html/stripHtml(): [THROW_ID_02] Optional Options Object must be a plain object! Currently it's: ${(typeof t).toLowerCase()}, equal to:
|
|
103
|
+
${JSON.stringify(t,null,4)}`);function F(){y&&(m={tagName:"",hrefValue:"",openingTagEnds:void 0},y=!1)}l(F,"_$1");let S={...Ca,...t,dumpLinkHrefsNearby:Object.assign({},Ca.dumpLinkHrefsNearby,t?.dumpLinkHrefsNearby)};if(Sh(S,"returnRangesOnly"))throw new TypeError("string-strip-html/stripHtml(): [THROW_ID_05] The Optional Options Object's key returnRangesOnly has been removed from the API since v.5 release.");if(S.reportProgressFunc){if(typeof S.reportProgressFuncFrom!="number")throw new Error(`string-strip-html/stripHtml(): [THROW_ID_06] The Optional Options Object's key reportProgressFuncFrom, callback function's "from" range, should be a number but it was given as type ${typeof S.reportProgressFuncFrom}, equal to ${JSON.stringify(S.reportProgressFuncFrom,null,4)}`);if(typeof S.reportProgressFuncTo!="number")throw new Error(`string-strip-html/stripHtml(): [THROW_ID_07] The Optional Options Object's key reportProgressFuncTo, callback function's "to" range, should be a number but it was given as type ${typeof S.reportProgressFuncTo}, equal to ${JSON.stringify(S.reportProgressFuncTo,null,4)}`)}S.ignoreTags=Sa(S.ignoreTags,"resolvedOpts.ignoreTags"),S.onlyStripTags=Sa(S.onlyStripTags,"resolvedOpts.onlyStripTags");let P=!!S.onlyStripTags.length;S.onlyStripTags.length&&S.ignoreTags.length&&(S.onlyStripTags=_d(S.onlyStripTags,...S.ignoreTags)),S.stripTogetherWithTheirContents?typeof S.stripTogetherWithTheirContents=="string"&&S.stripTogetherWithTheirContents.length&&(S.stripTogetherWithTheirContents=[S.stripTogetherWithTheirContents]):S.stripTogetherWithTheirContents=[];let L={};if(S.stripTogetherWithTheirContents&&Array.isArray(S.stripTogetherWithTheirContents)&&S.stripTogetherWithTheirContents.length&&!S.stripTogetherWithTheirContents.every((k,I)=>typeof k!="string"?(L.el=k,L.i=I,!1):!0))throw new TypeError(`string-strip-html/stripHtml(): [THROW_ID_08] Optional Options Object's key stripTogetherWithTheirContents was set to contain not just string elements! For example, element at index ${L.i} has a value ${L.el} which is not string but ${(typeof L.el).toLowerCase()}.`);S.cb||(S.cb=({rangesArr:k,proposedReturn:I})=>{I&&k.push(...I)});let $=new Wd({limitToBeAddedWhitespace:!0,limitLinebreaksCount:2});if(!S.skipHtmlDecoding)for(;e!==ba(e,{scope:"strict"});)e=ba(e,{scope:"strict"});let Q=!1,U=!1,oe=0,ue=0,se=e.length,je=Math.floor(se/2);for(let k=0;k<se;k++){if(S.reportProgressFunc&&(se>1e3&&se<2e3?k===je&&S.reportProgressFunc(Math.floor((S.reportProgressFuncTo-S.reportProgressFuncFrom)/2)):se>=2e3&&(oe=S.reportProgressFuncFrom+Math.floor(k/se*(S.reportProgressFuncTo-S.reportProgressFuncFrom)),oe!==ue&&(ue=oe,S.reportProgressFunc(oe)))),Object.keys(a).length>1&&a.lastClosingBracketAt&&a.lastClosingBracketAt<k&&e[k]!==" "&&b===null&&(b=k),!Q&&e[k]==="%"&&e[k-1]==="{"&&e.includes("%}",k+1)){f=null;let I=e.indexOf("%}",k)-1;if(I>k){k=I;continue}}if(!Q&&E(k)&&(!a||Object.keys(a).length<2)&&k>1){for(let I=k;I--;)if(e[I-1]===void 0||E(I)){let v=e[I-1]===void 0?I:I+1,M=e.slice(v,k+1)||"";if((M.includes("/>")||M.includes("/ >")||M.includes('="')||M.includes("='"))&&e!==`<${ha(M.trim(),"/>")}>`&&[...Tn].some(K=>ha(M.trim().split(/\s+/).filter(j=>j.trim()).filter((j,ne)=>ne===0),"/>").toLowerCase()===K)&&Ta(`<${M.trim()}>`,S).result===""){(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([v,k+1]),(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt)&&o.push([v,k+1]);let K=N(e,k,v,k+1,v,k+1),j=k+1;if(e[j]&&!e[j].trim()){for(let ne=j;ne<se;ne++)if(e[ne].trim()){j=ne;break}}S.cb({tag:a,deleteFrom:v,deleteTo:j,insert:K,rangesArr:$,proposedReturn:[v,j,K]})}break}}if(!U&&e[k]==="/"&&!a.quotes?.value&&Number.isInteger(a.lastOpeningBracketAt)&&!Number.isInteger(a.lastClosingBracketAt)&&(a.slashPresent=k),e[k]==='"'||e[k]==="'")if(!U&&a.nameStarts&&a?.quotes?.value===e[k])if(d.valueStarts===void 0)d={},delete a.quotes;else{d.valueEnds=k,d.value=e.slice(d.valueStarts,k),a.attributes.push(d),d={},delete a.quotes;let I;S.dumpLinkHrefsNearby?.enabled&&!r.length&&a.attributes.some(v=>{if(typeof v.name=="string"&&v.name.toLowerCase()==="href")return I=`${S.dumpLinkHrefsNearby?.wrapHeads||""}${v.value}${S.dumpLinkHrefsNearby?.wrapTails||""}`,!0})&&(m={tagName:a.name,hrefValue:I,openingTagEnds:void 0})}else!U&&!a.quotes&&a.nameStarts&&(a.quotes={},a.quotes.value=e[k],a.quotes.start=k,a.quotes.next=e.indexOf(e[k],k+1),d.nameStarts&&d.nameEnds&&d.nameEnds<k&&d.nameStarts<k&&!d.valueStarts&&(d.name=e.slice(d.nameStarts,d.nameEnds)));if(a.nameStarts!==void 0&&a.nameEnds===void 0&&(!e[k].trim()||!Yd(e[k]))){if(a.nameEnds=k,a.name=e.slice(a.nameStarts,a.nameEnds+(!E(k)&&e[k]!=="/"&&e[k+1]===void 0?1:0)),e[a.nameStarts-1]!=="!"&&!a.name.replace(/-/g,"").length||/^\d+$/.test(a.name[0])){a={};continue}if(typeof a.name=="string"&&a.name.toLowerCase()==="doctype"&&(U=!0),x(k)){T(S);let I=N(e,k,a.leftOuterWhitespace,k,a.lastOpeningBracketAt,k);(S.stripTogetherWithTheirContents.includes(a.name)||S.stripTogetherWithTheirContents.includes("*"))&&(o=o.filter(([v,M])=>!(v===a.leftOuterWhitespace&&M===k))),S.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k,insert:`${I}${g}${I}`,rangesArr:$,proposedReturn:[a.leftOuterWhitespace,k,`${I}${g}${I}`]}),F(),A(k,S,$)}}if(a.quotes?.start&&a.quotes.start<k&&!a.quotes.end&&d.nameEnds&&d.equalsAt&&!d.valueStarts&&(d.valueStarts=k),!a.quotes&&d.nameEnds&&e[k]==="="&&!d.valueStarts&&!d.equalsAt&&(d.equalsAt=k),!a.quotes&&d.nameStarts&&d.nameEnds&&!d.valueStarts&&e[k].trim()&&e[k]!=="="&&(a.attributes.push(d),d={}),!a.quotes&&d.nameStarts&&!d.nameEnds&&(U&&`'"`.includes(e[d.nameStarts])?d.nameStarts<k&&e[k]===e[d.nameStarts]&&(d.nameEnds=k+1,d.name=e.slice(d.nameStarts,d.nameEnds)):e[k].trim()?e[k]==="="?d.equalsAt||(d.nameEnds=k,d.equalsAt=k,d.name=e.slice(d.nameStarts,d.nameEnds)):e[k]==="/"||E(k)?(d.nameEnds=k,d.name=e.slice(d.nameStarts,d.nameEnds),a.attributes.push(d),d={}):x(k)&&(d.nameEnds=k,d.name=e.slice(d.nameStarts,d.nameEnds),a.attributes.push(d),d={}):(d.nameEnds=k,d.name=e.slice(d.nameStarts,d.nameEnds))),!a.quotes&&a.nameEnds<k&&!e[k-1].trim()&&e[k].trim()&&!"<>/!".includes(e[k])&&!d.nameStarts&&!a.lastClosingBracketAt&&(d.nameStarts=k),a.lastOpeningBracketAt!==null&&a.lastOpeningBracketAt<k&&e[k]==="/"&&a.onlyPlausible&&(a.onlyPlausible=!1),a.lastOpeningBracketAt!==null&&a.lastOpeningBracketAt<k&&e[k]!=="/"&&(a.onlyPlausible===void 0&&((!e[k].trim()||x(k))&&!a.slashPresent?a.onlyPlausible=!0:a.onlyPlausible=!1),e[k].trim()&&a.nameStarts===void 0&&!x(k)&&e[k]!=="/"&&!E(k)&&e[k]!=="!"&&(a.nameStarts=k,a.nameContainsLetters=!1)),a.nameStarts&&!a.quotes&&typeof e[k]=="string"&&e[k].toLowerCase()!==e[k].toUpperCase()&&(a.nameContainsLetters=!0),E(k)&&(xa(a,e,k)||a.quotes.value&&typeof a.lastOpeningBracketAt=="number"&&Jd(a.quotes.value,e.slice(a.lastOpeningBracketAt,k))%2===1&&!e.slice(a.lastOpeningBracketAt+1,k).includes("<")&&!e.slice(a.lastOpeningBracketAt+1,k).includes(">"))&&a.lastOpeningBracketAt!==void 0&&(a.lastClosingBracketAt=k,b=null,Object.keys(d).length&&(a.attributes.push(d),d={}),S.dumpLinkHrefsNearby?.enabled&&m.tagName&&!m.openingTagEnds&&(m.openingTagEnds=k)),(!U||e[k]===">")&&a.lastOpeningBracketAt!==void 0){if(a.lastClosingBracketAt===void 0){if(a.lastOpeningBracketAt<k&&!x(k)&&(e[k+1]===void 0||x(k+1)&&!a?.quotes?.value)&&a.nameContainsLetters&&typeof a.nameStarts=="number"){if(a.name=e.slice(a.nameStarts,a.nameEnds||k+1).toLowerCase(),(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([a.lastOpeningBracketAt,k+1]),S.ignoreTags.includes(a.name)||_(k,S,a)||!Tn.has(a.name)&&(a.onlyPlausible||S.stripRecognisedHTMLOnly)){a={},d={};continue}if((Tn.has(a.name)||Fi.has(a.name))&&(a.onlyPlausible===!1||a.onlyPlausible===!0&&a.attributes.length)||e[k+1]===void 0){T(S);let I=N(e,k,a.leftOuterWhitespace,k+1,a.lastOpeningBracketAt,a.lastClosingBracketAt);Q&&a.name==="script"&&a.slashPresent&&(Q=!1);let v;I===null||g===null?v=null:v=`${I}${g}${I}`,S.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k+1,insert:v,rangesArr:$,proposedReturn:[a.leftOuterWhitespace,k+1,v]}),F(),A(k,S,$)}if(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt&&o[o.length-1][1]!==k+1)if(S.stripTogetherWithTheirContents.includes(a.name)||S.stripTogetherWithTheirContents.includes("*")){let I;for(let v=r.length;v--;)r[v].name===a.name&&(I=r[v]);I?(o=o.filter(([v])=>v!==I.lastOpeningBracketAt),o.push([I.lastOpeningBracketAt,k+1])):o.push([a.lastOpeningBracketAt,k+1])}else o.push([a.lastOpeningBracketAt,k+1])}}else if(k>a.lastClosingBracketAt&&e[k].trim()||e[k+1]===void 0||S.ignoreIndentations&&`\r
|
|
104
|
+
`.includes(e[k])){let I=a.lastClosingBracketAt===k?k+1:k;S.trimOnlySpaces&&I===se-1&&b!==null&&b<k&&(I=b),(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([a.lastOpeningBracketAt,a.lastClosingBracketAt+1]);let v=S.ignoreTags.includes(a.name),M=_(k,S,a);if(!w||S.stripRecognisedHTMLOnly&&typeof a.name=="string"&&!Tn.has(a.name.toLowerCase())&&!Fi.has(a.name.toLowerCase())||!P&&(v||M)||P&&!S.onlyStripTags.includes(a.name)||S.ignoreTagsWithTheirContents.includes(a.name)){if(M)if(a.slashPresent){for(let K=i.length;K--;)if(i[K].name===a.name){i.splice(K,1);break}i.length||(w=!0)}else w&&(w=!1),i.push(a);S.cb({tag:a,deleteFrom:null,deleteTo:null,insert:null,rangesArr:$,proposedReturn:null}),a={},d={}}else if(!a.onlyPlausible||a.attributes.length===0&&a.name&&(Tn.has(a.name.toLowerCase())||Fi.has(a.name.toLowerCase()))||a.attributes?.some(K=>K.equalsAt)){(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt)&&o.push([a.lastOpeningBracketAt,a.lastClosingBracketAt+1]);let K=N(e,k,a.leftOuterWhitespace,I,a.lastOpeningBracketAt,a.lastClosingBracketAt);g="",y=!1,T(S,I);let j;typeof g=="string"&&g.length?(j=`${K}${g}${K===`
|
|
105
105
|
|
|
106
106
|
`?`
|
|
107
|
-
`:K}`,
|
|
108
|
-
`)?ne+=
|
|
109
|
-
`||e[k]==="\r")&&(f=k,h&&(h=!1))):(c!==null&&(!a.quotes&&d.equalsAt>c-1&&d.nameEnds&&d.equalsAt>d.nameEnds&&e[k]!=='"'&&e[k]!=="'"&&(mi(d)&&a.attributes.push(d),d={},a.equalsSpottedAt=void 0),c=null),h||(h=!0,b&&!Q&&typeof f=="number"&&k&&f<k-1&&(e.slice(f+1,k).trim()?f=null:x.ignoreIndentations||M.push([f+1,k])))),e[k]===" "?p===null&&(p=k):p!==null&&(p=null),a.name==="script"&&(Q=!a.slashPresent)}if(e&&!x.ignoreIndentations&&(x.trimOnlySpaces&&e[0]===" "||!x.trimOnlySpaces&&!e[0].trim()))for(let k=0;k<se;k++)if(x.trimOnlySpaces&&e[k]!==" "||!x.trimOnlySpaces&&e[k].trim()){M.push([0,k]);break}else e[k+1]||M.push([0,k+1]);if(e&&(x.trimOnlySpaces&&e[~-e.length]===" "||!x.trimOnlySpaces&&!e[~-e.length].trim())){for(let k=e.length;k--;)if(x.trimOnlySpaces&&e[k]!==" "||!x.trimOnlySpaces&&e[k].trim()){M.push([k+1,se]);break}}let C=M.current();if(!t?.cb&&C&&(C[0]&&!C[0][0]&&(C[0][1],M.ranges[0]=[M.ranges[0][0],M.ranges[0][1]]),C[C.length-1]&&C[C.length-1][1]===e.length&&(C[C.length-1][0],M.ranges))){let k=M.ranges[M.ranges.length-1][0];e[k-1]&&(x.trimOnlySpaces&&e[k-1]===" "||!x.trimOnlySpaces&&!e[k-1].trim())&&(k-=1);let O=M.ranges[M.ranges.length-1][2];M.ranges[M.ranges.length-1]=[k,M.ranges[M.ranges.length-1][1]],O?.trim()&&M.ranges[M.ranges.length-1].push(O.trimEnd())}return{log:{timeTakenInMilliseconds:Date.now()-n},result:Pd(e,M.current()),ranges:M.current(),allTagLocations:s,filteredTagLocations:o}}l(ga,"fe");function Li(e){return e.charAt(0).toUpperCase()+e.slice(1)}l(Li,"capitalize");function ya(e,t){return e.length<=t?e:e.slice(0,Math.max(0,t-3))+"..."}l(ya,"truncateWithEllipsis");function ba(e){return ga(e).result}l(ba,"stripHtmlTags");function Ud(e){const t=new URL(e);return{host:`${t.protocol}//${t.hostname}`,port:Number.parseInt(t.port,10)}}l(Ud,"urlToHostAndPort");function Hd(e,t){return`${e}:${t}`}l(Hd,"hostAndPortToUrl");function Vd(e){return e.toLowerCase().replaceAll(/[^\da-z]/gi," ").trim().replaceAll(/ +/g,"-")}l(Vd,"cleanClassName");const pt={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};pt.defaultMerge;function Gd(e,t){return t}l(Gd,"defaultMetaDataUpdater");function Wd(e,t){return e.filter(n=>n!==void 0)}l(Wd,"defaultFilterValues");var wa;(function(e){e[e.NOT=0]="NOT",e[e.RECORD=1]="RECORD",e[e.ARRAY=2]="ARRAY",e[e.SET=3]="SET",e[e.MAP=4]="MAP",e[e.OTHER=5]="OTHER"})(wa||(wa={}));function ka(e){return typeof e!="object"||e===null?0:Array.isArray(e)?2:Jd(e)?1:e instanceof Set?3:e instanceof Map?4:5}l(ka,"getObjectType");function Kd(e){const t=new Set;for(const n of e)for(const r of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(r);return t}l(Kd,"getKeys");function Yd(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}l(Yd,"objectHasProperty");function va(e){return{*[Symbol.iterator](){for(const t of e)for(const n of t)yield n}}}l(va,"getIterableOfIterables");const Sa=new Set(["[object Object]","[object Module]"]);function Jd(e){if(!Sa.has(Object.prototype.toString.call(e)))return!1;const{constructor:t}=e;if(t===void 0)return!0;const n=t.prototype;return!(n===null||typeof n!="object"||!Sa.has(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}l(Jd,"isRecord");function Qd(e,t,n){const r={};for(const i of Kd(e)){const s=[];for(const u of e)Yd(u,i)&&s.push(u[i]);if(s.length===0)continue;const o=t.metaDataUpdater(n,{key:i,parents:e}),a=xa(s,t,o);a!==pt.skip&&(i==="__proto__"?Object.defineProperty(r,i,{value:a,configurable:!0,enumerable:!0,writable:!0}):r[i]=a)}return r}l(Qd,"mergeRecords$1");function Xd(e){return e.flat()}l(Xd,"mergeArrays$1");function Zd(e){return new Set(va(e))}l(Zd,"mergeSets$1");function em(e){return new Map(va(e))}l(em,"mergeMaps$1");function tm(e){return e.at(-1)}l(tm,"mergeOthers$1");const ar={mergeRecords:Qd,mergeArrays:Xd,mergeSets:Zd,mergeMaps:em,mergeOthers:tm};function xn(...e){return nm({})(...e)}l(xn,"deepmerge");function nm(e,t){const n=rm(e,r);function r(...i){return xa(i,n,t)}return l(r,"customizedDeepmerge"),r}l(nm,"deepmergeCustom");function rm(e,t){return{defaultMergeFunctions:ar,mergeFunctions:{...ar,...Object.fromEntries(Object.entries(e).filter(([n,r])=>Object.hasOwn(ar,n)).map(([n,r])=>r===!1?[n,ar.mergeOthers]:[n,r]))},metaDataUpdater:e.metaDataUpdater??Gd,deepmerge:t,useImplicitDefaultMerging:e.enableImplicitDefaultMerging??!1,filterValues:e.filterValues===!1?void 0:e.filterValues??Wd,actions:pt}}l(rm,"getUtils");function xa(e,t,n){const r=t.filterValues?.(e,n)??e;if(r.length===0)return;if(r.length===1)return Ii(r,t,n);const i=ka(r[0]);if(i!==0&&i!==5){for(let s=1;s<r.length;s++)if(ka(r[s])!==i)return Ii(r,t,n)}switch(i){case 1:return im(r,t,n);case 2:return sm(r,t,n);case 3:return om(r,t,n);case 4:return am(r,t,n);default:return Ii(r,t,n)}}l(xa,"mergeUnknowns");function im(e,t,n){const r=t.mergeFunctions.mergeRecords(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):r}l(im,"mergeRecords");function sm(e,t,n){const r=t.mergeFunctions.mergeArrays(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):r}l(sm,"mergeArrays");function om(e,t,n){const r=t.mergeFunctions.mergeSets(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):r}l(om,"mergeSets");function am(e,t,n){const r=t.mergeFunctions.mergeMaps(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):r}l(am,"mergeMaps");function Ii(e,t,n){const r=t.mergeFunctions.mergeOthers(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):r}l(Ii,"mergeOthers");var lm="addenda",um="aircraft",cm="algae",fm="alumnae",pm="alumni",hm="alveoli",dm="amoebae",mm="analyses",gm="antennae",ym="antitheses",bm="apices",wm="appendices",km="automata",vm="axes",Sm="bacilli",xm="bacteria",Am="bacula",Cm="barracks",Tm="bases",Nm="beaux",Em="bison",_m="buffalo",Om="bureaus",Lm="cacti",Im="calves",Dm="carcinomata",Rm="carp",Pm="censuses",qm="chassis",Fm="cherubim",Mm="children",$m="cloacae",Bm="cod",jm="codices",zm="concerti",Um="consortia",Hm="corpora",Vm="crises",Gm="criteria",Wm="curricula",Km="cystomata",Ym="data",Jm="deer",Qm="diagnoses",Xm="dice",Zm="dwarfs",eg="echoes",tg="elves",ng="elk",rg="ellipses",ig="embargoes",sg="emphases",og="errata",ag="fezes",lg="firmware",ug="fish",cg="foci",fg="feet",pg="formulae",hg="fungi",dg="gallows",mg="genera",gg="glomeruli",yg="geese",bg="graffiti",wg="grouse",kg="halves",vg="hamuli",Sg="heroes",xg="hippopotami",Ag="hooves",Cg="hovercraft",Tg="hypotheses",Ng="ilia",Eg="incubi",_g="indices",Og="interstitia",Lg="kakapo",Ig="knives",Dg="larvae",Rg="leaves",Pg="libretti",qg="lives",Fg="loaves",Mg="loculi",$g="loci",Bg="lice",jg="men",zg="matrices",Ug="means",Hg="measles",Vg="media",Gg="media",Wg="memoranda",Kg="millennia",Yg="minutiae",Jg="moose",Qg="mice",Xg="nebulae",Zg="nemeses",ey="neuroses",ty="news",ny="nucleoli",ry="nuclei",iy="oases",sy="occipita",oy="offspring",ay="omphaloi",ly="opera",uy="ova",cy="oxen",fy="paralyses",py="parentheses",hy="people",dy="phenomena",my="phyla",gy="pike",yy="polyhedra",by="potatoes",wy="primi",ky="prognoses",vy="quizzes",Sy="radii",xy="referenda",Ay="salmon",Cy="scarves",Ty="scrota",Ny="selves",Ey="seminomata",_y="series",Oy="sheep",Ly="shelves",Iy="shrimp",Dy="simulacra",Ry="soliloquies",Py="spacecraft",qy="species",Fy="spectra",My="squid",$y="stimuli",By="strata",jy="swine",zy="syconia",Uy="syllabi",Hy="symposia",Vy="synopses",Gy="syntheses",Wy="tableaus",Ky="testes",Yy="those",Jy="theses",Qy="thieves",Xy="thrombi",Zy="tomatoes",eb="teeth",tb="tori",nb="trout",rb="tuna",ib="umbilici",sb="uteri",ob="vertebrae",ab="vertices",lb="vetoes",ub="vitae",cb="vortices",fb="watercraft",pb="wharves",hb="wives",db="wolves",mb="women",gb={addendum:lm,aircraft:um,alga:cm,alumna:fm,alumnus:pm,alveolus:hm,amoeba:dm,analysis:mm,antenna:gm,antithesis:ym,apex:bm,appendix:wm,automaton:km,axis:vm,bacillus:Sm,bacterium:xm,baculum:Am,barracks:Cm,basis:Tm,beau:Nm,bison:Em,buffalo:_m,bureau:Om,cactus:Lm,calf:Im,carcinoma:Dm,carp:Rm,census:Pm,chassis:qm,cherub:Fm,child:Mm,ch\u00E2teau:"ch\xE2teaus",cloaca:$m,cod:Bm,codex:jm,concerto:zm,consortium:Um,corpus:Hm,crisis:Vm,criterion:Gm,curriculum:Wm,cystoma:Km,datum:Ym,deer:Jm,diagnosis:Qm,die:Xm,dwarf:Zm,echo:eg,elf:tg,elk:ng,ellipsis:rg,embargo:ig,emphasis:sg,erratum:og,"faux pas":"faux pas",fez:ag,firmware:lg,fish:ug,focus:cg,foot:fg,formula:pg,fungus:hg,gallows:dg,genus:mg,glomerulus:gg,goose:yg,graffito:bg,grouse:wg,half:kg,hamulus:vg,hero:Sg,hippopotamus:xg,hoof:Ag,hovercraft:Cg,hypothesis:Tg,iliac:Ng,incubus:Eg,index:_g,interstitium:Og,kakapo:Lg,knife:Ig,larva:Dg,leaf:Rg,libretto:Pg,life:qg,loaf:Fg,loculus:Mg,locus:$g,louse:Bg,man:jg,matrix:zg,means:Ug,measles:Hg,media:Vg,medium:Gg,memorandum:Wg,millennium:Kg,minutia:Yg,moose:Jg,mouse:Qg,nebula:Xg,nemesis:Zg,neurosis:ey,news:ty,nucleolus:ny,nucleus:ry,oasis:iy,occiput:sy,offspring:oy,omphalos:ay,opus:ly,ovum:uy,ox:cy,paralysis:fy,parenthesis:py,person:hy,phenomenon:dy,phylum:my,pike:gy,polyhedron:yy,potato:by,primus:wy,prognosis:ky,quiz:vy,radius:Sy,referendum:xy,salmon:Ay,scarf:Cy,scrotum:Ty,self:Ny,seminoma:Ey,series:_y,sheep:Oy,shelf:Ly,shrimp:Iy,simulacrum:Dy,soliloquy:Ry,spacecraft:Py,species:qy,spectrum:Fy,squid:My,stimulus:$y,stratum:By,swine:jy,syconium:zy,syllabus:Uy,symposium:Hy,synopsis:Vy,synthesis:Gy,tableau:Wy,testis:Ky,that:Yy,thesis:Jy,thief:Qy,this:"these",thrombus:Xy,tomato:Zy,tooth:eb,torus:tb,trout:nb,tuna:rb,umbilicus:ib,uterus:sb,vertebra:ob,vertex:ab,veto:lb,vita:ub,vortex:cb,watercraft:fb,wharf:pb,wife:hb,wolf:db,woman:mb};const yb=gb;var bb=new Map(Object.entries(yb)),Aa=Zn(bb);function An(e,t,n){if(typeof t=="number"&&(n=t),Aa.has(e.toLowerCase())){t=Aa.get(e.toLowerCase());const r=e.charAt(0);r===r.toUpperCase()&&(t=r+t.slice(1)),e===e.toUpperCase()&&(t=t.toUpperCase())}else typeof t!="string"&&(t=(e.replace(/(?:s|x|z|ch|sh)$/i,"$&e").replace(/([^aeiou])y$/i,"$1ie")+"s").replace(/i?e?s$/i,r=>e.slice(-1)===e.slice(-1).toLowerCase()?r.toLowerCase():r.toUpperCase()));return Math.abs(n)===1?e:t}l(An,"plur");const Ca=l(e=>Number.isFinite(e)?e:0,"toZeroIfInfinity");function wb(e){return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(Ca(e*1e3)%1e3),nanoseconds:Math.trunc(Ca(e*1e6)%1e3)}}l(wb,"parseNumber");function kb(e){return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}l(kb,"parseBigint");function vb(e){switch(typeof e){case"number":{if(Number.isFinite(e))return wb(e);break}case"bigint":return kb(e)}throw new TypeError("Expected a finite number or bigint")}l(vb,"parseMilliseconds");const Sb=l(e=>e===0||e===0n,"isZero"),xb=l((e,t)=>t===1||t===1n?e:`${e}s`,"pluralize"),Ab=1e-7,Cb=24n*60n*60n*1000n;function Di(e,t){const n=typeof e=="bigint";if(!n&&!Number.isFinite(e))throw new TypeError("Expected a finite number or bigint");t={...t},t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let r=[];const i=l((c,p)=>{const f=Math.floor(c*10**p+Ab);return(Math.round(f)/10**p).toFixed(p)},"floorDecimals"),s=l((c,p,f,h)=>{if(!((r.length===0||!t.colonNotation)&&Sb(c)&&!(t.colonNotation&&f==="m"))){if(h=h??String(c),t.colonNotation){const d=h.includes(".")?h.split(".")[0].length:h.length,m=r.length>0?2:1;h="0".repeat(Math.max(0,m-d))+h}else h+=t.verbose?" "+xb(p,c):f;r.push(h)}},"add"),o=vb(e),a=BigInt(o.days);if(s(a/365n,"year","y"),s(a%365n,"day","d"),s(Number(o.hours),"hour","h"),s(Number(o.minutes),"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3){const c=Number(o.seconds),p=Number(o.milliseconds),f=Number(o.microseconds),h=Number(o.nanoseconds);if(s(c,"second","s"),t.formatSubMilliseconds)s(p,"millisecond","ms"),s(f,"microsecond","\xB5s"),s(h,"nanosecond","ns");else{const d=p+f/1e3+h/1e6,m=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,g=d>=1?Math.round(d):Math.ceil(d),y=m?d.toFixed(m):g;s(Number.parseFloat(y),"millisecond","ms",y)}}else{const c=(n?Number(e%Cb):e)/1e3%60,p=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,f=i(c,p),h=t.keepDecimalsOnWholeSeconds?f:f.replace(/\.0+$/,"");s(Number.parseFloat(h),"second","s",h)}if(r.length===0)return"0"+(t.verbose?" milliseconds":"ms");const u=t.colonNotation?":":" ";return typeof t.unitCount=="number"&&(r=r.slice(0,Math.max(t.unitCount,1))),r.join(u)}l(Di,"prettyMilliseconds");var Tb=Object.defineProperty,Ta=l((e,t)=>Tb(e,"name",{value:t,configurable:!0}),"a$1");const lr=typeof window>"u"?typeof process>"u"?"other":"node":"browser",Na=lr==="browser"?/windows/i.test(navigator.userAgent)?"windows":/mac/i.test(navigator.userAgent)?"mac":"other":lr==="node"?process.platform==="win32"?"windows":process.platform==="darwin"?"mac":"other":"other";let Ri=0;const Nb=5e3;let Ea=0;const Eb=100;async function Pi(){if(Na==="mac"&&lr==="node"){const{openApp:e}=await import("./index-UHZxbkBe.js");if(Ea>=Eb){console.warn("Too many Anki App launch attempts this session, ignoring");return}(Ri===0||Date.now()-Ri>Nb)&&(console.warn("Attempting to launch Anki app"),Ri=Date.now(),Ea++,await e("/Applications/Anki.app",{background:!0,newInstance:!1,wait:!1}))}else console.warn("Automatic Anki App launch is only supported on Mac OS in Node.js environment")}l(Pi,"h$1"),Ta(Pi,"launchAnkiApp");const Ue={autoLaunch:!1,customFetch:fetch.bind(globalThis),host:"http://127.0.0.1",key:void 0,port:8765,version:6};class ur{static{l(this,"w")}static{Ta(this,"YankiConnect")}autoLaunch;customFetch;host;key;port;version;card={answerCards:this.build("answerCards"),areDue:this.build("areDue"),areSuspended:this.build("areSuspended"),cardsInfo:this.build("cardsInfo"),cardsModTime:this.build("cardsModTime"),cardsToNotes:this.build("cardsToNotes"),findCards:this.build("findCards"),forgetCards:this.build("forgetCards"),getEaseFactors:this.build("getEaseFactors"),getIntervals:this.build("getIntervals"),relearnCards:this.build("relearnCards"),setEaseFactors:this.build("setEaseFactors"),setSpecificValueOfCard:this.build("setSpecificValueOfCard"),suspend:this.build("suspend"),suspended:this.build("suspended"),unsuspend:this.build("unsuspend")};deck={changeDeck:this.build("changeDeck"),cloneDeckConfigId:this.build("cloneDeckConfigId"),createDeck:this.build("createDeck"),deckNames:this.build("deckNames"),deckNamesAndIds:this.build("deckNamesAndIds"),deleteDecks:this.build("deleteDecks"),getDeckConfig:this.build("getDeckConfig"),getDeckStats:this.build("getDeckStats"),getDecks:this.build("getDecks"),removeDeckConfigId:this.build("removeDeckConfigId"),saveDeckConfig:this.build("saveDeckConfig"),setDeckConfigId:this.build("setDeckConfigId")};graphical={guiAddCards:this.build("guiAddCards"),guiAnswerCard:this.build("guiAnswerCard"),guiBrowse:this.build("guiBrowse"),guiCheckDatabase:this.build("guiCheckDatabase"),guiCurrentCard:this.build("guiCurrentCard"),guiDeckBrowser:this.build("guiDeckBrowser"),guiDeckOverview:this.build("guiDeckOverview"),guiDeckReview:this.build("guiDeckReview"),guiEditNote:this.build("guiEditNote"),guiExitAnki:this.build("guiExitAnki"),guiImportFile:this.build("guiImportFile"),guiSelectNote:this.build("guiSelectNote"),guiSelectedNotes:this.build("guiSelectedNotes"),guiShowAnswer:this.build("guiShowAnswer"),guiShowQuestion:this.build("guiShowQuestion"),guiStartCardTimer:this.build("guiStartCardTimer"),guiUndo:this.build("guiUndo")};media={deleteMediaFile:this.build("deleteMediaFile"),getMediaDirPath:this.build("getMediaDirPath"),getMediaFilesNames:this.build("getMediaFilesNames"),retrieveMediaFile:this.build("retrieveMediaFile"),storeMediaFile:this.build("storeMediaFile")};miscellaneous={apiReflect:this.build("apiReflect"),exportPackage:this.build("exportPackage"),getProfiles:this.build("getProfiles"),importPackage:this.build("importPackage"),loadProfile:this.build("loadProfile"),multi:this.build("multi"),reloadCollection:this.build("reloadCollection"),requestPermission:this.build("requestPermission"),sync:this.build("sync"),version:this.build("version")};model={createModel:this.build("createModel"),findAndReplaceInModels:this.build("findAndReplaceInModels"),findModelsById:this.build("findModelsById"),findModelsByName:this.build("findModelsByName"),modelFieldAdd:this.build("modelFieldAdd"),modelFieldDescriptions:this.build("modelFieldDescriptions"),modelFieldFonts:this.build("modelFieldFonts"),modelFieldNames:this.build("modelFieldNames"),modelFieldRemove:this.build("modelFieldRemove"),modelFieldRename:this.build("modelFieldRename"),modelFieldReposition:this.build("modelFieldReposition"),modelFieldSetDescription:this.build("modelFieldSetDescription"),modelFieldSetFont:this.build("modelFieldSetFont"),modelFieldSetFontSize:this.build("modelFieldSetFontSize"),modelFieldsOnTemplates:this.build("modelFieldsOnTemplates"),modelNames:this.build("modelNames"),modelNamesAndIds:this.build("modelNamesAndIds"),modelStyling:this.build("modelStyling"),modelTemplateAdd:this.build("modelTemplateAdd"),modelTemplateRemove:this.build("modelTemplateRemove"),modelTemplateRename:this.build("modelTemplateRename"),modelTemplateReposition:this.build("modelTemplateReposition"),modelTemplates:this.build("modelTemplates"),updateModelStyling:this.build("updateModelStyling"),updateModelTemplates:this.build("updateModelTemplates")};note={addNote:this.build("addNote"),addNotes:this.build("addNotes"),addTags:this.build("addTags"),canAddNotes:this.build("canAddNotes"),canAddNotesWithErrorDetail:this.build("canAddNotesWithErrorDetail"),clearUnusedTags:this.build("clearUnusedTags"),deleteNotes:this.build("deleteNotes"),findNotes:this.build("findNotes"),getNoteTags:this.build("getNoteTags"),getTags:this.build("getTags"),notesInfo:this.build("notesInfo"),removeEmptyNotes:this.build("removeEmptyNotes"),removeTags:this.build("removeTags"),replaceTags:this.build("replaceTags"),replaceTagsInAllNotes:this.build("replaceTagsInAllNotes"),updateNote:this.build("updateNote"),updateNoteFields:this.build("updateNoteFields"),updateNoteModel:this.build("updateNoteModel"),updateNoteTags:this.build("updateNoteTags")};statistic={cardReviews:this.build("cardReviews"),getCollectionStatsHTML:this.build("getCollectionStatsHTML"),getLatestReviewID:this.build("getLatestReviewID"),getNumCardsReviewedByDay:this.build("getNumCardsReviewedByDay"),getNumCardsReviewedToday:this.build("getNumCardsReviewedToday"),getReviewsOfCards:this.build("getReviewsOfCards"),insertReviews:this.build("insertReviews")};constructor(t){if(this.host=t?.host??Ue.host,this.port=t?.port??Ue.port,this.version=t?.version??Ue.version,this.key=t?.key??Ue.key,this.autoLaunch=t?.autoLaunch??Ue.autoLaunch,Ue.customFetch===void 0)throw new Error("A fetch implementation is required");if(this.customFetch=t?.customFetch??Ue.customFetch,(Na!=="mac"||lr!=="node")&&this.autoLaunch!==!1&&(console.warn("The autoLaunch option is only supported in a Node environment on macOS"),this.autoLaunch=!1),this.version!==6)throw new Error("YankiConnect currently only supports Anki-Connect API version 6");this.autoLaunch==="immediately"&&Pi()}build(t){return async n=>{const r=await this.invoke(t,n);if(r.error!==null)throw new Error(String(r.error));return r.result}}async invoke(t,n){let r,i;try{if(r=await this.customFetch(`${this.host}:${this.port}`,{body:JSON.stringify({action:t,...this.key===void 0?{}:{key:this.key},params:n,version:this.version}),headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},method:"POST",mode:"cors"}),r===void 0)throw new Error("Anki-Connect response is undefined");if(r.status!==200)throw new Error(`Anki-Connect response status is ${r.status}`);if(i=await r.json(),this.autoLaunch!==!1&&i.error==="collection is not available")throw new Error(i.error)}catch(s){if(this.autoLaunch!==!1)return console.warn("Can't connect to Anki app, retrying..."),await Pi(),await new Promise(o=>{setTimeout(o,500)}),n===void 0?this.invoke(t):this.invoke(t,n);throw s}if(!("error"in i))throw new Error("response is missing required error field");if(!("result"in i))throw new Error("response is missing required result field");return i}}const _a={ankiConnectOptions:Ue,ankiWeb:!1,dryRun:!1,namespace:bn};async function _b(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,dryRun:i,namespace:s}=xn(_a,e??{}),o=new ur(n),a=await di(o,s);await Lo(o,a,i);const u=await Do(o,[],a,i),c=a.length>0||u.length>0;return!i&&r&&(c||pi)&&await o.miscellaneous.sync(),{ankiWeb:r,decks:u,deleted:a,dryRun:i,duration:performance.now()-t,namespace:s}}l(_b,"cleanNotes");function Ob(e,t=!1){const n=e.decks.length,r=e.deleted.length;if(n===0&&r===0)return"Nothing to delete";const i=[];if(i.push(`${e.dryRun?"Will":"Successfully"} deleted ${e.deleted.length} ${An("note",r)} and ${e.decks.length} ${An("deck",n)} from Anki${e.dryRun?"":` in ${Di(e.duration)}`}.`),t){if(r>0){i.push("",e.dryRun?"Notes to delete:":"Deleted notes:");for(const s of e.deleted){const o=s.fields.Front.split(`
|
|
110
|
-
`)[0],a
|
|
111
|
-
`)}l(
|
|
112
|
-
`)[0],i
|
|
113
|
-
`)}l(
|
|
114
|
-
`)}l(
|
|
115
|
-
`)}}
|
|
116
|
-
`)?
|
|
107
|
+
`:K}`,I===a.lastClosingBracketAt+1&&(!e[I]||!qi.has(e[I]))&&(j+=" "),a.leftOuterWhitespace===a.lastOpeningBracketAt&&$.last()&&$.last()[1]<a.lastOpeningBracketAt&&(!S?.dumpLinkHrefsNearby?.putOnNewLine||!qi.has(e[I]))&&(j=" "+j)):j=K,j!==null&&(a.leftOuterWhitespace===0||!Ke(e,I-1))&&(!S.dumpLinkHrefsNearby?.enabled||a.name!=="a")&&(j=void 0);let ne=0;if(y&&qi.has(e[I])){S.dumpLinkHrefsNearby?.putOnNewLine&&(j=`${e[I]}${j||""}`);let Se=Ke(e,I);Se&&j?.endsWith(`
|
|
108
|
+
`)?ne+=Se-k:(!Se||Se>k)&&ne++}S.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:I+ne,insert:j,rangesArr:$,proposedReturn:[a.leftOuterWhitespace,I+ne,j]}),F(),A(k,S,$)}else a={};E(k)||(a={})}U&&(U=!1)}if((!Q||e[k]==="<"&&Ke(e,Ke(e,k))&&e[Ke(e,k)]==="/"&&e.startsWith("script",Ke(e,Ke(e,k))))&&x(k)&&!x(k-1)&&!`'"`.includes(e[k+1])&&(!`'"`.includes(e[k+2])||/\w/.test(e[k+1]))&&!(e[k+1]==="c"&&e[k+2]===":")&&!(e[k+1]==="f"&&e[k+2]==="m"&&e[k+3]==="t"&&e[k+4]===":")&&!(e[k+1]==="s"&&e[k+2]==="q"&&e[k+3]==="l"&&e[k+4]===":")&&!(e[k+1]==="x"&&e[k+2]===":")&&!(e[k+1]==="f"&&e[k+2]==="n"&&e[k+3]===":")&&xa(a,e,k)){if(E(Ke(e,k)))continue;if(a.nameEnds&&a.nameEnds<k&&!a.lastClosingBracketAt&&(a.onlyPlausible===!0&&a.attributes?.length||a.onlyPlausible===!1)){let I=N(e,k,a.leftOuterWhitespace,k,a.lastOpeningBracketAt,k);S.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k,insert:I,rangesArr:$,proposedReturn:[a.leftOuterWhitespace,k,I]}),A(k,S,$),a={},d={}}if(a.lastOpeningBracketAt!==void 0&&a.onlyPlausible&&a.name&&!a.quotes&&(a.lastOpeningBracketAt=void 0,a.name=void 0,a.onlyPlausible=!1),(a.lastOpeningBracketAt===void 0||!a.onlyPlausible)&&!a.quotes&&(a.lastOpeningBracketAt=k,a.slashPresent=!1,a.attributes=[],c===null?a.leftOuterWhitespace=k:S.trimOnlySpaces&&c===0?a.leftOuterWhitespace=h||k:a.leftOuterWhitespace=c,`${e[k+1]}${e[k+2]}${e[k+3]}`=="!--"||`${e[k+1]}${e[k+2]}${e[k+3]}${e[k+4]}${e[k+5]}${e[k+6]}${e[k+7]}${e[k+8]}`=="![CDATA[")){let I=!0;e[k+2]==="-"&&(I=!1);let v;for(let M=k;M<se;M++)if((!v&&I&&`${e[M-2]}${e[M-1]}${e[M]}`=="]]>"||!I&&`${e[M-2]}${e[M-1]}${e[M]}`=="-->")&&(v=M),v&&(v<M&&e[M].trim()||e[M+1]===void 0)){let K=M;(e[M+1]===void 0&&!e[M].trim()||e[M]===">")&&(K+=1),(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([a.lastOpeningBracketAt,v+1]),(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt)&&o.push([a.lastOpeningBracketAt,v+1]);let j=N(e,M,a.leftOuterWhitespace,K,a.lastOpeningBracketAt,v);S.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:K,insert:j,rangesArr:$,proposedReturn:[a.leftOuterWhitespace,K,j]}),k=M-1,e[M]===">"&&(k=M),a={},d={};break}}}!e[k].trim()||e[k].charCodeAt(0)===847?(c===null&&(c=k,a.lastOpeningBracketAt!==void 0&&a.lastOpeningBracketAt<k&&a.nameStarts&&a.nameStarts<a.lastOpeningBracketAt&&k===a.lastOpeningBracketAt+1&&!r.some(I=>I.name===a.name)&&(a.onlyPlausible=!0,a.name=void 0,a.nameStarts=void 0)),(e[k]===`
|
|
109
|
+
`||e[k]==="\r")&&(f=k,p&&(p=!1))):(c!==null&&(!a.quotes&&d.equalsAt>c-1&&d.nameEnds&&d.equalsAt>d.nameEnds&&e[k]!=='"'&&e[k]!=="'"&&(Si(d)&&a.attributes.push(d),d={},a.equalsSpottedAt=void 0),c=null),p||(p=!0,w&&!Q&&typeof f=="number"&&k&&f<k-1&&(e.slice(f+1,k).trim()?f=null:S.ignoreIndentations||$.push([f+1,k])))),e[k]===" "?h===null&&(h=k):h!==null&&(h=null),a.name==="script"&&(Q=!a.slashPresent)}if(e&&!S.ignoreIndentations&&(S.trimOnlySpaces&&e[0]===" "||!S.trimOnlySpaces&&!e[0].trim()))for(let k=0;k<se;k++)if(S.trimOnlySpaces&&e[k]!==" "||!S.trimOnlySpaces&&e[k].trim()){$.push([0,k]);break}else e[k+1]||$.push([0,k+1]);if(e&&(S.trimOnlySpaces&&e[~-e.length]===" "||!S.trimOnlySpaces&&!e[~-e.length].trim())){for(let k=e.length;k--;)if(S.trimOnlySpaces&&e[k]!==" "||!S.trimOnlySpaces&&e[k].trim()){$.push([k+1,se]);break}}let C=$.current();if(!t?.cb&&C&&(C[0]&&!C[0][0]&&(C[0][1],$.ranges[0]=[$.ranges[0][0],$.ranges[0][1]]),C[C.length-1]&&C[C.length-1][1]===e.length&&(C[C.length-1][0],$.ranges))){let k=$.ranges[$.ranges.length-1][0];e[k-1]&&(S.trimOnlySpaces&&e[k-1]===" "||!S.trimOnlySpaces&&!e[k-1].trim())&&(k-=1);let I=$.ranges[$.ranges.length-1][2];$.ranges[$.ranges.length-1]=[k,$.ranges[$.ranges.length-1][1]],I?.trim()&&$.ranges[$.ranges.length-1].push(I.trimEnd())}return{log:{timeTakenInMilliseconds:Date.now()-n},result:Hd(e,$.current()),ranges:$.current(),allTagLocations:s,filteredTagLocations:o}}l(Ta,"fe");function Mi(e){return e.charAt(0).toUpperCase()+e.slice(1)}l(Mi,"capitalize");function $i(e,t){if(e.length<=t)return e;const n=e.split(" ");for(;n.length>1&&n.join(" ").length>t;)n.pop();return`${n.join(" ").slice(0,t)}...`}l($i,"truncateWithEllipsis");function Bi(e){return Ta(e).result}l(Bi,"stripHtmlTags");function Xd(e){const t=new URL(e);return{host:`${t.protocol}//${t.hostname}`,port:Number.parseInt(t.port,10)}}l(Xd,"urlToHostAndPort");function Zd(e,t){return`${e}:${t}`}l(Zd,"hostAndPortToUrl");function em(e){return e.toLowerCase().replaceAll(/[^\da-z]/gi," ").trim().replaceAll(/ +/g,"-")}l(em,"cleanClassName");function Gt(e){if(e!==void 0)return e.trim()===""?void 0:e}l(Gt,"emptyIsUndefined");const ft={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};ft.defaultMerge;function tm(e,t){return t}l(tm,"defaultMetaDataUpdater");function nm(e,t){return e.filter(n=>n!==void 0)}l(nm,"defaultFilterValues");var Na;(function(e){e[e.NOT=0]="NOT",e[e.RECORD=1]="RECORD",e[e.ARRAY=2]="ARRAY",e[e.SET=3]="SET",e[e.MAP=4]="MAP",e[e.OTHER=5]="OTHER"})(Na||(Na={}));function Ea(e){return typeof e!="object"||e===null?0:Array.isArray(e)?2:sm(e)?1:e instanceof Set?3:e instanceof Map?4:5}l(Ea,"getObjectType");function rm(e){const t=new Set;for(const n of e)for(const r of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(r);return t}l(rm,"getKeys");function im(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}l(im,"objectHasProperty");function _a(e){return{*[Symbol.iterator](){for(const t of e)for(const n of t)yield n}}}l(_a,"getIterableOfIterables");const Oa=new Set(["[object Object]","[object Module]"]);function sm(e){if(!Oa.has(Object.prototype.toString.call(e)))return!1;const{constructor:t}=e;if(t===void 0)return!0;const n=t.prototype;return!(n===null||typeof n!="object"||!Oa.has(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}l(sm,"isRecord");function om(e,t,n){const r={};for(const i of rm(e)){const s=[];for(const u of e)im(u,i)&&s.push(u[i]);if(s.length===0)continue;const o=t.metaDataUpdater(n,{key:i,parents:e}),a=La(s,t,o);a!==ft.skip&&(i==="__proto__"?Object.defineProperty(r,i,{value:a,configurable:!0,enumerable:!0,writable:!0}):r[i]=a)}return r}l(om,"mergeRecords$1");function am(e){return e.flat()}l(am,"mergeArrays$1");function lm(e){return new Set(_a(e))}l(lm,"mergeSets$1");function um(e){return new Map(_a(e))}l(um,"mergeMaps$1");function cm(e){return e.at(-1)}l(cm,"mergeOthers$1");const hr={mergeRecords:om,mergeArrays:am,mergeSets:lm,mergeMaps:um,mergeOthers:cm};function Nn(...e){return fm({})(...e)}l(Nn,"deepmerge");function fm(e,t){const n=hm(e,r);function r(...i){return La(i,n,t)}return l(r,"customizedDeepmerge"),r}l(fm,"deepmergeCustom");function hm(e,t){return{defaultMergeFunctions:hr,mergeFunctions:{...hr,...Object.fromEntries(Object.entries(e).filter(([n,r])=>Object.hasOwn(hr,n)).map(([n,r])=>r===!1?[n,hr.mergeOthers]:[n,r]))},metaDataUpdater:e.metaDataUpdater??tm,deepmerge:t,useImplicitDefaultMerging:e.enableImplicitDefaultMerging??!1,filterValues:e.filterValues===!1?void 0:e.filterValues??nm,actions:ft}}l(hm,"getUtils");function La(e,t,n){const r=t.filterValues?.(e,n)??e;if(r.length===0)return;if(r.length===1)return ji(r,t,n);const i=Ea(r[0]);if(i!==0&&i!==5){for(let s=1;s<r.length;s++)if(Ea(r[s])!==i)return ji(r,t,n)}switch(i){case 1:return pm(r,t,n);case 2:return dm(r,t,n);case 3:return mm(r,t,n);case 4:return gm(r,t,n);default:return ji(r,t,n)}}l(La,"mergeUnknowns");function pm(e,t,n){const r=t.mergeFunctions.mergeRecords(e,t,n);return r===ft.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):r}l(pm,"mergeRecords");function dm(e,t,n){const r=t.mergeFunctions.mergeArrays(e,t,n);return r===ft.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):r}l(dm,"mergeArrays");function mm(e,t,n){const r=t.mergeFunctions.mergeSets(e,t,n);return r===ft.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):r}l(mm,"mergeSets");function gm(e,t,n){const r=t.mergeFunctions.mergeMaps(e,t,n);return r===ft.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):r}l(gm,"mergeMaps");function ji(e,t,n){const r=t.mergeFunctions.mergeOthers(e,t,n);return r===ft.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):r}l(ji,"mergeOthers");var ym="addenda",bm="aircraft",wm="algae",km="alumnae",vm="alumni",Sm="alveoli",xm="amoebae",Am="analyses",Cm="antennae",Tm="antitheses",Nm="apices",Em="appendices",_m="automata",Om="axes",Lm="bacilli",Im="bacteria",Dm="bacula",Rm="barracks",Pm="bases",Fm="beaux",qm="bison",Mm="buffalo",$m="bureaus",Bm="cacti",jm="calves",zm="carcinomata",Um="carp",Hm="censuses",Vm="chassis",Gm="cherubim",Wm="children",Km="cloacae",Ym="cod",Jm="codices",Qm="concerti",Xm="consortia",Zm="corpora",eg="crises",tg="criteria",ng="curricula",rg="cystomata",ig="data",sg="deer",og="diagnoses",ag="dice",lg="dwarfs",ug="echoes",cg="elves",fg="elk",hg="ellipses",pg="embargoes",dg="emphases",mg="errata",gg="fezes",yg="firmware",bg="fish",wg="foci",kg="feet",vg="formulae",Sg="fungi",xg="gallows",Ag="genera",Cg="glomeruli",Tg="geese",Ng="graffiti",Eg="grouse",_g="halves",Og="hamuli",Lg="heroes",Ig="hippopotami",Dg="hooves",Rg="hovercraft",Pg="hypotheses",Fg="ilia",qg="incubi",Mg="indices",$g="interstitia",Bg="kakapo",jg="knives",zg="larvae",Ug="leaves",Hg="libretti",Vg="lives",Gg="loaves",Wg="loculi",Kg="loci",Yg="lice",Jg="men",Qg="matrices",Xg="means",Zg="measles",ey="media",ty="media",ny="memoranda",ry="millennia",iy="minutiae",sy="moose",oy="mice",ay="nebulae",ly="nemeses",uy="neuroses",cy="news",fy="nucleoli",hy="nuclei",py="oases",dy="occipita",my="offspring",gy="omphaloi",yy="opera",by="ova",wy="oxen",ky="paralyses",vy="parentheses",Sy="people",xy="phenomena",Ay="phyla",Cy="pike",Ty="polyhedra",Ny="potatoes",Ey="primi",_y="prognoses",Oy="quizzes",Ly="radii",Iy="referenda",Dy="salmon",Ry="scarves",Py="scrota",Fy="selves",qy="seminomata",My="series",$y="sheep",By="shelves",jy="shrimp",zy="simulacra",Uy="soliloquies",Hy="spacecraft",Vy="species",Gy="spectra",Wy="squid",Ky="stimuli",Yy="strata",Jy="swine",Qy="syconia",Xy="syllabi",Zy="symposia",eb="synopses",tb="syntheses",nb="tableaus",rb="testes",ib="those",sb="theses",ob="thieves",ab="thrombi",lb="tomatoes",ub="teeth",cb="tori",fb="trout",hb="tuna",pb="umbilici",db="uteri",mb="vertebrae",gb="vertices",yb="vetoes",bb="vitae",wb="vortices",kb="watercraft",vb="wharves",Sb="wives",xb="wolves",Ab="women",Cb={addendum:ym,aircraft:bm,alga:wm,alumna:km,alumnus:vm,alveolus:Sm,amoeba:xm,analysis:Am,antenna:Cm,antithesis:Tm,apex:Nm,appendix:Em,automaton:_m,axis:Om,bacillus:Lm,bacterium:Im,baculum:Dm,barracks:Rm,basis:Pm,beau:Fm,bison:qm,buffalo:Mm,bureau:$m,cactus:Bm,calf:jm,carcinoma:zm,carp:Um,census:Hm,chassis:Vm,cherub:Gm,child:Wm,ch\u00E2teau:"ch\xE2teaus",cloaca:Km,cod:Ym,codex:Jm,concerto:Qm,consortium:Xm,corpus:Zm,crisis:eg,criterion:tg,curriculum:ng,cystoma:rg,datum:ig,deer:sg,diagnosis:og,die:ag,dwarf:lg,echo:ug,elf:cg,elk:fg,ellipsis:hg,embargo:pg,emphasis:dg,erratum:mg,"faux pas":"faux pas",fez:gg,firmware:yg,fish:bg,focus:wg,foot:kg,formula:vg,fungus:Sg,gallows:xg,genus:Ag,glomerulus:Cg,goose:Tg,graffito:Ng,grouse:Eg,half:_g,hamulus:Og,hero:Lg,hippopotamus:Ig,hoof:Dg,hovercraft:Rg,hypothesis:Pg,iliac:Fg,incubus:qg,index:Mg,interstitium:$g,kakapo:Bg,knife:jg,larva:zg,leaf:Ug,libretto:Hg,life:Vg,loaf:Gg,loculus:Wg,locus:Kg,louse:Yg,man:Jg,matrix:Qg,means:Xg,measles:Zg,media:ey,medium:ty,memorandum:ny,millennium:ry,minutia:iy,moose:sy,mouse:oy,nebula:ay,nemesis:ly,neurosis:uy,news:cy,nucleolus:fy,nucleus:hy,oasis:py,occiput:dy,offspring:my,omphalos:gy,opus:yy,ovum:by,ox:wy,paralysis:ky,parenthesis:vy,person:Sy,phenomenon:xy,phylum:Ay,pike:Cy,polyhedron:Ty,potato:Ny,primus:Ey,prognosis:_y,quiz:Oy,radius:Ly,referendum:Iy,salmon:Dy,scarf:Ry,scrotum:Py,self:Fy,seminoma:qy,series:My,sheep:$y,shelf:By,shrimp:jy,simulacrum:zy,soliloquy:Uy,spacecraft:Hy,species:Vy,spectrum:Gy,squid:Wy,stimulus:Ky,stratum:Yy,swine:Jy,syconium:Qy,syllabus:Xy,symposium:Zy,synopsis:eb,synthesis:tb,tableau:nb,testis:rb,that:ib,thesis:sb,thief:ob,this:"these",thrombus:ab,tomato:lb,tooth:ub,torus:cb,trout:fb,tuna:hb,umbilicus:pb,uterus:db,vertebra:mb,vertex:gb,veto:yb,vita:bb,vortex:wb,watercraft:kb,wharf:vb,wife:Sb,wolf:xb,woman:Ab};const Tb=Cb;var Nb=new Map(Object.entries(Tb)),Ia=ir(Nb);function En(e,t,n){if(typeof t=="number"&&(n=t),Ia.has(e.toLowerCase())){t=Ia.get(e.toLowerCase());const r=e.charAt(0);r===r.toUpperCase()&&(t=r+t.slice(1)),e===e.toUpperCase()&&(t=t.toUpperCase())}else typeof t!="string"&&(t=(e.replace(/(?:s|x|z|ch|sh)$/i,"$&e").replace(/([^aeiou])y$/i,"$1ie")+"s").replace(/i?e?s$/i,r=>e.slice(-1)===e.slice(-1).toLowerCase()?r.toLowerCase():r.toUpperCase()));return Math.abs(n)===1?e:t}l(En,"plur");const Da=l(e=>Number.isFinite(e)?e:0,"toZeroIfInfinity");function Eb(e){return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(Da(e*1e3)%1e3),nanoseconds:Math.trunc(Da(e*1e6)%1e3)}}l(Eb,"parseNumber");function _b(e){return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}l(_b,"parseBigint");function Ob(e){switch(typeof e){case"number":{if(Number.isFinite(e))return Eb(e);break}case"bigint":return _b(e)}throw new TypeError("Expected a finite number or bigint")}l(Ob,"parseMilliseconds");const Lb=l(e=>e===0||e===0n,"isZero"),Ib=l((e,t)=>t===1||t===1n?e:`${e}s`,"pluralize"),Db=1e-7,Rb=24n*60n*60n*1000n;function zi(e,t){const n=typeof e=="bigint";if(!n&&!Number.isFinite(e))throw new TypeError("Expected a finite number or bigint");t={...t},t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let r=[];const i=l((c,h)=>{const f=Math.floor(c*10**h+Db);return(Math.round(f)/10**h).toFixed(h)},"floorDecimals"),s=l((c,h,f,p)=>{if(!((r.length===0||!t.colonNotation)&&Lb(c)&&!(t.colonNotation&&f==="m"))){if(p=p??String(c),t.colonNotation){const d=p.includes(".")?p.split(".")[0].length:p.length,m=r.length>0?2:1;p="0".repeat(Math.max(0,m-d))+p}else p+=t.verbose?" "+Ib(h,c):f;r.push(p)}},"add"),o=Ob(e),a=BigInt(o.days);if(s(a/365n,"year","y"),s(a%365n,"day","d"),s(Number(o.hours),"hour","h"),s(Number(o.minutes),"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3){const c=Number(o.seconds),h=Number(o.milliseconds),f=Number(o.microseconds),p=Number(o.nanoseconds);if(s(c,"second","s"),t.formatSubMilliseconds)s(h,"millisecond","ms"),s(f,"microsecond","\xB5s"),s(p,"nanosecond","ns");else{const d=h+f/1e3+p/1e6,m=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,g=d>=1?Math.round(d):Math.ceil(d),y=m?d.toFixed(m):g;s(Number.parseFloat(y),"millisecond","ms",y)}}else{const c=(n?Number(e%Rb):e)/1e3%60,h=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,f=i(c,h),p=t.keepDecimalsOnWholeSeconds?f:f.replace(/\.0+$/,"");s(Number.parseFloat(p),"second","s",p)}if(r.length===0)return"0"+(t.verbose?" milliseconds":"ms");const u=t.colonNotation?":":" ";return typeof t.unitCount=="number"&&(r=r.slice(0,Math.max(t.unitCount,1))),r.join(u)}l(zi,"prettyMilliseconds");var Pb=Object.defineProperty,Ra=l((e,t)=>Pb(e,"name",{value:t,configurable:!0}),"a$1");const pr=typeof window>"u"?typeof process>"u"?"other":"node":"browser",Pa=pr==="browser"?/windows/i.test(navigator.userAgent)?"windows":/mac/i.test(navigator.userAgent)?"mac":"other":pr==="node"?process.platform==="win32"?"windows":process.platform==="darwin"?"mac":"other":"other";let Ui=0;const Fb=5e3;let Fa=0;const qb=100;async function Hi(){if(Pa==="mac"&&pr==="node"){const{openApp:e}=await import("./index-UHZxbkBe.js");if(Fa>=qb){console.warn("Too many Anki App launch attempts this session, ignoring");return}(Ui===0||Date.now()-Ui>Fb)&&(console.warn("Attempting to launch Anki app"),Ui=Date.now(),Fa++,await e("/Applications/Anki.app",{background:!0,newInstance:!1,wait:!1}))}else console.warn("Automatic Anki App launch is only supported on Mac OS in Node.js environment")}l(Hi,"h$1"),Ra(Hi,"launchAnkiApp");const He={autoLaunch:!1,customFetch:fetch.bind(globalThis),host:"http://127.0.0.1",key:void 0,port:8765,version:6};class dr{static{l(this,"w")}static{Ra(this,"YankiConnect")}autoLaunch;customFetch;host;key;port;version;card={answerCards:this.build("answerCards"),areDue:this.build("areDue"),areSuspended:this.build("areSuspended"),cardsInfo:this.build("cardsInfo"),cardsModTime:this.build("cardsModTime"),cardsToNotes:this.build("cardsToNotes"),findCards:this.build("findCards"),forgetCards:this.build("forgetCards"),getEaseFactors:this.build("getEaseFactors"),getIntervals:this.build("getIntervals"),relearnCards:this.build("relearnCards"),setEaseFactors:this.build("setEaseFactors"),setSpecificValueOfCard:this.build("setSpecificValueOfCard"),suspend:this.build("suspend"),suspended:this.build("suspended"),unsuspend:this.build("unsuspend")};deck={changeDeck:this.build("changeDeck"),cloneDeckConfigId:this.build("cloneDeckConfigId"),createDeck:this.build("createDeck"),deckNames:this.build("deckNames"),deckNamesAndIds:this.build("deckNamesAndIds"),deleteDecks:this.build("deleteDecks"),getDeckConfig:this.build("getDeckConfig"),getDeckStats:this.build("getDeckStats"),getDecks:this.build("getDecks"),removeDeckConfigId:this.build("removeDeckConfigId"),saveDeckConfig:this.build("saveDeckConfig"),setDeckConfigId:this.build("setDeckConfigId")};graphical={guiAddCards:this.build("guiAddCards"),guiAnswerCard:this.build("guiAnswerCard"),guiBrowse:this.build("guiBrowse"),guiCheckDatabase:this.build("guiCheckDatabase"),guiCurrentCard:this.build("guiCurrentCard"),guiDeckBrowser:this.build("guiDeckBrowser"),guiDeckOverview:this.build("guiDeckOverview"),guiDeckReview:this.build("guiDeckReview"),guiEditNote:this.build("guiEditNote"),guiExitAnki:this.build("guiExitAnki"),guiImportFile:this.build("guiImportFile"),guiSelectNote:this.build("guiSelectNote"),guiSelectedNotes:this.build("guiSelectedNotes"),guiShowAnswer:this.build("guiShowAnswer"),guiShowQuestion:this.build("guiShowQuestion"),guiStartCardTimer:this.build("guiStartCardTimer"),guiUndo:this.build("guiUndo")};media={deleteMediaFile:this.build("deleteMediaFile"),getMediaDirPath:this.build("getMediaDirPath"),getMediaFilesNames:this.build("getMediaFilesNames"),retrieveMediaFile:this.build("retrieveMediaFile"),storeMediaFile:this.build("storeMediaFile")};miscellaneous={apiReflect:this.build("apiReflect"),exportPackage:this.build("exportPackage"),getProfiles:this.build("getProfiles"),importPackage:this.build("importPackage"),loadProfile:this.build("loadProfile"),multi:this.build("multi"),reloadCollection:this.build("reloadCollection"),requestPermission:this.build("requestPermission"),sync:this.build("sync"),version:this.build("version")};model={createModel:this.build("createModel"),findAndReplaceInModels:this.build("findAndReplaceInModels"),findModelsById:this.build("findModelsById"),findModelsByName:this.build("findModelsByName"),modelFieldAdd:this.build("modelFieldAdd"),modelFieldDescriptions:this.build("modelFieldDescriptions"),modelFieldFonts:this.build("modelFieldFonts"),modelFieldNames:this.build("modelFieldNames"),modelFieldRemove:this.build("modelFieldRemove"),modelFieldRename:this.build("modelFieldRename"),modelFieldReposition:this.build("modelFieldReposition"),modelFieldSetDescription:this.build("modelFieldSetDescription"),modelFieldSetFont:this.build("modelFieldSetFont"),modelFieldSetFontSize:this.build("modelFieldSetFontSize"),modelFieldsOnTemplates:this.build("modelFieldsOnTemplates"),modelNames:this.build("modelNames"),modelNamesAndIds:this.build("modelNamesAndIds"),modelStyling:this.build("modelStyling"),modelTemplateAdd:this.build("modelTemplateAdd"),modelTemplateRemove:this.build("modelTemplateRemove"),modelTemplateRename:this.build("modelTemplateRename"),modelTemplateReposition:this.build("modelTemplateReposition"),modelTemplates:this.build("modelTemplates"),updateModelStyling:this.build("updateModelStyling"),updateModelTemplates:this.build("updateModelTemplates")};note={addNote:this.build("addNote"),addNotes:this.build("addNotes"),addTags:this.build("addTags"),canAddNotes:this.build("canAddNotes"),canAddNotesWithErrorDetail:this.build("canAddNotesWithErrorDetail"),clearUnusedTags:this.build("clearUnusedTags"),deleteNotes:this.build("deleteNotes"),findNotes:this.build("findNotes"),getNoteTags:this.build("getNoteTags"),getTags:this.build("getTags"),notesInfo:this.build("notesInfo"),removeEmptyNotes:this.build("removeEmptyNotes"),removeTags:this.build("removeTags"),replaceTags:this.build("replaceTags"),replaceTagsInAllNotes:this.build("replaceTagsInAllNotes"),updateNote:this.build("updateNote"),updateNoteFields:this.build("updateNoteFields"),updateNoteModel:this.build("updateNoteModel"),updateNoteTags:this.build("updateNoteTags")};statistic={cardReviews:this.build("cardReviews"),getCollectionStatsHTML:this.build("getCollectionStatsHTML"),getLatestReviewID:this.build("getLatestReviewID"),getNumCardsReviewedByDay:this.build("getNumCardsReviewedByDay"),getNumCardsReviewedToday:this.build("getNumCardsReviewedToday"),getReviewsOfCards:this.build("getReviewsOfCards"),insertReviews:this.build("insertReviews")};constructor(t){if(this.host=t?.host??He.host,this.port=t?.port??He.port,this.version=t?.version??He.version,this.key=t?.key??He.key,this.autoLaunch=t?.autoLaunch??He.autoLaunch,He.customFetch===void 0)throw new Error("A fetch implementation is required");if(this.customFetch=t?.customFetch??He.customFetch,(Pa!=="mac"||pr!=="node")&&this.autoLaunch!==!1&&(console.warn("The autoLaunch option is only supported in a Node environment on macOS"),this.autoLaunch=!1),this.version!==6)throw new Error("YankiConnect currently only supports Anki-Connect API version 6");this.autoLaunch==="immediately"&&Hi()}build(t){return async n=>{const r=await this.invoke(t,n);if(r.error!==null)throw new Error(String(r.error));return r.result}}async invoke(t,n){let r,i;try{if(r=await this.customFetch(`${this.host}:${this.port}`,{body:JSON.stringify({action:t,...this.key===void 0?{}:{key:this.key},params:n,version:this.version}),headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},method:"POST",mode:"cors"}),r===void 0)throw new Error("Anki-Connect response is undefined");if(r.status!==200)throw new Error(`Anki-Connect response status is ${r.status}`);if(i=await r.json(),this.autoLaunch!==!1&&i.error==="collection is not available")throw new Error(i.error)}catch(s){if(this.autoLaunch!==!1)return console.warn("Can't connect to Anki app, retrying..."),await Hi(),await new Promise(o=>{setTimeout(o,500)}),n===void 0?this.invoke(t):this.invoke(t,n);throw s}if(!("error"in i))throw new Error("response is missing required error field");if(!("result"in i))throw new Error("response is missing required result field");return i}}const qa={ankiConnectOptions:He,ankiWeb:!1,dryRun:!1,namespace:Sn};async function Mb(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,dryRun:i,namespace:s}=Nn(qa,e??{}),o=new dr(n),a=await vi(o,s);await jo(o,a,i);const u=await Uo(o,[],a,i),c=a.length>0||u.length>0;return!i&&r&&(c||wi)&&await o.miscellaneous.sync(),{ankiWeb:r,decks:u,deleted:a,dryRun:i,duration:performance.now()-t,namespace:s}}l(Mb,"cleanNotes");function $b(e,t=!1){const n=e.decks.length,r=e.deleted.length;if(n===0&&r===0)return"Nothing to delete";const i=[];if(i.push(`${e.dryRun?"Will":"Successfully"} deleted ${e.deleted.length} ${En("note",r)} and ${e.decks.length} ${En("deck",n)} from Anki${e.dryRun?"":` in ${zi(e.duration)}`}.`),t){if(r>0){i.push("",e.dryRun?"Notes to delete:":"Deleted notes:");for(const s of e.deleted){const o=s.fields.Front.split(`
|
|
110
|
+
`)[0],a=$i(Bi(o),50);i.push(` Note ID ${s.noteId} ${a}`)}}if(n>0){i.push("",e.dryRun?"Decks to delete:":"Deleted decks:");for(const s of e.decks)i.push(` ${s}`)}}return i.join(`
|
|
111
|
+
`)}l($b,"formatCleanReport");const Ma={ankiConnectOptions:He,namespace:Sn};async function Bb(e){const t=performance.now(),{ankiConnectOptions:n,namespace:r}=Nn(Ma,e??{}),i=new dr(n),s=await vi(i,r);return{duration:performance.now()-t,namespace:r,notes:s}}l(Bb,"listNotes");function jb(e){if(e.notes.length===0)return"No notes found.";const t=[];for(const n of e.notes){const r=n.fields.Front.split(`
|
|
112
|
+
`)[0],i=$i(Bi(r),50);t.push(`Note ID ${n.noteId} ${i}`)}return t.join(`
|
|
113
|
+
`)}l(jb,"formatListReport");const $a={ankiConnectOptions:He,ankiWeb:!1,css:ph,dryRun:!1};async function zb(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,css:i,dryRun:s}=Nn($a,e??{}),o=new dr(n),a=[];for(const c of Bo){const h=await Ho(o,c,i,s);a.push({action:h?"updated":"unchanged",name:c})}const u=a.some(c=>c.action!=="unchanged");return!s&&r&&(u||wi)&&await o.miscellaneous.sync(),{ankiWeb:r,dryRun:s,duration:performance.now()-t,models:a}}l(zb,"setStyle");function Ub(e,t=!1){const n=[],r=e.models.filter(s=>s.action==="unchanged"),i=e.models.filter(s=>s.action==="updated");if(n.push(`${e.dryRun?"Will":"Successfully"} update ${i.length} ${En("model",i.length)} and left ${r.length} ${En("model",r.length)} unchanged${e.dryRun?"":` in ${zi(e.duration)}`}.`),t){if(i.length>0){n.push("",e.dryRun?"Models to update:":"Updated models:");for(const s of i)n.push(` ${s.name}`)}if(r.length>0){n.push("",e.dryRun?"Models unchanged:":"Unchanged models:");for(const s of r)n.push(` ${s.name}`)}}return n.join(`
|
|
114
|
+
`)}l(Ub,"formatStyleReport");const Vi=Symbol.for("yaml.alias"),Gi=Symbol.for("yaml.document"),ht=Symbol.for("yaml.map"),Ba=Symbol.for("yaml.pair"),it=Symbol.for("yaml.scalar"),Wt=Symbol.for("yaml.seq"),Ie=Symbol.for("yaml.node.type"),Kt=l(e=>!!e&&typeof e=="object"&&e[Ie]===Vi,"isAlias"),mr=l(e=>!!e&&typeof e=="object"&&e[Ie]===Gi,"isDocument"),_n=l(e=>!!e&&typeof e=="object"&&e[Ie]===ht,"isMap"),ae=l(e=>!!e&&typeof e=="object"&&e[Ie]===Ba,"isPair"),re=l(e=>!!e&&typeof e=="object"&&e[Ie]===it,"isScalar"),On=l(e=>!!e&&typeof e=="object"&&e[Ie]===Wt,"isSeq");function le(e){if(e&&typeof e=="object")switch(e[Ie]){case ht:case Wt:return!0}return!1}l(le,"isCollection");function ce(e){if(e&&typeof e=="object")switch(e[Ie]){case Vi:case ht:case it:case Wt:return!0}return!1}l(ce,"isNode");const Hb=l(e=>(re(e)||le(e))&&!!e.anchor,"hasAnchor"),kt=Symbol("break visit"),Vb=Symbol("skip children"),Ln=Symbol("remove node");function vt(e,t){const n=Gb(t);mr(e)?Yt(null,e.contents,n,Object.freeze([e]))===Ln&&(e.contents=null):Yt(null,e,n,Object.freeze([]))}l(vt,"visit$1"),vt.BREAK=kt,vt.SKIP=Vb,vt.REMOVE=Ln;function Yt(e,t,n,r){const i=Wb(e,t,n,r);if(ce(i)||ae(i))return Kb(e,r,i),Yt(e,i,n,r);if(typeof i!="symbol"){if(le(t)){r=Object.freeze(r.concat(t));for(let s=0;s<t.items.length;++s){const o=Yt(s,t.items[s],n,r);if(typeof o=="number")s=o-1;else{if(o===kt)return kt;o===Ln&&(t.items.splice(s,1),s-=1)}}}else if(ae(t)){r=Object.freeze(r.concat(t));const s=Yt("key",t.key,n,r);if(s===kt)return kt;s===Ln&&(t.key=null);const o=Yt("value",t.value,n,r);if(o===kt)return kt;o===Ln&&(t.value=null)}}return i}l(Yt,"visit_");function Gb(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}l(Gb,"initVisitor");function Wb(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(_n(t))return n.Map?.(e,t,r);if(On(t))return n.Seq?.(e,t,r);if(ae(t))return n.Pair?.(e,t,r);if(re(t))return n.Scalar?.(e,t,r);if(Kt(t))return n.Alias?.(e,t,r)}l(Wb,"callVisitor");function Kb(e,t,n){const r=t[t.length-1];if(le(r))r.items[e]=n;else if(ae(r))e==="key"?r.key=n:r.value=n;else if(mr(r))r.contents=n;else{const i=Kt(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}l(Kb,"replaceNode");const Yb={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Jb=l(e=>e.replace(/[!,[\]{}]/g,t=>Yb[t]),"escapeTagName");class Te{static{l(this,"Directives")}constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Te.defaultYaml,t),this.tags=Object.assign({},Te.defaultTags,n)}clone(){const t=new Te(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Te(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Te.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Te.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Te.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Te.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[s,o]=r;return this.tags[s]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[s]=r;if(s==="1.1"||s==="1.2")return this.yaml.version=s,!0;{const o=/^\d+\.\d+$/.test(s);return n(6,`Unsupported YAML version ${s}`,o),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const o=t.slice(2,-1);return o==="!"||o==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),o)}const[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);const s=this.tags[r];if(s)try{return s+decodeURIComponent(i)}catch(o){return n(String(o)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+Jb(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let i;if(t&&r.length>0&&ce(t.contents)){const s={};vt(t.contents,(o,a)=>{ce(a)&&a.tag&&(s[a.tag]=!0)}),i=Object.keys(s)}else i=[];for(const[s,o]of r)s==="!!"&&o==="tag:yaml.org,2002:"||(!t||i.some(a=>a.startsWith(o)))&&n.push(`%TAG ${s} ${o}`);return n.join(`
|
|
115
|
+
`)}}Te.defaultYaml={explicit:!1,version:"1.2"},Te.defaultTags={"!!":"tag:yaml.org,2002:"};function ja(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}l(ja,"anchorIsValid");function za(e){const t=new Set;return vt(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}l(za,"anchorNames");function Ua(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}l(Ua,"findNewAnchor");function Qb(e,t){const n=[],r=new Map;let i=null;return{onAnchor:s=>{n.push(s),i||(i=za(e));const o=Ua(t,i);return i.add(o),o},setAnchors:()=>{for(const s of n){const o=r.get(s);if(typeof o=="object"&&o.anchor&&(re(o.node)||le(o.node)))o.node.anchor=o.anchor;else{const a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=s,a}}},sourceObjects:r}}l(Qb,"createNodeAnchors");function Jt(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,s=r.length;i<s;++i){const o=r[i],a=Jt(e,r,String(i),o);a===void 0?delete r[i]:a!==o&&(r[i]=a)}else if(r instanceof Map)for(const i of Array.from(r.keys())){const s=r.get(i),o=Jt(e,r,i,s);o===void 0?r.delete(i):o!==s&&r.set(i,o)}else if(r instanceof Set)for(const i of Array.from(r)){const s=Jt(e,r,i,i);s===void 0?r.delete(i):s!==i&&(r.delete(i),r.add(s))}else for(const[i,s]of Object.entries(r)){const o=Jt(e,r,i,s);o===void 0?delete r[i]:o!==s&&(r[i]=o)}return e.call(t,n,r)}l(Jt,"applyReviver");function De(e,t,n){if(Array.isArray(e))return e.map((r,i)=>De(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!Hb(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=s=>{r.res=s,delete n.onCreate};const i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!n?.keep?Number(e):e}l(De,"toJS");class Wi{static{l(this,"NodeBase")}constructor(t){Object.defineProperty(this,Ie,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:s}={}){if(!mr(t))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},a=De(this,"",o);if(typeof i=="function")for(const{count:u,res:c}of o.anchors.values())i(c,u);return typeof s=="function"?Jt(s,{"":a},"",a):a}}class Ki extends Wi{static{l(this,"Alias")}constructor(t){super(Vi),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return vt(t,{Node:(r,i)=>{if(i===this)return vt.BREAK;i.anchor===this.source&&(n=i)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:i,maxAliasCount:s}=n,o=this.resolve(i);if(!o){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(u)}let a=r.get(o);if(a||(De(o,null,n),a=r.get(o)),!a||a.res===void 0){const u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(s>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=gr(i,o,r)),a.count*a.aliasCount>s)){const u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}return a.res}toString(t,n,r){const i=`*${this.source}`;if(t){if(ja(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const s=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(s)}if(t.implicitKey)return`${i} `}return i}}function gr(e,t,n){if(Kt(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(le(t)){let r=0;for(const i of t.items){const s=gr(e,i,n);s>r&&(r=s)}return r}else if(ae(t)){const r=gr(e,t.key,n),i=gr(e,t.value,n);return Math.max(r,i)}return 1}l(gr,"getAliasCount");const Ha=l(e=>!e||typeof e!="function"&&typeof e!="object","isScalarValue");class V extends Wi{static{l(this,"Scalar")}constructor(t){super(it),this.value=t}toJSON(t,n){return n?.keep?this.value:De(this.value,t,n)}toString(){return String(this.value)}}V.BLOCK_FOLDED="BLOCK_FOLDED",V.BLOCK_LITERAL="BLOCK_LITERAL",V.PLAIN="PLAIN",V.QUOTE_DOUBLE="QUOTE_DOUBLE",V.QUOTE_SINGLE="QUOTE_SINGLE";const Xb="tag:yaml.org,2002:";function Zb(e,t,n){if(t){const r=n.filter(s=>s.tag===t),i=r.find(s=>!s.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>r.identify?.(e)&&!r.format)}l(Zb,"findTagObject");function In(e,t,n){if(mr(e)&&(e=e.contents),ce(e))return e;if(ae(e)){const f=n.schema[ht].createNode?.(n.schema,null,n);return f.items.push(e),f}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:i,onTagObj:s,schema:o,sourceObjects:a}=n;let u;if(r&&e&&typeof e=="object"){if(u=a.get(e),u)return u.anchor||(u.anchor=i(e)),new Ki(u.anchor);u={anchor:null,node:null},a.set(e,u)}t?.startsWith("!!")&&(t=Xb+t.slice(2));let c=Zb(e,t,o.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const f=new V(e);return u&&(u.node=f),f}c=e instanceof Map?o[ht]:Symbol.iterator in Object(e)?o[Wt]:o[ht]}s&&(s(c),delete n.onTagObj);const h=c?.createNode?c.createNode(n.schema,e,n):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(n.schema,e,n):new V(e);return t?h.tag=t:c.default||(h.tag=c.tag),u&&(u.node=h),h}l(In,"createNode");function yr(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){const s=t[i];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){const o=[];o[s]=r,r=o}else r=new Map([[s,r]])}return In(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}l(yr,"collectionFromPath");const Dn=l(e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,"isEmptyPath");class Yi extends Wi{static{l(this,"Collection")}constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>ce(r)||ae(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Dn(t))this.add(n);else{const[r,...i]=t,s=this.get(r,!0);if(le(s))s.addIn(i,n);else if(s===void 0&&this.schema)this.set(r,yr(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const i=this.get(n,!0);if(le(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...i]=t,s=this.get(r,!0);return i.length===0?!n&&re(s)?s.value:s:le(s)?s.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!ae(n))return!1;const r=n.value;return r==null||t&&re(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const i=this.get(n,!0);return le(i)?i.hasIn(r):!1}setIn(t,n){const[r,...i]=t;if(i.length===0)this.set(r,n);else{const s=this.get(r,!0);if(le(s))s.setIn(i,n);else if(s===void 0&&this.schema)this.set(r,yr(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}Yi.maxFlowStringSingleLineLength=60;const ew=l(e=>e.replace(/^(?!$)(?: $)?/gm,"#"),"stringifyComment");function st(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}l(st,"indentComment");const St=l((e,t,n)=>e.endsWith(`
|
|
116
|
+
`)?st(n,t):n.includes(`
|
|
117
117
|
`)?`
|
|
118
|
-
`+
|
|
119
|
-
`)n===
|
|
120
|
-
`&&d!==" "){const
|
|
121
|
-
`&&
|
|
122
|
-
${t}${e.slice(0,
|
|
123
|
-
${t}${e.slice(
|
|
124
|
-
`);r=t,i=t+1,s=e[i]}return r}l(
|
|
125
|
-
`){if(s-o>r)return!0;if(o=s+1,i-o<=r)return!1}return!0}l(
|
|
118
|
+
`+st(n,t):(e.endsWith(" ")?"":" ")+n,"lineComment"),Va="flow",Ji="block",br="quoted";function wr(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:s=20,onFold:o,onOverflow:a}={}){if(!i||i<0)return e;const u=Math.max(1+s,1+i-t.length);if(e.length<=u)return e;const c=[],h={};let f=i-t.length;typeof r=="number"&&(r>i-Math.max(2,s)?c.push(0):f=i-r);let p,d,m=!1,g=-1,y=-1,b=-1;n===Ji&&(g=Ga(e,g,t.length),g!==-1&&(f=g+u));for(let A;A=e[g+=1];){if(n===br&&A==="\\"){switch(y=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}b=g}if(A===`
|
|
119
|
+
`)n===Ji&&(g=Ga(e,g,t.length)),f=g+t.length+u,p=void 0;else{if(A===" "&&d&&d!==" "&&d!==`
|
|
120
|
+
`&&d!==" "){const N=e[g+1];N&&N!==" "&&N!==`
|
|
121
|
+
`&&N!==" "&&(p=g)}if(g>=f)if(p)c.push(p),f=p+u,p=void 0;else if(n===br){for(;d===" "||d===" ";)d=A,A=e[g+=1],m=!0;const N=g>b+1?g-2:y-1;if(h[N])return e;c.push(N),h[N]=!0,f=N+u,p=void 0}else m=!0}d=A}if(m&&a&&a(),c.length===0)return e;o&&o();let w=e.slice(0,c[0]);for(let A=0;A<c.length;++A){const N=c[A],T=c[A+1]||e.length;N===0?w=`
|
|
122
|
+
${t}${e.slice(0,T)}`:(n===br&&h[N]&&(w+=`${e[N]}\\`),w+=`
|
|
123
|
+
${t}${e.slice(N+1,T)}`)}return w}l(wr,"foldFlowLines");function Ga(e,t,n){let r=t,i=t+1,s=e[i];for(;s===" "||s===" ";)if(t<i+n)s=e[++t];else{do s=e[++t];while(s&&s!==`
|
|
124
|
+
`);r=t,i=t+1,s=e[i]}return r}l(Ga,"consumeMoreIndentedLines");const kr=l((e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),"getFoldOptions"),vr=l(e=>/^(%|---|\.\.\.)/m.test(e),"containsDocumentMarker");function tw(e,t,n){if(!t||t<0)return!1;const r=t-n,i=e.length;if(i<=r)return!1;for(let s=0,o=0;s<i;++s)if(e[s]===`
|
|
125
|
+
`){if(s-o>r)return!0;if(o=s+1,i-o<=r)return!1}return!0}l(tw,"lineLengthOverLimit");function Rn(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(vr(e)?" ":"");let o="",a=0;for(let u=0,c=n[u];c;c=n[++u])if(c===" "&&n[u+1]==="\\"&&n[u+2]==="n"&&(o+=n.slice(a,u)+"\\ ",u+=1,a=u,c="\\"),c==="\\")switch(n[u+1]){case"u":{o+=n.slice(a,u);const h=n.substr(u+2,4);switch(h){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:h.substr(0,2)==="00"?o+="\\x"+h.substr(2):o+=n.substr(u,6)}u+=5,a=u+1}break;case"n":if(r||n[u+2]==='"'||n.length<i)u+=1;else{for(o+=n.slice(a,u)+`
|
|
126
126
|
|
|
127
127
|
`;n[u+2]==="\\"&&n[u+3]==="n"&&n[u+4]!=='"';)o+=`
|
|
128
|
-
`,u+=2;o+=s,n[u+2]===" "&&(o+="\\"),u+=1,a=u+1}break;default:u+=1}return o=a?o+n.slice(a):n,r?o:
|
|
129
|
-
`)||/[ \t]\n|\n[ \t]/.test(e))return
|
|
130
|
-
${n}`)+"'";return t.implicitKey?r:
|
|
128
|
+
`,u+=2;o+=s,n[u+2]===" "&&(o+="\\"),u+=1,a=u+1}break;default:u+=1}return o=a?o+n.slice(a):n,r?o:wr(o,s,br,kr(t,!1))}l(Rn,"doubleQuotedString");function Qi(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
|
|
129
|
+
`)||/[ \t]\n|\n[ \t]/.test(e))return Rn(e,t);const n=t.indent||(vr(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
130
|
+
${n}`)+"'";return t.implicitKey?r:wr(r,n,Va,kr(t,!1))}l(Qi,"singleQuotedString");function Qt(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=Rn;else{const i=e.includes('"'),s=e.includes("'");i&&!s?r=Qi:s&&!i?r=Rn:r=n?Qi:Rn}return r(e,t)}l(Qt,"quotedString");let Xi;try{Xi=new RegExp(`(^|(?<!
|
|
131
131
|
))
|
|
132
132
|
+(?!
|
|
133
|
-
|$)`,"g")}catch{
|
|
133
|
+
|$)`,"g")}catch{Xi=/\n+(?!\n|$)/g}function Sr({comment:e,type:t,value:n},r,i,s){const{blockQuote:o,commentString:a,lineWidth:u}=r.options;if(!o||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return Qt(n,r);const c=r.indent||(r.forceBlockIndent||vr(n)?" ":""),h=o==="literal"?!0:o==="folded"||t===V.BLOCK_FOLDED?!1:t===V.BLOCK_LITERAL?!0:!tw(n,u,c.length);if(!n)return h?`|
|
|
134
134
|
`:`>
|
|
135
|
-
`;let f,
|
|
136
|
-
`&&
|
|
135
|
+
`;let f,p;for(p=n.length;p>0;--p){const x=n[p-1];if(x!==`
|
|
136
|
+
`&&x!==" "&&x!==" ")break}let d=n.substring(p);const m=d.indexOf(`
|
|
137
137
|
`);m===-1?f="-":n===d||m!==d.length-1?(f="+",s&&s()):f="",d&&(n=n.slice(0,-d.length),d[d.length-1]===`
|
|
138
|
-
`&&(d=d.slice(0,-1)),d=d.replace(
|
|
139
|
-
`)
|
|
140
|
-
${c}${
|
|
141
|
-
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);const
|
|
142
|
-
${c}${
|
|
143
|
-
`)||
|
|
144
|
-
`)?
|
|
145
|
-
`))return
|
|
146
|
-
${u}`);if(o){const
|
|
147
|
-
${t.indent}${a}`:a}l(
|
|
148
|
-
${a}:`):(y=`${y}:`,
|
|
149
|
-
`:"",
|
|
150
|
-
${
|
|
151
|
-
`&&(
|
|
138
|
+
`&&(d=d.slice(0,-1)),d=d.replace(Xi,`$&${c}`));let g=!1,y,b=-1;for(y=0;y<n.length;++y){const x=n[y];if(x===" ")g=!0;else if(x===`
|
|
139
|
+
`)b=y;else break}let w=n.substring(0,b<y?b+1:y);w&&(n=n.substring(w.length),w=w.replace(/\n+/g,`$&${c}`));let N=(h?"|":">")+(g?c?"2":"1":"")+f;if(e&&(N+=" "+a(e.replace(/ ?[\r\n]+/g," ")),i&&i()),h)return n=n.replace(/\n+/g,`$&${c}`),`${N}
|
|
140
|
+
${c}${w}${n}${d}`;n=n.replace(/\n+/g,`
|
|
141
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);const T=wr(`${w}${n}${d}`,c,Ji,kr(r,!0));return`${N}
|
|
142
|
+
${c}${T}`}l(Sr,"blockString");function nw(e,t,n,r){const{type:i,value:s}=e,{actualString:o,implicitKey:a,indent:u,indentStep:c,inFlow:h}=t;if(a&&s.includes(`
|
|
143
|
+
`)||h&&/[[\]{},]/.test(s))return Qt(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return a||h||!s.includes(`
|
|
144
|
+
`)?Qt(s,t):Sr(e,t,n,r);if(!a&&!h&&i!==V.PLAIN&&s.includes(`
|
|
145
|
+
`))return Sr(e,t,n,r);if(vr(s)){if(u==="")return t.forceBlockIndent=!0,Sr(e,t,n,r);if(a&&u===c)return Qt(s,t)}const f=s.replace(/\n+/g,`$&
|
|
146
|
+
${u}`);if(o){const p=l(g=>g.default&&g.tag!=="tag:yaml.org,2002:str"&&g.test?.test(f),"test"),{compat:d,tags:m}=t.doc.schema;if(m.some(p)||d?.some(p))return Qt(s,t)}return a?f:wr(f,u,Va,kr(t,!1))}l(nw,"plainString");function Zi(e,t,n,r){const{implicitKey:i,inFlow:s}=t,o=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==V.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=V.QUOTE_DOUBLE);const u=l(h=>{switch(h){case V.BLOCK_FOLDED:case V.BLOCK_LITERAL:return i||s?Qt(o.value,t):Sr(o,t,n,r);case V.QUOTE_DOUBLE:return Rn(o.value,t);case V.QUOTE_SINGLE:return Qi(o.value,t);case V.PLAIN:return nw(o,t,n,r);default:return null}},"_stringify");let c=u(a);if(c===null){const{defaultKeyType:h,defaultStringType:f}=t.options,p=i&&h||f;if(c=u(p),c===null)throw new Error(`Unsupported default string type ${p}`)}return c}l(Zi,"stringifyString");function Wa(e,t){const n=Object.assign({blockQuote:!0,commentString:ew,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}l(Wa,"createStringifyContext");function rw(e,t){if(t.tag){const i=e.filter(s=>s.tag===t.tag);if(i.length>0)return i.find(s=>s.format===t.format)??i[0]}let n,r;if(re(t)){r=t.value;const i=e.filter(s=>s.identify?.(r));n=i.find(s=>s.format===t.format)??i.find(s=>!s.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){const i=r?.constructor?.name??typeof r;throw new Error(`Tag not resolved for ${i} value`)}return n}l(rw,"getTagObject");function iw(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],s=(re(e)||le(e))&&e.anchor;s&&ja(s)&&(n.add(s),i.push(`&${s}`));const o=e.tag?e.tag:t.default?null:t.tag;return o&&i.push(r.directives.tagString(o)),i.join(" ")}l(iw,"stringifyProps");function Xt(e,t,n,r){if(ae(e))return e.toString(t,n,r);if(Kt(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i;const s=ce(e)?e:t.doc.createNode(e,{onTagObj:u=>i=u});i||(i=rw(t.doc.schema.tags,s));const o=iw(s,i,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const a=typeof i.stringify=="function"?i.stringify(s,t,n,r):re(s)?Zi(s,t,n,r):s.toString(t,n,r);return o?re(s)||a[0]==="{"||a[0]==="["?`${o} ${a}`:`${o}
|
|
147
|
+
${t.indent}${a}`:a}l(Xt,"stringify$4");function sw({key:e,value:t},n,r,i){const{allNullValues:s,doc:o,indent:a,indentStep:u,options:{commentString:c,indentSeq:h,simpleKeys:f}}=n;let p=ce(e)&&e.comment||null;if(f){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(le(e)||!ce(e)&&typeof e=="object"){const E="With simple keys, collection cannot be used as a key value";throw new Error(E)}}let d=!f&&(!e||p&&t==null&&!n.inFlow||le(e)||(re(e)?e.type===V.BLOCK_FOLDED||e.type===V.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!d&&(f||!s),indent:a+u});let m=!1,g=!1,y=Xt(e,n,()=>m=!0,()=>g=!0);if(!d&&!n.inFlow&&y.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(n.inFlow){if(s||t==null)return m&&r&&r(),y===""?"?":d?`? ${y}`:y}else if(s&&!f||t==null&&d)return y=`? ${y}`,p&&!m?y+=St(y,n.indent,c(p)):g&&i&&i(),y;m&&(p=null),d?(p&&(y+=St(y,n.indent,c(p))),y=`? ${y}
|
|
148
|
+
${a}:`):(y=`${y}:`,p&&(y+=St(y,n.indent,c(p))));let b,w,A;ce(t)?(b=!!t.spaceBefore,w=t.commentBefore,A=t.comment):(b=!1,w=null,A=null,t&&typeof t=="object"&&(t=o.createNode(t))),n.implicitKey=!1,!d&&!p&&re(t)&&(n.indentAtStart=y.length+1),g=!1,!h&&u.length>=2&&!n.inFlow&&!d&&On(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let N=!1;const T=Xt(t,n,()=>N=!0,()=>g=!0);let x=" ";if(p||b||w){if(x=b?`
|
|
149
|
+
`:"",w){const E=c(w);x+=`
|
|
150
|
+
${st(E,n.indent)}`}T===""&&!n.inFlow?x===`
|
|
151
|
+
`&&(x=`
|
|
152
152
|
|
|
153
|
-
`):
|
|
154
|
-
${n.indent}`}else if(!d&&le(t)){const E=
|
|
155
|
-
`),
|
|
156
|
-
${n.indent}`)}}else(
|
|
157
|
-
`)&&(
|
|
153
|
+
`):x+=`
|
|
154
|
+
${n.indent}`}else if(!d&&le(t)){const E=T[0],_=T.indexOf(`
|
|
155
|
+
`),F=_!==-1,S=n.inFlow??t.flow??t.items.length===0;if(F||!S){let P=!1;if(F&&(E==="&"||E==="!")){let L=T.indexOf(" ");E==="&"&&L!==-1&&L<_&&T[L+1]==="!"&&(L=T.indexOf(" ",L+1)),(L===-1||_<L)&&(P=!0)}P||(x=`
|
|
156
|
+
${n.indent}`)}}else(T===""||T[0]===`
|
|
157
|
+
`)&&(x="");return y+=x+T,n.inFlow?N&&r&&r():A&&!N?y+=St(y,n.indent,c(A)):g&&i&&i(),y}l(sw,"stringifyPair");function Ka(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}l(Ka,"warn");const Ya="<<";function Ja(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&ow(n))if(r=Kt(r)?r.resolve(e.doc):r,On(r))for(const i of r.items)es(e,t,i);else if(Array.isArray(r))for(const i of r)es(e,t,i);else es(e,t,r);else{const i=De(n,"",e);if(t instanceof Map)t.set(i,De(r,i,e));else if(t instanceof Set)t.add(i);else{const s=aw(n,i,e),o=De(r,s,e);s in t?Object.defineProperty(t,s,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[s]=o}}return t}l(Ja,"addPairToJSMap");const ow=l(e=>e===Ya||re(e)&&e.value===Ya&&(!e.type||e.type===V.PLAIN),"isMergeKey");function es(e,t,n){const r=e&&Kt(n)?n.resolve(e.doc):n;if(!_n(r))throw new Error("Merge sources must be maps or map aliases");const i=r.toJSON(null,e,Map);for(const[s,o]of i)t instanceof Map?t.has(s)||t.set(s,o):t instanceof Set?t.add(s):Object.prototype.hasOwnProperty.call(t,s)||Object.defineProperty(t,s,{value:o,writable:!0,enumerable:!0,configurable:!0});return t}l(es,"mergeToJSMap");function aw(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(ce(e)&&n?.doc){const r=Wa(n.doc,{});r.anchors=new Set;for(const s of n.anchors.keys())r.anchors.add(s.anchor);r.inFlow=!0,r.inStringifyKey=!0;const i=e.toString(r);if(!n.mapKeyWarned){let s=JSON.stringify(i);s.length>40&&(s=s.substring(0,36)+'..."'),Ka(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${s}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}l(aw,"stringifyKey");function ts(e,t,n){const r=In(e,void 0,n),i=In(t,void 0,n);return new Ae(r,i)}l(ts,"createPair");class Ae{static{l(this,"Pair")}constructor(t,n=null){Object.defineProperty(this,Ie,{value:Ba}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return ce(n)&&(n=n.clone(t)),ce(r)&&(r=r.clone(t)),new Ae(n,r)}toJSON(t,n){const r=n?.mapAsMap?new Map:{};return Ja(n,r,this)}toString(t,n,r){return t?.doc?sw(this,t,n,r):JSON.stringify(this)}}function Qa(e,t,n){return(t.inFlow??e.flow?uw:lw)(e,t,n)}l(Qa,"stringifyCollection");function lw({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:o,onComment:a}){const{indent:u,options:{commentString:c}}=n,h=Object.assign({},n,{indent:s,type:null});let f=!1;const p=[];for(let m=0;m<t.length;++m){const g=t[m];let y=null;if(ce(g))!f&&g.spaceBefore&&p.push(""),xr(n,p,g.commentBefore,f),g.comment&&(y=g.comment);else if(ae(g)){const w=ce(g.key)?g.key:null;w&&(!f&&w.spaceBefore&&p.push(""),xr(n,p,w.commentBefore,f))}f=!1;let b=Xt(g,h,()=>y=null,()=>f=!0);y&&(b+=St(b,s,c(y))),f&&y&&(f=!1),p.push(r+b)}let d;if(p.length===0)d=i.start+i.end;else{d=p[0];for(let m=1;m<p.length;++m){const g=p[m];d+=g?`
|
|
158
158
|
${u}${g}`:`
|
|
159
159
|
`}}return e?(d+=`
|
|
160
|
-
`+
|
|
161
|
-
`))&&(c=!0),f.push(
|
|
160
|
+
`+st(c(e),u),a&&a()):f&&o&&o(),d}l(lw,"stringifyBlockCollection");function uw({items:e},t,{flowChars:n,itemIndent:r}){const{indent:i,indentStep:s,flowCollectionPadding:o,options:{commentString:a}}=t;r+=s;const u=Object.assign({},t,{indent:r,inFlow:!0,type:null});let c=!1,h=0;const f=[];for(let m=0;m<e.length;++m){const g=e[m];let y=null;if(ce(g))g.spaceBefore&&f.push(""),xr(t,f,g.commentBefore,!1),g.comment&&(y=g.comment);else if(ae(g)){const w=ce(g.key)?g.key:null;w&&(w.spaceBefore&&f.push(""),xr(t,f,w.commentBefore,!1),w.comment&&(c=!0));const A=ce(g.value)?g.value:null;A?(A.comment&&(y=A.comment),A.commentBefore&&(c=!0)):g.value==null&&w?.comment&&(y=w.comment)}y&&(c=!0);let b=Xt(g,u,()=>y=null);m<e.length-1&&(b+=","),y&&(b+=St(b,r,a(y))),!c&&(f.length>h||b.includes(`
|
|
161
|
+
`))&&(c=!0),f.push(b),h=f.length}const{start:p,end:d}=n;if(f.length===0)return p+d;if(!c){const m=f.reduce((g,y)=>g+y.length+2,2);c=t.options.lineWidth>0&&m>t.options.lineWidth}if(c){let m=p;for(const g of f)m+=g?`
|
|
162
162
|
${s}${i}${g}`:`
|
|
163
163
|
`;return`${m}
|
|
164
|
-
${i}${d}`}else return`${
|
|
165
|
-
`:" ")}return
|
|
164
|
+
${i}${d}`}else return`${p}${o}${f.join(" ")}${o}${d}`}l(uw,"stringifyFlowCollection");function xr({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const s=st(t(r),e);n.push(s.trimStart())}}l(xr,"addCommentBefore");function xt(e,t){const n=re(t)?t.value:t;for(const r of e)if(ae(r)&&(r.key===t||r.key===n||re(r.key)&&r.key.value===n))return r}l(xt,"findPair");class Re extends Yi{static{l(this,"YAMLMap")}static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(ht,t),this.items=[]}static from(t,n,r){const{keepUndefined:i,replacer:s}=r,o=new this(t),a=l((u,c)=>{if(typeof s=="function")c=s.call(n,u,c);else if(Array.isArray(s)&&!s.includes(u))return;(c!==void 0||i)&&o.items.push(ts(u,c,r))},"add");if(n instanceof Map)for(const[u,c]of n)a(u,c);else if(n&&typeof n=="object")for(const u of Object.keys(n))a(u,n[u]);return typeof t.sortMapEntries=="function"&&o.items.sort(t.sortMapEntries),o}add(t,n){let r;ae(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new Ae(t,t?.value):r=new Ae(t.key,t.value);const i=xt(this.items,r.key),s=this.schema?.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);re(i.value)&&Ha(r.value)?i.value.value=r.value:i.value=r.value}else if(s){const o=this.items.findIndex(a=>s(r,a)<0);o===-1?this.items.push(r):this.items.splice(o,0,r)}else this.items.push(r)}delete(t){const n=xt(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const i=xt(this.items,t)?.value;return(!n&&re(i)?i.value:i)??void 0}has(t){return!!xt(this.items,t)}set(t,n){this.add(new Ae(t,n),!0)}toJSON(t,n,r){const i=r?new r:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(i);for(const s of this.items)Ja(n,i,s);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!ae(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Qa(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Zt={collection:"map",default:!0,nodeClass:Re,tag:"tag:yaml.org,2002:map",resolve(e,t){return _n(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>Re.from(e,t,n)};class At extends Yi{static{l(this,"YAMLSeq")}static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Wt,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=Ar(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=Ar(t);if(typeof r!="number")return;const i=this.items[r];return!n&&re(i)?i.value:i}has(t){const n=Ar(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=Ar(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];re(i)&&Ha(n)?i.value=n:this.items[r]=n}toJSON(t,n){const r=[];n?.onCreate&&n.onCreate(r);let i=0;for(const s of this.items)r.push(De(s,String(i++),n));return r}toString(t,n,r){return t?Qa(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n)){let o=0;for(let a of n){if(typeof i=="function"){const u=n instanceof Set?a:String(o++);a=i.call(n,u,a)}s.items.push(In(a,void 0,r))}}return s}}function Ar(e){let t=re(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}l(Ar,"asItemIndex");const en={collection:"seq",default:!0,nodeClass:At,tag:"tag:yaml.org,2002:seq",resolve(e,t){return On(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>At.from(e,t,n)},Cr={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),Zi(e,t,n,r)}},Tr={identify:e=>e==null,createNode:()=>new V(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new V(null),stringify:({source:e},t)=>typeof e=="string"&&Tr.test.test(e)?e:t.options.nullStr},ns={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new V(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&ns.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function Ve({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const i=typeof r=="number"?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let o=s.indexOf(".");o<0&&(o=s.length,s+=".");let a=t-(s.length-o-1);for(;a-- >0;)s+="0"}return s}l(Ve,"stringifyNumber");const Xa={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ve},Za={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ve(e)}},el={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new V(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:Ve},Nr=l(e=>typeof e=="bigint"||Number.isInteger(e),"intIdentify$2"),rs=l((e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n),"intResolve$1");function tl(e,t,n){const{value:r}=e;return Nr(r)&&r>=0?n+r.toString(t):Ve(e)}l(tl,"intStringify$1");const nl={identify:e=>Nr(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>rs(e,2,8,n),stringify:e=>tl(e,8,"0o")},rl={identify:Nr,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>rs(e,0,10,n),stringify:Ve},il={identify:e=>Nr(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>rs(e,2,16,n),stringify:e=>tl(e,16,"0x")},cw=[Zt,en,Cr,Tr,ns,nl,rl,il,Xa,Za,el];function sl(e){return typeof e=="bigint"||Number.isInteger(e)}l(sl,"intIdentify$1");const Er=l(({value:e})=>JSON.stringify(e),"stringifyJSON"),fw=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Er},{identify:e=>e==null,createNode:()=>new V(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Er},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:Er},{identify:sl,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>sl(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Er}],hw={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},pw=[Zt,en].concat(fw,hw),is={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof Buffer=="function")return Buffer.from(e,"base64");if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,i,s){const o=n;let a;if(typeof Buffer=="function")a=o instanceof Buffer?o.toString("base64"):Buffer.from(o.buffer).toString("base64");else if(typeof btoa=="function"){let u="";for(let c=0;c<o.length;++c)u+=String.fromCharCode(o[c]);a=btoa(u)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=V.BLOCK_LITERAL),t!==V.QUOTE_DOUBLE){const u=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),c=Math.ceil(a.length/u),h=new Array(c);for(let f=0,p=0;f<c;++f,p+=u)h[f]=a.substr(p,u);a=h.join(t===V.BLOCK_LITERAL?`
|
|
165
|
+
`:" ")}return Zi({comment:e,type:t,value:a},r,i,s)}};function ol(e,t){if(On(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!ae(r)){if(_n(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new Ae(new V(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
|
|
166
166
|
${i.key.commentBefore}`:r.commentBefore),r.comment){const s=i.value??i.key;s.comment=s.comment?`${r.comment}
|
|
167
|
-
${s.comment}`:r.comment}r=i}e.items[n]=ae(r)?r:new
|
|
168
|
-
`)?(n.push("..."),n.push(
|
|
167
|
+
${s.comment}`:r.comment}r=i}e.items[n]=ae(r)?r:new Ae(r)}}else t("Expected a sequence for this tag");return e}l(ol,"resolvePairs");function al(e,t,n){const{replacer:r}=n,i=new At(e);i.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let o of t){typeof r=="function"&&(o=r.call(t,String(s++),o));let a,u;if(Array.isArray(o))if(o.length===2)a=o[0],u=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){const c=Object.keys(o);if(c.length===1)a=c[0],u=o[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=o;i.items.push(ts(a,u,n))}return i}l(al,"createPairs");const ss={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:ol,createNode:al};class bn extends At{static{l(this,"YAMLOMap")}constructor(){super(),this.add=Re.prototype.add.bind(this),this.delete=Re.prototype.delete.bind(this),this.get=Re.prototype.get.bind(this),this.has=Re.prototype.has.bind(this),this.set=Re.prototype.set.bind(this),this.tag=bn.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n?.onCreate&&n.onCreate(r);for(const i of this.items){let s,o;if(ae(i)?(s=De(i.key,"",n),o=De(i.value,s,n)):s=De(i,"",n),r.has(s))throw new Error("Ordered maps must not include duplicate keys");r.set(s,o)}return r}static from(t,n,r){const i=al(t,n,r),s=new this;return s.items=i.items,s}}bn.tag="tag:yaml.org,2002:omap";const os={collection:"seq",identify:e=>e instanceof Map,nodeClass:bn,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=ol(e,t),r=[];for(const{key:i}of n.items)re(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new bn,n)},createNode:(e,t,n)=>bn.from(e,t,n)};function ll({value:e,source:t},n){return t&&(e?ul:cl).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}l(ll,"boolStringify");const ul={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new V(!0),stringify:ll},cl={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new V(!1),stringify:ll},dw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ve},mw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Ve(e)}},gw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new V(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:Ve},Pn=l(e=>typeof e=="bigint"||Number.isInteger(e),"intIdentify");function _r(e,t,n,{intAsBigInt:r}){const i=e[0];if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const o=BigInt(e);return i==="-"?BigInt(-1)*o:o}const s=parseInt(e,n);return i==="-"?-1*s:s}l(_r,"intResolve");function as(e,t,n){const{value:r}=e;if(Pn(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return Ve(e)}l(as,"intStringify");const yw={identify:Pn,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>_r(e,2,2,n),stringify:e=>as(e,2,"0b")},bw={identify:Pn,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>_r(e,1,8,n),stringify:e=>as(e,8,"0")},ww={identify:Pn,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>_r(e,0,10,n),stringify:Ve},kw={identify:Pn,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>_r(e,2,16,n),stringify:e=>as(e,16,"0x")};class wn extends Re{static{l(this,"YAMLSet")}constructor(t){super(t),this.tag=wn.tag}add(t){let n;ae(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new Ae(t.key,null):n=new Ae(t,null),xt(this.items,n.key)||this.items.push(n)}get(t,n){const r=xt(this.items,t);return!n&&ae(r)?re(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=xt(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new Ae(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n))for(let o of n)typeof i=="function"&&(o=i.call(n,o,o)),s.items.push(ts(o,null,r));return s}}wn.tag="tag:yaml.org,2002:set";const ls={collection:"map",identify:e=>e instanceof Set,nodeClass:wn,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>wn.from(e,t,n),resolve(e,t){if(_n(e)){if(e.hasAllNullValues(!0))return Object.assign(new wn,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function us(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=l(o=>t?BigInt(o):Number(o),"num"),s=r.replace(/_/g,"").split(":").reduce((o,a)=>o*i(60)+i(a),i(0));return n==="-"?i(-1)*s:s}l(us,"parseSexagesimal");function fl(e){let{value:t}=e,n=l(o=>o,"num");if(typeof t=="bigint")n=l(o=>BigInt(o),"num");else if(isNaN(t)||!isFinite(t))return Ve(e);let r="";t<0&&(r="-",t*=n(-1));const i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),r+s.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}l(fl,"stringifySexagesimal");const hl={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>us(e,n),stringify:fl},pl={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>us(e,!1),stringify:fl},Or={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Or.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,s,o,a]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,i,s||0,o||0,a||0,u);const h=t[8];if(h&&h!=="Z"){let f=us(h,!1);Math.abs(f)<30&&(f*=60),c-=6e4*f}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},dl=[Zt,en,Cr,Tr,ul,cl,yw,bw,ww,kw,dw,mw,gw,is,os,ss,ls,hl,pl,Or],ml=new Map([["core",cw],["failsafe",[Zt,en,Cr]],["json",pw],["yaml11",dl],["yaml-1.1",dl]]),gl={binary:is,bool:ns,float:el,floatExp:Za,floatNaN:Xa,floatTime:pl,int:rl,intHex:il,intOct:nl,intTime:hl,map:Zt,null:Tr,omap:os,pairs:ss,seq:en,set:ls,timestamp:Or},vw={"tag:yaml.org,2002:binary":is,"tag:yaml.org,2002:omap":os,"tag:yaml.org,2002:pairs":ss,"tag:yaml.org,2002:set":ls,"tag:yaml.org,2002:timestamp":Or};function cs(e,t){let n=ml.get(t);if(!n)if(Array.isArray(e))n=[];else{const r=Array.from(ml.keys()).filter(i=>i!=="yaml11").map(i=>JSON.stringify(i)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${r} or define customTags array`)}if(Array.isArray(e))for(const r of e)n=n.concat(r);else typeof e=="function"&&(n=e(n.slice()));return n.map(r=>{if(typeof r!="string")return r;const i=gl[r];if(i)return i;const s=Object.keys(gl).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${s}`)})}l(cs,"getTags");const Sw=l((e,t)=>e.key<t.key?-1:e.key>t.key?1:0,"sortMapEntriesByKey");let xw=class nh{static{l(this,"Schema")}constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:s,sortMapEntries:o,toStringDefaults:a}){this.compat=Array.isArray(t)?cs(t,"compat"):t?cs(null,t):null,this.merge=!!r,this.name=typeof s=="string"&&s||"core",this.knownTags=i?vw:{},this.tags=cs(n,this.name),this.toStringOptions=a??null,Object.defineProperty(this,ht,{value:Zt}),Object.defineProperty(this,it,{value:Cr}),Object.defineProperty(this,Wt,{value:en}),this.sortMapEntries=typeof o=="function"?o:o===!0?Sw:null}clone(){const t=Object.create(nh.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}};function Aw(e,t){const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const u=e.directives.toString(e);u?(n.push(u),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const i=Wa(e,t),{commentString:s}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const u=s(e.commentBefore);n.unshift(st(u,""))}let o=!1,a=null;if(e.contents){if(ce(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const h=s(e.contents.commentBefore);n.push(st(h,""))}i.forceBlockIndent=!!e.comment,a=e.contents.comment}const u=a?void 0:()=>o=!0;let c=Xt(e.contents,i,()=>a=null,u);a&&(c+=St(c,"",s(a))),(c[0]==="|"||c[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${c}`:n.push(c)}else n.push(Xt(e.contents,i));if(e.directives?.docEnd)if(e.comment){const u=s(e.comment);u.includes(`
|
|
168
|
+
`)?(n.push("..."),n.push(st(u,""))):n.push(`... ${u}`)}else n.push("...");else{let u=e.comment;u&&o&&(u=u.replace(/^\n+/,"")),u&&((!o||a)&&n[n.length-1]!==""&&n.push(""),n.push(st(s(u),"")))}return n.join(`
|
|
169
169
|
`)+`
|
|
170
|
-
`}l(
|
|
170
|
+
`}l(Aw,"stringifyDocument");class Zn{static{l(this,"Document")}constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Ie,{value:Gi});let i=null;typeof n=="function"||Array.isArray(n)?i=n:r===void 0&&n&&(r=n,n=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},r);this.options=s;let{version:o}=s;r?._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Te({version:o}),this.setSchema(o,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(Zn.prototype,{[Ie]:{value:Gi}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=ce(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){tn(this.contents)&&this.contents.add(t)}addIn(t,n){tn(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=za(this);t.anchor=!n||r.has(n)?Ua(n||"a",r):n}return new Ki(t.anchor)}createNode(t,n,r){let i;if(typeof n=="function")t=n.call({"":t},"",t),i=n;else if(Array.isArray(n)){const y=l(w=>typeof w=="number"||w instanceof String||w instanceof Number,"keyToStr"),b=n.filter(y).map(String);b.length>0&&(n=n.concat(b)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:s,anchorPrefix:o,flow:a,keepUndefined:u,onTagObj:c,tag:h}=r??{},{onAnchor:f,setAnchors:p,sourceObjects:d}=Qb(this,o||"a"),m={aliasDuplicateObjects:s??!0,keepUndefined:u??!1,onAnchor:f,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:d},g=In(t,h,m);return a&&le(g)&&(g.flow=!0),p(),g}createPair(t,n,r={}){const i=this.createNode(t,null,r),s=this.createNode(n,null,r);return new Ae(i,s)}delete(t){return tn(this.contents)?this.contents.delete(t):!1}deleteIn(t){return Dn(t)?this.contents==null?!1:(this.contents=null,!0):tn(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return le(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return Dn(t)?!n&&re(this.contents)?this.contents.value:this.contents:le(this.contents)?this.contents.getIn(t,n):void 0}has(t){return le(this.contents)?this.contents.has(t):!1}hasIn(t){return Dn(t)?this.contents!==void 0:le(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=yr(this.schema,[t],n):tn(this.contents)&&this.contents.set(t,n)}setIn(t,n){Dn(t)?this.contents=n:this.contents==null?this.contents=yr(this.schema,Array.from(t),n):tn(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Te({version:"1.1"}),r={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Te({version:t}),r={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const i=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new xw(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:i,onAnchor:s,reviver:o}={}){const a={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},u=De(this.contents,n??"",a);if(typeof s=="function")for(const{count:c,res:h}of a.anchors.values())s(h,c);return typeof o=="function"?Jt(o,{"":u},"",u):u}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return Aw(this,t)}}function tn(e){if(le(e))return!0;throw new Error("Expected a YAML collection as document contents")}l(tn,"assertCollection");class yl extends Error{static{l(this,"YAMLError")}constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class Fn extends yl{static{l(this,"YAMLParseError")}constructor(t,n,r){super("YAMLParseError",t,n,r)}}class Cw extends yl{static{l(this,"YAMLWarning")}constructor(t,n,r){super("YAMLWarning",t,n,r)}}const bl=l((e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(a=>t.linePos(a));const{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let s=i-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(s>=60&&o.length>80){const a=Math.min(s-39,o.length-79);o="\u2026"+o.substring(a),s-=a-1}if(o.length>80&&(o=o.substring(0,79)+"\u2026"),r>1&&/^ *$/.test(o.substring(0,s))){let a=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);a.length>80&&(a=a.substring(0,79)+`\u2026
|
|
171
171
|
`),o=a+o}if(/[^ ]/.test(o)){let a=1;const u=n.linePos[1];u&&u.line===r&&u.col>i&&(a=Math.max(1,Math.min(u.col-i,80-s)));const c=" ".repeat(s)+"^".repeat(a);n.message+=`:
|
|
172
172
|
|
|
173
173
|
${o}
|
|
174
174
|
${c}
|
|
175
|
-
`}},"prettifyError");function
|
|
176
|
-
`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(
|
|
177
|
-
`+g.comment:a.comment=g.comment);continue}(g.hasNewlineAfterProp||
|
|
178
|
-
`+
|
|
179
|
-
`+
|
|
180
|
-
`+E
|
|
181
|
-
`+
|
|
182
|
-
`+y.comment:c.comment=y.comment),c.range=[r.offset,g,y.offset]}else c.range=[r.offset,g,g];return c}l(
|
|
183
|
-
`.repeat(Math.max(1,o.length-1)):"";let y=r+i.length;return
|
|
184
|
-
`;for(let g=
|
|
185
|
-
`):y.length>u||
|
|
186
|
-
`:!d&&
|
|
187
|
-
`&&(
|
|
175
|
+
`}},"prettifyError");function nn(e,{flow:t,indicator:n,next:r,offset:i,onError:s,parentIndent:o,startOnNewline:a}){let u=!1,c=a,h=a,f="",p="",d=!1,m=!1,g=!1,y=null,b=null,w=null,A=null,N=null,T=null;for(const _ of e)switch(g&&(_.type!=="space"&&_.type!=="newline"&&_.type!=="comma"&&s(_.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),g=!1),y&&(c&&_.type!=="comment"&&_.type!=="newline"&&s(y,"TAB_AS_INDENT","Tabs are not allowed as indentation"),y=null),_.type){case"space":!t&&(n!=="doc-start"||r?.type!=="flow-collection")&&_.source.includes(" ")&&(y=_),h=!0;break;case"comment":{h||s(_,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const F=_.source.substring(1)||" ";f?f+=p+F:f=F,p="",c=!1;break}case"newline":c?f?f+=_.source:u=!0:p+=_.source,c=!0,d=!0,(b||w)&&(m=!0),h=!0;break;case"anchor":b&&s(_,"MULTIPLE_ANCHORS","A node can have at most one anchor"),_.source.endsWith(":")&&s(_.offset+_.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),b=_,T===null&&(T=_.offset),c=!1,h=!1,g=!0;break;case"tag":{w&&s(_,"MULTIPLE_TAGS","A node can have at most one tag"),w=_,T===null&&(T=_.offset),c=!1,h=!1,g=!0;break}case n:(b||w)&&s(_,"BAD_PROP_ORDER",`Anchors and tags must be after the ${_.source} indicator`),N&&s(_,"UNEXPECTED_TOKEN",`Unexpected ${_.source} in ${t??"collection"}`),N=_,c=n==="seq-item-ind"||n==="explicit-key-ind",h=!1;break;case"comma":if(t){A&&s(_,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),A=_,c=!1,h=!1;break}default:s(_,"UNEXPECTED_TOKEN",`Unexpected ${_.type} token`),c=!1,h=!1}const x=e[e.length-1],E=x?x.offset+x.source.length:i;return g&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),y&&(c&&y.indent<=o||r?.type==="block-map"||r?.type==="block-seq")&&s(y,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:A,found:N,spaceBefore:u,comment:f,hasNewline:d,hasNewlineAfterProp:m,anchor:b,tag:w,end:E,start:T??E}}l(nn,"resolveProps");function qn(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
|
|
176
|
+
`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(qn(t.key)||qn(t.value))return!0}return!1;default:return!0}}l(qn,"containsNewline");function fs(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&qn(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}l(fs,"flowIndentCheck");function wl(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(s,o)=>s===o||re(s)&&re(o)&&s.value===o.value&&!(s.value==="<<"&&e.schema.merge);return t.some(s=>i(s.key,n))}l(wl,"mapIncludes");const kl="All mapping items must start at the same column";function Tw({composeNode:e,composeEmptyNode:t},n,r,i,s){const o=s?.nodeClass??Re,a=new o(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,c=null;for(const h of r.items){const{start:f,key:p,sep:d,value:m}=h,g=nn(f,{indicator:"explicit-key-ind",next:p??d?.[0],offset:u,onError:i,parentIndent:r.indent,startOnNewline:!0}),y=!g.found;if(y){if(p&&(p.type==="block-seq"?i(u,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in p&&p.indent!==r.indent&&i(u,"BAD_INDENT",kl)),!g.anchor&&!g.tag&&!d){c=g.end,g.comment&&(a.comment?a.comment+=`
|
|
177
|
+
`+g.comment:a.comment=g.comment);continue}(g.hasNewlineAfterProp||qn(p))&&i(p??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else g.found?.indent!==r.indent&&i(u,"BAD_INDENT",kl);const b=g.end,w=p?e(n,p,g,i):t(n,b,f,null,g,i);n.schema.compat&&fs(r.indent,p,i),wl(n,a.items,w)&&i(b,"DUPLICATE_KEY","Map keys must be unique");const A=nn(d??[],{indicator:"map-value-ind",next:m,offset:w.range[2],onError:i,parentIndent:r.indent,startOnNewline:!p||p.type==="block-scalar"});if(u=A.end,A.found){y&&(m?.type==="block-map"&&!A.hasNewline&&i(u,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&g.start<A.found.offset-1024&&i(w.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const N=m?e(n,m,A,i):t(n,u,d,null,A,i);n.schema.compat&&fs(r.indent,m,i),u=N.range[2];const T=new Ae(w,N);n.options.keepSourceTokens&&(T.srcToken=h),a.items.push(T)}else{y&&i(w.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),A.comment&&(w.comment?w.comment+=`
|
|
178
|
+
`+A.comment:w.comment=A.comment);const N=new Ae(w);n.options.keepSourceTokens&&(N.srcToken=h),a.items.push(N)}}return c&&c<u&&i(c,"IMPOSSIBLE","Map comment with trailing content"),a.range=[r.offset,u,c??u],a}l(Tw,"resolveBlockMap");function Nw({composeNode:e,composeEmptyNode:t},n,r,i,s){const o=s?.nodeClass??At,a=new o(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,c=null;for(const{start:h,value:f}of r.items){const p=nn(h,{indicator:"seq-item-ind",next:f,offset:u,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!p.found)if(p.anchor||p.tag||f)f&&f.type==="block-seq"?i(p.end,"BAD_INDENT","All sequence items must start at the same column"):i(u,"MISSING_CHAR","Sequence item without - indicator");else{c=p.end,p.comment&&(a.comment=p.comment);continue}const d=f?e(n,f,p,i):t(n,p.end,h,null,p,i);n.schema.compat&&fs(r.indent,f,i),u=d.range[2],a.items.push(d)}return a.range=[r.offset,u,c??u],a}l(Nw,"resolveBlockSeq");function Mn(e,t,n,r){let i="";if(e){let s=!1,o="";for(const a of e){const{source:u,type:c}=a;switch(c){case"space":s=!0;break;case"comment":{n&&!s&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const h=u.substring(1)||" ";i?i+=o+h:i=h,o="";break}case"newline":i&&(o+=u),s=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=u.length}}return{comment:i,offset:t}}l(Mn,"resolveEnd");const hs="Block collections are not allowed within flow collections",ps=l(e=>e&&(e.type==="block-map"||e.type==="block-seq"),"isBlock");function Ew({composeNode:e,composeEmptyNode:t},n,r,i,s){const o=r.start.source==="{",a=o?"flow map":"flow sequence",u=s?.nodeClass??(o?Re:At),c=new u(n.schema);c.flow=!0;const h=n.atRoot;h&&(n.atRoot=!1);let f=r.offset+r.start.source.length;for(let y=0;y<r.items.length;++y){const b=r.items[y],{start:w,key:A,sep:N,value:T}=b,x=nn(w,{flow:a,indicator:"explicit-key-ind",next:A??N?.[0],offset:f,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!x.found){if(!x.anchor&&!x.tag&&!N&&!T){y===0&&x.comma?i(x.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):y<r.items.length-1&&i(x.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),x.comment&&(c.comment?c.comment+=`
|
|
179
|
+
`+x.comment:c.comment=x.comment),f=x.end;continue}!o&&n.options.strict&&qn(A)&&i(A,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(y===0)x.comma&&i(x.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(x.comma||i(x.start,"MISSING_CHAR",`Missing , between ${a} items`),x.comment){let E="";e:for(const _ of w)switch(_.type){case"comma":case"space":break;case"comment":E=_.source.substring(1);break e;default:break e}if(E){let _=c.items[c.items.length-1];ae(_)&&(_=_.value??_.key),_.comment?_.comment+=`
|
|
180
|
+
`+E:_.comment=E,x.comment=x.comment.substring(E.length+1)}}if(!o&&!N&&!x.found){const E=T?e(n,T,x,i):t(n,x.end,N,null,x,i);c.items.push(E),f=E.range[2],ps(T)&&i(E.range,"BLOCK_IN_FLOW",hs)}else{const E=x.end,_=A?e(n,A,x,i):t(n,E,w,null,x,i);ps(A)&&i(_.range,"BLOCK_IN_FLOW",hs);const F=nn(N??[],{flow:a,indicator:"map-value-ind",next:T,offset:_.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(F.found){if(!o&&!x.found&&n.options.strict){if(N)for(const L of N){if(L===F.found)break;if(L.type==="newline"){i(L,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}x.start<F.found.offset-1024&&i(F.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else T&&("source"in T&&T.source&&T.source[0]===":"?i(T,"MISSING_CHAR",`Missing space after : in ${a}`):i(F.start,"MISSING_CHAR",`Missing , or : between ${a} items`));const S=T?e(n,T,F,i):F.found?t(n,F.end,N,null,F,i):null;S?ps(T)&&i(S.range,"BLOCK_IN_FLOW",hs):F.comment&&(_.comment?_.comment+=`
|
|
181
|
+
`+F.comment:_.comment=F.comment);const P=new Ae(_,S);if(n.options.keepSourceTokens&&(P.srcToken=b),o){const L=c;wl(n,L.items,_)&&i(E,"DUPLICATE_KEY","Map keys must be unique"),L.items.push(P)}else{const L=new Re(n.schema);L.flow=!0,L.items.push(P),c.items.push(L)}f=S?S.range[2]:F.end}}const p=o?"}":"]",[d,...m]=r.end;let g=f;if(d&&d.source===p)g=d.offset+d.source.length;else{const y=a[0].toUpperCase()+a.substring(1),b=h?`${y} must end with a ${p}`:`${y} in block collection must be sufficiently indented and end with a ${p}`;i(f,h?"MISSING_CHAR":"BAD_INDENT",b),d&&d.source.length!==1&&m.unshift(d)}if(m.length>0){const y=Mn(m,g,n.options.strict,i);y.comment&&(c.comment?c.comment+=`
|
|
182
|
+
`+y.comment:c.comment=y.comment),c.range=[r.offset,g,y.offset]}else c.range=[r.offset,g,g];return c}l(Ew,"resolveFlowCollection");function ds(e,t,n,r,i,s){const o=n.type==="block-map"?Tw(e,t,n,r,s):n.type==="block-seq"?Nw(e,t,n,r,s):Ew(e,t,n,r,s),a=o.constructor;return i==="!"||i===a.tagName?(o.tag=a.tagName,o):(i&&(o.tag=i),o)}l(ds,"resolveCollection");function _w(e,t,n,r,i){const s=r?t.directives.tagName(r.source,f=>i(r,"TAG_RESOLVE_FAILED",f)):null,o=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!r||!s||s==="!"||s===Re.tagName&&o==="map"||s===At.tagName&&o==="seq"||!o)return ds(e,t,n,i,s);let a=t.schema.tags.find(f=>f.tag===s&&f.collection===o);if(!a){const f=t.schema.knownTags[s];if(f&&f.collection===o)t.schema.tags.push(Object.assign({},f,{default:!1})),a=f;else return f?.collection?i(r,"BAD_COLLECTION_TYPE",`${f.tag} used for ${o} collection, but expects ${f.collection}`,!0):i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),ds(e,t,n,i,s)}const u=ds(e,t,n,i,s,a),c=a.resolve?.(u,f=>i(r,"TAG_RESOLVE_FAILED",f),t.options)??u,h=ce(c)?c:new V(c);return h.range=u.range,h.tag=s,a?.format&&(h.format=a.format),h}l(_w,"composeCollection");function Ow(e,t,n){const r=t.offset,i=Lw(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const s=i.mode===">"?V.BLOCK_FOLDED:V.BLOCK_LITERAL,o=t.source?Iw(t.source):[];let a=o.length;for(let g=o.length-1;g>=0;--g){const y=o[g][1];if(y===""||y==="\r")a=g;else break}if(a===0){const g=i.chomp==="+"&&o.length>0?`
|
|
183
|
+
`.repeat(Math.max(1,o.length-1)):"";let y=r+i.length;return t.source&&(y+=t.source.length),{value:g,type:s,comment:i.comment,range:[r,y,y]}}let u=t.indent+i.indent,c=t.offset+i.length,h=0;for(let g=0;g<a;++g){const[y,b]=o[g];if(b===""||b==="\r")i.indent===0&&y.length>u&&(u=y.length);else{y.length<u&&n(c+y.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(u=y.length),h=g,u===0&&!e.atRoot&&n(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=y.length+b.length+1}for(let g=o.length-1;g>=a;--g)o[g][0].length>u&&(a=g+1);let f="",p="",d=!1;for(let g=0;g<h;++g)f+=o[g][0].slice(u)+`
|
|
184
|
+
`;for(let g=h;g<a;++g){let[y,b]=o[g];c+=y.length+b.length+1;const w=b[b.length-1]==="\r";if(w&&(b=b.slice(0,-1)),b&&y.length<u){const N=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(c-b.length-(w?2:1),"BAD_INDENT",N),y=""}s===V.BLOCK_LITERAL?(f+=p+y.slice(u)+b,p=`
|
|
185
|
+
`):y.length>u||b[0]===" "?(p===" "?p=`
|
|
186
|
+
`:!d&&p===`
|
|
187
|
+
`&&(p=`
|
|
188
188
|
|
|
189
|
-
`),f+=
|
|
190
|
-
`,d=!0):
|
|
189
|
+
`),f+=p+y.slice(u)+b,p=`
|
|
190
|
+
`,d=!0):b===""?p===`
|
|
191
191
|
`?f+=`
|
|
192
|
-
`:
|
|
193
|
-
`:(f+=
|
|
192
|
+
`:p=`
|
|
193
|
+
`:(f+=p+b,p=" ",d=!1)}switch(i.chomp){case"-":break;case"+":for(let g=a;g<o.length;++g)f+=`
|
|
194
194
|
`+o[g][0].slice(u);f[f.length-1]!==`
|
|
195
195
|
`&&(f+=`
|
|
196
196
|
`);break;default:f+=`
|
|
197
|
-
`}const m=r+i.length+
|
|
197
|
+
`}const m=r+i.length+t.source.length;return{value:f,type:s,comment:i.comment,range:[r,m,m]}}l(Ow,"resolveBlockScalar");function Lw({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],s=i[0];let o=0,a="",u=-1;for(let p=1;p<i.length;++p){const d=i[p];if(!a&&(d==="-"||d==="+"))a=d;else{const m=Number(d);!o&&m?o=m:u===-1&&(u=e+p)}}u!==-1&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,h="",f=i.length;for(let p=1;p<t.length;++p){const d=t[p];switch(d.type){case"space":c=!0;case"newline":f+=d.source.length;break;case"comment":n&&!c&&r(d,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),f+=d.source.length,h=d.source.substring(1);break;case"error":r(d,"UNEXPECTED_TOKEN",d.message),f+=d.source.length;break;default:{const m=`Unexpected token in block scalar header: ${d.type}`;r(d,"UNEXPECTED_TOKEN",m);const g=d.source;g&&typeof g=="string"&&(f+=g.length)}}}return{mode:s,indent:o,chomp:a,comment:h,length:f}}l(Lw,"parseBlockScalarHeader");function Iw(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),s=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let o=1;o<t.length;o+=2)s.push([t[o],t[o+1]]);return s}l(Iw,"splitLines$1");function Dw(e,t,n){const{offset:r,type:i,source:s,end:o}=e;let a,u;const c=l((p,d,m)=>n(r+p,d,m),"_onError");switch(i){case"scalar":a=V.PLAIN,u=Rw(s,c);break;case"single-quoted-scalar":a=V.QUOTE_SINGLE,u=Pw(s,c);break;case"double-quoted-scalar":a=V.QUOTE_DOUBLE,u=Fw(s,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[r,r+s.length,r+s.length]}}const h=r+s.length,f=Mn(o,h,t,n);return{value:u,type:a,comment:f.comment,range:[r,h,f.offset]}}l(Dw,"resolveFlowScalar");function Rw(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),vl(e)}l(Rw,"plainValue");function Pw(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),vl(e.slice(1,-1)).replace(/''/g,"'")}l(Pw,"singleQuotedValue");function vl(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
198
198
|
`,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
199
199
|
`,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],s=" ",o=t.lastIndex;for(n.lastIndex=o;r=n.exec(e);)r[1]===""?s===`
|
|
200
200
|
`?i+=s:s=`
|
|
201
|
-
`:(i+=s+r[1],s=" "),o=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=o,r=a.exec(e),i+s+(r?.[1]??"")}l(
|
|
201
|
+
`:(i+=s+r[1],s=" "),o=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=o,r=a.exec(e),i+s+(r?.[1]??"")}l(vl,"foldLines");function Fw(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
|
|
202
202
|
`))if(i===`
|
|
203
|
-
`){const{fold:s,offset:o}=
|
|
203
|
+
`){const{fold:s,offset:o}=qw(e,r);n+=s,r=o}else if(i==="\\"){let s=e[++r];const o=Mw[s];if(o)n+=o;else if(s===`
|
|
204
204
|
`)for(s=e[r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="\r"&&e[r+1]===`
|
|
205
|
-
`)for(s=e[++r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="x"||s==="u"||s==="U"){const a={x:2,u:4,U:8}[s];n
|
|
205
|
+
`)for(s=e[++r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="x"||s==="u"||s==="U"){const a={x:2,u:4,U:8}[s];n+=$w(e,r+1,a,t),r+=a}else{const a=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),n+=a}}else if(i===" "||i===" "){const s=r;let o=e[r+1];for(;o===" "||o===" ";)o=e[++r+1];o!==`
|
|
206
206
|
`&&!(o==="\r"&&e[r+2]===`
|
|
207
|
-
`)&&(n+=r>s?e.slice(s,r+1):i)}else n+=i}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}l(
|
|
207
|
+
`)&&(n+=r>s?e.slice(s,r+1):i)}else n+=i}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}l(Fw,"doubleQuotedValue");function qw(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===`
|
|
208
208
|
`||r==="\r")&&!(r==="\r"&&e[t+2]!==`
|
|
209
209
|
`);)r===`
|
|
210
210
|
`&&(n+=`
|
|
211
|
-
`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}l(
|
|
212
|
-
`,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function
|
|
211
|
+
`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}l(qw,"foldNewline");const Mw={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
212
|
+
`,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function $w(e,t,n,r){const i=e.substr(t,n),o=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(o)){const a=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(o)}l($w,"parseCharCode");function Sl(e,t,n,r){const{value:i,type:s,comment:o,range:a}=t.type==="block-scalar"?Ow(e,t,r):Dw(t,e.options.strict,r),u=n?e.directives.tagName(n.source,f=>r(n,"TAG_RESOLVE_FAILED",f)):null,c=n&&u?Bw(e.schema,i,u,n,r):t.type==="scalar"?jw(e,i,t,r):e.schema[it];let h;try{const f=c.resolve(i,p=>r(n??t,"TAG_RESOLVE_FAILED",p),e.options);h=re(f)?f:new V(f)}catch(f){const p=f instanceof Error?f.message:String(f);r(n??t,"TAG_RESOLVE_FAILED",p),h=new V(i)}return h.range=a,h.source=i,s&&(h.type=s),u&&(h.tag=u),c.format&&(h.format=c.format),o&&(h.comment=o),h}l(Sl,"composeScalar");function Bw(e,t,n,r,i){if(n==="!")return e[it];const s=[];for(const a of e.tags)if(!a.collection&&a.tag===n)if(a.default&&a.test)s.push(a);else return a;for(const a of s)if(a.test?.test(t))return a;const o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[it])}l(Bw,"findScalarTagByName");function jw({directives:e,schema:t},n,r,i){const s=t.tags.find(o=>o.default&&o.test?.test(n))||t[it];if(t.compat){const o=t.compat.find(a=>a.default&&a.test?.test(n))??t[it];if(s.tag!==o.tag){const a=e.tagString(s.tag),u=e.tagString(o.tag),c=`Value may be parsed as either ${a} or ${u}`;i(r,"TAG_RESOLVE_FAILED",c,!0)}}return s}l(jw,"findScalarTagByTest");function zw(e,t,n){if(t){n===null&&(n=t.length);for(let r=n-1;r>=0;--r){let i=t[r];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++r];i?.type==="space";)e+=i.source.length,i=t[++r];break}}return e}l(zw,"emptyScalarPosition");const Uw={composeNode:xl,composeEmptyNode:ms};function xl(e,t,n,r){const{spaceBefore:i,comment:s,anchor:o,tag:a}=n;let u,c=!0;switch(t.type){case"alias":u=Hw(e,t,r),(o||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Sl(e,t,a,r),o&&(u.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=_w(Uw,e,t,a,r),o&&(u.anchor=o.source.substring(1));break;default:{const h=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",h),u=ms(e,t.offset,void 0,null,n,r),c=!1}}return o&&u.anchor===""&&r(o,"BAD_ALIAS","Anchor cannot be an empty string"),i&&(u.spaceBefore=!0),s&&(t.type==="scalar"&&t.source===""?u.comment=s:u.commentBefore=s),e.options.keepSourceTokens&&c&&(u.srcToken=t),u}l(xl,"composeNode");function ms(e,t,n,r,{spaceBefore:i,comment:s,anchor:o,tag:a,end:u},c){const h={type:"scalar",offset:zw(t,n,r),indent:-1,source:""},f=Sl(e,h,a,c);return o&&(f.anchor=o.source.substring(1),f.anchor===""&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(f.spaceBefore=!0),s&&(f.comment=s,f.range[2]=u),f}l(ms,"composeEmptyNode");function Hw({options:e},{offset:t,source:n,end:r},i){const s=new Ki(n.substring(1));s.source===""&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,a=Mn(r,o,e.strict,i);return s.range=[t,o,a.offset],a.comment&&(s.comment=a.comment),s}l(Hw,"composeAlias");function Vw(e,t,{offset:n,start:r,value:i,end:s},o){const a=Object.assign({_directives:t},e),u=new Zn(void 0,a),c={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},h=nn(r,{indicator:"doc-start",next:i??s?.[0],offset:n,onError:o,parentIndent:0,startOnNewline:!0});h.found&&(u.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!h.hasNewline&&o(h.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=i?xl(c,i,h,o):ms(c,h.end,r,null,h,o);const f=u.contents.range[2],p=Mn(s,f,!1,o);return p.comment&&(u.comment=p.comment),u.range=[n,f,p.offset],u}l(Vw,"composeDoc");function $n(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}l($n,"getErrorPos");function Al(e){let t="",n=!1,r=!1;for(let i=0;i<e.length;++i){const s=e[i];switch(s[0]){case"#":t+=(t===""?"":r?`
|
|
213
213
|
|
|
214
214
|
`:`
|
|
215
|
-
`)+(s.substring(1)||" "),n=!0,r=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}l(
|
|
215
|
+
`)+(s.substring(1)||" "),n=!0,r=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}l(Al,"parsePrelude");class Gw{static{l(this,"Composer")}constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,i,s)=>{const o=$n(n);s?this.warnings.push(new Cw(o,r,i)):this.errors.push(new Fn(o,r,i))},this.directives=new Te({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=Al(this.prelude);if(r){const s=t.contents;if(n)t.comment=t.comment?`${t.comment}
|
|
216
216
|
${r}`:r;else if(i||t.directives.docStart||!s)t.commentBefore=r;else if(le(s)&&!s.flow&&s.items.length>0){let o=s.items[0];ae(o)&&(o=o.key);const a=o.commentBefore;o.commentBefore=a?`${r}
|
|
217
217
|
${a}`:r}else{const o=s.commentBefore;s.commentBefore=o?`${r}
|
|
218
|
-
${o}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:
|
|
219
|
-
${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new
|
|
218
|
+
${o}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Al(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const i of t)yield*this.next(i);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,i)=>{const s=$n(t);s[0]+=n,this.onError(s,"BAD_DIRECTIVE",r,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=Vw(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new Fn($n(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new Fn($n(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=Mn(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
|
|
219
|
+
${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Fn($n(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),i=new Zn(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,n,n],this.decorate(i,!1),yield i}}}const Cl="\uFEFF",Tl="",Nl="",gs="";function Ww(e){switch(e){case Cl:return"byte-order-mark";case Tl:return"doc-mode";case Nl:return"flow-error-end";case gs:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
220
220
|
`:case`\r
|
|
221
|
-
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}l(
|
|
222
|
-
`:case"\r":case" ":return!0;default:return!1}}l(
|
|
223
|
-
\r
|
|
221
|
+
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}l(Ww,"tokenType");function Pe(e){switch(e){case void 0:case" ":case`
|
|
222
|
+
`:case"\r":case" ":return!0;default:return!1}}l(Pe,"isEmpty");const El=new Set("0123456789ABCDEFabcdef"),Kw=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Lr=new Set(",[]{}"),Yw=new Set(` ,[]{}
|
|
223
|
+
\r `),ys=l(e=>!e||Yw.has(e),"isNotAnchorChar");class Jw{static{l(this,"Lexer")}constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===`
|
|
224
224
|
`?!0:n==="\r"?this.buffer[t+1]===`
|
|
225
225
|
`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const i=this.buffer[r+t+1];if(i===`
|
|
226
226
|
`||!i&&!this.atEnd)return t+r+1}return n===`
|
|
227
|
-
`||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&
|
|
228
|
-
`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===
|
|
227
|
+
`||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Pe(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
|
|
228
|
+
`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===Cl&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,r=t.indexOf("#");for(;r!==-1;){const s=t[r-1];if(s===" "||s===" "){n=r-1;break}else r=t.indexOf("#",r+1)}for(;;){const s=t[n-1];if(s===" "||s===" ")n-=1;else break}const i=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield Tl,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if(n==="---"&&Pe(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(n==="..."&&Pe(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Pe(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Pe(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(ys),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&i[0]!=="#"||r===0&&(i.startsWith("---")||i.startsWith("..."))&&Pe(i[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield Nl,yield*this.parseLineStart();let s=0;for(;i[s]===",";)s+=yield*this.pushCount(1),s+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(s+=yield*this.pushIndicators(),i[s]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-s),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(ys),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const o=this.charAt(1);if(this.flowKey||Pe(o)||o===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let s=0;for(;this.buffer[n-1-s]==="\\";)s+=1;if(s%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let i=r.indexOf(`
|
|
229
229
|
`,this.pos);if(i!==-1){for(;i!==-1;){const s=this.continueScalar(i+1);if(s===-1)break;i=r.indexOf(`
|
|
230
|
-
`,s)}i!==-1&&(n=i-(r[i-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>
|
|
231
|
-
`:t=
|
|
232
|
-
`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext
|
|
233
|
-
`,
|
|
234
|
-
|
|
230
|
+
`,s)}i!==-1&&(n=i-(r[i-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Pe(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let s=this.pos;r=this.buffer[s];++s)switch(r){case" ":n+=1;break;case`
|
|
231
|
+
`:t=s,n=0;break;case"\r":{const o=this.buffer[s+1];if(!o&&!this.atEnd)return this.setNext("block-scalar");if(o===`
|
|
232
|
+
`)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{const s=this.continueScalar(t+1);if(s===-1)break;t=this.buffer.indexOf(`
|
|
233
|
+
`,s)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let i=t+1;for(r=this.buffer[i];r===" ";)r=this.buffer[++i];if(r===" "){for(;r===" "||r===" "||r==="\r"||r===`
|
|
234
|
+
`;)r=this.buffer[++i];t=i-1}else if(!this.blockScalarKeep)do{let s=t-1,o=this.buffer[s];o==="\r"&&(o=this.buffer[--s]);const a=s;for(;o===" ";)o=this.buffer[--s];if(o===`
|
|
235
|
+
`&&s>=this.pos&&s+1+n>a)t=s;else break}while(!0);return yield gs,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,i;for(;i=this.buffer[++r];)if(i===":"){const s=this.buffer[r+1];if(Pe(s)||t&&Lr.has(s))break;n=r}else if(Pe(i)){let s=this.buffer[r+1];if(i==="\r"&&(s===`
|
|
235
236
|
`?(r+=1,i=`
|
|
236
|
-
`,s=this.buffer[r+1]):n=r),s==="#"||t&&
|
|
237
|
-
`){const o=this.continueScalar(r+1);if(o===-1)break;r=Math.max(r,o-2)}}else{if(t&&
|
|
237
|
+
`,s=this.buffer[r+1]):n=r),s==="#"||t&&Lr.has(s))break;if(i===`
|
|
238
|
+
`){const o=this.continueScalar(r+1);if(o===-1)break;r=Math.max(r,o-2)}}else{if(t&&Lr.has(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield gs,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(ys))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Pe(n)||t&&Lr.has(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Pe(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if(Kw.has(n))n=this.buffer[++t];else if(n==="%"&&El.has(this.buffer[t+1])&&El.has(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
|
|
238
239
|
`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
|
|
239
|
-
`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const i=n-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=n),i}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class
|
|
240
|
+
`?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const i=n-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=n),i}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class Qw{static{l(this,"LineCounter")}constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const s=n+r>>1;this.lineStarts[s]<t?n=s+1:r=s}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const i=this.lineStarts[n-1];return{line:n,col:t-i+1}}}}function Ct(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}l(Ct,"includesToken");function _l(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}l(_l,"findNonEmptyIndex");function Ol(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}l(Ol,"isFlowToken");function Ir(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}l(Ir,"getPrevProps");function rn(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}l(rn,"getFirstKeyStartProps");function Ll(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Ct(t.start,"explicit-key-ind")&&!Ct(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Ol(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}l(Ll,"fixFlowSeqItems");class Xw{static{l(this,"Parser")}constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Jw,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=Ww(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&Ll(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const i=r.items[r.items.length-1];if(i.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=n;else{Object.assign(i,{key:n,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{const i=r.items[r.items.length-1];i.value?r.items.push({start:[],value:n}):i.value=n;break}case"flow-collection":{const i=r.items[r.items.length-1];!i||i.value?r.items.push({start:[],key:n,sep:[]}):i.sep?i.value=n:Object.assign(i,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const i=n.items[n.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&_l(i.start)===-1&&(n.indent===0||i.start.every(s=>s.type!=="comment"||s.indent<n.indent))&&(r.type==="document"?r.end=i.start:r.items.push({start:i.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{_l(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=Ir(this.peek(2)),r=rn(n);let i;t.end?(i=t.end,i.push(this.sourceToken),delete t.end):i=[this.sourceToken];const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
|
|
240
241
|
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
|
|
241
|
-
`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const r=!this.onKeyLine&&this.indent===t.indent&&n.sep&&this.type!=="seq-item-ind";let
|
|
242
|
+
`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const r=!this.onKeyLine&&this.indent===t.indent,i=r&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let s=[];if(i&&n.sep&&!n.value){const o=[];for(let a=0;a<n.sep.length;++a){const u=n.sep[a];switch(u.type){case"newline":o.push(a);break;case"space":break;case"comment":u.indent>t.indent&&(o.length=0);break;default:o.length=0}}o.length>=2&&(s=n.sep.splice(o[1]))}switch(this.type){case"anchor":case"tag":i||n.value?(s.push(this.sourceToken),t.items.push({start:s}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):i||n.value?(s.push(this.sourceToken),t.items.push({start:s,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Ct(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]});else if(Ol(n.key)&&!Ct(n.sep,"newline")){const o=rn(n.start),a=n.key,u=n.sep;u.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:a,sep:u}]})}else s.length>0?n.sep=n.sep.concat(s,this.sourceToken):n.sep.push(this.sourceToken);else if(Ct(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const o=rn(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:o,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:s,key:null,sep:[this.sourceToken]}):Ct(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const o=this.flowScalar(this.type);i||n.value?(t.items.push({start:s,key:o,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(o):(Object.assign(n,{key:o,sep:[]}),this.onKeyLine=!0);return}default:{const o=this.startBlockValue(t);if(o){r&&o.type!=="block-seq"&&t.items.push({start:s}),this.stack.push(o);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||Ct(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const r=this.startBlockValue(t);if(r){this.stack.push(r);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r&&r.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:i,sep:[]}):n.sep?this.stack.push(i):Object.assign(n,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const i=Ir(r),s=rn(i);Ll(t);const o=t.end.splice(1,t.end.length);o.push(this.sourceToken);const a={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:s,key:t,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
|
|
242
243
|
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
|
|
243
|
-
`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=
|
|
244
|
-
`);if(n===void 0||r===void 0)return t===void 0?e:["---",
|
|
244
|
+
`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Ir(t),r=rn(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Ir(t),r=rn(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function Zw(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new Qw||null,prettyErrors:t}}l(Zw,"parseOptions");function e0(e,t={}){const{lineCounter:n,prettyErrors:r}=Zw(t),i=new Xw(n?.addNewLine),s=new Gw(t);let o=null;for(const a of s.compose(i.parse(e),!0,e.length))if(!o)o=a;else if(o.options.logLevel!=="silent"){o.errors.push(new Fn(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(o.errors.forEach(bl(e,n)),o.warnings.forEach(bl(e,n))),o}l(e0,"parseDocument");function Il(e,t,n){let r;const i=e0(e,n);if(!i)return null;if(i.warnings.forEach(s=>Ka(i.options.logLevel,s)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}l(Il,"parse$1");function Dl(e,t,n){let r=null;if(Array.isArray(t)&&(r=t),e===void 0){const{keepUndefined:i}={};if(!i)return}return new Zn(e,r,n).toString(n)}l(Dl,"stringify$3");async function t0(e,t){const[n,r]=n0(e),i=e.split(`
|
|
245
|
+
`);if(n===void 0||r===void 0)return t===void 0?e:["---",Dl({noteId:t}).trim(),`---
|
|
245
246
|
`,...i].join(`
|
|
246
247
|
`);const s=i.slice(n+1,r).join(`
|
|
247
|
-
`),o=await
|
|
248
|
-
`)}l(
|
|
249
|
-
`);if(!t.join("").trim().startsWith("---"))return[void 0,void 0];const n=t.findIndex(i=>i.startsWith("---")),r=t.findIndex((i,s)=>s>n&&i.startsWith("---"));return n===-1||r===-1?[void 0,void 0]:[n,r]}l(Ww,"getFrontmatterRange");const Tl=[{id:"abap",name:"ABAP",import:()=>import("./abap-DXFkqnOI.js")},{id:"actionscript-3",name:"ActionScript",import:()=>import("./actionscript-3-D6NljDpC.js")},{id:"ada",name:"Ada",import:()=>import("./ada-CowR2XfX.js")},{id:"angular-html",name:"Angular HTML",import:()=>import("./angular-html-CZfDmWtJ.js").then(function(e){return e.e})},{id:"angular-ts",name:"Angular TypeScript",import:()=>import("./angular-ts-CIhYrOL5.js")},{id:"apache",name:"Apache Conf",import:()=>import("./apache-rS0jd3Ly.js")},{id:"apex",name:"Apex",import:()=>import("./apex-Sfo2eW0G.js")},{id:"apl",name:"APL",import:()=>import("./apl-DPLNWaKG.js")},{id:"applescript",name:"AppleScript",import:()=>import("./applescript-BXKAgOFh.js")},{id:"ara",name:"Ara",import:()=>import("./ara-CG4fK2Nq.js")},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>import("./asciidoc-C539GviS.js")},{id:"asm",name:"Assembly",import:()=>import("./asm-PWN5J14X.js")},{id:"astro",name:"Astro",import:()=>import("./astro-71xeBtnw.js")},{id:"awk",name:"AWK",import:()=>import("./awk-i0IPvypD.js")},{id:"ballerina",name:"Ballerina",import:()=>import("./ballerina-T9ysyp6P.js")},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>import("./bat-BPiaQZfK.js")},{id:"beancount",name:"Beancount",import:()=>import("./beancount-Urb1RsFe.js")},{id:"berry",name:"Berry",aliases:["be"],import:()=>import("./berry-CxrokwfH.js")},{id:"bibtex",name:"BibTeX",import:()=>import("./bibtex-BaedD2tq.js")},{id:"bicep",name:"Bicep",import:()=>import("./bicep-3ghuYFLd.js")},{id:"blade",name:"Blade",import:()=>import("./blade-D3A5GssZ.js")},{id:"c",name:"C",import:()=>import("./c-RCJZWN-0.js")},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>import("./cadence-Bgpqy2XC.js")},{id:"clarity",name:"Clarity",import:()=>import("./clarity-CIekO_uJ.js")},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>import("./clojure-BF6G6X0H.js")},{id:"cmake",name:"CMake",import:()=>import("./cmake-DXZpi2gR.js")},{id:"cobol",name:"COBOL",import:()=>import("./cobol-Bi0pgIzz.js")},{id:"codeowners",name:"CODEOWNERS",import:()=>import("./codeowners-CGmujMTu.js")},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>import("./codeql-BOpLLL-w.js")},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>import("./coffee-Cp6Hkwsd.js")},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>import("./common-lisp-C3qUB5O8.js")},{id:"cpp",name:"C++",aliases:["c++"],import:()=>import("./cpp-CeZn6MzL.js")},{id:"crystal",name:"Crystal",import:()=>import("./crystal-B5pCH4eR.js")},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>import("./csharp-DISxKEhY.js")},{id:"css",name:"CSS",import:()=>import("./css-CbYhyuC0.js")},{id:"csv",name:"CSV",import:()=>import("./csv-B2DkETJQ.js")},{id:"cue",name:"CUE",import:()=>import("./cue-C6Aznpr-.js")},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>import("./cypher-ByMv4Xf1.js")},{id:"d",name:"D",import:()=>import("./d-PifQWv0n.js")},{id:"dart",name:"Dart",import:()=>import("./dart-DZLoTQm4.js")},{id:"dax",name:"DAX",import:()=>import("./dax-DsfXcHUZ.js")},{id:"desktop",name:"Desktop",import:()=>import("./desktop-D71BffLY.js")},{id:"diff",name:"Diff",import:()=>import("./diff-DvyTQcux.js")},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>import("./docker-DNR26wTC.js")},{id:"dream-maker",name:"Dream Maker",import:()=>import("./dream-maker-Eh5U-gDp.js")},{id:"elixir",name:"Elixir",import:()=>import("./elixir-Exce1dLy.js")},{id:"elm",name:"Elm",import:()=>import("./elm-D7CfdsEG.js")},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>import("./emacs-lisp-51pKhIDe.js")},{id:"erb",name:"ERB",import:()=>import("./erb-S7d1X-Y-.js")},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>import("./erlang-DS9ZWoKD.js")},{id:"fennel",name:"Fennel",import:()=>import("./fennel-DuK7IM-L.js")},{id:"fish",name:"Fish",import:()=>import("./fish-DfeQjIbs.js")},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>import("./fluent-KPqz0Sb3.js")},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>import("./fortran-fixed-form-6v7-xzYY.js")},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>import("./fortran-free-form-D6pmzCqS.js")},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>import("./fsharp-JZjmD0Li.js")},{id:"gdresource",name:"GDResource",import:()=>import("./gdresource-CFKM8Ske.js")},{id:"gdscript",name:"GDScript",import:()=>import("./gdscript-CoEqzGFw.js")},{id:"gdshader",name:"GDShader",import:()=>import("./gdshader-B_SUYfiV.js")},{id:"genie",name:"Genie",import:()=>import("./genie-DAfrLhwG.js")},{id:"gherkin",name:"Gherkin",import:()=>import("./gherkin-B0PjAhci.js")},{id:"git-commit",name:"Git Commit Message",import:()=>import("./git-commit-XY8bXq83.js")},{id:"git-rebase",name:"Git Rebase Message",import:()=>import("./git-rebase-BE3WlPTi.js")},{id:"gleam",name:"Gleam",import:()=>import("./gleam-Dd6f7Z5P.js")},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>import("./glimmer-js-I0TZ3_O1.js")},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>import("./glimmer-ts-CY38hlIb.js")},{id:"glsl",name:"GLSL",import:()=>import("./glsl-tOUOXML3.js")},{id:"gnuplot",name:"Gnuplot",import:()=>import("./gnuplot-nclm9rTJ.js")},{id:"go",name:"Go",import:()=>import("./go-BJn7Ek5W.js")},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>import("./graphql-DwwLrXH1.js")},{id:"groovy",name:"Groovy",import:()=>import("./groovy-wChcbJ1V.js")},{id:"hack",name:"Hack",import:()=>import("./hack-DmjQSZc3.js")},{id:"haml",name:"Ruby Haml",import:()=>import("./haml-map1ik7u.js")},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>import("./handlebars-CCc9qS91.js")},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>import("./haskell-DOVD4hs_.js")},{id:"haxe",name:"Haxe",import:()=>import("./haxe-Dit6kIrv.js")},{id:"hcl",name:"HashiCorp HCL",import:()=>import("./hcl-CpAANOdC.js")},{id:"hjson",name:"Hjson",import:()=>import("./hjson-DZqG9GXz.js")},{id:"hlsl",name:"HLSL",import:()=>import("./hlsl-DmDrTTlz.js")},{id:"html",name:"HTML",import:()=>import("./html-NmvpQUfQ.js")},{id:"html-derivative",name:"HTML (Derivative)",import:()=>import("./html-derivative-QphQoco-.js")},{id:"http",name:"HTTP",import:()=>import("./http-B58UUte0.js")},{id:"hxml",name:"HXML",import:()=>import("./hxml-4EC8aR1F.js")},{id:"hy",name:"Hy",import:()=>import("./hy-y-6HuL9l.js")},{id:"imba",name:"Imba",import:()=>import("./imba-CyaA9484.js")},{id:"ini",name:"INI",aliases:["properties"],import:()=>import("./ini-DeVv6D4_.js")},{id:"java",name:"Java",import:()=>import("./java-ClXEvkw9.js")},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>import("./javascript-Dch3xQiY.js")},{id:"jinja",name:"Jinja",import:()=>import("./jinja-BrXMjE5a.js")},{id:"jison",name:"Jison",import:()=>import("./jison-DlEKeWyG.js")},{id:"json",name:"JSON",import:()=>import("./json-CupVZNk8.js")},{id:"json5",name:"JSON5",import:()=>import("./json5-Bh8mriwU.js")},{id:"jsonc",name:"JSON with Comments",import:()=>import("./jsonc-DYI1rfmx.js")},{id:"jsonl",name:"JSON Lines",import:()=>import("./jsonl-BUpeXbsf.js")},{id:"jsonnet",name:"Jsonnet",import:()=>import("./jsonnet-C9d3aiqh.js")},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>import("./jssm-Dble9ECP.js")},{id:"jsx",name:"JSX",import:()=>import("./jsx-CsyrCbsw.js")},{id:"julia",name:"Julia",aliases:["jl"],import:()=>import("./julia-jDzGJc6I.js")},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>import("./kotlin-BIxS-Weu.js")},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>import("./kusto-DGEpfOTx.js")},{id:"latex",name:"LaTeX",import:()=>import("./latex-bjPeSN-x.js")},{id:"less",name:"Less",import:()=>import("./less-Du6_OKDb.js")},{id:"liquid",name:"Liquid",import:()=>import("./liquid-DHpvaAyy.js")},{id:"log",name:"Log file",import:()=>import("./log-Ksn5IXup.js")},{id:"logo",name:"Logo",import:()=>import("./logo-DdacRhvC.js")},{id:"lua",name:"Lua",import:()=>import("./lua-Cy9U1SwF.js")},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>import("./make-B9S9BZZh.js")},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>import("./markdown-BdfWgkoX.js")},{id:"marko",name:"Marko",import:()=>import("./marko-neMFgnTa.js")},{id:"matlab",name:"MATLAB",import:()=>import("./matlab-Btshr8M_.js")},{id:"mdc",name:"MDC",import:()=>import("./mdc-_-l14nii.js")},{id:"mdx",name:"MDX",import:()=>import("./mdx-CBPJd_fO.js")},{id:"mermaid",name:"Mermaid",import:()=>import("./mermaid-Dkb1Nx48.js")},{id:"mojo",name:"Mojo",import:()=>import("./mojo--7WWnkdy.js")},{id:"move",name:"Move",import:()=>import("./move-MN12aA4C.js")},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>import("./narrat-B9CT-1u6.js")},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>import("./nextflow-DBxHOdLe.js")},{id:"nginx",name:"Nginx",import:()=>import("./nginx-C3DmzmOp.js")},{id:"nim",name:"Nim",import:()=>import("./nim-BjhyiCLB.js")},{id:"nix",name:"Nix",import:()=>import("./nix-B7rNE5kf.js")},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>import("./nushell-CrgTADc5.js")},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>import("./objective-c-DHmGyzbM.js")},{id:"objective-cpp",name:"Objective-C++",import:()=>import("./objective-cpp-BWKJ1FCf.js")},{id:"ocaml",name:"OCaml",import:()=>import("./ocaml-RqY_Nz63.js")},{id:"pascal",name:"Pascal",import:()=>import("./pascal-B6ZnTe72.js")},{id:"perl",name:"Perl",import:()=>import("./perl-PZnu_VA7.js")},{id:"php",name:"PHP",import:()=>import("./php-m9Z3qs_k.js")},{id:"plsql",name:"PL/SQL",import:()=>import("./plsql-BbJj1K1w.js")},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>import("./po-HrnDn_2Q.js")},{id:"postcss",name:"PostCSS",import:()=>import("./postcss-DXT9h7v2.js")},{id:"powerquery",name:"PowerQuery",import:()=>import("./powerquery-CApMHEaB.js")},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>import("./powershell-9ZOzOPqN.js")},{id:"prisma",name:"Prisma",import:()=>import("./prisma-BBJYjQ0k.js")},{id:"prolog",name:"Prolog",import:()=>import("./prolog-BH_RS3WO.js")},{id:"proto",name:"Protocol Buffer 3",import:()=>import("./proto-DOtRmeXT.js")},{id:"pug",name:"Pug",aliases:["jade"],import:()=>import("./pug-jyQP1XtO.js")},{id:"puppet",name:"Puppet",import:()=>import("./puppet-37ic6j3l.js")},{id:"purescript",name:"PureScript",import:()=>import("./purescript-Bm5O5oLm.js")},{id:"python",name:"Python",aliases:["py"],import:()=>import("./python-DwuVtWc2.js")},{id:"qml",name:"QML",import:()=>import("./qml-DM3j-f55.js")},{id:"qmldir",name:"QML Directory",import:()=>import("./qmldir-MS3qTAOR.js")},{id:"qss",name:"Qt Style Sheets",import:()=>import("./qss-FJDVp-XM.js")},{id:"r",name:"R",import:()=>import("./r-BXfENWL6.js")},{id:"racket",name:"Racket",import:()=>import("./racket-BbLA0SU8.js")},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>import("./raku-D384ylkT.js")},{id:"razor",name:"ASP.NET Razor",import:()=>import("./razor-DokJXJPk.js")},{id:"reg",name:"Windows Registry Script",import:()=>import("./reg-CrhH3_Og.js")},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>import("./regexp-C_ZPRiAj.js")},{id:"rel",name:"Rel",import:()=>import("./rel-BuawaRXJ.js")},{id:"riscv",name:"RISC-V",import:()=>import("./riscv-D-aEEwJo.js")},{id:"rst",name:"reStructuredText",import:()=>import("./rst-DlAMacAQ.js")},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>import("./ruby-eQ1iIi6H.js")},{id:"rust",name:"Rust",aliases:["rs"],import:()=>import("./rust-DGxQkqYo.js")},{id:"sas",name:"SAS",import:()=>import("./sas-BhBoFsCt.js")},{id:"sass",name:"Sass",import:()=>import("./sass-CMDmr8et.js")},{id:"scala",name:"Scala",import:()=>import("./scala-Cd0cRMx9.js")},{id:"scheme",name:"Scheme",import:()=>import("./scheme-BTeww-4z.js")},{id:"scss",name:"SCSS",import:()=>import("./scss-DoQ2ojfq.js")},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>import("./shaderlab-Bb-6Dmi7.js")},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>import("./shellscript-BZfs-ost.js")},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>import("./shellsession-B6XH_PlG.js")},{id:"smalltalk",name:"Smalltalk",import:()=>import("./smalltalk-DSsji4Hu.js")},{id:"solidity",name:"Solidity",import:()=>import("./solidity-CThH5sBG.js")},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>import("./soy-rVg8SA9F.js")},{id:"sparql",name:"SPARQL",import:()=>import("./sparql-Cmp61EUJ.js")},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>import("./splunk-6XBPEST2.js")},{id:"sql",name:"SQL",import:()=>import("./sql-DxR2xW-a.js")},{id:"ssh-config",name:"SSH Config",import:()=>import("./ssh-config-BH1M7C1g.js")},{id:"stata",name:"Stata",import:()=>import("./stata-DGeqZgIM.js")},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>import("./stylus-DSrLtGYv.js")},{id:"svelte",name:"Svelte",import:()=>import("./svelte-BMtjZn0z.js")},{id:"swift",name:"Swift",import:()=>import("./swift-C8WrqfNz.js")},{id:"system-verilog",name:"SystemVerilog",import:()=>import("./system-verilog-BscxmKrE.js")},{id:"systemd",name:"Systemd Units",import:()=>import("./systemd-IQPSIA3x.js")},{id:"tasl",name:"Tasl",import:()=>import("./tasl-BxwAa5i0.js")},{id:"tcl",name:"Tcl",import:()=>import("./tcl-C_8Fx7bH.js")},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>import("./terraform-DBeuZS66.js")},{id:"tex",name:"TeX",import:()=>import("./tex-BqVuN0dX.js")},{id:"toml",name:"TOML",import:()=>import("./toml-BT9ZzGyQ.js")},{id:"tsv",name:"TSV",import:()=>import("./tsv-DnLUQrgA.js")},{id:"tsx",name:"TSX",import:()=>import("./tsx-BlxWTfDV.js")},{id:"turtle",name:"Turtle",import:()=>import("./turtle-C15OxdQ5.js")},{id:"twig",name:"Twig",import:()=>import("./twig-DDlPLETn.js")},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>import("./typescript-DC8MraHL.js")},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>import("./typespec-Bx89rGXK.js")},{id:"typst",name:"Typst",aliases:["typ"],import:()=>import("./typst-I4qd5QHW.js")},{id:"v",name:"V",import:()=>import("./v-C2TBxDwV.js")},{id:"vala",name:"Vala",import:()=>import("./vala-CO5hpdkB.js")},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>import("./vb-beD-FUib.js")},{id:"verilog",name:"Verilog",import:()=>import("./verilog-DVfdqzEq.js")},{id:"vhdl",name:"VHDL",import:()=>import("./vhdl-QZ3jNtnE.js")},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>import("./viml-BLluXI4E.js")},{id:"vue",name:"Vue",import:()=>import("./vue-B6Rs-4k4.js")},{id:"vue-html",name:"Vue HTML",import:()=>import("./vue-html-Blw9Jzz9.js")},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>import("./vyper-o-cPXEvd.js")},{id:"wasm",name:"WebAssembly",import:()=>import("./wasm-Cicx_DS6.js")},{id:"wenyan",name:"Wenyan",aliases:["\u6587\u8A00"],import:()=>import("./wenyan-Cavfe_d0.js")},{id:"wgsl",name:"WGSL",import:()=>import("./wgsl-BZz1Hhek.js")},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>import("./wikitext-zfUCmn4z.js")},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>import("./wolfram-BICIrM8O.js")},{id:"xml",name:"XML",import:()=>import("./xml-sp2Egr0Z.js")},{id:"xsl",name:"XSL",import:()=>import("./xsl-BQYvujlj.js")},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>import("./yaml-C5gCGmDW.js")},{id:"zenscript",name:"ZenScript",import:()=>import("./zenscript-B1nm99XP.js")},{id:"zig",name:"Zig",import:()=>import("./zig-xtV5iK4E.js")}],Kw=Object.fromEntries(Tl.map(e=>[e.id,e.import])),Yw=Object.fromEntries(Tl.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),Nl={...Kw,...Yw},Jw=l(async e=>import("./wasm-2oxoyaYy.js").then(t=>t.default(e)),"getWasmInlined"),Qw=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>import("./andromeeda-YxQm0tCS.js")},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>import("./aurora-x-BaWyeHV_.js")},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>import("./ayu-dark-Bn5gmY5k.js")},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xE9",type:"dark",import:()=>import("./catppuccin-frappe-BsOrZxH8.js")},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>import("./catppuccin-latte-BYdKNJ10.js")},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>import("./catppuccin-macchiato-DVLwECkk.js")},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>import("./catppuccin-mocha-CEfge3mM.js")},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>import("./dark-plus-KEYLhlmT.js")},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>import("./dracula-DGO8GyiP.js")},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>import("./dracula-soft-9B1nZgL-.js")},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>import("./github-dark-CzPA46E-.js")},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>import("./github-dark-default-BXF7Vm5l.js")},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>import("./github-dark-dimmed-CRDKj6ck.js")},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>import("./github-light-CRlnGVMD.js")},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>import("./github-light-default-UREJT2Bw.js")},{id:"houston",displayName:"Houston",type:"dark",import:()=>import("./houston-CZZ6oYdA.js")},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>import("./light-plus-BsvsQ1iS.js")},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>import("./material-theme-B2BuIiKK.js")},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>import("./material-theme-darker-BrGg7AAd.js")},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>import("./material-theme-lighter-DDRuGeQH.js")},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>import("./material-theme-ocean-CBL0qBdF.js")},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>import("./material-theme-palenight-D7gg1Usp.js")},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>import("./min-dark-iSbrOpM4.js")},{id:"min-light",displayName:"Min Light",type:"light",import:()=>import("./min-light-BITGhEdf.js")},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>import("./monokai-sMI-pExk.js")},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>import("./night-owl-BeocmOPF.js")},{id:"nord",displayName:"Nord",type:"dark",import:()=>import("./nord-CsyjKwr8.js")},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>import("./one-dark-pro-BTtaZsq5.js")},{id:"one-light",displayName:"One Light",type:"light",import:()=>import("./one-light-alpzPJ78.js")},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>import("./poimandres-Cda-MJFk.js")},{id:"red",displayName:"Red",type:"dark",import:()=>import("./red-jaXbsbtS.js")},{id:"rose-pine",displayName:"Ros\xE9 Pine",type:"dark",import:()=>import("./rose-pine-BIAFg_EN.js")},{id:"rose-pine-dawn",displayName:"Ros\xE9 Pine Dawn",type:"light",import:()=>import("./rose-pine-dawn-C5m_N-6l.js")},{id:"rose-pine-moon",displayName:"Ros\xE9 Pine Moon",type:"dark",import:()=>import("./rose-pine-moon-B9S0JTD1.js")},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>import("./slack-dark-C7oZ9nno.js")},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>import("./slack-ochin-hXH8Gyq8.js")},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>import("./snazzy-light-CA9nliXM.js")},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>import("./solarized-dark-C86elO-m.js")},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>import("./solarized-light-xPNGhBYe.js")},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>import("./synthwave-84-BBDuFDsq.js")},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>import("./tokyo-night-eJfcURhx.js")},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>import("./vesper-BSB_bK09.js")},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>import("./vitesse-black-B3g-KkBK.js")},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>import("./vitesse-dark-Bxkoe-BC.js")},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>import("./vitesse-light-Br6ll-O0.js")}],Xw=Object.fromEntries(Qw.map(e=>[e.id,e.import]));var Ge;(function(e){e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline"})(Ge||(Ge={})),typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var tn;(function(e){function t(p){return p.toString(2).padStart(32,"0")}l(t,"toBinaryStr"),e.toBinaryStr=t;function n(p){const f=e.getLanguageId(p),h=e.getTokenType(p),d=e.getFontStyle(p),m=e.getForeground(p),g=e.getBackground(p);console.log({languageId:f,tokenType:h,fontStyle:d,foreground:m,background:g})}l(n,"print"),e.print=n;function r(p){return(p&255)>>>0}l(r,"getLanguageId"),e.getLanguageId=r;function i(p){return(p&768)>>>8}l(i,"getTokenType"),e.getTokenType=i;function s(p){return(p&1024)!==0}l(s,"containsBalancedBrackets"),e.containsBalancedBrackets=s;function o(p){return(p&30720)>>>11}l(o,"getFontStyle"),e.getFontStyle=o;function a(p){return(p&16744448)>>>15}l(a,"getForeground"),e.getForeground=a;function u(p){return(p&4278190080)>>>24}l(u,"getBackground"),e.getBackground=u;function c(p,f,h,d,m,g,y){let w=e.getLanguageId(p),b=e.getTokenType(p),S=e.containsBalancedBrackets(p)?1:0,T=e.getFontStyle(p),N=e.getForeground(p),A=e.getBackground(p);return f!==0&&(w=f),h!==8&&(b=h),d!==null&&(S=d?1:0),m!==-1&&(T=m),g!==0&&(N=g),y!==0&&(A=y),(w<<0|b<<8|S<<10|T<<11|N<<15|A<<24)>>>0}l(c,"set"),e.set=c})(tn||(tn={}));function BE(e){return e}l(BE,"toOptionalTokenType");function jE(e){return e}l(jE,"fromOptionalTokenType");function Nr(e,t){const n=[],r=Zw(e);let i=r.next();for(;i!==null;){let u=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":u=1;break;case"L":u=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=o();if(n.push({matcher:c,priority:u}),i!==",")break;i=r.next()}return n;function s(){if(i==="-"){i=r.next();const u=s();return c=>!!u&&!u(c)}if(i==="("){i=r.next();const u=a();return i===")"&&(i=r.next()),u}if(El(i)){const u=[];do u.push(i),i=r.next();while(El(i));return c=>t(u,c)}return null}function o(){const u=[];let c=s();for(;c;)u.push(c),c=s();return p=>u.every(f=>f(p))}function a(){const u=[];let c=o();for(;c&&(u.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=o()}return p=>u.some(f=>f(p))}}l(Nr,"createMatchers");function El(e){return!!e&&!!e.match(/[\w\.:]+/)}l(El,"isIdentifier");function Zw(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}l(Zw,"newTokenizer");function _l(e){typeof e.dispose=="function"&&e.dispose()}l(_l,"disposeOnigString");function e0(e){return cs(e)}l(e0,"clone");function cs(e){return Array.isArray(e)?t0(e):typeof e=="object"?n0(e):e}l(cs,"doClone");function t0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=cs(e[n]);return t}l(t0,"cloneArray");function n0(e){let t={};for(let n in e)t[n]=cs(e[n]);return t}l(n0,"cloneObj");function Ol(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}l(Ol,"mergeObjects");function Ll(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Ll(e.substring(0,e.length-1)):e.substr(~t+1)}l(Ll,"basename$1");let fs=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Er{static{l(this,"RegexSource")}static hasCaptures(t){return t===null?!1:(fs.lastIndex=0,fs.test(t))}static replaceCaptures(t,n,r){return t.replace(fs,(i,s,o,a)=>{let u=r[parseInt(s||o,10)];if(u){let c=n.substring(u.start,u.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return i})}}function Il(e,t){return e<t?-1:e>t?1:0}l(Il,"strcmp");function Dl(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let i=0;i<n;i++){let s=Il(e[i],t[i]);if(s!==0)return s}return 0}return n-r}l(Dl,"strArrCmp");function Rl(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}l(Rl,"isValidHexColor");function Pl(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}l(Pl,"escapeRegExpCharacters");class ql{static{l(this,"CachedFn")}fn;cache=new Map;constructor(t){this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class qn{static{l(this,"TopLevelRuleReference")}scopeName;constructor(t){this.scopeName=t}toKey(){return this.scopeName}}class r0{static{l(this,"TopLevelRepositoryRuleReference")}scopeName;ruleName;constructor(t,n){this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class i0{static{l(this,"ExternalReferenceCollector")}_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class s0{static{l(this,"ScopeDependencyProcessor")}repo;initialScopeName;seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;constructor(t,n){this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new qn(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new i0;for(const r of t)o0(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof qn){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function o0(e,t,n,r){const i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof qn?_r({baseGrammar:s,selfGrammar:i},r):ps(e.ruleName,{baseGrammar:s,selfGrammar:i,repository:i.repository},r);const o=n.injections(e.scopeName);if(o)for(const a of o)r.add(new qn(a))}l(o0,"collectReferencesOfReference");function ps(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Or([r],t,n)}}l(ps,"collectExternalReferencesInTopLevelRepositoryRule");function _r(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Or(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Or(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}l(_r,"collectExternalReferencesInTopLevelRule");function Or(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?Ol({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Or(r.patterns,{...t,repository:i},n);const s=r.include;if(!s)continue;const o=Fl(s);switch(o.kind){case 0:_r({...t,selfGrammar:t.baseGrammar},n);break;case 1:_r(t,n);break;case 2:ps(o.ruleName,{...t,repository:i},n);break;case 3:case 4:const a=o.scopeName===t.selfGrammar.scopeName?t.selfGrammar:o.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const u={baseGrammar:t.baseGrammar,selfGrammar:a,repository:i};o.kind===4?ps(o.ruleName,u,n):_r(u,n)}else o.kind===4?n.add(new r0(o.scopeName,o.ruleName)):n.add(new qn(o.scopeName));break}}}l(Or,"collectExternalReferencesInRules");class a0{static{l(this,"BaseReference")}kind=0}class l0{static{l(this,"SelfReference")}kind=1}class u0{static{l(this,"RelativeReference")}ruleName;kind=2;constructor(t){this.ruleName=t}}class c0{static{l(this,"TopLevelReference")}scopeName;kind=3;constructor(t){this.scopeName=t}}class f0{static{l(this,"TopLevelRepositoryReference")}scopeName;ruleName;kind=4;constructor(t,n){this.scopeName=t,this.ruleName=n}}function Fl(e){if(e==="$base")return new a0;if(e==="$self")return new l0;const t=e.indexOf("#");if(t===-1)return new c0(e);if(t===0)return new u0(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new f0(n,r)}}l(Fl,"parseInclude");const p0=/\\(\d+)/,Ml=/\\(\d+)/g,h0=-1,$l=-2;function zE(e){return e}l(zE,"ruleIdFromNumber");function UE(e){return e}l(UE,"ruleIdToNumber");class Fn{static{l(this,"Rule")}$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,n,r,i){this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Er.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Er.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Ll(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:Er.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Er.replaceCaptures(this._contentName,t,n)}}class d0 extends Fn{static{l(this,"CaptureRule")}retokenizeCapturedWithRuleId;constructor(t,n,r,i,s){super(t,n,r,i),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,i){throw new Error("Not supported!")}}class m0 extends Fn{static{l(this,"MatchRule")}_match;captures;_cachedCompiledPatterns;constructor(t,n,r,i,s){super(t,n,r,null),this._match=new It(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t).compileAG(t,r,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Mn,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Bl extends Fn{static{l(this,"IncludeOnlyRule")}hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,i,s){super(t,n,r,i),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t).compileAG(t,r,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Mn,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class hs extends Fn{static{l(this,"BeginEndRule")}_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,i,s,o,a,u,c,p){super(t,n,r,i),this._begin=new It(s,this.id),this.beginCaptures=o,this._end=new It(a||"\uFFFF",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=c||!1,this.patterns=p.patterns,this.hasMissingPatterns=p.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,i)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Mn;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}}class Lr extends Fn{static{l(this,"BeginWhileRule")}_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,n,r,i,s,o,a,u,c){super(t,n,r,i),this._begin=new It(s,this.id),this.beginCaptures=o,this.whileCaptures=u,this._while=new It(a,$l),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t).compileAG(t,r,i)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Mn;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,i){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,i)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Mn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"\uFFFF"),this._cachedCompiledWhilePatterns}}class ye{static{l(this,"RuleFactory")}static createCaptureRule(t,n,r,i,s){return t.registerRule(o=>new d0(n,o,r,i,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new m0(t.$vscodeTextmateLocation,t.id,t.name,t.match,ye._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Ol({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new Bl(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ye._compilePatterns(s,n,r))}return t.while?new Lr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,ye._compileCaptures(t.whileCaptures||t.captures,n,r),ye._compilePatterns(t.patterns,n,r)):new hs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,ye._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,ye._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let s=0;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);a>s&&(s=a)}for(let o=0;o<=s;o++)i[o]=null;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);let u=0;t[o].patterns&&(u=ye.getCompiledRuleId(t[o],n,r)),i[a]=ye.createCaptureRule(n,t[o].$vscodeTextmateLocation,t[o].name,t[o].contentName,u)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let s=0,o=t.length;s<o;s++){const a=t[s];let u=-1;if(a.include){const c=Fl(a.include);switch(c.kind){case 0:case 1:u=ye.getCompiledRuleId(r[a.include],n,r);break;case 2:let p=r[c.ruleName];p&&(u=ye.getCompiledRuleId(p,n,r));break;case 3:case 4:const f=c.scopeName,h=c.kind===4?c.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(h){let m=d.repository[h];m&&(u=ye.getCompiledRuleId(m,n,d.repository))}else u=ye.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else u=ye.getCompiledRuleId(a,n,r);if(u!==-1){const c=n.getRule(u);let p=!1;if((c instanceof Bl||c instanceof hs||c instanceof Lr)&&c.hasMissingPatterns&&c.patterns.length===0&&(p=!0),p)continue;i.push(u)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}}class It{static{l(this,"RegExpSource")}source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t){const r=t.length;let i=0,s=[],o=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(s.push(t.substring(i,a)),s.push("$(?!\\n)(?<!\\n)"),i=a+2):(c==="A"||c==="G")&&(o=!0),a++}this.hasAnchor=o,i===0?this.source=t:(s.push(t.substring(i,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=p0.test(this.source)}clone(){return new It(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(i=>t.substring(i.start,i.end));return Ml.lastIndex=0,this.source.replace(Ml,(i,s)=>Pl(r[parseInt(s,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],i=[],s,o,a,u;for(s=0,o=this.source.length;s<o;s++)a=this.source.charAt(s),t[s]=a,n[s]=a,r[s]=a,i[s]=a,a==="\\"&&s+1<o&&(u=this.source.charAt(s+1),u==="A"?(t[s+1]="\uFFFF",n[s+1]="\uFFFF",r[s+1]="A",i[s+1]="A"):u==="G"?(t[s+1]="\uFFFF",n[s+1]="G",r[s+1]="\uFFFF",i[s+1]="G"):(t[s+1]=u,n[s+1]=u,r[s+1]=u,i[s+1]=u),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class Mn{static{l(this,"RegExpSourceList")}_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new jl(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let i=this._items.map(s=>s.resolveAnchors(n,r));return new jl(t,i,this._items.map(s=>s.ruleId))}}class jl{static{l(this,"CompiledRule")}regExps;rules;scanner;constructor(t,n,r){this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
|
|
250
|
-
`)}findNextMatchSync(t,n,r){const i=this.scanner.findNextMatchSync(t,n,r);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}}class Ir{static{l(this,"Theme")}_colorMap;_defaults;_root;static createFromRawTheme(t,n){return this.createFromParsedTheme(b0(t),n)}static createFromParsedTheme(t,n){return k0(t,n)}_cachedMatchRoot=new ql(t=>this._root.match(t));constructor(t,n,r){this._colorMap=t,this._defaults=n,this._root=r}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,i=this._cachedMatchRoot.get(n).find(s=>g0(t.parent,s.parentScopes));return i?new zl(i.fontStyle,i.foreground,i.background):null}}class Dt{static{l(this,"ScopeStack")}parent;scopeName;static push(t,n){for(const r of n)t=new Dt(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Dt(n,t[r]);return n}constructor(t,n){this.parent=t,this.scopeName=n}push(t){return new Dt(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function g0(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(y0(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}l(g0,"_scopePathMatchesParentScopes");function y0(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}l(y0,"_matchesScope");class zl{static{l(this,"StyleAttributes")}fontStyle;foregroundId;backgroundId;constructor(t,n,r){this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function b0(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let i=0,s=t.length;i<s;i++){let o=t[i];if(!o.settings)continue;let a;if(typeof o.scope=="string"){let f=o.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(o.scope)?a=o.scope:a=[""];let u=-1;if(typeof o.settings.fontStyle=="string"){u=0;let f=o.settings.fontStyle.split(" ");for(let h=0,d=f.length;h<d;h++)switch(f[h]){case"italic":u=u|1;break;case"bold":u=u|2;break;case"underline":u=u|4;break;case"strikethrough":u=u|8;break}}let c=null;typeof o.settings.foreground=="string"&&Rl(o.settings.foreground)&&(c=o.settings.foreground);let p=null;typeof o.settings.background=="string"&&Rl(o.settings.background)&&(p=o.settings.background);for(let f=0,h=a.length;f<h;f++){let m=a[f].trim().split(" "),g=m[m.length-1],y=null;m.length>1&&(y=m.slice(0,m.length-1),y.reverse()),n[r++]=new w0(g,y,i,u,c,p)}}return n}l(b0,"parseTheme");class w0{static{l(this,"ParsedThemeRule")}scope;parentScopes;index;fontStyle;foreground;background;constructor(t,n,r,i,s,o){this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=i,this.foreground=s,this.background=o}}function k0(e,t){e.sort((u,c)=>{let p=Il(u.scope,c.scope);return p!==0||(p=Dl(u.parentScopes,c.parentScopes),p!==0)?p:u.index-c.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&e[0].scope==="";){let u=e.shift();u.fontStyle!==-1&&(n=u.fontStyle),u.foreground!==null&&(r=u.foreground),u.background!==null&&(i=u.background)}let s=new v0(t),o=new zl(n,s.getId(r),s.getId(i)),a=new Qn(new Jn(0,null,-1,0,0),[]);for(let u=0,c=e.length;u<c;u++){let p=e[u];a.insert(0,p.scope,p.parentScopes,p.fontStyle,s.getId(p.foreground),s.getId(p.background))}return new Ir(s,o,a)}l(k0,"resolveParsedThemeRules");class v0{static{l(this,"ColorMap")}_isFrozen;_lastColorId;_id2color;_color2id;constructor(t){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class Jn{static{l(this,"ThemeTrieElementRule")}scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,i,s){this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=i,this.background=s}clone(){return new Jn(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,i=t.length;r<i;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,i){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}}class Qn{static{l(this,"ThemeTrieElement")}_mainRule;_children;_rulesWithParentScopes;constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,i=n.parentScopes;let s=r===null?0:r.length,o=i===null?0:i.length;if(s===o)for(let a=0;a<s;a++){const u=r[a].length,c=i[a].length;if(u!==c)return c-u}return o-s}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return Qn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,i;return n===-1?(r=t,i=""):(r=t.substring(0,n),i=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(i):Qn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,i,s,o){if(n===""){this._doInsertHere(t,r,i,s,o);return}let a=n.indexOf("."),u,c;a===-1?(u=n,c=""):(u=n.substring(0,a),c=n.substring(a+1));let p;this._children.hasOwnProperty(u)?p=this._children[u]:(p=new Qn(this._mainRule.clone(),Jn.cloneArr(this._rulesWithParentScopes)),this._children[u]=p),p.insert(t+1,c,r,i,s,o)}_doInsertHere(t,n,r,i,s){if(n===null){this._mainRule.acceptOverwrite(t,r,i,s);return}for(let o=0,a=this._rulesWithParentScopes.length;o<a;o++){let u=this._rulesWithParentScopes[o];if(Dl(u.parentScopes,n)===0){u.acceptOverwrite(t,r,i,s);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Jn(t,n,r,i,s))}}class ds{static{l(this,"BasicScopeAttributes")}languageId;tokenType;constructor(t,n){this.languageId=t,this.tokenType=n}}class ci{static{l(this,"BasicScopeAttributesProvider")}_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new ds(t,8),this._embeddedLanguagesMatcher=new S0(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?ci._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new ds(0,0);_getBasicScopeAttributes=new ql(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new ds(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(ci.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}class S0{static{l(this,"ScopeMatcher")}values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,i])=>Pl(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class Ul{static{l(this,"TokenizeStringResult")}stack;stoppedEarly;constructor(t,n){this.stack=t,this.stoppedEarly=n}}function Hl(e,t,n,r,i,s,o,a){const u=t.content.length;let c=!1,p=-1;if(o){const d=x0(e,t,n,r,i,s);i=d.stack,r=d.linePos,n=d.isFirstLine,p=d.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Ul(i,!0);h()}return new Ul(i,!1);function h(){const d=A0(e,t,n,r,i,p);if(!d){s.produce(i,u),c=!0;return}const m=d.captureIndices,g=d.matchedRuleId,y=m&&m.length>0?m[0].end>r:!1;if(g===h0){const w=i.getRule(e);s.produce(i,m[0].start),i=i.withContentNameScopesList(i.nameScopesList),$n(e,t,n,i,s,w.endCaptures,m),s.produce(i,m[0].end);const b=i;if(i=i.parent,p=b.getAnchorPos(),!y&&b.getEnterPos()===r){i=b,s.produce(i,u),c=!0;return}}else{const w=e.getRule(g);s.produce(i,m[0].start);const b=i,S=w.getName(t.content,m),T=i.contentNameScopesList.pushAttributed(S,e);if(i=i.push(g,r,p,m[0].end===u,null,T,T),w instanceof hs){const N=w;$n(e,t,n,i,s,N.beginCaptures,m),s.produce(i,m[0].end),p=m[0].end;const A=N.getContentName(t.content,m),E=T.pushAttributed(A,e);if(i=i.withContentNameScopesList(E),N.endHasBackReferences&&(i=i.withEndRule(N.getEndWithResolvedBackReferences(t.content,m))),!y&&b.hasSameRuleAs(i)){i=i.pop(),s.produce(i,u),c=!0;return}}else if(w instanceof Lr){const N=w;$n(e,t,n,i,s,N.beginCaptures,m),s.produce(i,m[0].end),p=m[0].end;const A=N.getContentName(t.content,m),E=T.pushAttributed(A,e);if(i=i.withContentNameScopesList(E),N.whileHasBackReferences&&(i=i.withEndRule(N.getWhileWithResolvedBackReferences(t.content,m))),!y&&b.hasSameRuleAs(i)){i=i.pop(),s.produce(i,u),c=!0;return}}else if($n(e,t,n,i,s,w.captures,m),s.produce(i,m[0].end),i=i.pop(),!y){i=i.safePop(),s.produce(i,u),c=!0;return}}m[0].end>r&&(r=m[0].end,n=!1)}}l(Hl,"_tokenizeString");function x0(e,t,n,r,i,s){let o=i.beginRuleCapturedEOL?0:-1;const a=[];for(let u=i;u;u=u.pop()){const c=u.getRule(e);c instanceof Lr&&a.push({rule:c,stack:u})}for(let u=a.pop();u;u=a.pop()){const{ruleScanner:c,findOptions:p}=N0(u.rule,e,u.stack.endRule,n,r===o),f=c.findNextMatchSync(t,r,p);if(f){if(f.ruleId!==$l){i=u.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(s.produce(u.stack,f.captureIndices[0].start),$n(e,t,n,u.stack,s,u.rule.whileCaptures,f.captureIndices),s.produce(u.stack,f.captureIndices[0].end),o=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{i=u.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}l(x0,"_checkWhileConditions");function A0(e,t,n,r,i,s){const o=C0(e,t,n,r,i,s),a=e.getInjections();if(a.length===0)return o;const u=T0(a,e,t,n,r,i,s);if(!u)return o;if(!o)return u;const c=o.captureIndices[0].start,p=u.captureIndices[0].start;return p<c||u.priorityMatch&&p===c?u:o}l(A0,"matchRuleOrInjections");function C0(e,t,n,r,i,s){const o=i.getRule(e),{ruleScanner:a,findOptions:u}=Vl(o,e,i.endRule,n,r===s),c=a.findNextMatchSync(t,r,u);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}l(C0,"matchRule");function T0(e,t,n,r,i,s,o){let a=Number.MAX_VALUE,u=null,c,p=0;const f=s.contentNameScopesList.getScopeNames();for(let h=0,d=e.length;h<d;h++){const m=e[h];if(!m.matcher(f))continue;const g=t.getRule(m.ruleId),{ruleScanner:y,findOptions:w}=Vl(g,t,null,r,i===o),b=y.findNextMatchSync(n,i,w);if(!b)continue;const S=b.captureIndices[0].start;if(!(S>=a)&&(a=S,u=b.captureIndices,c=b.ruleId,p=m.priority,a===i))break}return u?{priorityMatch:p===-1,captureIndices:u,matchedRuleId:c}:null}l(T0,"matchInjections");function Vl(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}l(Vl,"prepareRuleSearch");function N0(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}l(N0,"prepareRuleWhileSearch");function $n(e,t,n,r,i,s,o){if(s.length===0)return;const a=t.content,u=Math.min(s.length,o.length),c=[],p=o[0].end;for(let f=0;f<u;f++){const h=s[f];if(h===null)continue;const d=o[f];if(d.length===0)continue;if(d.start>p)break;for(;c.length>0&&c[c.length-1].endPos<=d.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,d.start):i.produce(r,d.start),h.retokenizeCapturedWithRuleId){const g=h.getName(a,o),y=r.contentNameScopesList.pushAttributed(g,e),w=h.getContentName(a,o),b=y.pushAttributed(w,e),S=r.push(h.retokenizeCapturedWithRuleId,d.start,-1,!1,null,y,b),T=e.createOnigString(a.substring(0,d.end));Hl(e,T,n&&d.start===0,d.start,S,i,!1,0),_l(T);continue}const m=h.getName(a,o);if(m!==null){const y=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(m,e);c.push(new E0(y,d.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}l($n,"handleCaptures");class E0{static{l(this,"LocalStackElement")}scopes;endPos;constructor(t,n){this.scopes=t,this.endPos=n}}function _0(e,t,n,r,i,s,o,a){return new L0(e,t,n,r,i,s,o,a)}l(_0,"createGrammar");function Gl(e,t,n,r,i){const s=Nr(t,Dr),o=ye.getCompiledRuleId(n,r,i.repository);for(const a of s)e.push({debugSelector:t,matcher:a.matcher,ruleId:o,grammar:i,priority:a.priority})}l(Gl,"collectInjections");function Dr(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let i=n;i<t.length;i++)if(O0(t[i],r))return n=i+1,!0;return!1})}l(Dr,"nameMatcher");function O0(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}l(O0,"scopesAreMatching");class L0{static{l(this,"Grammar")}_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}constructor(t,n,r,i,s,o,a,u){if(this._rootScopeName=t,this.balancedBracketSelectors=o,this._onigLib=u,this._basicScopeAttributesProvider=new ci(r,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=Wl(n,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const c of Object.keys(s)){const p=Nr(c,Dr);for(const f of p)this._tokenTypeMatchers.push({matcher:f.matcher,type:s[c]})}}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},n=[],r=this._rootScopeName,i=t.lookup(r);if(i){const s=i.injections;if(s)for(let a in s)Gl(n,a,s[a],this,i);const o=this._grammarRepository.injections(r);o&&o.forEach(a=>{const u=this.getExternalGrammar(a);if(u){const c=u.injectionSelector;c&&Gl(n,c,u,this,u)}})}return n.sort((s,o)=>s.priority-o.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=Wl(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const i=this._tokenize(t,n,!1,r);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(t,n,r=0){const i=this._tokenize(t,n,!0,r);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(t,n,r,i){this._rootId===-1&&(this._rootId=ye.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!n||n===et.NULL){s=!0;const p=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),h=tn.set(0,p.languageId,p.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),d=this.getRule(this._rootId).getName(null,null);let m;d?m=Ae.createRootAndLookUpScopeName(d,h,this):m=Ae.createRoot("unknown",h),n=new et(null,this._rootId,-1,-1,!1,null,m,m)}else s=!1,n.reset();t=t+`
|
|
251
|
-
`;const o=this.createOnigString(t),a=o.content.length,u=new D0(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Hl(this,o,s,0,n,u,!0,i);return _l(o),{lineLength:a,lineTokens:u,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Wl(e,t){return e=e0(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}l(Wl,"initGrammar");class Ae{static{l(this,"AttributedScopeStack")}parent;scopePath;tokenAttributes;static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(const s of n)i=Dt.push(i,s.scopeNames),r=new Ae(r,i,s.encodedTokenAttributes);return r}static createRoot(t,n){return new Ae(null,new Dt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const i=r.getMetadataForScope(t),s=new Dt(null,t),o=r.themeProvider.themeMatch(s),a=Ae.mergeAttributes(n,i,o);return new Ae(null,s,a)}get scopeName(){return this.scopePath.scopeName}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}toString(){return this.getScopeNames().join(" ")}equals(t){return Ae.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let i=-1,s=0,o=0;return r!==null&&(i=r.fontStyle,s=r.foregroundId,o=r.backgroundId),tn.set(t,n.languageId,n.tokenType,null,i,s,o)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Ae._pushAttributed(this,t,n);const r=t.split(/ /g);let i=this;for(const s of r)i=Ae._pushAttributed(i,s,n);return i}static _pushAttributed(t,n,r){const i=r.getMetadataForScope(n),s=t.scopePath.push(n),o=r.themeProvider.themeMatch(s),a=Ae.mergeAttributes(t.tokenAttributes,i,o);return new Ae(t,s,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}}class et{static{l(this,"StateStackImpl")}parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new et(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;constructor(t,n,r,i,s,o,a,u){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=o,this.nameScopesList=a,this.contentNameScopesList=u,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}equals(t){return t===null?!1:et._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Ae.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){et._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,s,o,a){return new et(this,t,n,r,i,s,o,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new et(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=Ae.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new et(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ae.fromExtension(r,n.contentNameScopesList))}}class I0{static{l(this,"BalancedBracketSelectors")}balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,n){this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):Nr(r,Dr).map(i=>i.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>Nr(r,Dr).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class D0{static{l(this,"LineTokens")}balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;constructor(t,n,r,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=t?.tokenAttributes??0,s=!1;if(this.balancedBracketSelectors?.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=t?.getScopeNames()??[];for(const a of this._tokenTypeOverrides)a.matcher(o)&&(i=tn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(i=tn.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let i=0,s=this._binaryTokens.length;i<s;i++)r[i]=this._binaryTokens[i];return r}}class R0{static{l(this,"SyncRegistry")}_onigLibPromise;_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;constructor(t,n){this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,i,s){if(!this._grammars.has(t)){let o=this._rawGrammars.get(t);if(!o)return null;this._grammars.set(t,_0(t,o,n,r,i,s,this,await this._onigLibPromise))}return this._grammars.get(t)}}let P0=class{static{l(this,"Registry")}_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new R0(Ir.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Ir.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new I0(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,i,s){const o=new s0(this._syncRegistry,t);for(;o.Q.length>0;)await Promise.all(o.Q.map(a=>this._loadSingleGrammar(a.scopeName))),o.processQueue();return this._grammarForScopeName(t,n,r,i,s)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,i=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,i)}_grammarForScopeName(t,n=0,r=null,i=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,i,s)}};const q0=et.NULL,be={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class ut{static{l(this,"StackElementMetadata")}static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&be.LANGUAGEID_MASK)>>>be.LANGUAGEID_OFFSET}static getTokenType(t){return(t&be.TOKEN_TYPE_MASK)>>>be.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&be.FONT_STYLE_MASK)>>>be.FONT_STYLE_OFFSET}static getForeground(t){return(t&be.FOREGROUND_MASK)>>>be.FOREGROUND_OFFSET}static getBackground(t){return(t&be.BACKGROUND_MASK)>>>be.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&be.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,i,s,o){let a=ut.getLanguageId(t),u=ut.getTokenType(t),c=ut.getFontStyle(t),p=ut.getForeground(t),f=ut.getBackground(t);const h=ut.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(u=r===8?0:r),i!==Ge.NotSet&&(c=i),s!==0&&(p=s),o!==0&&(f=o),(a<<be.LANGUAGEID_OFFSET|u<<be.TOKEN_TYPE_OFFSET|c<<be.FONT_STYLE_OFFSET|h<<be.BALANCED_BRACKETS_OFFSET|p<<be.FOREGROUND_OFFSET|f<<be.BACKGROUND_OFFSET)>>>0}}function Rr(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const i=[];for(let s=0;s<n.length;s+=2){const o=t?n[s]+(n[s+1]||""):n[s];i.push([o,r]),r+=n[s].length,r+=n[s+1]?.length||0}return i}l(Rr,"splitLines");function Kl(e){return!e||["plaintext","txt","text","plain"].includes(e)}l(Kl,"isPlainLang");function Yl(e){return e==="ansi"||Kl(e)}l(Yl,"isSpecialLang");function Jl(e){return e==="none"}l(Jl,"isNoneTheme");function Ql(e){return Jl(e)}l(Ql,"isSpecialTheme");function Xl(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}l(Xl,"addClassToHast");function F0(e,t){let n=0;const r=[];for(const i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}l(F0,"splitToken");function M0(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,i)=>r-i);return n.length?e.map(r=>r.flatMap(i=>{const s=n.filter(o=>i.offset<o&&o<i.offset+i.content.length).map(o=>o-i.offset).sort((o,a)=>o-a);return s.length?F0(i,s):i})):e}l(M0,"splitTokens");function Pr(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[i,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[i]=s:i===r&&Object.assign(n,s);return n}l(Pr,"resolveColorReplacements");function Ct(e,t){return e&&(t?.[e?.toLowerCase()]||e)}l(Ct,"applyColorReplacements");function Zl(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Ge.Italic&&(t["font-style"]="italic"),e.fontStyle&Ge.Bold&&(t["font-weight"]="bold"),e.fontStyle&Ge.Underline&&(t["text-decoration"]="underline")),t}l(Zl,"getTokenStyleObject");function eu(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}l(eu,"stringifyTokenStyle");function $0(e){const t=Rr(e,!0).map(([i])=>i);function n(i){let s=i,o=0;for(const a of t){if(s<a.length)break;s-=a.length,o++}return{line:o,character:s}}l(n,"indexToPos");function r(i,s){let o=0;for(let a=0;a<i;a++)o+=t[a].length;return o+=s,o}return l(r,"posToIndex"),{lines:t,indexToPos:n,posToIndex:r}}l($0,"createPositionConverter");var Tt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],ms={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function B0(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}l(B0,"findSequence");function tu(e,t){let n=1;const r=e[t+n++];let i;if(r==="2"){const s=[e[t+n++],e[t+n++],e[t+n]].map(o=>Number.parseInt(o));s.length===3&&!s.some(o=>Number.isNaN(o))&&(i={type:"rgb",rgb:s})}else if(r==="5"){const s=Number.parseInt(e[t+n]);Number.isNaN(s)||(i={type:"table",index:Number(s)})}return[n,i]}l(tu,"parseColor");function j0(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],i=Number.parseInt(r);if(!Number.isNaN(i))if(i===0)t.push({type:"resetAll"});else if(i<=9)ms[i]&&t.push({type:"setDecoration",value:ms[i]});else if(i<=29){const s=ms[i-20];s&&t.push({type:"resetDecoration",value:s})}else if(i<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Tt[i-30]}});else if(i===38){const[s,o]=tu(e,n);o&&t.push({type:"setForegroundColor",value:o}),n+=s}else if(i===39)t.push({type:"resetForegroundColor"});else if(i<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Tt[i-40]}});else if(i===48){const[s,o]=tu(e,n);o&&t.push({type:"setBackgroundColor",value:o}),n+=s}else i===49?t.push({type:"resetBackgroundColor"}):i>=90&&i<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Tt[i-90+8]}}):i>=100&&i<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Tt[i-100+8]}})}return t}l(j0,"parseSequence");function z0(){let e=null,t=null,n=new Set;return{parse(r){const i=[];let s=0;do{const o=B0(r,s),a=o.sequence?r.substring(s,o.startPosition):r.substring(s);if(a.length>0&&i.push({value:a,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const u=j0(o.sequence);for(const c of u)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of u)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=o.position}while(s<r.length);return i}}}l(z0,"createAnsiSequenceParser");var U0={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function H0(e=U0){function t(a){return e[a]}l(t,"namedColor");function n(a){return`#${a.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}l(n,"rgbColor");let r;function i(){if(r)return r;r=[];for(let c=0;c<Tt.length;c++)r.push(t(Tt[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let p=0;p<6;p++)for(let f=0;f<6;f++)r.push(n([a[c],a[p],a[f]]));let u=8;for(let c=0;c<24;c++,u+=10)r.push(n([u,u,u]));return r}l(i,"getColorTable");function s(a){return i()[a]}l(s,"tableColor");function o(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return s(a.index)}}return l(o,"value"),{value:o}}l(H0,"createColorPalette");function V0(e,t,n){const r=Pr(e,n),i=Rr(t),s=H0(Object.fromEntries(Tt.map(a=>[a,e.colors?.[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]))),o=z0();return i.map(a=>o.parse(a[0]).map(u=>{let c,p;u.decorations.has("reverse")?(c=u.background?s.value(u.background):e.bg,p=u.foreground?s.value(u.foreground):e.fg):(c=u.foreground?s.value(u.foreground):e.fg,p=u.background?s.value(u.background):void 0),c=Ct(c,r),p=Ct(p,r),u.decorations.has("dim")&&(c=G0(c));let f=Ge.None;return u.decorations.has("bold")&&(f|=Ge.Bold),u.decorations.has("italic")&&(f|=Ge.Italic),u.decorations.has("underline")&&(f|=Ge.Underline),{content:u.value,offset:a[1],color:c,bgColor:p,fontStyle:f}}))}l(V0,"tokenizeAnsiWithTheme");function G0(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}l(G0,"dimColor");function gs(e,t,n={}){const{lang:r="text",theme:i=e.getLoadedThemes()[0]}=n;if(Kl(r)||Jl(i))return Rr(t).map(u=>[{content:u[0],offset:u[1]}]);const{theme:s,colorMap:o}=e.setTheme(i);if(r==="ansi")return V0(s,t,n);const a=e.getLanguage(r);return W0(t,a,s,o,n)}l(gs,"codeToTokensBase");function W0(e,t,n,r,i){const s=Pr(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:a=500}=i,u=Rr(e);let c=q0,p=[];const f=[];for(let h=0,d=u.length;h<d;h++){const[m,g]=u[h];if(m===""){p=[],f.push([]);continue}if(o>0&&m.length>=o){p=[],f.push([{content:m,offset:g,color:"",fontStyle:0}]);continue}let y,w,b;i.includeExplanation&&(y=t.tokenizeLine(m,c),w=y.tokens,b=0);const S=t.tokenizeLine2(m,c,a),T=S.tokens.length/2;for(let N=0;N<T;N++){const A=S.tokens[2*N],E=N+1<T?S.tokens[2*N+2]:m.length;if(A===E)continue;const $=S.tokens[2*N+1],q=Ct(r[ut.getForeground($)],s),x=ut.getFontStyle($),R={content:m.substring(A,E),offset:g+A,color:q,fontStyle:x};if(i.includeExplanation){R.explanation=[];let D=0;for(;A+D<E;){const M=w[b],Q=m.substring(M.startIndex,M.endIndex);D+=Q.length,R.explanation.push({content:Q,scopes:K0(n,M.scopes)}),b+=1}}p.push(R)}f.push(p),p=[],c=S.ruleStack}return f}l(W0,"tokenizeWithTheme");function K0(e,t){const n=[];for(let r=0,i=t.length;r<i;r++){const s=t.slice(0,r),o=t[r];n[r]={scopeName:o,themeMatches:J0(e,o,s)}}return n}l(K0,"explainThemeScopes");function nu(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}l(nu,"matchesOne");function Y0(e,t,n,r){if(!nu(e,n))return!1;let i=t.length-1,s=r.length-1;for(;i>=0&&s>=0;)nu(t[i],r[s])&&(i-=1),s-=1;return i===-1}l(Y0,"matches");function J0(e,t,n){const r=[];let i=0;for(let s=0,o=e.settings.length;s<o;s++){const a=e.settings[s];let u;if(typeof a.scope=="string")u=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))u=a.scope;else continue;for(let c=0,p=u.length;c<p;c++){const h=u[c].split(/ /),d=h[h.length-1],m=h.slice(0,h.length-1);Y0(d,m,t,n)&&(r[i++]=a,c=p)}}return r}l(J0,"explainThemeScope");function ru(e,t,n){const r=Object.entries(n.themes).filter(o=>o[1]).map(o=>({color:o[0],theme:o[1]})),i=Q0(...r.map(o=>gs(e,t,{...n,theme:o.theme})));return i[0].map((o,a)=>o.map((u,c)=>{const p={content:u.content,variants:{},offset:u.offset};return i.forEach((f,h)=>{const{content:d,explanation:m,offset:g,...y}=f[a][c];p.variants[r[h].color]=y}),p}))}l(ru,"codeToTokensWithThemes");function Q0(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const i=e.map(u=>u[r]),s=t.map(()=>[]);t.forEach((u,c)=>u.push(s[c]));const o=i.map(()=>0),a=i.map(u=>u[0]);for(;a.every(u=>u);){const u=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const p=a[c];p.content.length===u?(s[c].push(p),o[c]+=1,a[c]=i[c][o[c]]):(s[c].push({...p,content:p.content.slice(0,u)}),a[c]={...p,content:p.content.slice(u),offset:p.offset+u})}}}return t}l(Q0,"syncThemesTokenization");class we extends Error{static{l(this,"ShikiError")}constructor(t){super(t),this.name="ShikiError"}}function qr(e,t,n){let r,i,s,o,a;if("themes"in n){const{defaultColor:u="light",cssVariablePrefix:c="--shiki-"}=n,p=Object.entries(n.themes).filter(g=>g[1]).map(g=>({color:g[0],theme:g[1]})).sort((g,y)=>g.color===u?-1:y.color===u?1:0);if(p.length===0)throw new we("`themes` option must not be empty");const f=ru(e,t,n);if(u&&!p.find(g=>g.color===u))throw new we(`\`themes\` option must contain the defaultColor key \`${u}\``);const h=p.map(g=>e.getTheme(g.theme)),d=p.map(g=>g.color);s=f.map(g=>g.map(y=>X0(y,d,c,u)));const m=p.map(g=>Pr(g.theme,n));i=p.map((g,y)=>(y===0&&u?"":`${c+g.color}:`)+(Ct(h[y].fg,m[y])||"inherit")).join(";"),r=p.map((g,y)=>(y===0&&u?"":`${c+g.color}-bg:`)+(Ct(h[y].bg,m[y])||"inherit")).join(";"),o=`shiki-themes ${h.map(g=>g.name).join(" ")}`,a=u?void 0:[i,r].join(";")}else if("theme"in n){const u=Pr(n.theme,n.colorReplacements);s=gs(e,t,n);const c=e.getTheme(n.theme);r=Ct(c.bg,u),i=Ct(c.fg,u),o=c.name}else throw new we("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:i,bg:r,themeName:o,rootStyle:a}}l(qr,"codeToTokens");function X0(e,t,n,r){const i={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(u=>Zl(e.variants[u])),o=new Set(s.flatMap(u=>Object.keys(u))),a=s.reduce((u,c,p)=>{for(const f of o){const h=c[f]||"inherit";if(p===0&&r)u[f]=h;else{const d=f==="color"?"":f==="background-color"?"-bg":`-${f}`,m=n+t[p]+(f==="color"?"":d);u[f]?u[f]+=`;${m}:${h}`:u[f]=`${m}:${h}`}}return u},{});return i.htmlStyle=r?eu(a):Object.values(a).join(";"),i}l(X0,"mergeToken");function Z0(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let s=function(a){return typeof a=="number"?{...i.indexToPos(a),offset:a}:{...a,offset:i.posToIndex(a.line,a.character)}};l(s,"normalizePosition");const i=$0(r.source),o=(r.options.decorations||[]).map(a=>({...a,start:s(a.start),end:s(a.end)}));n(o),e.set(r.meta,{decorations:o,converter:i,source:r.source})}return e.get(r.meta)}l(t,"getContext");function n(r){for(let i=0;i<r.length;i++){const s=r[i];if(s.start.offset>s.end.offset)throw new we(`Invalid decoration range: ${JSON.stringify(s.start)} - ${JSON.stringify(s.end)}`);for(let o=i+1;o<r.length;o++){const a=r[o],u=s.start.offset<a.start.offset&&a.start.offset<s.end.offset,c=s.start.offset<a.end.offset&&a.end.offset<s.end.offset,p=a.start.offset<s.start.offset&&s.start.offset<a.end.offset,f=a.start.offset<s.end.offset&&s.end.offset<a.end.offset;if(u||c||p||f){if(c&&c||p&&f)continue;throw new we(`Decorations ${JSON.stringify(s.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}return l(n,"verifyIntersections"),{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const s=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return M0(r,s)},code(r){if(!this.options.decorations?.length)return;const i=t(this),s=Array.from(r.children).filter(f=>f.type==="element"&&f.tagName==="span");if(s.length!==i.converter.lines.length)throw new we(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${i.converter.lines.length}). Failed to apply decorations.`);function o(f,h,d,m){const g=s[f];let y="",w=-1,b=-1;function S(N){return N.type==="text"?N.value:N.type==="element"?N.children.map(S).join(""):""}if(l(S,"stringify"),h===0&&(w=0),d===0&&(b=0),d===Number.POSITIVE_INFINITY&&(b=g.children.length),w===-1||b===-1)for(let N=0;N<g.children.length;N++)y+=S(g.children[N]),w===-1&&y.length===h&&(w=N+1),b===-1&&y.length===d&&(b=N+1);if(w===-1)throw new we(`Failed to find start index for decoration ${JSON.stringify(m.start)}`);if(b===-1)throw new we(`Failed to find end index for decoration ${JSON.stringify(m.end)}`);const T=g.children.slice(w,b);if(!m.alwaysWrap&&T.length===g.children.length)u(g,m,"line");else if(!m.alwaysWrap&&T.length===1&&T[0].type==="element")u(T[0],m,"token");else{const N={type:"element",tagName:"span",properties:{},children:T};u(N,m,"wrapper"),g.children.splice(w,T.length,N)}}l(o,"applyLineSection");function a(f,h){s[f]=u(s[f],h,"line")}l(a,"applyLine");function u(f,h,d){const m=h.properties||{},g=h.transform||(y=>y);return f.tagName=h.tagName||"span",f.properties={...f.properties,...m,class:f.properties.class},h.properties?.class&&Xl(f,h.properties.class),f=g(f,d)||f,f}l(u,"applyDecoration");const c=[],p=i.decorations.sort((f,h)=>h.start.offset-f.start.offset);for(const f of p){const{start:h,end:d}=f;if(h.line===d.line)o(h.line,h.character,d.character,f);else if(h.line<d.line){o(h.line,h.character,Number.POSITIVE_INFINITY,f);for(let m=h.line+1;m<d.line;m++)c.unshift(()=>a(m,f));o(d.line,0,d.character,f)}}c.forEach(f=>f())}}}l(Z0,"transformerDecorations");const ek=[Z0()];function Fr(e){return[...e.transformers||[],...ek]}l(Fr,"getTransformers");function Mr(e,t,n,r={meta:{},options:n,codeToHast:(i,s)=>Mr(e,i,s),codeToTokens:(i,s)=>qr(e,i,s)}){let i=t;for(const h of Fr(n))i=h.preprocess?.call(r,i,n)||i;let{tokens:s,fg:o,bg:a,themeName:u,rootStyle:c}=qr(e,i,n);const{mergeWhitespaces:p=!0}=n;p===!0?s=nk(s):p==="never"&&(s=rk(s));const f={...r,get source(){return i}};for(const h of Fr(n))s=h.tokens?.call(f,s)||s;return tk(s,{...n,fg:o,bg:a,themeName:u,rootStyle:c},f)}l(Mr,"codeToHast");function tk(e,t,n){const r=Fr(t),i=[],s={type:"root",children:[]},{structure:o="classic"}=t;let a={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([h])=>!h.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:i};const c=[],p={...n,structure:o,addClassToHast:Xl,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return a},get code(){return u},get lines(){return c}};if(e.forEach((h,d)=>{d&&(o==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&i.push({type:"text",value:`
|
|
252
|
-
`}));let m={type:"element",tagName:"span",properties:{class:"line"},children:[]},g=0;for(const y of h){let w={type:"element",tagName:"span",properties:{},children:[{type:"text",value:y.content}]};const b=y.htmlStyle||eu(Zl(y));b&&(w.properties.style=b);for(const S of r)w=S?.span?.call(p,w,d+1,g,m)||w;o==="inline"?s.children.push(w):o==="classic"&&m.children.push(w),g+=y.content.length}if(o==="classic"){for(const y of r)m=y?.line?.call(p,m,d+1)||m;c.push(m),i.push(m)}}),o==="classic"){for(const h of r)u=h?.code?.call(p,u)||u;a.children.push(u);for(const h of r)a=h?.pre?.call(p,a)||a;s.children.push(a)}let f=s;for(const h of r)f=h?.root?.call(p,f)||f;return f}l(tk,"tokensToHast");function nk(e){return e.map(t=>{const n=[];let r="",i=0;return t.forEach((s,o)=>{const u=!(s.fontStyle&&s.fontStyle&Ge.Underline);u&&s.content.match(/^\s+$/)&&t[o+1]?(i||(i=s.offset),r+=s.content):r?(u?n.push({...s,offset:i,content:r+s.content}):n.push({content:r,offset:i},s),i=0,r=""):n.push(s)}),n})}l(nk,"mergeWhitespaceTokens");function rk(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,i,s,o]=r;if(!i&&!o)return n;const a=[{...n,offset:n.offset+i.length,content:s}];return i&&a.unshift({content:i,offset:n.offset}),o&&a.push({content:o,offset:n.offset+i.length+s.length}),a}))}l(rk,"splitWhitespaceTokens");const ik=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];let Bn=class{static{l(this,"Schema")}constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};Bn.prototype.property={},Bn.prototype.normal={},Bn.prototype.space=null;function iu(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new Bn(n,r,t)}l(iu,"merge$1");function ys(e){return e.toLowerCase()}l(ys,"normalize$2");let Pe=class{static{l(this,"Info")}constructor(t,n){this.property=t,this.attribute=n}};Pe.prototype.space=null,Pe.prototype.boolean=!1,Pe.prototype.booleanish=!1,Pe.prototype.overloadedBoolean=!1,Pe.prototype.number=!1,Pe.prototype.commaSeparated=!1,Pe.prototype.spaceSeparated=!1,Pe.prototype.commaOrSpaceSeparated=!1,Pe.prototype.mustUseProperty=!1,Pe.prototype.defined=!1;let sk=0;const G=Nt(),fe=Nt(),su=Nt(),L=Nt(),ee=Nt(),nn=Nt(),_e=Nt();function Nt(){return 2**++sk}l(Nt,"increment$1");var bs=Object.freeze({__proto__:null,boolean:G,booleanish:fe,commaOrSpaceSeparated:_e,commaSeparated:nn,number:L,overloadedBoolean:su,spaceSeparated:ee});const ws=Object.keys(bs);let ks=class extends Pe{static{l(this,"DefinedInfo")}constructor(t,n,r,i){let s=-1;if(super(t,n),ou(this,"space",i),typeof r=="number")for(;++s<ws.length;){const o=ws[s];ou(this,ws[s],(r&bs[o])===bs[o])}}};ks.prototype.defined=!0;function ou(e,t,n){n&&(e[t]=n)}l(ou,"mark$1");const ok={}.hasOwnProperty;function rn(e){const t={},n={};let r;for(r in e.properties)if(ok.call(e.properties,r)){const i=e.properties[r],s=new ks(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[ys(r)]=r,n[ys(s.attribute)]=r}return new Bn(t,n,e.space)}l(rn,"create$2");const au=rn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),lu=rn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function uu(e,t){return t in e?e[t]:t}l(uu,"caseSensitiveTransform$1");function cu(e,t){return uu(e,t.toLowerCase())}l(cu,"caseInsensitiveTransform$1");const fu=rn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:cu,properties:{xmlns:null,xmlnsXLink:null}}),pu=rn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:fe,ariaAutoComplete:null,ariaBusy:fe,ariaChecked:fe,ariaColCount:L,ariaColIndex:L,ariaColSpan:L,ariaControls:ee,ariaCurrent:null,ariaDescribedBy:ee,ariaDetails:null,ariaDisabled:fe,ariaDropEffect:ee,ariaErrorMessage:null,ariaExpanded:fe,ariaFlowTo:ee,ariaGrabbed:fe,ariaHasPopup:null,ariaHidden:fe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ee,ariaLevel:L,ariaLive:null,ariaModal:fe,ariaMultiLine:fe,ariaMultiSelectable:fe,ariaOrientation:null,ariaOwns:ee,ariaPlaceholder:null,ariaPosInSet:L,ariaPressed:fe,ariaReadOnly:fe,ariaRelevant:null,ariaRequired:fe,ariaRoleDescription:ee,ariaRowCount:L,ariaRowIndex:L,ariaRowSpan:L,ariaSelected:fe,ariaSetSize:L,ariaSort:null,ariaValueMax:L,ariaValueMin:L,ariaValueNow:L,ariaValueText:null,role:null}}),ak=rn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:cu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nn,acceptCharset:ee,accessKey:ee,action:null,allow:null,allowFullScreen:G,allowPaymentRequest:G,allowUserMedia:G,alt:null,as:null,async:G,autoCapitalize:null,autoComplete:ee,autoFocus:G,autoPlay:G,blocking:ee,capture:null,charSet:null,checked:G,cite:null,className:ee,cols:L,colSpan:null,content:null,contentEditable:fe,controls:G,controlsList:ee,coords:L|nn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:G,defer:G,dir:null,dirName:null,disabled:G,download:su,draggable:fe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:G,formTarget:null,headers:ee,height:L,hidden:G,high:L,href:null,hrefLang:null,htmlFor:ee,httpEquiv:ee,id:null,imageSizes:null,imageSrcSet:null,inert:G,inputMode:null,integrity:null,is:null,isMap:G,itemId:null,itemProp:ee,itemRef:ee,itemScope:G,itemType:ee,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:G,low:L,manifest:null,max:null,maxLength:L,media:null,method:null,min:null,minLength:L,multiple:G,muted:G,name:null,nonce:null,noModule:G,noValidate:G,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:G,optimum:L,pattern:null,ping:ee,placeholder:null,playsInline:G,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:G,referrerPolicy:null,rel:ee,required:G,reversed:G,rows:L,rowSpan:L,sandbox:ee,scope:null,scoped:G,seamless:G,selected:G,shadowRootDelegatesFocus:G,shadowRootMode:null,shape:null,size:L,sizes:null,slot:null,span:L,spellCheck:fe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:L,step:null,style:null,tabIndex:L,target:null,title:null,translate:null,type:null,typeMustMatch:G,useMap:null,value:fe,width:L,wrap:null,align:null,aLink:null,archive:ee,axis:null,background:null,bgColor:null,border:L,borderColor:null,bottomMargin:L,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:G,declare:G,event:null,face:null,frame:null,frameBorder:null,hSpace:L,leftMargin:L,link:null,longDesc:null,lowSrc:null,marginHeight:L,marginWidth:L,noResize:G,noHref:G,noShade:G,noWrap:G,object:null,profile:null,prompt:null,rev:null,rightMargin:L,rules:null,scheme:null,scrolling:fe,standby:null,summary:null,text:null,topMargin:L,valueType:null,version:null,vAlign:null,vLink:null,vSpace:L,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:G,disableRemotePlayback:G,prefix:null,property:null,results:L,security:null,unselectable:null}}),lk=rn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:uu,properties:{about:_e,accentHeight:L,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:L,amplitude:L,arabicForm:null,ascent:L,attributeName:null,attributeType:null,azimuth:L,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:L,by:null,calcMode:null,capHeight:L,className:ee,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:L,diffuseConstant:L,direction:null,display:null,dur:null,divisor:L,dominantBaseline:null,download:G,dx:null,dy:null,edgeMode:null,editable:null,elevation:L,enableBackground:null,end:null,event:null,exponent:L,externalResourcesRequired:null,fill:null,fillOpacity:L,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:nn,g2:nn,glyphName:nn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:L,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:L,horizOriginX:L,horizOriginY:L,id:null,ideographic:L,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:L,k:L,k1:L,k2:L,k3:L,k4:L,kernelMatrix:_e,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:L,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:L,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:L,overlineThickness:L,paintOrder:null,panose1:null,path:null,pathLength:L,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ee,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:L,pointsAtY:L,pointsAtZ:L,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:_e,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:_e,rev:_e,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:_e,requiredFeatures:_e,requiredFonts:_e,requiredFormats:_e,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:L,specularExponent:L,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:L,strikethroughThickness:L,string:null,stroke:null,strokeDashArray:_e,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:L,strokeOpacity:L,strokeWidth:null,style:null,surfaceScale:L,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:_e,tabIndex:L,tableValues:null,target:null,targetX:L,targetY:L,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:_e,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:L,underlineThickness:L,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:L,values:null,vAlphabetic:L,vMathematical:L,vectorEffect:null,vHanging:L,vIdeographic:L,version:null,vertAdvY:L,vertOriginX:L,vertOriginY:L,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:L,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),uk=/^data[-\w.:]+$/i,hu=/-[a-z]/g,ck=/[A-Z]/g;function fk(e,t){const n=ys(t);let r=t,i=Pe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&uk.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(hu,hk);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!hu.test(s)){let o=s.replace(ck,pk);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=ks}return new i(r,t)}l(fk,"find$1");function pk(e){return"-"+e.toLowerCase()}l(pk,"kebab$1");function hk(e){return e.charAt(1).toUpperCase()}l(hk,"camelcase$1");const dk=iu([lu,au,fu,pu,ak],"html"),du=iu([lu,au,fu,pu,lk],"svg"),mu={}.hasOwnProperty;function mk(e,t){const n=t||{};function r(i,...s){let o=r.invalid;const a=r.handlers;if(i&&mu.call(i,e)){const u=String(i[e]);o=mu.call(a,u)?a[u]:r.unknown}if(o)return o.call(this,i,...s)}return l(r,"one"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}l(mk,"zwitch$1");function gk(e,t){if(e=e.replace(t.subset?yk(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(i,s,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function r(i,s,o){return t.format(i.charCodeAt(0),o.charCodeAt(s+1),t)}}l(gk,"core$1");function yk(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}l(yk,"charactersToExpression$1");function bk(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}l(bk,"toHexadecimal$1");function wk(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}l(wk,"toDecimal$1");const kk=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],vs={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"},vk=["cent","copy","divide","gt","lt","not","para","times"],gu={}.hasOwnProperty,Ss={};let $r;for($r in vs)gu.call(vs,$r)&&(Ss[vs[$r]]=$r);function Sk(e,t,n,r){const i=String.fromCharCode(e);if(gu.call(Ss,i)){const s=Ss[i],o="&"+s;return n&&kk.includes(s)&&!vk.includes(s)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?o:o+";"}return""}l(Sk,"toNamed$1");function xk(e,t,n){let r=bk(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Sk(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const s=wk(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}l(xk,"formatSmart$1");function sn(e,t){return gk(e,Object.assign({format:xk},t))}l(sn,"stringifyEntities$1");const Ak=/^>|^->|<!--|-->|--!>|<!-$/g,Ck=[">"],Tk=["<",">"];function Nk(e,t,n,r){return r.settings.bogusComments?"<?"+sn(e.value,Object.assign({},r.settings.characterReferences,{subset:Ck}))+">":"<!--"+e.value.replace(Ak,i)+"-->";function i(s){return sn(s,Object.assign({},r.settings.characterReferences,{subset:Tk}))}}l(Nk,"comment$1");function Ek(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}l(Ek,"doctype$1");function yu(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}l(yu,"ccount$1");function _k(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}l(_k,"stringify$1$1");function Ok(e){return e.join(" ").trim()}l(Ok,"stringify$2");const Lk=/[ \t\n\f\r]/g;function xs(e){return typeof e=="object"?e.type==="text"?bu(e.value):!1:bu(e)}l(xs,"whitespace$1");function bu(e){return e.replace(Lk,"")===""}l(bu,"empty$2");const he=ku(1),wu=ku(-1),Ik=[];function ku(e){return t;function t(n,r,i){const s=n?n.children:Ik;let o=(r||0)+e,a=s[o];if(!i)for(;a&&xs(a);)o+=e,a=s[o];return a}}l(ku,"siblings$1");const Dk={}.hasOwnProperty;function vu(e){return t;function t(n,r,i){return Dk.call(e,n.tagName)&&e[n.tagName](n,r,i)}}l(vu,"omission$1");const As=vu({body:Pk,caption:Cs,colgroup:Cs,dd:$k,dt:Mk,head:Cs,html:Rk,li:Fk,optgroup:Bk,option:jk,p:qk,rp:Su,rt:Su,tbody:Uk,td:xu,tfoot:Hk,th:xu,thead:zk,tr:Vk});function Cs(e,t,n){const r=he(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&xs(r.value.charAt(0)))}l(Cs,"headOrColgroupOrCaption$1");function Rk(e,t,n){const r=he(n,t);return!r||r.type!=="comment"}l(Rk,"html$1$1");function Pk(e,t,n){const r=he(n,t);return!r||r.type!=="comment"}l(Pk,"body$1$1");function qk(e,t,n){const r=he(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}l(qk,"p$2");function Fk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&r.tagName==="li"}l(Fk,"li$1");function Mk(e,t,n){const r=he(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}l(Mk,"dt$1");function $k(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}l($k,"dd$1");function Su(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}l(Su,"rubyElement$1");function Bk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}l(Bk,"optgroup$1");function jk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}l(jk,"option$1");function zk(e,t,n){const r=he(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}l(zk,"thead$1");function Uk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}l(Uk,"tbody$1$1");function Hk(e,t,n){return!he(n,t)}l(Hk,"tfoot$1");function Vk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&r.tagName==="tr"}l(Vk,"tr$1");function xu(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}l(xu,"cells$1");const Gk=vu({body:Yk,colgroup:Jk,head:Kk,html:Wk,tbody:Qk});function Wk(e){const t=he(e,-1);return!t||t.type!=="comment"}l(Wk,"html$6");function Kk(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const i=t[r];if(i.type==="element"&&(i.tagName==="title"||i.tagName==="base")){if(n.includes(i.tagName))return!1;n.push(i.tagName)}}return t.length>0}l(Kk,"head$1");function Yk(e){const t=he(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&xs(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}l(Yk,"body$2");function Jk(e,t,n){const r=wu(n,t),i=he(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&As(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}l(Jk,"colgroup$1");function Qk(e,t,n){const r=wu(n,t),i=he(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&As(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}l(Qk,"tbody$2");const Br={name:[[`
|
|
248
|
+
`),o=await Il(s)??{};t===void 0?delete o.noteId:o.noteId=t;const a=Dl(o).trim();return[...i.slice(0,n+1),a,...i.slice(r)].join(`
|
|
249
|
+
`)}l(t0,"setNoteIdInFrontmatter");function n0(e){const t=e.split(`
|
|
250
|
+
`);if(!t.join("").trim().startsWith("---"))return[void 0,void 0];const n=t.findIndex(i=>i.startsWith("---")),r=t.findIndex((i,s)=>s>n&&i.startsWith("---"));return n===-1||r===-1?[void 0,void 0]:[n,r]}l(n0,"getFrontmatterRange");const Rl=[{id:"abap",name:"ABAP",import:()=>import("./abap-DXFkqnOI.js")},{id:"actionscript-3",name:"ActionScript",import:()=>import("./actionscript-3-BigF1UXR.js")},{id:"ada",name:"Ada",import:()=>import("./ada-CowR2XfX.js")},{id:"angular-html",name:"Angular HTML",import:()=>import("./angular-html-CZfDmWtJ.js").then(function(e){return e.e})},{id:"angular-ts",name:"Angular TypeScript",import:()=>import("./angular-ts-CIhYrOL5.js")},{id:"apache",name:"Apache Conf",import:()=>import("./apache-rS0jd3Ly.js")},{id:"apex",name:"Apex",import:()=>import("./apex-Sfo2eW0G.js")},{id:"apl",name:"APL",import:()=>import("./apl-DPLNWaKG.js")},{id:"applescript",name:"AppleScript",import:()=>import("./applescript-BXKAgOFh.js")},{id:"ara",name:"Ara",import:()=>import("./ara-CG4fK2Nq.js")},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>import("./asciidoc-C539GviS.js")},{id:"asm",name:"Assembly",import:()=>import("./asm-PWN5J14X.js")},{id:"astro",name:"Astro",import:()=>import("./astro-71xeBtnw.js")},{id:"awk",name:"AWK",import:()=>import("./awk-i0IPvypD.js")},{id:"ballerina",name:"Ballerina",import:()=>import("./ballerina-T9ysyp6P.js")},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>import("./bat-BPiaQZfK.js")},{id:"beancount",name:"Beancount",import:()=>import("./beancount-Urb1RsFe.js")},{id:"berry",name:"Berry",aliases:["be"],import:()=>import("./berry-CxrokwfH.js")},{id:"bibtex",name:"BibTeX",import:()=>import("./bibtex-BaedD2tq.js")},{id:"bicep",name:"Bicep",import:()=>import("./bicep-3ghuYFLd.js")},{id:"blade",name:"Blade",import:()=>import("./blade-D3A5GssZ.js")},{id:"c",name:"C",import:()=>import("./c-RCJZWN-0.js")},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>import("./cadence-Bgpqy2XC.js")},{id:"clarity",name:"Clarity",import:()=>import("./clarity-CIekO_uJ.js")},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>import("./clojure-BF6G6X0H.js")},{id:"cmake",name:"CMake",import:()=>import("./cmake-DXZpi2gR.js")},{id:"cobol",name:"COBOL",import:()=>import("./cobol-Bi0pgIzz.js")},{id:"codeowners",name:"CODEOWNERS",import:()=>import("./codeowners-CGmujMTu.js")},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>import("./codeql-BOpLLL-w.js")},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>import("./coffee-Cp6Hkwsd.js")},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>import("./common-lisp-C3qUB5O8.js")},{id:"cpp",name:"C++",aliases:["c++"],import:()=>import("./cpp-CeZn6MzL.js")},{id:"crystal",name:"Crystal",import:()=>import("./crystal-B5pCH4eR.js")},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>import("./csharp-DISxKEhY.js")},{id:"css",name:"CSS",import:()=>import("./css-CbYhyuC0.js")},{id:"csv",name:"CSV",import:()=>import("./csv-B2DkETJQ.js")},{id:"cue",name:"CUE",import:()=>import("./cue-C6Aznpr-.js")},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>import("./cypher-ByMv4Xf1.js")},{id:"d",name:"D",import:()=>import("./d-PifQWv0n.js")},{id:"dart",name:"Dart",import:()=>import("./dart-DZLoTQm4.js")},{id:"dax",name:"DAX",import:()=>import("./dax-DsfXcHUZ.js")},{id:"desktop",name:"Desktop",import:()=>import("./desktop-D71BffLY.js")},{id:"diff",name:"Diff",import:()=>import("./diff-DvyTQcux.js")},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>import("./docker-DNR26wTC.js")},{id:"dream-maker",name:"Dream Maker",import:()=>import("./dream-maker-Eh5U-gDp.js")},{id:"elixir",name:"Elixir",import:()=>import("./elixir-Exce1dLy.js")},{id:"elm",name:"Elm",import:()=>import("./elm-D7CfdsEG.js")},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>import("./emacs-lisp-51pKhIDe.js")},{id:"erb",name:"ERB",import:()=>import("./erb-S7d1X-Y-.js")},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>import("./erlang-DS9ZWoKD.js")},{id:"fennel",name:"Fennel",import:()=>import("./fennel-DuK7IM-L.js")},{id:"fish",name:"Fish",import:()=>import("./fish-DfeQjIbs.js")},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>import("./fluent-KPqz0Sb3.js")},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>import("./fortran-fixed-form-6v7-xzYY.js")},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>import("./fortran-free-form-D6pmzCqS.js")},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>import("./fsharp-JZjmD0Li.js")},{id:"gdresource",name:"GDResource",import:()=>import("./gdresource-CFKM8Ske.js")},{id:"gdscript",name:"GDScript",import:()=>import("./gdscript-CoEqzGFw.js")},{id:"gdshader",name:"GDShader",import:()=>import("./gdshader-B_SUYfiV.js")},{id:"genie",name:"Genie",import:()=>import("./genie-DAfrLhwG.js")},{id:"gherkin",name:"Gherkin",import:()=>import("./gherkin-B0PjAhci.js")},{id:"git-commit",name:"Git Commit Message",import:()=>import("./git-commit-XY8bXq83.js")},{id:"git-rebase",name:"Git Rebase Message",import:()=>import("./git-rebase-BE3WlPTi.js")},{id:"gleam",name:"Gleam",import:()=>import("./gleam-Dd6f7Z5P.js")},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>import("./glimmer-js-I0TZ3_O1.js")},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>import("./glimmer-ts-CY38hlIb.js")},{id:"glsl",name:"GLSL",import:()=>import("./glsl-tOUOXML3.js")},{id:"gnuplot",name:"Gnuplot",import:()=>import("./gnuplot-nclm9rTJ.js")},{id:"go",name:"Go",import:()=>import("./go-BJn7Ek5W.js")},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>import("./graphql-DwwLrXH1.js")},{id:"groovy",name:"Groovy",import:()=>import("./groovy-wChcbJ1V.js")},{id:"hack",name:"Hack",import:()=>import("./hack-DmjQSZc3.js")},{id:"haml",name:"Ruby Haml",import:()=>import("./haml-map1ik7u.js")},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>import("./handlebars-CCc9qS91.js")},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>import("./haskell-DOVD4hs_.js")},{id:"haxe",name:"Haxe",import:()=>import("./haxe-Dit6kIrv.js")},{id:"hcl",name:"HashiCorp HCL",import:()=>import("./hcl-CpAANOdC.js")},{id:"hjson",name:"Hjson",import:()=>import("./hjson-DZqG9GXz.js")},{id:"hlsl",name:"HLSL",import:()=>import("./hlsl-DmDrTTlz.js")},{id:"html",name:"HTML",import:()=>import("./html-NmvpQUfQ.js")},{id:"html-derivative",name:"HTML (Derivative)",import:()=>import("./html-derivative-QphQoco-.js")},{id:"http",name:"HTTP",import:()=>import("./http-B58UUte0.js")},{id:"hxml",name:"HXML",import:()=>import("./hxml-4EC8aR1F.js")},{id:"hy",name:"Hy",import:()=>import("./hy-y-6HuL9l.js")},{id:"imba",name:"Imba",import:()=>import("./imba-CyaA9484.js")},{id:"ini",name:"INI",aliases:["properties"],import:()=>import("./ini-DeVv6D4_.js")},{id:"java",name:"Java",import:()=>import("./java-ClXEvkw9.js")},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>import("./javascript-Dch3xQiY.js")},{id:"jinja",name:"Jinja",import:()=>import("./jinja-BrXMjE5a.js")},{id:"jison",name:"Jison",import:()=>import("./jison-DlEKeWyG.js")},{id:"json",name:"JSON",import:()=>import("./json-CupVZNk8.js")},{id:"json5",name:"JSON5",import:()=>import("./json5-Bh8mriwU.js")},{id:"jsonc",name:"JSON with Comments",import:()=>import("./jsonc-DYI1rfmx.js")},{id:"jsonl",name:"JSON Lines",import:()=>import("./jsonl-BUpeXbsf.js")},{id:"jsonnet",name:"Jsonnet",import:()=>import("./jsonnet-C9d3aiqh.js")},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>import("./jssm-Dble9ECP.js")},{id:"jsx",name:"JSX",import:()=>import("./jsx-CsyrCbsw.js")},{id:"julia",name:"Julia",aliases:["jl"],import:()=>import("./julia-jDzGJc6I.js")},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>import("./kotlin-BIxS-Weu.js")},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>import("./kusto-DGEpfOTx.js")},{id:"latex",name:"LaTeX",import:()=>import("./latex-bjPeSN-x.js")},{id:"less",name:"Less",import:()=>import("./less-Du6_OKDb.js")},{id:"liquid",name:"Liquid",import:()=>import("./liquid-DHpvaAyy.js")},{id:"log",name:"Log file",import:()=>import("./log-Ksn5IXup.js")},{id:"logo",name:"Logo",import:()=>import("./logo-DdacRhvC.js")},{id:"lua",name:"Lua",import:()=>import("./lua-Cy9U1SwF.js")},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>import("./make-B9S9BZZh.js")},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>import("./markdown-BdfWgkoX.js")},{id:"marko",name:"Marko",import:()=>import("./marko-neMFgnTa.js")},{id:"matlab",name:"MATLAB",import:()=>import("./matlab-Btshr8M_.js")},{id:"mdc",name:"MDC",import:()=>import("./mdc-_-l14nii.js")},{id:"mdx",name:"MDX",import:()=>import("./mdx-CBPJd_fO.js")},{id:"mermaid",name:"Mermaid",import:()=>import("./mermaid-Dkb1Nx48.js")},{id:"mojo",name:"Mojo",import:()=>import("./mojo--7WWnkdy.js")},{id:"move",name:"Move",import:()=>import("./move-DOHBU7tp.js")},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>import("./narrat-B9CT-1u6.js")},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>import("./nextflow-DBxHOdLe.js")},{id:"nginx",name:"Nginx",import:()=>import("./nginx-C3DmzmOp.js")},{id:"nim",name:"Nim",import:()=>import("./nim-BjhyiCLB.js")},{id:"nix",name:"Nix",import:()=>import("./nix-B7rNE5kf.js")},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>import("./nushell-CrgTADc5.js")},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>import("./objective-c-DHmGyzbM.js")},{id:"objective-cpp",name:"Objective-C++",import:()=>import("./objective-cpp-BWKJ1FCf.js")},{id:"ocaml",name:"OCaml",import:()=>import("./ocaml-RqY_Nz63.js")},{id:"pascal",name:"Pascal",import:()=>import("./pascal-BvCdDh2R.js")},{id:"perl",name:"Perl",import:()=>import("./perl-PZnu_VA7.js")},{id:"php",name:"PHP",import:()=>import("./php-m9Z3qs_k.js")},{id:"plsql",name:"PL/SQL",import:()=>import("./plsql-BbJj1K1w.js")},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>import("./po-HrnDn_2Q.js")},{id:"postcss",name:"PostCSS",import:()=>import("./postcss-DXT9h7v2.js")},{id:"powerquery",name:"PowerQuery",import:()=>import("./powerquery-CApMHEaB.js")},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>import("./powershell-9ZOzOPqN.js")},{id:"prisma",name:"Prisma",import:()=>import("./prisma-BBJYjQ0k.js")},{id:"prolog",name:"Prolog",import:()=>import("./prolog-BH_RS3WO.js")},{id:"proto",name:"Protocol Buffer 3",import:()=>import("./proto-DOtRmeXT.js")},{id:"pug",name:"Pug",aliases:["jade"],import:()=>import("./pug-jyQP1XtO.js")},{id:"puppet",name:"Puppet",import:()=>import("./puppet-37ic6j3l.js")},{id:"purescript",name:"PureScript",import:()=>import("./purescript-Bm5O5oLm.js")},{id:"python",name:"Python",aliases:["py"],import:()=>import("./python-DwuVtWc2.js")},{id:"qml",name:"QML",import:()=>import("./qml-DM3j-f55.js")},{id:"qmldir",name:"QML Directory",import:()=>import("./qmldir-MS3qTAOR.js")},{id:"qss",name:"Qt Style Sheets",import:()=>import("./qss-FJDVp-XM.js")},{id:"r",name:"R",import:()=>import("./r-BXfENWL6.js")},{id:"racket",name:"Racket",import:()=>import("./racket-BbLA0SU8.js")},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>import("./raku-D384ylkT.js")},{id:"razor",name:"ASP.NET Razor",import:()=>import("./razor-DokJXJPk.js")},{id:"reg",name:"Windows Registry Script",import:()=>import("./reg-CrhH3_Og.js")},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>import("./regexp-C_ZPRiAj.js")},{id:"rel",name:"Rel",import:()=>import("./rel-BuawaRXJ.js")},{id:"riscv",name:"RISC-V",import:()=>import("./riscv-D-aEEwJo.js")},{id:"rst",name:"reStructuredText",import:()=>import("./rst-DlAMacAQ.js")},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>import("./ruby-eQ1iIi6H.js")},{id:"rust",name:"Rust",aliases:["rs"],import:()=>import("./rust-DGxQkqYo.js")},{id:"sas",name:"SAS",import:()=>import("./sas-BhBoFsCt.js")},{id:"sass",name:"Sass",import:()=>import("./sass-CMDmr8et.js")},{id:"scala",name:"Scala",import:()=>import("./scala-Cd0cRMx9.js")},{id:"scheme",name:"Scheme",import:()=>import("./scheme-BTeww-4z.js")},{id:"scss",name:"SCSS",import:()=>import("./scss-DoQ2ojfq.js")},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>import("./shaderlab-Bb-6Dmi7.js")},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>import("./shellscript-BZfs-ost.js")},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>import("./shellsession-B6XH_PlG.js")},{id:"smalltalk",name:"Smalltalk",import:()=>import("./smalltalk-DSsji4Hu.js")},{id:"solidity",name:"Solidity",import:()=>import("./solidity-CThH5sBG.js")},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>import("./soy-rVg8SA9F.js")},{id:"sparql",name:"SPARQL",import:()=>import("./sparql-Cmp61EUJ.js")},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>import("./splunk-6XBPEST2.js")},{id:"sql",name:"SQL",import:()=>import("./sql-DxR2xW-a.js")},{id:"ssh-config",name:"SSH Config",import:()=>import("./ssh-config-BH1M7C1g.js")},{id:"stata",name:"Stata",import:()=>import("./stata-DGeqZgIM.js")},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>import("./stylus-DSrLtGYv.js")},{id:"svelte",name:"Svelte",import:()=>import("./svelte-BMtjZn0z.js")},{id:"swift",name:"Swift",import:()=>import("./swift-C8WrqfNz.js")},{id:"system-verilog",name:"SystemVerilog",import:()=>import("./system-verilog-BscxmKrE.js")},{id:"systemd",name:"Systemd Units",import:()=>import("./systemd-IQPSIA3x.js")},{id:"tasl",name:"Tasl",import:()=>import("./tasl-BxwAa5i0.js")},{id:"tcl",name:"Tcl",import:()=>import("./tcl-C_8Fx7bH.js")},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>import("./terraform-DBeuZS66.js")},{id:"tex",name:"TeX",import:()=>import("./tex-BqVuN0dX.js")},{id:"toml",name:"TOML",import:()=>import("./toml-BT9ZzGyQ.js")},{id:"tsv",name:"TSV",import:()=>import("./tsv-DnLUQrgA.js")},{id:"tsx",name:"TSX",import:()=>import("./tsx-BlxWTfDV.js")},{id:"turtle",name:"Turtle",import:()=>import("./turtle-C15OxdQ5.js")},{id:"twig",name:"Twig",import:()=>import("./twig-DDlPLETn.js")},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>import("./typescript-DC8MraHL.js")},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>import("./typespec-Bx89rGXK.js")},{id:"typst",name:"Typst",aliases:["typ"],import:()=>import("./typst-I4qd5QHW.js")},{id:"v",name:"V",import:()=>import("./v-C2TBxDwV.js")},{id:"vala",name:"Vala",import:()=>import("./vala-CO5hpdkB.js")},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>import("./vb-beD-FUib.js")},{id:"verilog",name:"Verilog",import:()=>import("./verilog-DVfdqzEq.js")},{id:"vhdl",name:"VHDL",import:()=>import("./vhdl-QZ3jNtnE.js")},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>import("./viml-BLluXI4E.js")},{id:"vue",name:"Vue",import:()=>import("./vue-B6Rs-4k4.js")},{id:"vue-html",name:"Vue HTML",import:()=>import("./vue-html-Blw9Jzz9.js")},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>import("./vyper-o-cPXEvd.js")},{id:"wasm",name:"WebAssembly",import:()=>import("./wasm-Cicx_DS6.js")},{id:"wenyan",name:"Wenyan",aliases:["\u6587\u8A00"],import:()=>import("./wenyan-Cavfe_d0.js")},{id:"wgsl",name:"WGSL",import:()=>import("./wgsl-BZz1Hhek.js")},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>import("./wikitext-zfUCmn4z.js")},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>import("./wolfram-BICIrM8O.js")},{id:"xml",name:"XML",import:()=>import("./xml-sp2Egr0Z.js")},{id:"xsl",name:"XSL",import:()=>import("./xsl-BQYvujlj.js")},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>import("./yaml-C5gCGmDW.js")},{id:"zenscript",name:"ZenScript",import:()=>import("./zenscript-B1nm99XP.js")},{id:"zig",name:"Zig",import:()=>import("./zig-xtV5iK4E.js")}],r0=Object.fromEntries(Rl.map(e=>[e.id,e.import])),i0=Object.fromEntries(Rl.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),Pl={...r0,...i0},s0=l(async e=>import("./wasm-2oxoyaYy.js").then(t=>t.default(e)),"getWasmInlined"),o0=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>import("./andromeeda-YxQm0tCS.js")},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>import("./aurora-x-BaWyeHV_.js")},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>import("./ayu-dark-Bn5gmY5k.js")},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xE9",type:"dark",import:()=>import("./catppuccin-frappe-BsOrZxH8.js")},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>import("./catppuccin-latte-BYdKNJ10.js")},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>import("./catppuccin-macchiato-DVLwECkk.js")},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>import("./catppuccin-mocha-CEfge3mM.js")},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>import("./dark-plus-KEYLhlmT.js")},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>import("./dracula-DGO8GyiP.js")},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>import("./dracula-soft-9B1nZgL-.js")},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>import("./github-dark-CzPA46E-.js")},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>import("./github-dark-default-BXF7Vm5l.js")},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>import("./github-dark-dimmed-CRDKj6ck.js")},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>import("./github-light-CRlnGVMD.js")},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>import("./github-light-default-UREJT2Bw.js")},{id:"houston",displayName:"Houston",type:"dark",import:()=>import("./houston-CZZ6oYdA.js")},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>import("./light-plus-BsvsQ1iS.js")},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>import("./material-theme-B2BuIiKK.js")},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>import("./material-theme-darker-BrGg7AAd.js")},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>import("./material-theme-lighter-DDRuGeQH.js")},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>import("./material-theme-ocean-CBL0qBdF.js")},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>import("./material-theme-palenight-D7gg1Usp.js")},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>import("./min-dark-iSbrOpM4.js")},{id:"min-light",displayName:"Min Light",type:"light",import:()=>import("./min-light-BITGhEdf.js")},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>import("./monokai-sMI-pExk.js")},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>import("./night-owl-BeocmOPF.js")},{id:"nord",displayName:"Nord",type:"dark",import:()=>import("./nord-CsyjKwr8.js")},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>import("./one-dark-pro-BTtaZsq5.js")},{id:"one-light",displayName:"One Light",type:"light",import:()=>import("./one-light-alpzPJ78.js")},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>import("./poimandres-Cda-MJFk.js")},{id:"red",displayName:"Red",type:"dark",import:()=>import("./red-jaXbsbtS.js")},{id:"rose-pine",displayName:"Ros\xE9 Pine",type:"dark",import:()=>import("./rose-pine-BIAFg_EN.js")},{id:"rose-pine-dawn",displayName:"Ros\xE9 Pine Dawn",type:"light",import:()=>import("./rose-pine-dawn-C5m_N-6l.js")},{id:"rose-pine-moon",displayName:"Ros\xE9 Pine Moon",type:"dark",import:()=>import("./rose-pine-moon-B9S0JTD1.js")},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>import("./slack-dark-C7oZ9nno.js")},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>import("./slack-ochin-hXH8Gyq8.js")},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>import("./snazzy-light-CA9nliXM.js")},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>import("./solarized-dark-C86elO-m.js")},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>import("./solarized-light-xPNGhBYe.js")},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>import("./synthwave-84-BBDuFDsq.js")},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>import("./tokyo-night-eJfcURhx.js")},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>import("./vesper-BSB_bK09.js")},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>import("./vitesse-black-B3g-KkBK.js")},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>import("./vitesse-dark-Bxkoe-BC.js")},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>import("./vitesse-light-Br6ll-O0.js")}],a0=Object.fromEntries(o0.map(e=>[e.id,e.import]));var Ge;(function(e){e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline"})(Ge||(Ge={})),typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var sn;(function(e){function t(h){return h.toString(2).padStart(32,"0")}l(t,"toBinaryStr"),e.toBinaryStr=t;function n(h){const f=e.getLanguageId(h),p=e.getTokenType(h),d=e.getFontStyle(h),m=e.getForeground(h),g=e.getBackground(h);console.log({languageId:f,tokenType:p,fontStyle:d,foreground:m,background:g})}l(n,"print"),e.print=n;function r(h){return(h&255)>>>0}l(r,"getLanguageId"),e.getLanguageId=r;function i(h){return(h&768)>>>8}l(i,"getTokenType"),e.getTokenType=i;function s(h){return(h&1024)!==0}l(s,"containsBalancedBrackets"),e.containsBalancedBrackets=s;function o(h){return(h&30720)>>>11}l(o,"getFontStyle"),e.getFontStyle=o;function a(h){return(h&16744448)>>>15}l(a,"getForeground"),e.getForeground=a;function u(h){return(h&4278190080)>>>24}l(u,"getBackground"),e.getBackground=u;function c(h,f,p,d,m,g,y){let b=e.getLanguageId(h),w=e.getTokenType(h),A=e.containsBalancedBrackets(h)?1:0,N=e.getFontStyle(h),T=e.getForeground(h),x=e.getBackground(h);return f!==0&&(b=f),p!==8&&(w=p),d!==null&&(A=d?1:0),m!==-1&&(N=m),g!==0&&(T=g),y!==0&&(x=y),(b<<0|w<<8|A<<10|N<<11|T<<15|x<<24)>>>0}l(c,"set"),e.set=c})(sn||(sn={}));function f_(e){return e}l(f_,"toOptionalTokenType");function h_(e){return e}l(h_,"fromOptionalTokenType");function Dr(e,t){const n=[],r=l0(e);let i=r.next();for(;i!==null;){let u=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":u=1;break;case"L":u=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=o();if(n.push({matcher:c,priority:u}),i!==",")break;i=r.next()}return n;function s(){if(i==="-"){i=r.next();const u=s();return c=>!!u&&!u(c)}if(i==="("){i=r.next();const u=a();return i===")"&&(i=r.next()),u}if(Fl(i)){const u=[];do u.push(i),i=r.next();while(Fl(i));return c=>t(u,c)}return null}function o(){const u=[];let c=s();for(;c;)u.push(c),c=s();return h=>u.every(f=>f(h))}function a(){const u=[];let c=o();for(;c&&(u.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=o()}return h=>u.some(f=>f(h))}}l(Dr,"createMatchers");function Fl(e){return!!e&&!!e.match(/[\w\.:]+/)}l(Fl,"isIdentifier");function l0(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}l(l0,"newTokenizer");function ql(e){typeof e.dispose=="function"&&e.dispose()}l(ql,"disposeOnigString");function u0(e){return bs(e)}l(u0,"clone");function bs(e){return Array.isArray(e)?c0(e):typeof e=="object"?f0(e):e}l(bs,"doClone");function c0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=bs(e[n]);return t}l(c0,"cloneArray");function f0(e){let t={};for(let n in e)t[n]=bs(e[n]);return t}l(f0,"cloneObj");function Ml(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}l(Ml,"mergeObjects");function $l(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?$l(e.substring(0,e.length-1)):e.substr(~t+1)}l($l,"basename$1");let ws=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Rr{static{l(this,"RegexSource")}static hasCaptures(t){return t===null?!1:(ws.lastIndex=0,ws.test(t))}static replaceCaptures(t,n,r){return t.replace(ws,(i,s,o,a)=>{let u=r[parseInt(s||o,10)];if(u){let c=n.substring(u.start,u.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return i})}}function Bl(e,t){return e<t?-1:e>t?1:0}l(Bl,"strcmp");function jl(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let i=0;i<n;i++){let s=Bl(e[i],t[i]);if(s!==0)return s}return 0}return n-r}l(jl,"strArrCmp");function zl(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}l(zl,"isValidHexColor");function Ul(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}l(Ul,"escapeRegExpCharacters");class Hl{static{l(this,"CachedFn")}fn;cache=new Map;constructor(t){this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class Bn{static{l(this,"TopLevelRuleReference")}scopeName;constructor(t){this.scopeName=t}toKey(){return this.scopeName}}class h0{static{l(this,"TopLevelRepositoryRuleReference")}scopeName;ruleName;constructor(t,n){this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class p0{static{l(this,"ExternalReferenceCollector")}_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class d0{static{l(this,"ScopeDependencyProcessor")}repo;initialScopeName;seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;constructor(t,n){this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Bn(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new p0;for(const r of t)m0(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Bn){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function m0(e,t,n,r){const i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof Bn?Pr({baseGrammar:s,selfGrammar:i},r):ks(e.ruleName,{baseGrammar:s,selfGrammar:i,repository:i.repository},r);const o=n.injections(e.scopeName);if(o)for(const a of o)r.add(new Bn(a))}l(m0,"collectReferencesOfReference");function ks(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Fr([r],t,n)}}l(ks,"collectExternalReferencesInTopLevelRepositoryRule");function Pr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Fr(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Fr(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}l(Pr,"collectExternalReferencesInTopLevelRule");function Fr(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?Ml({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Fr(r.patterns,{...t,repository:i},n);const s=r.include;if(!s)continue;const o=Vl(s);switch(o.kind){case 0:Pr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Pr(t,n);break;case 2:ks(o.ruleName,{...t,repository:i},n);break;case 3:case 4:const a=o.scopeName===t.selfGrammar.scopeName?t.selfGrammar:o.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const u={baseGrammar:t.baseGrammar,selfGrammar:a,repository:i};o.kind===4?ks(o.ruleName,u,n):Pr(u,n)}else o.kind===4?n.add(new h0(o.scopeName,o.ruleName)):n.add(new Bn(o.scopeName));break}}}l(Fr,"collectExternalReferencesInRules");class g0{static{l(this,"BaseReference")}kind=0}class y0{static{l(this,"SelfReference")}kind=1}class b0{static{l(this,"RelativeReference")}ruleName;kind=2;constructor(t){this.ruleName=t}}class w0{static{l(this,"TopLevelReference")}scopeName;kind=3;constructor(t){this.scopeName=t}}class k0{static{l(this,"TopLevelRepositoryReference")}scopeName;ruleName;kind=4;constructor(t,n){this.scopeName=t,this.ruleName=n}}function Vl(e){if(e==="$base")return new g0;if(e==="$self")return new y0;const t=e.indexOf("#");if(t===-1)return new w0(e);if(t===0)return new b0(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new k0(n,r)}}l(Vl,"parseInclude");const v0=/\\(\d+)/,Gl=/\\(\d+)/g,S0=-1,Wl=-2;function p_(e){return e}l(p_,"ruleIdFromNumber");function d_(e){return e}l(d_,"ruleIdToNumber");class jn{static{l(this,"Rule")}$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,n,r,i){this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Rr.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Rr.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${$l(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:Rr.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Rr.replaceCaptures(this._contentName,t,n)}}class x0 extends jn{static{l(this,"CaptureRule")}retokenizeCapturedWithRuleId;constructor(t,n,r,i,s){super(t,n,r,i),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,i){throw new Error("Not supported!")}}class A0 extends jn{static{l(this,"MatchRule")}_match;captures;_cachedCompiledPatterns;constructor(t,n,r,i,s){super(t,n,r,null),this._match=new Rt(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t).compileAG(t,r,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new zn,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Kl extends jn{static{l(this,"IncludeOnlyRule")}hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,i,s){super(t,n,r,i),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t).compileAG(t,r,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new zn,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class vs extends jn{static{l(this,"BeginEndRule")}_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,i,s,o,a,u,c,h){super(t,n,r,i),this._begin=new Rt(s,this.id),this.beginCaptures=o,this._end=new Rt(a||"\uFFFF",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=c||!1,this.patterns=h.patterns,this.hasMissingPatterns=h.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,i)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new zn;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}}class qr extends jn{static{l(this,"BeginWhileRule")}_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,n,r,i,s,o,a,u,c){super(t,n,r,i),this._begin=new Rt(s,this.id),this.beginCaptures=o,this.whileCaptures=u,this._while=new Rt(a,Wl),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t).compileAG(t,r,i)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new zn;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,i){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,i)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new zn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"\uFFFF"),this._cachedCompiledWhilePatterns}}class be{static{l(this,"RuleFactory")}static createCaptureRule(t,n,r,i,s){return t.registerRule(o=>new x0(n,o,r,i,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new A0(t.$vscodeTextmateLocation,t.id,t.name,t.match,be._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Ml({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new Kl(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,be._compilePatterns(s,n,r))}return t.while?new qr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,be._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,be._compileCaptures(t.whileCaptures||t.captures,n,r),be._compilePatterns(t.patterns,n,r)):new vs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,be._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,be._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,be._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let s=0;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);a>s&&(s=a)}for(let o=0;o<=s;o++)i[o]=null;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);let u=0;t[o].patterns&&(u=be.getCompiledRuleId(t[o],n,r)),i[a]=be.createCaptureRule(n,t[o].$vscodeTextmateLocation,t[o].name,t[o].contentName,u)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let s=0,o=t.length;s<o;s++){const a=t[s];let u=-1;if(a.include){const c=Vl(a.include);switch(c.kind){case 0:case 1:u=be.getCompiledRuleId(r[a.include],n,r);break;case 2:let h=r[c.ruleName];h&&(u=be.getCompiledRuleId(h,n,r));break;case 3:case 4:const f=c.scopeName,p=c.kind===4?c.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(p){let m=d.repository[p];m&&(u=be.getCompiledRuleId(m,n,d.repository))}else u=be.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else u=be.getCompiledRuleId(a,n,r);if(u!==-1){const c=n.getRule(u);let h=!1;if((c instanceof Kl||c instanceof vs||c instanceof qr)&&c.hasMissingPatterns&&c.patterns.length===0&&(h=!0),h)continue;i.push(u)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}}class Rt{static{l(this,"RegExpSource")}source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t){const r=t.length;let i=0,s=[],o=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(s.push(t.substring(i,a)),s.push("$(?!\\n)(?<!\\n)"),i=a+2):(c==="A"||c==="G")&&(o=!0),a++}this.hasAnchor=o,i===0?this.source=t:(s.push(t.substring(i,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=v0.test(this.source)}clone(){return new Rt(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(i=>t.substring(i.start,i.end));return Gl.lastIndex=0,this.source.replace(Gl,(i,s)=>Ul(r[parseInt(s,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],i=[],s,o,a,u;for(s=0,o=this.source.length;s<o;s++)a=this.source.charAt(s),t[s]=a,n[s]=a,r[s]=a,i[s]=a,a==="\\"&&s+1<o&&(u=this.source.charAt(s+1),u==="A"?(t[s+1]="\uFFFF",n[s+1]="\uFFFF",r[s+1]="A",i[s+1]="A"):u==="G"?(t[s+1]="\uFFFF",n[s+1]="G",r[s+1]="\uFFFF",i[s+1]="G"):(t[s+1]=u,n[s+1]=u,r[s+1]=u,i[s+1]=u),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class zn{static{l(this,"RegExpSourceList")}_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new Yl(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let i=this._items.map(s=>s.resolveAnchors(n,r));return new Yl(t,i,this._items.map(s=>s.ruleId))}}class Yl{static{l(this,"CompiledRule")}regExps;rules;scanner;constructor(t,n,r){this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
|
|
251
|
+
`)}findNextMatchSync(t,n,r){const i=this.scanner.findNextMatchSync(t,n,r);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}}class Mr{static{l(this,"Theme")}_colorMap;_defaults;_root;static createFromRawTheme(t,n){return this.createFromParsedTheme(N0(t),n)}static createFromParsedTheme(t,n){return _0(t,n)}_cachedMatchRoot=new Hl(t=>this._root.match(t));constructor(t,n,r){this._colorMap=t,this._defaults=n,this._root=r}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,i=this._cachedMatchRoot.get(n).find(s=>C0(t.parent,s.parentScopes));return i?new Jl(i.fontStyle,i.foreground,i.background):null}}class Pt{static{l(this,"ScopeStack")}parent;scopeName;static push(t,n){for(const r of n)t=new Pt(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Pt(n,t[r]);return n}constructor(t,n){this.parent=t,this.scopeName=n}push(t){return new Pt(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function C0(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(T0(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}l(C0,"_scopePathMatchesParentScopes");function T0(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}l(T0,"_matchesScope");class Jl{static{l(this,"StyleAttributes")}fontStyle;foregroundId;backgroundId;constructor(t,n,r){this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function N0(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let i=0,s=t.length;i<s;i++){let o=t[i];if(!o.settings)continue;let a;if(typeof o.scope=="string"){let f=o.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(o.scope)?a=o.scope:a=[""];let u=-1;if(typeof o.settings.fontStyle=="string"){u=0;let f=o.settings.fontStyle.split(" ");for(let p=0,d=f.length;p<d;p++)switch(f[p]){case"italic":u=u|1;break;case"bold":u=u|2;break;case"underline":u=u|4;break;case"strikethrough":u=u|8;break}}let c=null;typeof o.settings.foreground=="string"&&zl(o.settings.foreground)&&(c=o.settings.foreground);let h=null;typeof o.settings.background=="string"&&zl(o.settings.background)&&(h=o.settings.background);for(let f=0,p=a.length;f<p;f++){let m=a[f].trim().split(" "),g=m[m.length-1],y=null;m.length>1&&(y=m.slice(0,m.length-1),y.reverse()),n[r++]=new E0(g,y,i,u,c,h)}}return n}l(N0,"parseTheme");class E0{static{l(this,"ParsedThemeRule")}scope;parentScopes;index;fontStyle;foreground;background;constructor(t,n,r,i,s,o){this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=i,this.foreground=s,this.background=o}}function _0(e,t){e.sort((u,c)=>{let h=Bl(u.scope,c.scope);return h!==0||(h=jl(u.parentScopes,c.parentScopes),h!==0)?h:u.index-c.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&e[0].scope==="";){let u=e.shift();u.fontStyle!==-1&&(n=u.fontStyle),u.foreground!==null&&(r=u.foreground),u.background!==null&&(i=u.background)}let s=new O0(t),o=new Jl(n,s.getId(r),s.getId(i)),a=new tr(new er(0,null,-1,0,0),[]);for(let u=0,c=e.length;u<c;u++){let h=e[u];a.insert(0,h.scope,h.parentScopes,h.fontStyle,s.getId(h.foreground),s.getId(h.background))}return new Mr(s,o,a)}l(_0,"resolveParsedThemeRules");class O0{static{l(this,"ColorMap")}_isFrozen;_lastColorId;_id2color;_color2id;constructor(t){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class er{static{l(this,"ThemeTrieElementRule")}scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,i,s){this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=i,this.background=s}clone(){return new er(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,i=t.length;r<i;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,i){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}}class tr{static{l(this,"ThemeTrieElement")}_mainRule;_children;_rulesWithParentScopes;constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,i=n.parentScopes;let s=r===null?0:r.length,o=i===null?0:i.length;if(s===o)for(let a=0;a<s;a++){const u=r[a].length,c=i[a].length;if(u!==c)return c-u}return o-s}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return tr._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,i;return n===-1?(r=t,i=""):(r=t.substring(0,n),i=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(i):tr._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,i,s,o){if(n===""){this._doInsertHere(t,r,i,s,o);return}let a=n.indexOf("."),u,c;a===-1?(u=n,c=""):(u=n.substring(0,a),c=n.substring(a+1));let h;this._children.hasOwnProperty(u)?h=this._children[u]:(h=new tr(this._mainRule.clone(),er.cloneArr(this._rulesWithParentScopes)),this._children[u]=h),h.insert(t+1,c,r,i,s,o)}_doInsertHere(t,n,r,i,s){if(n===null){this._mainRule.acceptOverwrite(t,r,i,s);return}for(let o=0,a=this._rulesWithParentScopes.length;o<a;o++){let u=this._rulesWithParentScopes[o];if(jl(u.parentScopes,n)===0){u.acceptOverwrite(t,r,i,s);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new er(t,n,r,i,s))}}class Ss{static{l(this,"BasicScopeAttributes")}languageId;tokenType;constructor(t,n){this.languageId=t,this.tokenType=n}}class yi{static{l(this,"BasicScopeAttributesProvider")}_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Ss(t,8),this._embeddedLanguagesMatcher=new L0(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?yi._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Ss(0,0);_getBasicScopeAttributes=new Hl(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new Ss(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(yi.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}class L0{static{l(this,"ScopeMatcher")}values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,i])=>Ul(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class Ql{static{l(this,"TokenizeStringResult")}stack;stoppedEarly;constructor(t,n){this.stack=t,this.stoppedEarly=n}}function Xl(e,t,n,r,i,s,o,a){const u=t.content.length;let c=!1,h=-1;if(o){const d=I0(e,t,n,r,i,s);i=d.stack,r=d.linePos,n=d.isFirstLine,h=d.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Ql(i,!0);p()}return new Ql(i,!1);function p(){const d=D0(e,t,n,r,i,h);if(!d){s.produce(i,u),c=!0;return}const m=d.captureIndices,g=d.matchedRuleId,y=m&&m.length>0?m[0].end>r:!1;if(g===S0){const b=i.getRule(e);s.produce(i,m[0].start),i=i.withContentNameScopesList(i.nameScopesList),Un(e,t,n,i,s,b.endCaptures,m),s.produce(i,m[0].end);const w=i;if(i=i.parent,h=w.getAnchorPos(),!y&&w.getEnterPos()===r){i=w,s.produce(i,u),c=!0;return}}else{const b=e.getRule(g);s.produce(i,m[0].start);const w=i,A=b.getName(t.content,m),N=i.contentNameScopesList.pushAttributed(A,e);if(i=i.push(g,r,h,m[0].end===u,null,N,N),b instanceof vs){const T=b;Un(e,t,n,i,s,T.beginCaptures,m),s.produce(i,m[0].end),h=m[0].end;const x=T.getContentName(t.content,m),E=N.pushAttributed(x,e);if(i=i.withContentNameScopesList(E),T.endHasBackReferences&&(i=i.withEndRule(T.getEndWithResolvedBackReferences(t.content,m))),!y&&w.hasSameRuleAs(i)){i=i.pop(),s.produce(i,u),c=!0;return}}else if(b instanceof qr){const T=b;Un(e,t,n,i,s,T.beginCaptures,m),s.produce(i,m[0].end),h=m[0].end;const x=T.getContentName(t.content,m),E=N.pushAttributed(x,e);if(i=i.withContentNameScopesList(E),T.whileHasBackReferences&&(i=i.withEndRule(T.getWhileWithResolvedBackReferences(t.content,m))),!y&&w.hasSameRuleAs(i)){i=i.pop(),s.produce(i,u),c=!0;return}}else if(Un(e,t,n,i,s,b.captures,m),s.produce(i,m[0].end),i=i.pop(),!y){i=i.safePop(),s.produce(i,u),c=!0;return}}m[0].end>r&&(r=m[0].end,n=!1)}}l(Xl,"_tokenizeString");function I0(e,t,n,r,i,s){let o=i.beginRuleCapturedEOL?0:-1;const a=[];for(let u=i;u;u=u.pop()){const c=u.getRule(e);c instanceof qr&&a.push({rule:c,stack:u})}for(let u=a.pop();u;u=a.pop()){const{ruleScanner:c,findOptions:h}=F0(u.rule,e,u.stack.endRule,n,r===o),f=c.findNextMatchSync(t,r,h);if(f){if(f.ruleId!==Wl){i=u.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(s.produce(u.stack,f.captureIndices[0].start),Un(e,t,n,u.stack,s,u.rule.whileCaptures,f.captureIndices),s.produce(u.stack,f.captureIndices[0].end),o=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{i=u.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}l(I0,"_checkWhileConditions");function D0(e,t,n,r,i,s){const o=R0(e,t,n,r,i,s),a=e.getInjections();if(a.length===0)return o;const u=P0(a,e,t,n,r,i,s);if(!u)return o;if(!o)return u;const c=o.captureIndices[0].start,h=u.captureIndices[0].start;return h<c||u.priorityMatch&&h===c?u:o}l(D0,"matchRuleOrInjections");function R0(e,t,n,r,i,s){const o=i.getRule(e),{ruleScanner:a,findOptions:u}=Zl(o,e,i.endRule,n,r===s),c=a.findNextMatchSync(t,r,u);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}l(R0,"matchRule");function P0(e,t,n,r,i,s,o){let a=Number.MAX_VALUE,u=null,c,h=0;const f=s.contentNameScopesList.getScopeNames();for(let p=0,d=e.length;p<d;p++){const m=e[p];if(!m.matcher(f))continue;const g=t.getRule(m.ruleId),{ruleScanner:y,findOptions:b}=Zl(g,t,null,r,i===o),w=y.findNextMatchSync(n,i,b);if(!w)continue;const A=w.captureIndices[0].start;if(!(A>=a)&&(a=A,u=w.captureIndices,c=w.ruleId,h=m.priority,a===i))break}return u?{priorityMatch:h===-1,captureIndices:u,matchedRuleId:c}:null}l(P0,"matchInjections");function Zl(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}l(Zl,"prepareRuleSearch");function F0(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}l(F0,"prepareRuleWhileSearch");function Un(e,t,n,r,i,s,o){if(s.length===0)return;const a=t.content,u=Math.min(s.length,o.length),c=[],h=o[0].end;for(let f=0;f<u;f++){const p=s[f];if(p===null)continue;const d=o[f];if(d.length===0)continue;if(d.start>h)break;for(;c.length>0&&c[c.length-1].endPos<=d.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,d.start):i.produce(r,d.start),p.retokenizeCapturedWithRuleId){const g=p.getName(a,o),y=r.contentNameScopesList.pushAttributed(g,e),b=p.getContentName(a,o),w=y.pushAttributed(b,e),A=r.push(p.retokenizeCapturedWithRuleId,d.start,-1,!1,null,y,w),N=e.createOnigString(a.substring(0,d.end));Xl(e,N,n&&d.start===0,d.start,A,i,!1,0),ql(N);continue}const m=p.getName(a,o);if(m!==null){const y=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(m,e);c.push(new q0(y,d.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}l(Un,"handleCaptures");class q0{static{l(this,"LocalStackElement")}scopes;endPos;constructor(t,n){this.scopes=t,this.endPos=n}}function M0(e,t,n,r,i,s,o,a){return new B0(e,t,n,r,i,s,o,a)}l(M0,"createGrammar");function eu(e,t,n,r,i){const s=Dr(t,$r),o=be.getCompiledRuleId(n,r,i.repository);for(const a of s)e.push({debugSelector:t,matcher:a.matcher,ruleId:o,grammar:i,priority:a.priority})}l(eu,"collectInjections");function $r(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let i=n;i<t.length;i++)if($0(t[i],r))return n=i+1,!0;return!1})}l($r,"nameMatcher");function $0(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}l($0,"scopesAreMatching");class B0{static{l(this,"Grammar")}_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}constructor(t,n,r,i,s,o,a,u){if(this._rootScopeName=t,this.balancedBracketSelectors=o,this._onigLib=u,this._basicScopeAttributesProvider=new yi(r,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=tu(n,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const c of Object.keys(s)){const h=Dr(c,$r);for(const f of h)this._tokenTypeMatchers.push({matcher:f.matcher,type:s[c]})}}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},n=[],r=this._rootScopeName,i=t.lookup(r);if(i){const s=i.injections;if(s)for(let a in s)eu(n,a,s[a],this,i);const o=this._grammarRepository.injections(r);o&&o.forEach(a=>{const u=this.getExternalGrammar(a);if(u){const c=u.injectionSelector;c&&eu(n,c,u,this,u)}})}return n.sort((s,o)=>s.priority-o.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=tu(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const i=this._tokenize(t,n,!1,r);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(t,n,r=0){const i=this._tokenize(t,n,!0,r);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(t,n,r,i){this._rootId===-1&&(this._rootId=be.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!n||n===Ze.NULL){s=!0;const h=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),p=sn.set(0,h.languageId,h.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),d=this.getRule(this._rootId).getName(null,null);let m;d?m=Ce.createRootAndLookUpScopeName(d,p,this):m=Ce.createRoot("unknown",p),n=new Ze(null,this._rootId,-1,-1,!1,null,m,m)}else s=!1,n.reset();t=t+`
|
|
252
|
+
`;const o=this.createOnigString(t),a=o.content.length,u=new z0(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Xl(this,o,s,0,n,u,!0,i);return ql(o),{lineLength:a,lineTokens:u,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function tu(e,t){return e=u0(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}l(tu,"initGrammar");class Ce{static{l(this,"AttributedScopeStack")}parent;scopePath;tokenAttributes;static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(const s of n)i=Pt.push(i,s.scopeNames),r=new Ce(r,i,s.encodedTokenAttributes);return r}static createRoot(t,n){return new Ce(null,new Pt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const i=r.getMetadataForScope(t),s=new Pt(null,t),o=r.themeProvider.themeMatch(s),a=Ce.mergeAttributes(n,i,o);return new Ce(null,s,a)}get scopeName(){return this.scopePath.scopeName}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}toString(){return this.getScopeNames().join(" ")}equals(t){return Ce.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let i=-1,s=0,o=0;return r!==null&&(i=r.fontStyle,s=r.foregroundId,o=r.backgroundId),sn.set(t,n.languageId,n.tokenType,null,i,s,o)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Ce._pushAttributed(this,t,n);const r=t.split(/ /g);let i=this;for(const s of r)i=Ce._pushAttributed(i,s,n);return i}static _pushAttributed(t,n,r){const i=r.getMetadataForScope(n),s=t.scopePath.push(n),o=r.themeProvider.themeMatch(s),a=Ce.mergeAttributes(t.tokenAttributes,i,o);return new Ce(t,s,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}}class Ze{static{l(this,"StateStackImpl")}parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new Ze(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;constructor(t,n,r,i,s,o,a,u){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=o,this.nameScopesList=a,this.contentNameScopesList=u,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}equals(t){return t===null?!1:Ze._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Ce.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){Ze._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,s,o,a){return new Ze(this,t,n,r,i,s,o,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new Ze(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=Ce.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new Ze(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ce.fromExtension(r,n.contentNameScopesList))}}class j0{static{l(this,"BalancedBracketSelectors")}balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,n){this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):Dr(r,$r).map(i=>i.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>Dr(r,$r).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class z0{static{l(this,"LineTokens")}balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;constructor(t,n,r,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=t?.tokenAttributes??0,s=!1;if(this.balancedBracketSelectors?.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=t?.getScopeNames()??[];for(const a of this._tokenTypeOverrides)a.matcher(o)&&(i=sn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(i=sn.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let i=0,s=this._binaryTokens.length;i<s;i++)r[i]=this._binaryTokens[i];return r}}class U0{static{l(this,"SyncRegistry")}_onigLibPromise;_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;constructor(t,n){this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,i,s){if(!this._grammars.has(t)){let o=this._rawGrammars.get(t);if(!o)return null;this._grammars.set(t,M0(t,o,n,r,i,s,this,await this._onigLibPromise))}return this._grammars.get(t)}}let H0=class{static{l(this,"Registry")}_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new U0(Mr.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Mr.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new j0(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,i,s){const o=new d0(this._syncRegistry,t);for(;o.Q.length>0;)await Promise.all(o.Q.map(a=>this._loadSingleGrammar(a.scopeName))),o.processQueue();return this._grammarForScopeName(t,n,r,i,s)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,i=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,i)}_grammarForScopeName(t,n=0,r=null,i=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,i,s)}};const V0=Ze.NULL,we={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class lt{static{l(this,"StackElementMetadata")}static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&we.LANGUAGEID_MASK)>>>we.LANGUAGEID_OFFSET}static getTokenType(t){return(t&we.TOKEN_TYPE_MASK)>>>we.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&we.FONT_STYLE_MASK)>>>we.FONT_STYLE_OFFSET}static getForeground(t){return(t&we.FOREGROUND_MASK)>>>we.FOREGROUND_OFFSET}static getBackground(t){return(t&we.BACKGROUND_MASK)>>>we.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&we.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,i,s,o){let a=lt.getLanguageId(t),u=lt.getTokenType(t),c=lt.getFontStyle(t),h=lt.getForeground(t),f=lt.getBackground(t);const p=lt.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(u=r===8?0:r),i!==Ge.NotSet&&(c=i),s!==0&&(h=s),o!==0&&(f=o),(a<<we.LANGUAGEID_OFFSET|u<<we.TOKEN_TYPE_OFFSET|c<<we.FONT_STYLE_OFFSET|p<<we.BALANCED_BRACKETS_OFFSET|h<<we.FOREGROUND_OFFSET|f<<we.BACKGROUND_OFFSET)>>>0}}function Br(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const i=[];for(let s=0;s<n.length;s+=2){const o=t?n[s]+(n[s+1]||""):n[s];i.push([o,r]),r+=n[s].length,r+=n[s+1]?.length||0}return i}l(Br,"splitLines");function nu(e){return!e||["plaintext","txt","text","plain"].includes(e)}l(nu,"isPlainLang");function ru(e){return e==="ansi"||nu(e)}l(ru,"isSpecialLang");function iu(e){return e==="none"}l(iu,"isNoneTheme");function su(e){return iu(e)}l(su,"isSpecialTheme");function ou(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}l(ou,"addClassToHast");function G0(e,t){let n=0;const r=[];for(const i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}l(G0,"splitToken");function W0(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,i)=>r-i);return n.length?e.map(r=>r.flatMap(i=>{const s=n.filter(o=>i.offset<o&&o<i.offset+i.content.length).map(o=>o-i.offset).sort((o,a)=>o-a);return s.length?G0(i,s):i})):e}l(W0,"splitTokens");function jr(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[i,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[i]=s:i===r&&Object.assign(n,s);return n}l(jr,"resolveColorReplacements");function Tt(e,t){return e&&(t?.[e?.toLowerCase()]||e)}l(Tt,"applyColorReplacements");function au(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Ge.Italic&&(t["font-style"]="italic"),e.fontStyle&Ge.Bold&&(t["font-weight"]="bold"),e.fontStyle&Ge.Underline&&(t["text-decoration"]="underline")),t}l(au,"getTokenStyleObject");function lu(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}l(lu,"stringifyTokenStyle");function K0(e){const t=Br(e,!0).map(([i])=>i);function n(i){let s=i,o=0;for(const a of t){if(s<a.length)break;s-=a.length,o++}return{line:o,character:s}}l(n,"indexToPos");function r(i,s){let o=0;for(let a=0;a<i;a++)o+=t[a].length;return o+=s,o}return l(r,"posToIndex"),{lines:t,indexToPos:n,posToIndex:r}}l(K0,"createPositionConverter");var Nt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],xs={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Y0(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}l(Y0,"findSequence");function uu(e,t){let n=1;const r=e[t+n++];let i;if(r==="2"){const s=[e[t+n++],e[t+n++],e[t+n]].map(o=>Number.parseInt(o));s.length===3&&!s.some(o=>Number.isNaN(o))&&(i={type:"rgb",rgb:s})}else if(r==="5"){const s=Number.parseInt(e[t+n]);Number.isNaN(s)||(i={type:"table",index:Number(s)})}return[n,i]}l(uu,"parseColor");function J0(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],i=Number.parseInt(r);if(!Number.isNaN(i))if(i===0)t.push({type:"resetAll"});else if(i<=9)xs[i]&&t.push({type:"setDecoration",value:xs[i]});else if(i<=29){const s=xs[i-20];s&&t.push({type:"resetDecoration",value:s})}else if(i<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Nt[i-30]}});else if(i===38){const[s,o]=uu(e,n);o&&t.push({type:"setForegroundColor",value:o}),n+=s}else if(i===39)t.push({type:"resetForegroundColor"});else if(i<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Nt[i-40]}});else if(i===48){const[s,o]=uu(e,n);o&&t.push({type:"setBackgroundColor",value:o}),n+=s}else i===49?t.push({type:"resetBackgroundColor"}):i>=90&&i<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Nt[i-90+8]}}):i>=100&&i<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Nt[i-100+8]}})}return t}l(J0,"parseSequence");function Q0(){let e=null,t=null,n=new Set;return{parse(r){const i=[];let s=0;do{const o=Y0(r,s),a=o.sequence?r.substring(s,o.startPosition):r.substring(s);if(a.length>0&&i.push({value:a,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const u=J0(o.sequence);for(const c of u)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of u)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=o.position}while(s<r.length);return i}}}l(Q0,"createAnsiSequenceParser");var X0={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Z0(e=X0){function t(a){return e[a]}l(t,"namedColor");function n(a){return`#${a.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}l(n,"rgbColor");let r;function i(){if(r)return r;r=[];for(let c=0;c<Nt.length;c++)r.push(t(Nt[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let h=0;h<6;h++)for(let f=0;f<6;f++)r.push(n([a[c],a[h],a[f]]));let u=8;for(let c=0;c<24;c++,u+=10)r.push(n([u,u,u]));return r}l(i,"getColorTable");function s(a){return i()[a]}l(s,"tableColor");function o(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return s(a.index)}}return l(o,"value"),{value:o}}l(Z0,"createColorPalette");function ek(e,t,n){const r=jr(e,n),i=Br(t),s=Z0(Object.fromEntries(Nt.map(a=>[a,e.colors?.[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]))),o=Q0();return i.map(a=>o.parse(a[0]).map(u=>{let c,h;u.decorations.has("reverse")?(c=u.background?s.value(u.background):e.bg,h=u.foreground?s.value(u.foreground):e.fg):(c=u.foreground?s.value(u.foreground):e.fg,h=u.background?s.value(u.background):void 0),c=Tt(c,r),h=Tt(h,r),u.decorations.has("dim")&&(c=tk(c));let f=Ge.None;return u.decorations.has("bold")&&(f|=Ge.Bold),u.decorations.has("italic")&&(f|=Ge.Italic),u.decorations.has("underline")&&(f|=Ge.Underline),{content:u.value,offset:a[1],color:c,bgColor:h,fontStyle:f}}))}l(ek,"tokenizeAnsiWithTheme");function tk(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}l(tk,"dimColor");function As(e,t,n={}){const{lang:r="text",theme:i=e.getLoadedThemes()[0]}=n;if(nu(r)||iu(i))return Br(t).map(u=>[{content:u[0],offset:u[1]}]);const{theme:s,colorMap:o}=e.setTheme(i);if(r==="ansi")return ek(s,t,n);const a=e.getLanguage(r);return nk(t,a,s,o,n)}l(As,"codeToTokensBase");function nk(e,t,n,r,i){const s=jr(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:a=500}=i,u=Br(e);let c=V0,h=[];const f=[];for(let p=0,d=u.length;p<d;p++){const[m,g]=u[p];if(m===""){h=[],f.push([]);continue}if(o>0&&m.length>=o){h=[],f.push([{content:m,offset:g,color:"",fontStyle:0}]);continue}let y,b,w;i.includeExplanation&&(y=t.tokenizeLine(m,c),b=y.tokens,w=0);const A=t.tokenizeLine2(m,c,a),N=A.tokens.length/2;for(let T=0;T<N;T++){const x=A.tokens[2*T],E=T+1<N?A.tokens[2*T+2]:m.length;if(x===E)continue;const _=A.tokens[2*T+1],F=Tt(r[lt.getForeground(_)],s),S=lt.getFontStyle(_),P={content:m.substring(x,E),offset:g+x,color:F,fontStyle:S};if(i.includeExplanation){P.explanation=[];let L=0;for(;x+L<E;){const $=b[w],Q=m.substring($.startIndex,$.endIndex);L+=Q.length,P.explanation.push({content:Q,scopes:rk(n,$.scopes)}),w+=1}}h.push(P)}f.push(h),h=[],c=A.ruleStack}return f}l(nk,"tokenizeWithTheme");function rk(e,t){const n=[];for(let r=0,i=t.length;r<i;r++){const s=t.slice(0,r),o=t[r];n[r]={scopeName:o,themeMatches:sk(e,o,s)}}return n}l(rk,"explainThemeScopes");function cu(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}l(cu,"matchesOne");function ik(e,t,n,r){if(!cu(e,n))return!1;let i=t.length-1,s=r.length-1;for(;i>=0&&s>=0;)cu(t[i],r[s])&&(i-=1),s-=1;return i===-1}l(ik,"matches");function sk(e,t,n){const r=[];let i=0;for(let s=0,o=e.settings.length;s<o;s++){const a=e.settings[s];let u;if(typeof a.scope=="string")u=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))u=a.scope;else continue;for(let c=0,h=u.length;c<h;c++){const p=u[c].split(/ /),d=p[p.length-1],m=p.slice(0,p.length-1);ik(d,m,t,n)&&(r[i++]=a,c=h)}}return r}l(sk,"explainThemeScope");function fu(e,t,n){const r=Object.entries(n.themes).filter(o=>o[1]).map(o=>({color:o[0],theme:o[1]})),i=ok(...r.map(o=>As(e,t,{...n,theme:o.theme})));return i[0].map((o,a)=>o.map((u,c)=>{const h={content:u.content,variants:{},offset:u.offset};return i.forEach((f,p)=>{const{content:d,explanation:m,offset:g,...y}=f[a][c];h.variants[r[p].color]=y}),h}))}l(fu,"codeToTokensWithThemes");function ok(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const i=e.map(u=>u[r]),s=t.map(()=>[]);t.forEach((u,c)=>u.push(s[c]));const o=i.map(()=>0),a=i.map(u=>u[0]);for(;a.every(u=>u);){const u=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const h=a[c];h.content.length===u?(s[c].push(h),o[c]+=1,a[c]=i[c][o[c]]):(s[c].push({...h,content:h.content.slice(0,u)}),a[c]={...h,content:h.content.slice(u),offset:h.offset+u})}}}return t}l(ok,"syncThemesTokenization");class ke extends Error{static{l(this,"ShikiError")}constructor(t){super(t),this.name="ShikiError"}}function zr(e,t,n){let r,i,s,o,a;if("themes"in n){const{defaultColor:u="light",cssVariablePrefix:c="--shiki-"}=n,h=Object.entries(n.themes).filter(g=>g[1]).map(g=>({color:g[0],theme:g[1]})).sort((g,y)=>g.color===u?-1:y.color===u?1:0);if(h.length===0)throw new ke("`themes` option must not be empty");const f=fu(e,t,n);if(u&&!h.find(g=>g.color===u))throw new ke(`\`themes\` option must contain the defaultColor key \`${u}\``);const p=h.map(g=>e.getTheme(g.theme)),d=h.map(g=>g.color);s=f.map(g=>g.map(y=>ak(y,d,c,u)));const m=h.map(g=>jr(g.theme,n));i=h.map((g,y)=>(y===0&&u?"":`${c+g.color}:`)+(Tt(p[y].fg,m[y])||"inherit")).join(";"),r=h.map((g,y)=>(y===0&&u?"":`${c+g.color}-bg:`)+(Tt(p[y].bg,m[y])||"inherit")).join(";"),o=`shiki-themes ${p.map(g=>g.name).join(" ")}`,a=u?void 0:[i,r].join(";")}else if("theme"in n){const u=jr(n.theme,n.colorReplacements);s=As(e,t,n);const c=e.getTheme(n.theme);r=Tt(c.bg,u),i=Tt(c.fg,u),o=c.name}else throw new ke("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:i,bg:r,themeName:o,rootStyle:a}}l(zr,"codeToTokens");function ak(e,t,n,r){const i={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(u=>au(e.variants[u])),o=new Set(s.flatMap(u=>Object.keys(u))),a=s.reduce((u,c,h)=>{for(const f of o){const p=c[f]||"inherit";if(h===0&&r)u[f]=p;else{const d=f==="color"?"":f==="background-color"?"-bg":`-${f}`,m=n+t[h]+(f==="color"?"":d);u[f]?u[f]+=`;${m}:${p}`:u[f]=`${m}:${p}`}}return u},{});return i.htmlStyle=r?lu(a):Object.values(a).join(";"),i}l(ak,"mergeToken");function lk(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let s=function(a){return typeof a=="number"?{...i.indexToPos(a),offset:a}:{...a,offset:i.posToIndex(a.line,a.character)}};l(s,"normalizePosition");const i=K0(r.source),o=(r.options.decorations||[]).map(a=>({...a,start:s(a.start),end:s(a.end)}));n(o),e.set(r.meta,{decorations:o,converter:i,source:r.source})}return e.get(r.meta)}l(t,"getContext");function n(r){for(let i=0;i<r.length;i++){const s=r[i];if(s.start.offset>s.end.offset)throw new ke(`Invalid decoration range: ${JSON.stringify(s.start)} - ${JSON.stringify(s.end)}`);for(let o=i+1;o<r.length;o++){const a=r[o],u=s.start.offset<a.start.offset&&a.start.offset<s.end.offset,c=s.start.offset<a.end.offset&&a.end.offset<s.end.offset,h=a.start.offset<s.start.offset&&s.start.offset<a.end.offset,f=a.start.offset<s.end.offset&&s.end.offset<a.end.offset;if(u||c||h||f){if(c&&c||h&&f)continue;throw new ke(`Decorations ${JSON.stringify(s.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}return l(n,"verifyIntersections"),{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const s=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return W0(r,s)},code(r){if(!this.options.decorations?.length)return;const i=t(this),s=Array.from(r.children).filter(f=>f.type==="element"&&f.tagName==="span");if(s.length!==i.converter.lines.length)throw new ke(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${i.converter.lines.length}). Failed to apply decorations.`);function o(f,p,d,m){const g=s[f];let y="",b=-1,w=-1;function A(T){return T.type==="text"?T.value:T.type==="element"?T.children.map(A).join(""):""}if(l(A,"stringify"),p===0&&(b=0),d===0&&(w=0),d===Number.POSITIVE_INFINITY&&(w=g.children.length),b===-1||w===-1)for(let T=0;T<g.children.length;T++)y+=A(g.children[T]),b===-1&&y.length===p&&(b=T+1),w===-1&&y.length===d&&(w=T+1);if(b===-1)throw new ke(`Failed to find start index for decoration ${JSON.stringify(m.start)}`);if(w===-1)throw new ke(`Failed to find end index for decoration ${JSON.stringify(m.end)}`);const N=g.children.slice(b,w);if(!m.alwaysWrap&&N.length===g.children.length)u(g,m,"line");else if(!m.alwaysWrap&&N.length===1&&N[0].type==="element")u(N[0],m,"token");else{const T={type:"element",tagName:"span",properties:{},children:N};u(T,m,"wrapper"),g.children.splice(b,N.length,T)}}l(o,"applyLineSection");function a(f,p){s[f]=u(s[f],p,"line")}l(a,"applyLine");function u(f,p,d){const m=p.properties||{},g=p.transform||(y=>y);return f.tagName=p.tagName||"span",f.properties={...f.properties,...m,class:f.properties.class},p.properties?.class&&ou(f,p.properties.class),f=g(f,d)||f,f}l(u,"applyDecoration");const c=[],h=i.decorations.sort((f,p)=>p.start.offset-f.start.offset);for(const f of h){const{start:p,end:d}=f;if(p.line===d.line)o(p.line,p.character,d.character,f);else if(p.line<d.line){o(p.line,p.character,Number.POSITIVE_INFINITY,f);for(let m=p.line+1;m<d.line;m++)c.unshift(()=>a(m,f));o(d.line,0,d.character,f)}}c.forEach(f=>f())}}}l(lk,"transformerDecorations");const uk=[lk()];function Ur(e){return[...e.transformers||[],...uk]}l(Ur,"getTransformers");function Hr(e,t,n,r={meta:{},options:n,codeToHast:(i,s)=>Hr(e,i,s),codeToTokens:(i,s)=>zr(e,i,s)}){let i=t;for(const p of Ur(n))i=p.preprocess?.call(r,i,n)||i;let{tokens:s,fg:o,bg:a,themeName:u,rootStyle:c}=zr(e,i,n);const{mergeWhitespaces:h=!0}=n;h===!0?s=fk(s):h==="never"&&(s=hk(s));const f={...r,get source(){return i}};for(const p of Ur(n))s=p.tokens?.call(f,s)||s;return ck(s,{...n,fg:o,bg:a,themeName:u,rootStyle:c},f)}l(Hr,"codeToHast");function ck(e,t,n){const r=Ur(t),i=[],s={type:"root",children:[]},{structure:o="classic"}=t;let a={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([p])=>!p.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:i};const c=[],h={...n,structure:o,addClassToHast:ou,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return a},get code(){return u},get lines(){return c}};if(e.forEach((p,d)=>{d&&(o==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&i.push({type:"text",value:`
|
|
253
|
+
`}));let m={type:"element",tagName:"span",properties:{class:"line"},children:[]},g=0;for(const y of p){let b={type:"element",tagName:"span",properties:{},children:[{type:"text",value:y.content}]};const w=y.htmlStyle||lu(au(y));w&&(b.properties.style=w);for(const A of r)b=A?.span?.call(h,b,d+1,g,m)||b;o==="inline"?s.children.push(b):o==="classic"&&m.children.push(b),g+=y.content.length}if(o==="classic"){for(const y of r)m=y?.line?.call(h,m,d+1)||m;c.push(m),i.push(m)}}),o==="classic"){for(const p of r)u=p?.code?.call(h,u)||u;a.children.push(u);for(const p of r)a=p?.pre?.call(h,a)||a;s.children.push(a)}let f=s;for(const p of r)f=p?.root?.call(h,f)||f;return f}l(ck,"tokensToHast");function fk(e){return e.map(t=>{const n=[];let r="",i=0;return t.forEach((s,o)=>{const u=!(s.fontStyle&&s.fontStyle&Ge.Underline);u&&s.content.match(/^\s+$/)&&t[o+1]?(i||(i=s.offset),r+=s.content):r?(u?n.push({...s,offset:i,content:r+s.content}):n.push({content:r,offset:i},s),i=0,r=""):n.push(s)}),n})}l(fk,"mergeWhitespaceTokens");function hk(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,i,s,o]=r;if(!i&&!o)return n;const a=[{...n,offset:n.offset+i.length,content:s}];return i&&a.unshift({content:i,offset:n.offset}),o&&a.push({content:o,offset:n.offset+i.length+s.length}),a}))}l(hk,"splitWhitespaceTokens");const pk=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];let Hn=class{static{l(this,"Schema")}constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};Hn.prototype.property={},Hn.prototype.normal={},Hn.prototype.space=null;function hu(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new Hn(n,r,t)}l(hu,"merge$1");function Cs(e){return e.toLowerCase()}l(Cs,"normalize$2");let Fe=class{static{l(this,"Info")}constructor(t,n){this.property=t,this.attribute=n}};Fe.prototype.space=null,Fe.prototype.boolean=!1,Fe.prototype.booleanish=!1,Fe.prototype.overloadedBoolean=!1,Fe.prototype.number=!1,Fe.prototype.commaSeparated=!1,Fe.prototype.spaceSeparated=!1,Fe.prototype.commaOrSpaceSeparated=!1,Fe.prototype.mustUseProperty=!1,Fe.prototype.defined=!1;let dk=0;const G=Et(),fe=Et(),pu=Et(),D=Et(),ee=Et(),on=Et(),Oe=Et();function Et(){return 2**++dk}l(Et,"increment$1");var Ts=Object.freeze({__proto__:null,boolean:G,booleanish:fe,commaOrSpaceSeparated:Oe,commaSeparated:on,number:D,overloadedBoolean:pu,spaceSeparated:ee});const Ns=Object.keys(Ts);let Es=class extends Fe{static{l(this,"DefinedInfo")}constructor(t,n,r,i){let s=-1;if(super(t,n),du(this,"space",i),typeof r=="number")for(;++s<Ns.length;){const o=Ns[s];du(this,Ns[s],(r&Ts[o])===Ts[o])}}};Es.prototype.defined=!0;function du(e,t,n){n&&(e[t]=n)}l(du,"mark$1");const mk={}.hasOwnProperty;function an(e){const t={},n={};let r;for(r in e.properties)if(mk.call(e.properties,r)){const i=e.properties[r],s=new Es(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Cs(r)]=r,n[Cs(s.attribute)]=r}return new Hn(t,n,e.space)}l(an,"create$2");const mu=an({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),gu=an({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function yu(e,t){return t in e?e[t]:t}l(yu,"caseSensitiveTransform$1");function bu(e,t){return yu(e,t.toLowerCase())}l(bu,"caseInsensitiveTransform$1");const wu=an({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:bu,properties:{xmlns:null,xmlnsXLink:null}}),ku=an({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:fe,ariaAutoComplete:null,ariaBusy:fe,ariaChecked:fe,ariaColCount:D,ariaColIndex:D,ariaColSpan:D,ariaControls:ee,ariaCurrent:null,ariaDescribedBy:ee,ariaDetails:null,ariaDisabled:fe,ariaDropEffect:ee,ariaErrorMessage:null,ariaExpanded:fe,ariaFlowTo:ee,ariaGrabbed:fe,ariaHasPopup:null,ariaHidden:fe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ee,ariaLevel:D,ariaLive:null,ariaModal:fe,ariaMultiLine:fe,ariaMultiSelectable:fe,ariaOrientation:null,ariaOwns:ee,ariaPlaceholder:null,ariaPosInSet:D,ariaPressed:fe,ariaReadOnly:fe,ariaRelevant:null,ariaRequired:fe,ariaRoleDescription:ee,ariaRowCount:D,ariaRowIndex:D,ariaRowSpan:D,ariaSelected:fe,ariaSetSize:D,ariaSort:null,ariaValueMax:D,ariaValueMin:D,ariaValueNow:D,ariaValueText:null,role:null}}),gk=an({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:bu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:on,acceptCharset:ee,accessKey:ee,action:null,allow:null,allowFullScreen:G,allowPaymentRequest:G,allowUserMedia:G,alt:null,as:null,async:G,autoCapitalize:null,autoComplete:ee,autoFocus:G,autoPlay:G,blocking:ee,capture:null,charSet:null,checked:G,cite:null,className:ee,cols:D,colSpan:null,content:null,contentEditable:fe,controls:G,controlsList:ee,coords:D|on,crossOrigin:null,data:null,dateTime:null,decoding:null,default:G,defer:G,dir:null,dirName:null,disabled:G,download:pu,draggable:fe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:G,formTarget:null,headers:ee,height:D,hidden:G,high:D,href:null,hrefLang:null,htmlFor:ee,httpEquiv:ee,id:null,imageSizes:null,imageSrcSet:null,inert:G,inputMode:null,integrity:null,is:null,isMap:G,itemId:null,itemProp:ee,itemRef:ee,itemScope:G,itemType:ee,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:G,low:D,manifest:null,max:null,maxLength:D,media:null,method:null,min:null,minLength:D,multiple:G,muted:G,name:null,nonce:null,noModule:G,noValidate:G,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:G,optimum:D,pattern:null,ping:ee,placeholder:null,playsInline:G,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:G,referrerPolicy:null,rel:ee,required:G,reversed:G,rows:D,rowSpan:D,sandbox:ee,scope:null,scoped:G,seamless:G,selected:G,shadowRootDelegatesFocus:G,shadowRootMode:null,shape:null,size:D,sizes:null,slot:null,span:D,spellCheck:fe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:D,step:null,style:null,tabIndex:D,target:null,title:null,translate:null,type:null,typeMustMatch:G,useMap:null,value:fe,width:D,wrap:null,align:null,aLink:null,archive:ee,axis:null,background:null,bgColor:null,border:D,borderColor:null,bottomMargin:D,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:G,declare:G,event:null,face:null,frame:null,frameBorder:null,hSpace:D,leftMargin:D,link:null,longDesc:null,lowSrc:null,marginHeight:D,marginWidth:D,noResize:G,noHref:G,noShade:G,noWrap:G,object:null,profile:null,prompt:null,rev:null,rightMargin:D,rules:null,scheme:null,scrolling:fe,standby:null,summary:null,text:null,topMargin:D,valueType:null,version:null,vAlign:null,vLink:null,vSpace:D,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:G,disableRemotePlayback:G,prefix:null,property:null,results:D,security:null,unselectable:null}}),yk=an({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:yu,properties:{about:Oe,accentHeight:D,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:D,amplitude:D,arabicForm:null,ascent:D,attributeName:null,attributeType:null,azimuth:D,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:D,by:null,calcMode:null,capHeight:D,className:ee,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:D,diffuseConstant:D,direction:null,display:null,dur:null,divisor:D,dominantBaseline:null,download:G,dx:null,dy:null,edgeMode:null,editable:null,elevation:D,enableBackground:null,end:null,event:null,exponent:D,externalResourcesRequired:null,fill:null,fillOpacity:D,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:on,g2:on,glyphName:on,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:D,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:D,horizOriginX:D,horizOriginY:D,id:null,ideographic:D,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:D,k:D,k1:D,k2:D,k3:D,k4:D,kernelMatrix:Oe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:D,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:D,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:D,overlineThickness:D,paintOrder:null,panose1:null,path:null,pathLength:D,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ee,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:D,pointsAtY:D,pointsAtZ:D,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Oe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Oe,rev:Oe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Oe,requiredFeatures:Oe,requiredFonts:Oe,requiredFormats:Oe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:D,specularExponent:D,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:D,strikethroughThickness:D,string:null,stroke:null,strokeDashArray:Oe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:D,strokeOpacity:D,strokeWidth:null,style:null,surfaceScale:D,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Oe,tabIndex:D,tableValues:null,target:null,targetX:D,targetY:D,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Oe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:D,underlineThickness:D,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:D,values:null,vAlphabetic:D,vMathematical:D,vectorEffect:null,vHanging:D,vIdeographic:D,version:null,vertAdvY:D,vertOriginX:D,vertOriginY:D,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:D,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),bk=/^data[-\w.:]+$/i,vu=/-[a-z]/g,wk=/[A-Z]/g;function kk(e,t){const n=Cs(t);let r=t,i=Fe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&bk.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(vu,Sk);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!vu.test(s)){let o=s.replace(wk,vk);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Es}return new i(r,t)}l(kk,"find$1");function vk(e){return"-"+e.toLowerCase()}l(vk,"kebab$1");function Sk(e){return e.charAt(1).toUpperCase()}l(Sk,"camelcase$1");const xk=hu([gu,mu,wu,ku,gk],"html"),Su=hu([gu,mu,wu,ku,yk],"svg"),xu={}.hasOwnProperty;function Ak(e,t){const n=t||{};function r(i,...s){let o=r.invalid;const a=r.handlers;if(i&&xu.call(i,e)){const u=String(i[e]);o=xu.call(a,u)?a[u]:r.unknown}if(o)return o.call(this,i,...s)}return l(r,"one"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}l(Ak,"zwitch$1");function Ck(e,t){if(e=e.replace(t.subset?Tk(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(i,s,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function r(i,s,o){return t.format(i.charCodeAt(0),o.charCodeAt(s+1),t)}}l(Ck,"core$1");function Tk(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}l(Tk,"charactersToExpression$1");function Nk(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}l(Nk,"toHexadecimal$1");function Ek(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}l(Ek,"toDecimal$1");const _k=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],_s={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"},Ok=["cent","copy","divide","gt","lt","not","para","times"],Au={}.hasOwnProperty,Os={};let Vr;for(Vr in _s)Au.call(_s,Vr)&&(Os[_s[Vr]]=Vr);function Lk(e,t,n,r){const i=String.fromCharCode(e);if(Au.call(Os,i)){const s=Os[i],o="&"+s;return n&&_k.includes(s)&&!Ok.includes(s)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?o:o+";"}return""}l(Lk,"toNamed$1");function Ik(e,t,n){let r=Nk(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Lk(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const s=Ek(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}l(Ik,"formatSmart$1");function ln(e,t){return Ck(e,Object.assign({format:Ik},t))}l(ln,"stringifyEntities$1");const Dk=/^>|^->|<!--|-->|--!>|<!-$/g,Rk=[">"],Pk=["<",">"];function Fk(e,t,n,r){return r.settings.bogusComments?"<?"+ln(e.value,Object.assign({},r.settings.characterReferences,{subset:Rk}))+">":"<!--"+e.value.replace(Dk,i)+"-->";function i(s){return ln(s,Object.assign({},r.settings.characterReferences,{subset:Pk}))}}l(Fk,"comment$1");function qk(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}l(qk,"doctype$1");function Cu(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}l(Cu,"ccount$1");function Mk(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}l(Mk,"stringify$1$1");function $k(e){return e.join(" ").trim()}l($k,"stringify$2");const Bk=/[ \t\n\f\r]/g;function Ls(e){return typeof e=="object"?e.type==="text"?Tu(e.value):!1:Tu(e)}l(Ls,"whitespace$1");function Tu(e){return e.replace(Bk,"")===""}l(Tu,"empty$2");const pe=Eu(1),Nu=Eu(-1),jk=[];function Eu(e){return t;function t(n,r,i){const s=n?n.children:jk;let o=(r||0)+e,a=s[o];if(!i)for(;a&&Ls(a);)o+=e,a=s[o];return a}}l(Eu,"siblings$1");const zk={}.hasOwnProperty;function _u(e){return t;function t(n,r,i){return zk.call(e,n.tagName)&&e[n.tagName](n,r,i)}}l(_u,"omission$1");const Is=_u({body:Hk,caption:Ds,colgroup:Ds,dd:Kk,dt:Wk,head:Ds,html:Uk,li:Gk,optgroup:Yk,option:Jk,p:Vk,rp:Ou,rt:Ou,tbody:Xk,td:Lu,tfoot:Zk,th:Lu,thead:Qk,tr:e1});function Ds(e,t,n){const r=pe(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ls(r.value.charAt(0)))}l(Ds,"headOrColgroupOrCaption$1");function Uk(e,t,n){const r=pe(n,t);return!r||r.type!=="comment"}l(Uk,"html$1$1");function Hk(e,t,n){const r=pe(n,t);return!r||r.type!=="comment"}l(Hk,"body$1$1");function Vk(e,t,n){const r=pe(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}l(Vk,"p$2");function Gk(e,t,n){const r=pe(n,t);return!r||r.type==="element"&&r.tagName==="li"}l(Gk,"li$1");function Wk(e,t,n){const r=pe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}l(Wk,"dt$1");function Kk(e,t,n){const r=pe(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}l(Kk,"dd$1");function Ou(e,t,n){const r=pe(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}l(Ou,"rubyElement$1");function Yk(e,t,n){const r=pe(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}l(Yk,"optgroup$1");function Jk(e,t,n){const r=pe(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}l(Jk,"option$1");function Qk(e,t,n){const r=pe(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}l(Qk,"thead$1");function Xk(e,t,n){const r=pe(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}l(Xk,"tbody$1$1");function Zk(e,t,n){return!pe(n,t)}l(Zk,"tfoot$1");function e1(e,t,n){const r=pe(n,t);return!r||r.type==="element"&&r.tagName==="tr"}l(e1,"tr$1");function Lu(e,t,n){const r=pe(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}l(Lu,"cells$1");const t1=_u({body:i1,colgroup:s1,head:r1,html:n1,tbody:o1});function n1(e){const t=pe(e,-1);return!t||t.type!=="comment"}l(n1,"html$6");function r1(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const i=t[r];if(i.type==="element"&&(i.tagName==="title"||i.tagName==="base")){if(n.includes(i.tagName))return!1;n.push(i.tagName)}}return t.length>0}l(r1,"head$1");function i1(e){const t=pe(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Ls(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}l(i1,"body$2");function s1(e,t,n){const r=Nu(n,t),i=pe(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Is(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}l(s1,"colgroup$1");function o1(e,t,n){const r=Nu(n,t),i=pe(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Is(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}l(o1,"tbody$2");const Gr={name:[[`
|
|
253
254
|
\f\r &/=>`.split(""),`
|
|
254
255
|
\f\r "&'/=>\``.split("")],[`\0
|
|
255
256
|
\f\r "&'/<=>`.split(""),`\0
|
|
@@ -257,7 +258,7 @@ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.pus
|
|
|
257
258
|
\f\r &>`.split(""),`\0
|
|
258
259
|
\f\r "&'<=>\``.split("")],[`\0
|
|
259
260
|
\f\r "&'<=>\``.split(""),`\0
|
|
260
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Xk(e,t,n,r){const i=r.schema,s=i.space==="svg"?!1:r.settings.omitOptionalTags;let o=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let u;i.space==="html"&&e.tagName==="svg"&&(r.schema=du);const c=Zk(r,e.properties),p=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,p&&(o=!1),(c||!s||!Gk(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),o&&(i.space==="svg"||r.settings.closeSelfClosing)&&(u=c.charAt(c.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(p),!o&&(!s||!As(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}l(Xk,"element$1");function Zk(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const s=e1(e,i,t[i]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}l(Zk,"serializeAttributes$1");function e1(e,t,n){const r=fk(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let o=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const u=sn(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Br.name[i][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?_k:Ok)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?u:(e.settings.preferUnquoted&&(a=sn(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Br.unquoted[i][s]}))),a!==n&&(e.settings.quoteSmart&&yu(n,o)>yu(n,e.alternative)&&(o=e.alternative),a=o+sn(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Br.single:Br.double)[i][s],attribute:!0}))+o),u+(a&&"="+a))}l(e1,"serializeAttribute$1");const t1=["<","&"];function Au(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:sn(e.value,Object.assign({},r.settings.characterReferences,{subset:t1}))}l(Au,"text$6");function n1(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Au(e,t,n,r)}l(n1,"raw$1");function r1(e,t,n,r){return r.all(e)}l(r1,"root$3");const i1=mk("type",{invalid:s1,unknown:o1,handlers:{comment:Nk,doctype:Ek,element:Xk,raw:n1,root:r1,text:Au}});function s1(e){throw new Error("Expected node, not `"+e+"`")}l(s1,"invalid$1");function o1(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}l(o1,"unknown$1");const a1={},l1={},u1=[];function c1(e,t){const n=a1,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:f1,all:p1,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||ik,characterReferences:n.characterReferences||l1,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?du:dk,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}l(c1,"toHtml$1");function f1(e,t,n){return i1(e,t,n,this)}l(f1,"one$3");function p1(e){const t=[],n=e&&e.children||u1;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}l(p1,"all$3");function h1(e,t,n){const r={meta:{},options:n,codeToHast:(s,o)=>Mr(e,s,o),codeToTokens:(s,o)=>qr(e,s,o)};let i=c1(Mr(e,t,n,r));for(const s of Fr(n))i=s.postprocess?.call(r,i,n)||i;return i}l(h1,"codeToHtml");async function d1(e){let t,n;const r={};function i(h){n=h,r.HEAPU8=new Uint8Array(h),r.HEAPU32=new Uint32Array(h)}l(i,"updateGlobalBufferAndViews");function s(){return typeof performance<"u"?performance.now():Date.now()}l(s,"_emscripten_get_now");function o(h,d,m){r.HEAPU8.copyWithin(h,d,d+m)}l(o,"_emscripten_memcpy_big");function a(){return 2147483648}l(a,"getHeapMax");function u(h){try{return t.grow(h-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}l(u,"emscripten_realloc_buffer");function c(h){const d=r.HEAPU8.length;h=h>>>0;const m=a();if(h>m)return!1;const g=l((y,w)=>y+(w-y%w)%w,"alignUp");for(let y=1;y<=4;y*=2){let w=d*(1+.2/y);w=Math.min(w,h+100663296);const b=Math.min(m,g(Math.max(h,w),65536));if(u(b))return!0}return!1}l(c,"_emscripten_resize_heap");const p={emscripten_get_now:s,emscripten_memcpy_big:o,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const d=await e({env:p,wasi_snapshot_preview1:p});t=d.memory,i(t.buffer),Object.assign(r,d)}return l(f,"createWasm"),await f(),r}l(d1,"main");let ge=null,m1=!1;function g1(e){throw new we(e.UTF8ToString(e.getLastOnigError()))}l(g1,"throwLastOnigError");class fi{static{l(this,"UtfString")}static _utf8ByteLength(t){let n=0;for(let r=0,i=t.length;r<i;r++){const s=t.charCodeAt(r);let o=s,a=!1;if(s>=55296&&s<=56319&&r+1<i){const u=t.charCodeAt(r+1);u>=56320&&u<=57343&&(o=(s-55296<<10)+65536|u-56320,a=!0)}o<=127?n+=1:o<=2047?n+=2:o<=65535?n+=3:n+=4,a&&r++}return n}utf16Length;utf8Length;utf16Value;utf8Value;utf16OffsetToUtf8;utf8OffsetToUtf16;constructor(t){const n=t.length,r=fi._utf8ByteLength(t),i=r!==n,s=i?new Uint32Array(n+1):null;i&&(s[n]=r);const o=i?new Uint32Array(r+1):null;i&&(o[r]=n);const a=new Uint8Array(r);let u=0;for(let c=0;c<n;c++){const p=t.charCodeAt(c);let f=p,h=!1;if(p>=55296&&p<=56319&&c+1<n){const d=t.charCodeAt(c+1);d>=56320&&d<=57343&&(f=(p-55296<<10)+65536|d-56320,h=!0)}i&&(s[c]=u,h&&(s[c+1]=u),f<=127?o[u+0]=c:f<=2047?(o[u+0]=c,o[u+1]=c):f<=65535?(o[u+0]=c,o[u+1]=c,o[u+2]=c):(o[u+0]=c,o[u+1]=c,o[u+2]=c,o[u+3]=c)),f<=127?a[u++]=f:f<=2047?(a[u++]=192|(f&1984)>>>6,a[u++]=128|(f&63)>>>0):f<=65535?(a[u++]=224|(f&61440)>>>12,a[u++]=128|(f&4032)>>>6,a[u++]=128|(f&63)>>>0):(a[u++]=240|(f&1835008)>>>18,a[u++]=128|(f&258048)>>>12,a[u++]=128|(f&4032)>>>6,a[u++]=128|(f&63)>>>0),h&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}class $e{static{l(this,"OnigString")}static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++$e.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(t){if(!ge)throw new we("Must invoke loadWasm first.");this._onigBinding=ge,this.content=t;const n=new fi(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!$e._sharedPtrInUse?($e._sharedPtr||($e._sharedPtr=ge.omalloc(1e4)),$e._sharedPtrInUse=!0,ge.HEAPU8.set(n.utf8Value,$e._sharedPtr),this.ptr=$e._sharedPtr):this.ptr=n.createString(ge)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===$e._sharedPtr?$e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class y1{static{l(this,"OnigScanner")}_onigBinding;_ptr;constructor(t){if(!ge)throw new we("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,u=t.length;a<u;a++){const c=new fi(t[a]);n[a]=c.createString(ge),r[a]=c.utf8Length}const i=ge.omalloc(4*t.length);ge.HEAPU32.set(n,i/4);const s=ge.omalloc(4*t.length);ge.HEAPU32.set(r,s/4);const o=ge.createOnigScanner(i,s,t.length);for(let a=0,u=t.length;a<u;a++)ge.ofree(n[a]);ge.ofree(s),ge.ofree(i),o===0&&g1(ge),this._onigBinding=ge,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let i=m1,s=0;if(typeof r=="number"?(r&8&&(i=!0),s=r):typeof r=="boolean"&&(i=r),typeof t=="string"){t=new $e(t);const o=this._findNextMatchSync(t,n,i,s);return t.dispose(),o}return this._findNextMatchSync(t,n,i,s)}_findNextMatchSync(t,n,r,i){const s=this._onigBinding;let o;if(r?o=s.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),i):o=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),i),o===0)return null;const a=s.HEAPU32;let u=o/4;const c=a[u++],p=a[u++],f=[];for(let h=0;h<p;h++){const d=t.convertUtf8OffsetToUtf16(a[u++]),m=t.convertUtf8OffsetToUtf16(a[u++]);f[h]={start:d,end:m,length:m-d}}return{index:c,captureIndices:f}}}function b1(e){return typeof e.instantiator=="function"}l(b1,"isInstantiatorOptionsObject");function w1(e){return typeof e.default=="function"}l(w1,"isInstantiatorModule");function k1(e){return typeof e.data<"u"}l(k1,"isDataOptionsObject");function v1(e){return typeof Response<"u"&&e instanceof Response}l(v1,"isResponse");function S1(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}l(S1,"isArrayBuffer");let jr;function x1(e){if(jr)return jr;async function t(){ge=await d1(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),b1(r)?r=await r.instantiator(n):w1(r)?r=await r.default(n):(k1(r)&&(r=r.data),v1(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await A1(r)(n):r=await C1(r)(n):S1(r)?r=await Ts(r)(n):r instanceof WebAssembly.Module?r=await Ts(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Ts(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return l(t,"_load"),jr=t(),jr}l(x1,"loadWasm");function Ts(e){return t=>WebAssembly.instantiate(e,t)}l(Ts,"_makeArrayBufferLoader");function A1(e){return t=>WebAssembly.instantiateStreaming(e,t)}l(A1,"_makeResponseStreamingLoader");function C1(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}l(C1,"_makeResponseNonStreamingLoader");function T1(e){return new $e(e)}l(T1,"createOnigString");function N1(e){return new y1(e)}l(N1,"createOnigScanner");const Cu={light:"#333333",dark:"#bbbbbb"},Tu={light:"#fffffe",dark:"#1e1e1e"},Nu="__shiki_resolved";function Eu(e){if(e?.[Nu])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(u=>!u.name&&!u.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Cu.light:Cu.dark),n||(n=t.type==="light"?Tu.light:Tu.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0;const s=new Map;function o(a){if(s.has(a))return s.get(a);i+=1;const u=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${u}`]?o(a):(s.set(a,u),u)}l(o,"getReplacementColor"),t.settings=t.settings.map(a=>{const u=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!u&&!c)return a;const p={...a,settings:{...a.settings}};if(u){const f=o(a.settings.foreground);t.colorReplacements[f]=a.settings.foreground,p.settings.foreground=f}if(c){const f=o(a.settings.background);t.colorReplacements[f]=a.settings.background,p.settings.background=f}return p});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const u=o(t.colors[a]);t.colorReplacements[u]=t.colors[a],t.colors[a]=u}return Object.defineProperty(t,Nu,{enumerable:!1,writable:!1,value:!0}),t}l(Eu,"normalizeTheme");class E1 extends P0{static{l(this,"Registry")}_resolver;_themes;_langs;_alias;_resolvedThemes={};_resolvedGrammars={};_langMap={};_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(t,n,r,i={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=i,n.forEach(s=>this.loadTheme(s)),r.forEach(s=>this.loadLanguage(s))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=Eu(t);return n.name&&(this._resolvedThemes[n.name]=n,this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=Ir.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new we(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars[t]}async loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set(Object.values(this._langMap).filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const i=await this.loadGrammarWithConfiguration(t.scopeName,1,r);if(this._resolvedGrammars[t.name]=i,t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)delete this._resolvedGrammars[s.name],this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),await this.loadLanguage(this._langMap[s.name])}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const i of t)this.resolveEmbeddedLanguages(i);const n=Array.from(this._langGraph.entries()),r=n.filter(([i,s])=>!s);if(r.length){const i=n.filter(([s,o])=>o&&o.embeddedLangs?.some(a=>r.map(([u])=>u).includes(a))).filter(s=>!r.includes(s));throw new we(`Missing languages ${r.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of n)this._resolver.addLanguage(s);for(const[i,s]of n)await this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}class _1{static{l(this,"Resolver")}_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLibPromise;constructor(t,n){this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let i=1;i<=n.length;i++){const s=n.slice(0,i).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let O1;async function L1(e={}){async function t(y){return Promise.resolve(typeof y=="function"?y():y).then(w=>w.default||w)}l(t,"normalizeGetter");async function n(y){return Array.from(new Set((await Promise.all(y.filter(w=>!Yl(w)).map(async w=>await t(w).then(b=>Array.isArray(b)?b:[b])))).flat()))}l(n,"resolveLangs");const r=e.loadWasm||O1,[i,s]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(y=>y.map(Eu)),n(e.langs||[]),r?x1(r):void 0]),o=new _1(Promise.resolve({createOnigScanner(y){return N1(y)},createOnigString(y){return T1(y)}}),s),a=new E1(o,i,s,e.langAlias);await a.init();let u;function c(y){const w=a.getGrammar(typeof y=="string"?y:y.name);if(!w)throw new we(`Language \`${y}\` not found, you may need to load it first`);return w}l(c,"getLanguage");function p(y){if(y==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const w=a.getTheme(y);if(!w)throw new we(`Theme \`${y}\` not found, you may need to load it first`);return w}l(p,"getTheme");function f(y){const w=p(y);u!==y&&(a.setTheme(w),u=y);const b=a.getColorMap();return{theme:w,colorMap:b}}l(f,"setTheme");function h(){return a.getLoadedThemes()}l(h,"getLoadedThemes");function d(){return a.getLoadedLanguages()}l(d,"getLoadedLanguages");async function m(...y){await a.loadLanguages(await n(y))}l(m,"loadLanguage");async function g(...y){await Promise.all(y.map(async w=>Ql(w)?null:a.loadTheme(await t(w))))}return l(g,"loadTheme"),{setTheme:f,getTheme:p,getLanguage:c,getLoadedThemes:h,getLoadedLanguages:d,loadLanguage:m,loadTheme:g}}l(L1,"getShikiInternal");async function I1(e={}){const t=await L1(e);return{codeToTokensBase:(n,r)=>gs(t,n,r),codeToTokensWithThemes:(n,r)=>ru(t,n,r),codeToTokens:(n,r)=>qr(t,n,r),codeToHast:(n,r)=>Mr(t,n,r),codeToHtml:(n,r)=>h1(t,n,r),...t,getInternalContext:()=>t}}l(I1,"getHighlighterCore");function D1(e,t,n){async function r(i){function s(p){if(typeof p=="string"){if(Yl(p))return[];const f=e[p];if(!f)throw new we(`Language \`${p}\` is not included in this bundle. You may want to load it from external source.`);return f}return p}l(s,"resolveLang");function o(p){if(Ql(p))return"none";if(typeof p=="string"){const f=t[p];if(!f)throw new we(`Theme \`${p}\` is not included in this bundle. You may want to load it from external source.`);return f}return p}l(o,"resolveTheme");const a=(i.themes??[]).map(p=>o(p)),u=(i.langs??[]).map(p=>s(p)),c=await I1({...i,themes:a,langs:u,loadWasm:n});return{...c,loadLanguage(...p){return c.loadLanguage(...p.map(s))},loadTheme(...p){return c.loadTheme(...p.map(o))}}}return l(r,"getHighlighter"),r}l(D1,"createdBundledHighlighter");const R1=D1(Nl,Xw,Jw);function P1(e){return"children"in e?_u(e):"value"in e?e.value:""}l(P1,"toString$2");function q1(e){return e.type==="text"?e.value:"children"in e?_u(e):""}l(q1,"one$2");function _u(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=q1(e.children[t]);return n.join("")}l(_u,"all$2");const dt=l(function(e){if(e==null)return B1;if(typeof e=="function")return zr(e);if(typeof e=="object")return Array.isArray(e)?F1(e):M1(e);if(typeof e=="string")return $1(e);throw new Error("Expected function, string, or object as test")},"convert");function F1(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=dt(e[n]);return zr(r);function r(...i){let s=-1;for(;++s<t.length;)if(t[s].apply(this,i))return!0;return!1}}l(F1,"anyFactory");function M1(e){const t=e;return zr(n);function n(r){const i=r;let s;for(s in e)if(i[s]!==t[s])return!1;return!0}}l(M1,"propsFactory");function $1(e){return zr(t);function t(n){return n&&n.type===e}}l($1,"typeFactory");function zr(e){return t;function t(n,r,i){return!!(j1(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}l(zr,"castFactory");function B1(){return!0}l(B1,"ok$1");function j1(e){return e!==null&&typeof e=="object"&&"type"in e}l(j1,"looksLikeANode");function KE(e){return e}l(KE,"color");const Ou=[],mt=!0,at=!1,Ur="skip";function Lu(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const s=dt(i),o=r?-1:1;a(e,void 0,[])();function a(u,c,p){const f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){const d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(u.type+(d?"<"+d+">":""))+")"})}return h;function h(){let d=Ou,m,g,y;if((!t||s(u,c,p[p.length-1]||void 0))&&(d=z1(n(u,p)),d[0]===at))return d;if("children"in u&&u.children){const w=u;if(w.children&&d[0]!==Ur)for(g=(r?w.children.length:-1)+o,y=p.concat(w);g>-1&&g<w.children.length;){const b=w.children[g];if(m=a(b,g,y)(),m[0]===at)return m;g=typeof m[1]=="number"?m[1]:g+o}}return d}}l(a,"factory")}l(Lu,"visitParents");function z1(e){return Array.isArray(e)?e:typeof e=="number"?[mt,e]:e==null?Ou:[e]}l(z1,"toResult");function de(e,t,n,r){let i,s,o;typeof t=="function"&&typeof n!="function"?(s=void 0,o=t,i=n):(s=t,o=n,i=r),Lu(e,s,a,i);function a(u,c){const p=c[c.length-1],f=p?p.children.indexOf(u):void 0;return o(u,f,p)}l(a,"overload")}l(de,"visit");const U1=l(function(e,t){const{addLanguageClass:n=!1,parseMetaString:r,cache:i,...s}=t,o="language-";return function(a){de(a,"element",(u,c,p)=>{if(!p||c==null||u.tagName!=="pre")return;const f=u.children[0];if(!f||f.type!=="element"||f.tagName!=="code"||!f.properties)return;const h=f.properties.className;if(!Array.isArray(h))return;const d=h.find(S=>typeof S=="string"&&S.startsWith(o));if(typeof d!="string")return;const m=P1(f),g=i?.get(m);if(g){p.children.splice(c,1,...g);return}const y=f.data?.meta??f.properties.metastring??"",w=r?.(y,u,a)||{},b={...s,lang:d.slice(o.length),meta:{...s.meta,...w,__raw:y}};n&&(b.transformers||(b.transformers=[]),b.transformers.push({name:"rehype-shiki:code-language-class",code(S){return this.addClassToHast(S,d),S}}));try{const S=e.codeToHast(m,b);i?.set(m,S.children),p.children.splice(c,1,...S.children)}catch(S){if(t.onError)t.onError(S);else throw S}})}},"rehypeShikiFromHighlighter"),H1=l(function(e={}){const t=("themes"in e?Object.values(e.themes):[e.theme]).filter(Boolean),n=e.langs||Object.keys(Nl),r=this;let i;return async function(s){return i||(i=R1({themes:t,langs:n}).then(a=>U1.call(r,a,e))),(await i)(s)}},"rehypeShiki"),V1=/^\[if[ \t\f\n\r]+[^\]]+]|<!\[endif]$/;function G1(e){return e.type==="comment"&&V1.test(e.value)}l(G1,"isConditionalComment");const W1={};function K1(e){const t=e||W1;return function(n){de(n,"comment",function(r,i,s){if(typeof i=="number"&&s&&(t.removeConditional||!G1(r)))return s.children.splice(i,1),i})}}l(K1,"rehypeRemoveComments");const Y1=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class jn{static{l(this,"Schema")}constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}jn.prototype.property={},jn.prototype.normal={},jn.prototype.space=null;function Iu(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new jn(n,r,t)}l(Iu,"merge");function Ns(e){return e.toLowerCase()}l(Ns,"normalize$1");class qe{static{l(this,"Info")}constructor(t,n){this.property=t,this.attribute=n}}qe.prototype.space=null,qe.prototype.boolean=!1,qe.prototype.booleanish=!1,qe.prototype.overloadedBoolean=!1,qe.prototype.number=!1,qe.prototype.commaSeparated=!1,qe.prototype.spaceSeparated=!1,qe.prototype.commaOrSpaceSeparated=!1,qe.prototype.mustUseProperty=!1,qe.prototype.defined=!1;let J1=0;const H=Et(),pe=Et(),Du=Et(),I=Et(),te=Et(),on=Et(),Oe=Et();function Et(){return 2**++J1}l(Et,"increment");var Es=Object.freeze({__proto__:null,boolean:H,booleanish:pe,commaOrSpaceSeparated:Oe,commaSeparated:on,number:I,overloadedBoolean:Du,spaceSeparated:te});const _s=Object.keys(Es);class Os extends qe{static{l(this,"DefinedInfo")}constructor(t,n,r,i){let s=-1;if(super(t,n),Ru(this,"space",i),typeof r=="number")for(;++s<_s.length;){const o=_s[s];Ru(this,_s[s],(r&Es[o])===Es[o])}}}Os.prototype.defined=!0;function Ru(e,t,n){n&&(e[t]=n)}l(Ru,"mark");const Q1={}.hasOwnProperty;function an(e){const t={},n={};let r;for(r in e.properties)if(Q1.call(e.properties,r)){const i=e.properties[r],s=new Os(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Ns(r)]=r,n[Ns(s.attribute)]=r}return new jn(t,n,e.space)}l(an,"create$1");const Pu=an({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),qu=an({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Fu(e,t){return t in e?e[t]:t}l(Fu,"caseSensitiveTransform");function Mu(e,t){return Fu(e,t.toLowerCase())}l(Mu,"caseInsensitiveTransform");const $u=an({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Mu,properties:{xmlns:null,xmlnsXLink:null}}),Bu=an({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:pe,ariaAutoComplete:null,ariaBusy:pe,ariaChecked:pe,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:te,ariaCurrent:null,ariaDescribedBy:te,ariaDetails:null,ariaDisabled:pe,ariaDropEffect:te,ariaErrorMessage:null,ariaExpanded:pe,ariaFlowTo:te,ariaGrabbed:pe,ariaHasPopup:null,ariaHidden:pe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:te,ariaLevel:I,ariaLive:null,ariaModal:pe,ariaMultiLine:pe,ariaMultiSelectable:pe,ariaOrientation:null,ariaOwns:te,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:pe,ariaReadOnly:pe,ariaRelevant:null,ariaRequired:pe,ariaRoleDescription:te,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:pe,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),X1=an({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Mu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:on,acceptCharset:te,accessKey:te,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:te,autoFocus:H,autoPlay:H,blocking:te,capture:null,charSet:null,checked:H,cite:null,className:te,cols:I,colSpan:null,content:null,contentEditable:pe,controls:H,controlsList:te,coords:I|on,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:Du,draggable:pe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:te,height:I,hidden:H,high:I,href:null,hrefLang:null,htmlFor:te,httpEquiv:te,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:te,itemRef:te,itemScope:H,itemType:te,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:H,optimum:I,pattern:null,ping:te,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:te,required:H,reversed:H,rows:I,rowSpan:I,sandbox:te,scope:null,scoped:H,seamless:H,selected:H,shadowRootClonable:H,shadowRootDelegatesFocus:H,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:pe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:pe,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:te,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:pe,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:I,security:null,unselectable:null}}),Z1=an({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Fu,properties:{about:Oe,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:te,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:on,g2:on,glyphName:on,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:Oe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:I,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:te,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Oe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Oe,rev:Oe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Oe,requiredFeatures:Oe,requiredFonts:Oe,requiredFormats:Oe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:Oe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Oe,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Oe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ev=/^data[-\w.:]+$/i,ju=/-[a-z]/g,tv=/[A-Z]/g;function nv(e,t){const n=Ns(t);let r=t,i=qe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ev.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(ju,iv);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!ju.test(s)){let o=s.replace(tv,rv);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Os}return new i(r,t)}l(nv,"find");function rv(e){return"-"+e.toLowerCase()}l(rv,"kebab");function iv(e){return e.charAt(1).toUpperCase()}l(iv,"camelcase");const sv=Iu([qu,Pu,$u,Bu,X1],"html"),zu=Iu([qu,Pu,$u,Bu,Z1],"svg"),Uu={}.hasOwnProperty;function ov(e,t){const n=t||{};function r(i,...s){let o=r.invalid;const a=r.handlers;if(i&&Uu.call(i,e)){const u=String(i[e]);o=Uu.call(a,u)?a[u]:r.unknown}if(o)return o.call(this,i,...s)}return l(r,"one"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}l(ov,"zwitch");const av=/["&'<>`]/g,lv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uv=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,cv=/[|\\{}()[\]^$+*?.]/g,Hu=new WeakMap;function fv(e,t){if(e=e.replace(t.subset?pv(t.subset):av,r),t.subset||t.escapeOnly)return e;return e.replace(lv,n).replace(uv,r);function n(i,s,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function r(i,s,o){return t.format(i.charCodeAt(0),o.charCodeAt(s+1),t)}}l(fv,"core");function pv(e){let t=Hu.get(e);return t||(t=hv(e),Hu.set(e,t)),t}l(pv,"charactersToExpressionCached");function hv(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(cv,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}l(hv,"charactersToExpression");const dv=/[\dA-Fa-f]/;function mv(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!dv.test(String.fromCharCode(t))?r:r+";"}l(mv,"toHexadecimal");const gv=/\d/;function yv(e,t,n){const r="&#"+String(e);return n&&t&&!gv.test(String.fromCharCode(t))?r:r+";"}l(yv,"toDecimal");const bv=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Ls={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"},wv=["cent","copy","divide","gt","lt","not","para","times"],Vu={}.hasOwnProperty,Is={};let Hr;for(Hr in Ls)Vu.call(Ls,Hr)&&(Is[Ls[Hr]]=Hr);const kv=/[^\dA-Za-z]/;function vv(e,t,n,r){const i=String.fromCharCode(e);if(Vu.call(Is,i)){const s=Is[i],o="&"+s;return n&&bv.includes(s)&&!wv.includes(s)&&(!r||t&&t!==61&&kv.test(String.fromCharCode(t)))?o:o+";"}return""}l(vv,"toNamed");function Sv(e,t,n){let r=mv(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=vv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const s=yv(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}l(Sv,"formatSmart");function ln(e,t){return fv(e,Object.assign({format:Sv},t))}l(ln,"stringifyEntities");const xv=/^>|^->|<!--|-->|--!>|<!-$/g,Av=[">"],Cv=["<",">"];function Tv(e,t,n,r){return r.settings.bogusComments?"<?"+ln(e.value,Object.assign({},r.settings.characterReferences,{subset:Av}))+">":"<!--"+e.value.replace(xv,i)+"-->";function i(s){return ln(s,Object.assign({},r.settings.characterReferences,{subset:Cv}))}}l(Tv,"comment");function Nv(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}l(Nv,"doctype");function Vr(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}l(Vr,"ccount");function Ev(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}l(Ev,"stringify$1");function _v(e){return e.join(" ").trim()}l(_v,"stringify");const Ov=/[ \t\n\f\r]/g;function Ds(e){return typeof e=="object"?e.type==="text"?Gu(e.value):!1:Gu(e)}l(Ds,"whitespace");function Gu(e){return e.replace(Ov,"")===""}l(Gu,"empty");const me=Ku(1),Wu=Ku(-1),Lv=[];function Ku(e){return t;function t(n,r,i){const s=n?n.children:Lv;let o=(r||0)+e,a=s[o];if(!i)for(;a&&Ds(a);)o+=e,a=s[o];return a}}l(Ku,"siblings");const Iv={}.hasOwnProperty;function Yu(e){return t;function t(n,r,i){return Iv.call(e,n.tagName)&&e[n.tagName](n,r,i)}}l(Yu,"omission");const Rs=Yu({body:Rv,caption:Ps,colgroup:Ps,dd:Mv,dt:Fv,head:Ps,html:Dv,li:qv,optgroup:$v,option:Bv,p:Pv,rp:Ju,rt:Ju,tbody:zv,td:Qu,tfoot:Uv,th:Qu,thead:jv,tr:Hv});function Ps(e,t,n){const r=me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ds(r.value.charAt(0)))}l(Ps,"headOrColgroupOrCaption");function Dv(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}l(Dv,"html$3");function Rv(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}l(Rv,"body$1");function Pv(e,t,n){const r=me(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}l(Pv,"p$1");function qv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="li"}l(qv,"li");function Fv(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}l(Fv,"dt");function Mv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}l(Mv,"dd");function Ju(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}l(Ju,"rubyElement");function $v(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}l($v,"optgroup");function Bv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}l(Bv,"option");function jv(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}l(jv,"thead");function zv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}l(zv,"tbody$1");function Uv(e,t,n){return!me(n,t)}l(Uv,"tfoot");function Hv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}l(Hv,"tr");function Qu(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}l(Qu,"cells");const Vv=Yu({body:Kv,colgroup:Yv,head:Wv,html:Gv,tbody:Jv});function Gv(e){const t=me(e,-1);return!t||t.type!=="comment"}l(Gv,"html$2");function Wv(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const i=t[r];if(i.type==="element"&&(i.tagName==="title"||i.tagName==="base")){if(n.includes(i.tagName))return!1;n.push(i.tagName)}}return t.length>0}l(Wv,"head");function Kv(e){const t=me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Ds(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}l(Kv,"body");function Yv(e,t,n){const r=Wu(n,t),i=me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Rs(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}l(Yv,"colgroup");function Jv(e,t,n){const r=Wu(n,t),i=me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Rs(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}l(Jv,"tbody");const Gr={name:[[`
|
|
261
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function a1(e,t,n,r){const i=r.schema,s=i.space==="svg"?!1:r.settings.omitOptionalTags;let o=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let u;i.space==="html"&&e.tagName==="svg"&&(r.schema=Su);const c=l1(r,e.properties),h=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,h&&(o=!1),(c||!s||!t1(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),o&&(i.space==="svg"||r.settings.closeSelfClosing)&&(u=c.charAt(c.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(h),!o&&(!s||!Is(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}l(a1,"element$1");function l1(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const s=u1(e,i,t[i]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}l(l1,"serializeAttributes$1");function u1(e,t,n){const r=kk(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let o=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const u=ln(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Gr.name[i][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Mk:$k)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?u:(e.settings.preferUnquoted&&(a=ln(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Gr.unquoted[i][s]}))),a!==n&&(e.settings.quoteSmart&&Cu(n,o)>Cu(n,e.alternative)&&(o=e.alternative),a=o+ln(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Gr.single:Gr.double)[i][s],attribute:!0}))+o),u+(a&&"="+a))}l(u1,"serializeAttribute$1");const c1=["<","&"];function Iu(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:ln(e.value,Object.assign({},r.settings.characterReferences,{subset:c1}))}l(Iu,"text$6");function f1(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Iu(e,t,n,r)}l(f1,"raw$1");function h1(e,t,n,r){return r.all(e)}l(h1,"root$3");const p1=Ak("type",{invalid:d1,unknown:m1,handlers:{comment:Fk,doctype:qk,element:a1,raw:f1,root:h1,text:Iu}});function d1(e){throw new Error("Expected node, not `"+e+"`")}l(d1,"invalid$1");function m1(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}l(m1,"unknown$1");const g1={},y1={},b1=[];function w1(e,t){const n=g1,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:k1,all:v1,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||pk,characterReferences:n.characterReferences||y1,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Su:xk,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}l(w1,"toHtml$1");function k1(e,t,n){return p1(e,t,n,this)}l(k1,"one$3");function v1(e){const t=[],n=e&&e.children||b1;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}l(v1,"all$3");function S1(e,t,n){const r={meta:{},options:n,codeToHast:(s,o)=>Hr(e,s,o),codeToTokens:(s,o)=>zr(e,s,o)};let i=w1(Hr(e,t,n,r));for(const s of Ur(n))i=s.postprocess?.call(r,i,n)||i;return i}l(S1,"codeToHtml");async function x1(e){let t,n;const r={};function i(p){n=p,r.HEAPU8=new Uint8Array(p),r.HEAPU32=new Uint32Array(p)}l(i,"updateGlobalBufferAndViews");function s(){return typeof performance<"u"?performance.now():Date.now()}l(s,"_emscripten_get_now");function o(p,d,m){r.HEAPU8.copyWithin(p,d,d+m)}l(o,"_emscripten_memcpy_big");function a(){return 2147483648}l(a,"getHeapMax");function u(p){try{return t.grow(p-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}l(u,"emscripten_realloc_buffer");function c(p){const d=r.HEAPU8.length;p=p>>>0;const m=a();if(p>m)return!1;const g=l((y,b)=>y+(b-y%b)%b,"alignUp");for(let y=1;y<=4;y*=2){let b=d*(1+.2/y);b=Math.min(b,p+100663296);const w=Math.min(m,g(Math.max(p,b),65536));if(u(w))return!0}return!1}l(c,"_emscripten_resize_heap");const h={emscripten_get_now:s,emscripten_memcpy_big:o,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const d=await e({env:h,wasi_snapshot_preview1:h});t=d.memory,i(t.buffer),Object.assign(r,d)}return l(f,"createWasm"),await f(),r}l(x1,"main");let ge=null,A1=!1;function C1(e){throw new ke(e.UTF8ToString(e.getLastOnigError()))}l(C1,"throwLastOnigError");class bi{static{l(this,"UtfString")}static _utf8ByteLength(t){let n=0;for(let r=0,i=t.length;r<i;r++){const s=t.charCodeAt(r);let o=s,a=!1;if(s>=55296&&s<=56319&&r+1<i){const u=t.charCodeAt(r+1);u>=56320&&u<=57343&&(o=(s-55296<<10)+65536|u-56320,a=!0)}o<=127?n+=1:o<=2047?n+=2:o<=65535?n+=3:n+=4,a&&r++}return n}utf16Length;utf8Length;utf16Value;utf8Value;utf16OffsetToUtf8;utf8OffsetToUtf16;constructor(t){const n=t.length,r=bi._utf8ByteLength(t),i=r!==n,s=i?new Uint32Array(n+1):null;i&&(s[n]=r);const o=i?new Uint32Array(r+1):null;i&&(o[r]=n);const a=new Uint8Array(r);let u=0;for(let c=0;c<n;c++){const h=t.charCodeAt(c);let f=h,p=!1;if(h>=55296&&h<=56319&&c+1<n){const d=t.charCodeAt(c+1);d>=56320&&d<=57343&&(f=(h-55296<<10)+65536|d-56320,p=!0)}i&&(s[c]=u,p&&(s[c+1]=u),f<=127?o[u+0]=c:f<=2047?(o[u+0]=c,o[u+1]=c):f<=65535?(o[u+0]=c,o[u+1]=c,o[u+2]=c):(o[u+0]=c,o[u+1]=c,o[u+2]=c,o[u+3]=c)),f<=127?a[u++]=f:f<=2047?(a[u++]=192|(f&1984)>>>6,a[u++]=128|(f&63)>>>0):f<=65535?(a[u++]=224|(f&61440)>>>12,a[u++]=128|(f&4032)>>>6,a[u++]=128|(f&63)>>>0):(a[u++]=240|(f&1835008)>>>18,a[u++]=128|(f&258048)>>>12,a[u++]=128|(f&4032)>>>6,a[u++]=128|(f&63)>>>0),p&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}class Be{static{l(this,"OnigString")}static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++Be.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(t){if(!ge)throw new ke("Must invoke loadWasm first.");this._onigBinding=ge,this.content=t;const n=new bi(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Be._sharedPtrInUse?(Be._sharedPtr||(Be._sharedPtr=ge.omalloc(1e4)),Be._sharedPtrInUse=!0,ge.HEAPU8.set(n.utf8Value,Be._sharedPtr),this.ptr=Be._sharedPtr):this.ptr=n.createString(ge)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Be._sharedPtr?Be._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class T1{static{l(this,"OnigScanner")}_onigBinding;_ptr;constructor(t){if(!ge)throw new ke("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,u=t.length;a<u;a++){const c=new bi(t[a]);n[a]=c.createString(ge),r[a]=c.utf8Length}const i=ge.omalloc(4*t.length);ge.HEAPU32.set(n,i/4);const s=ge.omalloc(4*t.length);ge.HEAPU32.set(r,s/4);const o=ge.createOnigScanner(i,s,t.length);for(let a=0,u=t.length;a<u;a++)ge.ofree(n[a]);ge.ofree(s),ge.ofree(i),o===0&&C1(ge),this._onigBinding=ge,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let i=A1,s=0;if(typeof r=="number"?(r&8&&(i=!0),s=r):typeof r=="boolean"&&(i=r),typeof t=="string"){t=new Be(t);const o=this._findNextMatchSync(t,n,i,s);return t.dispose(),o}return this._findNextMatchSync(t,n,i,s)}_findNextMatchSync(t,n,r,i){const s=this._onigBinding;let o;if(r?o=s.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),i):o=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),i),o===0)return null;const a=s.HEAPU32;let u=o/4;const c=a[u++],h=a[u++],f=[];for(let p=0;p<h;p++){const d=t.convertUtf8OffsetToUtf16(a[u++]),m=t.convertUtf8OffsetToUtf16(a[u++]);f[p]={start:d,end:m,length:m-d}}return{index:c,captureIndices:f}}}function N1(e){return typeof e.instantiator=="function"}l(N1,"isInstantiatorOptionsObject");function E1(e){return typeof e.default=="function"}l(E1,"isInstantiatorModule");function _1(e){return typeof e.data<"u"}l(_1,"isDataOptionsObject");function O1(e){return typeof Response<"u"&&e instanceof Response}l(O1,"isResponse");function L1(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}l(L1,"isArrayBuffer");let Wr;function I1(e){if(Wr)return Wr;async function t(){ge=await x1(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),N1(r)?r=await r.instantiator(n):E1(r)?r=await r.default(n):(_1(r)&&(r=r.data),O1(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await D1(r)(n):r=await R1(r)(n):L1(r)?r=await Rs(r)(n):r instanceof WebAssembly.Module?r=await Rs(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Rs(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return l(t,"_load"),Wr=t(),Wr}l(I1,"loadWasm");function Rs(e){return t=>WebAssembly.instantiate(e,t)}l(Rs,"_makeArrayBufferLoader");function D1(e){return t=>WebAssembly.instantiateStreaming(e,t)}l(D1,"_makeResponseStreamingLoader");function R1(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}l(R1,"_makeResponseNonStreamingLoader");function P1(e){return new Be(e)}l(P1,"createOnigString");function F1(e){return new T1(e)}l(F1,"createOnigScanner");const Du={light:"#333333",dark:"#bbbbbb"},Ru={light:"#fffffe",dark:"#1e1e1e"},Pu="__shiki_resolved";function Fu(e){if(e?.[Pu])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(u=>!u.name&&!u.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Du.light:Du.dark),n||(n=t.type==="light"?Ru.light:Ru.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0;const s=new Map;function o(a){if(s.has(a))return s.get(a);i+=1;const u=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${u}`]?o(a):(s.set(a,u),u)}l(o,"getReplacementColor"),t.settings=t.settings.map(a=>{const u=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!u&&!c)return a;const h={...a,settings:{...a.settings}};if(u){const f=o(a.settings.foreground);t.colorReplacements[f]=a.settings.foreground,h.settings.foreground=f}if(c){const f=o(a.settings.background);t.colorReplacements[f]=a.settings.background,h.settings.background=f}return h});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const u=o(t.colors[a]);t.colorReplacements[u]=t.colors[a],t.colors[a]=u}return Object.defineProperty(t,Pu,{enumerable:!1,writable:!1,value:!0}),t}l(Fu,"normalizeTheme");class q1 extends H0{static{l(this,"Registry")}_resolver;_themes;_langs;_alias;_resolvedThemes={};_resolvedGrammars={};_langMap={};_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(t,n,r,i={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=i,n.forEach(s=>this.loadTheme(s)),r.forEach(s=>this.loadLanguage(s))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=Fu(t);return n.name&&(this._resolvedThemes[n.name]=n,this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=Mr.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new ke(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars[t]}async loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set(Object.values(this._langMap).filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const i=await this.loadGrammarWithConfiguration(t.scopeName,1,r);if(this._resolvedGrammars[t.name]=i,t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)delete this._resolvedGrammars[s.name],this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),await this.loadLanguage(this._langMap[s.name])}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const i of t)this.resolveEmbeddedLanguages(i);const n=Array.from(this._langGraph.entries()),r=n.filter(([i,s])=>!s);if(r.length){const i=n.filter(([s,o])=>o&&o.embeddedLangs?.some(a=>r.map(([u])=>u).includes(a))).filter(s=>!r.includes(s));throw new ke(`Missing languages ${r.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of n)this._resolver.addLanguage(s);for(const[i,s]of n)await this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}class M1{static{l(this,"Resolver")}_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLibPromise;constructor(t,n){this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let i=1;i<=n.length;i++){const s=n.slice(0,i).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let $1;async function B1(e={}){async function t(y){return Promise.resolve(typeof y=="function"?y():y).then(b=>b.default||b)}l(t,"normalizeGetter");async function n(y){return Array.from(new Set((await Promise.all(y.filter(b=>!ru(b)).map(async b=>await t(b).then(w=>Array.isArray(w)?w:[w])))).flat()))}l(n,"resolveLangs");const r=e.loadWasm||$1,[i,s]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(y=>y.map(Fu)),n(e.langs||[]),r?I1(r):void 0]),o=new M1(Promise.resolve({createOnigScanner(y){return F1(y)},createOnigString(y){return P1(y)}}),s),a=new q1(o,i,s,e.langAlias);await a.init();let u;function c(y){const b=a.getGrammar(typeof y=="string"?y:y.name);if(!b)throw new ke(`Language \`${y}\` not found, you may need to load it first`);return b}l(c,"getLanguage");function h(y){if(y==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const b=a.getTheme(y);if(!b)throw new ke(`Theme \`${y}\` not found, you may need to load it first`);return b}l(h,"getTheme");function f(y){const b=h(y);u!==y&&(a.setTheme(b),u=y);const w=a.getColorMap();return{theme:b,colorMap:w}}l(f,"setTheme");function p(){return a.getLoadedThemes()}l(p,"getLoadedThemes");function d(){return a.getLoadedLanguages()}l(d,"getLoadedLanguages");async function m(...y){await a.loadLanguages(await n(y))}l(m,"loadLanguage");async function g(...y){await Promise.all(y.map(async b=>su(b)?null:a.loadTheme(await t(b))))}return l(g,"loadTheme"),{setTheme:f,getTheme:h,getLanguage:c,getLoadedThemes:p,getLoadedLanguages:d,loadLanguage:m,loadTheme:g}}l(B1,"getShikiInternal");async function j1(e={}){const t=await B1(e);return{codeToTokensBase:(n,r)=>As(t,n,r),codeToTokensWithThemes:(n,r)=>fu(t,n,r),codeToTokens:(n,r)=>zr(t,n,r),codeToHast:(n,r)=>Hr(t,n,r),codeToHtml:(n,r)=>S1(t,n,r),...t,getInternalContext:()=>t}}l(j1,"getHighlighterCore");function z1(e,t,n){async function r(i){function s(h){if(typeof h=="string"){if(ru(h))return[];const f=e[h];if(!f)throw new ke(`Language \`${h}\` is not included in this bundle. You may want to load it from external source.`);return f}return h}l(s,"resolveLang");function o(h){if(su(h))return"none";if(typeof h=="string"){const f=t[h];if(!f)throw new ke(`Theme \`${h}\` is not included in this bundle. You may want to load it from external source.`);return f}return h}l(o,"resolveTheme");const a=(i.themes??[]).map(h=>o(h)),u=(i.langs??[]).map(h=>s(h)),c=await j1({...i,themes:a,langs:u,loadWasm:n});return{...c,loadLanguage(...h){return c.loadLanguage(...h.map(s))},loadTheme(...h){return c.loadTheme(...h.map(o))}}}return l(r,"getHighlighter"),r}l(z1,"createdBundledHighlighter");const U1=z1(Pl,a0,s0);function H1(e){return"children"in e?qu(e):"value"in e?e.value:""}l(H1,"toString$2");function V1(e){return e.type==="text"?e.value:"children"in e?qu(e):""}l(V1,"one$2");function qu(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=V1(e.children[t]);return n.join("")}l(qu,"all$2");const pt=l(function(e){if(e==null)return Y1;if(typeof e=="function")return Kr(e);if(typeof e=="object")return Array.isArray(e)?G1(e):W1(e);if(typeof e=="string")return K1(e);throw new Error("Expected function, string, or object as test")},"convert");function G1(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=pt(e[n]);return Kr(r);function r(...i){let s=-1;for(;++s<t.length;)if(t[s].apply(this,i))return!0;return!1}}l(G1,"anyFactory");function W1(e){const t=e;return Kr(n);function n(r){const i=r;let s;for(s in e)if(i[s]!==t[s])return!1;return!0}}l(W1,"propsFactory");function K1(e){return Kr(t);function t(n){return n&&n.type===e}}l(K1,"typeFactory");function Kr(e){return t;function t(n,r,i){return!!(J1(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}l(Kr,"castFactory");function Y1(){return!0}l(Y1,"ok$1");function J1(e){return e!==null&&typeof e=="object"&&"type"in e}l(J1,"looksLikeANode");function w_(e){return e}l(w_,"color");const Mu=[],dt=!0,ot=!1,Yr="skip";function $u(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const s=pt(i),o=r?-1:1;a(e,void 0,[])();function a(u,c,h){const f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){const d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(u.type+(d?"<"+d+">":""))+")"})}return p;function p(){let d=Mu,m,g,y;if((!t||s(u,c,h[h.length-1]||void 0))&&(d=Q1(n(u,h)),d[0]===ot))return d;if("children"in u&&u.children){const b=u;if(b.children&&d[0]!==Yr)for(g=(r?b.children.length:-1)+o,y=h.concat(b);g>-1&&g<b.children.length;){const w=b.children[g];if(m=a(w,g,y)(),m[0]===ot)return m;g=typeof m[1]=="number"?m[1]:g+o}}return d}}l(a,"factory")}l($u,"visitParents");function Q1(e){return Array.isArray(e)?e:typeof e=="number"?[dt,e]:e==null?Mu:[e]}l(Q1,"toResult");function de(e,t,n,r){let i,s,o;typeof t=="function"&&typeof n!="function"?(s=void 0,o=t,i=n):(s=t,o=n,i=r),$u(e,s,a,i);function a(u,c){const h=c[c.length-1],f=h?h.children.indexOf(u):void 0;return o(u,f,h)}l(a,"overload")}l(de,"visit");const Ps="language-";function X1(e,t){const n=e.getLoadedLanguages(),{addLanguageClass:r=!1,parseMetaString:i,cache:s,defaultLanguage:o,fallbackLanguage:a,onError:u,...c}=t;return function(h){de(h,"element",(f,p,d)=>{if(!d||p==null||f.tagName!=="pre")return;const m=f.children[0];if(!m||m.type!=="element"||m.tagName!=="code"||!m.properties)return;const g=m.properties.className,y=Array.isArray(g)?g.find(E=>typeof E=="string"&&E.startsWith(Ps)):void 0;let b=typeof y=="string"?y.slice(Ps.length):o;if(!b)return;a&&!n.includes(b)&&(b=a);const w=H1(m),A=s?.get(w);if(A){d.children.splice(p,1,...A);return}const N=m.data?.meta??m.properties.metastring??"",T=i?.(N,f,h)||{},x={...c,lang:b,meta:{...c.meta,...T,__raw:N}};r&&(x.transformers||(x.transformers=[]),x.transformers.push({name:"rehype-shiki:code-language-class",code(E){return this.addClassToHast(E,`${Ps}${b}`),E}}));try{const E=e.codeToHast(w,x);s?.set(w,E.children),d.children.splice(p,1,...E.children)}catch(E){if(u)u(E);else throw E}})}}l(X1,"rehypeShikiFromHighlighter");const Z1=l(function(e={}){const t=("themes"in e?Object.values(e.themes):[e.theme]).filter(Boolean),n=e.langs||Object.keys(Pl);let r;return async i=>(r||(r=U1({themes:t,langs:n}).then(o=>X1.call(this,o,e))),(await r)(i))},"rehypeShiki"),ev=/^\[if[ \t\f\n\r]+[^\]]+]|<!\[endif]$/;function tv(e){return e.type==="comment"&&ev.test(e.value)}l(tv,"isConditionalComment");const nv={};function rv(e){const t=e||nv;return function(n){de(n,"comment",function(r,i,s){if(typeof i=="number"&&s&&(t.removeConditional||!tv(r)))return s.children.splice(i,1),i})}}l(rv,"rehypeRemoveComments");const iv=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Vn{static{l(this,"Schema")}constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Vn.prototype.property={},Vn.prototype.normal={},Vn.prototype.space=null;function Bu(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new Vn(n,r,t)}l(Bu,"merge");function Fs(e){return e.toLowerCase()}l(Fs,"normalize$1");class qe{static{l(this,"Info")}constructor(t,n){this.property=t,this.attribute=n}}qe.prototype.space=null,qe.prototype.boolean=!1,qe.prototype.booleanish=!1,qe.prototype.overloadedBoolean=!1,qe.prototype.number=!1,qe.prototype.commaSeparated=!1,qe.prototype.spaceSeparated=!1,qe.prototype.commaOrSpaceSeparated=!1,qe.prototype.mustUseProperty=!1,qe.prototype.defined=!1;let sv=0;const H=_t(),he=_t(),ju=_t(),R=_t(),te=_t(),un=_t(),Le=_t();function _t(){return 2**++sv}l(_t,"increment");var qs=Object.freeze({__proto__:null,boolean:H,booleanish:he,commaOrSpaceSeparated:Le,commaSeparated:un,number:R,overloadedBoolean:ju,spaceSeparated:te});const Ms=Object.keys(qs);class $s extends qe{static{l(this,"DefinedInfo")}constructor(t,n,r,i){let s=-1;if(super(t,n),zu(this,"space",i),typeof r=="number")for(;++s<Ms.length;){const o=Ms[s];zu(this,Ms[s],(r&qs[o])===qs[o])}}}$s.prototype.defined=!0;function zu(e,t,n){n&&(e[t]=n)}l(zu,"mark");const ov={}.hasOwnProperty;function cn(e){const t={},n={};let r;for(r in e.properties)if(ov.call(e.properties,r)){const i=e.properties[r],s=new $s(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Fs(r)]=r,n[Fs(s.attribute)]=r}return new Vn(t,n,e.space)}l(cn,"create$1");const Uu=cn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Hu=cn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Vu(e,t){return t in e?e[t]:t}l(Vu,"caseSensitiveTransform");function Gu(e,t){return Vu(e,t.toLowerCase())}l(Gu,"caseInsensitiveTransform");const Wu=cn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Gu,properties:{xmlns:null,xmlnsXLink:null}}),Ku=cn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:he,ariaAutoComplete:null,ariaBusy:he,ariaChecked:he,ariaColCount:R,ariaColIndex:R,ariaColSpan:R,ariaControls:te,ariaCurrent:null,ariaDescribedBy:te,ariaDetails:null,ariaDisabled:he,ariaDropEffect:te,ariaErrorMessage:null,ariaExpanded:he,ariaFlowTo:te,ariaGrabbed:he,ariaHasPopup:null,ariaHidden:he,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:te,ariaLevel:R,ariaLive:null,ariaModal:he,ariaMultiLine:he,ariaMultiSelectable:he,ariaOrientation:null,ariaOwns:te,ariaPlaceholder:null,ariaPosInSet:R,ariaPressed:he,ariaReadOnly:he,ariaRelevant:null,ariaRequired:he,ariaRoleDescription:te,ariaRowCount:R,ariaRowIndex:R,ariaRowSpan:R,ariaSelected:he,ariaSetSize:R,ariaSort:null,ariaValueMax:R,ariaValueMin:R,ariaValueNow:R,ariaValueText:null,role:null}}),av=cn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Gu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:un,acceptCharset:te,accessKey:te,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:te,autoFocus:H,autoPlay:H,blocking:te,capture:null,charSet:null,checked:H,cite:null,className:te,cols:R,colSpan:null,content:null,contentEditable:he,controls:H,controlsList:te,coords:R|un,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:ju,draggable:he,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:te,height:R,hidden:H,high:R,href:null,hrefLang:null,htmlFor:te,httpEquiv:te,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:te,itemRef:te,itemScope:H,itemType:te,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:H,optimum:R,pattern:null,ping:te,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:te,required:H,reversed:H,rows:R,rowSpan:R,sandbox:te,scope:null,scoped:H,seamless:H,selected:H,shadowRootClonable:H,shadowRootDelegatesFocus:H,shadowRootMode:null,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:he,src:null,srcDoc:null,srcLang:null,srcSet:null,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:he,width:R,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:te,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:he,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:R,security:null,unselectable:null}}),lv=cn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Vu,properties:{about:Le,accentHeight:R,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:R,amplitude:R,arabicForm:null,ascent:R,attributeName:null,attributeType:null,azimuth:R,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:R,by:null,calcMode:null,capHeight:R,className:te,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:R,diffuseConstant:R,direction:null,display:null,dur:null,divisor:R,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:R,enableBackground:null,end:null,event:null,exponent:R,externalResourcesRequired:null,fill:null,fillOpacity:R,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:un,g2:un,glyphName:un,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:R,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:R,horizOriginX:R,horizOriginY:R,id:null,ideographic:R,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:R,k:R,k1:R,k2:R,k3:R,k4:R,kernelMatrix:Le,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:R,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:R,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:R,overlineThickness:R,paintOrder:null,panose1:null,path:null,pathLength:R,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:te,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:R,pointsAtY:R,pointsAtZ:R,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Le,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Le,rev:Le,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Le,requiredFeatures:Le,requiredFonts:Le,requiredFormats:Le,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:R,specularExponent:R,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:R,strikethroughThickness:R,string:null,stroke:null,strokeDashArray:Le,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:R,strokeOpacity:R,strokeWidth:null,style:null,surfaceScale:R,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Le,tabIndex:R,tableValues:null,target:null,targetX:R,targetY:R,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Le,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:R,underlineThickness:R,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:R,values:null,vAlphabetic:R,vMathematical:R,vectorEffect:null,vHanging:R,vIdeographic:R,version:null,vertAdvY:R,vertOriginX:R,vertOriginY:R,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:R,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),uv=/^data[-\w.:]+$/i,Yu=/-[a-z]/g,cv=/[A-Z]/g;function fv(e,t){const n=Fs(t);let r=t,i=qe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&uv.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(Yu,pv);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!Yu.test(s)){let o=s.replace(cv,hv);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=$s}return new i(r,t)}l(fv,"find");function hv(e){return"-"+e.toLowerCase()}l(hv,"kebab");function pv(e){return e.charAt(1).toUpperCase()}l(pv,"camelcase");const dv=Bu([Hu,Uu,Wu,Ku,av],"html"),Ju=Bu([Hu,Uu,Wu,Ku,lv],"svg"),Qu={}.hasOwnProperty;function mv(e,t){const n=t||{};function r(i,...s){let o=r.invalid;const a=r.handlers;if(i&&Qu.call(i,e)){const u=String(i[e]);o=Qu.call(a,u)?a[u]:r.unknown}if(o)return o.call(this,i,...s)}return l(r,"one"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}l(mv,"zwitch");const gv=/["&'<>`]/g,yv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bv=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,wv=/[|\\{}()[\]^$+*?.]/g,Xu=new WeakMap;function kv(e,t){if(e=e.replace(t.subset?vv(t.subset):gv,r),t.subset||t.escapeOnly)return e;return e.replace(yv,n).replace(bv,r);function n(i,s,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function r(i,s,o){return t.format(i.charCodeAt(0),o.charCodeAt(s+1),t)}}l(kv,"core");function vv(e){let t=Xu.get(e);return t||(t=Sv(e),Xu.set(e,t)),t}l(vv,"charactersToExpressionCached");function Sv(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(wv,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}l(Sv,"charactersToExpression");const xv=/[\dA-Fa-f]/;function Av(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!xv.test(String.fromCharCode(t))?r:r+";"}l(Av,"toHexadecimal");const Cv=/\d/;function Tv(e,t,n){const r="&#"+String(e);return n&&t&&!Cv.test(String.fromCharCode(t))?r:r+";"}l(Tv,"toDecimal");const Nv=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Bs={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"},Ev=["cent","copy","divide","gt","lt","not","para","times"],Zu={}.hasOwnProperty,js={};let Jr;for(Jr in Bs)Zu.call(Bs,Jr)&&(js[Bs[Jr]]=Jr);const _v=/[^\dA-Za-z]/;function Ov(e,t,n,r){const i=String.fromCharCode(e);if(Zu.call(js,i)){const s=js[i],o="&"+s;return n&&Nv.includes(s)&&!Ev.includes(s)&&(!r||t&&t!==61&&_v.test(String.fromCharCode(t)))?o:o+";"}return""}l(Ov,"toNamed");function Lv(e,t,n){let r=Av(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Ov(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const s=Tv(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}l(Lv,"formatSmart");function fn(e,t){return kv(e,Object.assign({format:Lv},t))}l(fn,"stringifyEntities");const Iv=/^>|^->|<!--|-->|--!>|<!-$/g,Dv=[">"],Rv=["<",">"];function Pv(e,t,n,r){return r.settings.bogusComments?"<?"+fn(e.value,Object.assign({},r.settings.characterReferences,{subset:Dv}))+">":"<!--"+e.value.replace(Iv,i)+"-->";function i(s){return fn(s,Object.assign({},r.settings.characterReferences,{subset:Rv}))}}l(Pv,"comment");function Fv(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}l(Fv,"doctype");function Qr(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}l(Qr,"ccount");function qv(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}l(qv,"stringify$1");function Mv(e){return e.join(" ").trim()}l(Mv,"stringify");const $v=/[ \t\n\f\r]/g;function zs(e){return typeof e=="object"?e.type==="text"?ec(e.value):!1:ec(e)}l(zs,"whitespace");function ec(e){return e.replace($v,"")===""}l(ec,"empty");const me=nc(1),tc=nc(-1),Bv=[];function nc(e){return t;function t(n,r,i){const s=n?n.children:Bv;let o=(r||0)+e,a=s[o];if(!i)for(;a&&zs(a);)o+=e,a=s[o];return a}}l(nc,"siblings");const jv={}.hasOwnProperty;function rc(e){return t;function t(n,r,i){return jv.call(e,n.tagName)&&e[n.tagName](n,r,i)}}l(rc,"omission");const Us=rc({body:Uv,caption:Hs,colgroup:Hs,dd:Wv,dt:Gv,head:Hs,html:zv,li:Vv,optgroup:Kv,option:Yv,p:Hv,rp:ic,rt:ic,tbody:Qv,td:sc,tfoot:Xv,th:sc,thead:Jv,tr:Zv});function Hs(e,t,n){const r=me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&zs(r.value.charAt(0)))}l(Hs,"headOrColgroupOrCaption");function zv(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}l(zv,"html$3");function Uv(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}l(Uv,"body$1");function Hv(e,t,n){const r=me(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}l(Hv,"p$1");function Vv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="li"}l(Vv,"li");function Gv(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}l(Gv,"dt");function Wv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}l(Wv,"dd");function ic(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}l(ic,"rubyElement");function Kv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}l(Kv,"optgroup");function Yv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}l(Yv,"option");function Jv(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}l(Jv,"thead");function Qv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}l(Qv,"tbody$1");function Xv(e,t,n){return!me(n,t)}l(Xv,"tfoot");function Zv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}l(Zv,"tr");function sc(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}l(sc,"cells");const eS=rc({body:rS,colgroup:iS,head:nS,html:tS,tbody:sS});function tS(e){const t=me(e,-1);return!t||t.type!=="comment"}l(tS,"html$2");function nS(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const i=t[r];if(i.type==="element"&&(i.tagName==="title"||i.tagName==="base")){if(n.includes(i.tagName))return!1;n.push(i.tagName)}}return t.length>0}l(nS,"head");function rS(e){const t=me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&zs(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}l(rS,"body");function iS(e,t,n){const r=tc(n,t),i=me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Us(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}l(iS,"colgroup");function sS(e,t,n){const r=tc(n,t),i=me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Us(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}l(sS,"tbody");const Xr={name:[[`
|
|
261
262
|
\f\r &/=>`.split(""),`
|
|
262
263
|
\f\r "&'/=>\``.split("")],[`\0
|
|
263
264
|
\f\r "&'/<=>`.split(""),`\0
|
|
@@ -265,39 +266,39 @@ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.pus
|
|
|
265
266
|
\f\r &>`.split(""),`\0
|
|
266
267
|
\f\r "&'<=>\``.split("")],[`\0
|
|
267
268
|
\f\r "&'<=>\``.split(""),`\0
|
|
268
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function
|
|
269
|
-
`}]}l(
|
|
270
|
-
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}l(
|
|
271
|
-
`}),
|
|
272
|
-
`});const c={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,c),e.applyData(t,c)}l(
|
|
269
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function oS(e,t,n,r){const i=r.schema,s=i.space==="svg"?!1:r.settings.omitOptionalTags;let o=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let u;i.space==="html"&&e.tagName==="svg"&&(r.schema=Ju);const c=aS(r,e.properties),h=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,h&&(o=!1),(c||!s||!eS(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),o&&(i.space==="svg"||r.settings.closeSelfClosing)&&(u=c.charAt(c.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(h),!o&&(!s||!Us(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}l(oS,"element");function aS(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const s=lS(e,i,t[i]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}l(aS,"serializeAttributes");function lS(e,t,n){const r=fv(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let o=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const u=fn(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Xr.name[i][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?qv:Mv)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?u:(e.settings.preferUnquoted&&(a=fn(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Xr.unquoted[i][s]}))),a!==n&&(e.settings.quoteSmart&&Qr(n,o)>Qr(n,e.alternative)&&(o=e.alternative),a=o+fn(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Xr.single:Xr.double)[i][s],attribute:!0}))+o),u+(a&&"="+a))}l(lS,"serializeAttribute");const uS=["<","&"];function oc(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:fn(e.value,Object.assign({},r.settings.characterReferences,{subset:uS}))}l(oc,"text$5");function cS(e,t,n,r){return r.settings.allowDangerousHtml?e.value:oc(e,t,n,r)}l(cS,"raw");function fS(e,t,n,r){return r.all(e)}l(fS,"root$2");const hS=mv("type",{invalid:pS,unknown:dS,handlers:{comment:Pv,doctype:Fv,element:oS,raw:cS,root:fS,text:oc}});function pS(e){throw new Error("Expected node, not `"+e+"`")}l(pS,"invalid");function dS(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}l(dS,"unknown");const mS={},gS={},yS=[];function bS(e,t){const n=t||mS,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:wS,all:kS,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||iv,characterReferences:n.characterReferences||gS,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Ju:dv,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}l(bS,"toHtml");function wS(e,t,n){return hS(e,t,n,this)}l(wS,"one$1");function kS(e){const t=[],n=e&&e.children||yS;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}l(kS,"all$1");function vS(e){const t=this,n={...t.data("settings"),...e};t.compiler=r;function r(i){return bS(i,n)}l(r,"compiler")}l(vS,"rehypeStringify");function SS(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}l(SS,"blockquote$1");function xS(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
270
|
+
`}]}l(xS,"hardBreak$1");function AS(e,t){const n=t.value?t.value+`
|
|
271
|
+
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}l(AS,"code$2");function CS(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(CS,"strikethrough");function TS(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(TS,"emphasis$1");const xe=mt(/[A-Za-z]/),ve=mt(/[\dA-Za-z]/),NS=mt(/[#-'*+\--9=?A-Z^-~]/);function Zr(e){return e!==null&&(e<32||e===127)}l(Zr,"asciiControl");const Vs=mt(/\d/),ES=mt(/[\dA-Fa-f]/),_S=mt(/[!-/:-@[-`{-~]/);function B(e){return e!==null&&e<-2}l(B,"markdownLineEnding");function Z(e){return e!==null&&(e<0||e===32)}l(Z,"markdownLineEndingOrSpace");function W(e){return e===-2||e===-1||e===32}l(W,"markdownSpace");const ei=mt(/\p{P}|\p{S}/u),Ot=mt(/\s/);function mt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}l(mt,"regexCheck");function hn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";if(s===37&&ve(e.charCodeAt(n+1))&&ve(e.charCodeAt(n+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const a=e.charCodeAt(n+1);s<56320&&a>56319&&a<57344?(o=String.fromCharCode(s,a),i=1):o="\uFFFD"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}l(hn,"normalizeUri");function OS(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=hn(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=s+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)}l(OS,"footnoteReference$1");function LS(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(LS,"heading$1");function IS(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}l(IS,"html$1");function ac(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}l(ac,"revert");function DS(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ac(e,t);const i={src:hn(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)}l(DS,"imageReference$1");function RS(e,t){const n={src:hn(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}l(RS,"image$1");function PS(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}l(PS,"inlineCode$1");function FS(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ac(e,t);const i={href:hn(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}l(FS,"linkReference$1");function qS(e,t){const n={href:hn(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}l(qS,"link$1");function MS(e,t,n){const r=e.all(t),i=n?$S(n):lc(t),s={},o=[];if(typeof t.checked=="boolean"){const h=r[0];let f;h&&h.type==="element"&&h.tagName==="p"?f=h:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const h=r[a];(i||a!==0||h.type!=="element"||h.tagName!=="p")&&o.push({type:"text",value:`
|
|
272
|
+
`}),h.type==="element"&&h.tagName==="p"&&!i?o.push(...h.children):o.push(h)}const u=r[r.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:`
|
|
273
|
+
`});const c={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,c),e.applyData(t,c)}l(MS,"listItem$1");function $S(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=lc(n[r])}return t}l($S,"listLoose");function lc(e){const t=e.spread;return t??e.children.length>1}l(lc,"listItemLoose");function BS(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}l(BS,"list$2");function jS(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(jS,"paragraph$1");function zS(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}l(zS,"root$1");function US(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(US,"strong$1");const uc=fc("end"),cc=fc("start");function fc(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}l(fc,"point$2");function HS(e){const t=cc(e),n=uc(e);if(t&&n)return{start:t,end:n}}l(HS,"position$1");function VS(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=cc(t.children[1]),u=uc(t.children[t.children.length-1]);a&&u&&(o.position={start:a,end:u}),i.push(o)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)}l(VS,"table");function GS(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,a=o?o.length:t.children.length;let u=-1;const c=[];for(;++u<a;){const f=t.children[u],p={},d=o?o[u]:void 0;d&&(p.align=d);let m={type:"element",tagName:s,properties:p,children:[]};f&&(m.children=e.all(f),e.patch(f,m),m=e.applyData(f,m)),c.push(m)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,h),e.applyData(t,h)}l(GS,"tableRow");function WS(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(WS,"tableCell");const hc=9,pc=32;function KS(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const s=[];for(;r;)s.push(dc(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(dc(t.slice(i),i>0,!1)),s.join("")}l(KS,"trimLines");function dc(e,t,n){let r=0,i=e.length;if(t){let s=e.codePointAt(r);for(;s===hc||s===pc;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(i-1);for(;s===hc||s===pc;)i--,s=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}l(dc,"trimLine");function YS(e,t){const n={type:"text",value:KS(String(t.value))};return e.patch(t,n),e.applyData(t,n)}l(YS,"text$4");function JS(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}l(JS,"thematicBreak$2");const QS={blockquote:SS,break:xS,code:AS,delete:CS,emphasis:TS,footnoteReference:OS,heading:LS,html:IS,imageReference:DS,image:RS,inlineCode:PS,linkReference:FS,link:qS,listItem:MS,list:BS,paragraph:jS,root:zS,strong:US,table:VS,tableCell:WS,tableRow:GS,text:YS,thematicBreak:JS,toml:ti,yaml:ti,definition:ti,footnoteDefinition:ti};function ti(){}l(ti,"ignore");function k_(){}l(k_,"ok");const mc=-1,ni=0,ri=1,ii=2,Gs=3,Ws=4,Ks=5,Ys=6,gc=7,yc=8,bc=typeof self=="object"?self:globalThis,XS=l((e,t)=>{const n=l((i,s)=>(e.set(s,i),i),"as"),r=l(i=>{if(e.has(i))return e.get(i);const[s,o]=t[i];switch(s){case ni:case mc:return n(o,i);case ri:{const a=n([],i);for(const u of o)a.push(r(u));return a}case ii:{const a=n({},i);for(const[u,c]of o)a[r(u)]=r(c);return a}case Gs:return n(new Date(o),i);case Ws:{const{source:a,flags:u}=o;return n(new RegExp(a,u),i)}case Ks:{const a=n(new Map,i);for(const[u,c]of o)a.set(r(u),r(c));return a}case Ys:{const a=n(new Set,i);for(const u of o)a.add(r(u));return a}case gc:{const{name:a,message:u}=o;return n(new bc[a](u),i)}case yc:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i)}return n(new bc[s](o),i)},"unpair");return r},"deserializer"),wc=l(e=>XS(new Map,e)(0),"deserialize"),pn="",{toString:ZS}={},{keys:ex}=Object,Gn=l(e=>{const t=typeof e;if(t!=="object"||!e)return[ni,t];const n=ZS.call(e).slice(8,-1);switch(n){case"Array":return[ri,pn];case"Object":return[ii,pn];case"Date":return[Gs,pn];case"RegExp":return[Ws,pn];case"Map":return[Ks,pn];case"Set":return[Ys,pn]}return n.includes("Array")?[ri,n]:n.includes("Error")?[gc,n]:[ii,n]},"typeOf"),si=l(([e,t])=>e===ni&&(t==="function"||t==="symbol"),"shouldSkip"),tx=l((e,t,n,r)=>{const i=l((o,a)=>{const u=r.push(o)-1;return n.set(a,u),u},"as"),s=l(o=>{if(n.has(o))return n.get(o);let[a,u]=Gn(o);switch(a){case ni:{let h=o;switch(u){case"bigint":a=yc,h=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);h=null;break;case"undefined":return i([mc],o)}return i([a,h],o)}case ri:{if(u)return i([u,[...o]],o);const h=[],f=i([a,h],o);for(const p of o)h.push(s(p));return f}case ii:{if(u)switch(u){case"BigInt":return i([u,o.toString()],o);case"Boolean":case"Number":case"String":return i([u,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const h=[],f=i([a,h],o);for(const p of ex(o))(e||!si(Gn(o[p])))&&h.push([s(p),s(o[p])]);return f}case Gs:return i([a,o.toISOString()],o);case Ws:{const{source:h,flags:f}=o;return i([a,{source:h,flags:f}],o)}case Ks:{const h=[],f=i([a,h],o);for(const[p,d]of o)(e||!(si(Gn(p))||si(Gn(d))))&&h.push([s(p),s(d)]);return f}case Ys:{const h=[],f=i([a,h],o);for(const p of o)(e||!si(Gn(p)))&&h.push(s(p));return f}}const{message:c}=o;return i([a,{name:u,message:c}],o)},"pair");return s},"serializer"),kc=l((e,{json:t,lossy:n}={})=>{const r=[];return tx(!(t||n),!!t,new Map,r)(e),r},"serialize$1");var oi=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?wc(kc(e,t)):structuredClone(e):(e,t)=>wc(kc(e,t));function nx(e,t){const n=[{type:"text",value:"\u21A9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}l(nx,"defaultFootnoteBackContent");function rx(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}l(rx,"defaultFootnoteBackLabel");function ix(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||nx,r=e.options.footnoteBackLabel||rx,i=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[u]);if(!c)continue;const h=e.all(c),f=String(c.identifier).toUpperCase(),p=hn(f.toLowerCase());let d=0;const m=[],g=e.footnoteCounts.get(f);for(;g!==void 0&&++d<=g;){m.length>0&&m.push({type:"text",value:" "});let w=typeof n=="string"?n:n(u,d);typeof w=="string"&&(w={type:"text",value:w}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,d),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const y=h[h.length-1];if(y&&y.type==="element"&&y.tagName==="p"){const w=y.children[y.children.length-1];w&&w.type==="text"?w.value+=" ":y.children.push({type:"text",value:" "}),y.children.push(...m)}else h.push(...m);const b={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(h,!0)};e.patch(c,b),a.push(b)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...oi(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
273
274
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:`
|
|
274
|
-
`}]}}l(
|
|
275
|
+
`}]}}l(ix,"footer");const Js={}.hasOwnProperty,sx={};function ox(e,t){const n=t||sx,r=new Map,i=new Map,s=new Map,o={...QS,...n.handlers},a={all:c,applyData:lx,definitionById:r,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:o,one:u,options:n,patch:ax,wrap:cx};return de(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?r:i,p=String(h.identifier).toUpperCase();f.has(p)||f.set(p,h)}}),a;function u(h,f){const p=h.type,d=a.handlers[p];if(Js.call(a.handlers,p)&&d)return d(a,h,f);if(a.options.passThrough&&a.options.passThrough.includes(p)){if("children"in h){const{children:g,...y}=h,b=oi(y);return b.children=a.all(h),b}return oi(h)}return(a.options.unknownHandler||ux)(a,h,f)}l(u,"one");function c(h){const f=[];if("children"in h){const p=h.children;let d=-1;for(;++d<p.length;){const m=a.one(p[d],h);if(m){if(d&&p[d-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=vc(m.value)),!Array.isArray(m)&&m.type==="element")){const g=m.children[0];g&&g.type==="text"&&(g.value=vc(g.value))}Array.isArray(m)?f.push(...m):f.push(m)}}}return f}l(c,"all")}l(ox,"createState");function ax(e,t){e.position&&(t.position=HS(e))}l(ax,"patch");function lx(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&s&&Object.assign(n.properties,oi(s)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}l(lx,"applyData");function ux(e,t){const n=t.data||{},r="value"in t&&!(Js.call(n,"hProperties")||Js.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}l(ux,"defaultUnknownHandler");function cx(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
275
276
|
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
276
277
|
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
277
|
-
`}),n}l(
|
|
278
|
-
`},i),s}l(dc,"toHast");function nx(e,t){return e&&"run"in e?async function(n,r){const i=dc(n,{file:r,...t});await e.run(i,r)}:function(n,r){return dc(n,{file:r,...t||e})}}l(nx,"remarkRehype");function mc(e){if(e)throw e}l(mc,"bail");var ti=Object.prototype.hasOwnProperty,gc=Object.prototype.toString,yc=Object.defineProperty,bc=Object.getOwnPropertyDescriptor,wc=l(function(t){return typeof Array.isArray=="function"?Array.isArray(t):gc.call(t)==="[object Array]"},"isArray"),kc=l(function(t){if(!t||gc.call(t)!=="[object Object]")return!1;var n=ti.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&ti.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||ti.call(t,i)},"isPlainObject"),vc=l(function(t,n){yc&&n.name==="__proto__"?yc(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},"setProperty"),Sc=l(function(t,n){if(n==="__proto__")if(ti.call(t,n)){if(bc)return bc(t,n).value}else return;return t[n]},"getProperty"),rx=l(function e(){var t,n,r,i,s,o,a=arguments[0],u=1,c=arguments.length,p=!1;for(typeof a=="boolean"&&(p=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});u<c;++u)if(t=arguments[u],t!=null)for(n in t)r=Sc(a,n),i=Sc(t,n),a!==i&&(p&&i&&(kc(i)||(s=wc(i)))?(s?(s=!1,o=r&&wc(r)?r:[]):o=r&&kc(r)?r:{},vc(a,{name:n,newValue:e(p,o,i)})):typeof i<"u"&&vc(a,{name:n,newValue:i}));return a},"extend"),zs=Zn(rx);function Us(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}l(Us,"isPlainObject");function ix(){const e=[],t={run:n,use:r};return t;function n(...i){let s=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);a(null,...i);function a(u,...c){const p=e[++s];let f=-1;if(u){o(u);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,p?sx(p,a)(...c):o(null,...c)}l(a,"next")}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}l(ix,"trough");function sx(e,t){let n;return r;function r(...o){const a=e.length>o.length;let u;a&&o.push(i);try{u=e.apply(this,o)}catch(c){const p=c;if(a&&n)throw p;return i(p)}a||(u&&u.then&&typeof u.then=="function"?u.then(s,i):u instanceof Error?i(u):s(u))}function i(o,...a){n||(n=!0,t(o,...a))}function s(o){i(null,o)}}l(sx,"wrap");function Un(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?xc(e.position):"start"in e||"end"in e?xc(e):"line"in e||"column"in e?Hs(e):""}l(Un,"stringifyPosition");function Hs(e){return Ac(e&&e.line)+":"+Ac(e&&e.column)}l(Hs,"point$1");function xc(e){return Hs(e&&e.start)+"-"+Hs(e&&e.end)}l(xc,"position");function Ac(e){return e&&typeof e=="number"?e:1}l(Ac,"index");class Te extends Error{static{l(this,"VFileMessage")}constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?i=t:!s.cause&&t&&(o=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?s.ruleId=r:(s.source=r.slice(0,u),s.ruleId=r.slice(u+1))}if(!s.place&&s.ancestors&&s.ancestors){const u=s.ancestors[s.ancestors.length-1];u&&(s.place=u.position)}const a=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=Un(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}Te.prototype.file="",Te.prototype.name="",Te.prototype.reason="",Te.prototype.message="",Te.prototype.stack="",Te.prototype.column=void 0,Te.prototype.line=void 0,Te.prototype.ancestors=void 0,Te.prototype.cause=void 0,Te.prototype.fatal=void 0,Te.prototype.place=void 0,Te.prototype.ruleId=void 0,Te.prototype.source=void 0;const Je={basename:ox,dirname:ax,extname:lx,join:ux,sep:"/"};function ox(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Hn(e);let n=0,r=-1,i=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else o<0&&(s=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}l(ox,"basename");function ax(e){if(Hn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}l(ax,"dirname");function lx(e){Hn(e);let t=e.length,n=-1,r=0,i=-1,s=0,o;for(;t--;){const a=e.codePointAt(t);if(a===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),a===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?"":e.slice(i,n)}l(lx,"extname");function ux(...e){let t=-1,n;for(;++t<e.length;)Hn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":cx(n)}l(ux,"join");function cx(e){Hn(e);const t=e.codePointAt(0)===47;let n=fx(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}l(cx,"normalize");function fx(e,t){let n="",r=0,i=-1,s=0,o=-1,a,u;for(;++o<=e.length;){if(o<e.length)a=e.codePointAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length>0){n="",r=0,i=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else a===46&&s>-1?s++:s=-1}return n}l(fx,"normalizeString");function Hn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}l(Hn,"assertPath$2");const px={cwd:hx};function hx(){return"/"}l(hx,"cwd");function Vs(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}l(Vs,"isUrl");function dx(e){if(typeof e=="string")e=new URL(e);else if(!Vs(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return mx(e)}l(dx,"urlToPath");function mx(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}l(mx,"getPathFromURLPosix");const Gs=["history","path","basename","stem","extname","dirname"];class gx{static{l(this,"VFile")}constructor(t){let n;t?Vs(t)?n={path:t}:typeof t=="string"||yx(t)?n={value:t}:n=t:n={},this.cwd=px.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Gs.length;){const s=Gs[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let i;for(i in n)Gs.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Je.basename(this.path):void 0}set basename(t){Ks(t,"basename"),Ws(t,"basename"),this.path=Je.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Je.dirname(this.path):void 0}set dirname(t){Cc(this.basename,"dirname"),this.path=Je.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Je.extname(this.path):void 0}set extname(t){if(Ws(t,"extname"),Cc(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Je.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Vs(t)&&(t=dx(t)),Ks(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Je.basename(this.path,this.extname):void 0}set stem(t){Ks(t,"stem"),Ws(t,"stem"),this.path=Je.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Te(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Ws(e,t){if(e&&e.includes(Je.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Je.sep+"`")}l(Ws,"assertPart");function Ks(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}l(Ks,"assertNonEmpty");function Cc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}l(Cc,"assertPath$1");function yx(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}l(yx,"isUint8Array$1");const bx=l(function(e){const r=this.constructor.prototype,i=r[e],s=l(function(){return i.apply(s,arguments)},"apply");Object.setPrototypeOf(s,r);const o=Object.getOwnPropertyNames(i);for(const a of o){const u=Object.getOwnPropertyDescriptor(i,a);u&&Object.defineProperty(s,a,u)}return s},"CallableInstance"),wx={}.hasOwnProperty;class Ao extends bx{static{l(this,"Processor")}constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=ix()}copy(){const t=new Ao;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(zs(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Qs("data",this.frozen),this.namespace[t]=n,this):wx.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Qs("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=ni(t),r=this.parser||this.Parser;return Ys("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Ys("process",this.parser||this.Parser),Js("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(s,o){const a=ni(t),u=r.parse(a);r.run(u,a,function(p,f,h){if(p||!f||!h)return c(p);const d=f,m=r.stringify(d,h);vx(m)?h.value=m:h.result=m,c(p,h)});function c(p,f){p||!f?o(p):s?s(f):n(void 0,f)}l(c,"realDone")}l(i,"executor")}processSync(t){let n=!1,r;return this.freeze(),Ys("processSync",this.parser||this.Parser),Js("processSync",this.compiler||this.Compiler),this.process(t,i),Ec("processSync","process",n),r;function i(s,o){n=!0,mc(s),r=o}l(i,"realDone")}run(t,n,r){Nc(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(o,a){const u=ni(n);i.run(t,u,c);function c(p,f,h){const d=f||t;p?a(p):o?o(d):r(void 0,d,h)}l(c,"realDone")}l(s,"executor")}runSync(t,n){let r=!1,i;return this.run(t,n,s),Ec("runSync","run",r),i;function s(o,a){mc(o),i=a,r=!0}l(s,"realDone")}stringify(t,n){this.freeze();const r=ni(n),i=this.compiler||this.Compiler;return Js("stringify",i),Nc(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Qs("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(c){if(typeof c=="function")u(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[p,...f]=c;u(p,f)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(i.settings=zs(!0,i.settings,c.settings))}function a(c){let p=-1;if(c!=null)if(Array.isArray(c))for(;++p<c.length;){const f=c[p];s(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function u(c,p){let f=-1,h=-1;for(;++f<r.length;)if(r[f][0]===c){h=f;break}if(h===-1)r.push([c,...p]);else if(p.length>0){let[d,...m]=p;const g=r[h][1];Us(g)&&Us(d)&&(d=zs(!0,g,d)),r[h]=[c,d,...m]}}}}const Tc=new Ao().freeze();function Ys(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}l(Ys,"assertParser");function Js(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}l(Js,"assertCompiler");function Qs(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}l(Qs,"assertUnfrozen");function Nc(e){if(!Us(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}l(Nc,"assertNode");function Ec(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}l(Ec,"assertDone");function ni(e){return kx(e)?e:new gx(e)}l(ni,"vfile");function kx(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}l(kx,"looksLikeAVFile");function vx(e){return typeof e=="string"||Sx(e)}l(vx,"looksLikeAValue");function Sx(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}l(Sx,"isUint8Array");const Xs=Tc().use(nx).use(K1).use(rp).use(H1,{themes:{dark:"github-dark",light:"github-light"}}).use(pS);async function fn(e,t=void 0,n=!1){if(e===void 0)return"";const r=await Xs.run(e),i=Xs.stringify(r).trim(),s=i.length===0;if(t===void 0||s&&!n)return i;const o=s?sp:r,a=ie("root",[ie("element",{properties:{className:t.map(c=>Vd(c))},tagName:"div"},o.children)]);return Xs.stringify(a).trim()}l(fn,"mdastToHtml");var Zs={d:(e,t)=>{for(var n in t)Zs.o(t,n)&&!Zs.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},eo={};Zs.d(eo,{Z:()=>Tx,$:()=>Ic});var pn={horizontalTab:-2,virtualSpace:-1,nul:0,eof:null,space:32};function _c(e){return e<pn.nul||e===pn.space}l(_c,"n");function to(e){return e<pn.horizontalTab}l(to,"i");var xx={553:e=>{e.exports=function(t){var n,r;return t._compiled||(n=t.before?"(?:"+t.before+")":"",r=t.after?"(?:"+t.after+")":"",t.atBreak&&(n="[\\r\\n][\\t ]*"+n),t._compiled=new RegExp((n?"("+n+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(r||""),"g")),t._compiled}},112:e=>{function t(n,r,i){var s;if(!r)return i;for(typeof r=="string"&&(r=[r]),s=-1;++s<r.length;)if(n.indexOf(r[s])!==-1)return!0;return!1}l(t,"t"),e.exports=function(n,r){return t(n,r.inConstruct,!0)&&!t(n,r.notInConstruct)}},113:(e,t,n)=>{e.exports=function(a,u,c){for(var p,f,h,d,m,g,y,w,b=(c.before||"")+(u||"")+(c.after||""),S=[],T=[],N={},A=-1;++A<a.unsafe.length;)if(d=a.unsafe[A],i(a.stack,d))for(m=r(d);g=m.exec(b);)p="before"in d||d.atBreak,f="after"in d,h=g.index+(p?g[1].length:0),S.indexOf(h)===-1?(S.push(h),N[h]={before:p,after:f}):(N[h].before&&!p&&(N[h].before=!1),N[h].after&&!f&&(N[h].after=!1));for(S.sort(s),y=c.before?c.before.length:0,w=b.length-(c.after?c.after.length:0),A=-1;++A<S.length;)(h=S[A])<y||h>=w||h+1<w&&S[A+1]===h+1&&N[h].after&&!N[h+1].before&&!N[h+1].after||(y!==h&&T.push(o(b.slice(y,h),"\\")),y=h,!/[!-/:-@[-`{-~]/.test(b.charAt(h))||c.encode&&c.encode.indexOf(b.charAt(h))!==-1?(T.push("&#x"+b.charCodeAt(h).toString(16).toUpperCase()+";"),y++):T.push("\\"));return T.push(o(b.slice(y,w),c.after)),T.join("")};var r=n(553),i=n(112);function s(a,u){return a-u}l(s,"a");function o(a,u){for(var c,p=/\\(?=[!-/:-@[-`{-~])/g,f=[],h=[],d=-1,m=0,g=a+u;c=p.exec(g);)f.push(c.index);for(;++d<f.length;)m!==f[d]&&h.push(a.slice(m,f[d])),h.push("\\"),m=f[d];return h.push(a.slice(m)),h.join("")}l(o,"o")}},Oc={};function Qe(e){var t=Oc[e];if(t!==void 0)return t.exports;var n=Oc[e]={exports:{}};return xx[e](n,n.exports,Qe),n.exports}l(Qe,"s"),Qe.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Qe.d(t,{a:t}),t},Qe.d=(e,t)=>{for(var n in t)Qe.o(t,n)&&!Qe.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Qe.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var no={};(()=>{function e(i={}){const s=i.permalinks||[],o=i.pageResolver||(h=>[h.replace(/ /g,"_").toLowerCase()]),a=i.newClassName||"new",u=i.wikiLinkClassName||"internal",c=i.hrefTemplate||(h=>`#/page/${h}`);let p;function f(h){return h[h.length-1]}return l(f,"s"),{enter:{wikiLink:function(h){p={type:"wikiLink",value:null,data:{alias:null,permalink:null,exists:null}},this.enter(p,h)}},exit:{wikiLinkTarget:function(h){const d=this.sliceSerialize(h);f(this.stack).value=d},wikiLinkAlias:function(h){const d=this.sliceSerialize(h);f(this.stack).data.alias=d},wikiLink:function(h){this.exit(h);const d=p,m=o(d.value),g=m.find(T=>s.indexOf(T)!==-1),y=g!==void 0;let w;w=y?g:m[0]||"";let b=d.value;d.data.alias&&(b=d.data.alias);let S=u;y||(S+=" "+a),d.data.alias=b,d.data.permalink=w,d.data.exists=y,d.data.hName="a",d.data.hProperties={className:S,href:c(w)},d.data.hChildren=[{type:"text",value:b}]}}}}l(e,"e"),Qe.d(no,{V:()=>e,x:()=>r});var t=Qe(113),n=Qe.n(t);function r(i={}){const s=i.aliasDivider||":";return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]},{character:"]",inConstruct:["label","reference"]}],handlers:{wikiLink:function(o,a,u){const c=u.enter("wikiLink"),p=n()(u,o.value,{before:"[",after:"]"}),f=n()(u,o.data.alias,{before:"[",after:"]"});let h;return h=f!==p?`[[${p}${s}${f}]]`:`[[${p}]]`,c(),h}}}}l(r,"n")})();var Ax=no.V,Cx=no.x;let Lc=!1;function Ic(e={}){const t=this.data();function n(r,i){t[r]?t[r].push(i):t[r]=[i]}l(n,"a"),!Lc&&(this.Parser&&this.Parser.prototype&&this.Parser.prototype.blockTokenizers||this.Compiler&&this.Compiler.prototype&&this.Compiler.prototype.visitors)&&(Lc=!0,console.warn("[remark-wiki-link] Warning: please upgrade to remark 13 to use this plugin")),n("micromarkExtensions",function(){var r=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).aliasDivider||":",i="]]";return{text:{91:{tokenize:function(s,o,a){var u,c,p=0,f=0,h=0;return function(b){return b!=="[[".charCodeAt(f)?a(b):(s.enter("wikiLink"),s.enter("wikiLinkMarker"),d(b))};function d(b){return f===2?(s.exit("wikiLinkMarker"),function(S){return to(S)||S===pn.eof?a(S):(s.enter("wikiLinkData"),s.enter("wikiLinkTarget"),m(S))}(b)):b!=="[[".charCodeAt(f)?a(b):(s.consume(b),f++,d)}function m(b){return b===r.charCodeAt(p)?u?(s.exit("wikiLinkTarget"),s.enter("wikiLinkAliasMarker"),g(b)):a(b):b===i.charCodeAt(h)?u?(s.exit("wikiLinkTarget"),s.exit("wikiLinkData"),s.enter("wikiLinkMarker"),w(b)):a(b):to(b)||b===pn.eof?a(b):(_c(b)||(u=!0),s.consume(b),m)}function g(b){return p===r.length?(s.exit("wikiLinkAliasMarker"),s.enter("wikiLinkAlias"),y(b)):b!==r.charCodeAt(p)?a(b):(s.consume(b),p++,g)}function y(b){return b===i.charCodeAt(h)?c?(s.exit("wikiLinkAlias"),s.exit("wikiLinkData"),s.enter("wikiLinkMarker"),w(b)):a(b):to(b)||b===pn.eof?a(b):(_c(b)||(c=!0),s.consume(b),y)}function w(b){return h===2?(s.exit("wikiLinkMarker"),s.exit("wikiLink"),o(b)):b!==i.charCodeAt(h)?a(b):(s.consume(b),h++,w)}}}}}}(e)),n("fromMarkdownExtensions",Ax(e)),n("toMarkdownExtensions",Cx(e))}l(Ic,"k");const Tx=Ic;var Nx=eo.Z;eo.$;const Ex=l(function(e){const t=e?.toLink??(({alias:n,value:r})=>n??r);return this.use(Nx,{aliasDivider:"|"}),function(n){de(n,"wikiLink",(r,i,s)=>{if(s===void 0||i===void 0)return mt;const o=r.value,a=r.data.alias,u={alias:a===o?void 0:a.trim(),value:o.trim()},c=t(u),p=typeof c=="string"?ie("text",c):ie("link",{title:c.title,url:c.uri},[ie("text",c.value)]);return s.children.splice(i,1,p),[Ur,i]})}},"remarkObsidianLink"),_x=l(function(e,t,n,r,i){const s=dt(r),o=[];if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index for start")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index for start");if(typeof n=="number"){if(n<0||n===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index for end")}else if(n=e.children.indexOf(n),n<0)throw new Error("Expected child node or index for end");for(;++t<n;)s(e.children[t],t,e)&&o.push(e.children[t]);return o},"findAllBetween"),Ox=l(function(e,t,n){const r=dt(n),i=[];let s=-1;if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(t>e.children.length&&(t=e.children.length);++s<t;)r(e.children[s],s,e)&&i.push(e.children[s]);return i},"findAllBefore"),Lx=l(function(e,t,n){const r=dt(n),i=[];if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)r(e.children[t],t,e)&&i.push(e.children[t]);return i},"findAllAfter"),Ix=l(function(e,t,n){const r=dt(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},"findAfter"),Dc={a:"amber",b:"blue",c:"cyan",d:"brown",e:"espresso",f:"fuchsia",g:"green",h:"hotpink",i:"indigo",j:"jade",k:"kiwi",l:"lime",m:"magenta",n:"navyblue",o:"orange",p:"purple",q:"pink",r:"red",s:"silver",t:"teal",u:"umber",v:"violet",w:"white",x:"gray",y:"yellow",z:"black"},Dx={dictionary:Dc,markerTagName:"mark",markerClassName:"flexible-marker",actionForEmptyContent:"mark"},Rx=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/,Px=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/g,qx=/=([a-z]?)=(?![\s]|=+\s)/,Fx=/=([a-z]?)=(?![\s]|=+\s)/g,Mx=/(?<!\s|\s=|\s==|\s===|\s====)==/,$x=/(?<!\s|\s=|\s==|\s===|\s====)==/g,Bx=/=([a-z]?)=\s*==/,Rc=/=([a-z]?)=\s*==/g;function jx(e){return e.filter(t=>!!t)}l(jx,"clsx");const zx=l(e=>{const t=Object.assign({},Dx,e);e?.dictionary&&Object.keys(e.dictionary).length&&(t.dictionary=Object.assign({},Dc,e.dictionary));const n=l((a,u)=>{let c;const p=a?t.dictionary[a]:void 0,f=typeof t.markerTagName=="string"?t.markerTagName:t.markerTagName(p),h=typeof t.markerClassName=="function"?t.markerClassName(p):jx([t.markerClassName,!a&&`${t.markerClassName}-default`,p&&`${t.markerClassName}-${p}`,!u.length&&`${t.markerClassName}-empty`]);return t.markerProperties&&(c=t.markerProperties(p),Object.entries(c).forEach(([d,m])=>{(typeof m=="string"&&m===""||Array.isArray(m)&&m.length===0)&&c&&(c[d]=void 0),d==="className"&&delete c?.className})),{type:"mark",children:u,data:{hName:f,hProperties:{className:h,...c&&{...c}}}}},"constructMarkNode"),r=l(function(a,u,c){if(!c||typeof u>"u"||!Rx.test(a.value))return;const p=[],f=a.value;let h="",d=0,m=0;const g=Array.from(f.matchAll(Px));for(let y=0;y<g.length;y++){const w=g[y],[b,S,T]=w,N=w.index,A=b.length,E=d+m;if(d=N,m=A,N>E){const q=f.substring(E,N),x=ie("text",q);p.push(x)}const $=n(S,[{type:"text",value:T.trim()}]);p.push($),h=f.slice(N+A)}if(h){const y=ie("text",h);p.push(y)}p.length&&c.children.splice(u,1,...p)},"visitorFirst"),i=l(function(a,u,c){if(!c||typeof u>"u"||!qx.test(a.value))return;const p=a,f=Ix(c,p,function(R){return R.type==="text"&&Mx.test(R.value)});if(!f)return;const h=Ox(c,p),d=_x(c,p,f),m=Lx(c,f),g=p.value,y=Array.from(g.matchAll(Fx))[0],[w,b]=y,S=w.length,T=y.index;if(T>0){const R=g.substring(0,T),D=ie("text",R);h.push(D)}if(g.length>T+S){const R=g.slice(T+S),D=ie("text",R);d.unshift(D)}const N=f.value,A=Array.from(N.matchAll($x))[0],[E]=A,$=E.length,q=A.index;if(q>0){const R=N.substring(0,q),D=ie("text",R);d.push(D)}if(N.length>q+$){const R=N.slice(q+$),D=ie("text",R);m.unshift(D)}const x=n(b,d);return c.children=[...h,x,...m],u},"visitorSecond"),s=l(function(a,u,c){if(!c||typeof u>"u"||!Bx.test(a.value))return;if(t.actionForEmptyContent==="remove")return a.value=a.value.replaceAll(Rc,""),a.value.trim()===""?[Ur,u]:mt;const p=[],f=a.value;let h="",d=0,m=0;const g=Array.from(f.matchAll(Rc));for(let y=0;y<g.length;y++){const w=g[y],[b,S]=w,T=w.index,N=b.length,A=d+m;if(d=T,m=N,T>A){const $=f.substring(A,T),q=ie("text",$);p.push(q)}const E=n(S,[]);p.push(E),h=f.slice(T+N)}if(h){const y=ie("text",h);p.push(y)}p.length&&c.children.splice(u,1,...p)},"visitorThird");return l(a=>{if(de(a,"text",r),de(a,"text",i),t.actionForEmptyContent!=="keep"&&de(a,"text",s),t.equalityOperator){const u=new RegExp(t.equalityOperator,"gi");de(a,"text",c=>{c.value=c.value.replaceAll(u,"==")})}},"transformer")},"plugin$1");var Pc={exports:{}};(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(i.apply(null,arguments))}l(n,"printf");function r(s,o){return i.apply(null,[s].concat(o))}l(r,"vsprintf");function i(s){for(var o=1,a=[].slice.call(arguments),u=0,c=s.length,p="",f,h=!1,d,m,g=!1,y,w=l(function(){return a[o++]},"nextArg"),b=l(function(){for(var S="";/\d/.test(s[u]);)S+=s[u++],f=s[u];return S.length>0?parseInt(S):null},"slurpNumber");u<c;++u)if(f=s[u],h)switch(h=!1,f=="."?(g=!1,f=s[++u]):f=="0"&&s[u+1]=="."?(g=!0,u+=2,f=s[u]):g=!0,y=b(),f){case"b":p+=parseInt(w(),10).toString(2);break;case"c":d=w(),typeof d=="string"||d instanceof String?p+=d:p+=String.fromCharCode(parseInt(d,10));break;case"d":p+=parseInt(w(),10);break;case"f":m=String(parseFloat(w()).toFixed(y||6)),p+=g?m:m.replace(/^0/,"");break;case"j":p+=JSON.stringify(w());break;case"o":p+="0"+parseInt(w(),10).toString(8);break;case"s":p+=w();break;case"x":p+="0x"+parseInt(w(),10).toString(16);break;case"X":p+="0x"+parseInt(w(),10).toString(16).toUpperCase();break;default:p+=f;break}else f==="%"?h=!0:p+=f;return p}l(i,"format")})()})(Pc);var Ux=Pc.exports,Hx=Zn(Ux);const ri=Object.assign(Ot(Error),{eval:Ot(EvalError),range:Ot(RangeError),reference:Ot(ReferenceError),syntax:Ot(SyntaxError),type:Ot(TypeError),uri:Ot(URIError)});function Ot(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){const i=n&&Hx(n,...r);return new e(i)}l(t,"FormattedError")}l(Ot,"create");const ii={}.hasOwnProperty,qc={yaml:"-",toml:"+"};function ro(e){const t=[];let n=-1;const r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=Vx(r[n]);return t}l(ro,"toMatters");function Vx(e){let t=e;if(typeof t=="string"){if(!ii.call(qc,t))throw ri("Missing matter definition for `%s`",t);t={type:t,marker:qc[t]}}else if(typeof t!="object")throw ri("Expected matter to be an object, not `%j`",t);if(!ii.call(t,"type"))throw ri("Missing `type` in matter `%j`",t);if(!ii.call(t,"fence")&&!ii.call(t,"marker"))throw ri("Missing `marker` or `fence` in matter `%j`",t);return t}l(Vx,"matter");function Gx(e){const t=ro(e),n={};let r=-1;for(;++r<t.length;){const i=t[r],s=io(i,"open").charCodeAt(0),o=Wx(i),a=n[s];Array.isArray(a)?a.push(o):n[s]=[o]}return{flow:n}}l(Gx,"frontmatter");function Wx(e){const t=e.anywhere,n=e.type,r=n+"Fence",i=r+"Sequence",s=n+"Value",o={tokenize:p,partial:!0};let a,u=0;return{tokenize:c,concrete:!0};function c(f,h,d){const m=this;return g;function g(E){const $=m.now();return $.column===1&&($.line===1||t)&&(a=io(e,"open"),u=0,E===a.charCodeAt(u))?(f.enter(n),f.enter(r),f.enter(i),y(E)):d(E)}function y(E){return u===a.length?(f.exit(i),W(E)?(f.enter("whitespace"),w(E)):b(E)):E===a.charCodeAt(u++)?(f.consume(E),y):d(E)}function w(E){return W(E)?(f.consume(E),w):(f.exit("whitespace"),b(E))}function b(E){return B(E)?(f.exit(r),f.enter("lineEnding"),f.consume(E),f.exit("lineEnding"),a=io(e,"close"),u=0,f.attempt(o,A,S)):d(E)}function S(E){return E===null||B(E)?N(E):(f.enter(s),T(E))}function T(E){return E===null||B(E)?(f.exit(s),N(E)):(f.consume(E),T)}function N(E){return E===null?d(E):(f.enter("lineEnding"),f.consume(E),f.exit("lineEnding"),f.attempt(o,A,S))}function A(E){return f.exit(n),h(E)}}function p(f,h,d){let m=0;return g;function g(S){return S===a.charCodeAt(m)?(f.enter(r),f.enter(i),y(S)):d(S)}function y(S){return m===a.length?(f.exit(i),W(S)?(f.enter("whitespace"),w(S)):b(S)):S===a.charCodeAt(m++)?(f.consume(S),y):d(S)}function w(S){return W(S)?(f.consume(S),w):(f.exit("whitespace"),b(S))}function b(S){return S===null||B(S)?(f.exit(r),h(S)):d(S)}}}l(Wx,"createConstruct");function io(e,t){return e.marker?Fc(e.marker,t).repeat(3):Fc(e.fence,t)}l(io,"fence$1");function Fc(e,t){return typeof e=="string"?e:e[t]}l(Fc,"pick$1");function Mc(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}l(Mc,"escapeStringRegexp");function Kx(e){const t=ro(e),n={},r={};let i=-1;for(;++i<t.length;){const s=t[i];n[s.type]=Yx(s),r[s.type]=Jx,r[s.type+"Value"]=Qx}return{enter:n,exit:r}}l(Kx,"frontmatterFromMarkdown");function Yx(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}l(Yx,"opener");function Jx(e){const t=this.resume(),n=this.stack[this.stack.length-1];this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}l(Jx,"close");function Qx(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}l(Qx,"value");function Xx(e){const t=[],n={},r=ro(e);let i=-1;for(;++i<r.length;){const s=r[i];n[s.type]=Zx(s);const o=so(s,"open");t.push({atBreak:!0,character:o.charAt(0),after:Mc(o.charAt(1))})}return{unsafe:t,handlers:n}}l(Xx,"frontmatterToMarkdown");function Zx(e){const t=so(e,"open"),n=so(e,"close");return r;function r(i){return t+(i.value?`
|
|
278
|
+
`}),n}l(cx,"wrap$1");function vc(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}l(vc,"trimMarkdownSpaceStart");function Sc(e,t){const n=ox(e,t),r=n.one(e,void 0),i=ix(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:`
|
|
279
|
+
`},i),s}l(Sc,"toHast");function fx(e,t){return e&&"run"in e?async function(n,r){const i=Sc(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Sc(n,{file:r,...t||e})}}l(fx,"remarkRehype");function xc(e){if(e)throw e}l(xc,"bail");var ai=Object.prototype.hasOwnProperty,Ac=Object.prototype.toString,Cc=Object.defineProperty,Tc=Object.getOwnPropertyDescriptor,Nc=l(function(t){return typeof Array.isArray=="function"?Array.isArray(t):Ac.call(t)==="[object Array]"},"isArray"),Ec=l(function(t){if(!t||Ac.call(t)!=="[object Object]")return!1;var n=ai.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&ai.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||ai.call(t,i)},"isPlainObject"),_c=l(function(t,n){Cc&&n.name==="__proto__"?Cc(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},"setProperty"),Oc=l(function(t,n){if(n==="__proto__")if(ai.call(t,n)){if(Tc)return Tc(t,n).value}else return;return t[n]},"getProperty"),hx=l(function e(){var t,n,r,i,s,o,a=arguments[0],u=1,c=arguments.length,h=!1;for(typeof a=="boolean"&&(h=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});u<c;++u)if(t=arguments[u],t!=null)for(n in t)r=Oc(a,n),i=Oc(t,n),a!==i&&(h&&i&&(Ec(i)||(s=Nc(i)))?(s?(s=!1,o=r&&Nc(r)?r:[]):o=r&&Ec(r)?r:{},_c(a,{name:n,newValue:e(h,o,i)})):typeof i<"u"&&_c(a,{name:n,newValue:i}));return a},"extend"),Qs=ir(hx);function Xs(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}l(Xs,"isPlainObject");function px(){const e=[],t={run:n,use:r};return t;function n(...i){let s=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);a(null,...i);function a(u,...c){const h=e[++s];let f=-1;if(u){o(u);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,h?dx(h,a)(...c):o(null,...c)}l(a,"next")}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}l(px,"trough");function dx(e,t){let n;return r;function r(...o){const a=e.length>o.length;let u;a&&o.push(i);try{u=e.apply(this,o)}catch(c){const h=c;if(a&&n)throw h;return i(h)}a||(u&&u.then&&typeof u.then=="function"?u.then(s,i):u instanceof Error?i(u):s(u))}function i(o,...a){n||(n=!0,t(o,...a))}function s(o){i(null,o)}}l(dx,"wrap");function Wn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Lc(e.position):"start"in e||"end"in e?Lc(e):"line"in e||"column"in e?Zs(e):""}l(Wn,"stringifyPosition");function Zs(e){return Ic(e&&e.line)+":"+Ic(e&&e.column)}l(Zs,"point$1");function Lc(e){return Zs(e&&e.start)+"-"+Zs(e&&e.end)}l(Lc,"position");function Ic(e){return e&&typeof e=="number"?e:1}l(Ic,"index");class Ne extends Error{static{l(this,"VFileMessage")}constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?i=t:!s.cause&&t&&(o=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?s.ruleId=r:(s.source=r.slice(0,u),s.ruleId=r.slice(u+1))}if(!s.place&&s.ancestors&&s.ancestors){const u=s.ancestors[s.ancestors.length-1];u&&(s.place=u.position)}const a=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=Wn(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}Ne.prototype.file="",Ne.prototype.name="",Ne.prototype.reason="",Ne.prototype.message="",Ne.prototype.stack="",Ne.prototype.column=void 0,Ne.prototype.line=void 0,Ne.prototype.ancestors=void 0,Ne.prototype.cause=void 0,Ne.prototype.fatal=void 0,Ne.prototype.place=void 0,Ne.prototype.ruleId=void 0,Ne.prototype.source=void 0;const Ye={basename:mx,dirname:gx,extname:yx,join:bx,sep:"/"};function mx(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Kn(e);let n=0,r=-1,i=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else o<0&&(s=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}l(mx,"basename");function gx(e){if(Kn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}l(gx,"dirname");function yx(e){Kn(e);let t=e.length,n=-1,r=0,i=-1,s=0,o;for(;t--;){const a=e.codePointAt(t);if(a===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),a===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?"":e.slice(i,n)}l(yx,"extname");function bx(...e){let t=-1,n;for(;++t<e.length;)Kn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":wx(n)}l(bx,"join");function wx(e){Kn(e);const t=e.codePointAt(0)===47;let n=kx(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}l(wx,"normalize");function kx(e,t){let n="",r=0,i=-1,s=0,o=-1,a,u;for(;++o<=e.length;){if(o<e.length)a=e.codePointAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length>0){n="",r=0,i=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else a===46&&s>-1?s++:s=-1}return n}l(kx,"normalizeString");function Kn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}l(Kn,"assertPath$2");const vx={cwd:Sx};function Sx(){return"/"}l(Sx,"cwd");function eo(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}l(eo,"isUrl");function xx(e){if(typeof e=="string")e=new URL(e);else if(!eo(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Ax(e)}l(xx,"urlToPath");function Ax(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}l(Ax,"getPathFromURLPosix");const to=["history","path","basename","stem","extname","dirname"];class Cx{static{l(this,"VFile")}constructor(t){let n;t?eo(t)?n={path:t}:typeof t=="string"||Tx(t)?n={value:t}:n=t:n={},this.cwd=vx.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<to.length;){const s=to[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let i;for(i in n)to.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Ye.basename(this.path):void 0}set basename(t){ro(t,"basename"),no(t,"basename"),this.path=Ye.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ye.dirname(this.path):void 0}set dirname(t){Dc(this.basename,"dirname"),this.path=Ye.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ye.extname(this.path):void 0}set extname(t){if(no(t,"extname"),Dc(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ye.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){eo(t)&&(t=xx(t)),ro(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ye.basename(this.path,this.extname):void 0}set stem(t){ro(t,"stem"),no(t,"stem"),this.path=Ye.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Ne(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function no(e,t){if(e&&e.includes(Ye.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ye.sep+"`")}l(no,"assertPart");function ro(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}l(ro,"assertNonEmpty");function Dc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}l(Dc,"assertPath$1");function Tx(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}l(Tx,"isUint8Array$1");const Nx=l(function(e){const r=this.constructor.prototype,i=r[e],s=l(function(){return i.apply(s,arguments)},"apply");Object.setPrototypeOf(s,r);const o=Object.getOwnPropertyNames(i);for(const a of o){const u=Object.getOwnPropertyDescriptor(i,a);u&&Object.defineProperty(s,a,u)}return s},"CallableInstance"),Ex={}.hasOwnProperty;class Do extends Nx{static{l(this,"Processor")}constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=px()}copy(){const t=new Do;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Qs(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(oo("data",this.frozen),this.namespace[t]=n,this):Ex.call(this.namespace,t)&&this.namespace[t]||void 0:t?(oo("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=li(t),r=this.parser||this.Parser;return io("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),io("process",this.parser||this.Parser),so("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(s,o){const a=li(t),u=r.parse(a);r.run(u,a,function(h,f,p){if(h||!f||!p)return c(h);const d=f,m=r.stringify(d,p);Ox(m)?p.value=m:p.result=m,c(h,p)});function c(h,f){h||!f?o(h):s?s(f):n(void 0,f)}l(c,"realDone")}l(i,"executor")}processSync(t){let n=!1,r;return this.freeze(),io("processSync",this.parser||this.Parser),so("processSync",this.compiler||this.Compiler),this.process(t,i),Fc("processSync","process",n),r;function i(s,o){n=!0,xc(s),r=o}l(i,"realDone")}run(t,n,r){Pc(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(o,a){const u=li(n);i.run(t,u,c);function c(h,f,p){const d=f||t;h?a(h):o?o(d):r(void 0,d,p)}l(c,"realDone")}l(s,"executor")}runSync(t,n){let r=!1,i;return this.run(t,n,s),Fc("runSync","run",r),i;function s(o,a){xc(o),i=a,r=!0}l(s,"realDone")}stringify(t,n){this.freeze();const r=li(n),i=this.compiler||this.Compiler;return so("stringify",i),Pc(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(oo("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(c){if(typeof c=="function")u(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[h,...f]=c;u(h,f)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(i.settings=Qs(!0,i.settings,c.settings))}function a(c){let h=-1;if(c!=null)if(Array.isArray(c))for(;++h<c.length;){const f=c[h];s(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function u(c,h){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===c){p=f;break}if(p===-1)r.push([c,...h]);else if(h.length>0){let[d,...m]=h;const g=r[p][1];Xs(g)&&Xs(d)&&(d=Qs(!0,g,d)),r[p]=[c,d,...m]}}}}const Rc=new Do().freeze();function io(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}l(io,"assertParser");function so(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}l(so,"assertCompiler");function oo(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}l(oo,"assertUnfrozen");function Pc(e){if(!Xs(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}l(Pc,"assertNode");function Fc(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}l(Fc,"assertDone");function li(e){return _x(e)?e:new Cx(e)}l(li,"vfile");function _x(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}l(_x,"looksLikeAVFile");function Ox(e){return typeof e=="string"||Lx(e)}l(Ox,"looksLikeAValue");function Lx(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}l(Lx,"isUint8Array");const ao=Rc().use(fx).use(rv).use(hh).use(Z1,{themes:{dark:"github-dark",light:"github-light"}}).use(vS);async function dn(e,t=void 0,n=!1){if(e===void 0)return"";const r=await ao.run(e),i=ao.stringify(r).trim(),s=i.length===0;if(t===void 0||s&&!n)return i;const o=s?dh:r,a=ie("root",[ie("element",{properties:{className:t.map(c=>em(c))},tagName:"div"},o.children)]);return ao.stringify(a).trim()}l(dn,"mdastToHtml");var lo={d:(e,t)=>{for(var n in t)lo.o(t,n)&&!lo.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},uo={};lo.d(uo,{Z:()=>Px,$:()=>Bc});var mn={horizontalTab:-2,virtualSpace:-1,nul:0,eof:null,space:32};function qc(e){return e<mn.nul||e===mn.space}l(qc,"n");function co(e){return e<mn.horizontalTab}l(co,"i");var Ix={553:e=>{e.exports=function(t){var n,r;return t._compiled||(n=t.before?"(?:"+t.before+")":"",r=t.after?"(?:"+t.after+")":"",t.atBreak&&(n="[\\r\\n][\\t ]*"+n),t._compiled=new RegExp((n?"("+n+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(r||""),"g")),t._compiled}},112:e=>{function t(n,r,i){var s;if(!r)return i;for(typeof r=="string"&&(r=[r]),s=-1;++s<r.length;)if(n.indexOf(r[s])!==-1)return!0;return!1}l(t,"t"),e.exports=function(n,r){return t(n,r.inConstruct,!0)&&!t(n,r.notInConstruct)}},113:(e,t,n)=>{e.exports=function(a,u,c){for(var h,f,p,d,m,g,y,b,w=(c.before||"")+(u||"")+(c.after||""),A=[],N=[],T={},x=-1;++x<a.unsafe.length;)if(d=a.unsafe[x],i(a.stack,d))for(m=r(d);g=m.exec(w);)h="before"in d||d.atBreak,f="after"in d,p=g.index+(h?g[1].length:0),A.indexOf(p)===-1?(A.push(p),T[p]={before:h,after:f}):(T[p].before&&!h&&(T[p].before=!1),T[p].after&&!f&&(T[p].after=!1));for(A.sort(s),y=c.before?c.before.length:0,b=w.length-(c.after?c.after.length:0),x=-1;++x<A.length;)(p=A[x])<y||p>=b||p+1<b&&A[x+1]===p+1&&T[p].after&&!T[p+1].before&&!T[p+1].after||(y!==p&&N.push(o(w.slice(y,p),"\\")),y=p,!/[!-/:-@[-`{-~]/.test(w.charAt(p))||c.encode&&c.encode.indexOf(w.charAt(p))!==-1?(N.push("&#x"+w.charCodeAt(p).toString(16).toUpperCase()+";"),y++):N.push("\\"));return N.push(o(w.slice(y,b),c.after)),N.join("")};var r=n(553),i=n(112);function s(a,u){return a-u}l(s,"a");function o(a,u){for(var c,h=/\\(?=[!-/:-@[-`{-~])/g,f=[],p=[],d=-1,m=0,g=a+u;c=h.exec(g);)f.push(c.index);for(;++d<f.length;)m!==f[d]&&p.push(a.slice(m,f[d])),p.push("\\"),m=f[d];return p.push(a.slice(m)),p.join("")}l(o,"o")}},Mc={};function Je(e){var t=Mc[e];if(t!==void 0)return t.exports;var n=Mc[e]={exports:{}};return Ix[e](n,n.exports,Je),n.exports}l(Je,"s"),Je.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Je.d(t,{a:t}),t},Je.d=(e,t)=>{for(var n in t)Je.o(t,n)&&!Je.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Je.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var fo={};(()=>{function e(i={}){const s=i.permalinks||[],o=i.pageResolver||(p=>[p.replace(/ /g,"_").toLowerCase()]),a=i.newClassName||"new",u=i.wikiLinkClassName||"internal",c=i.hrefTemplate||(p=>`#/page/${p}`);let h;function f(p){return p[p.length-1]}return l(f,"s"),{enter:{wikiLink:function(p){h={type:"wikiLink",value:null,data:{alias:null,permalink:null,exists:null}},this.enter(h,p)}},exit:{wikiLinkTarget:function(p){const d=this.sliceSerialize(p);f(this.stack).value=d},wikiLinkAlias:function(p){const d=this.sliceSerialize(p);f(this.stack).data.alias=d},wikiLink:function(p){this.exit(p);const d=h,m=o(d.value),g=m.find(N=>s.indexOf(N)!==-1),y=g!==void 0;let b;b=y?g:m[0]||"";let w=d.value;d.data.alias&&(w=d.data.alias);let A=u;y||(A+=" "+a),d.data.alias=w,d.data.permalink=b,d.data.exists=y,d.data.hName="a",d.data.hProperties={className:A,href:c(b)},d.data.hChildren=[{type:"text",value:w}]}}}}l(e,"e"),Je.d(fo,{V:()=>e,x:()=>r});var t=Je(113),n=Je.n(t);function r(i={}){const s=i.aliasDivider||":";return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]},{character:"]",inConstruct:["label","reference"]}],handlers:{wikiLink:function(o,a,u){const c=u.enter("wikiLink"),h=n()(u,o.value,{before:"[",after:"]"}),f=n()(u,o.data.alias,{before:"[",after:"]"});let p;return p=f!==h?`[[${h}${s}${f}]]`:`[[${h}]]`,c(),p}}}}l(r,"n")})();var Dx=fo.V,Rx=fo.x;let $c=!1;function Bc(e={}){const t=this.data();function n(r,i){t[r]?t[r].push(i):t[r]=[i]}l(n,"a"),!$c&&(this.Parser&&this.Parser.prototype&&this.Parser.prototype.blockTokenizers||this.Compiler&&this.Compiler.prototype&&this.Compiler.prototype.visitors)&&($c=!0,console.warn("[remark-wiki-link] Warning: please upgrade to remark 13 to use this plugin")),n("micromarkExtensions",function(){var r=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).aliasDivider||":",i="]]";return{text:{91:{tokenize:function(s,o,a){var u,c,h=0,f=0,p=0;return function(w){return w!=="[[".charCodeAt(f)?a(w):(s.enter("wikiLink"),s.enter("wikiLinkMarker"),d(w))};function d(w){return f===2?(s.exit("wikiLinkMarker"),function(A){return co(A)||A===mn.eof?a(A):(s.enter("wikiLinkData"),s.enter("wikiLinkTarget"),m(A))}(w)):w!=="[[".charCodeAt(f)?a(w):(s.consume(w),f++,d)}function m(w){return w===r.charCodeAt(h)?u?(s.exit("wikiLinkTarget"),s.enter("wikiLinkAliasMarker"),g(w)):a(w):w===i.charCodeAt(p)?u?(s.exit("wikiLinkTarget"),s.exit("wikiLinkData"),s.enter("wikiLinkMarker"),b(w)):a(w):co(w)||w===mn.eof?a(w):(qc(w)||(u=!0),s.consume(w),m)}function g(w){return h===r.length?(s.exit("wikiLinkAliasMarker"),s.enter("wikiLinkAlias"),y(w)):w!==r.charCodeAt(h)?a(w):(s.consume(w),h++,g)}function y(w){return w===i.charCodeAt(p)?c?(s.exit("wikiLinkAlias"),s.exit("wikiLinkData"),s.enter("wikiLinkMarker"),b(w)):a(w):co(w)||w===mn.eof?a(w):(qc(w)||(c=!0),s.consume(w),y)}function b(w){return p===2?(s.exit("wikiLinkMarker"),s.exit("wikiLink"),o(w)):w!==i.charCodeAt(p)?a(w):(s.consume(w),p++,b)}}}}}}(e)),n("fromMarkdownExtensions",Dx(e)),n("toMarkdownExtensions",Rx(e))}l(Bc,"k");const Px=Bc;var Fx=uo.Z;uo.$;const qx=l(function(e){const t=e?.toLink??(({alias:n,value:r})=>n??r);return this.use(Fx,{aliasDivider:"|"}),function(n){de(n,"wikiLink",(r,i,s)=>{if(s===void 0||i===void 0)return dt;const o=r.value,a=r.data.alias,u={alias:a===o?void 0:a.trim(),value:o.trim()},c=t(u),h=typeof c=="string"?ie("text",c):ie("link",{title:c.title,url:c.uri},[ie("text",c.value)]);return s.children.splice(i,1,h),[Yr,i]})}},"remarkObsidianLink"),Mx=l(function(e,t,n,r,i){const s=pt(r),o=[];if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index for start")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index for start");if(typeof n=="number"){if(n<0||n===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index for end")}else if(n=e.children.indexOf(n),n<0)throw new Error("Expected child node or index for end");for(;++t<n;)s(e.children[t],t,e)&&o.push(e.children[t]);return o},"findAllBetween"),$x=l(function(e,t,n){const r=pt(n),i=[];let s=-1;if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(t>e.children.length&&(t=e.children.length);++s<t;)r(e.children[s],s,e)&&i.push(e.children[s]);return i},"findAllBefore"),Bx=l(function(e,t,n){const r=pt(n),i=[];if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)r(e.children[t],t,e)&&i.push(e.children[t]);return i},"findAllAfter"),jx=l(function(e,t,n){const r=pt(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},"findAfter"),jc={a:"amber",b:"blue",c:"cyan",d:"brown",e:"espresso",f:"fuchsia",g:"green",h:"hotpink",i:"indigo",j:"jade",k:"kiwi",l:"lime",m:"magenta",n:"navyblue",o:"orange",p:"purple",q:"pink",r:"red",s:"silver",t:"teal",u:"umber",v:"violet",w:"white",x:"gray",y:"yellow",z:"black"},zx={dictionary:jc,markerTagName:"mark",markerClassName:"flexible-marker",actionForEmptyContent:"mark"},Ux=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/,Hx=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/g,Vx=/=([a-z]?)=(?![\s]|=+\s)/,Gx=/=([a-z]?)=(?![\s]|=+\s)/g,Wx=/(?<!\s|\s=|\s==|\s===|\s====)==/,Kx=/(?<!\s|\s=|\s==|\s===|\s====)==/g,Yx=/=([a-z]?)=\s*==/,zc=/=([a-z]?)=\s*==/g;function Jx(e){return e.filter(t=>!!t)}l(Jx,"clsx");const Qx=l(e=>{const t=Object.assign({},zx,e);e?.dictionary&&Object.keys(e.dictionary).length&&(t.dictionary=Object.assign({},jc,e.dictionary));const n=l((a,u)=>{let c;const h=a?t.dictionary[a]:void 0,f=typeof t.markerTagName=="string"?t.markerTagName:t.markerTagName(h),p=typeof t.markerClassName=="function"?t.markerClassName(h):Jx([t.markerClassName,!a&&`${t.markerClassName}-default`,h&&`${t.markerClassName}-${h}`,!u.length&&`${t.markerClassName}-empty`]);return t.markerProperties&&(c=t.markerProperties(h),Object.entries(c).forEach(([d,m])=>{(typeof m=="string"&&m===""||Array.isArray(m)&&m.length===0)&&c&&(c[d]=void 0),d==="className"&&delete c?.className})),{type:"mark",children:u,data:{hName:f,hProperties:{className:p,...c&&{...c}}}}},"constructMarkNode"),r=l(function(a,u,c){if(!c||typeof u>"u"||!Ux.test(a.value))return;const h=[],f=a.value;let p="",d=0,m=0;const g=Array.from(f.matchAll(Hx));for(let y=0;y<g.length;y++){const b=g[y],[w,A,N]=b,T=b.index,x=w.length,E=d+m;if(d=T,m=x,T>E){const F=f.substring(E,T),S=ie("text",F);h.push(S)}const _=n(A,[{type:"text",value:N.trim()}]);h.push(_),p=f.slice(T+x)}if(p){const y=ie("text",p);h.push(y)}h.length&&c.children.splice(u,1,...h)},"visitorFirst"),i=l(function(a,u,c){if(!c||typeof u>"u"||!Vx.test(a.value))return;const h=a,f=jx(c,h,function(P){return P.type==="text"&&Wx.test(P.value)});if(!f)return;const p=$x(c,h),d=Mx(c,h,f),m=Bx(c,f),g=h.value,y=Array.from(g.matchAll(Gx))[0],[b,w]=y,A=b.length,N=y.index;if(N>0){const P=g.substring(0,N),L=ie("text",P);p.push(L)}if(g.length>N+A){const P=g.slice(N+A),L=ie("text",P);d.unshift(L)}const T=f.value,x=Array.from(T.matchAll(Kx))[0],[E]=x,_=E.length,F=x.index;if(F>0){const P=T.substring(0,F),L=ie("text",P);d.push(L)}if(T.length>F+_){const P=T.slice(F+_),L=ie("text",P);m.unshift(L)}const S=n(w,d);return c.children=[...p,S,...m],u},"visitorSecond"),s=l(function(a,u,c){if(!c||typeof u>"u"||!Yx.test(a.value))return;if(t.actionForEmptyContent==="remove")return a.value=a.value.replaceAll(zc,""),a.value.trim()===""?[Yr,u]:dt;const h=[],f=a.value;let p="",d=0,m=0;const g=Array.from(f.matchAll(zc));for(let y=0;y<g.length;y++){const b=g[y],[w,A]=b,N=b.index,T=w.length,x=d+m;if(d=N,m=T,N>x){const _=f.substring(x,N),F=ie("text",_);h.push(F)}const E=n(A,[]);h.push(E),p=f.slice(N+T)}if(p){const y=ie("text",p);h.push(y)}h.length&&c.children.splice(u,1,...h)},"visitorThird");return l(a=>{if(de(a,"text",r),de(a,"text",i),t.actionForEmptyContent!=="keep"&&de(a,"text",s),t.equalityOperator){const u=new RegExp(t.equalityOperator,"gi");de(a,"text",c=>{c.value=c.value.replaceAll(u,"==")})}},"transformer")},"plugin$1");var Uc={exports:{}};(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(i.apply(null,arguments))}l(n,"printf");function r(s,o){return i.apply(null,[s].concat(o))}l(r,"vsprintf");function i(s){for(var o=1,a=[].slice.call(arguments),u=0,c=s.length,h="",f,p=!1,d,m,g=!1,y,b=l(function(){return a[o++]},"nextArg"),w=l(function(){for(var A="";/\d/.test(s[u]);)A+=s[u++],f=s[u];return A.length>0?parseInt(A):null},"slurpNumber");u<c;++u)if(f=s[u],p)switch(p=!1,f=="."?(g=!1,f=s[++u]):f=="0"&&s[u+1]=="."?(g=!0,u+=2,f=s[u]):g=!0,y=w(),f){case"b":h+=parseInt(b(),10).toString(2);break;case"c":d=b(),typeof d=="string"||d instanceof String?h+=d:h+=String.fromCharCode(parseInt(d,10));break;case"d":h+=parseInt(b(),10);break;case"f":m=String(parseFloat(b()).toFixed(y||6)),h+=g?m:m.replace(/^0/,"");break;case"j":h+=JSON.stringify(b());break;case"o":h+="0"+parseInt(b(),10).toString(8);break;case"s":h+=b();break;case"x":h+="0x"+parseInt(b(),10).toString(16);break;case"X":h+="0x"+parseInt(b(),10).toString(16).toUpperCase();break;default:h+=f;break}else f==="%"?p=!0:h+=f;return h}l(i,"format")})()})(Uc);var Xx=Uc.exports,Zx=ir(Xx);const ui=Object.assign(Lt(Error),{eval:Lt(EvalError),range:Lt(RangeError),reference:Lt(ReferenceError),syntax:Lt(SyntaxError),type:Lt(TypeError),uri:Lt(URIError)});function Lt(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){const i=n&&Zx(n,...r);return new e(i)}l(t,"FormattedError")}l(Lt,"create");const ci={}.hasOwnProperty,Hc={yaml:"-",toml:"+"};function ho(e){const t=[];let n=-1;const r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=eA(r[n]);return t}l(ho,"toMatters");function eA(e){let t=e;if(typeof t=="string"){if(!ci.call(Hc,t))throw ui("Missing matter definition for `%s`",t);t={type:t,marker:Hc[t]}}else if(typeof t!="object")throw ui("Expected matter to be an object, not `%j`",t);if(!ci.call(t,"type"))throw ui("Missing `type` in matter `%j`",t);if(!ci.call(t,"fence")&&!ci.call(t,"marker"))throw ui("Missing `marker` or `fence` in matter `%j`",t);return t}l(eA,"matter");function tA(e){const t=ho(e),n={};let r=-1;for(;++r<t.length;){const i=t[r],s=po(i,"open").charCodeAt(0),o=nA(i),a=n[s];Array.isArray(a)?a.push(o):n[s]=[o]}return{flow:n}}l(tA,"frontmatter");function nA(e){const t=e.anywhere,n=e.type,r=n+"Fence",i=r+"Sequence",s=n+"Value",o={tokenize:h,partial:!0};let a,u=0;return{tokenize:c,concrete:!0};function c(f,p,d){const m=this;return g;function g(E){const _=m.now();return _.column===1&&(_.line===1||t)&&(a=po(e,"open"),u=0,E===a.charCodeAt(u))?(f.enter(n),f.enter(r),f.enter(i),y(E)):d(E)}function y(E){return u===a.length?(f.exit(i),W(E)?(f.enter("whitespace"),b(E)):w(E)):E===a.charCodeAt(u++)?(f.consume(E),y):d(E)}function b(E){return W(E)?(f.consume(E),b):(f.exit("whitespace"),w(E))}function w(E){return B(E)?(f.exit(r),f.enter("lineEnding"),f.consume(E),f.exit("lineEnding"),a=po(e,"close"),u=0,f.attempt(o,x,A)):d(E)}function A(E){return E===null||B(E)?T(E):(f.enter(s),N(E))}function N(E){return E===null||B(E)?(f.exit(s),T(E)):(f.consume(E),N)}function T(E){return E===null?d(E):(f.enter("lineEnding"),f.consume(E),f.exit("lineEnding"),f.attempt(o,x,A))}function x(E){return f.exit(n),p(E)}}function h(f,p,d){let m=0;return g;function g(A){return A===a.charCodeAt(m)?(f.enter(r),f.enter(i),y(A)):d(A)}function y(A){return m===a.length?(f.exit(i),W(A)?(f.enter("whitespace"),b(A)):w(A)):A===a.charCodeAt(m++)?(f.consume(A),y):d(A)}function b(A){return W(A)?(f.consume(A),b):(f.exit("whitespace"),w(A))}function w(A){return A===null||B(A)?(f.exit(r),p(A)):d(A)}}}l(nA,"createConstruct");function po(e,t){return e.marker?Vc(e.marker,t).repeat(3):Vc(e.fence,t)}l(po,"fence$1");function Vc(e,t){return typeof e=="string"?e:e[t]}l(Vc,"pick$1");function Gc(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}l(Gc,"escapeStringRegexp");function rA(e){const t=ho(e),n={},r={};let i=-1;for(;++i<t.length;){const s=t[i];n[s.type]=iA(s),r[s.type]=sA,r[s.type+"Value"]=oA}return{enter:n,exit:r}}l(rA,"frontmatterFromMarkdown");function iA(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}l(iA,"opener");function sA(e){const t=this.resume(),n=this.stack[this.stack.length-1];this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}l(sA,"close");function oA(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}l(oA,"value");function aA(e){const t=[],n={},r=ho(e);let i=-1;for(;++i<r.length;){const s=r[i];n[s.type]=lA(s);const o=mo(s,"open");t.push({atBreak:!0,character:o.charAt(0),after:Gc(o.charAt(1))})}return{unsafe:t,handlers:n}}l(aA,"frontmatterToMarkdown");function lA(e){const t=mo(e,"open"),n=mo(e,"close");return r;function r(i){return t+(i.value?`
|
|
279
280
|
`+i.value:"")+`
|
|
280
|
-
`+n}}l(
|
|
281
|
-
`)}l(
|
|
282
|
-
`&&
|
|
283
|
-
`}l(
|
|
284
|
-
`,encode:["`"],...a.current()})),f()}return
|
|
285
|
-
`),s&&(
|
|
286
|
-
`)),
|
|
287
|
-
`,...u.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),a()),o(),c}l(
|
|
281
|
+
`+n}}l(lA,"handler");function mo(e,t){return e.marker?Wc(e.marker,t).repeat(3):Wc(e.fence,t)}l(mo,"fence");function Wc(e,t){return typeof e=="string"?e:e[t]}l(Wc,"pick");const uA="yaml";function cA(e){const t=this,n=e||uA,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(tA(n)),s.push(rA(n)),o.push(aA(n))}l(cA,"remarkFrontmatter");function fA(e,t,n){const i=pt((n||{}).ignore||[]),s=hA(t);let o=-1;for(;++o<s.length;)$u(e,"text",a);function a(c,h){let f=-1,p;for(;++f<h.length;){const d=h[f],m=p?p.children:void 0;if(i(d,m?m.indexOf(d):void 0,p))return;p=d}if(p)return u(c,h)}l(a,"visitor");function u(c,h){const f=h[h.length-1],p=s[o][0],d=s[o][1];let m=0;const y=f.children.indexOf(c);let b=!1,w=[];p.lastIndex=0;let A=p.exec(c.value);for(;A;){const N=A.index,T={index:A.index,input:A.input,stack:[...h,c]};let x=d(...A,T);if(typeof x=="string"&&(x=x.length>0?{type:"text",value:x}:void 0),x===!1?p.lastIndex=N+1:(m!==N&&w.push({type:"text",value:c.value.slice(m,N)}),Array.isArray(x)?w.push(...x):x&&w.push(x),m=N+A[0].length,b=!0),!p.global)break;A=p.exec(c.value)}return b?(m<c.value.length&&w.push({type:"text",value:c.value.slice(m)}),f.children.splice(y,1,...w)):w=[c],y+w.length}l(u,"handler")}l(fA,"findAndReplace");function hA(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([pA(i[0]),dA(i[1])])}return t}l(hA,"toPairs");function pA(e){return typeof e=="string"?new RegExp(Gc(e),"g"):e}l(pA,"toExpression");function dA(e){return typeof e=="function"?e:function(){return e}}l(dA,"toFunction");const go="phrasing",yo=["autolink","link","image","label"];function mA(){return{transforms:[SA],enter:{literalAutolink:yA,literalAutolinkEmail:bo,literalAutolinkHttp:bo,literalAutolinkWww:bo},exit:{literalAutolink:vA,literalAutolinkEmail:kA,literalAutolinkHttp:bA,literalAutolinkWww:wA}}}l(mA,"gfmAutolinkLiteralFromMarkdown");function gA(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:go,notInConstruct:yo},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:go,notInConstruct:yo},{character:":",before:"[ps]",after:"\\/",inConstruct:go,notInConstruct:yo}]}}l(gA,"gfmAutolinkLiteralToMarkdown");function yA(e){this.enter({type:"link",title:null,url:"",children:[]},e)}l(yA,"enterLiteralAutolink");function bo(e){this.config.enter.autolinkProtocol.call(this,e)}l(bo,"enterLiteralAutolinkValue");function bA(e){this.config.exit.autolinkProtocol.call(this,e)}l(bA,"exitLiteralAutolinkHttp");function wA(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}l(wA,"exitLiteralAutolinkWww");function kA(e){this.config.exit.autolinkEmail.call(this,e)}l(kA,"exitLiteralAutolinkEmail");function vA(e){this.exit(e)}l(vA,"exitLiteralAutolink");function SA(e){fA(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,xA],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,AA]],{ignore:["link","linkReference"]})}l(SA,"transformGfmAutolinkLiterals");function xA(e,t,n,r,i){let s="";if(!Kc(i)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!CA(n)))return!1;const o=TA(n+r);if(!o[0])return!1;const a={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}l(xA,"findUrl");function AA(e,t,n,r){return!Kc(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}l(AA,"findEmail");function CA(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}l(CA,"isCorrectDomain");function TA(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Qr(e,"(");let s=Qr(e,")");for(;r!==-1&&i>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}l(TA,"splitUrl");function Kc(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ot(n)||ei(n))&&(!t||n!==47)}l(Kc,"previous$2");function We(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}l(We,"normalizeIdentifier"),Yc.peek=qA;function NA(){return{enter:{gfmFootnoteDefinition:_A,gfmFootnoteDefinitionLabelString:OA,gfmFootnoteCall:DA,gfmFootnoteCallString:RA},exit:{gfmFootnoteDefinition:IA,gfmFootnoteDefinitionLabelString:LA,gfmFootnoteCall:FA,gfmFootnoteCallString:PA}}}l(NA,"gfmFootnoteFromMarkdown");function EA(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:MA,footnoteReference:Yc}}}l(EA,"gfmFootnoteToMarkdown");function _A(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}l(_A,"enterFootnoteDefinition");function OA(){this.buffer()}l(OA,"enterFootnoteDefinitionLabelString");function LA(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=We(this.sliceSerialize(e)).toLowerCase()}l(LA,"exitFootnoteDefinitionLabelString");function IA(e){this.exit(e)}l(IA,"exitFootnoteDefinition");function DA(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}l(DA,"enterFootnoteCall");function RA(){this.buffer()}l(RA,"enterFootnoteCallString");function PA(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=We(this.sliceSerialize(e)).toLowerCase()}l(PA,"exitFootnoteCallString");function FA(e){this.exit(e)}l(FA,"exitFootnoteCall");function Yc(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return s+=i.move(n.safe(n.associationId(e),{...i.current(),before:s,after:"]"})),a(),o(),s+=i.move("]"),s}l(Yc,"footnoteReference");function qA(){return"["}l(qA,"footnoteReferencePeek");function MA(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const o=n.enter("footnoteDefinition"),a=n.enter("label");return s+=i.move(n.safe(n.associationId(e),{...i.current(),before:s,after:"]"})),a(),s+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),s+=i.move(n.indentLines(n.containerFlow(e,i.current()),$A)),o(),s}l(MA,"footnoteDefinition");function $A(e,t,n){return t===0?e:(n?"":" ")+e}l($A,"map$2");const BA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Jc.peek=VA;function jA(){return{canContainEols:["delete"],enter:{strikethrough:UA},exit:{strikethrough:HA}}}l(jA,"gfmStrikethroughFromMarkdown");function zA(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:BA}],handlers:{delete:Jc}}}l(zA,"gfmStrikethroughToMarkdown");function UA(e){this.enter({type:"delete",children:[]},e)}l(UA,"enterStrikethrough");function HA(e){this.exit(e)}l(HA,"exitStrikethrough");function Jc(e,t,n,r){const i=n.createTracker(r),s=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),s(),o}l(Jc,"handleDelete");function VA(){return"~"}l(VA,"peekDelete");function GA(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||KA,i=[],s=[],o=[],a=[];let u=0,c=-1;for(;++c<e.length;){const m=[],g=[];let y=-1;for(e[c].length>u&&(u=e[c].length);++y<e[c].length;){const b=WA(e[c][y]);if(t.alignDelimiters!==!1){const w=r(b);g[y]=w,(a[y]===void 0||w>a[y])&&(a[y]=w)}m.push(b)}s[c]=m,o[c]=g}let h=-1;if(typeof n=="object"&&"length"in n)for(;++h<u;)i[h]=Qc(n[h]);else{const m=Qc(n);for(;++h<u;)i[h]=m}h=-1;const f=[],p=[];for(;++h<u;){const m=i[h];let g="",y="";m===99?(g=":",y=":"):m===108?g=":":m===114&&(y=":");let b=t.alignDelimiters===!1?1:Math.max(1,a[h]-g.length-y.length);const w=g+"-".repeat(b)+y;t.alignDelimiters!==!1&&(b=g.length+b+y.length,b>a[h]&&(a[h]=b),p[h]=b),f[h]=w}s.splice(1,0,f),o.splice(1,0,p),c=-1;const d=[];for(;++c<s.length;){const m=s[c],g=o[c];h=-1;const y=[];for(;++h<u;){const b=m[h]||"";let w="",A="";if(t.alignDelimiters!==!1){const N=a[h]-(g[h]||0),T=i[h];T===114?w=" ".repeat(N):T===99?N%2?(w=" ".repeat(N/2+.5),A=" ".repeat(N/2-.5)):(w=" ".repeat(N/2),A=w):A=" ".repeat(N)}t.delimiterStart!==!1&&!h&&y.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&b==="")&&(t.delimiterStart!==!1||h)&&y.push(" "),t.alignDelimiters!==!1&&y.push(w),y.push(b),t.alignDelimiters!==!1&&y.push(A),t.padding!==!1&&y.push(" "),(t.delimiterEnd!==!1||h!==u-1)&&y.push("|")}d.push(t.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return d.join(`
|
|
282
|
+
`)}l(GA,"markdownTable");function WA(e){return e==null?"":String(e)}l(WA,"serialize");function KA(e){return e.length}l(KA,"defaultStringLength");function Qc(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}l(Qc,"toAlignment");function YA(e,t,n,r){const i=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(e,s.current()),JA);return i(),o}l(YA,"blockquote");function JA(e,t,n){return">"+(n?"":" ")+e}l(JA,"map$1");function QA(e,t){return Xc(e,t.inConstruct,!0)&&!Xc(e,t.notInConstruct,!1)}l(QA,"patternInScope");function Xc(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}l(Xc,"listInScope");function Zc(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
283
|
+
`&&QA(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
284
|
+
`}l(Zc,"hardBreak");function ef(e,t){const n=String(e);let r=n.indexOf(t),i=r,s=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++s>o&&(o=s):s=1,i=r+t.length,r=n.indexOf(t,i);return o}l(ef,"longestStreak");function XA(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}l(XA,"formatCodeAsIndented");function ZA(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}l(ZA,"checkFence");function eC(e,t,n,r){const i=ZA(n),s=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(XA(e,n)){const f=n.enter("codeIndented"),p=n.indentLines(s,tC);return f(),p}const a=n.createTracker(r),u=i.repeat(Math.max(ef(s,i)+1,3)),c=n.enter("codeFenced");let h=a.move(u);if(e.lang){const f=n.enter(`codeFencedLang${o}`);h+=a.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...a.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${o}`);h+=a.move(" "),h+=a.move(n.safe(e.meta,{before:h,after:`
|
|
285
|
+
`,encode:["`"],...a.current()})),f()}return h+=a.move(`
|
|
286
|
+
`),s&&(h+=a.move(s+`
|
|
287
|
+
`)),h+=a.move(u),c(),h}l(eC,"code$1");function tC(e,t,n){return(n?"":" ")+e}l(tC,"map");function wo(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}l(wo,"checkQuote");function nC(e,t,n,r){const i=wo(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const u=n.createTracker(r);let c=u.move("[");return c+=u.move(n.safe(n.associationId(e),{before:c,after:"]",...u.current()})),c+=u.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(a=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":`
|
|
288
|
+
`,...u.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),a()),o(),c}l(nC,"definition$1");function rC(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}l(rC,"checkEmphasis"),tf.peek=iC;function tf(e,t,n,r){const i=rC(n),s=n.enter("emphasis"),o=n.createTracker(r);let a=o.move(i);return a+=o.move(n.containerPhrasing(e,{before:a,after:i,...o.current()})),a+=o.move(i),s(),a}l(tf,"emphasis");function iC(e,t,n){return n.options.emphasis||"*"}l(iC,"emphasisPeek");const sC={};function ko(e,t){const n=sC,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return nf(e,r,i)}l(ko,"toString");function nf(e,t,n){if(oC(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return rf(e.children,t,n)}return Array.isArray(e)?rf(e,t,n):""}l(nf,"one");function rf(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=nf(e[i],t,n);return r.join("")}l(rf,"all");function oC(e){return!!(e&&typeof e=="object")}l(oC,"node");function aC(e,t){let n=!1;return de(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,ot}),!!((!e.depth||e.depth<3)&&ko(e)&&(t.options.setext||n))}l(aC,"formatHeadingAsSetext");function lC(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(aC(e,n)){const h=n.enter("headingSetext"),f=n.enter("phrasing"),p=n.containerPhrasing(e,{...s.current(),before:`
|
|
288
289
|
`,after:`
|
|
289
|
-
`});return f(),
|
|
290
|
-
`+(i===1?"=":"-").repeat(
|
|
290
|
+
`});return f(),h(),p+`
|
|
291
|
+
`+(i===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
|
|
291
292
|
`))+1))}const o="#".repeat(i),a=n.enter("headingAtx"),u=n.enter("phrasing");s.move(o+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
|
|
292
|
-
`,...s.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),u(),a(),c}l(ZA,"heading"),Jc.peek=eC;function Jc(e){return e.value||""}l(Jc,"html");function eC(){return"<"}l(eC,"htmlPeek"),Qc.peek=tC;function Qc(e,t,n,r){const i=uo(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let a=n.enter("label");const u=n.createTracker(r);let c=u.move("![");return c+=u.move(n.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(a=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),a()),c+=u.move(")"),o(),c}l(Qc,"image");function tC(){return"!"}l(tC,"imagePeek"),Xc.peek=nC;function Xc(e,t,n,r){const i=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let u=a.move("![");const c=n.safe(e.alt,{before:u,after:"]",...a.current()});u+=a.move(c+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return o(),n.stack=p,s(),i==="full"||!c||c!==f?u+=a.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}l(Xc,"imageReference");function nC(){return"!"}l(nC,"imageReferencePeek"),Zc.peek=rC;function Zc(e,t,n){let r=e.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const o=n.unsafe[s],a=n.compilePattern(o);let u;if(o.atBreak)for(;u=a.exec(r);){let c=u.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(u.index+1)}}return i+r+i}l(Zc,"inlineCode");function rC(){return"`"}l(rC,"inlineCodePeek");function ef(e,t){const n=co(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}l(ef,"formatLinkAsAutolink"),tf.peek=iC;function tf(e,t,n,r){const i=uo(n),s=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let a,u;if(ef(e,n)){const p=n.stack;n.stack=[],a=n.enter("autolink");let f=o.move("<");return f+=o.move(n.containerPhrasing(e,{before:f,after:">",...o.current()})),f+=o.move(">"),a(),n.stack=p,f}a=n.enter("link"),u=n.enter("label");let c=o.move("[");return c+=o.move(n.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(u=n.enter("destinationRaw"),c+=o.move(n.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=n.enter(`title${s}`),c+=o.move(" "+i),c+=o.move(n.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),u()),c+=o.move(")"),a(),c}l(tf,"link");function iC(e,t,n){return ef(e,n)?"<":"["}l(iC,"linkPeek"),nf.peek=sC;function nf(e,t,n,r){const i=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let u=a.move("[");const c=n.containerPhrasing(e,{before:u,after:"]",...a.current()});u+=a.move(c+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return o(),n.stack=p,s(),i==="full"||!c||c!==f?u+=a.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}l(nf,"linkReference");function sC(){return"["}l(sC,"linkReferencePeek");function fo(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}l(fo,"checkBullet");function oC(e){const t=fo(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}l(oC,"checkBulletOther");function aC(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}l(aC,"checkBulletOrdered");function rf(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}l(rf,"checkRule");function lC(e,t,n,r){const i=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?aC(n):fo(n);const a=e.ordered?o==="."?")":".":oC(n);let u=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(u=!0),rf(n)===o&&p){let f=-1;for(;++f<e.children.length;){const h=e.children[f];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=a),n.bulletCurrent=o;const c=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=s,i(),c}l(lC,"list$1");function uC(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}l(uC,"checkListItemIndent");function cC(e,t,n,r){const i=uC(n);let s=n.bulletCurrent||fo(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let o=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const a=n.createTracker(r);a.move(s+" ".repeat(o-s.length)),a.shift(o);const u=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),p);return u(),c;function p(f,h,d){return h?(d?"":" ".repeat(o))+f:(d?s:s+" ".repeat(o-s.length))+f}l(p,"map")}l(cC,"listItem");function fC(e,t,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,r);return s(),i(),o}l(fC,"paragraph");const pC=dt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function hC(e,t,n,r){return(e.children.some(function(o){return pC(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}l(hC,"root");function dC(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}l(dC,"checkStrong"),sf.peek=mC;function sf(e,t,n,r){const i=dC(n),s=n.enter("strong"),o=n.createTracker(r);let a=o.move(i+i);return a+=o.move(n.containerPhrasing(e,{before:a,after:i,...o.current()})),a+=o.move(i+i),s(),a}l(sf,"strong");function mC(e,t,n){return n.options.strong||"*"}l(mC,"strongPeek");function gC(e,t,n,r){return n.safe(e.value,r)}l(gC,"text$3");function yC(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}l(yC,"checkRuleRepetition");function bC(e,t,n){const r=(rf(n)+(n.options.ruleSpaces?" ":"")).repeat(yC(n));return n.options.ruleSpaces?r.slice(0,-1):r}l(bC,"thematicBreak$1");const of={blockquote:BA,break:Vc,code:VA,definition:WA,emphasis:Wc,hardBreak:Vc,heading:ZA,html:Jc,image:Qc,imageReference:Xc,inlineCode:Zc,link:tf,linkReference:nf,list:lC,listItem:cC,paragraph:fC,root:hC,strong:sf,text:gC,thematicBreak:bC},af={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
293
|
-
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},wC={}.hasOwnProperty;function po(e){return wC.call(af,e)?af[e]:!1}l(po,"decodeNamedCharacterReference");function lf(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}l(lf,"decodeNumericCharacterReference");const kC=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function vC(e){return e.replace(kC,SC)}l(vC,"decodeString");function SC(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),s=i===120||i===88;return lf(n.slice(s?2:1),s?16:10)}return po(n)||e}l(SC,"decode");function xC(){return{enter:{table:AC,tableData:uf,tableHeader:uf,tableRow:TC},exit:{codeText:NC,table:CC,tableData:ho,tableHeader:ho,tableRow:ho}}}l(xC,"gfmTableFromMarkdown");function AC(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}l(AC,"enterTable");function CC(e){this.exit(e),this.data.inTable=void 0}l(CC,"exitTable");function TC(e){this.enter({type:"tableRow",children:[]},e)}l(TC,"enterRow");function ho(e){this.exit(e)}l(ho,"exit$1");function uf(e){this.enter({type:"tableCell",children:[]},e)}l(uf,"enterCell");function NC(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,EC));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}l(NC,"exitCodeText");function EC(e,t){return t==="|"?t:e}l(EC,"replace");function _C(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
294
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:
|
|
295
|
-
`))}function u(d,m,g,y){const w=g.enter("tableCell"),b=g.enter("phrasing"),S=g.containerPhrasing(d,{...y,before:s,after:s});return b(),w(),S}function c(d,m){return FA(d,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function p(d,m,g){const y=d.children;let w=-1;const b=[],S=m.enter("table");for(;++w<y.length;)b[w]=f(y[w],m,g);return S(),b}function f(d,m,g){const y=d.children;let w=-1;const b=[],S=m.enter("tableRow");for(;++w<y.length;)b[w]=u(y[w],d,m,g);return S(),b}function h(d,m,g){let y=of.inlineCode(d,m,g);return g.stack.includes("tableCell")&&(y=y.replace(/\|/g,"\\$&")),y}}l(_C,"gfmTableToMarkdown");function OC(){return{exit:{taskListCheckValueChecked:cf,taskListCheckValueUnchecked:cf,paragraph:IC}}}l(OC,"gfmTaskListItemFromMarkdown");function LC(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:DC}}}l(LC,"gfmTaskListItemToMarkdown");function cf(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}l(cf,"exitCheck");function IC(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let s=-1,o;for(;++s<i.length;){const a=i[s];if(a.type==="paragraph"){o=a;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}l(IC,"exitParagraphWithTaskListItem");function DC(e,t,n,r){const i=e.children[0],s=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);s&&a.move(o);let u=of.listItem(e,t,n,{...r,...a.current()});return s&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(p){return p+o}l(c,"check")}l(DC,"listItemWithTaskListItem");function RC(){return[oA(),bA(),IA(),xC(),OC()]}l(RC,"gfmFromMarkdown");function PC(e){return{extensions:[aA(),wA(),DA(),_C(e),LC()]}}l(PC,"gfmToMarkdown");function Fe(e,t,n,r){const i=e.length;let s=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}l(Fe,"splice");function Me(e,t){return e.length>0?(Fe(e,e.length,0,t),e):t}l(Me,"push");const ff={}.hasOwnProperty;function pf(e){const t={};let n=-1;for(;++n<e.length;)qC(t,e[n]);return t}l(pf,"combineExtensions");function qC(e,t){let n;for(n in t){const i=(ff.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){ff.call(i,o)||(i[o]=[]);const a=s[o];FC(i[o],Array.isArray(a)?a:a?[a]:[])}}}l(qC,"syntaxExtension");function FC(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Fe(e,0,0,r)}l(FC,"constructs");const MC={tokenize:HC,partial:!0},hf={tokenize:VC,partial:!0},df={tokenize:GC,partial:!0},mf={tokenize:WC,partial:!0},$C={tokenize:KC,partial:!0},gf={tokenize:zC,previous:bf},yf={tokenize:UC,previous:wf},lt={tokenize:jC,previous:kf},Xe={};function BC(){return{text:Xe}}l(BC,"gfmAutolinkLiteral");let Lt=48;for(;Lt<123;)Xe[Lt]=lt,Lt++,Lt===58?Lt=65:Lt===91&&(Lt=97);Xe[43]=lt,Xe[45]=lt,Xe[46]=lt,Xe[95]=lt,Xe[72]=[lt,yf],Xe[104]=[lt,yf],Xe[87]=[lt,gf],Xe[119]=[lt,gf];function jC(e,t,n){const r=this;let i,s;return o;function o(f){return!mo(f)||!kf.call(r,r.previous)||go(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return mo(f)?(e.consume(f),a):f===64?(e.consume(f),u):n(f)}function u(f){return f===46?e.check($C,p,c)(f):f===45||f===95||ke(f)?(s=!0,e.consume(f),u):p(f)}function c(f){return e.consume(f),i=!0,u}function p(f){return s&&i&&Se(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}l(jC,"tokenizeEmailAutolink");function zC(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!bf.call(r,r.previous)||go(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(MC,e.attempt(hf,e.attempt(df,s),n),n)(o))}function s(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}l(zC,"tokenizeWwwAutolink");function UC(e,t,n){const r=this;let i="",s=!1;return o;function o(f){return(f===72||f===104)&&wf.call(r,r.previous)&&!go(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),a):n(f)}function a(f){if(Se(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),a;if(f===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(f),u}return n(f)}function u(f){return f===47?(e.consume(f),s?c:(s=!0,u)):n(f)}function c(f){return f===null||Wr(f)||Z(f)||_t(f)||Kr(f)?n(f):e.attempt(hf,e.attempt(df,p),n)(f)}function p(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}l(UC,"tokenizeProtocolAutolink");function HC(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),s):n(o)}function s(o){return o===null?n(o):t(o)}}l(HC,"tokenizeWwwPrefix");function VC(e,t,n){let r,i,s;return o;function o(c){return c===46||c===95?e.check(mf,u,a)(c):c===null||Z(c)||_t(c)||c!==45&&Kr(c)?u(c):(s=!0,e.consume(c),o)}function a(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),o}function u(c){return i||r||!s?n(c):t(c)}}l(VC,"tokenizeDomain");function GC(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?s(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(mf,t,s)(o):o===null||Z(o)||_t(o)?t(o):(e.consume(o),i)}function s(o){return o===41&&r++,e.consume(o),i}}l(GC,"tokenizePath");function WC(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),s):a===93?(e.consume(a),i):a===60||a===null||Z(a)||_t(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||Z(a)||_t(a)?t(a):r(a)}function s(a){return Se(a)?o(a):n(a)}function o(a){return a===59?(e.consume(a),r):Se(a)?(e.consume(a),o):n(a)}}l(WC,"tokenizeTrail");function KC(e,t,n){return r;function r(s){return e.consume(s),i}function i(s){return ke(s)?n(s):t(s)}}l(KC,"tokenizeEmailDomainDotTrail");function bf(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Z(e)}l(bf,"previousWww");function wf(e){return!Se(e)}l(wf,"previousProtocol");function kf(e){return!(e===47||mo(e))}l(kf,"previousEmail");function mo(e){return e===43||e===45||e===46||e===95||ke(e)}l(mo,"gfmAtext");function go(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}l(go,"previousUnbalanced");function si(e){if(e===null||Z(e)||_t(e))return 1;if(Kr(e))return 2}l(si,"classifyCharacter");function oi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const s=e[i].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}l(oi,"resolveAll");const yo={name:"attention",tokenize:JC,resolveAll:YC};function YC(e,t){let n=-1,r,i,s,o,a,u,c,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),h=Object.assign({},e[n][1].start);vf(f,-u),vf(h,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},a={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h},s={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},a.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Me(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Me(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),c=Me(c,oi(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Me(c,[["exit",s,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,c=Me(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,Fe(e,r-1,n-r+3,c),n=r+c.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}l(YC,"resolveAllAttention");function JC(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=si(r);let s;return o;function o(u){return s=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===s)return e.consume(u),a;const c=e.exit("attentionSequence"),p=si(u),f=!p||p===2&&i||n.includes(u),h=!i||i===2&&p||n.includes(r);return c._open=!!(s===42?f:f&&(i||!h)),c._close=!!(s===42?h:h&&(p||!f)),t(u)}}l(JC,"tokenizeAttention");function vf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}l(vf,"movePoint");const QC={name:"autolink",tokenize:XC};function XC(e,t,n){let r=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(d){return Se(d)?(e.consume(d),o):d===64?n(d):c(d)}function o(d){return d===43||d===45||d===46||ke(d)?(r=1,a(d)):c(d)}function a(d){return d===58?(e.consume(d),r=0,u):(d===43||d===45||d===46||ke(d))&&r++<32?(e.consume(d),a):(r=0,c(d))}function u(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||Wr(d)?n(d):(e.consume(d),u)}function c(d){return d===64?(e.consume(d),p):bS(d)?(e.consume(d),c):n(d)}function p(d){return ke(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,p):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):h(d)}function h(d){if((d===45||ke(d))&&r++<63){const m=d===45?h:f;return e.consume(d),m}return n(d)}}l(XC,"tokenizeAutolink");function Y(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(u){return W(u)?(e.enter(n),a(u)):t(u)}function a(u){return W(u)&&s++<i?(e.consume(u),a):(e.exit(n),t(u))}}l(Y,"factorySpace");const Vn={tokenize:ZC,partial:!0};function ZC(e,t,n){return r;function r(s){return W(s)?Y(e,i,"linePrefix")(s):i(s)}function i(s){return s===null||B(s)?t(s):n(s)}}l(ZC,"tokenizeBlankLine");const Sf={name:"blockQuote",tokenize:eT,continuation:{tokenize:tT},exit:nT};function eT(e,t,n){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),s}return n(o)}function s(o){return W(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}l(eT,"tokenizeBlockQuoteStart");function tT(e,t,n){const r=this;return i;function i(o){return W(o)?Y(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):s(o)}function s(o){return e.attempt(Sf,t,n)(o)}}l(tT,"tokenizeBlockQuoteContinuation");function nT(e){e.exit("blockQuote")}l(nT,"exit");const xf={name:"characterEscape",tokenize:rT};function rT(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),i}function i(s){return kS(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}l(rT,"tokenizeCharacterEscape");const Af={name:"characterReference",tokenize:iT};function iT(e,t,n){const r=this;let i=0,s,o;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),s=31,o=ke,p(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,o=wS,p):(e.enter("characterReferenceValue"),s=7,o=qs,p(f))}function p(f){if(f===59&&i){const h=e.exit("characterReferenceValue");return o===ke&&!po(r.sliceSerialize(h))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&i++<s?(e.consume(f),p):n(f)}}l(iT,"tokenizeCharacterReference");const Cf={tokenize:oT,partial:!0},Tf={name:"codeFenced",tokenize:sT,concrete:!0};function sT(e,t,n){const r=this,i={tokenize:N,partial:!0};let s=0,o=0,a;return u;function u(A){return c(A)}function c(A){const E=r.events[r.events.length-1];return s=E&&E[1].type==="linePrefix"?E[2].sliceSerialize(E[1],!0).length:0,a=A,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(A)}function p(A){return A===a?(o++,e.consume(A),p):o<3?n(A):(e.exit("codeFencedFenceSequence"),W(A)?Y(e,f,"whitespace")(A):f(A))}function f(A){return A===null||B(A)?(e.exit("codeFencedFence"),r.interrupt?t(A):e.check(Cf,g,T)(A)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(A))}function h(A){return A===null||B(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(A)):W(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Y(e,d,"whitespace")(A)):A===96&&A===a?n(A):(e.consume(A),h)}function d(A){return A===null||B(A)?f(A):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(A))}function m(A){return A===null||B(A)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(A)):A===96&&A===a?n(A):(e.consume(A),m)}function g(A){return e.attempt(i,T,y)(A)}function y(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),w}function w(A){return s>0&&W(A)?Y(e,b,"linePrefix",s+1)(A):b(A)}function b(A){return A===null||B(A)?e.check(Cf,g,T)(A):(e.enter("codeFlowValue"),S(A))}function S(A){return A===null||B(A)?(e.exit("codeFlowValue"),b(A)):(e.consume(A),S)}function T(A){return e.exit("codeFenced"),t(A)}function N(A,E,$){let q=0;return x;function x(U){return A.enter("lineEnding"),A.consume(U),A.exit("lineEnding"),R}function R(U){return A.enter("codeFencedFence"),W(U)?Y(A,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):D(U)}function D(U){return U===a?(A.enter("codeFencedFenceSequence"),M(U)):$(U)}function M(U){return U===a?(q++,A.consume(U),M):q>=o?(A.exit("codeFencedFenceSequence"),W(U)?Y(A,Q,"whitespace")(U):Q(U)):$(U)}function Q(U){return U===null||B(U)?(A.exit("codeFencedFence"),E(U)):$(U)}}}l(sT,"tokenizeCodeFenced");function oT(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}l(oT,"tokenizeNonLazyContinuation$1");const bo={name:"codeIndented",tokenize:lT},aT={tokenize:uT,partial:!0};function lT(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Y(e,s,"linePrefix",5)(c)}function s(c){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?u(c):B(c)?e.attempt(aT,o,u)(c):(e.enter("codeFlowValue"),a(c))}function a(c){return c===null||B(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),a)}function u(c){return e.exit("codeIndented"),t(c)}}l(lT,"tokenizeCodeIndented");function uT(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):B(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Y(e,s,"linePrefix",5)(o)}function s(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):B(o)?i(o):n(o)}}l(uT,"tokenizeFurtherStart");const cT={name:"codeText",tokenize:hT,resolve:fT,previous:pT};function fT(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}l(fT,"resolveCodeText");function pT(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}l(pT,"previous$1");function hT(e,t,n){let r=0,i,s;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),a(f)}function a(f){return f===96?(e.consume(f),r++,a):(e.exit("codeTextSequence"),u(f))}function u(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),u):f===96?(s=e.enter("codeTextSequence"),i=0,p(f)):B(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||B(f)?(e.exit("codeTextData"),u(f)):(e.consume(f),c)}function p(f){return f===96?(e.consume(f),i++,p):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(s.type="codeTextData",c(f))}}l(hT,"tokenizeCodeText");class dT{static{l(this,"SpliceBuffer")}constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Gn(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Gn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Gn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Gn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Gn(this.left,n.reverse())}}}function Gn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}l(Gn,"chunkedPush");function Nf(e){const t={};let n=-1,r,i,s,o,a,u,c;const p=new dT(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,s=0,s<u.length&&u[s][1].type==="lineEndingBlank"&&(s+=2),s<u.length&&u[s][1].type==="content"))for(;++s<u.length&&u[s][1].type!=="content";)u[s][1].type==="chunkText"&&(u[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,mT(p,n)),n=t[n],c=!0);else if(r[1]._container){for(s=n,i=void 0;s--&&(o=p.get(s),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=s);i&&(r[1].end=Object.assign({},p.get(i)[1].start),a=p.slice(i,n),a.unshift(r),p.splice(i,n-i+1,a))}}return Fe(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!c}l(Nf,"subtokenize");function mT(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const s=[],o=n._tokenizer||r.parser[n.contentType](n.start),a=o.events,u=[],c={};let p,f,h=-1,d=n,m=0,g=0;const y=[g];for(;d;){for(;e.get(++i)[1]!==d;);s.push(i),d._tokenizer||(p=r.sliceStream(d),d.next||p.push(null),f&&o.defineSkip(d.start),d._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),d._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++h<a.length;)a[h][0]==="exit"&&a[h-1][0]==="enter"&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(g=h+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(o.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),h=y.length;h--;){const w=a.slice(y[h],y[h+1]),b=s.pop();u.push([b,b+w.length-1]),e.splice(b,2,w)}for(u.reverse(),h=-1;++h<u.length;)c[m+u[h][0]]=m+u[h][1],m+=u[h][1]-u[h][0]-1;return c}l(mT,"subcontent");const gT={tokenize:wT,resolve:bT},yT={tokenize:kT,partial:!0};function bT(e){return Nf(e),e}l(bT,"resolveContent");function wT(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?s(a):B(a)?e.check(yT,o,s)(a):(e.consume(a),i)}function s(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function o(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}l(wT,"tokenizeContent");function kT(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Y(e,s,"linePrefix")}function s(o){if(o===null||B(o))return n(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}l(kT,"tokenizeContinuation");function Ef(e,t,n,r,i,s,o,a,u){const c=u||Number.POSITIVE_INFINITY;let p=0;return f;function f(w){return w===60?(e.enter(r),e.enter(i),e.enter(s),e.consume(w),e.exit(s),h):w===null||w===32||w===41||Wr(w)?n(w):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),g(w))}function h(w){return w===62?(e.enter(s),e.consume(w),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(w))}function d(w){return w===62?(e.exit("chunkString"),e.exit(a),h(w)):w===null||w===60||B(w)?n(w):(e.consume(w),w===92?m:d)}function m(w){return w===60||w===62||w===92?(e.consume(w),d):d(w)}function g(w){return!p&&(w===null||w===41||Z(w))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(w)):p<c&&w===40?(e.consume(w),p++,g):w===41?(e.consume(w),p--,g):w===null||w===32||w===40||Wr(w)?n(w):(e.consume(w),w===92?y:g)}function y(w){return w===40||w===41||w===92?(e.consume(w),g):g(w)}}l(Ef,"factoryDestination");function _f(e,t,n,r,i,s){const o=this;let a=0,u;return c;function c(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),e.enter(s),p}function p(d){return a>999||d===null||d===91||d===93&&!u||d===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?n(d):d===93?(e.exit(s),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):B(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||B(d)||a++>999?(e.exit("chunkString"),p(d)):(e.consume(d),u||(u=!W(d)),d===92?h:f)}function h(d){return d===91||d===92||d===93?(e.consume(d),a++,f):f(d)}}l(_f,"factoryLabel");function Of(e,t,n,r,i,s){let o;return a;function a(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,u):n(h)}function u(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(s),c(h))}function c(h){return h===o?(e.exit(s),u(o)):h===null?n(h):B(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Y(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===o||h===null||B(h)?(e.exit("chunkString"),c(h)):(e.consume(h),h===92?f:p)}function f(h){return h===o||h===92?(e.consume(h),p):p(h)}}l(Of,"factoryTitle");function Wn(e,t){let n;return r;function r(i){return B(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):W(i)?Y(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}l(Wn,"factoryWhitespace");const vT={name:"definition",tokenize:xT},ST={tokenize:AT,partial:!0};function xT(e,t,n){const r=this;let i;return s;function s(d){return e.enter("definition"),o(d)}function o(d){return _f.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function a(d){return i=We(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),u):n(d)}function u(d){return Z(d)?Wn(e,c)(d):c(d)}function c(d){return Ef(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function p(d){return e.attempt(ST,f,f)(d)}function f(d){return W(d)?Y(e,h,"whitespace")(d):h(d)}function h(d){return d===null||B(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}l(xT,"tokenizeDefinition");function AT(e,t,n){return r;function r(a){return Z(a)?Wn(e,i)(a):n(a)}function i(a){return Of(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function s(a){return W(a)?Y(e,o,"whitespace")(a):o(a)}function o(a){return a===null||B(a)?t(a):n(a)}}l(AT,"tokenizeTitleBefore");const CT={name:"hardBreakEscape",tokenize:TT};function TT(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),i}function i(s){return B(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}l(TT,"tokenizeHardBreakEscape");const NT={name:"headingAtx",tokenize:_T,resolve:ET};function ET(e,t){let n=e.length-2,r=3,i,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Fe(e,r,n-r+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),e}l(ET,"resolveHeadingAtx");function _T(e,t,n){let r=0;return i;function i(p){return e.enter("atxHeading"),s(p)}function s(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&r++<6?(e.consume(p),o):p===null||Z(p)?(e.exit("atxHeadingSequence"),a(p)):n(p)}function a(p){return p===35?(e.enter("atxHeadingSequence"),u(p)):p===null||B(p)?(e.exit("atxHeading"),t(p)):W(p)?Y(e,a,"whitespace")(p):(e.enter("atxHeadingText"),c(p))}function u(p){return p===35?(e.consume(p),u):(e.exit("atxHeadingSequence"),a(p))}function c(p){return p===null||p===35||Z(p)?(e.exit("atxHeadingText"),a(p)):(e.consume(p),c)}}l(_T,"tokenizeHeadingAtx");const OT=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Lf=["pre","script","style","textarea"],LT={name:"htmlFlow",tokenize:PT,resolveTo:RT,concrete:!0},IT={tokenize:FT,partial:!0},DT={tokenize:qT,partial:!0};function RT(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}l(RT,"resolveToHtmlFlow");function PT(e,t,n){const r=this;let i,s,o,a,u;return c;function c(v){return p(v)}function p(v){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(v),f}function f(v){return v===33?(e.consume(v),h):v===47?(e.consume(v),s=!0,g):v===63?(e.consume(v),i=3,r.interrupt?t:C):Se(v)?(e.consume(v),o=String.fromCharCode(v),y):n(v)}function h(v){return v===45?(e.consume(v),i=2,d):v===91?(e.consume(v),i=5,a=0,m):Se(v)?(e.consume(v),i=4,r.interrupt?t:C):n(v)}function d(v){return v===45?(e.consume(v),r.interrupt?t:C):n(v)}function m(v){const F="CDATA[";return v===F.charCodeAt(a++)?(e.consume(v),a===F.length?r.interrupt?t:D:m):n(v)}function g(v){return Se(v)?(e.consume(v),o=String.fromCharCode(v),y):n(v)}function y(v){if(v===null||v===47||v===62||Z(v)){const F=v===47,K=o.toLowerCase();return!F&&!s&&Lf.includes(K)?(i=1,r.interrupt?t(v):D(v)):OT.includes(o.toLowerCase())?(i=6,F?(e.consume(v),w):r.interrupt?t(v):D(v)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(v):s?b(v):S(v))}return v===45||ke(v)?(e.consume(v),o+=String.fromCharCode(v),y):n(v)}function w(v){return v===62?(e.consume(v),r.interrupt?t:D):n(v)}function b(v){return W(v)?(e.consume(v),b):x(v)}function S(v){return v===47?(e.consume(v),x):v===58||v===95||Se(v)?(e.consume(v),T):W(v)?(e.consume(v),S):x(v)}function T(v){return v===45||v===46||v===58||v===95||ke(v)?(e.consume(v),T):N(v)}function N(v){return v===61?(e.consume(v),A):W(v)?(e.consume(v),N):S(v)}function A(v){return v===null||v===60||v===61||v===62||v===96?n(v):v===34||v===39?(e.consume(v),u=v,E):W(v)?(e.consume(v),A):$(v)}function E(v){return v===u?(e.consume(v),u=null,q):v===null||B(v)?n(v):(e.consume(v),E)}function $(v){return v===null||v===34||v===39||v===47||v===60||v===61||v===62||v===96||Z(v)?N(v):(e.consume(v),$)}function q(v){return v===47||v===62||W(v)?S(v):n(v)}function x(v){return v===62?(e.consume(v),R):n(v)}function R(v){return v===null||B(v)?D(v):W(v)?(e.consume(v),R):n(v)}function D(v){return v===45&&i===2?(e.consume(v),oe):v===60&&i===1?(e.consume(v),ue):v===62&&i===4?(e.consume(v),k):v===63&&i===3?(e.consume(v),C):v===93&&i===5?(e.consume(v),Be):B(v)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(IT,O,M)(v)):v===null||B(v)?(e.exit("htmlFlowData"),M(v)):(e.consume(v),D)}function M(v){return e.check(DT,Q,O)(v)}function Q(v){return e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),U}function U(v){return v===null||B(v)?M(v):(e.enter("htmlFlowData"),D(v))}function oe(v){return v===45?(e.consume(v),C):D(v)}function ue(v){return v===47?(e.consume(v),o="",se):D(v)}function se(v){if(v===62){const F=o.toLowerCase();return Lf.includes(F)?(e.consume(v),k):D(v)}return Se(v)&&o.length<8?(e.consume(v),o+=String.fromCharCode(v),se):D(v)}function Be(v){return v===93?(e.consume(v),C):D(v)}function C(v){return v===62?(e.consume(v),k):v===45&&i===2?(e.consume(v),C):D(v)}function k(v){return v===null||B(v)?(e.exit("htmlFlowData"),O(v)):(e.consume(v),k)}function O(v){return e.exit("htmlFlow"),t(v)}}l(PT,"tokenizeHtmlFlow");function qT(e,t,n){const r=this;return i;function i(o){return B(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):n(o)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}l(qT,"tokenizeNonLazyContinuationStart");function FT(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Vn,t,n)}}l(FT,"tokenizeBlankLineBefore");const MT={name:"htmlText",tokenize:$T};function $T(e,t,n){const r=this;let i,s,o;return a;function a(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),c):C===47?(e.consume(C),N):C===63?(e.consume(C),S):Se(C)?(e.consume(C),$):n(C)}function c(C){return C===45?(e.consume(C),p):C===91?(e.consume(C),s=0,m):Se(C)?(e.consume(C),b):n(C)}function p(C){return C===45?(e.consume(C),d):n(C)}function f(C){return C===null?n(C):C===45?(e.consume(C),h):B(C)?(o=f,ue(C)):(e.consume(C),f)}function h(C){return C===45?(e.consume(C),d):f(C)}function d(C){return C===62?oe(C):C===45?h(C):f(C)}function m(C){const k="CDATA[";return C===k.charCodeAt(s++)?(e.consume(C),s===k.length?g:m):n(C)}function g(C){return C===null?n(C):C===93?(e.consume(C),y):B(C)?(o=g,ue(C)):(e.consume(C),g)}function y(C){return C===93?(e.consume(C),w):g(C)}function w(C){return C===62?oe(C):C===93?(e.consume(C),w):g(C)}function b(C){return C===null||C===62?oe(C):B(C)?(o=b,ue(C)):(e.consume(C),b)}function S(C){return C===null?n(C):C===63?(e.consume(C),T):B(C)?(o=S,ue(C)):(e.consume(C),S)}function T(C){return C===62?oe(C):S(C)}function N(C){return Se(C)?(e.consume(C),A):n(C)}function A(C){return C===45||ke(C)?(e.consume(C),A):E(C)}function E(C){return B(C)?(o=E,ue(C)):W(C)?(e.consume(C),E):oe(C)}function $(C){return C===45||ke(C)?(e.consume(C),$):C===47||C===62||Z(C)?q(C):n(C)}function q(C){return C===47?(e.consume(C),oe):C===58||C===95||Se(C)?(e.consume(C),x):B(C)?(o=q,ue(C)):W(C)?(e.consume(C),q):oe(C)}function x(C){return C===45||C===46||C===58||C===95||ke(C)?(e.consume(C),x):R(C)}function R(C){return C===61?(e.consume(C),D):B(C)?(o=R,ue(C)):W(C)?(e.consume(C),R):q(C)}function D(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),i=C,M):B(C)?(o=D,ue(C)):W(C)?(e.consume(C),D):(e.consume(C),Q)}function M(C){return C===i?(e.consume(C),i=void 0,U):C===null?n(C):B(C)?(o=M,ue(C)):(e.consume(C),M)}function Q(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===47||C===62||Z(C)?q(C):(e.consume(C),Q)}function U(C){return C===47||C===62||Z(C)?q(C):n(C)}function oe(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}function ue(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),se}function se(C){return W(C)?Y(e,Be,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):Be(C)}function Be(C){return e.enter("htmlTextData"),o(C)}}l($T,"tokenizeHtmlText");const wo={name:"labelEnd",tokenize:VT,resolveTo:HT,resolveAll:UT},BT={tokenize:GT},jT={tokenize:WT},zT={tokenize:KT};function UT(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}l(UT,"resolveAllLabelEnd");function HT(e,t){let n=e.length,r=0,i,s,o,a;for(;n--;)if(i=e[n][1],s){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(s=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const u={type:e[s][1].type==="labelLink"?"link":"image",start:Object.assign({},e[s][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[s][1].start),end:Object.assign({},e[o][1].end)},p={type:"labelText",start:Object.assign({},e[s+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return a=[["enter",u,t],["enter",c,t]],a=Me(a,e.slice(s+1,s+r+3)),a=Me(a,[["enter",p,t]]),a=Me(a,oi(t.parser.constructs.insideSpan.null,e.slice(s+r+4,o-3),t)),a=Me(a,[["exit",p,t],e[o-2],e[o-1],["exit",c,t]]),a=Me(a,e.slice(o+1)),a=Me(a,[["exit",u,t]]),Fe(e,s,e.length,a),e}l(HT,"resolveToLabelEnd");function VT(e,t,n){const r=this;let i=r.events.length,s,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){s=r.events[i][1];break}return a;function a(h){return s?s._inactive?f(h):(o=r.parser.defined.includes(We(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),u):n(h)}function u(h){return h===40?e.attempt(BT,p,o?p:f)(h):h===91?e.attempt(jT,p,o?c:f)(h):o?p(h):f(h)}function c(h){return e.attempt(zT,p,f)(h)}function p(h){return t(h)}function f(h){return s._balanced=!0,n(h)}}l(VT,"tokenizeLabelEnd");function GT(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return Z(f)?Wn(e,s)(f):s(f)}function s(f){return f===41?p(f):Ef(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return Z(f)?Wn(e,u)(f):p(f)}function a(f){return n(f)}function u(f){return f===34||f===39||f===40?Of(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):p(f)}function c(f){return Z(f)?Wn(e,p)(f):p(f)}function p(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}l(GT,"tokenizeResource");function WT(e,t,n){const r=this;return i;function i(a){return _f.call(r,e,s,o,"reference","referenceMarker","referenceString")(a)}function s(a){return r.parser.defined.includes(We(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function o(a){return n(a)}}l(WT,"tokenizeReferenceFull");function KT(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),i}function i(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}l(KT,"tokenizeReferenceCollapsed");const YT={name:"labelStartImage",tokenize:JT,resolveAll:wo.resolveAll};function JT(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),s}function s(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),o):n(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}l(JT,"tokenizeLabelStartImage");const QT={name:"labelStartLink",tokenize:XT,resolveAll:wo.resolveAll};function XT(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),s}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}l(XT,"tokenizeLabelStartLink");const ko={name:"lineEnding",tokenize:ZT};function ZT(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Y(e,t,"linePrefix")}}l(ZT,"tokenizeLineEnding");const ai={name:"thematicBreak",tokenize:eN};function eN(e,t,n){let r=0,i;return s;function s(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,a(c)}function a(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||B(c))?(e.exit("thematicBreak"),t(c)):n(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),W(c)?Y(e,a,"whitespace")(c):a(c))}}l(eN,"tokenizeThematicBreak");const Ne={name:"list",tokenize:rN,continuation:{tokenize:iN},exit:oN},tN={tokenize:aN,partial:!0},nN={tokenize:sN,partial:!0};function rN(e,t,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(d){const m=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:qs(d)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(ai,n,c)(d):c(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(d)}return n(d)}function u(d){return qs(d)&&++o<10?(e.consume(d),u):(!r.interrupt||o<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),c(d)):n(d)}function c(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(Vn,r.interrupt?n:p,e.attempt(tN,h,f))}function p(d){return r.containerState.initialBlankLine=!0,s++,h(d)}function f(d){return W(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),h):n(d)}function h(d){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}l(rN,"tokenizeListStart");function iN(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Vn,i,s);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Y(e,t,"listItemIndent",r.containerState.size+1)(a)}l(i,"onBlank");function s(a){return r.containerState.furtherBlankLines||!W(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(nN,t,o)(a))}l(s,"notBlank");function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Y(e,e.attempt(Ne,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}l(o,"notInCurrentItem")}l(iN,"tokenizeListContinuation");function sN(e,t,n){const r=this;return Y(e,i,"listItemIndent",r.containerState.size+1);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(s):n(s)}}l(sN,"tokenizeIndent$1");function oN(e){e.exit(this.containerState.type)}l(oN,"tokenizeListEnd");function aN(e,t,n){const r=this;return Y(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const o=r.events[r.events.length-1];return!W(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}l(aN,"tokenizeListItemPrefixWhitespace");const If={name:"setextUnderline",tokenize:uN,resolveTo:lN};function lN(e,t){let n=e.length,r,i,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",s?(e.splice(i,0,["enter",o,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[s][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}l(lN,"resolveToSetextUnderline");function uN(e,t,n){const r=this;let i;return s;function s(c){let p=r.events.length,f;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){f=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),W(c)?Y(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||B(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}l(uN,"tokenizeSetextUnderline");const cN={tokenize:bN,partial:!0};function fN(){return{document:{91:{tokenize:mN,continuation:{tokenize:gN},exit:yN}},text:{91:{tokenize:dN},93:{add:"after",tokenize:pN,resolveTo:hN}}}}l(fN,"gfmFootnote");function pN(e,t,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return a;function a(u){if(!o||!o._balanced)return n(u);const c=We(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!s.includes(c.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}l(pN,"tokenizePotentialGfmFootnoteCall");function hN(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}l(hN,"resolveToPotentialGfmFootnoteCall");function dN(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,o;return a;function a(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(s>999||f===93&&!o||f===null||f===91||Z(f))return n(f);if(f===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(We(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Z(f)||(o=!0),s++,e.consume(f),f===92?p:c}function p(f){return f===91||f===92||f===93?(e.consume(f),s++,c):c(f)}}l(dN,"tokenizeGfmFootnoteCall");function mN(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o=0,a;return u;function u(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(m)}function p(m){if(o>999||m===93&&!a||m===null||m===91||Z(m))return n(m);if(m===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return s=We(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return Z(m)||(a=!0),o++,e.consume(m),m===92?f:p}function f(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}function h(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(s)||i.push(s),Y(e,d,"gfmFootnoteDefinitionWhitespace")):n(m)}function d(m){return t(m)}}l(mN,"tokenizeDefinitionStart");function gN(e,t,n){return e.check(Vn,t,e.attempt(cN,t,n))}l(gN,"tokenizeDefinitionContinuation");function yN(e){e.exit("gfmFootnoteDefinition")}l(yN,"gfmFootnoteDefinitionEnd");function bN(e,t,n){const r=this;return Y(e,i,"gfmFootnoteDefinitionIndent",5);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}l(bN,"tokenizeIndent");function wN(e){let n=(e||{}).singleTilde;const r={tokenize:s,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,a){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let c=u;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[u][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[u][1].end)},f={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[u][1].start)},h=[["enter",p,a],["enter",o[c][1],a],["exit",o[c][1],a],["enter",f,a]],d=a.parser.constructs.insideSpan.null;d&&Fe(h,h.length,0,oi(d,o.slice(c+1,u),a)),Fe(h,h.length,0,[["exit",f,a],["enter",o[u][1],a],["exit",o[u][1],a],["exit",p,a]]),Fe(o,c-1,u-c+3,h),u=c+h.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}l(i,"resolveAllStrikethrough");function s(o,a,u){const c=this.previous,p=this.events;let f=0;return h;function h(m){return c===126&&p[p.length-1][1].type!=="characterEscape"?u(m):(o.enter("strikethroughSequenceTemporary"),d(m))}function d(m){const g=si(c);if(m===126)return f>1?u(m):(o.consume(m),f++,d);if(f<2&&!n)return u(m);const y=o.exit("strikethroughSequenceTemporary"),w=si(m);return y._open=!w||w===2&&!!g,y._close=!g||g===2&&!!w,a(m)}}l(s,"tokenizeStrikethrough")}l(wN,"gfmStrikethrough");class kN{static{l(this,"EditMap")}constructor(){this.map=[]}add(t,n,r){vN(this,t,n,r)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function vN(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}l(vN,"addImpl");function SN(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}l(SN,"gfmTableAlign");function xN(){return{flow:{null:{tokenize:AN,resolveAll:CN}}}}l(xN,"gfmTable");function AN(e,t,n){const r=this;let i=0,s=0,o;return a;function a(x){let R=r.events.length-1;for(;R>-1;){const Q=r.events[R][1].type;if(Q==="lineEnding"||Q==="linePrefix")R--;else break}const D=R>-1?r.events[R][1].type:null,M=D==="tableHead"||D==="tableRow"?A:u;return M===A&&r.parser.lazy[r.now().line]?n(x):M(x)}function u(x){return e.enter("tableHead"),e.enter("tableRow"),c(x)}function c(x){return x===124||(o=!0,s+=1),p(x)}function p(x){return x===null?n(x):B(x)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),d):n(x):W(x)?Y(e,p,"whitespace")(x):(s+=1,o&&(o=!1,i+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),f(x)))}function f(x){return x===null||x===124||Z(x)?(e.exit("data"),p(x)):(e.consume(x),x===92?h:f)}function h(x){return x===92||x===124?(e.consume(x),f):f(x)}function d(x){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(x):(e.enter("tableDelimiterRow"),o=!1,W(x)?Y(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):m(x))}function m(x){return x===45||x===58?y(x):x===124?(o=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),g):N(x)}function g(x){return W(x)?Y(e,y,"whitespace")(x):y(x)}function y(x){return x===58?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),w):x===45?(s+=1,w(x)):x===null||B(x)?T(x):N(x)}function w(x){return x===45?(e.enter("tableDelimiterFiller"),b(x)):N(x)}function b(x){return x===45?(e.consume(x),b):x===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),S):(e.exit("tableDelimiterFiller"),S(x))}function S(x){return W(x)?Y(e,T,"whitespace")(x):T(x)}function T(x){return x===124?m(x):x===null||B(x)?!o||i!==s?N(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(x)):N(x)}function N(x){return n(x)}function A(x){return e.enter("tableRow"),E(x)}function E(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),E):x===null||B(x)?(e.exit("tableRow"),t(x)):W(x)?Y(e,E,"whitespace")(x):(e.enter("data"),$(x))}function $(x){return x===null||x===124||Z(x)?(e.exit("data"),E(x)):(e.consume(x),x===92?q:$)}function q(x){return x===92||x===124?(e.consume(x),$):$(x)}}l(AN,"tokenizeTable");function CN(e,t){let n=-1,r=!0,i=0,s=[0,0,0,0],o=[0,0,0,0],a=!1,u=0,c,p,f;const h=new kN;for(;++n<e.length;){const d=e[n],m=d[1];d[0]==="enter"?m.type==="tableHead"?(a=!1,u!==0&&(Df(h,t,u,c,p),p=void 0,u=0),c={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(n,0,[["enter",c,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,f=void 0,s=[0,0,0,0],o=[0,n+1,0,0],a&&(a=!1,p={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(n,0,[["enter",p,t]])),i=m.type==="tableDelimiterRow"?2:p?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(s[1]!==0&&(o[0]=o[1],f=li(h,t,s,i,void 0,f),s=[0,0,0,0]),o[2]=n)):m.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(o[0]=o[1],f=li(h,t,s,i,void 0,f)),s=o,o=[s[1],n,0,0])):m.type==="tableHead"?(a=!0,u=n):m.type==="tableRow"||m.type==="tableDelimiterRow"?(u=n,s[1]!==0?(o[0]=o[1],f=li(h,t,s,i,n,f)):o[1]!==0&&(f=li(h,t,o,i,n,f)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(o[3]=n)}for(u!==0&&Df(h,t,u,c,p),h.consume(t.events),n=-1;++n<t.events.length;){const d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=SN(t.events,n))}return e}l(CN,"resolveTable");function li(e,t,n,r,i,s){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(s.end=Object.assign({},hn(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const u=hn(t.events,n[1]);if(s={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const c=hn(t.events,n[2]),p=hn(t.events,n[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const h=t.events[n[2]],d=t.events[n[3]];if(h[1].end=Object.assign({},d[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const m=n[2]+1,g=n[3]-n[2]-1;e.add(m,g,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(s.end=Object.assign({},hn(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}l(li,"flushCell");function Df(e,t,n,r,i){const s=[],o=hn(t.events,n);i&&(i.end=Object.assign({},o),s.push(["exit",i,t])),r.end=Object.assign({},o),s.push(["exit",r,t]),e.add(n+1,0,s)}l(Df,"flushTableEnd");function hn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}l(hn,"getPoint");const TN={tokenize:EN};function NN(){return{text:{91:TN}}}l(NN,"gfmTaskListItem");function EN(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),s)}function s(u){return Z(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):n(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(u)}function a(u){return B(u)?t(u):W(u)?e.check({tokenize:_N},t,n)(u):n(u)}}l(EN,"tokenizeTasklistCheck");function _N(e,t,n){return Y(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}l(_N,"spaceThenNonSpace");function ON(e){return pf([BC(),fN(),wN(e),xN(),NN()])}l(ON,"gfm");const LN={};function IN(e){const t=this,n=e||LN,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(ON(n)),s.push(RC()),o.push(PC(n))}l(IN,"remarkGfm");const vo={classNameMaps:{block:"admonition",title:"admonition-title"},titleFilter:["[!NOTE]","[!IMPORTANT]","[!WARNING]","[!TIP]","[!CAUTION]"],titleTextMap:e=>({displayTitle:e.substring(2,e.length-1),checkedTitle:e.substring(2,e.length-1)}),dataMaps:{block:e=>e,title:e=>e},titleKeepTrailingWhitespaces:!1,legacyTitle:!1},DN={...vo,titleFilter:["Note","Warning"],titleTextMap:e=>({displayTitle:e,checkedTitle:e}),legacyTitle:!1,titleLift:!1,titleLiftWhitespaces:()=>"",titleUnwrap:!1};function Kn(e){return t=>{const n=typeof e=="function"?e(t):e;return typeof n=="object"?n.join(" "):n}}l(Kn,"classNameMap");function So(e){return t=>typeof e=="function"?e(t):e.includes(t)}l(So,"nameFilter");const RN=l(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children.length<=0||n.children[0].type!="paragraph")return;const r=n.children[0];if(r.children.length<=0||r.children[0].type!="strong")return;const i=r.children[0];if(i.children.length!=1||i.children[0].type!="text")return;const s=i.children[0],o=s.value;if(!So(e.titleFilter)(o))return;const{displayTitle:a,checkedTitle:u}=e.titleTextMap(o);if(s.value=a,n.data=e.dataMaps.block({...n.data,hProperties:{className:Kn(e.classNameMaps.block)(u)}}),i.data=e.dataMaps.title({...i.data,hProperties:{className:Kn(e.classNameMaps.title)(u)}}),e.titleLift){const c=r.children.splice(0,1)[0];let p;e.titleUnwrap?p={type:"paragraph",children:[{type:"text",value:a}],data:e.dataMaps.title({hProperties:{className:Kn(e.classNameMaps.title)(u)}})}:p={type:"paragraph",children:[c]},n.children.unshift(p);const f=r;if(f.children.length>0&&f.children[0].type=="text"){const h=f.children[0],m=/^[ \t\n\v\f\r]*/.exec(h.value),g=m?m[0]:"";h.value=e.titleLiftWhitespaces(g)+h.value.slice(g.length)}}},"handleNode$1"),PN=l(function(...e){const t=e.reduce((r,i)=>({...r,...i}),{}),n=t?.legacyTitle??vo.legacyTitle;return r=>{de(r,n?RN({...DN,...t}):qN({...vo,...t}))}},"plugin"),qN=l(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children[0]?.type!="paragraph")return;const r=n.children[0];if(r.children[0]?.type!="text")return;const i=r.children[0];let s;const o=i.value.indexOf(`
|
|
296
|
-
`);if(o<0){if(r.children.length>1)if(r.children.at(1)?.type=="break")r.children.splice(1,1);else return;if(s=i.value,!
|
|
297
|
-
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(s,o,a,u){const c=s.value||"",
|
|
298
|
-
`,before:d,encode:["$"],...
|
|
299
|
-
`),c&&(d+=
|
|
300
|
-
`)),d+=p.move(f),h(),d}l(n,"math");function r(s,o,a){let u=s.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(u);)c++;const p="$".repeat(c);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let f=-1;for(;++f<a.unsafe.length;){const h=a.unsafe[f];if(!h.atBreak)continue;const d=a.compilePattern(h);let m;for(;m=d.exec(u);){let g=m.index;u.codePointAt(g)===10&&u.codePointAt(g-1)===13&&g--,u=u.slice(0,g)+" "+u.slice(m.index+1)}}return p+u+p}l(r,"inlineMath");function i(){return"$"}l(i,"inlineMathPeek")}l(MN,"mathToMarkdown");const $N={tokenize:BN,concrete:!0},Rf={tokenize:jN,partial:!0};function BN(e,t,n){const r=this,i=r.events[r.events.length-1],s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let o=0;return a;function a(b){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(b)}function u(b){return b===36?(e.consume(b),o++,u):o<2?n(b):(e.exit("mathFlowFenceSequence"),Y(e,c,"whitespace")(b))}function c(b){return b===null||B(b)?f(b):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||B(b)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(b)):b===36?n(b):(e.consume(b),p)}function f(b){return e.exit("mathFlowFence"),r.interrupt?t(b):e.attempt(Rf,h,y)(b)}function h(b){return e.attempt({tokenize:w,partial:!0},y,d)(b)}function d(b){return(s?Y(e,m,"linePrefix",s+1):m)(b)}function m(b){return b===null?y(b):B(b)?e.attempt(Rf,h,y)(b):(e.enter("mathFlowValue"),g(b))}function g(b){return b===null||B(b)?(e.exit("mathFlowValue"),m(b)):(e.consume(b),g)}function y(b){return e.exit("mathFlow"),t(b)}function w(b,S,T){let N=0;return Y(b,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function A(q){return b.enter("mathFlowFence"),b.enter("mathFlowFenceSequence"),E(q)}function E(q){return q===36?(N++,b.consume(q),E):N<o?T(q):(b.exit("mathFlowFenceSequence"),Y(b,$,"whitespace")(q))}function $(q){return q===null||B(q)?(b.exit("mathFlowFence"),S(q)):T(q)}}}l(BN,"tokenizeMathFenced");function jN(e,t,n){const r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}l(jN,"tokenizeNonLazyContinuation");function zN(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:UN,previous:HN};function r(i,s,o){let a=0,u,c;return p;function p(g){return i.enter("mathText"),i.enter("mathTextSequence"),f(g)}function f(g){return g===36?(i.consume(g),a++,f):a<2&&!n?o(g):(i.exit("mathTextSequence"),h(g))}function h(g){return g===null?o(g):g===36?(c=i.enter("mathTextSequence"),u=0,m(g)):g===32?(i.enter("space"),i.consume(g),i.exit("space"),h):B(g)?(i.enter("lineEnding"),i.consume(g),i.exit("lineEnding"),h):(i.enter("mathTextData"),d(g))}function d(g){return g===null||g===32||g===36||B(g)?(i.exit("mathTextData"),h(g)):(i.consume(g),d)}function m(g){return g===36?(i.consume(g),u++,m):u===a?(i.exit("mathTextSequence"),i.exit("mathText"),s(g)):(c.type="mathTextData",d(g))}}l(r,"tokenizeMathText")}l(zN,"mathText");function UN(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="mathTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}l(UN,"resolveMathText");function HN(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}l(HN,"previous");function VN(e){return{flow:{36:$N},text:{36:zN(e)}}}l(VN,"math");const GN={};function WN(e){const t=this,n=e||GN,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(VN(n)),s.push(FN()),o.push(MN(n))}l(WN,"remarkMath");const KN={tokenize:YN};function YN(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Y(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),s(a)}function s(a){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return B(a)?(e.consume(a),e.exit("chunkText"),s):(e.consume(a),o)}}l(YN,"initializeContent");const JN={tokenize:QN},Pf={tokenize:XN};function QN(e){const t=this,n=[];let r=0,i,s,o;return a;function a(S){if(r<n.length){const T=n[r];return t.containerState=T[1],e.attempt(T[0].continuation,u,c)(S)}return c(S)}function u(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&b();const T=t.events.length;let N=T,A;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){A=t.events[N][1].end;break}w(r);let E=T;for(;E<t.events.length;)t.events[E][1].end=Object.assign({},A),E++;return Fe(t.events,N+1,0,t.events.slice(T)),t.events.length=E,c(S)}return a(S)}function c(S){if(r===n.length){if(!i)return h(S);if(i.currentConstruct&&i.currentConstruct.concrete)return m(S);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Pf,p,f)(S)}function p(S){return i&&b(),w(r),h(S)}function f(S){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(S)}function h(S){return t.containerState={},e.attempt(Pf,d,m)(S)}function d(S){return r++,n.push([t.currentConstruct,t.containerState]),h(S)}function m(S){if(S===null){i&&b(),w(0),e.consume(S);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:s,_tokenizer:i}),g(S)}function g(S){if(S===null){y(e.exit("chunkFlow"),!0),w(0),e.consume(S);return}return B(S)?(e.consume(S),y(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(S),g)}function y(S,T){const N=t.sliceStream(S);if(T&&N.push(null),S.previous=s,s&&(s.next=S),s=S,i.defineSkip(S.start),i.write(N),t.parser.lazy[S.start.line]){let A=i.events.length;for(;A--;)if(i.events[A][1].start.offset<o&&(!i.events[A][1].end||i.events[A][1].end.offset>o))return;const E=t.events.length;let $=E,q,x;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){if(q){x=t.events[$][1].end;break}q=!0}for(w(r),A=E;A<t.events.length;)t.events[A][1].end=Object.assign({},x),A++;Fe(t.events,$+1,0,t.events.slice(E)),t.events.length=A}}function w(S){let T=n.length;for(;T-- >S;){const N=n[T];t.containerState=N[1],N[0].exit.call(t,e)}n.length=S}function b(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}l(QN,"initializeDocument");function XN(e,t,n){return Y(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}l(XN,"tokenizeContainer");const ZN={tokenize:eE};function eE(e){const t=this,n=e.attempt(Vn,r,e.attempt(this.parser.constructs.flowInitial,i,Y(e,e.attempt(this.parser.constructs.flow,i,e.attempt(gT,i)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}l(eE,"initializeFlow");const tE={resolveAll:Ff()},nE=qf("string"),rE=qf("text");function qf(e){return{tokenize:t,resolveAll:Ff(e==="text"?iE:void 0)};function t(n){const r=this,i=this.parser.constructs[e],s=n.attempt(i,o,a);return o;function o(p){return c(p)?s(p):a(p)}function a(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),u}function u(p){return c(p)?(n.exit("data"),s(p)):(n.consume(p),u)}function c(p){if(p===null)return!0;const f=i[p];let h=-1;if(f)for(;++h<f.length;){const d=f[h];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}l(qf,"initializeFactory");function Ff(e){return t;function t(n,r){let i=-1,s;for(;++i<=n.length;)s===void 0?n[i]&&n[i][1].type==="data"&&(s=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==s+2&&(n[s][1].end=n[i-1][1].end,n.splice(s+2,i-s-2),i=s+2),s=void 0);return e?e(n,r):n}}l(Ff,"createResolver");function iE(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let s=i.length,o=-1,a=0,u;for(;s--;){const c=i[s];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(c===-2)u=!0,a++;else if(c!==-1){s++;break}}if(a){const c={type:n===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+s,_bufferIndex:s?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}l(iE,"resolveAllLineSuffixes");function sE(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},s=[];let o=[],a=[];const u={consume:b,enter:S,exit:T,attempt:E(N),check:E(A),interrupt:E(A,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:h,now:m,defineSkip:g,write:f};let p=t.tokenize.call(c,u);return t.resolveAll&&s.push(t),c;function f(R){return o=Me(o,R),y(),o[o.length-1]!==null?[]:($(t,0),c.events=oi(s,c.events,c),c.events)}l(f,"write");function h(R,D){return aE(d(R),D)}l(h,"sliceSerialize");function d(R){return oE(o,R)}l(d,"sliceStream");function m(){const{line:R,column:D,offset:M,_index:Q,_bufferIndex:U}=r;return{line:R,column:D,offset:M,_index:Q,_bufferIndex:U}}l(m,"now");function g(R){i[R.line]=R.column,x()}l(g,"defineSkip");function y(){let R;for(;r._index<o.length;){const D=o[r._index];if(typeof D=="string")for(R=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===R&&r._bufferIndex<D.length;)w(D.charCodeAt(r._bufferIndex));else w(D)}}l(y,"main");function w(R){p=p(R)}l(w,"go");function b(R){B(R)?(r.line++,r.column=1,r.offset+=R===-3?2:1,x()):R!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=R}l(b,"consume");function S(R,D){const M=D||{};return M.type=R,M.start=m(),c.events.push(["enter",M,c]),a.push(M),M}l(S,"enter");function T(R){const D=a.pop();return D.end=m(),c.events.push(["exit",D,c]),D}l(T,"exit");function N(R,D){$(R,D.from)}l(N,"onsuccessfulconstruct");function A(R,D){D.restore()}l(A,"onsuccessfulcheck");function E(R,D){return M;function M(Q,U,oe){let ue,se,Be,C;return Array.isArray(Q)?O(Q):"tokenize"in Q?O([Q]):k(Q);function k(j){return ne;function ne(ve){const tt=ve!==null&&j[ve],nt=ve!==null&&j.null,Rt=[...Array.isArray(tt)?tt:tt?[tt]:[],...Array.isArray(nt)?nt:nt?[nt]:[]];return O(Rt)(ve)}}function O(j){return ue=j,se=0,j.length===0?oe:v(j[se])}function v(j){return ne;function ne(ve){return C=q(),Be=j,j.partial||(c.currentConstruct=j),j.name&&c.parser.constructs.disable.null.includes(j.name)?K():j.tokenize.call(D?Object.assign(Object.create(c),D):c,u,F,K)(ve)}}function F(j){return R(Be,C),U}function K(j){return C.restore(),++se<ue.length?v(ue[se]):oe}}}l(E,"constructFactory");function $(R,D){R.resolveAll&&!s.includes(R)&&s.push(R),R.resolve&&Fe(c.events,D,c.events.length-D,R.resolve(c.events.slice(D),c)),R.resolveTo&&(c.events=R.resolveTo(c.events,c))}l($,"addResult");function q(){const R=m(),D=c.previous,M=c.currentConstruct,Q=c.events.length,U=Array.from(a);return{restore:oe,from:Q};function oe(){r=R,c.previous=D,c.currentConstruct=M,c.events.length=Q,a=U,x()}}l(q,"store");function x(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}l(x,"accountForPotentialSkip")}l(sE,"createTokenizer");function oE(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,s=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,s)];else{if(o=e.slice(n,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}s>0&&o.push(e[i].slice(0,s))}return o}l(oE,"sliceChunks");function aE(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const s=e[n];let o;if(typeof s=="string")o=s;else switch(s){case-5:{o="\r";break}case-4:{o=`
|
|
293
|
+
`,...s.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),u(),a(),c}l(lC,"heading"),sf.peek=uC;function sf(e){return e.value||""}l(sf,"html");function uC(){return"<"}l(uC,"htmlPeek"),of.peek=cC;function of(e,t,n,r){const i=wo(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let a=n.enter("label");const u=n.createTracker(r);let c=u.move("![");return c+=u.move(n.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(a=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),a()),c+=u.move(")"),o(),c}l(of,"image");function cC(){return"!"}l(cC,"imagePeek"),af.peek=fC;function af(e,t,n,r){const i=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let u=a.move("![");const c=n.safe(e.alt,{before:u,after:"]",...a.current()});u+=a.move(c+"]["),o();const h=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return o(),n.stack=h,s(),i==="full"||!c||c!==f?u+=a.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}l(af,"imageReference");function fC(){return"!"}l(fC,"imageReferencePeek"),lf.peek=hC;function lf(e,t,n){let r=e.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const o=n.unsafe[s],a=n.compilePattern(o);let u;if(o.atBreak)for(;u=a.exec(r);){let c=u.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(u.index+1)}}return i+r+i}l(lf,"inlineCode");function hC(){return"`"}l(hC,"inlineCodePeek");function uf(e,t){const n=ko(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}l(uf,"formatLinkAsAutolink"),cf.peek=pC;function cf(e,t,n,r){const i=wo(n),s=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let a,u;if(uf(e,n)){const h=n.stack;n.stack=[],a=n.enter("autolink");let f=o.move("<");return f+=o.move(n.containerPhrasing(e,{before:f,after:">",...o.current()})),f+=o.move(">"),a(),n.stack=h,f}a=n.enter("link"),u=n.enter("label");let c=o.move("[");return c+=o.move(n.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(u=n.enter("destinationRaw"),c+=o.move(n.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=n.enter(`title${s}`),c+=o.move(" "+i),c+=o.move(n.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),u()),c+=o.move(")"),a(),c}l(cf,"link");function pC(e,t,n){return uf(e,n)?"<":"["}l(pC,"linkPeek"),ff.peek=dC;function ff(e,t,n,r){const i=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let u=a.move("[");const c=n.containerPhrasing(e,{before:u,after:"]",...a.current()});u+=a.move(c+"]["),o();const h=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return o(),n.stack=h,s(),i==="full"||!c||c!==f?u+=a.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}l(ff,"linkReference");function dC(){return"["}l(dC,"linkReferencePeek");function vo(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}l(vo,"checkBullet");function mC(e){const t=vo(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}l(mC,"checkBulletOther");function gC(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}l(gC,"checkBulletOrdered");function hf(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}l(hf,"checkRule");function yC(e,t,n,r){const i=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?gC(n):vo(n);const a=e.ordered?o==="."?")":".":mC(n);let u=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&h&&(!h.children||!h.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(u=!0),hf(n)===o&&h){let f=-1;for(;++f<e.children.length;){const p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=a),n.bulletCurrent=o;const c=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=s,i(),c}l(yC,"list$1");function bC(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}l(bC,"checkListItemIndent");function wC(e,t,n,r){const i=bC(n);let s=n.bulletCurrent||vo(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let o=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const a=n.createTracker(r);a.move(s+" ".repeat(o-s.length)),a.shift(o);const u=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),h);return u(),c;function h(f,p,d){return p?(d?"":" ".repeat(o))+f:(d?s:s+" ".repeat(o-s.length))+f}l(h,"map")}l(wC,"listItem");function kC(e,t,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,r);return s(),i(),o}l(kC,"paragraph");const vC=pt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function SC(e,t,n,r){return(e.children.some(function(o){return vC(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}l(SC,"root");function xC(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}l(xC,"checkStrong"),pf.peek=AC;function pf(e,t,n,r){const i=xC(n),s=n.enter("strong"),o=n.createTracker(r);let a=o.move(i+i);return a+=o.move(n.containerPhrasing(e,{before:a,after:i,...o.current()})),a+=o.move(i+i),s(),a}l(pf,"strong");function AC(e,t,n){return n.options.strong||"*"}l(AC,"strongPeek");function CC(e,t,n,r){return n.safe(e.value,r)}l(CC,"text$3");function TC(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}l(TC,"checkRuleRepetition");function NC(e,t,n){const r=(hf(n)+(n.options.ruleSpaces?" ":"")).repeat(TC(n));return n.options.ruleSpaces?r.slice(0,-1):r}l(NC,"thematicBreak$1");const df={blockquote:YA,break:Zc,code:eC,definition:nC,emphasis:tf,hardBreak:Zc,heading:lC,html:sf,image:of,imageReference:af,inlineCode:lf,link:cf,linkReference:ff,list:yC,listItem:wC,paragraph:kC,root:SC,strong:pf,text:CC,thematicBreak:NC},mf={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
294
|
+
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},EC={}.hasOwnProperty;function So(e){return EC.call(mf,e)?mf[e]:!1}l(So,"decodeNamedCharacterReference");function gf(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}l(gf,"decodeNumericCharacterReference");const _C=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function OC(e){return e.replace(_C,LC)}l(OC,"decodeString");function LC(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),s=i===120||i===88;return gf(n.slice(s?2:1),s?16:10)}return So(n)||e}l(LC,"decode");function IC(){return{enter:{table:DC,tableData:yf,tableHeader:yf,tableRow:PC},exit:{codeText:FC,table:RC,tableData:xo,tableHeader:xo,tableRow:xo}}}l(IC,"gfmTableFromMarkdown");function DC(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}l(DC,"enterTable");function RC(e){this.exit(e),this.data.inTable=void 0}l(RC,"exitTable");function PC(e){this.enter({type:"tableRow",children:[]},e)}l(PC,"enterRow");function xo(e){this.exit(e)}l(xo,"exit$1");function yf(e){this.enter({type:"tableCell",children:[]},e)}l(yf,"enterCell");function FC(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,qC));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}l(FC,"exitCodeText");function qC(e,t){return t==="|"?t:e}l(qC,"replace");function MC(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
295
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:o,tableCell:u,tableRow:a}};function o(d,m,g,y){return c(h(d,g,y),d.align)}function a(d,m,g,y){const b=f(d,g,y),w=c([b]);return w.slice(0,w.indexOf(`
|
|
296
|
+
`))}function u(d,m,g,y){const b=g.enter("tableCell"),w=g.enter("phrasing"),A=g.containerPhrasing(d,{...y,before:s,after:s});return w(),b(),A}function c(d,m){return GA(d,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function h(d,m,g){const y=d.children;let b=-1;const w=[],A=m.enter("table");for(;++b<y.length;)w[b]=f(y[b],m,g);return A(),w}function f(d,m,g){const y=d.children;let b=-1;const w=[],A=m.enter("tableRow");for(;++b<y.length;)w[b]=u(y[b],d,m,g);return A(),w}function p(d,m,g){let y=df.inlineCode(d,m,g);return g.stack.includes("tableCell")&&(y=y.replace(/\|/g,"\\$&")),y}}l(MC,"gfmTableToMarkdown");function $C(){return{exit:{taskListCheckValueChecked:bf,taskListCheckValueUnchecked:bf,paragraph:jC}}}l($C,"gfmTaskListItemFromMarkdown");function BC(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:zC}}}l(BC,"gfmTaskListItemToMarkdown");function bf(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}l(bf,"exitCheck");function jC(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let s=-1,o;for(;++s<i.length;){const a=i[s];if(a.type==="paragraph"){o=a;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}l(jC,"exitParagraphWithTaskListItem");function zC(e,t,n,r){const i=e.children[0],s=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);s&&a.move(o);let u=df.listItem(e,t,n,{...r,...a.current()});return s&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(h){return h+o}l(c,"check")}l(zC,"listItemWithTaskListItem");function UC(){return[mA(),NA(),jA(),IC(),$C()]}l(UC,"gfmFromMarkdown");function HC(e){return{extensions:[gA(),EA(),zA(),MC(e),BC()]}}l(HC,"gfmToMarkdown");function Me(e,t,n,r){const i=e.length;let s=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}l(Me,"splice");function $e(e,t){return e.length>0?(Me(e,e.length,0,t),e):t}l($e,"push");const wf={}.hasOwnProperty;function kf(e){const t={};let n=-1;for(;++n<e.length;)VC(t,e[n]);return t}l(kf,"combineExtensions");function VC(e,t){let n;for(n in t){const i=(wf.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){wf.call(i,o)||(i[o]=[]);const a=s[o];GC(i[o],Array.isArray(a)?a:a?[a]:[])}}}l(VC,"syntaxExtension");function GC(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Me(e,0,0,r)}l(GC,"constructs");const WC={tokenize:ZC,partial:!0},vf={tokenize:eT,partial:!0},Sf={tokenize:tT,partial:!0},xf={tokenize:nT,partial:!0},KC={tokenize:rT,partial:!0},Af={tokenize:QC,previous:Tf},Cf={tokenize:XC,previous:Nf},at={tokenize:JC,previous:Ef},Qe={};function YC(){return{text:Qe}}l(YC,"gfmAutolinkLiteral");let It=48;for(;It<123;)Qe[It]=at,It++,It===58?It=65:It===91&&(It=97);Qe[43]=at,Qe[45]=at,Qe[46]=at,Qe[95]=at,Qe[72]=[at,Cf],Qe[104]=[at,Cf],Qe[87]=[at,Af],Qe[119]=[at,Af];function JC(e,t,n){const r=this;let i,s;return o;function o(f){return!Ao(f)||!Ef.call(r,r.previous)||Co(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return Ao(f)?(e.consume(f),a):f===64?(e.consume(f),u):n(f)}function u(f){return f===46?e.check(KC,h,c)(f):f===45||f===95||ve(f)?(s=!0,e.consume(f),u):h(f)}function c(f){return e.consume(f),i=!0,u}function h(f){return s&&i&&xe(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}l(JC,"tokenizeEmailAutolink");function QC(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!Tf.call(r,r.previous)||Co(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(WC,e.attempt(vf,e.attempt(Sf,s),n),n)(o))}function s(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}l(QC,"tokenizeWwwAutolink");function XC(e,t,n){const r=this;let i="",s=!1;return o;function o(f){return(f===72||f===104)&&Nf.call(r,r.previous)&&!Co(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),a):n(f)}function a(f){if(xe(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),a;if(f===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(f),u}return n(f)}function u(f){return f===47?(e.consume(f),s?c:(s=!0,u)):n(f)}function c(f){return f===null||Zr(f)||Z(f)||Ot(f)||ei(f)?n(f):e.attempt(vf,e.attempt(Sf,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}l(XC,"tokenizeProtocolAutolink");function ZC(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),s):n(o)}function s(o){return o===null?n(o):t(o)}}l(ZC,"tokenizeWwwPrefix");function eT(e,t,n){let r,i,s;return o;function o(c){return c===46||c===95?e.check(xf,u,a)(c):c===null||Z(c)||Ot(c)||c!==45&&ei(c)?u(c):(s=!0,e.consume(c),o)}function a(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),o}function u(c){return i||r||!s?n(c):t(c)}}l(eT,"tokenizeDomain");function tT(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?s(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(xf,t,s)(o):o===null||Z(o)||Ot(o)?t(o):(e.consume(o),i)}function s(o){return o===41&&r++,e.consume(o),i}}l(tT,"tokenizePath");function nT(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),s):a===93?(e.consume(a),i):a===60||a===null||Z(a)||Ot(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||Z(a)||Ot(a)?t(a):r(a)}function s(a){return xe(a)?o(a):n(a)}function o(a){return a===59?(e.consume(a),r):xe(a)?(e.consume(a),o):n(a)}}l(nT,"tokenizeTrail");function rT(e,t,n){return r;function r(s){return e.consume(s),i}function i(s){return ve(s)?n(s):t(s)}}l(rT,"tokenizeEmailDomainDotTrail");function Tf(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Z(e)}l(Tf,"previousWww");function Nf(e){return!xe(e)}l(Nf,"previousProtocol");function Ef(e){return!(e===47||Ao(e))}l(Ef,"previousEmail");function Ao(e){return e===43||e===45||e===46||e===95||ve(e)}l(Ao,"gfmAtext");function Co(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}l(Co,"previousUnbalanced");function fi(e){if(e===null||Z(e)||Ot(e))return 1;if(ei(e))return 2}l(fi,"classifyCharacter");function hi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const s=e[i].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}l(hi,"resolveAll");const To={name:"attention",tokenize:sT,resolveAll:iT};function iT(e,t){let n=-1,r,i,s,o,a,u,c,h;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),p=Object.assign({},e[n][1].start);_f(f,-u),_f(p,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},a={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:p},s={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},a.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=$e(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=$e(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),c=$e(c,hi(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=$e(c,[["exit",s,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,c=$e(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,Me(e,r-1,n-r+3,c),n=r+c.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}l(iT,"resolveAllAttention");function sT(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=fi(r);let s;return o;function o(u){return s=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===s)return e.consume(u),a;const c=e.exit("attentionSequence"),h=fi(u),f=!h||h===2&&i||n.includes(u),p=!i||i===2&&h||n.includes(r);return c._open=!!(s===42?f:f&&(i||!p)),c._close=!!(s===42?p:p&&(h||!f)),t(u)}}l(sT,"tokenizeAttention");function _f(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}l(_f,"movePoint");const oT={name:"autolink",tokenize:aT};function aT(e,t,n){let r=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(d){return xe(d)?(e.consume(d),o):d===64?n(d):c(d)}function o(d){return d===43||d===45||d===46||ve(d)?(r=1,a(d)):c(d)}function a(d){return d===58?(e.consume(d),r=0,u):(d===43||d===45||d===46||ve(d))&&r++<32?(e.consume(d),a):(r=0,c(d))}function u(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||Zr(d)?n(d):(e.consume(d),u)}function c(d){return d===64?(e.consume(d),h):NS(d)?(e.consume(d),c):n(d)}function h(d){return ve(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,h):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):p(d)}function p(d){if((d===45||ve(d))&&r++<63){const m=d===45?p:f;return e.consume(d),m}return n(d)}}l(aT,"tokenizeAutolink");function Y(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(u){return W(u)?(e.enter(n),a(u)):t(u)}function a(u){return W(u)&&s++<i?(e.consume(u),a):(e.exit(n),t(u))}}l(Y,"factorySpace");const Yn={tokenize:lT,partial:!0};function lT(e,t,n){return r;function r(s){return W(s)?Y(e,i,"linePrefix")(s):i(s)}function i(s){return s===null||B(s)?t(s):n(s)}}l(lT,"tokenizeBlankLine");const Of={name:"blockQuote",tokenize:uT,continuation:{tokenize:cT},exit:fT};function uT(e,t,n){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),s}return n(o)}function s(o){return W(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}l(uT,"tokenizeBlockQuoteStart");function cT(e,t,n){const r=this;return i;function i(o){return W(o)?Y(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):s(o)}function s(o){return e.attempt(Of,t,n)(o)}}l(cT,"tokenizeBlockQuoteContinuation");function fT(e){e.exit("blockQuote")}l(fT,"exit");const Lf={name:"characterEscape",tokenize:hT};function hT(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),i}function i(s){return _S(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}l(hT,"tokenizeCharacterEscape");const If={name:"characterReference",tokenize:pT};function pT(e,t,n){const r=this;let i=0,s,o;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),s=31,o=ve,h(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,o=ES,h):(e.enter("characterReferenceValue"),s=7,o=Vs,h(f))}function h(f){if(f===59&&i){const p=e.exit("characterReferenceValue");return o===ve&&!So(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&i++<s?(e.consume(f),h):n(f)}}l(pT,"tokenizeCharacterReference");const Df={tokenize:mT,partial:!0},Rf={name:"codeFenced",tokenize:dT,concrete:!0};function dT(e,t,n){const r=this,i={tokenize:T,partial:!0};let s=0,o=0,a;return u;function u(x){return c(x)}function c(x){const E=r.events[r.events.length-1];return s=E&&E[1].type==="linePrefix"?E[2].sliceSerialize(E[1],!0).length:0,a=x,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(x)}function h(x){return x===a?(o++,e.consume(x),h):o<3?n(x):(e.exit("codeFencedFenceSequence"),W(x)?Y(e,f,"whitespace")(x):f(x))}function f(x){return x===null||B(x)?(e.exit("codeFencedFence"),r.interrupt?t(x):e.check(Df,g,N)(x)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(x))}function p(x){return x===null||B(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(x)):W(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Y(e,d,"whitespace")(x)):x===96&&x===a?n(x):(e.consume(x),p)}function d(x){return x===null||B(x)?f(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===null||B(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(x)):x===96&&x===a?n(x):(e.consume(x),m)}function g(x){return e.attempt(i,N,y)(x)}function y(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),b}function b(x){return s>0&&W(x)?Y(e,w,"linePrefix",s+1)(x):w(x)}function w(x){return x===null||B(x)?e.check(Df,g,N)(x):(e.enter("codeFlowValue"),A(x))}function A(x){return x===null||B(x)?(e.exit("codeFlowValue"),w(x)):(e.consume(x),A)}function N(x){return e.exit("codeFenced"),t(x)}function T(x,E,_){let F=0;return S;function S(U){return x.enter("lineEnding"),x.consume(U),x.exit("lineEnding"),P}function P(U){return x.enter("codeFencedFence"),W(U)?Y(x,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):L(U)}function L(U){return U===a?(x.enter("codeFencedFenceSequence"),$(U)):_(U)}function $(U){return U===a?(F++,x.consume(U),$):F>=o?(x.exit("codeFencedFenceSequence"),W(U)?Y(x,Q,"whitespace")(U):Q(U)):_(U)}function Q(U){return U===null||B(U)?(x.exit("codeFencedFence"),E(U)):_(U)}}}l(dT,"tokenizeCodeFenced");function mT(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}l(mT,"tokenizeNonLazyContinuation$1");const No={name:"codeIndented",tokenize:yT},gT={tokenize:bT,partial:!0};function yT(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Y(e,s,"linePrefix",5)(c)}function s(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?u(c):B(c)?e.attempt(gT,o,u)(c):(e.enter("codeFlowValue"),a(c))}function a(c){return c===null||B(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),a)}function u(c){return e.exit("codeIndented"),t(c)}}l(yT,"tokenizeCodeIndented");function bT(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):B(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Y(e,s,"linePrefix",5)(o)}function s(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):B(o)?i(o):n(o)}}l(bT,"tokenizeFurtherStart");const wT={name:"codeText",tokenize:ST,resolve:kT,previous:vT};function kT(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}l(kT,"resolveCodeText");function vT(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}l(vT,"previous$1");function ST(e,t,n){let r=0,i,s;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),a(f)}function a(f){return f===96?(e.consume(f),r++,a):(e.exit("codeTextSequence"),u(f))}function u(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),u):f===96?(s=e.enter("codeTextSequence"),i=0,h(f)):B(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||B(f)?(e.exit("codeTextData"),u(f)):(e.consume(f),c)}function h(f){return f===96?(e.consume(f),i++,h):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(s.type="codeTextData",c(f))}}l(ST,"tokenizeCodeText");class xT{static{l(this,"SpliceBuffer")}constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Jn(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Jn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Jn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Jn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Jn(this.left,n.reverse())}}}function Jn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}l(Jn,"chunkedPush");function Pf(e){const t={};let n=-1,r,i,s,o,a,u,c;const h=new xT(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(r=h.get(n),n&&r[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,s=0,s<u.length&&u[s][1].type==="lineEndingBlank"&&(s+=2),s<u.length&&u[s][1].type==="content"))for(;++s<u.length&&u[s][1].type!=="content";)u[s][1].type==="chunkText"&&(u[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,AT(h,n)),n=t[n],c=!0);else if(r[1]._container){for(s=n,i=void 0;s--&&(o=h.get(s),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(i&&(h.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=s);i&&(r[1].end=Object.assign({},h.get(i)[1].start),a=h.slice(i,n),a.unshift(r),h.splice(i,n-i+1,a))}}return Me(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}l(Pf,"subtokenize");function AT(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const s=[],o=n._tokenizer||r.parser[n.contentType](n.start),a=o.events,u=[],c={};let h,f,p=-1,d=n,m=0,g=0;const y=[g];for(;d;){for(;e.get(++i)[1]!==d;);s.push(i),d._tokenizer||(h=r.sliceStream(d),d.next||h.push(null),f&&o.defineSkip(d.start),d._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(h),d._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++p<a.length;)a[p][0]==="exit"&&a[p-1][0]==="enter"&&a[p][1].type===a[p-1][1].type&&a[p][1].start.line!==a[p][1].end.line&&(g=p+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(o.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),p=y.length;p--;){const b=a.slice(y[p],y[p+1]),w=s.pop();u.push([w,w+b.length-1]),e.splice(w,2,b)}for(u.reverse(),p=-1;++p<u.length;)c[m+u[p][0]]=m+u[p][1],m+=u[p][1]-u[p][0]-1;return c}l(AT,"subcontent");const CT={tokenize:ET,resolve:NT},TT={tokenize:_T,partial:!0};function NT(e){return Pf(e),e}l(NT,"resolveContent");function ET(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?s(a):B(a)?e.check(TT,o,s)(a):(e.consume(a),i)}function s(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function o(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}l(ET,"tokenizeContent");function _T(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Y(e,s,"linePrefix")}function s(o){if(o===null||B(o))return n(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}l(_T,"tokenizeContinuation");function Ff(e,t,n,r,i,s,o,a,u){const c=u||Number.POSITIVE_INFINITY;let h=0;return f;function f(b){return b===60?(e.enter(r),e.enter(i),e.enter(s),e.consume(b),e.exit(s),p):b===null||b===32||b===41||Zr(b)?n(b):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),g(b))}function p(b){return b===62?(e.enter(s),e.consume(b),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(b))}function d(b){return b===62?(e.exit("chunkString"),e.exit(a),p(b)):b===null||b===60||B(b)?n(b):(e.consume(b),b===92?m:d)}function m(b){return b===60||b===62||b===92?(e.consume(b),d):d(b)}function g(b){return!h&&(b===null||b===41||Z(b))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(b)):h<c&&b===40?(e.consume(b),h++,g):b===41?(e.consume(b),h--,g):b===null||b===32||b===40||Zr(b)?n(b):(e.consume(b),b===92?y:g)}function y(b){return b===40||b===41||b===92?(e.consume(b),g):g(b)}}l(Ff,"factoryDestination");function qf(e,t,n,r,i,s){const o=this;let a=0,u;return c;function c(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),e.enter(s),h}function h(d){return a>999||d===null||d===91||d===93&&!u||d===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?n(d):d===93?(e.exit(s),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):B(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||B(d)||a++>999?(e.exit("chunkString"),h(d)):(e.consume(d),u||(u=!W(d)),d===92?p:f)}function p(d){return d===91||d===92||d===93?(e.consume(d),a++,f):f(d)}}l(qf,"factoryLabel");function Mf(e,t,n,r,i,s){let o;return a;function a(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),o=p===40?41:p,u):n(p)}function u(p){return p===o?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(s),c(p))}function c(p){return p===o?(e.exit(s),u(o)):p===null?n(p):B(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Y(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===o||p===null||B(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:h)}function f(p){return p===o||p===92?(e.consume(p),h):h(p)}}l(Mf,"factoryTitle");function Qn(e,t){let n;return r;function r(i){return B(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):W(i)?Y(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}l(Qn,"factoryWhitespace");const OT={name:"definition",tokenize:IT},LT={tokenize:DT,partial:!0};function IT(e,t,n){const r=this;let i;return s;function s(d){return e.enter("definition"),o(d)}function o(d){return qf.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function a(d){return i=We(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),u):n(d)}function u(d){return Z(d)?Qn(e,c)(d):c(d)}function c(d){return Ff(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function h(d){return e.attempt(LT,f,f)(d)}function f(d){return W(d)?Y(e,p,"whitespace")(d):p(d)}function p(d){return d===null||B(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}l(IT,"tokenizeDefinition");function DT(e,t,n){return r;function r(a){return Z(a)?Qn(e,i)(a):n(a)}function i(a){return Mf(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function s(a){return W(a)?Y(e,o,"whitespace")(a):o(a)}function o(a){return a===null||B(a)?t(a):n(a)}}l(DT,"tokenizeTitleBefore");const RT={name:"hardBreakEscape",tokenize:PT};function PT(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),i}function i(s){return B(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}l(PT,"tokenizeHardBreakEscape");const FT={name:"headingAtx",tokenize:MT,resolve:qT};function qT(e,t){let n=e.length-2,r=3,i,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Me(e,r,n-r+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),e}l(qT,"resolveHeadingAtx");function MT(e,t,n){let r=0;return i;function i(h){return e.enter("atxHeading"),s(h)}function s(h){return e.enter("atxHeadingSequence"),o(h)}function o(h){return h===35&&r++<6?(e.consume(h),o):h===null||Z(h)?(e.exit("atxHeadingSequence"),a(h)):n(h)}function a(h){return h===35?(e.enter("atxHeadingSequence"),u(h)):h===null||B(h)?(e.exit("atxHeading"),t(h)):W(h)?Y(e,a,"whitespace")(h):(e.enter("atxHeadingText"),c(h))}function u(h){return h===35?(e.consume(h),u):(e.exit("atxHeadingSequence"),a(h))}function c(h){return h===null||h===35||Z(h)?(e.exit("atxHeadingText"),a(h)):(e.consume(h),c)}}l(MT,"tokenizeHeadingAtx");const $T=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],$f=["pre","script","style","textarea"],BT={name:"htmlFlow",tokenize:HT,resolveTo:UT,concrete:!0},jT={tokenize:GT,partial:!0},zT={tokenize:VT,partial:!0};function UT(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}l(UT,"resolveToHtmlFlow");function HT(e,t,n){const r=this;let i,s,o,a,u;return c;function c(v){return h(v)}function h(v){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(v),f}function f(v){return v===33?(e.consume(v),p):v===47?(e.consume(v),s=!0,g):v===63?(e.consume(v),i=3,r.interrupt?t:C):xe(v)?(e.consume(v),o=String.fromCharCode(v),y):n(v)}function p(v){return v===45?(e.consume(v),i=2,d):v===91?(e.consume(v),i=5,a=0,m):xe(v)?(e.consume(v),i=4,r.interrupt?t:C):n(v)}function d(v){return v===45?(e.consume(v),r.interrupt?t:C):n(v)}function m(v){const M="CDATA[";return v===M.charCodeAt(a++)?(e.consume(v),a===M.length?r.interrupt?t:L:m):n(v)}function g(v){return xe(v)?(e.consume(v),o=String.fromCharCode(v),y):n(v)}function y(v){if(v===null||v===47||v===62||Z(v)){const M=v===47,K=o.toLowerCase();return!M&&!s&&$f.includes(K)?(i=1,r.interrupt?t(v):L(v)):$T.includes(o.toLowerCase())?(i=6,M?(e.consume(v),b):r.interrupt?t(v):L(v)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(v):s?w(v):A(v))}return v===45||ve(v)?(e.consume(v),o+=String.fromCharCode(v),y):n(v)}function b(v){return v===62?(e.consume(v),r.interrupt?t:L):n(v)}function w(v){return W(v)?(e.consume(v),w):S(v)}function A(v){return v===47?(e.consume(v),S):v===58||v===95||xe(v)?(e.consume(v),N):W(v)?(e.consume(v),A):S(v)}function N(v){return v===45||v===46||v===58||v===95||ve(v)?(e.consume(v),N):T(v)}function T(v){return v===61?(e.consume(v),x):W(v)?(e.consume(v),T):A(v)}function x(v){return v===null||v===60||v===61||v===62||v===96?n(v):v===34||v===39?(e.consume(v),u=v,E):W(v)?(e.consume(v),x):_(v)}function E(v){return v===u?(e.consume(v),u=null,F):v===null||B(v)?n(v):(e.consume(v),E)}function _(v){return v===null||v===34||v===39||v===47||v===60||v===61||v===62||v===96||Z(v)?T(v):(e.consume(v),_)}function F(v){return v===47||v===62||W(v)?A(v):n(v)}function S(v){return v===62?(e.consume(v),P):n(v)}function P(v){return v===null||B(v)?L(v):W(v)?(e.consume(v),P):n(v)}function L(v){return v===45&&i===2?(e.consume(v),oe):v===60&&i===1?(e.consume(v),ue):v===62&&i===4?(e.consume(v),k):v===63&&i===3?(e.consume(v),C):v===93&&i===5?(e.consume(v),je):B(v)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(jT,I,$)(v)):v===null||B(v)?(e.exit("htmlFlowData"),$(v)):(e.consume(v),L)}function $(v){return e.check(zT,Q,I)(v)}function Q(v){return e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),U}function U(v){return v===null||B(v)?$(v):(e.enter("htmlFlowData"),L(v))}function oe(v){return v===45?(e.consume(v),C):L(v)}function ue(v){return v===47?(e.consume(v),o="",se):L(v)}function se(v){if(v===62){const M=o.toLowerCase();return $f.includes(M)?(e.consume(v),k):L(v)}return xe(v)&&o.length<8?(e.consume(v),o+=String.fromCharCode(v),se):L(v)}function je(v){return v===93?(e.consume(v),C):L(v)}function C(v){return v===62?(e.consume(v),k):v===45&&i===2?(e.consume(v),C):L(v)}function k(v){return v===null||B(v)?(e.exit("htmlFlowData"),I(v)):(e.consume(v),k)}function I(v){return e.exit("htmlFlow"),t(v)}}l(HT,"tokenizeHtmlFlow");function VT(e,t,n){const r=this;return i;function i(o){return B(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):n(o)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}l(VT,"tokenizeNonLazyContinuationStart");function GT(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Yn,t,n)}}l(GT,"tokenizeBlankLineBefore");const WT={name:"htmlText",tokenize:KT};function KT(e,t,n){const r=this;let i,s,o;return a;function a(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),c):C===47?(e.consume(C),T):C===63?(e.consume(C),A):xe(C)?(e.consume(C),_):n(C)}function c(C){return C===45?(e.consume(C),h):C===91?(e.consume(C),s=0,m):xe(C)?(e.consume(C),w):n(C)}function h(C){return C===45?(e.consume(C),d):n(C)}function f(C){return C===null?n(C):C===45?(e.consume(C),p):B(C)?(o=f,ue(C)):(e.consume(C),f)}function p(C){return C===45?(e.consume(C),d):f(C)}function d(C){return C===62?oe(C):C===45?p(C):f(C)}function m(C){const k="CDATA[";return C===k.charCodeAt(s++)?(e.consume(C),s===k.length?g:m):n(C)}function g(C){return C===null?n(C):C===93?(e.consume(C),y):B(C)?(o=g,ue(C)):(e.consume(C),g)}function y(C){return C===93?(e.consume(C),b):g(C)}function b(C){return C===62?oe(C):C===93?(e.consume(C),b):g(C)}function w(C){return C===null||C===62?oe(C):B(C)?(o=w,ue(C)):(e.consume(C),w)}function A(C){return C===null?n(C):C===63?(e.consume(C),N):B(C)?(o=A,ue(C)):(e.consume(C),A)}function N(C){return C===62?oe(C):A(C)}function T(C){return xe(C)?(e.consume(C),x):n(C)}function x(C){return C===45||ve(C)?(e.consume(C),x):E(C)}function E(C){return B(C)?(o=E,ue(C)):W(C)?(e.consume(C),E):oe(C)}function _(C){return C===45||ve(C)?(e.consume(C),_):C===47||C===62||Z(C)?F(C):n(C)}function F(C){return C===47?(e.consume(C),oe):C===58||C===95||xe(C)?(e.consume(C),S):B(C)?(o=F,ue(C)):W(C)?(e.consume(C),F):oe(C)}function S(C){return C===45||C===46||C===58||C===95||ve(C)?(e.consume(C),S):P(C)}function P(C){return C===61?(e.consume(C),L):B(C)?(o=P,ue(C)):W(C)?(e.consume(C),P):F(C)}function L(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),i=C,$):B(C)?(o=L,ue(C)):W(C)?(e.consume(C),L):(e.consume(C),Q)}function $(C){return C===i?(e.consume(C),i=void 0,U):C===null?n(C):B(C)?(o=$,ue(C)):(e.consume(C),$)}function Q(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===47||C===62||Z(C)?F(C):(e.consume(C),Q)}function U(C){return C===47||C===62||Z(C)?F(C):n(C)}function oe(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}function ue(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),se}function se(C){return W(C)?Y(e,je,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):je(C)}function je(C){return e.enter("htmlTextData"),o(C)}}l(KT,"tokenizeHtmlText");const Eo={name:"labelEnd",tokenize:eN,resolveTo:ZT,resolveAll:XT},YT={tokenize:tN},JT={tokenize:nN},QT={tokenize:rN};function XT(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}l(XT,"resolveAllLabelEnd");function ZT(e,t){let n=e.length,r=0,i,s,o,a;for(;n--;)if(i=e[n][1],s){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(s=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const u={type:e[s][1].type==="labelLink"?"link":"image",start:Object.assign({},e[s][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[s][1].start),end:Object.assign({},e[o][1].end)},h={type:"labelText",start:Object.assign({},e[s+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return a=[["enter",u,t],["enter",c,t]],a=$e(a,e.slice(s+1,s+r+3)),a=$e(a,[["enter",h,t]]),a=$e(a,hi(t.parser.constructs.insideSpan.null,e.slice(s+r+4,o-3),t)),a=$e(a,[["exit",h,t],e[o-2],e[o-1],["exit",c,t]]),a=$e(a,e.slice(o+1)),a=$e(a,[["exit",u,t]]),Me(e,s,e.length,a),e}l(ZT,"resolveToLabelEnd");function eN(e,t,n){const r=this;let i=r.events.length,s,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){s=r.events[i][1];break}return a;function a(p){return s?s._inactive?f(p):(o=r.parser.defined.includes(We(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),u):n(p)}function u(p){return p===40?e.attempt(YT,h,o?h:f)(p):p===91?e.attempt(JT,h,o?c:f)(p):o?h(p):f(p)}function c(p){return e.attempt(QT,h,f)(p)}function h(p){return t(p)}function f(p){return s._balanced=!0,n(p)}}l(eN,"tokenizeLabelEnd");function tN(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return Z(f)?Qn(e,s)(f):s(f)}function s(f){return f===41?h(f):Ff(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return Z(f)?Qn(e,u)(f):h(f)}function a(f){return n(f)}function u(f){return f===34||f===39||f===40?Mf(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return Z(f)?Qn(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}l(tN,"tokenizeResource");function nN(e,t,n){const r=this;return i;function i(a){return qf.call(r,e,s,o,"reference","referenceMarker","referenceString")(a)}function s(a){return r.parser.defined.includes(We(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function o(a){return n(a)}}l(nN,"tokenizeReferenceFull");function rN(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),i}function i(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}l(rN,"tokenizeReferenceCollapsed");const iN={name:"labelStartImage",tokenize:sN,resolveAll:Eo.resolveAll};function sN(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),s}function s(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),o):n(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}l(sN,"tokenizeLabelStartImage");const oN={name:"labelStartLink",tokenize:aN,resolveAll:Eo.resolveAll};function aN(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),s}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}l(aN,"tokenizeLabelStartLink");const _o={name:"lineEnding",tokenize:lN};function lN(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Y(e,t,"linePrefix")}}l(lN,"tokenizeLineEnding");const pi={name:"thematicBreak",tokenize:uN};function uN(e,t,n){let r=0,i;return s;function s(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,a(c)}function a(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||B(c))?(e.exit("thematicBreak"),t(c)):n(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),W(c)?Y(e,a,"whitespace")(c):a(c))}}l(uN,"tokenizeThematicBreak");const Ee={name:"list",tokenize:hN,continuation:{tokenize:pN},exit:mN},cN={tokenize:gN,partial:!0},fN={tokenize:dN,partial:!0};function hN(e,t,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(d){const m=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:Vs(d)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(pi,n,c)(d):c(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(d)}return n(d)}function u(d){return Vs(d)&&++o<10?(e.consume(d),u):(!r.interrupt||o<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),c(d)):n(d)}function c(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(Yn,r.interrupt?n:h,e.attempt(cN,p,f))}function h(d){return r.containerState.initialBlankLine=!0,s++,p(d)}function f(d){return W(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),p):n(d)}function p(d){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}l(hN,"tokenizeListStart");function pN(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Yn,i,s);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Y(e,t,"listItemIndent",r.containerState.size+1)(a)}l(i,"onBlank");function s(a){return r.containerState.furtherBlankLines||!W(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(fN,t,o)(a))}l(s,"notBlank");function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Y(e,e.attempt(Ee,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}l(o,"notInCurrentItem")}l(pN,"tokenizeListContinuation");function dN(e,t,n){const r=this;return Y(e,i,"listItemIndent",r.containerState.size+1);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(s):n(s)}}l(dN,"tokenizeIndent$1");function mN(e){e.exit(this.containerState.type)}l(mN,"tokenizeListEnd");function gN(e,t,n){const r=this;return Y(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const o=r.events[r.events.length-1];return!W(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}l(gN,"tokenizeListItemPrefixWhitespace");const Bf={name:"setextUnderline",tokenize:bN,resolveTo:yN};function yN(e,t){let n=e.length,r,i,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",s?(e.splice(i,0,["enter",o,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[s][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}l(yN,"resolveToSetextUnderline");function bN(e,t,n){const r=this;let i;return s;function s(c){let h=r.events.length,f;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){f=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),W(c)?Y(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||B(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}l(bN,"tokenizeSetextUnderline");const wN={tokenize:NN,partial:!0};function kN(){return{document:{91:{tokenize:AN,continuation:{tokenize:CN},exit:TN}},text:{91:{tokenize:xN},93:{add:"after",tokenize:vN,resolveTo:SN}}}}l(kN,"gfmFootnote");function vN(e,t,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return a;function a(u){if(!o||!o._balanced)return n(u);const c=We(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!s.includes(c.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}l(vN,"tokenizePotentialGfmFootnoteCall");function SN(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}l(SN,"resolveToPotentialGfmFootnoteCall");function xN(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,o;return a;function a(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(s>999||f===93&&!o||f===null||f===91||Z(f))return n(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(We(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Z(f)||(o=!0),s++,e.consume(f),f===92?h:c}function h(f){return f===91||f===92||f===93?(e.consume(f),s++,c):c(f)}}l(xN,"tokenizeGfmFootnoteCall");function AN(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o=0,a;return u;function u(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(m)}function h(m){if(o>999||m===93&&!a||m===null||m===91||Z(m))return n(m);if(m===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return s=We(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Z(m)||(a=!0),o++,e.consume(m),m===92?f:h}function f(m){return m===91||m===92||m===93?(e.consume(m),o++,h):h(m)}function p(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(s)||i.push(s),Y(e,d,"gfmFootnoteDefinitionWhitespace")):n(m)}function d(m){return t(m)}}l(AN,"tokenizeDefinitionStart");function CN(e,t,n){return e.check(Yn,t,e.attempt(wN,t,n))}l(CN,"tokenizeDefinitionContinuation");function TN(e){e.exit("gfmFootnoteDefinition")}l(TN,"gfmFootnoteDefinitionEnd");function NN(e,t,n){const r=this;return Y(e,i,"gfmFootnoteDefinitionIndent",5);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}l(NN,"tokenizeIndent");function EN(e){let n=(e||{}).singleTilde;const r={tokenize:s,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,a){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let c=u;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[u][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[u][1].end)},f={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[u][1].start)},p=[["enter",h,a],["enter",o[c][1],a],["exit",o[c][1],a],["enter",f,a]],d=a.parser.constructs.insideSpan.null;d&&Me(p,p.length,0,hi(d,o.slice(c+1,u),a)),Me(p,p.length,0,[["exit",f,a],["enter",o[u][1],a],["exit",o[u][1],a],["exit",h,a]]),Me(o,c-1,u-c+3,p),u=c+p.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}l(i,"resolveAllStrikethrough");function s(o,a,u){const c=this.previous,h=this.events;let f=0;return p;function p(m){return c===126&&h[h.length-1][1].type!=="characterEscape"?u(m):(o.enter("strikethroughSequenceTemporary"),d(m))}function d(m){const g=fi(c);if(m===126)return f>1?u(m):(o.consume(m),f++,d);if(f<2&&!n)return u(m);const y=o.exit("strikethroughSequenceTemporary"),b=fi(m);return y._open=!b||b===2&&!!g,y._close=!g||g===2&&!!b,a(m)}}l(s,"tokenizeStrikethrough")}l(EN,"gfmStrikethrough");class _N{static{l(this,"EditMap")}constructor(){this.map=[]}add(t,n,r){ON(this,t,n,r)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function ON(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}l(ON,"addImpl");function LN(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}l(LN,"gfmTableAlign");function IN(){return{flow:{null:{tokenize:DN,resolveAll:RN}}}}l(IN,"gfmTable");function DN(e,t,n){const r=this;let i=0,s=0,o;return a;function a(S){let P=r.events.length-1;for(;P>-1;){const Q=r.events[P][1].type;if(Q==="lineEnding"||Q==="linePrefix")P--;else break}const L=P>-1?r.events[P][1].type:null,$=L==="tableHead"||L==="tableRow"?x:u;return $===x&&r.parser.lazy[r.now().line]?n(S):$(S)}function u(S){return e.enter("tableHead"),e.enter("tableRow"),c(S)}function c(S){return S===124||(o=!0,s+=1),h(S)}function h(S){return S===null?n(S):B(S)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),d):n(S):W(S)?Y(e,h,"whitespace")(S):(s+=1,o&&(o=!1,i+=1),S===124?(e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),o=!0,h):(e.enter("data"),f(S)))}function f(S){return S===null||S===124||Z(S)?(e.exit("data"),h(S)):(e.consume(S),S===92?p:f)}function p(S){return S===92||S===124?(e.consume(S),f):f(S)}function d(S){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(S):(e.enter("tableDelimiterRow"),o=!1,W(S)?Y(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):m(S))}function m(S){return S===45||S===58?y(S):S===124?(o=!0,e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),g):T(S)}function g(S){return W(S)?Y(e,y,"whitespace")(S):y(S)}function y(S){return S===58?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(S),e.exit("tableDelimiterMarker"),b):S===45?(s+=1,b(S)):S===null||B(S)?N(S):T(S)}function b(S){return S===45?(e.enter("tableDelimiterFiller"),w(S)):T(S)}function w(S){return S===45?(e.consume(S),w):S===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(S),e.exit("tableDelimiterMarker"),A):(e.exit("tableDelimiterFiller"),A(S))}function A(S){return W(S)?Y(e,N,"whitespace")(S):N(S)}function N(S){return S===124?m(S):S===null||B(S)?!o||i!==s?T(S):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(S)):T(S)}function T(S){return n(S)}function x(S){return e.enter("tableRow"),E(S)}function E(S){return S===124?(e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),E):S===null||B(S)?(e.exit("tableRow"),t(S)):W(S)?Y(e,E,"whitespace")(S):(e.enter("data"),_(S))}function _(S){return S===null||S===124||Z(S)?(e.exit("data"),E(S)):(e.consume(S),S===92?F:_)}function F(S){return S===92||S===124?(e.consume(S),_):_(S)}}l(DN,"tokenizeTable");function RN(e,t){let n=-1,r=!0,i=0,s=[0,0,0,0],o=[0,0,0,0],a=!1,u=0,c,h,f;const p=new _N;for(;++n<e.length;){const d=e[n],m=d[1];d[0]==="enter"?m.type==="tableHead"?(a=!1,u!==0&&(jf(p,t,u,c,h),h=void 0,u=0),c={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(n,0,[["enter",c,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,f=void 0,s=[0,0,0,0],o=[0,n+1,0,0],a&&(a=!1,h={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(n,0,[["enter",h,t]])),i=m.type==="tableDelimiterRow"?2:h?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(s[1]!==0&&(o[0]=o[1],f=di(p,t,s,i,void 0,f),s=[0,0,0,0]),o[2]=n)):m.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(o[0]=o[1],f=di(p,t,s,i,void 0,f)),s=o,o=[s[1],n,0,0])):m.type==="tableHead"?(a=!0,u=n):m.type==="tableRow"||m.type==="tableDelimiterRow"?(u=n,s[1]!==0?(o[0]=o[1],f=di(p,t,s,i,n,f)):o[1]!==0&&(f=di(p,t,o,i,n,f)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(o[3]=n)}for(u!==0&&jf(p,t,u,c,h),p.consume(t.events),n=-1;++n<t.events.length;){const d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=LN(t.events,n))}return e}l(RN,"resolveTable");function di(e,t,n,r,i,s){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(s.end=Object.assign({},gn(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const u=gn(t.events,n[1]);if(s={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const c=gn(t.events,n[2]),h=gn(t.events,n[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const p=t.events[n[2]],d=t.events[n[3]];if(p[1].end=Object.assign({},d[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const m=n[2]+1,g=n[3]-n[2]-1;e.add(m,g,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(s.end=Object.assign({},gn(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}l(di,"flushCell");function jf(e,t,n,r,i){const s=[],o=gn(t.events,n);i&&(i.end=Object.assign({},o),s.push(["exit",i,t])),r.end=Object.assign({},o),s.push(["exit",r,t]),e.add(n+1,0,s)}l(jf,"flushTableEnd");function gn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}l(gn,"getPoint");const PN={tokenize:qN};function FN(){return{text:{91:PN}}}l(FN,"gfmTaskListItem");function qN(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),s)}function s(u){return Z(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):n(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(u)}function a(u){return B(u)?t(u):W(u)?e.check({tokenize:MN},t,n)(u):n(u)}}l(qN,"tokenizeTasklistCheck");function MN(e,t,n){return Y(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}l(MN,"spaceThenNonSpace");function $N(e){return kf([YC(),kN(),EN(e),IN(),FN()])}l($N,"gfm");const BN={};function jN(e){const t=this,n=e||BN,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push($N(n)),s.push(UC()),o.push(HC(n))}l(jN,"remarkGfm");const Oo={classNameMaps:{block:"admonition",title:"admonition-title"},titleFilter:["[!NOTE]","[!IMPORTANT]","[!WARNING]","[!TIP]","[!CAUTION]"],titleTextMap:e=>({displayTitle:e.substring(2,e.length-1),checkedTitle:e.substring(2,e.length-1)}),dataMaps:{block:e=>e,title:e=>e},titleKeepTrailingWhitespaces:!1,legacyTitle:!1},zN={...Oo,titleFilter:["Note","Warning"],titleTextMap:e=>({displayTitle:e,checkedTitle:e}),legacyTitle:!1,titleLift:!1,titleLiftWhitespaces:()=>"",titleUnwrap:!1};function Xn(e){return t=>{const n=typeof e=="function"?e(t):e;return typeof n=="object"?n.join(" "):n}}l(Xn,"classNameMap");function Lo(e){return t=>typeof e=="function"?e(t):e.includes(t)}l(Lo,"nameFilter");const UN=l(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children.length<=0||n.children[0].type!="paragraph")return;const r=n.children[0];if(r.children.length<=0||r.children[0].type!="strong")return;const i=r.children[0];if(i.children.length!=1||i.children[0].type!="text")return;const s=i.children[0],o=s.value;if(!Lo(e.titleFilter)(o))return;const{displayTitle:a,checkedTitle:u}=e.titleTextMap(o);if(s.value=a,n.data=e.dataMaps.block({...n.data,hProperties:{className:Xn(e.classNameMaps.block)(u)}}),i.data=e.dataMaps.title({...i.data,hProperties:{className:Xn(e.classNameMaps.title)(u)}}),e.titleLift){const c=r.children.splice(0,1)[0];let h;e.titleUnwrap?h={type:"paragraph",children:[{type:"text",value:a}],data:e.dataMaps.title({hProperties:{className:Xn(e.classNameMaps.title)(u)}})}:h={type:"paragraph",children:[c]},n.children.unshift(h);const f=r;if(f.children.length>0&&f.children[0].type=="text"){const p=f.children[0],m=/^[ \t\n\v\f\r]*/.exec(p.value),g=m?m[0]:"";p.value=e.titleLiftWhitespaces(g)+p.value.slice(g.length)}}},"handleNode$1"),HN=l(function(...e){const t=e.reduce((r,i)=>({...r,...i}),{}),n=t?.legacyTitle??Oo.legacyTitle;return r=>{de(r,n?UN({...zN,...t}):VN({...Oo,...t}))}},"plugin"),VN=l(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children[0]?.type!="paragraph")return;const r=n.children[0];if(r.children[0]?.type!="text")return;const i=r.children[0];let s;const o=i.value.indexOf(`
|
|
297
|
+
`);if(o<0){if(r.children.length>1)if(r.children.at(1)?.type=="break")r.children.splice(1,1);else return;if(s=i.value,!Lo(e.titleFilter)(s))return;r.children.shift()}else{const f=i.value.substring(o+1);s=i.value.substring(0,o);const p=/[ \t\v\f\r]+$/.exec(s);if(p&&!e.titleKeepTrailingWhitespaces&&(s=s.substring(0,s.length-p[0].length)),!Lo(e.titleFilter)(s))return;i.value=f}const{displayTitle:a,checkedTitle:u}=e.titleTextMap(s),h={type:"paragraph",children:[{type:"text",value:a}],data:e.dataMaps.title({hProperties:{className:Xn(e.classNameMaps.title)(u)}})};n.children.unshift(h),n.data=e.dataMaps.block({...n.data,hProperties:{className:Xn(e.classNameMaps.block)(u)},hName:"div"})},"handleNode");function GN(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:a,mathText:o,mathTextData:a}};function e(u){const c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},u)}function t(){this.buffer()}function n(){const u=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=u}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){const c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),h=this.stack[this.stack.length-1];h.type,this.exit(u),h.value=c;const f=h.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function s(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function o(u){const c=this.resume(),h=this.stack[this.stack.length-1];h.type,this.exit(u),h.value=c,h.data.hChildren.push({type:"text",value:c})}function a(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}l(GN,"mathFromMarkdown");function WN(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
298
|
+
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(s,o,a,u){const c=s.value||"",h=a.createTracker(u),f="$".repeat(Math.max(ef(c,"$")+1,2)),p=a.enter("mathFlow");let d=h.move(f);if(s.meta){const m=a.enter("mathFlowMeta");d+=h.move(a.safe(s.meta,{after:`
|
|
299
|
+
`,before:d,encode:["$"],...h.current()})),m()}return d+=h.move(`
|
|
300
|
+
`),c&&(d+=h.move(c+`
|
|
301
|
+
`)),d+=h.move(f),p(),d}l(n,"math");function r(s,o,a){let u=s.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(u);)c++;const h="$".repeat(c);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let f=-1;for(;++f<a.unsafe.length;){const p=a.unsafe[f];if(!p.atBreak)continue;const d=a.compilePattern(p);let m;for(;m=d.exec(u);){let g=m.index;u.codePointAt(g)===10&&u.codePointAt(g-1)===13&&g--,u=u.slice(0,g)+" "+u.slice(m.index+1)}}return h+u+h}l(r,"inlineMath");function i(){return"$"}l(i,"inlineMathPeek")}l(WN,"mathToMarkdown");const KN={tokenize:YN,concrete:!0},zf={tokenize:JN,partial:!0};function YN(e,t,n){const r=this,i=r.events[r.events.length-1],s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let o=0;return a;function a(w){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(w)}function u(w){return w===36?(e.consume(w),o++,u):o<2?n(w):(e.exit("mathFlowFenceSequence"),Y(e,c,"whitespace")(w))}function c(w){return w===null||B(w)?f(w):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(w))}function h(w){return w===null||B(w)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(w)):w===36?n(w):(e.consume(w),h)}function f(w){return e.exit("mathFlowFence"),r.interrupt?t(w):e.attempt(zf,p,y)(w)}function p(w){return e.attempt({tokenize:b,partial:!0},y,d)(w)}function d(w){return(s?Y(e,m,"linePrefix",s+1):m)(w)}function m(w){return w===null?y(w):B(w)?e.attempt(zf,p,y)(w):(e.enter("mathFlowValue"),g(w))}function g(w){return w===null||B(w)?(e.exit("mathFlowValue"),m(w)):(e.consume(w),g)}function y(w){return e.exit("mathFlow"),t(w)}function b(w,A,N){let T=0;return Y(w,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function x(F){return w.enter("mathFlowFence"),w.enter("mathFlowFenceSequence"),E(F)}function E(F){return F===36?(T++,w.consume(F),E):T<o?N(F):(w.exit("mathFlowFenceSequence"),Y(w,_,"whitespace")(F))}function _(F){return F===null||B(F)?(w.exit("mathFlowFence"),A(F)):N(F)}}}l(YN,"tokenizeMathFenced");function JN(e,t,n){const r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}l(JN,"tokenizeNonLazyContinuation");function QN(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:XN,previous:ZN};function r(i,s,o){let a=0,u,c;return h;function h(g){return i.enter("mathText"),i.enter("mathTextSequence"),f(g)}function f(g){return g===36?(i.consume(g),a++,f):a<2&&!n?o(g):(i.exit("mathTextSequence"),p(g))}function p(g){return g===null?o(g):g===36?(c=i.enter("mathTextSequence"),u=0,m(g)):g===32?(i.enter("space"),i.consume(g),i.exit("space"),p):B(g)?(i.enter("lineEnding"),i.consume(g),i.exit("lineEnding"),p):(i.enter("mathTextData"),d(g))}function d(g){return g===null||g===32||g===36||B(g)?(i.exit("mathTextData"),p(g)):(i.consume(g),d)}function m(g){return g===36?(i.consume(g),u++,m):u===a?(i.exit("mathTextSequence"),i.exit("mathText"),s(g)):(c.type="mathTextData",d(g))}}l(r,"tokenizeMathText")}l(QN,"mathText");function XN(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="mathTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}l(XN,"resolveMathText");function ZN(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}l(ZN,"previous");function eE(e){return{flow:{36:KN},text:{36:QN(e)}}}l(eE,"math");const tE={};function nE(e){const t=this,n=e||tE,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(eE(n)),s.push(GN()),o.push(WN(n))}l(nE,"remarkMath");const rE={tokenize:iE};function iE(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Y(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),s(a)}function s(a){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return B(a)?(e.consume(a),e.exit("chunkText"),s):(e.consume(a),o)}}l(iE,"initializeContent");const sE={tokenize:oE},Uf={tokenize:aE};function oE(e){const t=this,n=[];let r=0,i,s,o;return a;function a(A){if(r<n.length){const N=n[r];return t.containerState=N[1],e.attempt(N[0].continuation,u,c)(A)}return c(A)}function u(A){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&w();const N=t.events.length;let T=N,x;for(;T--;)if(t.events[T][0]==="exit"&&t.events[T][1].type==="chunkFlow"){x=t.events[T][1].end;break}b(r);let E=N;for(;E<t.events.length;)t.events[E][1].end=Object.assign({},x),E++;return Me(t.events,T+1,0,t.events.slice(N)),t.events.length=E,c(A)}return a(A)}function c(A){if(r===n.length){if(!i)return p(A);if(i.currentConstruct&&i.currentConstruct.concrete)return m(A);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Uf,h,f)(A)}function h(A){return i&&w(),b(r),p(A)}function f(A){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(A)}function p(A){return t.containerState={},e.attempt(Uf,d,m)(A)}function d(A){return r++,n.push([t.currentConstruct,t.containerState]),p(A)}function m(A){if(A===null){i&&w(),b(0),e.consume(A);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:s,_tokenizer:i}),g(A)}function g(A){if(A===null){y(e.exit("chunkFlow"),!0),b(0),e.consume(A);return}return B(A)?(e.consume(A),y(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(A),g)}function y(A,N){const T=t.sliceStream(A);if(N&&T.push(null),A.previous=s,s&&(s.next=A),s=A,i.defineSkip(A.start),i.write(T),t.parser.lazy[A.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<o&&(!i.events[x][1].end||i.events[x][1].end.offset>o))return;const E=t.events.length;let _=E,F,S;for(;_--;)if(t.events[_][0]==="exit"&&t.events[_][1].type==="chunkFlow"){if(F){S=t.events[_][1].end;break}F=!0}for(b(r),x=E;x<t.events.length;)t.events[x][1].end=Object.assign({},S),x++;Me(t.events,_+1,0,t.events.slice(E)),t.events.length=x}}function b(A){let N=n.length;for(;N-- >A;){const T=n[N];t.containerState=T[1],T[0].exit.call(t,e)}n.length=A}function w(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}l(oE,"initializeDocument");function aE(e,t,n){return Y(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}l(aE,"tokenizeContainer");const lE={tokenize:uE};function uE(e){const t=this,n=e.attempt(Yn,r,e.attempt(this.parser.constructs.flowInitial,i,Y(e,e.attempt(this.parser.constructs.flow,i,e.attempt(CT,i)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}l(uE,"initializeFlow");const cE={resolveAll:Vf()},fE=Hf("string"),hE=Hf("text");function Hf(e){return{tokenize:t,resolveAll:Vf(e==="text"?pE:void 0)};function t(n){const r=this,i=this.parser.constructs[e],s=n.attempt(i,o,a);return o;function o(h){return c(h)?s(h):a(h)}function a(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),u}function u(h){return c(h)?(n.exit("data"),s(h)):(n.consume(h),u)}function c(h){if(h===null)return!0;const f=i[h];let p=-1;if(f)for(;++p<f.length;){const d=f[p];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}l(Hf,"initializeFactory");function Vf(e){return t;function t(n,r){let i=-1,s;for(;++i<=n.length;)s===void 0?n[i]&&n[i][1].type==="data"&&(s=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==s+2&&(n[s][1].end=n[i-1][1].end,n.splice(s+2,i-s-2),i=s+2),s=void 0);return e?e(n,r):n}}l(Vf,"createResolver");function pE(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let s=i.length,o=-1,a=0,u;for(;s--;){const c=i[s];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(c===-2)u=!0,a++;else if(c!==-1){s++;break}}if(a){const c={type:n===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+s,_bufferIndex:s?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}l(pE,"resolveAllLineSuffixes");function dE(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},s=[];let o=[],a=[];const u={consume:w,enter:A,exit:N,attempt:E(T),check:E(x),interrupt:E(x,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:p,now:m,defineSkip:g,write:f};let h=t.tokenize.call(c,u);return t.resolveAll&&s.push(t),c;function f(P){return o=$e(o,P),y(),o[o.length-1]!==null?[]:(_(t,0),c.events=hi(s,c.events,c),c.events)}l(f,"write");function p(P,L){return gE(d(P),L)}l(p,"sliceSerialize");function d(P){return mE(o,P)}l(d,"sliceStream");function m(){const{line:P,column:L,offset:$,_index:Q,_bufferIndex:U}=r;return{line:P,column:L,offset:$,_index:Q,_bufferIndex:U}}l(m,"now");function g(P){i[P.line]=P.column,S()}l(g,"defineSkip");function y(){let P;for(;r._index<o.length;){const L=o[r._index];if(typeof L=="string")for(P=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===P&&r._bufferIndex<L.length;)b(L.charCodeAt(r._bufferIndex));else b(L)}}l(y,"main");function b(P){h=h(P)}l(b,"go");function w(P){B(P)?(r.line++,r.column=1,r.offset+=P===-3?2:1,S()):P!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=P}l(w,"consume");function A(P,L){const $=L||{};return $.type=P,$.start=m(),c.events.push(["enter",$,c]),a.push($),$}l(A,"enter");function N(P){const L=a.pop();return L.end=m(),c.events.push(["exit",L,c]),L}l(N,"exit");function T(P,L){_(P,L.from)}l(T,"onsuccessfulconstruct");function x(P,L){L.restore()}l(x,"onsuccessfulcheck");function E(P,L){return $;function $(Q,U,oe){let ue,se,je,C;return Array.isArray(Q)?I(Q):"tokenize"in Q?I([Q]):k(Q);function k(j){return ne;function ne(Se){const et=Se!==null&&j[Se],tt=Se!==null&&j.null,Ft=[...Array.isArray(et)?et:et?[et]:[],...Array.isArray(tt)?tt:tt?[tt]:[]];return I(Ft)(Se)}}function I(j){return ue=j,se=0,j.length===0?oe:v(j[se])}function v(j){return ne;function ne(Se){return C=F(),je=j,j.partial||(c.currentConstruct=j),j.name&&c.parser.constructs.disable.null.includes(j.name)?K():j.tokenize.call(L?Object.assign(Object.create(c),L):c,u,M,K)(Se)}}function M(j){return P(je,C),U}function K(j){return C.restore(),++se<ue.length?v(ue[se]):oe}}}l(E,"constructFactory");function _(P,L){P.resolveAll&&!s.includes(P)&&s.push(P),P.resolve&&Me(c.events,L,c.events.length-L,P.resolve(c.events.slice(L),c)),P.resolveTo&&(c.events=P.resolveTo(c.events,c))}l(_,"addResult");function F(){const P=m(),L=c.previous,$=c.currentConstruct,Q=c.events.length,U=Array.from(a);return{restore:oe,from:Q};function oe(){r=P,c.previous=L,c.currentConstruct=$,c.events.length=Q,a=U,S()}}l(F,"store");function S(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}l(S,"accountForPotentialSkip")}l(dE,"createTokenizer");function mE(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,s=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,s)];else{if(o=e.slice(n,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}s>0&&o.push(e[i].slice(0,s))}return o}l(mE,"sliceChunks");function gE(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const s=e[n];let o;if(typeof s=="string")o=s;else switch(s){case-5:{o="\r";break}case-4:{o=`
|
|
301
302
|
`;break}case-3:{o=`\r
|
|
302
|
-
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(s)}i=s===-2,r.push(o)}return r.join("")}l(aE,"serializeChunks");const lE={42:Ne,43:Ne,45:Ne,48:Ne,49:Ne,50:Ne,51:Ne,52:Ne,53:Ne,54:Ne,55:Ne,56:Ne,57:Ne,62:Sf},uE={91:vT},cE={[-2]:bo,[-1]:bo,32:bo},fE={35:NT,42:ai,45:[If,ai],60:LT,61:If,95:ai,96:Tf,126:Tf},pE={38:Af,92:xf},hE={[-5]:ko,[-4]:ko,[-3]:ko,33:YT,38:Af,42:yo,60:[QC,MT],91:QT,92:[CT,xf],93:wo,95:yo,96:cT},dE={null:[yo,tE]},mE={null:[42,95]},gE={null:[]};var yE=Object.freeze({__proto__:null,attentionMarkers:mE,contentInitial:uE,disable:gE,document:lE,flow:fE,flowInitial:cE,insideSpan:dE,string:pE,text:hE});function bE(e){const n=pf([yE,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(KN),document:i(JN),flow:i(ZN),string:i(nE),text:i(rE)};return r;function i(s){return o;function o(a){return sE(r,s,a)}}}l(bE,"parse");function wE(e){for(;!Nf(e););return e}l(wE,"postprocess");const Mf=/[\0\t\n\r]/g;function kE(){let e=1,t="",n=!0,r;return i;function i(s,o,a){const u=[];let c,p,f,h,d;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(o||void 0).decode(s)),f=0,t="",n&&(s.charCodeAt(0)===65279&&f++,n=void 0);f<s.length;){if(Mf.lastIndex=f,c=Mf.exec(s),h=c&&c.index!==void 0?c.index:s.length,d=s.charCodeAt(h),!c){t=s.slice(f);break}if(d===10&&f===h&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),f<h&&(u.push(s.slice(f,h)),e+=h-f),d){case 0:{u.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,u.push(-2);e++<p;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}f=h+1}return a&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}l(kE,"preprocess");const $f={}.hasOwnProperty;function vE(e,t,n){return typeof t!="string"&&(n=t,t=void 0),SE(n)(wE(bE(n).document().write(kE()(e,t,!0))))}l(vE,"fromMarkdown");function SE(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Eo),autolinkProtocol:q,autolinkEmail:q,atxHeading:s(Co),blockQuote:s(nt),characterEscape:q,characterReference:q,codeFenced:s(Rt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(Rt,o),codeText:s(je,o),codeTextData:q,data:q,codeFlowValue:q,definition:s(Kf),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(Yf),hardBreakEscape:s(To),hardBreakTrailing:s(To),htmlFlow:s(No,o),htmlFlowData:q,htmlText:s(No,o),htmlTextData:q,image:s(Jf),label:o,link:s(Eo),listItem:s(Qf),listItemValue:h,listOrdered:s(_o,f),listUnordered:s(_o),paragraph:s(Xf),reference:v,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(Co),strong:s(Zf),thematicBreak:s(tp)},exit:{atxHeading:u(),atxHeadingSequence:N,autolink:u(),autolinkEmail:tt,autolinkProtocol:ve,blockQuote:u(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:K,characterReferenceMarkerNumeric:K,characterReferenceValue:j,characterReference:ne,codeFenced:u(y),codeFencedFence:g,codeFencedFenceInfo:d,codeFencedFenceMeta:m,codeFlowValue:x,codeIndented:u(w),codeText:u(U),codeTextData:x,data:x,definition:u(),definitionDestinationString:T,definitionLabelString:b,definitionTitleString:S,emphasis:u(),hardBreakEscape:u(D),hardBreakTrailing:u(D),htmlFlow:u(M),htmlFlowData:x,htmlText:u(Q),htmlTextData:x,image:u(ue),label:Be,labelText:se,lineEnding:R,link:u(oe),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:F,resourceDestinationString:C,resourceTitleString:k,resource:O,setextHeading:u($),setextHeadingLineSequence:E,setextHeadingText:A,strong:u(),thematicBreak:u()}};Bf(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(_){let P={type:"root",children:[]};const z={stack:[P],tokenStack:[],config:t,enter:a,exit:c,buffer:o,resume:p,data:n},J=[];let X=-1;for(;++X<_.length;)if(_[X][1].type==="listOrdered"||_[X][1].type==="listUnordered")if(_[X][0]==="enter")J.push(X);else{const ze=J.pop();X=i(_,ze,X)}for(X=-1;++X<_.length;){const ze=t[_[X][0]];$f.call(ze,_[X][1].type)&&ze[_[X][1].type].call(Object.assign({sliceSerialize:_[X][2].sliceSerialize},z),_[X][1])}if(z.tokenStack.length>0){const ze=z.tokenStack[z.tokenStack.length-1];(ze[1]||jf).call(z,void 0,ze[0])}for(P.position={start:yt(_.length>0?_[0][1].start:{line:1,column:1,offset:0}),end:yt(_.length>0?_[_.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X<t.transforms.length;)P=t.transforms[X](P)||P;return P}function i(_,P,z){let J=P-1,X=-1,ze=!1,bt,rt,gn,yn;for(;++J<=z;){const Ee=_[J];switch(Ee[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ee[0]==="enter"?X++:X--,yn=void 0;break}case"lineEndingBlank":{Ee[0]==="enter"&&(bt&&!yn&&!X&&!gn&&(gn=J),yn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:yn=void 0}if(!X&&Ee[0]==="enter"&&Ee[1].type==="listItemPrefix"||X===-1&&Ee[0]==="exit"&&(Ee[1].type==="listUnordered"||Ee[1].type==="listOrdered")){if(bt){let Pt=J;for(rt=void 0;Pt--;){const it=_[Pt];if(it[1].type==="lineEnding"||it[1].type==="lineEndingBlank"){if(it[0]==="exit")continue;rt&&(_[rt][1].type="lineEndingBlank",ze=!0),it[1].type="lineEnding",rt=Pt}else if(!(it[1].type==="linePrefix"||it[1].type==="blockQuotePrefix"||it[1].type==="blockQuotePrefixWhitespace"||it[1].type==="blockQuoteMarker"||it[1].type==="listItemIndent"))break}gn&&(!rt||gn<rt)&&(bt._spread=!0),bt.end=Object.assign({},rt?_[rt][1].start:Ee[1].end),_.splice(rt||J,0,["exit",bt,Ee[2]]),J++,z++}if(Ee[1].type==="listItemPrefix"){const Pt={type:"listItem",_spread:!1,start:Object.assign({},Ee[1].start),end:void 0};bt=Pt,_.splice(J,0,["enter",Pt,Ee[2]]),J++,z++,gn=void 0,yn=!0}}}return _[P][1]._spread=ze,z}function s(_,P){return z;function z(J){a.call(this,_(J),J),P&&P.call(this,J)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(_,P,z){this.stack[this.stack.length-1].children.push(_),this.stack.push(_),this.tokenStack.push([P,z]),_.position={start:yt(P.start),end:void 0}}function u(_){return P;function P(z){_&&_.call(this,z),c.call(this,z)}}function c(_,P){const z=this.stack.pop(),J=this.tokenStack.pop();if(J)J[0].type!==_.type&&(P?P.call(this,_,J[0]):(J[1]||jf).call(this,_,J[0]));else throw new Error("Cannot close `"+_.type+"` ("+Un({start:_.start,end:_.end})+"): it\u2019s not open");z.position.end=yt(_.end)}function p(){return co(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function h(_){if(this.data.expectingFirstListItemValue){const P=this.stack[this.stack.length-2];P.start=Number.parseInt(this.sliceSerialize(_),10),this.data.expectingFirstListItemValue=void 0}}function d(){const _=this.resume(),P=this.stack[this.stack.length-1];P.lang=_}function m(){const _=this.resume(),P=this.stack[this.stack.length-1];P.meta=_}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_.replace(/(\r?\n|\r)$/g,"")}function b(_){const P=this.resume(),z=this.stack[this.stack.length-1];z.label=P,z.identifier=We(this.sliceSerialize(_)).toLowerCase()}function S(){const _=this.resume(),P=this.stack[this.stack.length-1];P.title=_}function T(){const _=this.resume(),P=this.stack[this.stack.length-1];P.url=_}function N(_){const P=this.stack[this.stack.length-1];if(!P.depth){const z=this.sliceSerialize(_).length;P.depth=z}}function A(){this.data.setextHeadingSlurpLineEnding=!0}function E(_){const P=this.stack[this.stack.length-1];P.depth=this.sliceSerialize(_).codePointAt(0)===61?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function q(_){const z=this.stack[this.stack.length-1].children;let J=z[z.length-1];(!J||J.type!=="text")&&(J=ep(),J.position={start:yt(_.start),end:void 0},z.push(J)),this.stack.push(J)}function x(_){const P=this.stack.pop();P.value+=this.sliceSerialize(_),P.position.end=yt(_.end)}function R(_){const P=this.stack[this.stack.length-1];if(this.data.atHardBreak){const z=P.children[P.children.length-1];z.position.end=yt(_.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(P.type)&&(q.call(this,_),x.call(this,_))}function D(){this.data.atHardBreak=!0}function M(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_}function Q(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_}function U(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_}function oe(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const P=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=P,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function ue(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const P=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=P,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function se(_){const P=this.sliceSerialize(_),z=this.stack[this.stack.length-2];z.label=vC(P),z.identifier=We(P).toLowerCase()}function Be(){const _=this.stack[this.stack.length-1],P=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){const J=_.children;z.children=J}else z.alt=P}function C(){const _=this.resume(),P=this.stack[this.stack.length-1];P.url=_}function k(){const _=this.resume(),P=this.stack[this.stack.length-1];P.title=_}function O(){this.data.inReference=void 0}function v(){this.data.referenceType="collapsed"}function F(_){const P=this.resume(),z=this.stack[this.stack.length-1];z.label=P,z.identifier=We(this.sliceSerialize(_)).toLowerCase(),this.data.referenceType="full"}function K(_){this.data.characterReferenceType=_.type}function j(_){const P=this.sliceSerialize(_),z=this.data.characterReferenceType;let J;z?(J=lf(P,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):J=po(P);const X=this.stack[this.stack.length-1];X.value+=J}function ne(_){const P=this.stack.pop();P.position.end=yt(_.end)}function ve(_){x.call(this,_);const P=this.stack[this.stack.length-1];P.url=this.sliceSerialize(_)}function tt(_){x.call(this,_);const P=this.stack[this.stack.length-1];P.url="mailto:"+this.sliceSerialize(_)}function nt(){return{type:"blockquote",children:[]}}function Rt(){return{type:"code",lang:null,meta:null,value:""}}function je(){return{type:"inlineCode",value:""}}function Kf(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Yf(){return{type:"emphasis",children:[]}}function Co(){return{type:"heading",depth:0,children:[]}}function To(){return{type:"break"}}function No(){return{type:"html",value:""}}function Jf(){return{type:"image",title:null,url:"",alt:null}}function Eo(){return{type:"link",title:null,url:"",children:[]}}function _o(_){return{type:"list",ordered:_.type==="listOrdered",start:null,spread:_._spread,children:[]}}function Qf(_){return{type:"listItem",spread:_._spread,checked:null,children:[]}}function Xf(){return{type:"paragraph",children:[]}}function Zf(){return{type:"strong",children:[]}}function ep(){return{type:"text",value:""}}function tp(){return{type:"thematicBreak"}}}l(SE,"compiler");function yt(e){return{line:e.line,column:e.column,offset:e.offset}}l(yt,"point");function Bf(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Bf(e,r):xE(e,r)}}l(Bf,"configure");function xE(e,t){let n;for(n in t)if($f.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}l(xE,"extension");function jf(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Un({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Un({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Un({start:t.start,end:t.end})+") is still open")}l(jf,"defaultOnError");function AE(e){const t=this;t.parser=n;function n(r){return vE(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}l(n,"parser")}l(AE,"remarkParse");async function CE(e,t){const{obsidianVault:n}=t??{},r=Tc().use(AE).use(tA,[{anywhere:!1,marker:"-",type:"yaml"}]).use(IN,{singleTilde:!1}).use(WN).use(PN).use(Ex,{toLink(i){return{title:i.alias??i.value,uri:n?`obsidian://open?vault=Vault&file=${encodeURIComponent(i.value)}.md`:i.value,value:i.alias??i.value}}}).use(zx);return r.run(r.parse(e))}l(CE,"getAstFromMarkdown");function TE(e,t){return de(e,t,(n,r,i)=>{if(i&&r!==void 0)return i.children.splice(r,1),at}),e}l(TE,"deleteFirstNodeOfType");function NE(e){let t=1;return de(e,"delete",(n,r,i)=>{if(i===void 0||r===void 0||!("children"in n))return mt;const s=n.children.at(-1),o=n.children.length>1&&s?.type==="emphasis"?[ie("text",`{{c${t}::`),...n.children.slice(0,-1),ie("text","::"),...n.children.slice(-1),ie("text","}}")]:[ie("text",`{{c${t}::`),...n.children,ie("text","}}")];i.children.splice(r,1,...o),t+=1}),e}l(NE,"replaceDeleteNodesWithClozeMarkup");function zf(e){let t,n=!1;if(de(e,"thematicBreak",(s,o,a)=>o===void 0||a===void 0?mt:(t=o,a.children[o+1]?.type==="thematicBreak"&&(n=!0),at)),t===void 0)return[e,void 0];const r={children:e.children.slice(0,t),type:"root"},i={children:e.children.slice(t+(n?2:1)),type:"root"};return[r,i]}l(zf,"splitTreeAtThematicBreak");function EE(e){let t;if(de(e,r=>{if(r.type==="thematicBreak")return t=void 0,at;if(r.type==="delete")return t="Yanki - Cloze",at}),t!==void 0)return t;if(!OE(e)&&LE(e))return"Yanki - Basic (type in the answer)";let n;return de(e,"thematicBreak",(r,i,s)=>{if(s===null||i===null)return mt;t=n?.type==="thematicBreak"&&r.type==="thematicBreak"?"Yanki - Basic (and reversed card)":"Yanki - Basic",n=r}),t??"Yanki - Basic"}l(EE,"getYankiModelNameFromTree");function _E(e){let t;if(de(e,"yaml",r=>"value"in r?(t=r.value,at):mt),!t)return{};const n=Al(t);if(!n)throw new Error("Could not parse frontmatter");return n}l(_E,"getFrontmatterFromTree");function OE(e){let t=!1;return de(e,"thematicBreak",()=>(t=!0,at)),t}l(OE,"hasThematicBreak");function LE(e){let t,n=0;return de(e,r=>{if(r.type==="text"&&r.value.trim()!=="")t=r,n++;else if(r.type==="emphasis"&&r.children.some(i=>i.type==="text"&&i.value.trim()!==""))return t=r,n++,Ur}),t!==void 0&&t.type==="emphasis"&&n>1}l(LE,"isLastVisibleNodeEmphasisWithOthers");function IE(e){let t,n,r;if(de(e,"emphasis",(i,s,o)=>{if(o===void 0||s===void 0||i.type!=="emphasis")return mt;t=i,n=o,r=s}),n&&t&&typeof r=="number")return n.children.splice(r,1),t}l(IE,"removeLastEmphasis");async function Uf(e,t){const{namespace:n,obsidianVault:r}=t;let i=await CE(e,{obsidianVault:r});const s=EE(i),o=_E(i);i=TE(i,"yaml");let a="",u="";switch(s){case"Yanki - Basic":case"Yanki - Basic (and reversed card)":{const[p,f]=zf(i);a=await fn(p,[qt,`namespace-${n}`,"front",`model-${s}`],!0),u=await fn(f,[qt,`namespace-${n}`,"back",`model-${s}`],!0);break}case"Yanki - Cloze":{i=NE(i);const[p,f]=zf(i);a=await fn(p,[qt,`namespace-${n}`,"front",`model-${s}`],!0),u=await fn(f,[qt,`namespace-${n}`,"back",`model-${s}`],!1);break}case"Yanki - Basic (type in the answer)":{const p=IE(i);if(p===void 0)throw new Error("Could not find emphasis in Basic (type in the answer) note AST.");const f=i,h=ie("root",ie("paragraph",p.children));a=await fn(f,[qt,`namespace-${n}`,"front",`model-${s}`],!0),u=await fn(h,[qt,`namespace-${n}`,"back",`model-${s}`],!1);break}}return{deckName:"",fields:{Back:u,Front:a,YankiNamespace:n},modelName:s,noteId:o.noteId??void 0,tags:o.tags??[]}}l(Uf,"getNoteFromMarkdown");const ui=typeof window>"u"?typeof process>"u"?"other":"node":"browser";ui==="browser"?/windows/i.test(navigator.userAgent)||/mac/i.test(navigator.userAgent):ui==="node"&&(process.platform==="win32"||process.platform);function Ze(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}l(Ze,"assertPath");function Hf(e,t){for(var n="",r=0,i=-1,s=0,o,a=0;a<=e.length;++a){if(a<e.length)o=e.charCodeAt(a);else{if(o===47)break;o=47}if(o===47){if(!(i===a-1||s===1))if(i!==a-1&&s===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var u=n.lastIndexOf("/");if(u!==n.length-1){u===-1?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=a,s=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=a,s=0;continue}}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,s=0}else o===46&&s!==-1?++s:s=-1}return n}l(Hf,"normalizeStringPosix");function DE(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}l(DE,"_format");var Ke={process_cwd:"",setCWD:l(function(t){Ke.process_cwd=t},"setCWD"),resolve:l(function(){for(var t="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var s;i>=0?s=arguments[i]:(r===void 0&&(r=Ke.process_cwd),s=r),Ze(s),s.length!==0&&s+"/"!==t&&(t=s+"/"+t,n=s.charCodeAt(0)===47)}return t=Hf(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},"resolve"),normalize:l(function(t){if(Ze(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Hf(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},"normalize"),isAbsolute:l(function(t){return Ze(t),t.length>0&&t.charCodeAt(0)===47},"isAbsolute"),join:l(function(){if(arguments.length===0)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];Ze(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":Ke.normalize(t)},"join"),relative:l(function(t,n){if(Ze(t),Ze(n),t===n||(t=Ke.resolve(t),n=Ke.resolve(n),t===n))return"";for(var r=1;r<t.length&&t.charCodeAt(r)===47;++r);for(var i=t.length,s=i-r,o=1;o<n.length&&n.charCodeAt(o)===47;++o);for(var a=n.length,u=a-o,c=s<u?s:u,p=-1,f=0;f<=c;++f){if(f===c){if(u>c){if(n.charCodeAt(o+f)===47)return n.slice(o+f+1);if(f===0)return n.slice(o+f)}else s>c&&(t.charCodeAt(r+f)===47?p=f:f===0&&(p=0));break}var h=t.charCodeAt(r+f),d=n.charCodeAt(o+f);if(h!==d)break;h===47&&(p=f)}var m="";for(f=r+p+1;f<=i;++f)(f===i||t.charCodeAt(f)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+n.slice(o+p):(o+=p,n.charCodeAt(o)===47&&++o,n.slice(o))},"relative"),_makeLong:l(function(t){return t},"_makeLong"),dirname:l(function(t){if(Ze(t),t.length===0)return".";for(var n=t.charCodeAt(0),r=n===47,i=-1,s=!0,o=t.length-1;o>=1;--o)if(n=t.charCodeAt(o),n===47){if(!s){i=o;break}}else s=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},"dirname"),basename:l(function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Ze(t);var r=0,i=-1,s=!0,o;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var a=n.length-1,u=-1;for(o=t.length-1;o>=0;--o){var c=t.charCodeAt(o);if(c===47){if(!s){r=o+1;break}}else u===-1&&(s=!1,u=o+1),a>=0&&(c===n.charCodeAt(a)?--a===-1&&(i=o):(a=-1,i=u))}return r===i?i=u:i===-1&&(i=t.length),t.slice(r,i)}else{for(o=t.length-1;o>=0;--o)if(t.charCodeAt(o)===47){if(!s){r=o+1;break}}else i===-1&&(s=!1,i=o+1);return i===-1?"":t.slice(r,i)}},"basename"),extname:l(function(t){Ze(t);for(var n=-1,r=0,i=-1,s=!0,o=0,a=t.length-1;a>=0;--a){var u=t.charCodeAt(a);if(u===47){if(!s){r=a+1;break}continue}i===-1&&(s=!1,i=a+1),u===46?n===-1?n=a:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||i===-1||o===0||o===1&&n===i-1&&n===r+1?"":t.slice(n,i)},"extname"),format:l(function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return DE("/",t)},"format"),parse:l(function(t){Ze(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var r=t.charCodeAt(0),i=r===47,s;i?(n.root="/",s=1):s=0;for(var o=-1,a=0,u=-1,c=!0,p=t.length-1,f=0;p>=s;--p){if(r=t.charCodeAt(p),r===47){if(!c){a=p+1;break}continue}u===-1&&(c=!1,u=p+1),r===46?o===-1?o=p:f!==1&&(f=1):o!==-1&&(f=-1)}return o===-1||u===-1||f===0||f===1&&o===u-1&&o===a+1?u!==-1&&(a===0&&i?n.base=n.name=t.slice(1,u):n.base=n.name=t.slice(a,u)):(a===0&&i?(n.name=t.slice(1,o),n.base=t.slice(1,u)):(n.name=t.slice(a,o),n.base=t.slice(a,u)),n.ext=t.slice(o,u)),a>0?n.dir=t.slice(0,a-1):i&&(n.dir="/"),n},"parse"),sep:"/",delimiter:":",win32:null,posix:null};Ke.posix=Ke;const xo={ankiConnectOptions:Ue,ankiWeb:!1,defaultDeckName:"Yanki",dryRun:!1,namespace:bn,obsidianVault:void 0};async function Vf(e,t){const n=performance.now(),{ankiConnectOptions:r,ankiWeb:i,defaultDeckName:s,dryRun:o,namespace:a}=xn(xo,t??{}),u=a.trim();if(u==="")throw new Error("Namespace must not be empty");if(u.includes("*")||u.includes(":"))throw new Error("Namespace for sync may not contain the characters '*' or ':'");const c=[],p=new ur(r),f=await di(p,a),h=f.filter(S=>!e.some(T=>T.noteId===S?.noteId));await Lo(p,h,o);for(const S of h)c.push({action:"deleted",note:S});for(const S of e)S.deckName===""&&(S.deckName=s);for(const S of e){if(S.noteId===void 0)continue;const T=qE(e,S.noteId);if(T.length<=1)continue;const N=f.find(E=>E?.noteId===S.noteId),A=FE(T,N);for(const E of T)E!==A&&(E.noteId=void 0)}const d=e.map(S=>S.noteId).map(S=>S??-1),m=await Io(p,d);for(const[S,T]of m.entries()){const N=e[S];if(T===void 0||N.fields.YankiNamespace!==T.fields.YankiNamespace){const A=await Xn(p,{...N,noteId:void 0},o);c.push({action:"created",note:{...N,noteId:A}})}else if(N.modelName===T.modelName){const A=await ap(p,N,T,o);c.push({action:A?"updated":"unchanged",note:N})}else{if(T.noteId===void 0)throw new Error("Remote note ID is undefined");c.push({action:"deleted",note:T}),await op(p,T,o);const A=await Xn(p,{...N,noteId:void 0},o);c.push({action:"recreated",note:{...N,noteId:A}})}}const g=[],y=[];for(const S of c)S.action==="deleted"?y.push(S.note):g.push(S.note);const w=await Do(p,g,f,o),b=w.length>0||c.some(S=>S.action!=="unchanged");return!o&&i&&(b||pi)&&await p.miscellaneous.sync(),{ankiWeb:i,deletedDecks:w,dryRun:o,duration:performance.now()-n,namespace:a,synced:c}}l(Vf,"syncNotes");async function RE(e,t,n,r){const i=performance.now();if(n===void 0||r===void 0)if(ui==="node"){const b=await import("node:fs/promises");n=l(async S=>b.readFile(S,"utf8"),"readFile"),r=l(async(S,T)=>b.writeFile(S,T,"utf8"),"writeFile")}else throw new Error("Both readFile and writeFile implementations must be provided to the syncFiles function when running in the browser");const s=xn(xo,t??{}),{namespace:o,obsidianVault:a}=s,u=[],c=[],p=Gf(e);for(const[b,S]of e.entries()){const T=await n(S);u.push(T);const N=await Uf(T,{namespace:o,obsidianVault:a});N.deckName===""&&(N.deckName=p[b]),c.push(N)}const{ankiWeb:f,deletedDecks:h,dryRun:d,synced:m}=await Vf(c,s),g=m.filter(b=>b.action!=="deleted");for(const[b,S]of c.entries()){const T=g[b].note.noteId;if(S.noteId===void 0||S.noteId!==T){if(S.noteId=T,S.noteId===void 0)throw new Error("Note ID is still undefined");const N=await Gw(u[b],S.noteId);await r(e[b],N)}}const y=c.map((b,S)=>({action:g[S].action,filePath:e[S],note:b})),w=m.filter(b=>b.action==="deleted").map(b=>({action:"deleted",note:b.note}));return{ankiWeb:f,deletedDecks:h,dryRun:d,duration:performance.now()-i,namespace:o,synced:[...w,...y]}}l(RE,"syncFiles");function Gf(e,t="common-root"){ui==="node"&&Ke.setCWD(process.cwd());const n=e.map(a=>Ke.dirname(Ke.resolve(a)).split(Ke.sep)),r=n.reduce((a,u)=>a.filter((p,f)=>p===u[f])),i=n.some(a=>a.at(-1)===r.at(-1)),s=t==="common-parent"||i?1:0;return n.map(a=>a.slice(r.length-s).join("::"))}l(Gf,"getDeckNamesFromFilePaths");function PE(e,t=!1){const n=[],{synced:r}=e,i=r.reduce((o,a)=>(o[a.action]=(o[a.action]||0)+1,o),{}),s=r.filter(o=>o.action!=="deleted").length;if(n.push(`${e.dryRun?"Will":"Successfully"} synced ${s} ${An("note",s)} to Anki${e.dryRun?"":` in ${Di(e.duration)}`}.`),t){n.push("",e.dryRun?"Sync Plan Summary:":"Sync Summary:");for(const[o,a]of Object.entries(i))n.push(` ${Li(o)}: ${a}`);e.deletedDecks.length>0&&n.push("",`Decks pruned: ${e.deletedDecks.length}`),n.push("",e.dryRun?"Sync Plan Details:":"Sync Details:");for(const{action:o,filePath:a,note:u}of r)a===void 0?n.push(` Note ID ${u.noteId} ${Li(o)} (From Anki)`):n.push(` Note ID ${u.noteId} ${Li(o)} ${a}`)}return n.join(`
|
|
303
|
-
`)}l(
|
|
303
|
+
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(s)}i=s===-2,r.push(o)}return r.join("")}l(gE,"serializeChunks");const yE={42:Ee,43:Ee,45:Ee,48:Ee,49:Ee,50:Ee,51:Ee,52:Ee,53:Ee,54:Ee,55:Ee,56:Ee,57:Ee,62:Of},bE={91:OT},wE={[-2]:No,[-1]:No,32:No},kE={35:FT,42:pi,45:[Bf,pi],60:BT,61:Bf,95:pi,96:Rf,126:Rf},vE={38:If,92:Lf},SE={[-5]:_o,[-4]:_o,[-3]:_o,33:iN,38:If,42:To,60:[oT,WT],91:oN,92:[RT,Lf],93:Eo,95:To,96:wT},xE={null:[To,cE]},AE={null:[42,95]},CE={null:[]};var TE=Object.freeze({__proto__:null,attentionMarkers:AE,contentInitial:bE,disable:CE,document:yE,flow:kE,flowInitial:wE,insideSpan:xE,string:vE,text:SE});function NE(e){const n=kf([TE,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(rE),document:i(sE),flow:i(lE),string:i(fE),text:i(hE)};return r;function i(s){return o;function o(a){return dE(r,s,a)}}}l(NE,"parse");function EE(e){for(;!Pf(e););return e}l(EE,"postprocess");const Gf=/[\0\t\n\r]/g;function _E(){let e=1,t="",n=!0,r;return i;function i(s,o,a){const u=[];let c,h,f,p,d;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(o||void 0).decode(s)),f=0,t="",n&&(s.charCodeAt(0)===65279&&f++,n=void 0);f<s.length;){if(Gf.lastIndex=f,c=Gf.exec(s),p=c&&c.index!==void 0?c.index:s.length,d=s.charCodeAt(p),!c){t=s.slice(f);break}if(d===10&&f===p&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),f<p&&(u.push(s.slice(f,p)),e+=p-f),d){case 0:{u.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,u.push(-2);e++<h;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return a&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}l(_E,"preprocess");const Wf={}.hasOwnProperty;function OE(e,t,n){return typeof t!="string"&&(n=t,t=void 0),LE(n)(EE(NE(n).document().write(_E()(e,t,!0))))}l(OE,"fromMarkdown");function LE(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(qo),autolinkProtocol:F,autolinkEmail:F,atxHeading:s(Ro),blockQuote:s(tt),characterEscape:F,characterReference:F,codeFenced:s(Ft),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(Ft,o),codeText:s(ze,o),codeTextData:F,data:F,codeFlowValue:F,definition:s(rh),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(ih),hardBreakEscape:s(Po),hardBreakTrailing:s(Po),htmlFlow:s(Fo,o),htmlFlowData:F,htmlText:s(Fo,o),htmlTextData:F,image:s(sh),label:o,link:s(qo),listItem:s(oh),listItemValue:p,listOrdered:s(Mo,f),listUnordered:s(Mo),paragraph:s(ah),reference:v,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(Ro),strong:s(lh),thematicBreak:s(ch)},exit:{atxHeading:u(),atxHeadingSequence:T,autolink:u(),autolinkEmail:et,autolinkProtocol:Se,blockQuote:u(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:K,characterReferenceMarkerNumeric:K,characterReferenceValue:j,characterReference:ne,codeFenced:u(y),codeFencedFence:g,codeFencedFenceInfo:d,codeFencedFenceMeta:m,codeFlowValue:S,codeIndented:u(b),codeText:u(U),codeTextData:S,data:S,definition:u(),definitionDestinationString:N,definitionLabelString:w,definitionTitleString:A,emphasis:u(),hardBreakEscape:u(L),hardBreakTrailing:u(L),htmlFlow:u($),htmlFlowData:S,htmlText:u(Q),htmlTextData:S,image:u(ue),label:je,labelText:se,lineEnding:P,link:u(oe),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:M,resourceDestinationString:C,resourceTitleString:k,resource:I,setextHeading:u(_),setextHeadingLineSequence:E,setextHeadingText:x,strong:u(),thematicBreak:u()}};Kf(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(O){let q={type:"root",children:[]};const z={stack:[q],tokenStack:[],config:t,enter:a,exit:c,buffer:o,resume:h,data:n},J=[];let X=-1;for(;++X<O.length;)if(O[X][1].type==="listOrdered"||O[X][1].type==="listUnordered")if(O[X][0]==="enter")J.push(X);else{const Ue=J.pop();X=i(O,Ue,X)}for(X=-1;++X<O.length;){const Ue=t[O[X][0]];Wf.call(Ue,O[X][1].type)&&Ue[O[X][1].type].call(Object.assign({sliceSerialize:O[X][2].sliceSerialize},z),O[X][1])}if(z.tokenStack.length>0){const Ue=z.tokenStack[z.tokenStack.length-1];(Ue[1]||Yf).call(z,void 0,Ue[0])}for(q.position={start:gt(O.length>0?O[0][1].start:{line:1,column:1,offset:0}),end:gt(O.length>0?O[O.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X<t.transforms.length;)q=t.transforms[X](q)||q;return q}function i(O,q,z){let J=q-1,X=-1,Ue=!1,bt,nt,kn,vn;for(;++J<=z;){const _e=O[J];switch(_e[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{_e[0]==="enter"?X++:X--,vn=void 0;break}case"lineEndingBlank":{_e[0]==="enter"&&(bt&&!vn&&!X&&!kn&&(kn=J),vn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:vn=void 0}if(!X&&_e[0]==="enter"&&_e[1].type==="listItemPrefix"||X===-1&&_e[0]==="exit"&&(_e[1].type==="listUnordered"||_e[1].type==="listOrdered")){if(bt){let qt=J;for(nt=void 0;qt--;){const rt=O[qt];if(rt[1].type==="lineEnding"||rt[1].type==="lineEndingBlank"){if(rt[0]==="exit")continue;nt&&(O[nt][1].type="lineEndingBlank",Ue=!0),rt[1].type="lineEnding",nt=qt}else if(!(rt[1].type==="linePrefix"||rt[1].type==="blockQuotePrefix"||rt[1].type==="blockQuotePrefixWhitespace"||rt[1].type==="blockQuoteMarker"||rt[1].type==="listItemIndent"))break}kn&&(!nt||kn<nt)&&(bt._spread=!0),bt.end=Object.assign({},nt?O[nt][1].start:_e[1].end),O.splice(nt||J,0,["exit",bt,_e[2]]),J++,z++}if(_e[1].type==="listItemPrefix"){const qt={type:"listItem",_spread:!1,start:Object.assign({},_e[1].start),end:void 0};bt=qt,O.splice(J,0,["enter",qt,_e[2]]),J++,z++,kn=void 0,vn=!0}}}return O[q][1]._spread=Ue,z}function s(O,q){return z;function z(J){a.call(this,O(J),J),q&&q.call(this,J)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(O,q,z){this.stack[this.stack.length-1].children.push(O),this.stack.push(O),this.tokenStack.push([q,z]),O.position={start:gt(q.start),end:void 0}}function u(O){return q;function q(z){O&&O.call(this,z),c.call(this,z)}}function c(O,q){const z=this.stack.pop(),J=this.tokenStack.pop();if(J)J[0].type!==O.type&&(q?q.call(this,O,J[0]):(J[1]||Yf).call(this,O,J[0]));else throw new Error("Cannot close `"+O.type+"` ("+Wn({start:O.start,end:O.end})+"): it\u2019s not open");z.position.end=gt(O.end)}function h(){return ko(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(O){if(this.data.expectingFirstListItemValue){const q=this.stack[this.stack.length-2];q.start=Number.parseInt(this.sliceSerialize(O),10),this.data.expectingFirstListItemValue=void 0}}function d(){const O=this.resume(),q=this.stack[this.stack.length-1];q.lang=O}function m(){const O=this.resume(),q=this.stack[this.stack.length-1];q.meta=O}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const O=this.resume(),q=this.stack[this.stack.length-1];q.value=O.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function b(){const O=this.resume(),q=this.stack[this.stack.length-1];q.value=O.replace(/(\r?\n|\r)$/g,"")}function w(O){const q=this.resume(),z=this.stack[this.stack.length-1];z.label=q,z.identifier=We(this.sliceSerialize(O)).toLowerCase()}function A(){const O=this.resume(),q=this.stack[this.stack.length-1];q.title=O}function N(){const O=this.resume(),q=this.stack[this.stack.length-1];q.url=O}function T(O){const q=this.stack[this.stack.length-1];if(!q.depth){const z=this.sliceSerialize(O).length;q.depth=z}}function x(){this.data.setextHeadingSlurpLineEnding=!0}function E(O){const q=this.stack[this.stack.length-1];q.depth=this.sliceSerialize(O).codePointAt(0)===61?1:2}function _(){this.data.setextHeadingSlurpLineEnding=void 0}function F(O){const z=this.stack[this.stack.length-1].children;let J=z[z.length-1];(!J||J.type!=="text")&&(J=uh(),J.position={start:gt(O.start),end:void 0},z.push(J)),this.stack.push(J)}function S(O){const q=this.stack.pop();q.value+=this.sliceSerialize(O),q.position.end=gt(O.end)}function P(O){const q=this.stack[this.stack.length-1];if(this.data.atHardBreak){const z=q.children[q.children.length-1];z.position.end=gt(O.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(q.type)&&(F.call(this,O),S.call(this,O))}function L(){this.data.atHardBreak=!0}function $(){const O=this.resume(),q=this.stack[this.stack.length-1];q.value=O}function Q(){const O=this.resume(),q=this.stack[this.stack.length-1];q.value=O}function U(){const O=this.resume(),q=this.stack[this.stack.length-1];q.value=O}function oe(){const O=this.stack[this.stack.length-1];if(this.data.inReference){const q=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=q,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function ue(){const O=this.stack[this.stack.length-1];if(this.data.inReference){const q=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=q,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function se(O){const q=this.sliceSerialize(O),z=this.stack[this.stack.length-2];z.label=OC(q),z.identifier=We(q).toLowerCase()}function je(){const O=this.stack[this.stack.length-1],q=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){const J=O.children;z.children=J}else z.alt=q}function C(){const O=this.resume(),q=this.stack[this.stack.length-1];q.url=O}function k(){const O=this.resume(),q=this.stack[this.stack.length-1];q.title=O}function I(){this.data.inReference=void 0}function v(){this.data.referenceType="collapsed"}function M(O){const q=this.resume(),z=this.stack[this.stack.length-1];z.label=q,z.identifier=We(this.sliceSerialize(O)).toLowerCase(),this.data.referenceType="full"}function K(O){this.data.characterReferenceType=O.type}function j(O){const q=this.sliceSerialize(O),z=this.data.characterReferenceType;let J;z?(J=gf(q,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):J=So(q);const X=this.stack[this.stack.length-1];X.value+=J}function ne(O){const q=this.stack.pop();q.position.end=gt(O.end)}function Se(O){S.call(this,O);const q=this.stack[this.stack.length-1];q.url=this.sliceSerialize(O)}function et(O){S.call(this,O);const q=this.stack[this.stack.length-1];q.url="mailto:"+this.sliceSerialize(O)}function tt(){return{type:"blockquote",children:[]}}function Ft(){return{type:"code",lang:null,meta:null,value:""}}function ze(){return{type:"inlineCode",value:""}}function rh(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ih(){return{type:"emphasis",children:[]}}function Ro(){return{type:"heading",depth:0,children:[]}}function Po(){return{type:"break"}}function Fo(){return{type:"html",value:""}}function sh(){return{type:"image",title:null,url:"",alt:null}}function qo(){return{type:"link",title:null,url:"",children:[]}}function Mo(O){return{type:"list",ordered:O.type==="listOrdered",start:null,spread:O._spread,children:[]}}function oh(O){return{type:"listItem",spread:O._spread,checked:null,children:[]}}function ah(){return{type:"paragraph",children:[]}}function lh(){return{type:"strong",children:[]}}function uh(){return{type:"text",value:""}}function ch(){return{type:"thematicBreak"}}}l(LE,"compiler");function gt(e){return{line:e.line,column:e.column,offset:e.offset}}l(gt,"point");function Kf(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Kf(e,r):IE(e,r)}}l(Kf,"configure");function IE(e,t){let n;for(n in t)if(Wf.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}l(IE,"extension");function Yf(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Wn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Wn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Wn({start:t.start,end:t.end})+") is still open")}l(Yf,"defaultOnError");function DE(e){const t=this;t.parser=n;function n(r){return OE(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}l(n,"parser")}l(DE,"remarkParse");async function RE(e,t){const{obsidianVault:n}=t??{},r=Rc().use(DE).use(cA,[{anywhere:!1,marker:"-",type:"yaml"}]).use(jN,{singleTilde:!1}).use(nE).use(HN).use(qx,{toLink(i){return{title:i.alias??i.value,uri:n?`obsidian://open?vault=Vault&file=${encodeURIComponent(i.value)}.md`:i.value,value:i.alias??i.value}}}).use(Qx);return r.run(r.parse(e))}l(RE,"getAstFromMarkdown");function PE(e,t){return de(e,t,(n,r,i)=>{if(i&&r!==void 0)return i.children.splice(r,1),ot}),e}l(PE,"deleteFirstNodeOfType");function FE(e){let t=1;return de(e,"delete",(n,r,i)=>{if(i===void 0||r===void 0||!("children"in n))return dt;const s=n.children.at(-1),o=n.children.length>1&&s?.type==="emphasis"?[ie("text",`{{c${t}::`),...n.children.slice(0,-1),ie("text","::"),...n.children.slice(-1),ie("text","}}")]:[ie("text",`{{c${t}::`),...n.children,ie("text","}}")];i.children.splice(r,1,...o),t+=1}),e}l(FE,"replaceDeleteNodesWithClozeMarkup");function Jf(e){let t,n=!1;if(de(e,"thematicBreak",(s,o,a)=>o===void 0||a===void 0?dt:(t=o,a.children[o+1]?.type==="thematicBreak"&&(n=!0),ot)),t===void 0)return[e,void 0];const r={children:e.children.slice(0,t),type:"root"},i={children:e.children.slice(t+(n?2:1)),type:"root"};return[r,i]}l(Jf,"splitTreeAtThematicBreak");function qE(e){let t;if(de(e,r=>{if(r.type==="thematicBreak")return t=void 0,ot;if(r.type==="delete")return t="Yanki - Cloze",ot}),t!==void 0)return t;if(!$E(e)&&BE(e))return"Yanki - Basic (type in the answer)";let n;return de(e,"thematicBreak",(r,i,s)=>{if(s===null||i===null)return dt;t=n?.type==="thematicBreak"&&r.type==="thematicBreak"?"Yanki - Basic (and reversed card)":"Yanki - Basic",n=r}),t??"Yanki - Basic"}l(qE,"getYankiModelNameFromTree");function ME(e){let t;if(de(e,"yaml",r=>"value"in r?(t=r.value,ot):dt),!t)return{};const n=Il(t);if(!n)throw new Error("Could not parse frontmatter");return n}l(ME,"getFrontmatterFromTree");function $E(e){let t=!1;return de(e,"thematicBreak",()=>(t=!0,ot)),t}l($E,"hasThematicBreak");function BE(e){let t,n=0;return de(e,r=>{if(r.type==="text"&&r.value.trim()!=="")t=r,n++;else if(r.type==="emphasis"&&r.children.some(i=>i.type==="text"&&i.value.trim()!==""))return t=r,n++,Yr}),t!==void 0&&t.type==="emphasis"&&n>1}l(BE,"isLastVisibleNodeEmphasisWithOthers");function jE(e){let t,n,r;if(de(e,"emphasis",(i,s,o)=>{if(o===void 0||s===void 0||i.type!=="emphasis")return dt;t=i,n=o,r=s}),n&&t&&typeof r=="number")return n.children.splice(r,1),t}l(jE,"removeLastEmphasis");async function Qf(e,t){const{namespace:n,obsidianVault:r}=t;let i=await RE(e,{obsidianVault:r});const s=qE(i),o=ME(i);i=PE(i,"yaml");let a="",u="";switch(s){case"Yanki - Basic":case"Yanki - Basic (and reversed card)":{const[h,f]=Jf(i);a=await dn(h,[Mt,`namespace-${n}`,"front",`model-${s}`],!0),u=await dn(f,[Mt,`namespace-${n}`,"back",`model-${s}`],!0);break}case"Yanki - Cloze":{i=FE(i);const[h,f]=Jf(i);a=await dn(h,[Mt,`namespace-${n}`,"front",`model-${s}`],!0),u=await dn(f,[Mt,`namespace-${n}`,"back",`model-${s}`],!1);break}case"Yanki - Basic (type in the answer)":{const h=jE(i);if(h===void 0)throw new Error("Could not find emphasis in Basic (type in the answer) note AST.");const f=i,p=ie("root",ie("paragraph",h.children));a=await dn(f,[Mt,`namespace-${n}`,"front",`model-${s}`],!0),u=await dn(p,[Mt,`namespace-${n}`,"back",`model-${s}`],!1);break}}return{deckName:"",fields:{Back:u,Front:a,YankiNamespace:n},modelName:s,noteId:o.noteId??void 0,tags:o.tags??[]}}l(Qf,"getNoteFromMarkdown");function Xf(){return/[<>:"/\\|?*\u0000-\u001F]/g}l(Xf,"filenameReservedRegex");function zE(){return/^(con|prn|aux|nul|com\d|lpt\d)$/i}l(zE,"windowsReservedNameRegex");const UE=100,HE=/^\.+(\\|\/)|^\.+$/,VE=/\.+$/;function GE(e,t={}){const n=/[\u0000-\u001F\u0080-\u009F]/g,r=/([<>:"/\\|?*\u0000-\u001F]){2,}/g;if(typeof e!="string")throw new TypeError("Expected a string");const i=t.replacement===void 0?"!":t.replacement;if(Xf().test(i)&&n.test(i))throw new Error("Replacement string cannot contain reserved filename characters");i.length>0&&(e=e.replace(r,"$1")),e=e.normalize("NFD"),e=e.replace(HE,i),e=e.replace(Xf(),i),e=e.replace(n,i),e=e.replace(VE,""),i.length>0&&(!(e[0]===".")&&e[0]==="."&&(e=i+e),e[e.length-1]==="."&&(e+=i)),e=zE().test(e)?e+i:e;const s=typeof t.maxLength=="number"?t.maxLength:UE;if(e.length>s){const o=e.lastIndexOf(".");if(o===-1)e=e.slice(0,s);else{const a=e.slice(0,o),u=e.slice(o);e=a.slice(0,Math.max(1,s-u.length))+u}}return e}l(GE,"filenamify");const WE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",KE=128;let Dt,yn;function YE(e){!Dt||Dt.length<e?(Dt=Buffer.allocUnsafe(e*KE),$o.getRandomValues(Dt),yn=0):yn+e>Dt.length&&($o.getRandomValues(Dt),yn=0),yn+=e}l(YE,"fillPool");function JE(e=21){YE(e-=0);let t="";for(let n=yn-e;n<yn;n++)t+=WE[Dt[n]&63];return t}l(JE,"nanoid");function Xe(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}l(Xe,"assertPath");function Zf(e,t){for(var n="",r=0,i=-1,s=0,o,a=0;a<=e.length;++a){if(a<e.length)o=e.charCodeAt(a);else{if(o===47)break;o=47}if(o===47){if(!(i===a-1||s===1))if(i!==a-1&&s===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var u=n.lastIndexOf("/");if(u!==n.length-1){u===-1?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=a,s=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=a,s=0;continue}}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,s=0}else o===46&&s!==-1?++s:s=-1}return n}l(Zf,"normalizeStringPosix");function QE(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}l(QE,"_format");var ye={process_cwd:"",setCWD:l(function(t){ye.process_cwd=t},"setCWD"),resolve:l(function(){for(var t="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var s;i>=0?s=arguments[i]:(r===void 0&&(r=ye.process_cwd),s=r),Xe(s),s.length!==0&&s+"/"!==t&&(t=s+"/"+t,n=s.charCodeAt(0)===47)}return t=Zf(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},"resolve"),normalize:l(function(t){if(Xe(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Zf(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},"normalize"),isAbsolute:l(function(t){return Xe(t),t.length>0&&t.charCodeAt(0)===47},"isAbsolute"),join:l(function(){if(arguments.length===0)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];Xe(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":ye.normalize(t)},"join"),relative:l(function(t,n){if(Xe(t),Xe(n),t===n||(t=ye.resolve(t),n=ye.resolve(n),t===n))return"";for(var r=1;r<t.length&&t.charCodeAt(r)===47;++r);for(var i=t.length,s=i-r,o=1;o<n.length&&n.charCodeAt(o)===47;++o);for(var a=n.length,u=a-o,c=s<u?s:u,h=-1,f=0;f<=c;++f){if(f===c){if(u>c){if(n.charCodeAt(o+f)===47)return n.slice(o+f+1);if(f===0)return n.slice(o+f)}else s>c&&(t.charCodeAt(r+f)===47?h=f:f===0&&(h=0));break}var p=t.charCodeAt(r+f),d=n.charCodeAt(o+f);if(p!==d)break;p===47&&(h=f)}var m="";for(f=r+h+1;f<=i;++f)(f===i||t.charCodeAt(f)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+n.slice(o+h):(o+=h,n.charCodeAt(o)===47&&++o,n.slice(o))},"relative"),_makeLong:l(function(t){return t},"_makeLong"),dirname:l(function(t){if(Xe(t),t.length===0)return".";for(var n=t.charCodeAt(0),r=n===47,i=-1,s=!0,o=t.length-1;o>=1;--o)if(n=t.charCodeAt(o),n===47){if(!s){i=o;break}}else s=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},"dirname"),basename:l(function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Xe(t);var r=0,i=-1,s=!0,o;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var a=n.length-1,u=-1;for(o=t.length-1;o>=0;--o){var c=t.charCodeAt(o);if(c===47){if(!s){r=o+1;break}}else u===-1&&(s=!1,u=o+1),a>=0&&(c===n.charCodeAt(a)?--a===-1&&(i=o):(a=-1,i=u))}return r===i?i=u:i===-1&&(i=t.length),t.slice(r,i)}else{for(o=t.length-1;o>=0;--o)if(t.charCodeAt(o)===47){if(!s){r=o+1;break}}else i===-1&&(s=!1,i=o+1);return i===-1?"":t.slice(r,i)}},"basename"),extname:l(function(t){Xe(t);for(var n=-1,r=0,i=-1,s=!0,o=0,a=t.length-1;a>=0;--a){var u=t.charCodeAt(a);if(u===47){if(!s){r=a+1;break}continue}i===-1&&(s=!1,i=a+1),u===46?n===-1?n=a:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||i===-1||o===0||o===1&&n===i-1&&n===r+1?"":t.slice(n,i)},"extname"),format:l(function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return QE("/",t)},"format"),parse:l(function(t){Xe(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var r=t.charCodeAt(0),i=r===47,s;i?(n.root="/",s=1):s=0;for(var o=-1,a=0,u=-1,c=!0,h=t.length-1,f=0;h>=s;--h){if(r=t.charCodeAt(h),r===47){if(!c){a=h+1;break}continue}u===-1&&(c=!1,u=h+1),r===46?o===-1?o=h:f!==1&&(f=1):o!==-1&&(f=-1)}return o===-1||u===-1||f===0||f===1&&o===u-1&&o===a+1?u!==-1&&(a===0&&i?n.base=n.name=t.slice(1,u):n.base=n.name=t.slice(a,u)):(a===0&&i?(n.name=t.slice(1,o),n.base=t.slice(1,u)):(n.name=t.slice(a,o),n.base=t.slice(a,u)),n.ext=t.slice(o,u)),a>0?n.dir=t.slice(0,a-1):i&&(n.dir="/"),n},"parse"),sep:"/",delimiter:":",win32:null,posix:null};ye.posix=ye;const mi="Untitled";function XE(e,t,n){switch(e.modelName){case"Yanki - Basic":case"Yanki - Basic (and reversed card)":case"Yanki - Basic (type in the answer)":{const r=Gt(yt(e.fields.Front).replace(nr,"").replace(mi,"")),i=Gt(yt(e.fields.Back).replace(nr,"").replace(mi,""));switch(t){case"prompt":return yt(r??i??"",n);case"response":return yt(i??r??"",n)}}case"Yanki - Cloze":{const r=Gt(yt(e.fields.Front).replace(nr,"").replace(mi,""));if(r===void 0)return yt("",n);const i=Gt(r.split("{{")[0]),s=Gt(/{{\w\d*::([^:}]+)/.exec(r)?.at(0)),o=Gt(r.split("}}")[1].split("{{")[0]);switch(t){case"prompt":return yt(i??o??s??"",n);case"response":return yt(s??i??o??"",n)}}}}l(XE,"getSafeTitleForNote");function yt(e,t){let n=GE(Bi(e).trim(),{maxLength:Number.MAX_SAFE_INTEGER,replacement:" "}).replaceAll(/\s+/g," ").trim();if(n.length===0&&(n=mi),t===void 0)return n;const r=Math.min(t,238);return $i(n,r)}l(yt,"getSafeFilename");function ZE(e,t){let n=e,r=1;for(;t.includes(n);)n=t_(e,r),r++;return n}l(ZE,"getUniqueFilePath");function e_(e){return e.replace(/\s\(\d+\)$/,"")}l(e_,"stripFilenameIncrement");function t_(e,t){const n=ye.extname(e),r=ye.basename(e,n),i=`${e_(r)} (${t})`;return ye.join(ye.dirname(e),`${i}${n}`)}l(t_,"appendFilenameIncrement");function n_(e){return`${e}-${JE(8)}`}l(n_,"getTemporarilyUniqueFilePath");const gi=typeof window>"u"?typeof process>"u"?"other":"node":"browser";gi==="browser"?/windows/i.test(navigator.userAgent)||/mac/i.test(navigator.userAgent):gi==="node"&&(process.platform==="win32"||process.platform);const Io={ankiConnectOptions:He,ankiWeb:!1,defaultDeckName:"Yanki",dryRun:!1,manageFilenames:"off",maxFilenameLength:60,namespace:Sn,obsidianVault:void 0};async function eh(e,t){const n=performance.now(),{ankiConnectOptions:r,ankiWeb:i,defaultDeckName:s,dryRun:o,namespace:a}=Nn(Io,t??{}),u=a.trim();if(u==="")throw new Error("Namespace must not be empty");if(u.includes("*")||u.includes(":"))throw new Error("Namespace for sync may not contain the characters '*' or ':'");const c=[],h=new dr(r),f=await vi(h,a),p=f.filter(A=>!e.some(N=>N.noteId===A?.noteId));await jo(h,p,o);for(const A of p)c.push({action:"deleted",note:A});for(const A of e)A.deckName===""&&(A.deckName=s);for(const A of e){if(A.noteId===void 0)continue;const N=s_(e,A.noteId);if(N.length<=1)continue;const T=f.find(E=>E?.noteId===A.noteId),x=o_(N,T);for(const E of N)E!==x&&(E.noteId=void 0)}const d=e.map(A=>A.noteId).map(A=>A??-1),m=await zo(h,d);for(const[A,N]of m.entries()){const T=e[A];if(N===void 0||T.fields.YankiNamespace!==N.fields.YankiNamespace){const x=await rr(h,{...T,noteId:void 0},o);c.push({action:"created",note:{...T,noteId:x}})}else if(T.modelName===N.modelName){const x=await gh(h,T,N,o);c.push({action:x?"updated":"unchanged",note:T})}else{if(N.noteId===void 0)throw new Error("Remote note ID is undefined");c.push({action:"deleted",note:N}),await mh(h,N,o);const x=await rr(h,{...T,noteId:void 0},o);c.push({action:"recreated",note:{...T,noteId:x}})}}const g=[],y=[];for(const A of c)A.action==="deleted"?y.push(A.note):g.push(A.note);const b=await Uo(h,g,f,o),w=b.length>0||c.some(A=>A.action!=="unchanged");return!o&&i&&(w||wi)&&await h.miscellaneous.sync(),{ankiWeb:i,deletedDecks:b,dryRun:o,duration:performance.now()-n,namespace:a,synced:c}}l(eh,"syncNotes");async function r_(e,t,n,r,i){const s=performance.now();if(n===void 0||r===void 0||i===void 0)if(gi==="node"){const T=await import("node:fs/promises");n=l(async x=>T.readFile(x,"utf8"),"readFile"),r=l(async(x,E)=>T.writeFile(x,E,"utf8"),"writeFile"),i=l(async(x,E)=>T.rename(x,E),"rename")}else throw new Error('The "readFile", "writeFile", and "rename" file function implementations must be provided to the syncFiles function when running in the browser');const o=Nn(Io,t??{}),{manageFilenames:a,maxFilenameLength:u,namespace:c,obsidianVault:h}=o,f=[],p=[],d=th(e);for(const[T,x]of e.entries()){const E=await n(x);f.push(E);const _=await Qf(E,{namespace:c,obsidianVault:h});_.deckName===""&&(_.deckName=d[T]),p.push(_)}const{ankiWeb:m,deletedDecks:g,dryRun:y,synced:b}=await eh(p,o),w=b.filter(T=>T.action!=="deleted");for(const[T,x]of p.entries()){const E=w[T].note.noteId;if(x.noteId===void 0||x.noteId!==E){if(x.noteId=E,x.noteId===void 0)throw new Error("Note ID is still undefined");const _=await t0(f[T],x.noteId);await r(e[T],_)}}const A=p.map((T,x)=>({action:w[x].action,filePath:e[x],filePathOriginal:e[x],note:T}));if(a!=="off"){const T=[];for(const E of A){const{filePathOriginal:_,note:F}=E;if(_===void 0)throw new Error("File path is undefined");const S=XE(F,a,u),P=ye.join(ye.dirname(_),`${S}${ye.extname(_)}`),L=ZE(P,T);E.filePath=L,T.push(L)}const x=new Map;for(const E of A){const{filePath:_,filePathOriginal:F}=E;if(F===void 0)throw new Error("Original file path is undefined.");if(_===void 0)throw new Error("File path is undefined.");if(_===F)continue;let S=_;A.some(P=>P.filePathOriginal===_)&&(S=n_(_),x.set(S,_)),await i(F,S)}for(const[E,_]of x)await i(E,_)}const N=b.filter(T=>T.action==="deleted").map(T=>({action:"deleted",note:T.note}));return{ankiWeb:m,deletedDecks:g,dryRun:y,duration:performance.now()-s,namespace:c,synced:[...N,...A]}}l(r_,"syncFiles");function th(e,t="common-root"){gi==="node"&&ye.setCWD(process.cwd());const n=e.map(a=>ye.dirname(ye.resolve(a)).split(ye.sep)),r=n.reduce((a,u)=>a.filter((h,f)=>h===u[f])),i=n.some(a=>a.at(-1)===r.at(-1)),s=t==="common-parent"||i?1:0;return n.map(a=>a.slice(r.length-s).join("::"))}l(th,"getDeckNamesFromFilePaths");function i_(e,t=!1){const n=[],{synced:r}=e,i=r.reduce((a,u)=>(a[u.action]=(a[u.action]||0)+1,a),{}),s=r.filter(a=>a.action!=="deleted").length,o=r.filter(a=>a.filePath!==a.filePathOriginal).length;if(n.push(`${e.dryRun?"Will":"Successfully"} synced ${s} ${En("note",s)} to Anki${e.dryRun?"":` in ${zi(e.duration)}`}.`),t){n.push("",e.dryRun?"Sync Plan Summary:":"Sync Summary:");for(const[a,u]of Object.entries(i))n.push(` ${Mi(a)}: ${u}`);o>0&&n.push("",`Local notes renamed: ${o}`),e.deletedDecks.length>0&&n.push("",`Decks pruned: ${e.deletedDecks.length}`),n.push("",e.dryRun?"Sync Plan Details:":"Sync Details:");for(const{action:a,filePath:u,note:c}of r)u===void 0?n.push(` Note ID ${c.noteId} ${Mi(a)} (From Anki)`):n.push(` Note ID ${c.noteId} ${Mi(a)} ${u}`)}return n.join(`
|
|
304
|
+
`)}l(i_,"formatSyncReport");function s_(e,t){return e.filter(n=>n.noteId===void 0?!1:n.noteId===t)}l(s_,"findNotesWithDuplicateIds");function o_(e,t){return e.find(n=>n.fields.Front===t?.fields.Front&&n.fields.Back===t?.fields.Back)??e[0]}l(o_,"selectNoteToKeep");export{Ma as a,jb as b,Mb as c,qa as d,$a as e,$b as f,Ub as g,Io as h,i_ as i,th as j,r_ as k,Bb as l,eh as m,Qf as n,Zd as o,zb as s,Xd as u,Sn as y};
|