yanki 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,74 +4,93 @@ var np=Object.defineProperty;var l=(e,t)=>np(e,"name",{value:t,configurable:!0})
4
4
  text-align: center;
5
5
  color: black;
6
6
  background-color: white;
7
- }`,pi=!0,qt="yanki",bn="Yanki",sp=ie("root",[ie("element",{properties:{},tagName:"p"},[ie("element",{properties:{},tagName:"em"},[ie("text","(Empty)")])])]);var Oo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(Xn,"getDefaultExportFromCjs");var op=ap;function Ft(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}l(Ft,"copyBuffer");function ap(e){if(e=e||{},e.circles)return lp(e);return e.proto?r:n;function t(i,s){for(var o=Object.keys(i),a=new Array(o.length),u=0;u<o.length;u++){var c=o[u],p=i[c];typeof p!="object"||p===null?a[c]=p:p instanceof Date?a[c]=new Date(p):ArrayBuffer.isView(p)?a[c]=Ft(p):a[c]=s(p)}return a}function n(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,n);if(i instanceof Map)return new Map(t(Array.from(i),n));if(i instanceof Set)return new Set(t(Array.from(i),n));var s={};for(var o in i)if(Object.hasOwnProperty.call(i,o)!==!1){var a=i[o];typeof a!="object"||a===null?s[o]=a:a instanceof Date?s[o]=new Date(a):a instanceof Map?s[o]=new Map(t(Array.from(a),n)):a instanceof Set?s[o]=new Set(t(Array.from(a),n)):ArrayBuffer.isView(a)?s[o]=Ft(a):s[o]=n(a)}return s}function r(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,r);if(i instanceof Map)return new Map(t(Array.from(i),r));if(i instanceof Set)return new Set(t(Array.from(i),r));var s={};for(var o in i){var a=i[o];typeof a!="object"||a===null?s[o]=a:a instanceof Date?s[o]=new Date(a):a instanceof Map?s[o]=new Map(t(Array.from(a),r)):a instanceof Set?s[o]=new Set(t(Array.from(a),r)):ArrayBuffer.isView(a)?s[o]=Ft(a):s[o]=r(a)}return s}}l(ap,"rfdc");function lp(e){var t=[],n=[];return e.proto?s:i;function r(o,a){for(var u=Object.keys(o),c=new Array(u.length),p=0;p<u.length;p++){var f=u[p],h=o[f];if(typeof h!="object"||h===null)c[f]=h;else if(h instanceof Date)c[f]=new Date(h);else if(ArrayBuffer.isView(h))c[f]=Ft(h);else{var d=t.indexOf(h);d!==-1?c[f]=n[d]:c[f]=a(h)}}return c}function i(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return r(o,i);if(o instanceof Map)return new Map(r(Array.from(o),i));if(o instanceof Set)return new Set(r(Array.from(o),i));var a={};t.push(o),n.push(a);for(var u in o)if(Object.hasOwnProperty.call(o,u)!==!1){var c=o[u];if(typeof c!="object"||c===null)a[u]=c;else if(c instanceof Date)a[u]=new Date(c);else if(c instanceof Map)a[u]=new Map(r(Array.from(c),i));else if(c instanceof Set)a[u]=new Set(r(Array.from(c),i));else if(ArrayBuffer.isView(c))a[u]=Ft(c);else{var p=t.indexOf(c);p!==-1?a[u]=n[p]:a[u]=i(c)}}return t.pop(),n.pop(),a}function s(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return r(o,s);if(o instanceof Map)return new Map(r(Array.from(o),s));if(o instanceof Set)return new Set(r(Array.from(o),s));var a={};t.push(o),n.push(a);for(var u in o){var c=o[u];if(typeof c!="object"||c===null)a[u]=c;else if(c instanceof Date)a[u]=new Date(c);else if(c instanceof Map)a[u]=new Map(r(Array.from(c),s));else if(c instanceof Set)a[u]=new Set(r(Array.from(c),s));else if(ArrayBuffer.isView(c))a[u]=Ft(c);else{var p=t.indexOf(c);p!==-1?a[u]=n[p]:a[u]=s(c)}}return t.pop(),n.pop(),a}}l(lp,"rfdcCircles");var Lo=Xn(op);/**
7
+ }`,pi=!0,qt="yanki",bn="Yanki",sp=ie("root",[ie("element",{properties:{},tagName:"p"},[ie("element",{properties:{},tagName:"em"},[ie("text","(Empty)")])])]),hi=[{cardTemplates:[{Back:`{{FrontSide}}
8
+
9
+ <hr id=answer>
10
+
11
+ {{Back}}`,Front:"{{Front}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic"},{cardTemplates:[{Back:`{{FrontSide}}
12
+
13
+ <hr id=answer>
14
+
15
+ {{Back}}`,Front:"{{Front}}",YankiNamespace:"{{YankiNamespace}}"},{Back:`{{FrontSide}}
16
+
17
+ <hr id=answer>
18
+
19
+ {{Front}}`,Front:"{{Back}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic (and reversed card)"},{cardTemplates:[{Back:`{{cloze:Front}}<br>
20
+ {{Back}}`,Front:"{{cloze:Front}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],isCloze:!0,modelName:"Yanki - Cloze"},{cardTemplates:[{Back:`{{Front}}
21
+
22
+ <hr id=answer>
23
+
24
+ {{type:Back}}`,Front:`{{Front}}
25
+
26
+ {{type:Back}}`,YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic (type in the answer)"}],Oo=hi.map(e=>e.modelName);async function Lo(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(Lo,"deleteNotes");async function op(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(op,"deleteNote");async function Xn(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=hi.find(o=>o.modelName===t.modelName);if(s===void 0)throw new Error(`Model not found: ${t.modelName}`);return await e.model.createModel(s),Xn(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}),Xn(e,t,n)}throw i}else throw new TypeError("Unknown error")});if(r===null)throw new Error("Note creation failed");return r}l(Xn,"addNote");async function ap(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((!up(t.tags??[],n.tags??[])||!lp(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(ap,"updateNote");function lp(e,t){const n=["Front","Back"];for(const r of n)if(e[r]!==t[r])return!1;return!0}l(lp,"areFieldsEqual");function up(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(up,"areTagsEqual");async function di(e,t=bn){const n=await e.note.findNotes({query:`"YankiNamespace:${t}"`});return await Io(e,n)}l(di,"getRemoteNotes");async function Io(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 p=o.get(c);if(p===void 0)throw new Error(`No deck found for card ${c}`);u.add(p)}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(!Oo.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(Io,"getRemoteNotesById");async function Do(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 h=f.split("::");if(h.length!==1)for(;h.length>1;){h.pop();const d=h.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}),p=Object.values(c).reduce((f,h,d)=>{const m=u[d];if(r){const g=n.filter(w=>w.deckName===m).length,y=t.filter(w=>w.deckName===m).length;h.total_in_deck===g&&y===0&&!f.includes(m)&&f.push(m)}else h.total_in_deck===0&&!f.includes(m)&&f.push(m);return f},[]);return r||await e.deck.deleteDecks({cardsToo:!0,decks:p}),p}l(Do,"deleteOrphanedDecks");async function Ro(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=hi.find(a=>a.modelName===t);if(o===void 0)throw new Error(`Model not found: ${t}`);return r?!1:(await e.model.createModel(o),Ro(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(Ro,"updateModelStyle");var Po=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(Zn,"getDefaultExportFromCjs");var cp=fp;function Ft(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}l(Ft,"copyBuffer");function fp(e){if(e=e||{},e.circles)return pp(e);return e.proto?r:n;function t(i,s){for(var o=Object.keys(i),a=new Array(o.length),u=0;u<o.length;u++){var c=o[u],p=i[c];typeof p!="object"||p===null?a[c]=p:p instanceof Date?a[c]=new Date(p):ArrayBuffer.isView(p)?a[c]=Ft(p):a[c]=s(p)}return a}function n(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,n);if(i instanceof Map)return new Map(t(Array.from(i),n));if(i instanceof Set)return new Set(t(Array.from(i),n));var s={};for(var o in i)if(Object.hasOwnProperty.call(i,o)!==!1){var a=i[o];typeof a!="object"||a===null?s[o]=a:a instanceof Date?s[o]=new Date(a):a instanceof Map?s[o]=new Map(t(Array.from(a),n)):a instanceof Set?s[o]=new Set(t(Array.from(a),n)):ArrayBuffer.isView(a)?s[o]=Ft(a):s[o]=n(a)}return s}function r(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,r);if(i instanceof Map)return new Map(t(Array.from(i),r));if(i instanceof Set)return new Set(t(Array.from(i),r));var s={};for(var o in i){var a=i[o];typeof a!="object"||a===null?s[o]=a:a instanceof Date?s[o]=new Date(a):a instanceof Map?s[o]=new Map(t(Array.from(a),r)):a instanceof Set?s[o]=new Set(t(Array.from(a),r)):ArrayBuffer.isView(a)?s[o]=Ft(a):s[o]=r(a)}return s}}l(fp,"rfdc");function pp(e){var t=[],n=[];return e.proto?s:i;function r(o,a){for(var u=Object.keys(o),c=new Array(u.length),p=0;p<u.length;p++){var f=u[p],h=o[f];if(typeof h!="object"||h===null)c[f]=h;else if(h instanceof Date)c[f]=new Date(h);else if(ArrayBuffer.isView(h))c[f]=Ft(h);else{var d=t.indexOf(h);d!==-1?c[f]=n[d]:c[f]=a(h)}}return c}function i(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return r(o,i);if(o instanceof Map)return new Map(r(Array.from(o),i));if(o instanceof Set)return new Set(r(Array.from(o),i));var a={};t.push(o),n.push(a);for(var u in o)if(Object.hasOwnProperty.call(o,u)!==!1){var c=o[u];if(typeof c!="object"||c===null)a[u]=c;else if(c instanceof Date)a[u]=new Date(c);else if(c instanceof Map)a[u]=new Map(r(Array.from(c),i));else if(c instanceof Set)a[u]=new Set(r(Array.from(c),i));else if(ArrayBuffer.isView(c))a[u]=Ft(c);else{var p=t.indexOf(c);p!==-1?a[u]=n[p]:a[u]=i(c)}}return t.pop(),n.pop(),a}function s(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return r(o,s);if(o instanceof Map)return new Map(r(Array.from(o),s));if(o instanceof Set)return new Set(r(Array.from(o),s));var a={};t.push(o),n.push(a);for(var u in o){var c=o[u];if(typeof c!="object"||c===null)a[u]=c;else if(c instanceof Date)a[u]=new Date(c);else if(c instanceof Map)a[u]=new Map(r(Array.from(c),s));else if(c instanceof Set)a[u]=new Set(r(Array.from(c),s));else if(ArrayBuffer.isView(c))a[u]=Ft(c);else{var p=t.indexOf(c);p!==-1?a[u]=n[p]:a[u]=s(c)}}return t.pop(),n.pop(),a}}l(pp,"rfdcCircles");var qo=Zn(cp);/**
8
27
  * @name codsen-utils
9
28
  * @fileoverview Various utility functions
10
29
  * @version 1.6.4
11
30
  * @author Roy Revelt, Codsen Ltd
12
31
  * @license MIT
13
32
  * {@link https://codsen.com/os/codsen-utils/}
14
- */Lo();function hi(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(hi,"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 up(e,t){return hi(e)&&Mt(t)&&t in e}l(up,"v");var cp=typeof global=="object"&&global&&global.Object===Object&&global,fp=typeof self=="object"&&self&&self.Object===Object&&self,di=cp||fp||Function("return this")(),$t=di.Symbol,Io=Object.prototype,pp=Io.hasOwnProperty,hp=Io.toString,wn=$t?$t.toStringTag:void 0;function dp(e){var t=pp.call(e,wn),n=e[wn];try{e[wn]=void 0;var r=!0}catch{}var i=hp.call(e);return r&&(t?e[wn]=n:delete e[wn]),i}l(dp,"getRawTag");var mp=Object.prototype,gp=mp.toString;function yp(e){return gp.call(e)}l(yp,"objectToString");var bp="[object Null]",wp="[object Undefined]",Do=$t?$t.toStringTag:void 0;function Ro(e){return e==null?e===void 0?wp:bp:Do&&Do in Object(e)?dp(e):yp(e)}l(Ro,"baseGetTag");function Po(e){return e!=null&&typeof e=="object"}l(Po,"isObjectLike");var kp="[object Symbol]";function vp(e){return typeof e=="symbol"||Po(e)&&Ro(e)==kp}l(vp,"isSymbol");function Sp(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(Sp,"arrayMap");var xp=Array.isArray,Ap=1/0,qo=$t?$t.prototype:void 0,Fo=qo?qo.toString:void 0;function mi(e){if(typeof e=="string")return e;if(xp(e))return Sp(e,mi)+"";if(vp(e))return Fo?Fo.call(e):"";var t=e+"";return t=="0"&&1/e==-Ap?"-0":t}l(mi,"baseToString");var Cp=/\s/;function Tp(e){for(var t=e.length;t--&&Cp.test(e.charAt(t)););return t}l(Tp,"trimmedEndIndex");var Np=/^\s+/;function Ep(e){return e&&e.slice(0,Tp(e)+1).replace(Np,"")}l(Ep,"baseTrim");function Mo(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}l(Mo,"isObject");function $o(e){return e}l($o,"identity");var _p="[object AsyncFunction]",Op="[object Function]",Lp="[object GeneratorFunction]",Ip="[object Proxy]";function Bo(e){if(!Mo(e))return!1;var t=Ro(e);return t==Op||t==Lp||t==_p||t==Ip}l(Bo,"isFunction");var gi=di["__core-js_shared__"],jo=function(){var e=/[^.]+$/.exec(gi&&gi.keys&&gi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Dp(e){return!!jo&&jo in e}l(Dp,"isMasked");var Rp=Function.prototype,Pp=Rp.toString;function qp(e){if(e!=null){try{return Pp.call(e)}catch{}try{return e+""}catch{}}return""}l(qp,"toSource");var Fp=/[\\^$.*+?()[\]{}|]/g,Mp=/^\[object .+?Constructor\]$/,$p=Function.prototype,Bp=Object.prototype,jp=$p.toString,zp=Bp.hasOwnProperty,Up=RegExp("^"+jp.call(zp).replace(Fp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Hp(e){if(!Mo(e)||Dp(e))return!1;var t=Bo(e)?Up:Mp;return t.test(qp(e))}l(Hp,"baseIsNative");function Vp(e,t){return e?.[t]}l(Vp,"getValue");function yi(e,t){var n=Vp(e,t);return Hp(n)?n:void 0}l(yi,"getNative");function Gp(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(Gp,"apply");var Wp=800,Kp=16,Yp=Date.now;function Jp(e){var t=0,n=0;return function(){var r=Yp(),i=Kp-(r-n);if(n=r,i>0){if(++t>=Wp)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}l(Jp,"shortOut");function Qp(e){return function(){return e}}l(Qp,"constant");var zo=function(){try{var e=yi(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Xp=zo?function(e,t){return zo(e,"toString",{configurable:!0,enumerable:!1,value:Qp(t),writable:!0})}:$o,Zp=Jp(Xp);function eh(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(eh,"baseFindIndex");function th(e){return e!==e}l(th,"baseIsNaN");function nh(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}l(nh,"strictIndexOf");function bi(e,t,n){return t===t?nh(e,t,n):eh(e,th,n)}l(bi,"baseIndexOf");function rh(e,t){var n=e==null?0:e.length;return!!n&&bi(e,t,0)>-1}l(rh,"arrayIncludes");function ih(e,t){return e===t||e!==e&&t!==t}l(ih,"eq");var Uo=Math.max;function sh(e,t,n){return t=Uo(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,s=Uo(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),Gp(e,this,a)}}l(sh,"overRest");function oh(e,t){return Zp(sh(e,t,$o),e+"")}l(oh,"baseRest");var ah=9007199254740991;function lh(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ah}l(lh,"isLength");function uh(e){return e!=null&&lh(e.length)&&!Bo(e)}l(uh,"isArrayLike");var kn=yi(Object,"create");function ch(){this.__data__=kn?kn(null):{},this.size=0}l(ch,"hashClear");function fh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}l(fh,"hashDelete");var ph="__lodash_hash_undefined__",hh=Object.prototype,dh=hh.hasOwnProperty;function mh(e){var t=this.__data__;if(kn){var n=t[e];return n===ph?void 0:n}return dh.call(t,e)?t[e]:void 0}l(mh,"hashGet");var gh=Object.prototype,yh=gh.hasOwnProperty;function bh(e){var t=this.__data__;return kn?t[e]!==void 0:yh.call(t,e)}l(bh,"hashHas");var wh="__lodash_hash_undefined__";function kh(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=kn&&t===void 0?wh:t,this}l(kh,"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=ch,wt.prototype.delete=fh,wt.prototype.get=mh,wt.prototype.has=bh,wt.prototype.set=kh;function vh(){this.__data__=[],this.size=0}l(vh,"listCacheClear");function Zn(e,t){for(var n=e.length;n--;)if(ih(e[n][0],t))return n;return-1}l(Zn,"assocIndexOf");var Sh=Array.prototype,xh=Sh.splice;function Ah(e){var t=this.__data__,n=Zn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():xh.call(t,n,1),--this.size,!0}l(Ah,"listCacheDelete");function Ch(e){var t=this.__data__,n=Zn(t,e);return n<0?void 0:t[n][1]}l(Ch,"listCacheGet");function Th(e){return Zn(this.__data__,e)>-1}l(Th,"listCacheHas");function Nh(e,t){var n=this.__data__,r=Zn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}l(Nh,"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=vh,Bt.prototype.delete=Ah,Bt.prototype.get=Ch,Bt.prototype.has=Th,Bt.prototype.set=Nh;var Eh=yi(di,"Map");function _h(){this.size=0,this.__data__={hash:new wt,map:new(Eh||Bt),string:new wt}}l(_h,"mapCacheClear");function Oh(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}l(Oh,"isKeyable");function er(e,t){var n=e.__data__;return Oh(t)?n[typeof t=="string"?"string":"hash"]:n.map}l(er,"getMapData");function Lh(e){var t=er(this,e).delete(e);return this.size-=t?1:0,t}l(Lh,"mapCacheDelete");function Ih(e){return er(this,e).get(e)}l(Ih,"mapCacheGet");function Dh(e){return er(this,e).has(e)}l(Dh,"mapCacheHas");function Rh(e,t){var n=er(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}l(Rh,"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=_h,jt.prototype.delete=Lh,jt.prototype.get=Ih,jt.prototype.has=Dh,jt.prototype.set=Rh;function Ph(e){return e==null?"":mi(e)}l(Ph,"toString$3");function qh(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(qh,"baseSlice");function Fh(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:qh(e,t,n)}l(Fh,"castSlice");var Mh="\\ud800-\\udfff",$h="\\u0300-\\u036f",Bh="\\ufe20-\\ufe2f",jh="\\u20d0-\\u20ff",zh=$h+Bh+jh,Uh="\\ufe0e\\ufe0f",Hh="\\u200d",Vh=RegExp("["+Hh+Mh+zh+Uh+"]");function Gh(e){return Vh.test(e)}l(Gh,"hasUnicode");function Wh(e){return e.split("")}l(Wh,"asciiToArray");var Ho="\\ud800-\\udfff",Kh="\\u0300-\\u036f",Yh="\\ufe20-\\ufe2f",Jh="\\u20d0-\\u20ff",Qh=Kh+Yh+Jh,Xh="\\ufe0e\\ufe0f",Zh="["+Ho+"]",wi="["+Qh+"]",ki="\\ud83c[\\udffb-\\udfff]",ed="(?:"+wi+"|"+ki+")",Vo="[^"+Ho+"]",Go="(?:\\ud83c[\\udde6-\\uddff]){2}",Wo="[\\ud800-\\udbff][\\udc00-\\udfff]",td="\\u200d",Ko=ed+"?",Yo="["+Xh+"]?",nd="(?:"+td+"(?:"+[Vo,Go,Wo].join("|")+")"+Yo+Ko+")*",rd=Yo+Ko+nd,id="(?:"+[Vo+wi+"?",wi,Go,Wo,Zh].join("|")+")",sd=RegExp(ki+"(?="+ki+")|"+id+rd,"g");function od(e){return e.match(sd)||[]}l(od,"unicodeToArray");function Jo(e){return Gh(e)?od(e):Wh(e)}l(Jo,"stringToArray");var ad="__lodash_hash_undefined__";function ld(e){return this.__data__.set(e,ad),this}l(ld,"setCacheAdd");function ud(e){return this.__data__.has(e)}l(ud,"setCacheHas");function tr(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new jt;++t<n;)this.add(e[t])}l(tr,"SetCache"),tr.prototype.add=tr.prototype.push=ld,tr.prototype.has=ud;function cd(e,t){return e.has(t)}l(cd,"cacheHas");function fd(e){return Po(e)&&uh(e)}l(fd,"isArrayLikeObject");var pd=200;function hd(e,t,n,r){var i=-1,s=rh,o=!0,a=e.length,u=[],c=t.length;if(!a)return u;t.length>=pd&&(s=cd,o=!1,t=new tr(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(hd,"baseDifference");function dd(e,t){for(var n=e.length;n--&&bi(t,e[n],0)>-1;);return n}l(dd,"charsEndIndex");function md(e,t){for(var n=-1,r=e.length;++n<r&&bi(t,e[n],0)>-1;);return n}l(md,"charsStartIndex");function Qo(e,t,n){if(e=Ph(e),e&&t===void 0)return Ep(e);if(!e||!(t=mi(t)))return e;var r=Jo(e),i=Jo(t),s=md(r,i),o=dd(r,i)+1;return Fh(r,s,o).join("")}l(Qo,"trim");var gd=oh(function(e,t){return fd(e)?hd(e,t):[]}),nr={},rr={};Object.defineProperty(rr,"__esModule",{value:!0}),rr.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&notin;|&(?: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:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?: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},rr.namedReferences={xml:{entities:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":"\xA0","&nbsp;":"\xA0","&iexcl":"\xA1","&iexcl;":"\xA1","&cent":"\xA2","&cent;":"\xA2","&pound":"\xA3","&pound;":"\xA3","&curren":"\xA4","&curren;":"\xA4","&yen":"\xA5","&yen;":"\xA5","&brvbar":"\xA6","&brvbar;":"\xA6","&sect":"\xA7","&sect;":"\xA7","&uml":"\xA8","&uml;":"\xA8","&copy":"\xA9","&copy;":"\xA9","&ordf":"\xAA","&ordf;":"\xAA","&laquo":"\xAB","&laquo;":"\xAB","&not":"\xAC","&not;":"\xAC","&shy":"\xAD","&shy;":"\xAD","&reg":"\xAE","&reg;":"\xAE","&macr":"\xAF","&macr;":"\xAF","&deg":"\xB0","&deg;":"\xB0","&plusmn":"\xB1","&plusmn;":"\xB1","&sup2":"\xB2","&sup2;":"\xB2","&sup3":"\xB3","&sup3;":"\xB3","&acute":"\xB4","&acute;":"\xB4","&micro":"\xB5","&micro;":"\xB5","&para":"\xB6","&para;":"\xB6","&middot":"\xB7","&middot;":"\xB7","&cedil":"\xB8","&cedil;":"\xB8","&sup1":"\xB9","&sup1;":"\xB9","&ordm":"\xBA","&ordm;":"\xBA","&raquo":"\xBB","&raquo;":"\xBB","&frac14":"\xBC","&frac14;":"\xBC","&frac12":"\xBD","&frac12;":"\xBD","&frac34":"\xBE","&frac34;":"\xBE","&iquest":"\xBF","&iquest;":"\xBF","&Agrave":"\xC0","&Agrave;":"\xC0","&Aacute":"\xC1","&Aacute;":"\xC1","&Acirc":"\xC2","&Acirc;":"\xC2","&Atilde":"\xC3","&Atilde;":"\xC3","&Auml":"\xC4","&Auml;":"\xC4","&Aring":"\xC5","&Aring;":"\xC5","&AElig":"\xC6","&AElig;":"\xC6","&Ccedil":"\xC7","&Ccedil;":"\xC7","&Egrave":"\xC8","&Egrave;":"\xC8","&Eacute":"\xC9","&Eacute;":"\xC9","&Ecirc":"\xCA","&Ecirc;":"\xCA","&Euml":"\xCB","&Euml;":"\xCB","&Igrave":"\xCC","&Igrave;":"\xCC","&Iacute":"\xCD","&Iacute;":"\xCD","&Icirc":"\xCE","&Icirc;":"\xCE","&Iuml":"\xCF","&Iuml;":"\xCF","&ETH":"\xD0","&ETH;":"\xD0","&Ntilde":"\xD1","&Ntilde;":"\xD1","&Ograve":"\xD2","&Ograve;":"\xD2","&Oacute":"\xD3","&Oacute;":"\xD3","&Ocirc":"\xD4","&Ocirc;":"\xD4","&Otilde":"\xD5","&Otilde;":"\xD5","&Ouml":"\xD6","&Ouml;":"\xD6","&times":"\xD7","&times;":"\xD7","&Oslash":"\xD8","&Oslash;":"\xD8","&Ugrave":"\xD9","&Ugrave;":"\xD9","&Uacute":"\xDA","&Uacute;":"\xDA","&Ucirc":"\xDB","&Ucirc;":"\xDB","&Uuml":"\xDC","&Uuml;":"\xDC","&Yacute":"\xDD","&Yacute;":"\xDD","&THORN":"\xDE","&THORN;":"\xDE","&szlig":"\xDF","&szlig;":"\xDF","&agrave":"\xE0","&agrave;":"\xE0","&aacute":"\xE1","&aacute;":"\xE1","&acirc":"\xE2","&acirc;":"\xE2","&atilde":"\xE3","&atilde;":"\xE3","&auml":"\xE4","&auml;":"\xE4","&aring":"\xE5","&aring;":"\xE5","&aelig":"\xE6","&aelig;":"\xE6","&ccedil":"\xE7","&ccedil;":"\xE7","&egrave":"\xE8","&egrave;":"\xE8","&eacute":"\xE9","&eacute;":"\xE9","&ecirc":"\xEA","&ecirc;":"\xEA","&euml":"\xEB","&euml;":"\xEB","&igrave":"\xEC","&igrave;":"\xEC","&iacute":"\xED","&iacute;":"\xED","&icirc":"\xEE","&icirc;":"\xEE","&iuml":"\xEF","&iuml;":"\xEF","&eth":"\xF0","&eth;":"\xF0","&ntilde":"\xF1","&ntilde;":"\xF1","&ograve":"\xF2","&ograve;":"\xF2","&oacute":"\xF3","&oacute;":"\xF3","&ocirc":"\xF4","&ocirc;":"\xF4","&otilde":"\xF5","&otilde;":"\xF5","&ouml":"\xF6","&ouml;":"\xF6","&divide":"\xF7","&divide;":"\xF7","&oslash":"\xF8","&oslash;":"\xF8","&ugrave":"\xF9","&ugrave;":"\xF9","&uacute":"\xFA","&uacute;":"\xFA","&ucirc":"\xFB","&ucirc;":"\xFB","&uuml":"\xFC","&uuml;":"\xFC","&yacute":"\xFD","&yacute;":"\xFD","&thorn":"\xFE","&thorn;":"\xFE","&yuml":"\xFF","&yuml;":"\xFF","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&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","&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"},characters:{"'":"&apos;","\xA0":"&nbsp;","\xA1":"&iexcl;","\xA2":"&cent;","\xA3":"&pound;","\xA4":"&curren;","\xA5":"&yen;","\xA6":"&brvbar;","\xA7":"&sect;","\xA8":"&uml;","\xA9":"&copy;",\u00AA:"&ordf;","\xAB":"&laquo;","\xAC":"&not;","\xAD":"&shy;","\xAE":"&reg;","\xAF":"&macr;","\xB0":"&deg;","\xB1":"&plusmn;","\xB2":"&sup2;","\xB3":"&sup3;","\xB4":"&acute;",\u00B5:"&micro;","\xB6":"&para;","\xB7":"&middot;","\xB8":"&cedil;","\xB9":"&sup1;",\u00BA:"&ordm;","\xBB":"&raquo;","\xBC":"&frac14;","\xBD":"&frac12;","\xBE":"&frac34;","\xBF":"&iquest;",\u00C0:"&Agrave;",\u00C1:"&Aacute;",\u00C2:"&Acirc;",\u00C3:"&Atilde;",\u00C4:"&Auml;",\u00C5:"&Aring;",\u00C6:"&AElig;",\u00C7:"&Ccedil;",\u00C8:"&Egrave;",\u00C9:"&Eacute;",\u00CA:"&Ecirc;",\u00CB:"&Euml;",\u00CC:"&Igrave;",\u00CD:"&Iacute;",\u00CE:"&Icirc;",\u00CF:"&Iuml;",\u00D0:"&ETH;",\u00D1:"&Ntilde;",\u00D2:"&Ograve;",\u00D3:"&Oacute;",\u00D4:"&Ocirc;",\u00D5:"&Otilde;",\u00D6:"&Ouml;","\xD7":"&times;",\u00D8:"&Oslash;",\u00D9:"&Ugrave;",\u00DA:"&Uacute;",\u00DB:"&Ucirc;",\u00DC:"&Uuml;",\u00DD:"&Yacute;",\u00DE:"&THORN;",\u00DF:"&szlig;",\u00E0:"&agrave;",\u00E1:"&aacute;",\u00E2:"&acirc;",\u00E3:"&atilde;",\u00E4:"&auml;",\u00E5:"&aring;",\u00E6:"&aelig;",\u00E7:"&ccedil;",\u00E8:"&egrave;",\u00E9:"&eacute;",\u00EA:"&ecirc;",\u00EB:"&euml;",\u00EC:"&igrave;",\u00ED:"&iacute;",\u00EE:"&icirc;",\u00EF:"&iuml;",\u00F0:"&eth;",\u00F1:"&ntilde;",\u00F2:"&ograve;",\u00F3:"&oacute;",\u00F4:"&ocirc;",\u00F5:"&otilde;",\u00F6:"&ouml;","\xF7":"&divide;",\u00F8:"&oslash;",\u00F9:"&ugrave;",\u00FA:"&uacute;",\u00FB:"&ucirc;",\u00FC:"&uuml;",\u00FD:"&yacute;",\u00FE:"&thorn;",\u00FF:"&yuml;",'"':"&quot;","&":"&amp;","<":"&lt;",">":"&gt;",\u0152:"&OElig;",\u0153:"&oelig;",\u0160:"&Scaron;",\u0161:"&scaron;",\u0178:"&Yuml;","\u02C6":"&circ;","\u02DC":"&tilde;","\u2002":"&ensp;","\u2003":"&emsp;","\u2009":"&thinsp;","\u200C":"&zwnj;","\u200D":"&zwj;","\u200E":"&lrm;","\u200F":"&rlm;","\u2013":"&ndash;","\u2014":"&mdash;","\u2018":"&lsquo;","\u2019":"&rsquo;","\u201A":"&sbquo;","\u201C":"&ldquo;","\u201D":"&rdquo;","\u201E":"&bdquo;","\u2020":"&dagger;","\u2021":"&Dagger;","\u2030":"&permil;","\u2039":"&lsaquo;","\u203A":"&rsaquo;","\u20AC":"&euro;",\u0192:"&fnof;",\u0391:"&Alpha;",\u0392:"&Beta;",\u0393:"&Gamma;",\u0394:"&Delta;",\u0395:"&Epsilon;",\u0396:"&Zeta;",\u0397:"&Eta;",\u0398:"&Theta;",\u0399:"&Iota;",\u039A:"&Kappa;",\u039B:"&Lambda;",\u039C:"&Mu;",\u039D:"&Nu;",\u039E:"&Xi;",\u039F:"&Omicron;",\u03A0:"&Pi;",\u03A1:"&Rho;",\u03A3:"&Sigma;",\u03A4:"&Tau;",\u03A5:"&Upsilon;",\u03A6:"&Phi;",\u03A7:"&Chi;",\u03A8:"&Psi;",\u03A9:"&Omega;",\u03B1:"&alpha;",\u03B2:"&beta;",\u03B3:"&gamma;",\u03B4:"&delta;",\u03B5:"&epsilon;",\u03B6:"&zeta;",\u03B7:"&eta;",\u03B8:"&theta;",\u03B9:"&iota;",\u03BA:"&kappa;",\u03BB:"&lambda;",\u03BC:"&mu;",\u03BD:"&nu;",\u03BE:"&xi;",\u03BF:"&omicron;",\u03C0:"&pi;",\u03C1:"&rho;",\u03C2:"&sigmaf;",\u03C3:"&sigma;",\u03C4:"&tau;",\u03C5:"&upsilon;",\u03C6:"&phi;",\u03C7:"&chi;",\u03C8:"&psi;",\u03C9:"&omega;",\u03D1:"&thetasym;",\u03D2:"&upsih;",\u03D6:"&piv;","\u2022":"&bull;","\u2026":"&hellip;","\u2032":"&prime;","\u2033":"&Prime;","\u203E":"&oline;","\u2044":"&frasl;","\u2118":"&weierp;",\u2111:"&image;",\u211C:"&real;","\u2122":"&trade;",\u2135:"&alefsym;","\u2190":"&larr;","\u2191":"&uarr;","\u2192":"&rarr;","\u2193":"&darr;","\u2194":"&harr;","\u21B5":"&crarr;","\u21D0":"&lArr;","\u21D1":"&uArr;","\u21D2":"&rArr;","\u21D3":"&dArr;","\u21D4":"&hArr;","\u2200":"&forall;","\u2202":"&part;","\u2203":"&exist;","\u2205":"&empty;","\u2207":"&nabla;","\u2208":"&isin;","\u2209":"&notin;","\u220B":"&ni;","\u220F":"&prod;","\u2211":"&sum;","\u2212":"&minus;","\u2217":"&lowast;","\u221A":"&radic;","\u221D":"&prop;","\u221E":"&infin;","\u2220":"&ang;","\u2227":"&and;","\u2228":"&or;","\u2229":"&cap;","\u222A":"&cup;","\u222B":"&int;","\u2234":"&there4;","\u223C":"&sim;","\u2245":"&cong;","\u2248":"&asymp;","\u2260":"&ne;","\u2261":"&equiv;","\u2264":"&le;","\u2265":"&ge;","\u2282":"&sub;","\u2283":"&sup;","\u2284":"&nsub;","\u2286":"&sube;","\u2287":"&supe;","\u2295":"&oplus;","\u2297":"&otimes;","\u22A5":"&perp;","\u22C5":"&sdot;","\u2308":"&lceil;","\u2309":"&rceil;","\u230A":"&lfloor;","\u230B":"&rfloor;","\u2329":"&lang;","\u232A":"&rang;","\u25CA":"&loz;","\u2660":"&spades;","\u2663":"&clubs;","\u2665":"&hearts;","\u2666":"&diams;"}},html5:{entities:{"&AElig":"\xC6","&AElig;":"\xC6","&AMP":"&","&AMP;":"&","&Aacute":"\xC1","&Aacute;":"\xC1","&Abreve;":"\u0102","&Acirc":"\xC2","&Acirc;":"\xC2","&Acy;":"\u0410","&Afr;":"\u{1D504}","&Agrave":"\xC0","&Agrave;":"\xC0","&Alpha;":"\u0391","&Amacr;":"\u0100","&And;":"\u2A53","&Aogon;":"\u0104","&Aopf;":"\u{1D538}","&ApplyFunction;":"\u2061","&Aring":"\xC5","&Aring;":"\xC5","&Ascr;":"\u{1D49C}","&Assign;":"\u2254","&Atilde":"\xC3","&Atilde;":"\xC3","&Auml":"\xC4","&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","&COPY;":"\xA9","&Cacute;":"\u0106","&Cap;":"\u22D2","&CapitalDifferentialD;":"\u2145","&Cayleys;":"\u212D","&Ccaron;":"\u010C","&Ccedil":"\xC7","&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","&ETH;":"\xD0","&Eacute":"\xC9","&Eacute;":"\xC9","&Ecaron;":"\u011A","&Ecirc":"\xCA","&Ecirc;":"\xCA","&Ecy;":"\u042D","&Edot;":"\u0116","&Efr;":"\u{1D508}","&Egrave":"\xC8","&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","&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":">","&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","&Iacute;":"\xCD","&Icirc":"\xCE","&Icirc;":"\xCE","&Icy;":"\u0418","&Idot;":"\u0130","&Ifr;":"\u2111","&Igrave":"\xCC","&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","&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":"<","&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;":`
15
- `,"&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","&Ntilde;":"\xD1","&Nu;":"\u039D","&OElig;":"\u0152","&Oacute":"\xD3","&Oacute;":"\xD3","&Ocirc":"\xD4","&Ocirc;":"\xD4","&Ocy;":"\u041E","&Odblac;":"\u0150","&Ofr;":"\u{1D512}","&Ograve":"\xD2","&Ograve;":"\xD2","&Omacr;":"\u014C","&Omega;":"\u03A9","&Omicron;":"\u039F","&Oopf;":"\u{1D546}","&OpenCurlyDoubleQuote;":"\u201C","&OpenCurlyQuote;":"\u2018","&Or;":"\u2A54","&Oscr;":"\u{1D4AA}","&Oslash":"\xD8","&Oslash;":"\xD8","&Otilde":"\xD5","&Otilde;":"\xD5","&Otimes;":"\u2A37","&Ouml":"\xD6","&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":'"',"&QUOT;":'"',"&Qfr;":"\u{1D514}","&Qopf;":"\u211A","&Qscr;":"\u{1D4AC}","&RBarr;":"\u2910","&REG":"\xAE","&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","&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","&Uacute;":"\xDA","&Uarr;":"\u219F","&Uarrocir;":"\u2949","&Ubrcy;":"\u040E","&Ubreve;":"\u016C","&Ucirc":"\xDB","&Ucirc;":"\xDB","&Ucy;":"\u0423","&Udblac;":"\u0170","&Ufr;":"\u{1D518}","&Ugrave":"\xD9","&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","&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","&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","&aacute;":"\xE1","&abreve;":"\u0103","&ac;":"\u223E","&acE;":"\u223E\u0333","&acd;":"\u223F","&acirc":"\xE2","&acirc;":"\xE2","&acute":"\xB4","&acute;":"\xB4","&acy;":"\u0430","&aelig":"\xE6","&aelig;":"\xE6","&af;":"\u2061","&afr;":"\u{1D51E}","&agrave":"\xE0","&agrave;":"\xE0","&alefsym;":"\u2135","&aleph;":"\u2135","&alpha;":"\u03B1","&amacr;":"\u0101","&amalg;":"\u2A3F","&amp":"&","&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","&aring;":"\xE5","&ascr;":"\u{1D4B6}","&ast;":"*","&asymp;":"\u2248","&asympeq;":"\u224D","&atilde":"\xE3","&atilde;":"\xE3","&auml":"\xE4","&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","&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","&ccedil;":"\xE7","&ccirc;":"\u0109","&ccups;":"\u2A4C","&ccupssm;":"\u2A50","&cdot;":"\u010B","&cedil":"\xB8","&cedil;":"\xB8","&cemptyv;":"\u29B2","&cent":"\xA2","&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","&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","&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","&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","&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","&eacute;":"\xE9","&easter;":"\u2A6E","&ecaron;":"\u011B","&ecir;":"\u2256","&ecirc":"\xEA","&ecirc;":"\xEA","&ecolon;":"\u2255","&ecy;":"\u044D","&edot;":"\u0117","&ee;":"\u2147","&efDot;":"\u2252","&efr;":"\u{1D522}","&eg;":"\u2A9A","&egrave":"\xE8","&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","&eth;":"\xF0","&euml":"\xEB","&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","&frac12;":"\xBD","&frac13;":"\u2153","&frac14":"\xBC","&frac14;":"\xBC","&frac15;":"\u2155","&frac16;":"\u2159","&frac18;":"\u215B","&frac23;":"\u2154","&frac25;":"\u2156","&frac34":"\xBE","&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":">","&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","&iacute;":"\xED","&ic;":"\u2063","&icirc":"\xEE","&icirc;":"\xEE","&icy;":"\u0438","&iecy;":"\u0435","&iexcl":"\xA1","&iexcl;":"\xA1","&iff;":"\u21D4","&ifr;":"\u{1D526}","&igrave":"\xEC","&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","&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","&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","&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":"<","&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","&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","&micro;":"\xB5","&mid;":"\u2223","&midast;":"*","&midcir;":"\u2AF0","&middot":"\xB7","&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","&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","&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","&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","&oacute;":"\xF3","&oast;":"\u229B","&ocir;":"\u229A","&ocirc":"\xF4","&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","&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","&ordf;":"\xAA","&ordm":"\xBA","&ordm;":"\xBA","&origof;":"\u22B6","&oror;":"\u2A56","&orslope;":"\u2A57","&orv;":"\u2A5B","&oscr;":"\u2134","&oslash":"\xF8","&oslash;":"\xF8","&osol;":"\u2298","&otilde":"\xF5","&otilde;":"\xF5","&otimes;":"\u2297","&otimesas;":"\u2A36","&ouml":"\xF6","&ouml;":"\xF6","&ovbar;":"\u233D","&par;":"\u2225","&para":"\xB6","&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","&plusmn;":"\xB1","&plussim;":"\u2A26","&plustwo;":"\u2A27","&pm;":"\xB1","&pointint;":"\u2A15","&popf;":"\u{1D561}","&pound":"\xA3","&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":'"',"&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","&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","&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","&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","&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","&sup1;":"\xB9","&sup2":"\xB2","&sup2;":"\xB2","&sup3":"\xB3","&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","&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","&thorn;":"\xFE","&tilde;":"\u02DC","&times":"\xD7","&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","&uacute;":"\xFA","&uarr;":"\u2191","&ubrcy;":"\u045E","&ubreve;":"\u016D","&ucirc":"\xFB","&ucirc;":"\xFB","&ucy;":"\u0443","&udarr;":"\u21C5","&udblac;":"\u0171","&udhar;":"\u296E","&ufisht;":"\u297E","&ufr;":"\u{1D532}","&ugrave":"\xF9","&ugrave;":"\xF9","&uharl;":"\u21BF","&uharr;":"\u21BE","&uhblk;":"\u2580","&ulcorn;":"\u231C","&ulcorner;":"\u231C","&ulcrop;":"\u230F","&ultri;":"\u25F8","&umacr;":"\u016B","&uml":"\xA8","&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","&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","&yacute;":"\xFD","&yacy;":"\u044F","&ycirc;":"\u0177","&ycy;":"\u044B","&yen":"\xA5","&yen;":"\xA5","&yfr;":"\u{1D536}","&yicy;":"\u0457","&yopf;":"\u{1D56A}","&yscr;":"\u{1D4CE}","&yucy;":"\u044E","&yuml":"\xFF","&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"},characters:{\u00C6:"&AElig;","&":"&amp;",\u00C1:"&Aacute;",\u0102:"&Abreve;",\u00C2:"&Acirc;",\u0410:"&Acy;","\u{1D504}":"&Afr;",\u00C0:"&Agrave;",\u0391:"&Alpha;",\u0100:"&Amacr;","\u2A53":"&And;",\u0104:"&Aogon;","\u{1D538}":"&Aopf;","\u2061":"&af;",\u00C5:"&angst;","\u{1D49C}":"&Ascr;","\u2254":"&coloneq;",\u00C3:"&Atilde;",\u00C4:"&Auml;","\u2216":"&ssetmn;","\u2AE7":"&Barv;","\u2306":"&doublebarwedge;",\u0411:"&Bcy;","\u2235":"&because;",\u212C:"&bernou;",\u0392:"&Beta;","\u{1D505}":"&Bfr;","\u{1D539}":"&Bopf;","\u02D8":"&breve;","\u224E":"&bump;",\u0427:"&CHcy;","\xA9":"&copy;",\u0106:"&Cacute;","\u22D2":"&Cap;","\u2145":"&DD;",\u212D:"&Cfr;",\u010C:"&Ccaron;",\u00C7:"&Ccedil;",\u0108:"&Ccirc;","\u2230":"&Cconint;",\u010A:"&Cdot;","\xB8":"&cedil;","\xB7":"&middot;",\u03A7:"&Chi;","\u2299":"&odot;","\u2296":"&ominus;","\u2295":"&oplus;","\u2297":"&otimes;","\u2232":"&cwconint;","\u201D":"&rdquor;","\u2019":"&rsquor;","\u2237":"&Proportion;","\u2A74":"&Colone;","\u2261":"&equiv;","\u222F":"&DoubleContourIntegral;","\u222E":"&oint;",\u2102:"&complexes;","\u2210":"&coprod;","\u2233":"&awconint;","\u2A2F":"&Cross;","\u{1D49E}":"&Cscr;","\u22D3":"&Cup;","\u224D":"&asympeq;","\u2911":"&DDotrahd;",\u0402:"&DJcy;",\u0405:"&DScy;",\u040F:"&DZcy;","\u2021":"&ddagger;","\u21A1":"&Darr;","\u2AE4":"&DoubleLeftTee;",\u010E:"&Dcaron;",\u0414:"&Dcy;","\u2207":"&nabla;",\u0394:"&Delta;","\u{1D507}":"&Dfr;","\xB4":"&acute;","\u02D9":"&dot;","\u02DD":"&dblac;","`":"&grave;","\u02DC":"&tilde;","\u22C4":"&diamond;","\u2146":"&dd;","\u{1D53B}":"&Dopf;","\xA8":"&uml;","\u20DC":"&DotDot;","\u2250":"&esdot;","\u21D3":"&dArr;","\u21D0":"&lArr;","\u21D4":"&iff;","\u27F8":"&xlArr;","\u27FA":"&xhArr;","\u27F9":"&xrArr;","\u21D2":"&rArr;","\u22A8":"&vDash;","\u21D1":"&uArr;","\u21D5":"&vArr;","\u2225":"&spar;","\u2193":"&downarrow;","\u2913":"&DownArrowBar;","\u21F5":"&duarr;","\u0311":"&DownBreve;","\u2950":"&DownLeftRightVector;","\u295E":"&DownLeftTeeVector;","\u21BD":"&lhard;","\u2956":"&DownLeftVectorBar;","\u295F":"&DownRightTeeVector;","\u21C1":"&rightharpoondown;","\u2957":"&DownRightVectorBar;","\u22A4":"&top;","\u21A7":"&mapstodown;","\u{1D49F}":"&Dscr;",\u0110:"&Dstrok;",\u014A:"&ENG;",\u00D0:"&ETH;",\u00C9:"&Eacute;",\u011A:"&Ecaron;",\u00CA:"&Ecirc;",\u042D:"&Ecy;",\u0116:"&Edot;","\u{1D508}":"&Efr;",\u00C8:"&Egrave;","\u2208":"&isinv;",\u0112:"&Emacr;","\u25FB":"&EmptySmallSquare;","\u25AB":"&EmptyVerySmallSquare;",\u0118:"&Eogon;","\u{1D53C}":"&Eopf;",\u0395:"&Epsilon;","\u2A75":"&Equal;","\u2242":"&esim;","\u21CC":"&rlhar;",\u2130:"&expectation;","\u2A73":"&Esim;",\u0397:"&Eta;",\u00CB:"&Euml;","\u2203":"&exist;","\u2147":"&exponentiale;",\u0424:"&Fcy;","\u{1D509}":"&Ffr;","\u25FC":"&FilledSmallSquare;","\u25AA":"&squf;","\u{1D53D}":"&Fopf;","\u2200":"&forall;",\u2131:"&Fscr;",\u0403:"&GJcy;",">":"&gt;",\u0393:"&Gamma;",\u03DC:"&Gammad;",\u011E:"&Gbreve;",\u0122:"&Gcedil;",\u011C:"&Gcirc;",\u0413:"&Gcy;",\u0120:"&Gdot;","\u{1D50A}":"&Gfr;","\u22D9":"&ggg;","\u{1D53E}":"&Gopf;","\u2265":"&geq;","\u22DB":"&gtreqless;","\u2267":"&geqq;","\u2AA2":"&GreaterGreater;","\u2277":"&gtrless;","\u2A7E":"&ges;","\u2273":"&gtrsim;","\u{1D4A2}":"&Gscr;","\u226B":"&gg;",\u042A:"&HARDcy;","\u02C7":"&caron;","^":"&Hat;",\u0124:"&Hcirc;",\u210C:"&Poincareplane;",\u210B:"&hamilt;",\u210D:"&quaternions;","\u2500":"&boxh;",\u0126:"&Hstrok;","\u224F":"&bumpeq;",\u0415:"&IEcy;",\u0132:"&IJlig;",\u0401:"&IOcy;",\u00CD:"&Iacute;",\u00CE:"&Icirc;",\u0418:"&Icy;",\u0130:"&Idot;",\u2111:"&imagpart;",\u00CC:"&Igrave;",\u012A:"&Imacr;","\u2148":"&ii;","\u222C":"&Int;","\u222B":"&int;","\u22C2":"&xcap;","\u2063":"&ic;","\u2062":"&it;",\u012E:"&Iogon;","\u{1D540}":"&Iopf;",\u0399:"&Iota;",\u2110:"&imagline;",\u0128:"&Itilde;",\u0406:"&Iukcy;",\u00CF:"&Iuml;",\u0134:"&Jcirc;",\u0419:"&Jcy;","\u{1D50D}":"&Jfr;","\u{1D541}":"&Jopf;","\u{1D4A5}":"&Jscr;",\u0408:"&Jsercy;",\u0404:"&Jukcy;",\u0425:"&KHcy;",\u040C:"&KJcy;",\u039A:"&Kappa;",\u0136:"&Kcedil;",\u041A:"&Kcy;","\u{1D50E}":"&Kfr;","\u{1D542}":"&Kopf;","\u{1D4A6}":"&Kscr;",\u0409:"&LJcy;","<":"&lt;",\u0139:"&Lacute;",\u039B:"&Lambda;","\u27EA":"&Lang;",\u2112:"&lagran;","\u219E":"&twoheadleftarrow;",\u013D:"&Lcaron;",\u013B:"&Lcedil;",\u041B:"&Lcy;","\u27E8":"&langle;","\u2190":"&slarr;","\u21E4":"&larrb;","\u21C6":"&lrarr;","\u2308":"&lceil;","\u27E6":"&lobrk;","\u2961":"&LeftDownTeeVector;","\u21C3":"&downharpoonleft;","\u2959":"&LeftDownVectorBar;","\u230A":"&lfloor;","\u2194":"&leftrightarrow;","\u294E":"&LeftRightVector;","\u22A3":"&dashv;","\u21A4":"&mapstoleft;","\u295A":"&LeftTeeVector;","\u22B2":"&vltri;","\u29CF":"&LeftTriangleBar;","\u22B4":"&trianglelefteq;","\u2951":"&LeftUpDownVector;","\u2960":"&LeftUpTeeVector;","\u21BF":"&upharpoonleft;","\u2958":"&LeftUpVectorBar;","\u21BC":"&lharu;","\u2952":"&LeftVectorBar;","\u22DA":"&lesseqgtr;","\u2266":"&leqq;","\u2276":"&lg;","\u2AA1":"&LessLess;","\u2A7D":"&les;","\u2272":"&lsim;","\u{1D50F}":"&Lfr;","\u22D8":"&Ll;","\u21DA":"&lAarr;",\u013F:"&Lmidot;","\u27F5":"&xlarr;","\u27F7":"&xharr;","\u27F6":"&xrarr;","\u{1D543}":"&Lopf;","\u2199":"&swarrow;","\u2198":"&searrow;","\u21B0":"&lsh;",\u0141:"&Lstrok;","\u226A":"&ll;","\u2905":"&Map;",\u041C:"&Mcy;","\u205F":"&MediumSpace;",\u2133:"&phmmat;","\u{1D510}":"&Mfr;","\u2213":"&mp;","\u{1D544}":"&Mopf;",\u039C:"&Mu;",\u040A:"&NJcy;",\u0143:"&Nacute;",\u0147:"&Ncaron;",\u0145:"&Ncedil;",\u041D:"&Ncy;","\u200B":"&ZeroWidthSpace;","\n":"&NewLine;","\u{1D511}":"&Nfr;","\u2060":"&NoBreak;","\xA0":"&nbsp;",\u2115:"&naturals;","\u2AEC":"&Not;","\u2262":"&nequiv;","\u226D":"&NotCupCap;","\u2226":"&nspar;","\u2209":"&notinva;","\u2260":"&ne;","\u2242\u0338":"&nesim;","\u2204":"&nexists;","\u226F":"&ngtr;","\u2271":"&ngeq;","\u2267\u0338":"&ngeqq;","\u226B\u0338":"&nGtv;","\u2279":"&ntgl;","\u2A7E\u0338":"&nges;","\u2275":"&ngsim;","\u224E\u0338":"&nbump;","\u224F\u0338":"&nbumpe;","\u22EA":"&ntriangleleft;","\u29CF\u0338":"&NotLeftTriangleBar;","\u22EC":"&ntrianglelefteq;","\u226E":"&nlt;","\u2270":"&nleq;","\u2278":"&ntlg;","\u226A\u0338":"&nLtv;","\u2A7D\u0338":"&nles;","\u2274":"&nlsim;","\u2AA2\u0338":"&NotNestedGreaterGreater;","\u2AA1\u0338":"&NotNestedLessLess;","\u2280":"&nprec;","\u2AAF\u0338":"&npreceq;","\u22E0":"&nprcue;","\u220C":"&notniva;","\u22EB":"&ntriangleright;","\u29D0\u0338":"&NotRightTriangleBar;","\u22ED":"&ntrianglerighteq;","\u228F\u0338":"&NotSquareSubset;","\u22E2":"&nsqsube;","\u2290\u0338":"&NotSquareSuperset;","\u22E3":"&nsqsupe;","\u2282\u20D2":"&vnsub;","\u2288":"&nsubseteq;","\u2281":"&nsucc;","\u2AB0\u0338":"&nsucceq;","\u22E1":"&nsccue;","\u227F\u0338":"&NotSucceedsTilde;","\u2283\u20D2":"&vnsup;","\u2289":"&nsupseteq;","\u2241":"&nsim;","\u2244":"&nsimeq;","\u2247":"&ncong;","\u2249":"&napprox;","\u2224":"&nsmid;","\u{1D4A9}":"&Nscr;",\u00D1:"&Ntilde;",\u039D:"&Nu;",\u0152:"&OElig;",\u00D3:"&Oacute;",\u00D4:"&Ocirc;",\u041E:"&Ocy;",\u0150:"&Odblac;","\u{1D512}":"&Ofr;",\u00D2:"&Ograve;",\u014C:"&Omacr;",\u03A9:"&ohm;",\u039F:"&Omicron;","\u{1D546}":"&Oopf;","\u201C":"&ldquo;","\u2018":"&lsquo;","\u2A54":"&Or;","\u{1D4AA}":"&Oscr;",\u00D8:"&Oslash;",\u00D5:"&Otilde;","\u2A37":"&Otimes;",\u00D6:"&Ouml;","\u203E":"&oline;","\u23DE":"&OverBrace;","\u23B4":"&tbrk;","\u23DC":"&OverParenthesis;","\u2202":"&part;",\u041F:"&Pcy;","\u{1D513}":"&Pfr;",\u03A6:"&Phi;",\u03A0:"&Pi;","\xB1":"&pm;",\u2119:"&primes;","\u2ABB":"&Pr;","\u227A":"&prec;","\u2AAF":"&preceq;","\u227C":"&preccurlyeq;","\u227E":"&prsim;","\u2033":"&Prime;","\u220F":"&prod;","\u221D":"&vprop;","\u{1D4AB}":"&Pscr;",\u03A8:"&Psi;",'"':"&quot;","\u{1D514}":"&Qfr;",\u211A:"&rationals;","\u{1D4AC}":"&Qscr;","\u2910":"&drbkarow;","\xAE":"&reg;",\u0154:"&Racute;","\u27EB":"&Rang;","\u21A0":"&twoheadrightarrow;","\u2916":"&Rarrtl;",\u0158:"&Rcaron;",\u0156:"&Rcedil;",\u0420:"&Rcy;",\u211C:"&realpart;","\u220B":"&niv;","\u21CB":"&lrhar;","\u296F":"&duhar;",\u03A1:"&Rho;","\u27E9":"&rangle;","\u2192":"&srarr;","\u21E5":"&rarrb;","\u21C4":"&rlarr;","\u2309":"&rceil;","\u27E7":"&robrk;","\u295D":"&RightDownTeeVector;","\u21C2":"&downharpoonright;","\u2955":"&RightDownVectorBar;","\u230B":"&rfloor;","\u22A2":"&vdash;","\u21A6":"&mapsto;","\u295B":"&RightTeeVector;","\u22B3":"&vrtri;","\u29D0":"&RightTriangleBar;","\u22B5":"&trianglerighteq;","\u294F":"&RightUpDownVector;","\u295C":"&RightUpTeeVector;","\u21BE":"&upharpoonright;","\u2954":"&RightUpVectorBar;","\u21C0":"&rightharpoonup;","\u2953":"&RightVectorBar;",\u211D:"&reals;","\u2970":"&RoundImplies;","\u21DB":"&rAarr;",\u211B:"&realine;","\u21B1":"&rsh;","\u29F4":"&RuleDelayed;",\u0429:"&SHCHcy;",\u0428:"&SHcy;",\u042C:"&SOFTcy;",\u015A:"&Sacute;","\u2ABC":"&Sc;",\u0160:"&Scaron;",\u015E:"&Scedil;",\u015C:"&Scirc;",\u0421:"&Scy;","\u{1D516}":"&Sfr;","\u2191":"&uparrow;",\u03A3:"&Sigma;","\u2218":"&compfn;","\u{1D54A}":"&Sopf;","\u221A":"&radic;","\u25A1":"&square;","\u2293":"&sqcap;","\u228F":"&sqsubset;","\u2291":"&sqsubseteq;","\u2290":"&sqsupset;","\u2292":"&sqsupseteq;","\u2294":"&sqcup;","\u{1D4AE}":"&Sscr;","\u22C6":"&sstarf;","\u22D0":"&Subset;","\u2286":"&subseteq;","\u227B":"&succ;","\u2AB0":"&succeq;","\u227D":"&succcurlyeq;","\u227F":"&succsim;","\u2211":"&sum;","\u22D1":"&Supset;","\u2283":"&supset;","\u2287":"&supseteq;",\u00DE:"&THORN;","\u2122":"&trade;",\u040B:"&TSHcy;",\u0426:"&TScy;"," ":"&Tab;",\u03A4:"&Tau;",\u0164:"&Tcaron;",\u0162:"&Tcedil;",\u0422:"&Tcy;","\u{1D517}":"&Tfr;","\u2234":"&therefore;",\u0398:"&Theta;","\u205F\u200A":"&ThickSpace;","\u2009":"&thinsp;","\u223C":"&thksim;","\u2243":"&simeq;","\u2245":"&cong;","\u2248":"&thkap;","\u{1D54B}":"&Topf;","\u20DB":"&tdot;","\u{1D4AF}":"&Tscr;",\u0166:"&Tstrok;",\u00DA:"&Uacute;","\u219F":"&Uarr;","\u2949":"&Uarrocir;",\u040E:"&Ubrcy;",\u016C:"&Ubreve;",\u00DB:"&Ucirc;",\u0423:"&Ucy;",\u0170:"&Udblac;","\u{1D518}":"&Ufr;",\u00D9:"&Ugrave;",\u016A:"&Umacr;",_:"&lowbar;","\u23DF":"&UnderBrace;","\u23B5":"&bbrk;","\u23DD":"&UnderParenthesis;","\u22C3":"&xcup;","\u228E":"&uplus;",\u0172:"&Uogon;","\u{1D54C}":"&Uopf;","\u2912":"&UpArrowBar;","\u21C5":"&udarr;","\u2195":"&varr;","\u296E":"&udhar;","\u22A5":"&perp;","\u21A5":"&mapstoup;","\u2196":"&nwarrow;","\u2197":"&nearrow;",\u03D2:"&upsih;",\u03A5:"&Upsilon;",\u016E:"&Uring;","\u{1D4B0}":"&Uscr;",\u0168:"&Utilde;",\u00DC:"&Uuml;","\u22AB":"&VDash;","\u2AEB":"&Vbar;",\u0412:"&Vcy;","\u22A9":"&Vdash;","\u2AE6":"&Vdashl;","\u22C1":"&xvee;","\u2016":"&Vert;","\u2223":"&smid;","|":"&vert;","\u2758":"&VerticalSeparator;","\u2240":"&wreath;","\u200A":"&hairsp;","\u{1D519}":"&Vfr;","\u{1D54D}":"&Vopf;","\u{1D4B1}":"&Vscr;","\u22AA":"&Vvdash;",\u0174:"&Wcirc;","\u22C0":"&xwedge;","\u{1D51A}":"&Wfr;","\u{1D54E}":"&Wopf;","\u{1D4B2}":"&Wscr;","\u{1D51B}":"&Xfr;",\u039E:"&Xi;","\u{1D54F}":"&Xopf;","\u{1D4B3}":"&Xscr;",\u042F:"&YAcy;",\u0407:"&YIcy;",\u042E:"&YUcy;",\u00DD:"&Yacute;",\u0176:"&Ycirc;",\u042B:"&Ycy;","\u{1D51C}":"&Yfr;","\u{1D550}":"&Yopf;","\u{1D4B4}":"&Yscr;",\u0178:"&Yuml;",\u0416:"&ZHcy;",\u0179:"&Zacute;",\u017D:"&Zcaron;",\u0417:"&Zcy;",\u017B:"&Zdot;",\u0396:"&Zeta;",\u2128:"&zeetrf;",\u2124:"&integers;","\u{1D4B5}":"&Zscr;",\u00E1:"&aacute;",\u0103:"&abreve;","\u223E":"&mstpos;","\u223E\u0333":"&acE;","\u223F":"&acd;",\u00E2:"&acirc;",\u0430:"&acy;",\u00E6:"&aelig;","\u{1D51E}":"&afr;",\u00E0:"&agrave;",\u2135:"&aleph;",\u03B1:"&alpha;",\u0101:"&amacr;","\u2A3F":"&amalg;","\u2227":"&wedge;","\u2A55":"&andand;","\u2A5C":"&andd;","\u2A58":"&andslope;","\u2A5A":"&andv;","\u2220":"&angle;","\u29A4":"&ange;","\u2221":"&measuredangle;","\u29A8":"&angmsdaa;","\u29A9":"&angmsdab;","\u29AA":"&angmsdac;","\u29AB":"&angmsdad;","\u29AC":"&angmsdae;","\u29AD":"&angmsdaf;","\u29AE":"&angmsdag;","\u29AF":"&angmsdah;","\u221F":"&angrt;","\u22BE":"&angrtvb;","\u299D":"&angrtvbd;","\u2222":"&angsph;","\u237C":"&angzarr;",\u0105:"&aogon;","\u{1D552}":"&aopf;","\u2A70":"&apE;","\u2A6F":"&apacir;","\u224A":"&approxeq;","\u224B":"&apid;","'":"&apos;",\u00E5:"&aring;","\u{1D4B6}":"&ascr;","*":"&midast;",\u00E3:"&atilde;",\u00E4:"&auml;","\u2A11":"&awint;","\u2AED":"&bNot;","\u224C":"&bcong;","\u03F6":"&bepsi;","\u2035":"&bprime;","\u223D":"&bsim;","\u22CD":"&bsime;","\u22BD":"&barvee;","\u2305":"&barwedge;","\u23B6":"&bbrktbrk;",\u0431:"&bcy;","\u201E":"&ldquor;","\u29B0":"&bemptyv;",\u03B2:"&beta;",\u2136:"&beth;","\u226C":"&twixt;","\u{1D51F}":"&bfr;","\u25EF":"&xcirc;","\u2A00":"&xodot;","\u2A01":"&xoplus;","\u2A02":"&xotime;","\u2A06":"&xsqcup;","\u2605":"&starf;","\u25BD":"&xdtri;","\u25B3":"&xutri;","\u2A04":"&xuplus;","\u290D":"&rbarr;","\u29EB":"&lozf;","\u25B4":"&utrif;","\u25BE":"&dtrif;","\u25C2":"&ltrif;","\u25B8":"&rtrif;","\u2423":"&blank;","\u2592":"&blk12;","\u2591":"&blk14;","\u2593":"&blk34;","\u2588":"&block;","=\u20E5":"&bne;","\u2261\u20E5":"&bnequiv;","\u2310":"&bnot;","\u{1D553}":"&bopf;","\u22C8":"&bowtie;","\u2557":"&boxDL;","\u2554":"&boxDR;","\u2556":"&boxDl;","\u2553":"&boxDr;","\u2550":"&boxH;","\u2566":"&boxHD;","\u2569":"&boxHU;","\u2564":"&boxHd;","\u2567":"&boxHu;","\u255D":"&boxUL;","\u255A":"&boxUR;","\u255C":"&boxUl;","\u2559":"&boxUr;","\u2551":"&boxV;","\u256C":"&boxVH;","\u2563":"&boxVL;","\u2560":"&boxVR;","\u256B":"&boxVh;","\u2562":"&boxVl;","\u255F":"&boxVr;","\u29C9":"&boxbox;","\u2555":"&boxdL;","\u2552":"&boxdR;","\u2510":"&boxdl;","\u250C":"&boxdr;","\u2565":"&boxhD;","\u2568":"&boxhU;","\u252C":"&boxhd;","\u2534":"&boxhu;","\u229F":"&minusb;","\u229E":"&plusb;","\u22A0":"&timesb;","\u255B":"&boxuL;","\u2558":"&boxuR;","\u2518":"&boxul;","\u2514":"&boxur;","\u2502":"&boxv;","\u256A":"&boxvH;","\u2561":"&boxvL;","\u255E":"&boxvR;","\u253C":"&boxvh;","\u2524":"&boxvl;","\u251C":"&boxvr;","\xA6":"&brvbar;","\u{1D4B7}":"&bscr;","\u204F":"&bsemi;","\\":"&bsol;","\u29C5":"&bsolb;","\u27C8":"&bsolhsub;","\u2022":"&bullet;","\u2AAE":"&bumpE;",\u0107:"&cacute;","\u2229":"&cap;","\u2A44":"&capand;","\u2A49":"&capbrcup;","\u2A4B":"&capcap;","\u2A47":"&capcup;","\u2A40":"&capdot;","\u2229\uFE00":"&caps;","\u2041":"&caret;","\u2A4D":"&ccaps;",\u010D:"&ccaron;",\u00E7:"&ccedil;",\u0109:"&ccirc;","\u2A4C":"&ccups;","\u2A50":"&ccupssm;",\u010B:"&cdot;","\u29B2":"&cemptyv;","\xA2":"&cent;","\u{1D520}":"&cfr;",\u0447:"&chcy;","\u2713":"&checkmark;",\u03C7:"&chi;","\u25CB":"&cir;","\u29C3":"&cirE;","\u02C6":"&circ;","\u2257":"&cire;","\u21BA":"&olarr;","\u21BB":"&orarr;","\u24C8":"&oS;","\u229B":"&oast;","\u229A":"&ocir;","\u229D":"&odash;","\u2A10":"&cirfnint;","\u2AEF":"&cirmid;","\u29C2":"&cirscir;","\u2663":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","\u2201":"&complement;","\u2A6D":"&congdot;","\u{1D554}":"&copf;","\u2117":"&copysr;","\u21B5":"&crarr;","\u2717":"&cross;","\u{1D4B8}":"&cscr;","\u2ACF":"&csub;","\u2AD1":"&csube;","\u2AD0":"&csup;","\u2AD2":"&csupe;","\u22EF":"&ctdot;","\u2938":"&cudarrl;","\u2935":"&cudarrr;","\u22DE":"&curlyeqprec;","\u22DF":"&curlyeqsucc;","\u21B6":"&curvearrowleft;","\u293D":"&cularrp;","\u222A":"&cup;","\u2A48":"&cupbrcap;","\u2A46":"&cupcap;","\u2A4A":"&cupcup;","\u228D":"&cupdot;","\u2A45":"&cupor;","\u222A\uFE00":"&cups;","\u21B7":"&curvearrowright;","\u293C":"&curarrm;","\u22CE":"&cuvee;","\u22CF":"&cuwed;","\xA4":"&curren;","\u2231":"&cwint;","\u232D":"&cylcty;","\u2965":"&dHar;","\u2020":"&dagger;",\u2138:"&daleth;","\u2010":"&hyphen;","\u290F":"&rBarr;",\u010F:"&dcaron;",\u0434:"&dcy;","\u21CA":"&downdownarrows;","\u2A77":"&eDDot;","\xB0":"&deg;",\u03B4:"&delta;","\u29B1":"&demptyv;","\u297F":"&dfisht;","\u{1D521}":"&dfr;","\u2666":"&diams;",\u03DD:"&gammad;","\u22F2":"&disin;","\xF7":"&divide;","\u22C7":"&divonx;",\u0452:"&djcy;","\u231E":"&llcorner;","\u230D":"&dlcrop;",$:"&dollar;","\u{1D555}":"&dopf;","\u2251":"&eDot;","\u2238":"&minusd;","\u2214":"&plusdo;","\u22A1":"&sdotb;","\u231F":"&lrcorner;","\u230C":"&drcrop;","\u{1D4B9}":"&dscr;",\u0455:"&dscy;","\u29F6":"&dsol;",\u0111:"&dstrok;","\u22F1":"&dtdot;","\u25BF":"&triangledown;","\u29A6":"&dwangle;",\u045F:"&dzcy;","\u27FF":"&dzigrarr;",\u00E9:"&eacute;","\u2A6E":"&easter;",\u011B:"&ecaron;","\u2256":"&eqcirc;",\u00EA:"&ecirc;","\u2255":"&eqcolon;",\u044D:"&ecy;",\u0117:"&edot;","\u2252":"&fallingdotseq;","\u{1D522}":"&efr;","\u2A9A":"&eg;",\u00E8:"&egrave;","\u2A96":"&eqslantgtr;","\u2A98":"&egsdot;","\u2A99":"&el;","\u23E7":"&elinters;",\u2113:"&ell;","\u2A95":"&eqslantless;","\u2A97":"&elsdot;",\u0113:"&emacr;","\u2205":"&varnothing;","\u2004":"&emsp13;","\u2005":"&emsp14;","\u2003":"&emsp;",\u014B:"&eng;","\u2002":"&ensp;",\u0119:"&eogon;","\u{1D556}":"&eopf;","\u22D5":"&epar;","\u29E3":"&eparsl;","\u2A71":"&eplus;",\u03B5:"&epsilon;","\u03F5":"&varepsilon;","=":"&equals;","\u225F":"&questeq;","\u2A78":"&equivDD;","\u29E5":"&eqvparsl;","\u2253":"&risingdotseq;","\u2971":"&erarr;",\u212F:"&escr;",\u03B7:"&eta;",\u00F0:"&eth;",\u00EB:"&euml;","\u20AC":"&euro;","!":"&excl;",\u0444:"&fcy;","\u2640":"&female;",\uFB03:"&ffilig;",\uFB00:"&fflig;",\uFB04:"&ffllig;","\u{1D523}":"&ffr;",\uFB01:"&filig;",fj:"&fjlig;","\u266D":"&flat;",\uFB02:"&fllig;","\u25B1":"&fltns;",\u0192:"&fnof;","\u{1D557}":"&fopf;","\u22D4":"&pitchfork;","\u2AD9":"&forkv;","\u2A0D":"&fpartint;","\xBD":"&half;","\u2153":"&frac13;","\xBC":"&frac14;","\u2155":"&frac15;","\u2159":"&frac16;","\u215B":"&frac18;","\u2154":"&frac23;","\u2156":"&frac25;","\xBE":"&frac34;","\u2157":"&frac35;","\u215C":"&frac38;","\u2158":"&frac45;","\u215A":"&frac56;","\u215D":"&frac58;","\u215E":"&frac78;","\u2044":"&frasl;","\u2322":"&sfrown;","\u{1D4BB}":"&fscr;","\u2A8C":"&gtreqqless;",\u01F5:"&gacute;",\u03B3:"&gamma;","\u2A86":"&gtrapprox;",\u011F:"&gbreve;",\u011D:"&gcirc;",\u0433:"&gcy;",\u0121:"&gdot;","\u2AA9":"&gescc;","\u2A80":"&gesdot;","\u2A82":"&gesdoto;","\u2A84":"&gesdotol;","\u22DB\uFE00":"&gesl;","\u2A94":"&gesles;","\u{1D524}":"&gfr;",\u2137:"&gimel;",\u0453:"&gjcy;","\u2A92":"&glE;","\u2AA5":"&gla;","\u2AA4":"&glj;","\u2269":"&gneqq;","\u2A8A":"&gnapprox;","\u2A88":"&gneq;","\u22E7":"&gnsim;","\u{1D558}":"&gopf;",\u210A:"&gscr;","\u2A8E":"&gsime;","\u2A90":"&gsiml;","\u2AA7":"&gtcc;","\u2A7A":"&gtcir;","\u22D7":"&gtrdot;","\u2995":"&gtlPar;","\u2A7C":"&gtquest;","\u2978":"&gtrarr;","\u2269\uFE00":"&gvnE;",\u044A:"&hardcy;","\u2948":"&harrcir;","\u21AD":"&leftrightsquigarrow;",\u210F:"&plankv;",\u0125:"&hcirc;","\u2665":"&heartsuit;","\u2026":"&mldr;","\u22B9":"&hercon;","\u{1D525}":"&hfr;","\u2925":"&searhk;","\u2926":"&swarhk;","\u21FF":"&hoarr;","\u223B":"&homtht;","\u21A9":"&larrhk;","\u21AA":"&rarrhk;","\u{1D559}":"&hopf;","\u2015":"&horbar;","\u{1D4BD}":"&hscr;",\u0127:"&hstrok;","\u2043":"&hybull;",\u00ED:"&iacute;",\u00EE:"&icirc;",\u0438:"&icy;",\u0435:"&iecy;","\xA1":"&iexcl;","\u{1D526}":"&ifr;",\u00EC:"&igrave;","\u2A0C":"&qint;","\u222D":"&tint;","\u29DC":"&iinfin;","\u2129":"&iiota;",\u0133:"&ijlig;",\u012B:"&imacr;",\u0131:"&inodot;","\u22B7":"&imof;",\u01B5:"&imped;","\u2105":"&incare;","\u221E":"&infin;","\u29DD":"&infintie;","\u22BA":"&intercal;","\u2A17":"&intlarhk;","\u2A3C":"&iprod;",\u0451:"&iocy;",\u012F:"&iogon;","\u{1D55A}":"&iopf;",\u03B9:"&iota;","\xBF":"&iquest;","\u{1D4BE}":"&iscr;","\u22F9":"&isinE;","\u22F5":"&isindot;","\u22F4":"&isins;","\u22F3":"&isinsv;",\u0129:"&itilde;",\u0456:"&iukcy;",\u00EF:"&iuml;",\u0135:"&jcirc;",\u0439:"&jcy;","\u{1D527}":"&jfr;","\u0237":"&jmath;","\u{1D55B}":"&jopf;","\u{1D4BF}":"&jscr;",\u0458:"&jsercy;",\u0454:"&jukcy;",\u03BA:"&kappa;",\u03F0:"&varkappa;",\u0137:"&kcedil;",\u043A:"&kcy;","\u{1D528}":"&kfr;",\u0138:"&kgreen;",\u0445:"&khcy;",\u045C:"&kjcy;","\u{1D55C}":"&kopf;","\u{1D4C0}":"&kscr;","\u291B":"&lAtail;","\u290E":"&lBarr;","\u2A8B":"&lesseqqgtr;","\u2962":"&lHar;",\u013A:"&lacute;","\u29B4":"&laemptyv;",\u03BB:"&lambda;","\u2991":"&langd;","\u2A85":"&lessapprox;","\xAB":"&laquo;","\u291F":"&larrbfs;","\u291D":"&larrfs;","\u21AB":"&looparrowleft;","\u2939":"&larrpl;","\u2973":"&larrsim;","\u21A2":"&leftarrowtail;","\u2AAB":"&lat;","\u2919":"&latail;","\u2AAD":"&late;","\u2AAD\uFE00":"&lates;","\u290C":"&lbarr;","\u2772":"&lbbrk;","{":"&lcub;","[":"&lsqb;","\u298B":"&lbrke;","\u298F":"&lbrksld;","\u298D":"&lbrkslu;",\u013E:"&lcaron;",\u013C:"&lcedil;",\u043B:"&lcy;","\u2936":"&ldca;","\u2967":"&ldrdhar;","\u294B":"&ldrushar;","\u21B2":"&ldsh;","\u2264":"&leq;","\u21C7":"&llarr;","\u22CB":"&lthree;","\u2AA8":"&lescc;","\u2A7F":"&lesdot;","\u2A81":"&lesdoto;","\u2A83":"&lesdotor;","\u22DA\uFE00":"&lesg;","\u2A93":"&lesges;","\u22D6":"&ltdot;","\u297C":"&lfisht;","\u{1D529}":"&lfr;","\u2A91":"&lgE;","\u296A":"&lharul;","\u2584":"&lhblk;",\u0459:"&ljcy;","\u296B":"&llhard;","\u25FA":"&lltri;",\u0140:"&lmidot;","\u23B0":"&lmoustache;","\u2268":"&lneqq;","\u2A89":"&lnapprox;","\u2A87":"&lneq;","\u22E6":"&lnsim;","\u27EC":"&loang;","\u21FD":"&loarr;","\u27FC":"&xmap;","\u21AC":"&rarrlp;","\u2985":"&lopar;","\u{1D55D}":"&lopf;","\u2A2D":"&loplus;","\u2A34":"&lotimes;","\u2217":"&lowast;","\u25CA":"&lozenge;","(":"&lpar;","\u2993":"&lparlt;","\u296D":"&lrhard;","\u200E":"&lrm;","\u22BF":"&lrtri;","\u2039":"&lsaquo;","\u{1D4C1}":"&lscr;","\u2A8D":"&lsime;","\u2A8F":"&lsimg;","\u201A":"&sbquo;",\u0142:"&lstrok;","\u2AA6":"&ltcc;","\u2A79":"&ltcir;","\u22C9":"&ltimes;","\u2976":"&ltlarr;","\u2A7B":"&ltquest;","\u2996":"&ltrPar;","\u25C3":"&triangleleft;","\u294A":"&lurdshar;","\u2966":"&luruhar;","\u2268\uFE00":"&lvnE;","\u223A":"&mDDot;","\xAF":"&strns;","\u2642":"&male;","\u2720":"&maltese;","\u25AE":"&marker;","\u2A29":"&mcomma;",\u043C:"&mcy;","\u2014":"&mdash;","\u{1D52A}":"&mfr;","\u2127":"&mho;",\u00B5:"&micro;","\u2AF0":"&midcir;","\u2212":"&minus;","\u2A2A":"&minusdu;","\u2ADB":"&mlcp;","\u22A7":"&models;","\u{1D55E}":"&mopf;","\u{1D4C2}":"&mscr;",\u03BC:"&mu;","\u22B8":"&mumap;","\u22D9\u0338":"&nGg;","\u226B\u20D2":"&nGt;","\u21CD":"&nlArr;","\u21CE":"&nhArr;","\u22D8\u0338":"&nLl;","\u226A\u20D2":"&nLt;","\u21CF":"&nrArr;","\u22AF":"&nVDash;","\u22AE":"&nVdash;",\u0144:"&nacute;","\u2220\u20D2":"&nang;","\u2A70\u0338":"&napE;","\u224B\u0338":"&napid;",\u0149:"&napos;","\u266E":"&natural;","\u2A43":"&ncap;",\u0148:"&ncaron;",\u0146:"&ncedil;","\u2A6D\u0338":"&ncongdot;","\u2A42":"&ncup;",\u043D:"&ncy;","\u2013":"&ndash;","\u21D7":"&neArr;","\u2924":"&nearhk;","\u2250\u0338":"&nedot;","\u2928":"&toea;","\u{1D52B}":"&nfr;","\u21AE":"&nleftrightarrow;","\u2AF2":"&nhpar;","\u22FC":"&nis;","\u22FA":"&nisd;",\u045A:"&njcy;","\u2266\u0338":"&nleqq;","\u219A":"&nleftarrow;","\u2025":"&nldr;","\u{1D55F}":"&nopf;","\xAC":"&not;","\u22F9\u0338":"&notinE;","\u22F5\u0338":"&notindot;","\u22F7":"&notinvb;","\u22F6":"&notinvc;","\u22FE":"&notnivb;","\u22FD":"&notnivc;","\u2AFD\u20E5":"&nparsl;","\u2202\u0338":"&npart;","\u2A14":"&npolint;","\u219B":"&nrightarrow;","\u2933\u0338":"&nrarrc;","\u219D\u0338":"&nrarrw;","\u{1D4C3}":"&nscr;","\u2284":"&nsub;","\u2AC5\u0338":"&nsubseteqq;","\u2285":"&nsup;","\u2AC6\u0338":"&nsupseteqq;",\u00F1:"&ntilde;",\u03BD:"&nu;","#":"&num;","\u2116":"&numero;","\u2007":"&numsp;","\u22AD":"&nvDash;","\u2904":"&nvHarr;","\u224D\u20D2":"&nvap;","\u22AC":"&nvdash;","\u2265\u20D2":"&nvge;",">\u20D2":"&nvgt;","\u29DE":"&nvinfin;","\u2902":"&nvlArr;","\u2264\u20D2":"&nvle;","<\u20D2":"&nvlt;","\u22B4\u20D2":"&nvltrie;","\u2903":"&nvrArr;","\u22B5\u20D2":"&nvrtrie;","\u223C\u20D2":"&nvsim;","\u21D6":"&nwArr;","\u2923":"&nwarhk;","\u2927":"&nwnear;",\u00F3:"&oacute;",\u00F4:"&ocirc;",\u043E:"&ocy;",\u0151:"&odblac;","\u2A38":"&odiv;","\u29BC":"&odsold;",\u0153:"&oelig;","\u29BF":"&ofcir;","\u{1D52C}":"&ofr;","\u02DB":"&ogon;",\u00F2:"&ograve;","\u29C1":"&ogt;","\u29B5":"&ohbar;","\u29BE":"&olcir;","\u29BB":"&olcross;","\u29C0":"&olt;",\u014D:"&omacr;",\u03C9:"&omega;",\u03BF:"&omicron;","\u29B6":"&omid;","\u{1D560}":"&oopf;","\u29B7":"&opar;","\u29B9":"&operp;","\u2228":"&vee;","\u2A5D":"&ord;",\u2134:"&oscr;",\u00AA:"&ordf;",\u00BA:"&ordm;","\u22B6":"&origof;","\u2A56":"&oror;","\u2A57":"&orslope;","\u2A5B":"&orv;",\u00F8:"&oslash;","\u2298":"&osol;",\u00F5:"&otilde;","\u2A36":"&otimesas;",\u00F6:"&ouml;","\u233D":"&ovbar;","\xB6":"&para;","\u2AF3":"&parsim;","\u2AFD":"&parsl;",\u043F:"&pcy;","%":"&percnt;",".":"&period;","\u2030":"&permil;","\u2031":"&pertenk;","\u{1D52D}":"&pfr;",\u03C6:"&phi;",\u03D5:"&varphi;","\u260E":"&phone;",\u03C0:"&pi;",\u03D6:"&varpi;",\u210E:"&planckh;","+":"&plus;","\u2A23":"&plusacir;","\u2A22":"&pluscir;","\u2A25":"&plusdu;","\u2A72":"&pluse;","\u2A26":"&plussim;","\u2A27":"&plustwo;","\u2A15":"&pointint;","\u{1D561}":"&popf;","\xA3":"&pound;","\u2AB3":"&prE;","\u2AB7":"&precapprox;","\u2AB9":"&prnap;","\u2AB5":"&prnE;","\u22E8":"&prnsim;","\u2032":"&prime;","\u232E":"&profalar;","\u2312":"&profline;","\u2313":"&profsurf;","\u22B0":"&prurel;","\u{1D4C5}":"&pscr;",\u03C8:"&psi;","\u2008":"&puncsp;","\u{1D52E}":"&qfr;","\u{1D562}":"&qopf;","\u2057":"&qprime;","\u{1D4C6}":"&qscr;","\u2A16":"&quatint;","?":"&quest;","\u291C":"&rAtail;","\u2964":"&rHar;","\u223D\u0331":"&race;",\u0155:"&racute;","\u29B3":"&raemptyv;","\u2992":"&rangd;","\u29A5":"&range;","\xBB":"&raquo;","\u2975":"&rarrap;","\u2920":"&rarrbfs;","\u2933":"&rarrc;","\u291E":"&rarrfs;","\u2945":"&rarrpl;","\u2974":"&rarrsim;","\u21A3":"&rightarrowtail;","\u219D":"&rightsquigarrow;","\u291A":"&ratail;","\u2236":"&ratio;","\u2773":"&rbbrk;","}":"&rcub;","]":"&rsqb;","\u298C":"&rbrke;","\u298E":"&rbrksld;","\u2990":"&rbrkslu;",\u0159:"&rcaron;",\u0157:"&rcedil;",\u0440:"&rcy;","\u2937":"&rdca;","\u2969":"&rdldhar;","\u21B3":"&rdsh;","\u25AD":"&rect;","\u297D":"&rfisht;","\u{1D52F}":"&rfr;","\u296C":"&rharul;",\u03C1:"&rho;",\u03F1:"&varrho;","\u21C9":"&rrarr;","\u22CC":"&rthree;","\u02DA":"&ring;","\u200F":"&rlm;","\u23B1":"&rmoustache;","\u2AEE":"&rnmid;","\u27ED":"&roang;","\u21FE":"&roarr;","\u2986":"&ropar;","\u{1D563}":"&ropf;","\u2A2E":"&roplus;","\u2A35":"&rotimes;",")":"&rpar;","\u2994":"&rpargt;","\u2A12":"&rppolint;","\u203A":"&rsaquo;","\u{1D4C7}":"&rscr;","\u22CA":"&rtimes;","\u25B9":"&triangleright;","\u29CE":"&rtriltri;","\u2968":"&ruluhar;","\u211E":"&rx;",\u015B:"&sacute;","\u2AB4":"&scE;","\u2AB8":"&succapprox;",\u0161:"&scaron;",\u015F:"&scedil;",\u015D:"&scirc;","\u2AB6":"&succneqq;","\u2ABA":"&succnapprox;","\u22E9":"&succnsim;","\u2A13":"&scpolint;",\u0441:"&scy;","\u22C5":"&sdot;","\u2A66":"&sdote;","\u21D8":"&seArr;","\xA7":"&sect;",";":"&semi;","\u2929":"&tosa;","\u2736":"&sext;","\u{1D530}":"&sfr;","\u266F":"&sharp;",\u0449:"&shchcy;",\u0448:"&shcy;","\xAD":"&shy;",\u03C3:"&sigma;",\u03C2:"&varsigma;","\u2A6A":"&simdot;","\u2A9E":"&simg;","\u2AA0":"&simgE;","\u2A9D":"&siml;","\u2A9F":"&simlE;","\u2246":"&simne;","\u2A24":"&simplus;","\u2972":"&simrarr;","\u2A33":"&smashp;","\u29E4":"&smeparsl;","\u2323":"&ssmile;","\u2AAA":"&smt;","\u2AAC":"&smte;","\u2AAC\uFE00":"&smtes;",\u044C:"&softcy;","/":"&sol;","\u29C4":"&solb;","\u233F":"&solbar;","\u{1D564}":"&sopf;","\u2660":"&spadesuit;","\u2293\uFE00":"&sqcaps;","\u2294\uFE00":"&sqcups;","\u{1D4C8}":"&sscr;","\u2606":"&star;","\u2282":"&subset;","\u2AC5":"&subseteqq;","\u2ABD":"&subdot;","\u2AC3":"&subedot;","\u2AC1":"&submult;","\u2ACB":"&subsetneqq;","\u228A":"&subsetneq;","\u2ABF":"&subplus;","\u2979":"&subrarr;","\u2AC7":"&subsim;","\u2AD5":"&subsub;","\u2AD3":"&subsup;","\u266A":"&sung;","\xB9":"&sup1;","\xB2":"&sup2;","\xB3":"&sup3;","\u2AC6":"&supseteqq;","\u2ABE":"&supdot;","\u2AD8":"&supdsub;","\u2AC4":"&supedot;","\u27C9":"&suphsol;","\u2AD7":"&suphsub;","\u297B":"&suplarr;","\u2AC2":"&supmult;","\u2ACC":"&supsetneqq;","\u228B":"&supsetneq;","\u2AC0":"&supplus;","\u2AC8":"&supsim;","\u2AD4":"&supsub;","\u2AD6":"&supsup;","\u21D9":"&swArr;","\u292A":"&swnwar;",\u00DF:"&szlig;","\u2316":"&target;",\u03C4:"&tau;",\u0165:"&tcaron;",\u0163:"&tcedil;",\u0442:"&tcy;","\u2315":"&telrec;","\u{1D531}":"&tfr;",\u03B8:"&theta;",\u03D1:"&vartheta;",\u00FE:"&thorn;","\xD7":"&times;","\u2A31":"&timesbar;","\u2A30":"&timesd;","\u2336":"&topbot;","\u2AF1":"&topcir;","\u{1D565}":"&topf;","\u2ADA":"&topfork;","\u2034":"&tprime;","\u25B5":"&utri;","\u225C":"&trie;","\u25EC":"&tridot;","\u2A3A":"&triminus;","\u2A39":"&triplus;","\u29CD":"&trisb;","\u2A3B":"&tritime;","\u23E2":"&trpezium;","\u{1D4C9}":"&tscr;",\u0446:"&tscy;",\u045B:"&tshcy;",\u0167:"&tstrok;","\u2963":"&uHar;",\u00FA:"&uacute;",\u045E:"&ubrcy;",\u016D:"&ubreve;",\u00FB:"&ucirc;",\u0443:"&ucy;",\u0171:"&udblac;","\u297E":"&ufisht;","\u{1D532}":"&ufr;",\u00F9:"&ugrave;","\u2580":"&uhblk;","\u231C":"&ulcorner;","\u230F":"&ulcrop;","\u25F8":"&ultri;",\u016B:"&umacr;",\u0173:"&uogon;","\u{1D566}":"&uopf;",\u03C5:"&upsilon;","\u21C8":"&uuarr;","\u231D":"&urcorner;","\u230E":"&urcrop;",\u016F:"&uring;","\u25F9":"&urtri;","\u{1D4CA}":"&uscr;","\u22F0":"&utdot;",\u0169:"&utilde;",\u00FC:"&uuml;","\u29A7":"&uwangle;","\u2AE8":"&vBar;","\u2AE9":"&vBarv;","\u299C":"&vangrt;","\u228A\uFE00":"&vsubne;","\u2ACB\uFE00":"&vsubnE;","\u228B\uFE00":"&vsupne;","\u2ACC\uFE00":"&vsupnE;",\u0432:"&vcy;","\u22BB":"&veebar;","\u225A":"&veeeq;","\u22EE":"&vellip;","\u{1D533}":"&vfr;","\u{1D567}":"&vopf;","\u{1D4CB}":"&vscr;","\u299A":"&vzigzag;",\u0175:"&wcirc;","\u2A5F":"&wedbar;","\u2259":"&wedgeq;","\u2118":"&wp;","\u{1D534}":"&wfr;","\u{1D568}":"&wopf;","\u{1D4CC}":"&wscr;","\u{1D535}":"&xfr;",\u03BE:"&xi;","\u22FB":"&xnis;","\u{1D569}":"&xopf;","\u{1D4CD}":"&xscr;",\u00FD:"&yacute;",\u044F:"&yacy;",\u0177:"&ycirc;",\u044B:"&ycy;","\xA5":"&yen;","\u{1D536}":"&yfr;",\u0457:"&yicy;","\u{1D56A}":"&yopf;","\u{1D4CE}":"&yscr;",\u044E:"&yucy;",\u00FF:"&yuml;",\u017A:"&zacute;",\u017E:"&zcaron;",\u0437:"&zcy;",\u017C:"&zdot;",\u03B6:"&zeta;","\u{1D537}":"&zfr;",\u0436:"&zhcy;","\u21DD":"&zigrarr;","\u{1D56B}":"&zopf;","\u{1D4CF}":"&zscr;","\u200D":"&zwj;","\u200C":"&zwnj;"}}};var vi={};Object.defineProperty(vi,"__esModule",{value:!0}),vi.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=Oo&&Oo.__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(nr,"__esModule",{value:!0});var vn=rr,yd=vi,Xo=zt,Si=Ut(Ut({},vn.namedReferences),{all:vn.namedReferences.html5});function Zo(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(Zo,"replaceUsingRegExp");var bd={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},wd={mode:"specialChars",level:"all",numeric:"decimal"};function kd(e,t){var n=t===void 0?wd: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=bd[i],p=Si[u].characters,f=o==="hexadecimal";return Zo(e,c,function(h){var d=p[h];if(!d){var m=h.length>1?Xo.getCodePoint(h,0):h.charCodeAt(0);d=(f?"&#x"+m.toString(16):"&#"+m)+";"}return d})}l(kd,"encode"),nr.encode=kd;var vd={scope:"body",level:"all"},xi=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,Ai=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,ea={xml:{strict:xi,attribute:Ai,body:vn.bodyRegExps.xml},html4:{strict:xi,attribute:Ai,body:vn.bodyRegExps.html4},html5:{strict:xi,attribute:Ai,body:vn.bodyRegExps.html5}},Sd=Ut(Ut({},ea),{all:ea.html5}),ta=String.fromCharCode,xd=ta(65533),Ad={level:"all"};function na(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?xd:u>65535?Xo.fromCodePoint(u):ta(yd.numericUnicodeMap[u]||u)}}return i}l(na,"getDecodedEntity");function Cd(e,t){var n=(t===void 0?Ad:t).level,r=n===void 0?"all":n;return e?na(e,Si[r].entities,!1,!1):""}l(Cd,"decodeEntity"),nr.decodeEntity=Cd;function Td(e,t){var n=t===void 0?vd: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=Sd[i][o],u=Si[i].entities,c=o==="attribute",p=o==="strict";return Zo(e,a,function(f){return na(f,u,c,p)})}l(Td,"decode$1");var ra=nr.decode=Td;/**
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:/&notin;|&(?: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:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?: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:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":"\xA0","&nbsp;":"\xA0","&iexcl":"\xA1","&iexcl;":"\xA1","&cent":"\xA2","&cent;":"\xA2","&pound":"\xA3","&pound;":"\xA3","&curren":"\xA4","&curren;":"\xA4","&yen":"\xA5","&yen;":"\xA5","&brvbar":"\xA6","&brvbar;":"\xA6","&sect":"\xA7","&sect;":"\xA7","&uml":"\xA8","&uml;":"\xA8","&copy":"\xA9","&copy;":"\xA9","&ordf":"\xAA","&ordf;":"\xAA","&laquo":"\xAB","&laquo;":"\xAB","&not":"\xAC","&not;":"\xAC","&shy":"\xAD","&shy;":"\xAD","&reg":"\xAE","&reg;":"\xAE","&macr":"\xAF","&macr;":"\xAF","&deg":"\xB0","&deg;":"\xB0","&plusmn":"\xB1","&plusmn;":"\xB1","&sup2":"\xB2","&sup2;":"\xB2","&sup3":"\xB3","&sup3;":"\xB3","&acute":"\xB4","&acute;":"\xB4","&micro":"\xB5","&micro;":"\xB5","&para":"\xB6","&para;":"\xB6","&middot":"\xB7","&middot;":"\xB7","&cedil":"\xB8","&cedil;":"\xB8","&sup1":"\xB9","&sup1;":"\xB9","&ordm":"\xBA","&ordm;":"\xBA","&raquo":"\xBB","&raquo;":"\xBB","&frac14":"\xBC","&frac14;":"\xBC","&frac12":"\xBD","&frac12;":"\xBD","&frac34":"\xBE","&frac34;":"\xBE","&iquest":"\xBF","&iquest;":"\xBF","&Agrave":"\xC0","&Agrave;":"\xC0","&Aacute":"\xC1","&Aacute;":"\xC1","&Acirc":"\xC2","&Acirc;":"\xC2","&Atilde":"\xC3","&Atilde;":"\xC3","&Auml":"\xC4","&Auml;":"\xC4","&Aring":"\xC5","&Aring;":"\xC5","&AElig":"\xC6","&AElig;":"\xC6","&Ccedil":"\xC7","&Ccedil;":"\xC7","&Egrave":"\xC8","&Egrave;":"\xC8","&Eacute":"\xC9","&Eacute;":"\xC9","&Ecirc":"\xCA","&Ecirc;":"\xCA","&Euml":"\xCB","&Euml;":"\xCB","&Igrave":"\xCC","&Igrave;":"\xCC","&Iacute":"\xCD","&Iacute;":"\xCD","&Icirc":"\xCE","&Icirc;":"\xCE","&Iuml":"\xCF","&Iuml;":"\xCF","&ETH":"\xD0","&ETH;":"\xD0","&Ntilde":"\xD1","&Ntilde;":"\xD1","&Ograve":"\xD2","&Ograve;":"\xD2","&Oacute":"\xD3","&Oacute;":"\xD3","&Ocirc":"\xD4","&Ocirc;":"\xD4","&Otilde":"\xD5","&Otilde;":"\xD5","&Ouml":"\xD6","&Ouml;":"\xD6","&times":"\xD7","&times;":"\xD7","&Oslash":"\xD8","&Oslash;":"\xD8","&Ugrave":"\xD9","&Ugrave;":"\xD9","&Uacute":"\xDA","&Uacute;":"\xDA","&Ucirc":"\xDB","&Ucirc;":"\xDB","&Uuml":"\xDC","&Uuml;":"\xDC","&Yacute":"\xDD","&Yacute;":"\xDD","&THORN":"\xDE","&THORN;":"\xDE","&szlig":"\xDF","&szlig;":"\xDF","&agrave":"\xE0","&agrave;":"\xE0","&aacute":"\xE1","&aacute;":"\xE1","&acirc":"\xE2","&acirc;":"\xE2","&atilde":"\xE3","&atilde;":"\xE3","&auml":"\xE4","&auml;":"\xE4","&aring":"\xE5","&aring;":"\xE5","&aelig":"\xE6","&aelig;":"\xE6","&ccedil":"\xE7","&ccedil;":"\xE7","&egrave":"\xE8","&egrave;":"\xE8","&eacute":"\xE9","&eacute;":"\xE9","&ecirc":"\xEA","&ecirc;":"\xEA","&euml":"\xEB","&euml;":"\xEB","&igrave":"\xEC","&igrave;":"\xEC","&iacute":"\xED","&iacute;":"\xED","&icirc":"\xEE","&icirc;":"\xEE","&iuml":"\xEF","&iuml;":"\xEF","&eth":"\xF0","&eth;":"\xF0","&ntilde":"\xF1","&ntilde;":"\xF1","&ograve":"\xF2","&ograve;":"\xF2","&oacute":"\xF3","&oacute;":"\xF3","&ocirc":"\xF4","&ocirc;":"\xF4","&otilde":"\xF5","&otilde;":"\xF5","&ouml":"\xF6","&ouml;":"\xF6","&divide":"\xF7","&divide;":"\xF7","&oslash":"\xF8","&oslash;":"\xF8","&ugrave":"\xF9","&ugrave;":"\xF9","&uacute":"\xFA","&uacute;":"\xFA","&ucirc":"\xFB","&ucirc;":"\xFB","&uuml":"\xFC","&uuml;":"\xFC","&yacute":"\xFD","&yacute;":"\xFD","&thorn":"\xFE","&thorn;":"\xFE","&yuml":"\xFF","&yuml;":"\xFF","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&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","&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"},characters:{"'":"&apos;","\xA0":"&nbsp;","\xA1":"&iexcl;","\xA2":"&cent;","\xA3":"&pound;","\xA4":"&curren;","\xA5":"&yen;","\xA6":"&brvbar;","\xA7":"&sect;","\xA8":"&uml;","\xA9":"&copy;",\u00AA:"&ordf;","\xAB":"&laquo;","\xAC":"&not;","\xAD":"&shy;","\xAE":"&reg;","\xAF":"&macr;","\xB0":"&deg;","\xB1":"&plusmn;","\xB2":"&sup2;","\xB3":"&sup3;","\xB4":"&acute;",\u00B5:"&micro;","\xB6":"&para;","\xB7":"&middot;","\xB8":"&cedil;","\xB9":"&sup1;",\u00BA:"&ordm;","\xBB":"&raquo;","\xBC":"&frac14;","\xBD":"&frac12;","\xBE":"&frac34;","\xBF":"&iquest;",\u00C0:"&Agrave;",\u00C1:"&Aacute;",\u00C2:"&Acirc;",\u00C3:"&Atilde;",\u00C4:"&Auml;",\u00C5:"&Aring;",\u00C6:"&AElig;",\u00C7:"&Ccedil;",\u00C8:"&Egrave;",\u00C9:"&Eacute;",\u00CA:"&Ecirc;",\u00CB:"&Euml;",\u00CC:"&Igrave;",\u00CD:"&Iacute;",\u00CE:"&Icirc;",\u00CF:"&Iuml;",\u00D0:"&ETH;",\u00D1:"&Ntilde;",\u00D2:"&Ograve;",\u00D3:"&Oacute;",\u00D4:"&Ocirc;",\u00D5:"&Otilde;",\u00D6:"&Ouml;","\xD7":"&times;",\u00D8:"&Oslash;",\u00D9:"&Ugrave;",\u00DA:"&Uacute;",\u00DB:"&Ucirc;",\u00DC:"&Uuml;",\u00DD:"&Yacute;",\u00DE:"&THORN;",\u00DF:"&szlig;",\u00E0:"&agrave;",\u00E1:"&aacute;",\u00E2:"&acirc;",\u00E3:"&atilde;",\u00E4:"&auml;",\u00E5:"&aring;",\u00E6:"&aelig;",\u00E7:"&ccedil;",\u00E8:"&egrave;",\u00E9:"&eacute;",\u00EA:"&ecirc;",\u00EB:"&euml;",\u00EC:"&igrave;",\u00ED:"&iacute;",\u00EE:"&icirc;",\u00EF:"&iuml;",\u00F0:"&eth;",\u00F1:"&ntilde;",\u00F2:"&ograve;",\u00F3:"&oacute;",\u00F4:"&ocirc;",\u00F5:"&otilde;",\u00F6:"&ouml;","\xF7":"&divide;",\u00F8:"&oslash;",\u00F9:"&ugrave;",\u00FA:"&uacute;",\u00FB:"&ucirc;",\u00FC:"&uuml;",\u00FD:"&yacute;",\u00FE:"&thorn;",\u00FF:"&yuml;",'"':"&quot;","&":"&amp;","<":"&lt;",">":"&gt;",\u0152:"&OElig;",\u0153:"&oelig;",\u0160:"&Scaron;",\u0161:"&scaron;",\u0178:"&Yuml;","\u02C6":"&circ;","\u02DC":"&tilde;","\u2002":"&ensp;","\u2003":"&emsp;","\u2009":"&thinsp;","\u200C":"&zwnj;","\u200D":"&zwj;","\u200E":"&lrm;","\u200F":"&rlm;","\u2013":"&ndash;","\u2014":"&mdash;","\u2018":"&lsquo;","\u2019":"&rsquo;","\u201A":"&sbquo;","\u201C":"&ldquo;","\u201D":"&rdquo;","\u201E":"&bdquo;","\u2020":"&dagger;","\u2021":"&Dagger;","\u2030":"&permil;","\u2039":"&lsaquo;","\u203A":"&rsaquo;","\u20AC":"&euro;",\u0192:"&fnof;",\u0391:"&Alpha;",\u0392:"&Beta;",\u0393:"&Gamma;",\u0394:"&Delta;",\u0395:"&Epsilon;",\u0396:"&Zeta;",\u0397:"&Eta;",\u0398:"&Theta;",\u0399:"&Iota;",\u039A:"&Kappa;",\u039B:"&Lambda;",\u039C:"&Mu;",\u039D:"&Nu;",\u039E:"&Xi;",\u039F:"&Omicron;",\u03A0:"&Pi;",\u03A1:"&Rho;",\u03A3:"&Sigma;",\u03A4:"&Tau;",\u03A5:"&Upsilon;",\u03A6:"&Phi;",\u03A7:"&Chi;",\u03A8:"&Psi;",\u03A9:"&Omega;",\u03B1:"&alpha;",\u03B2:"&beta;",\u03B3:"&gamma;",\u03B4:"&delta;",\u03B5:"&epsilon;",\u03B6:"&zeta;",\u03B7:"&eta;",\u03B8:"&theta;",\u03B9:"&iota;",\u03BA:"&kappa;",\u03BB:"&lambda;",\u03BC:"&mu;",\u03BD:"&nu;",\u03BE:"&xi;",\u03BF:"&omicron;",\u03C0:"&pi;",\u03C1:"&rho;",\u03C2:"&sigmaf;",\u03C3:"&sigma;",\u03C4:"&tau;",\u03C5:"&upsilon;",\u03C6:"&phi;",\u03C7:"&chi;",\u03C8:"&psi;",\u03C9:"&omega;",\u03D1:"&thetasym;",\u03D2:"&upsih;",\u03D6:"&piv;","\u2022":"&bull;","\u2026":"&hellip;","\u2032":"&prime;","\u2033":"&Prime;","\u203E":"&oline;","\u2044":"&frasl;","\u2118":"&weierp;",\u2111:"&image;",\u211C:"&real;","\u2122":"&trade;",\u2135:"&alefsym;","\u2190":"&larr;","\u2191":"&uarr;","\u2192":"&rarr;","\u2193":"&darr;","\u2194":"&harr;","\u21B5":"&crarr;","\u21D0":"&lArr;","\u21D1":"&uArr;","\u21D2":"&rArr;","\u21D3":"&dArr;","\u21D4":"&hArr;","\u2200":"&forall;","\u2202":"&part;","\u2203":"&exist;","\u2205":"&empty;","\u2207":"&nabla;","\u2208":"&isin;","\u2209":"&notin;","\u220B":"&ni;","\u220F":"&prod;","\u2211":"&sum;","\u2212":"&minus;","\u2217":"&lowast;","\u221A":"&radic;","\u221D":"&prop;","\u221E":"&infin;","\u2220":"&ang;","\u2227":"&and;","\u2228":"&or;","\u2229":"&cap;","\u222A":"&cup;","\u222B":"&int;","\u2234":"&there4;","\u223C":"&sim;","\u2245":"&cong;","\u2248":"&asymp;","\u2260":"&ne;","\u2261":"&equiv;","\u2264":"&le;","\u2265":"&ge;","\u2282":"&sub;","\u2283":"&sup;","\u2284":"&nsub;","\u2286":"&sube;","\u2287":"&supe;","\u2295":"&oplus;","\u2297":"&otimes;","\u22A5":"&perp;","\u22C5":"&sdot;","\u2308":"&lceil;","\u2309":"&rceil;","\u230A":"&lfloor;","\u230B":"&rfloor;","\u2329":"&lang;","\u232A":"&rang;","\u25CA":"&loz;","\u2660":"&spades;","\u2663":"&clubs;","\u2665":"&hearts;","\u2666":"&diams;"}},html5:{entities:{"&AElig":"\xC6","&AElig;":"\xC6","&AMP":"&","&AMP;":"&","&Aacute":"\xC1","&Aacute;":"\xC1","&Abreve;":"\u0102","&Acirc":"\xC2","&Acirc;":"\xC2","&Acy;":"\u0410","&Afr;":"\u{1D504}","&Agrave":"\xC0","&Agrave;":"\xC0","&Alpha;":"\u0391","&Amacr;":"\u0100","&And;":"\u2A53","&Aogon;":"\u0104","&Aopf;":"\u{1D538}","&ApplyFunction;":"\u2061","&Aring":"\xC5","&Aring;":"\xC5","&Ascr;":"\u{1D49C}","&Assign;":"\u2254","&Atilde":"\xC3","&Atilde;":"\xC3","&Auml":"\xC4","&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","&COPY;":"\xA9","&Cacute;":"\u0106","&Cap;":"\u22D2","&CapitalDifferentialD;":"\u2145","&Cayleys;":"\u212D","&Ccaron;":"\u010C","&Ccedil":"\xC7","&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","&ETH;":"\xD0","&Eacute":"\xC9","&Eacute;":"\xC9","&Ecaron;":"\u011A","&Ecirc":"\xCA","&Ecirc;":"\xCA","&Ecy;":"\u042D","&Edot;":"\u0116","&Efr;":"\u{1D508}","&Egrave":"\xC8","&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","&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":">","&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","&Iacute;":"\xCD","&Icirc":"\xCE","&Icirc;":"\xCE","&Icy;":"\u0418","&Idot;":"\u0130","&Ifr;":"\u2111","&Igrave":"\xCC","&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","&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":"<","&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;":`
34
+ `,"&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","&Ntilde;":"\xD1","&Nu;":"\u039D","&OElig;":"\u0152","&Oacute":"\xD3","&Oacute;":"\xD3","&Ocirc":"\xD4","&Ocirc;":"\xD4","&Ocy;":"\u041E","&Odblac;":"\u0150","&Ofr;":"\u{1D512}","&Ograve":"\xD2","&Ograve;":"\xD2","&Omacr;":"\u014C","&Omega;":"\u03A9","&Omicron;":"\u039F","&Oopf;":"\u{1D546}","&OpenCurlyDoubleQuote;":"\u201C","&OpenCurlyQuote;":"\u2018","&Or;":"\u2A54","&Oscr;":"\u{1D4AA}","&Oslash":"\xD8","&Oslash;":"\xD8","&Otilde":"\xD5","&Otilde;":"\xD5","&Otimes;":"\u2A37","&Ouml":"\xD6","&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":'"',"&QUOT;":'"',"&Qfr;":"\u{1D514}","&Qopf;":"\u211A","&Qscr;":"\u{1D4AC}","&RBarr;":"\u2910","&REG":"\xAE","&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","&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","&Uacute;":"\xDA","&Uarr;":"\u219F","&Uarrocir;":"\u2949","&Ubrcy;":"\u040E","&Ubreve;":"\u016C","&Ucirc":"\xDB","&Ucirc;":"\xDB","&Ucy;":"\u0423","&Udblac;":"\u0170","&Ufr;":"\u{1D518}","&Ugrave":"\xD9","&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","&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","&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","&aacute;":"\xE1","&abreve;":"\u0103","&ac;":"\u223E","&acE;":"\u223E\u0333","&acd;":"\u223F","&acirc":"\xE2","&acirc;":"\xE2","&acute":"\xB4","&acute;":"\xB4","&acy;":"\u0430","&aelig":"\xE6","&aelig;":"\xE6","&af;":"\u2061","&afr;":"\u{1D51E}","&agrave":"\xE0","&agrave;":"\xE0","&alefsym;":"\u2135","&aleph;":"\u2135","&alpha;":"\u03B1","&amacr;":"\u0101","&amalg;":"\u2A3F","&amp":"&","&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","&aring;":"\xE5","&ascr;":"\u{1D4B6}","&ast;":"*","&asymp;":"\u2248","&asympeq;":"\u224D","&atilde":"\xE3","&atilde;":"\xE3","&auml":"\xE4","&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","&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","&ccedil;":"\xE7","&ccirc;":"\u0109","&ccups;":"\u2A4C","&ccupssm;":"\u2A50","&cdot;":"\u010B","&cedil":"\xB8","&cedil;":"\xB8","&cemptyv;":"\u29B2","&cent":"\xA2","&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","&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","&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","&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","&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","&eacute;":"\xE9","&easter;":"\u2A6E","&ecaron;":"\u011B","&ecir;":"\u2256","&ecirc":"\xEA","&ecirc;":"\xEA","&ecolon;":"\u2255","&ecy;":"\u044D","&edot;":"\u0117","&ee;":"\u2147","&efDot;":"\u2252","&efr;":"\u{1D522}","&eg;":"\u2A9A","&egrave":"\xE8","&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","&eth;":"\xF0","&euml":"\xEB","&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","&frac12;":"\xBD","&frac13;":"\u2153","&frac14":"\xBC","&frac14;":"\xBC","&frac15;":"\u2155","&frac16;":"\u2159","&frac18;":"\u215B","&frac23;":"\u2154","&frac25;":"\u2156","&frac34":"\xBE","&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":">","&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","&iacute;":"\xED","&ic;":"\u2063","&icirc":"\xEE","&icirc;":"\xEE","&icy;":"\u0438","&iecy;":"\u0435","&iexcl":"\xA1","&iexcl;":"\xA1","&iff;":"\u21D4","&ifr;":"\u{1D526}","&igrave":"\xEC","&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","&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","&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","&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":"<","&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","&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","&micro;":"\xB5","&mid;":"\u2223","&midast;":"*","&midcir;":"\u2AF0","&middot":"\xB7","&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","&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","&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","&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","&oacute;":"\xF3","&oast;":"\u229B","&ocir;":"\u229A","&ocirc":"\xF4","&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","&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","&ordf;":"\xAA","&ordm":"\xBA","&ordm;":"\xBA","&origof;":"\u22B6","&oror;":"\u2A56","&orslope;":"\u2A57","&orv;":"\u2A5B","&oscr;":"\u2134","&oslash":"\xF8","&oslash;":"\xF8","&osol;":"\u2298","&otilde":"\xF5","&otilde;":"\xF5","&otimes;":"\u2297","&otimesas;":"\u2A36","&ouml":"\xF6","&ouml;":"\xF6","&ovbar;":"\u233D","&par;":"\u2225","&para":"\xB6","&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","&plusmn;":"\xB1","&plussim;":"\u2A26","&plustwo;":"\u2A27","&pm;":"\xB1","&pointint;":"\u2A15","&popf;":"\u{1D561}","&pound":"\xA3","&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":'"',"&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","&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","&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","&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","&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","&sup1;":"\xB9","&sup2":"\xB2","&sup2;":"\xB2","&sup3":"\xB3","&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","&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","&thorn;":"\xFE","&tilde;":"\u02DC","&times":"\xD7","&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","&uacute;":"\xFA","&uarr;":"\u2191","&ubrcy;":"\u045E","&ubreve;":"\u016D","&ucirc":"\xFB","&ucirc;":"\xFB","&ucy;":"\u0443","&udarr;":"\u21C5","&udblac;":"\u0171","&udhar;":"\u296E","&ufisht;":"\u297E","&ufr;":"\u{1D532}","&ugrave":"\xF9","&ugrave;":"\xF9","&uharl;":"\u21BF","&uharr;":"\u21BE","&uhblk;":"\u2580","&ulcorn;":"\u231C","&ulcorner;":"\u231C","&ulcrop;":"\u230F","&ultri;":"\u25F8","&umacr;":"\u016B","&uml":"\xA8","&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","&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","&yacute;":"\xFD","&yacy;":"\u044F","&ycirc;":"\u0177","&ycy;":"\u044B","&yen":"\xA5","&yen;":"\xA5","&yfr;":"\u{1D536}","&yicy;":"\u0457","&yopf;":"\u{1D56A}","&yscr;":"\u{1D4CE}","&yucy;":"\u044E","&yuml":"\xFF","&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"},characters:{\u00C6:"&AElig;","&":"&amp;",\u00C1:"&Aacute;",\u0102:"&Abreve;",\u00C2:"&Acirc;",\u0410:"&Acy;","\u{1D504}":"&Afr;",\u00C0:"&Agrave;",\u0391:"&Alpha;",\u0100:"&Amacr;","\u2A53":"&And;",\u0104:"&Aogon;","\u{1D538}":"&Aopf;","\u2061":"&af;",\u00C5:"&angst;","\u{1D49C}":"&Ascr;","\u2254":"&coloneq;",\u00C3:"&Atilde;",\u00C4:"&Auml;","\u2216":"&ssetmn;","\u2AE7":"&Barv;","\u2306":"&doublebarwedge;",\u0411:"&Bcy;","\u2235":"&because;",\u212C:"&bernou;",\u0392:"&Beta;","\u{1D505}":"&Bfr;","\u{1D539}":"&Bopf;","\u02D8":"&breve;","\u224E":"&bump;",\u0427:"&CHcy;","\xA9":"&copy;",\u0106:"&Cacute;","\u22D2":"&Cap;","\u2145":"&DD;",\u212D:"&Cfr;",\u010C:"&Ccaron;",\u00C7:"&Ccedil;",\u0108:"&Ccirc;","\u2230":"&Cconint;",\u010A:"&Cdot;","\xB8":"&cedil;","\xB7":"&middot;",\u03A7:"&Chi;","\u2299":"&odot;","\u2296":"&ominus;","\u2295":"&oplus;","\u2297":"&otimes;","\u2232":"&cwconint;","\u201D":"&rdquor;","\u2019":"&rsquor;","\u2237":"&Proportion;","\u2A74":"&Colone;","\u2261":"&equiv;","\u222F":"&DoubleContourIntegral;","\u222E":"&oint;",\u2102:"&complexes;","\u2210":"&coprod;","\u2233":"&awconint;","\u2A2F":"&Cross;","\u{1D49E}":"&Cscr;","\u22D3":"&Cup;","\u224D":"&asympeq;","\u2911":"&DDotrahd;",\u0402:"&DJcy;",\u0405:"&DScy;",\u040F:"&DZcy;","\u2021":"&ddagger;","\u21A1":"&Darr;","\u2AE4":"&DoubleLeftTee;",\u010E:"&Dcaron;",\u0414:"&Dcy;","\u2207":"&nabla;",\u0394:"&Delta;","\u{1D507}":"&Dfr;","\xB4":"&acute;","\u02D9":"&dot;","\u02DD":"&dblac;","`":"&grave;","\u02DC":"&tilde;","\u22C4":"&diamond;","\u2146":"&dd;","\u{1D53B}":"&Dopf;","\xA8":"&uml;","\u20DC":"&DotDot;","\u2250":"&esdot;","\u21D3":"&dArr;","\u21D0":"&lArr;","\u21D4":"&iff;","\u27F8":"&xlArr;","\u27FA":"&xhArr;","\u27F9":"&xrArr;","\u21D2":"&rArr;","\u22A8":"&vDash;","\u21D1":"&uArr;","\u21D5":"&vArr;","\u2225":"&spar;","\u2193":"&downarrow;","\u2913":"&DownArrowBar;","\u21F5":"&duarr;","\u0311":"&DownBreve;","\u2950":"&DownLeftRightVector;","\u295E":"&DownLeftTeeVector;","\u21BD":"&lhard;","\u2956":"&DownLeftVectorBar;","\u295F":"&DownRightTeeVector;","\u21C1":"&rightharpoondown;","\u2957":"&DownRightVectorBar;","\u22A4":"&top;","\u21A7":"&mapstodown;","\u{1D49F}":"&Dscr;",\u0110:"&Dstrok;",\u014A:"&ENG;",\u00D0:"&ETH;",\u00C9:"&Eacute;",\u011A:"&Ecaron;",\u00CA:"&Ecirc;",\u042D:"&Ecy;",\u0116:"&Edot;","\u{1D508}":"&Efr;",\u00C8:"&Egrave;","\u2208":"&isinv;",\u0112:"&Emacr;","\u25FB":"&EmptySmallSquare;","\u25AB":"&EmptyVerySmallSquare;",\u0118:"&Eogon;","\u{1D53C}":"&Eopf;",\u0395:"&Epsilon;","\u2A75":"&Equal;","\u2242":"&esim;","\u21CC":"&rlhar;",\u2130:"&expectation;","\u2A73":"&Esim;",\u0397:"&Eta;",\u00CB:"&Euml;","\u2203":"&exist;","\u2147":"&exponentiale;",\u0424:"&Fcy;","\u{1D509}":"&Ffr;","\u25FC":"&FilledSmallSquare;","\u25AA":"&squf;","\u{1D53D}":"&Fopf;","\u2200":"&forall;",\u2131:"&Fscr;",\u0403:"&GJcy;",">":"&gt;",\u0393:"&Gamma;",\u03DC:"&Gammad;",\u011E:"&Gbreve;",\u0122:"&Gcedil;",\u011C:"&Gcirc;",\u0413:"&Gcy;",\u0120:"&Gdot;","\u{1D50A}":"&Gfr;","\u22D9":"&ggg;","\u{1D53E}":"&Gopf;","\u2265":"&geq;","\u22DB":"&gtreqless;","\u2267":"&geqq;","\u2AA2":"&GreaterGreater;","\u2277":"&gtrless;","\u2A7E":"&ges;","\u2273":"&gtrsim;","\u{1D4A2}":"&Gscr;","\u226B":"&gg;",\u042A:"&HARDcy;","\u02C7":"&caron;","^":"&Hat;",\u0124:"&Hcirc;",\u210C:"&Poincareplane;",\u210B:"&hamilt;",\u210D:"&quaternions;","\u2500":"&boxh;",\u0126:"&Hstrok;","\u224F":"&bumpeq;",\u0415:"&IEcy;",\u0132:"&IJlig;",\u0401:"&IOcy;",\u00CD:"&Iacute;",\u00CE:"&Icirc;",\u0418:"&Icy;",\u0130:"&Idot;",\u2111:"&imagpart;",\u00CC:"&Igrave;",\u012A:"&Imacr;","\u2148":"&ii;","\u222C":"&Int;","\u222B":"&int;","\u22C2":"&xcap;","\u2063":"&ic;","\u2062":"&it;",\u012E:"&Iogon;","\u{1D540}":"&Iopf;",\u0399:"&Iota;",\u2110:"&imagline;",\u0128:"&Itilde;",\u0406:"&Iukcy;",\u00CF:"&Iuml;",\u0134:"&Jcirc;",\u0419:"&Jcy;","\u{1D50D}":"&Jfr;","\u{1D541}":"&Jopf;","\u{1D4A5}":"&Jscr;",\u0408:"&Jsercy;",\u0404:"&Jukcy;",\u0425:"&KHcy;",\u040C:"&KJcy;",\u039A:"&Kappa;",\u0136:"&Kcedil;",\u041A:"&Kcy;","\u{1D50E}":"&Kfr;","\u{1D542}":"&Kopf;","\u{1D4A6}":"&Kscr;",\u0409:"&LJcy;","<":"&lt;",\u0139:"&Lacute;",\u039B:"&Lambda;","\u27EA":"&Lang;",\u2112:"&lagran;","\u219E":"&twoheadleftarrow;",\u013D:"&Lcaron;",\u013B:"&Lcedil;",\u041B:"&Lcy;","\u27E8":"&langle;","\u2190":"&slarr;","\u21E4":"&larrb;","\u21C6":"&lrarr;","\u2308":"&lceil;","\u27E6":"&lobrk;","\u2961":"&LeftDownTeeVector;","\u21C3":"&downharpoonleft;","\u2959":"&LeftDownVectorBar;","\u230A":"&lfloor;","\u2194":"&leftrightarrow;","\u294E":"&LeftRightVector;","\u22A3":"&dashv;","\u21A4":"&mapstoleft;","\u295A":"&LeftTeeVector;","\u22B2":"&vltri;","\u29CF":"&LeftTriangleBar;","\u22B4":"&trianglelefteq;","\u2951":"&LeftUpDownVector;","\u2960":"&LeftUpTeeVector;","\u21BF":"&upharpoonleft;","\u2958":"&LeftUpVectorBar;","\u21BC":"&lharu;","\u2952":"&LeftVectorBar;","\u22DA":"&lesseqgtr;","\u2266":"&leqq;","\u2276":"&lg;","\u2AA1":"&LessLess;","\u2A7D":"&les;","\u2272":"&lsim;","\u{1D50F}":"&Lfr;","\u22D8":"&Ll;","\u21DA":"&lAarr;",\u013F:"&Lmidot;","\u27F5":"&xlarr;","\u27F7":"&xharr;","\u27F6":"&xrarr;","\u{1D543}":"&Lopf;","\u2199":"&swarrow;","\u2198":"&searrow;","\u21B0":"&lsh;",\u0141:"&Lstrok;","\u226A":"&ll;","\u2905":"&Map;",\u041C:"&Mcy;","\u205F":"&MediumSpace;",\u2133:"&phmmat;","\u{1D510}":"&Mfr;","\u2213":"&mp;","\u{1D544}":"&Mopf;",\u039C:"&Mu;",\u040A:"&NJcy;",\u0143:"&Nacute;",\u0147:"&Ncaron;",\u0145:"&Ncedil;",\u041D:"&Ncy;","\u200B":"&ZeroWidthSpace;","\n":"&NewLine;","\u{1D511}":"&Nfr;","\u2060":"&NoBreak;","\xA0":"&nbsp;",\u2115:"&naturals;","\u2AEC":"&Not;","\u2262":"&nequiv;","\u226D":"&NotCupCap;","\u2226":"&nspar;","\u2209":"&notinva;","\u2260":"&ne;","\u2242\u0338":"&nesim;","\u2204":"&nexists;","\u226F":"&ngtr;","\u2271":"&ngeq;","\u2267\u0338":"&ngeqq;","\u226B\u0338":"&nGtv;","\u2279":"&ntgl;","\u2A7E\u0338":"&nges;","\u2275":"&ngsim;","\u224E\u0338":"&nbump;","\u224F\u0338":"&nbumpe;","\u22EA":"&ntriangleleft;","\u29CF\u0338":"&NotLeftTriangleBar;","\u22EC":"&ntrianglelefteq;","\u226E":"&nlt;","\u2270":"&nleq;","\u2278":"&ntlg;","\u226A\u0338":"&nLtv;","\u2A7D\u0338":"&nles;","\u2274":"&nlsim;","\u2AA2\u0338":"&NotNestedGreaterGreater;","\u2AA1\u0338":"&NotNestedLessLess;","\u2280":"&nprec;","\u2AAF\u0338":"&npreceq;","\u22E0":"&nprcue;","\u220C":"&notniva;","\u22EB":"&ntriangleright;","\u29D0\u0338":"&NotRightTriangleBar;","\u22ED":"&ntrianglerighteq;","\u228F\u0338":"&NotSquareSubset;","\u22E2":"&nsqsube;","\u2290\u0338":"&NotSquareSuperset;","\u22E3":"&nsqsupe;","\u2282\u20D2":"&vnsub;","\u2288":"&nsubseteq;","\u2281":"&nsucc;","\u2AB0\u0338":"&nsucceq;","\u22E1":"&nsccue;","\u227F\u0338":"&NotSucceedsTilde;","\u2283\u20D2":"&vnsup;","\u2289":"&nsupseteq;","\u2241":"&nsim;","\u2244":"&nsimeq;","\u2247":"&ncong;","\u2249":"&napprox;","\u2224":"&nsmid;","\u{1D4A9}":"&Nscr;",\u00D1:"&Ntilde;",\u039D:"&Nu;",\u0152:"&OElig;",\u00D3:"&Oacute;",\u00D4:"&Ocirc;",\u041E:"&Ocy;",\u0150:"&Odblac;","\u{1D512}":"&Ofr;",\u00D2:"&Ograve;",\u014C:"&Omacr;",\u03A9:"&ohm;",\u039F:"&Omicron;","\u{1D546}":"&Oopf;","\u201C":"&ldquo;","\u2018":"&lsquo;","\u2A54":"&Or;","\u{1D4AA}":"&Oscr;",\u00D8:"&Oslash;",\u00D5:"&Otilde;","\u2A37":"&Otimes;",\u00D6:"&Ouml;","\u203E":"&oline;","\u23DE":"&OverBrace;","\u23B4":"&tbrk;","\u23DC":"&OverParenthesis;","\u2202":"&part;",\u041F:"&Pcy;","\u{1D513}":"&Pfr;",\u03A6:"&Phi;",\u03A0:"&Pi;","\xB1":"&pm;",\u2119:"&primes;","\u2ABB":"&Pr;","\u227A":"&prec;","\u2AAF":"&preceq;","\u227C":"&preccurlyeq;","\u227E":"&prsim;","\u2033":"&Prime;","\u220F":"&prod;","\u221D":"&vprop;","\u{1D4AB}":"&Pscr;",\u03A8:"&Psi;",'"':"&quot;","\u{1D514}":"&Qfr;",\u211A:"&rationals;","\u{1D4AC}":"&Qscr;","\u2910":"&drbkarow;","\xAE":"&reg;",\u0154:"&Racute;","\u27EB":"&Rang;","\u21A0":"&twoheadrightarrow;","\u2916":"&Rarrtl;",\u0158:"&Rcaron;",\u0156:"&Rcedil;",\u0420:"&Rcy;",\u211C:"&realpart;","\u220B":"&niv;","\u21CB":"&lrhar;","\u296F":"&duhar;",\u03A1:"&Rho;","\u27E9":"&rangle;","\u2192":"&srarr;","\u21E5":"&rarrb;","\u21C4":"&rlarr;","\u2309":"&rceil;","\u27E7":"&robrk;","\u295D":"&RightDownTeeVector;","\u21C2":"&downharpoonright;","\u2955":"&RightDownVectorBar;","\u230B":"&rfloor;","\u22A2":"&vdash;","\u21A6":"&mapsto;","\u295B":"&RightTeeVector;","\u22B3":"&vrtri;","\u29D0":"&RightTriangleBar;","\u22B5":"&trianglerighteq;","\u294F":"&RightUpDownVector;","\u295C":"&RightUpTeeVector;","\u21BE":"&upharpoonright;","\u2954":"&RightUpVectorBar;","\u21C0":"&rightharpoonup;","\u2953":"&RightVectorBar;",\u211D:"&reals;","\u2970":"&RoundImplies;","\u21DB":"&rAarr;",\u211B:"&realine;","\u21B1":"&rsh;","\u29F4":"&RuleDelayed;",\u0429:"&SHCHcy;",\u0428:"&SHcy;",\u042C:"&SOFTcy;",\u015A:"&Sacute;","\u2ABC":"&Sc;",\u0160:"&Scaron;",\u015E:"&Scedil;",\u015C:"&Scirc;",\u0421:"&Scy;","\u{1D516}":"&Sfr;","\u2191":"&uparrow;",\u03A3:"&Sigma;","\u2218":"&compfn;","\u{1D54A}":"&Sopf;","\u221A":"&radic;","\u25A1":"&square;","\u2293":"&sqcap;","\u228F":"&sqsubset;","\u2291":"&sqsubseteq;","\u2290":"&sqsupset;","\u2292":"&sqsupseteq;","\u2294":"&sqcup;","\u{1D4AE}":"&Sscr;","\u22C6":"&sstarf;","\u22D0":"&Subset;","\u2286":"&subseteq;","\u227B":"&succ;","\u2AB0":"&succeq;","\u227D":"&succcurlyeq;","\u227F":"&succsim;","\u2211":"&sum;","\u22D1":"&Supset;","\u2283":"&supset;","\u2287":"&supseteq;",\u00DE:"&THORN;","\u2122":"&trade;",\u040B:"&TSHcy;",\u0426:"&TScy;"," ":"&Tab;",\u03A4:"&Tau;",\u0164:"&Tcaron;",\u0162:"&Tcedil;",\u0422:"&Tcy;","\u{1D517}":"&Tfr;","\u2234":"&therefore;",\u0398:"&Theta;","\u205F\u200A":"&ThickSpace;","\u2009":"&thinsp;","\u223C":"&thksim;","\u2243":"&simeq;","\u2245":"&cong;","\u2248":"&thkap;","\u{1D54B}":"&Topf;","\u20DB":"&tdot;","\u{1D4AF}":"&Tscr;",\u0166:"&Tstrok;",\u00DA:"&Uacute;","\u219F":"&Uarr;","\u2949":"&Uarrocir;",\u040E:"&Ubrcy;",\u016C:"&Ubreve;",\u00DB:"&Ucirc;",\u0423:"&Ucy;",\u0170:"&Udblac;","\u{1D518}":"&Ufr;",\u00D9:"&Ugrave;",\u016A:"&Umacr;",_:"&lowbar;","\u23DF":"&UnderBrace;","\u23B5":"&bbrk;","\u23DD":"&UnderParenthesis;","\u22C3":"&xcup;","\u228E":"&uplus;",\u0172:"&Uogon;","\u{1D54C}":"&Uopf;","\u2912":"&UpArrowBar;","\u21C5":"&udarr;","\u2195":"&varr;","\u296E":"&udhar;","\u22A5":"&perp;","\u21A5":"&mapstoup;","\u2196":"&nwarrow;","\u2197":"&nearrow;",\u03D2:"&upsih;",\u03A5:"&Upsilon;",\u016E:"&Uring;","\u{1D4B0}":"&Uscr;",\u0168:"&Utilde;",\u00DC:"&Uuml;","\u22AB":"&VDash;","\u2AEB":"&Vbar;",\u0412:"&Vcy;","\u22A9":"&Vdash;","\u2AE6":"&Vdashl;","\u22C1":"&xvee;","\u2016":"&Vert;","\u2223":"&smid;","|":"&vert;","\u2758":"&VerticalSeparator;","\u2240":"&wreath;","\u200A":"&hairsp;","\u{1D519}":"&Vfr;","\u{1D54D}":"&Vopf;","\u{1D4B1}":"&Vscr;","\u22AA":"&Vvdash;",\u0174:"&Wcirc;","\u22C0":"&xwedge;","\u{1D51A}":"&Wfr;","\u{1D54E}":"&Wopf;","\u{1D4B2}":"&Wscr;","\u{1D51B}":"&Xfr;",\u039E:"&Xi;","\u{1D54F}":"&Xopf;","\u{1D4B3}":"&Xscr;",\u042F:"&YAcy;",\u0407:"&YIcy;",\u042E:"&YUcy;",\u00DD:"&Yacute;",\u0176:"&Ycirc;",\u042B:"&Ycy;","\u{1D51C}":"&Yfr;","\u{1D550}":"&Yopf;","\u{1D4B4}":"&Yscr;",\u0178:"&Yuml;",\u0416:"&ZHcy;",\u0179:"&Zacute;",\u017D:"&Zcaron;",\u0417:"&Zcy;",\u017B:"&Zdot;",\u0396:"&Zeta;",\u2128:"&zeetrf;",\u2124:"&integers;","\u{1D4B5}":"&Zscr;",\u00E1:"&aacute;",\u0103:"&abreve;","\u223E":"&mstpos;","\u223E\u0333":"&acE;","\u223F":"&acd;",\u00E2:"&acirc;",\u0430:"&acy;",\u00E6:"&aelig;","\u{1D51E}":"&afr;",\u00E0:"&agrave;",\u2135:"&aleph;",\u03B1:"&alpha;",\u0101:"&amacr;","\u2A3F":"&amalg;","\u2227":"&wedge;","\u2A55":"&andand;","\u2A5C":"&andd;","\u2A58":"&andslope;","\u2A5A":"&andv;","\u2220":"&angle;","\u29A4":"&ange;","\u2221":"&measuredangle;","\u29A8":"&angmsdaa;","\u29A9":"&angmsdab;","\u29AA":"&angmsdac;","\u29AB":"&angmsdad;","\u29AC":"&angmsdae;","\u29AD":"&angmsdaf;","\u29AE":"&angmsdag;","\u29AF":"&angmsdah;","\u221F":"&angrt;","\u22BE":"&angrtvb;","\u299D":"&angrtvbd;","\u2222":"&angsph;","\u237C":"&angzarr;",\u0105:"&aogon;","\u{1D552}":"&aopf;","\u2A70":"&apE;","\u2A6F":"&apacir;","\u224A":"&approxeq;","\u224B":"&apid;","'":"&apos;",\u00E5:"&aring;","\u{1D4B6}":"&ascr;","*":"&midast;",\u00E3:"&atilde;",\u00E4:"&auml;","\u2A11":"&awint;","\u2AED":"&bNot;","\u224C":"&bcong;","\u03F6":"&bepsi;","\u2035":"&bprime;","\u223D":"&bsim;","\u22CD":"&bsime;","\u22BD":"&barvee;","\u2305":"&barwedge;","\u23B6":"&bbrktbrk;",\u0431:"&bcy;","\u201E":"&ldquor;","\u29B0":"&bemptyv;",\u03B2:"&beta;",\u2136:"&beth;","\u226C":"&twixt;","\u{1D51F}":"&bfr;","\u25EF":"&xcirc;","\u2A00":"&xodot;","\u2A01":"&xoplus;","\u2A02":"&xotime;","\u2A06":"&xsqcup;","\u2605":"&starf;","\u25BD":"&xdtri;","\u25B3":"&xutri;","\u2A04":"&xuplus;","\u290D":"&rbarr;","\u29EB":"&lozf;","\u25B4":"&utrif;","\u25BE":"&dtrif;","\u25C2":"&ltrif;","\u25B8":"&rtrif;","\u2423":"&blank;","\u2592":"&blk12;","\u2591":"&blk14;","\u2593":"&blk34;","\u2588":"&block;","=\u20E5":"&bne;","\u2261\u20E5":"&bnequiv;","\u2310":"&bnot;","\u{1D553}":"&bopf;","\u22C8":"&bowtie;","\u2557":"&boxDL;","\u2554":"&boxDR;","\u2556":"&boxDl;","\u2553":"&boxDr;","\u2550":"&boxH;","\u2566":"&boxHD;","\u2569":"&boxHU;","\u2564":"&boxHd;","\u2567":"&boxHu;","\u255D":"&boxUL;","\u255A":"&boxUR;","\u255C":"&boxUl;","\u2559":"&boxUr;","\u2551":"&boxV;","\u256C":"&boxVH;","\u2563":"&boxVL;","\u2560":"&boxVR;","\u256B":"&boxVh;","\u2562":"&boxVl;","\u255F":"&boxVr;","\u29C9":"&boxbox;","\u2555":"&boxdL;","\u2552":"&boxdR;","\u2510":"&boxdl;","\u250C":"&boxdr;","\u2565":"&boxhD;","\u2568":"&boxhU;","\u252C":"&boxhd;","\u2534":"&boxhu;","\u229F":"&minusb;","\u229E":"&plusb;","\u22A0":"&timesb;","\u255B":"&boxuL;","\u2558":"&boxuR;","\u2518":"&boxul;","\u2514":"&boxur;","\u2502":"&boxv;","\u256A":"&boxvH;","\u2561":"&boxvL;","\u255E":"&boxvR;","\u253C":"&boxvh;","\u2524":"&boxvl;","\u251C":"&boxvr;","\xA6":"&brvbar;","\u{1D4B7}":"&bscr;","\u204F":"&bsemi;","\\":"&bsol;","\u29C5":"&bsolb;","\u27C8":"&bsolhsub;","\u2022":"&bullet;","\u2AAE":"&bumpE;",\u0107:"&cacute;","\u2229":"&cap;","\u2A44":"&capand;","\u2A49":"&capbrcup;","\u2A4B":"&capcap;","\u2A47":"&capcup;","\u2A40":"&capdot;","\u2229\uFE00":"&caps;","\u2041":"&caret;","\u2A4D":"&ccaps;",\u010D:"&ccaron;",\u00E7:"&ccedil;",\u0109:"&ccirc;","\u2A4C":"&ccups;","\u2A50":"&ccupssm;",\u010B:"&cdot;","\u29B2":"&cemptyv;","\xA2":"&cent;","\u{1D520}":"&cfr;",\u0447:"&chcy;","\u2713":"&checkmark;",\u03C7:"&chi;","\u25CB":"&cir;","\u29C3":"&cirE;","\u02C6":"&circ;","\u2257":"&cire;","\u21BA":"&olarr;","\u21BB":"&orarr;","\u24C8":"&oS;","\u229B":"&oast;","\u229A":"&ocir;","\u229D":"&odash;","\u2A10":"&cirfnint;","\u2AEF":"&cirmid;","\u29C2":"&cirscir;","\u2663":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","\u2201":"&complement;","\u2A6D":"&congdot;","\u{1D554}":"&copf;","\u2117":"&copysr;","\u21B5":"&crarr;","\u2717":"&cross;","\u{1D4B8}":"&cscr;","\u2ACF":"&csub;","\u2AD1":"&csube;","\u2AD0":"&csup;","\u2AD2":"&csupe;","\u22EF":"&ctdot;","\u2938":"&cudarrl;","\u2935":"&cudarrr;","\u22DE":"&curlyeqprec;","\u22DF":"&curlyeqsucc;","\u21B6":"&curvearrowleft;","\u293D":"&cularrp;","\u222A":"&cup;","\u2A48":"&cupbrcap;","\u2A46":"&cupcap;","\u2A4A":"&cupcup;","\u228D":"&cupdot;","\u2A45":"&cupor;","\u222A\uFE00":"&cups;","\u21B7":"&curvearrowright;","\u293C":"&curarrm;","\u22CE":"&cuvee;","\u22CF":"&cuwed;","\xA4":"&curren;","\u2231":"&cwint;","\u232D":"&cylcty;","\u2965":"&dHar;","\u2020":"&dagger;",\u2138:"&daleth;","\u2010":"&hyphen;","\u290F":"&rBarr;",\u010F:"&dcaron;",\u0434:"&dcy;","\u21CA":"&downdownarrows;","\u2A77":"&eDDot;","\xB0":"&deg;",\u03B4:"&delta;","\u29B1":"&demptyv;","\u297F":"&dfisht;","\u{1D521}":"&dfr;","\u2666":"&diams;",\u03DD:"&gammad;","\u22F2":"&disin;","\xF7":"&divide;","\u22C7":"&divonx;",\u0452:"&djcy;","\u231E":"&llcorner;","\u230D":"&dlcrop;",$:"&dollar;","\u{1D555}":"&dopf;","\u2251":"&eDot;","\u2238":"&minusd;","\u2214":"&plusdo;","\u22A1":"&sdotb;","\u231F":"&lrcorner;","\u230C":"&drcrop;","\u{1D4B9}":"&dscr;",\u0455:"&dscy;","\u29F6":"&dsol;",\u0111:"&dstrok;","\u22F1":"&dtdot;","\u25BF":"&triangledown;","\u29A6":"&dwangle;",\u045F:"&dzcy;","\u27FF":"&dzigrarr;",\u00E9:"&eacute;","\u2A6E":"&easter;",\u011B:"&ecaron;","\u2256":"&eqcirc;",\u00EA:"&ecirc;","\u2255":"&eqcolon;",\u044D:"&ecy;",\u0117:"&edot;","\u2252":"&fallingdotseq;","\u{1D522}":"&efr;","\u2A9A":"&eg;",\u00E8:"&egrave;","\u2A96":"&eqslantgtr;","\u2A98":"&egsdot;","\u2A99":"&el;","\u23E7":"&elinters;",\u2113:"&ell;","\u2A95":"&eqslantless;","\u2A97":"&elsdot;",\u0113:"&emacr;","\u2205":"&varnothing;","\u2004":"&emsp13;","\u2005":"&emsp14;","\u2003":"&emsp;",\u014B:"&eng;","\u2002":"&ensp;",\u0119:"&eogon;","\u{1D556}":"&eopf;","\u22D5":"&epar;","\u29E3":"&eparsl;","\u2A71":"&eplus;",\u03B5:"&epsilon;","\u03F5":"&varepsilon;","=":"&equals;","\u225F":"&questeq;","\u2A78":"&equivDD;","\u29E5":"&eqvparsl;","\u2253":"&risingdotseq;","\u2971":"&erarr;",\u212F:"&escr;",\u03B7:"&eta;",\u00F0:"&eth;",\u00EB:"&euml;","\u20AC":"&euro;","!":"&excl;",\u0444:"&fcy;","\u2640":"&female;",\uFB03:"&ffilig;",\uFB00:"&fflig;",\uFB04:"&ffllig;","\u{1D523}":"&ffr;",\uFB01:"&filig;",fj:"&fjlig;","\u266D":"&flat;",\uFB02:"&fllig;","\u25B1":"&fltns;",\u0192:"&fnof;","\u{1D557}":"&fopf;","\u22D4":"&pitchfork;","\u2AD9":"&forkv;","\u2A0D":"&fpartint;","\xBD":"&half;","\u2153":"&frac13;","\xBC":"&frac14;","\u2155":"&frac15;","\u2159":"&frac16;","\u215B":"&frac18;","\u2154":"&frac23;","\u2156":"&frac25;","\xBE":"&frac34;","\u2157":"&frac35;","\u215C":"&frac38;","\u2158":"&frac45;","\u215A":"&frac56;","\u215D":"&frac58;","\u215E":"&frac78;","\u2044":"&frasl;","\u2322":"&sfrown;","\u{1D4BB}":"&fscr;","\u2A8C":"&gtreqqless;",\u01F5:"&gacute;",\u03B3:"&gamma;","\u2A86":"&gtrapprox;",\u011F:"&gbreve;",\u011D:"&gcirc;",\u0433:"&gcy;",\u0121:"&gdot;","\u2AA9":"&gescc;","\u2A80":"&gesdot;","\u2A82":"&gesdoto;","\u2A84":"&gesdotol;","\u22DB\uFE00":"&gesl;","\u2A94":"&gesles;","\u{1D524}":"&gfr;",\u2137:"&gimel;",\u0453:"&gjcy;","\u2A92":"&glE;","\u2AA5":"&gla;","\u2AA4":"&glj;","\u2269":"&gneqq;","\u2A8A":"&gnapprox;","\u2A88":"&gneq;","\u22E7":"&gnsim;","\u{1D558}":"&gopf;",\u210A:"&gscr;","\u2A8E":"&gsime;","\u2A90":"&gsiml;","\u2AA7":"&gtcc;","\u2A7A":"&gtcir;","\u22D7":"&gtrdot;","\u2995":"&gtlPar;","\u2A7C":"&gtquest;","\u2978":"&gtrarr;","\u2269\uFE00":"&gvnE;",\u044A:"&hardcy;","\u2948":"&harrcir;","\u21AD":"&leftrightsquigarrow;",\u210F:"&plankv;",\u0125:"&hcirc;","\u2665":"&heartsuit;","\u2026":"&mldr;","\u22B9":"&hercon;","\u{1D525}":"&hfr;","\u2925":"&searhk;","\u2926":"&swarhk;","\u21FF":"&hoarr;","\u223B":"&homtht;","\u21A9":"&larrhk;","\u21AA":"&rarrhk;","\u{1D559}":"&hopf;","\u2015":"&horbar;","\u{1D4BD}":"&hscr;",\u0127:"&hstrok;","\u2043":"&hybull;",\u00ED:"&iacute;",\u00EE:"&icirc;",\u0438:"&icy;",\u0435:"&iecy;","\xA1":"&iexcl;","\u{1D526}":"&ifr;",\u00EC:"&igrave;","\u2A0C":"&qint;","\u222D":"&tint;","\u29DC":"&iinfin;","\u2129":"&iiota;",\u0133:"&ijlig;",\u012B:"&imacr;",\u0131:"&inodot;","\u22B7":"&imof;",\u01B5:"&imped;","\u2105":"&incare;","\u221E":"&infin;","\u29DD":"&infintie;","\u22BA":"&intercal;","\u2A17":"&intlarhk;","\u2A3C":"&iprod;",\u0451:"&iocy;",\u012F:"&iogon;","\u{1D55A}":"&iopf;",\u03B9:"&iota;","\xBF":"&iquest;","\u{1D4BE}":"&iscr;","\u22F9":"&isinE;","\u22F5":"&isindot;","\u22F4":"&isins;","\u22F3":"&isinsv;",\u0129:"&itilde;",\u0456:"&iukcy;",\u00EF:"&iuml;",\u0135:"&jcirc;",\u0439:"&jcy;","\u{1D527}":"&jfr;","\u0237":"&jmath;","\u{1D55B}":"&jopf;","\u{1D4BF}":"&jscr;",\u0458:"&jsercy;",\u0454:"&jukcy;",\u03BA:"&kappa;",\u03F0:"&varkappa;",\u0137:"&kcedil;",\u043A:"&kcy;","\u{1D528}":"&kfr;",\u0138:"&kgreen;",\u0445:"&khcy;",\u045C:"&kjcy;","\u{1D55C}":"&kopf;","\u{1D4C0}":"&kscr;","\u291B":"&lAtail;","\u290E":"&lBarr;","\u2A8B":"&lesseqqgtr;","\u2962":"&lHar;",\u013A:"&lacute;","\u29B4":"&laemptyv;",\u03BB:"&lambda;","\u2991":"&langd;","\u2A85":"&lessapprox;","\xAB":"&laquo;","\u291F":"&larrbfs;","\u291D":"&larrfs;","\u21AB":"&looparrowleft;","\u2939":"&larrpl;","\u2973":"&larrsim;","\u21A2":"&leftarrowtail;","\u2AAB":"&lat;","\u2919":"&latail;","\u2AAD":"&late;","\u2AAD\uFE00":"&lates;","\u290C":"&lbarr;","\u2772":"&lbbrk;","{":"&lcub;","[":"&lsqb;","\u298B":"&lbrke;","\u298F":"&lbrksld;","\u298D":"&lbrkslu;",\u013E:"&lcaron;",\u013C:"&lcedil;",\u043B:"&lcy;","\u2936":"&ldca;","\u2967":"&ldrdhar;","\u294B":"&ldrushar;","\u21B2":"&ldsh;","\u2264":"&leq;","\u21C7":"&llarr;","\u22CB":"&lthree;","\u2AA8":"&lescc;","\u2A7F":"&lesdot;","\u2A81":"&lesdoto;","\u2A83":"&lesdotor;","\u22DA\uFE00":"&lesg;","\u2A93":"&lesges;","\u22D6":"&ltdot;","\u297C":"&lfisht;","\u{1D529}":"&lfr;","\u2A91":"&lgE;","\u296A":"&lharul;","\u2584":"&lhblk;",\u0459:"&ljcy;","\u296B":"&llhard;","\u25FA":"&lltri;",\u0140:"&lmidot;","\u23B0":"&lmoustache;","\u2268":"&lneqq;","\u2A89":"&lnapprox;","\u2A87":"&lneq;","\u22E6":"&lnsim;","\u27EC":"&loang;","\u21FD":"&loarr;","\u27FC":"&xmap;","\u21AC":"&rarrlp;","\u2985":"&lopar;","\u{1D55D}":"&lopf;","\u2A2D":"&loplus;","\u2A34":"&lotimes;","\u2217":"&lowast;","\u25CA":"&lozenge;","(":"&lpar;","\u2993":"&lparlt;","\u296D":"&lrhard;","\u200E":"&lrm;","\u22BF":"&lrtri;","\u2039":"&lsaquo;","\u{1D4C1}":"&lscr;","\u2A8D":"&lsime;","\u2A8F":"&lsimg;","\u201A":"&sbquo;",\u0142:"&lstrok;","\u2AA6":"&ltcc;","\u2A79":"&ltcir;","\u22C9":"&ltimes;","\u2976":"&ltlarr;","\u2A7B":"&ltquest;","\u2996":"&ltrPar;","\u25C3":"&triangleleft;","\u294A":"&lurdshar;","\u2966":"&luruhar;","\u2268\uFE00":"&lvnE;","\u223A":"&mDDot;","\xAF":"&strns;","\u2642":"&male;","\u2720":"&maltese;","\u25AE":"&marker;","\u2A29":"&mcomma;",\u043C:"&mcy;","\u2014":"&mdash;","\u{1D52A}":"&mfr;","\u2127":"&mho;",\u00B5:"&micro;","\u2AF0":"&midcir;","\u2212":"&minus;","\u2A2A":"&minusdu;","\u2ADB":"&mlcp;","\u22A7":"&models;","\u{1D55E}":"&mopf;","\u{1D4C2}":"&mscr;",\u03BC:"&mu;","\u22B8":"&mumap;","\u22D9\u0338":"&nGg;","\u226B\u20D2":"&nGt;","\u21CD":"&nlArr;","\u21CE":"&nhArr;","\u22D8\u0338":"&nLl;","\u226A\u20D2":"&nLt;","\u21CF":"&nrArr;","\u22AF":"&nVDash;","\u22AE":"&nVdash;",\u0144:"&nacute;","\u2220\u20D2":"&nang;","\u2A70\u0338":"&napE;","\u224B\u0338":"&napid;",\u0149:"&napos;","\u266E":"&natural;","\u2A43":"&ncap;",\u0148:"&ncaron;",\u0146:"&ncedil;","\u2A6D\u0338":"&ncongdot;","\u2A42":"&ncup;",\u043D:"&ncy;","\u2013":"&ndash;","\u21D7":"&neArr;","\u2924":"&nearhk;","\u2250\u0338":"&nedot;","\u2928":"&toea;","\u{1D52B}":"&nfr;","\u21AE":"&nleftrightarrow;","\u2AF2":"&nhpar;","\u22FC":"&nis;","\u22FA":"&nisd;",\u045A:"&njcy;","\u2266\u0338":"&nleqq;","\u219A":"&nleftarrow;","\u2025":"&nldr;","\u{1D55F}":"&nopf;","\xAC":"&not;","\u22F9\u0338":"&notinE;","\u22F5\u0338":"&notindot;","\u22F7":"&notinvb;","\u22F6":"&notinvc;","\u22FE":"&notnivb;","\u22FD":"&notnivc;","\u2AFD\u20E5":"&nparsl;","\u2202\u0338":"&npart;","\u2A14":"&npolint;","\u219B":"&nrightarrow;","\u2933\u0338":"&nrarrc;","\u219D\u0338":"&nrarrw;","\u{1D4C3}":"&nscr;","\u2284":"&nsub;","\u2AC5\u0338":"&nsubseteqq;","\u2285":"&nsup;","\u2AC6\u0338":"&nsupseteqq;",\u00F1:"&ntilde;",\u03BD:"&nu;","#":"&num;","\u2116":"&numero;","\u2007":"&numsp;","\u22AD":"&nvDash;","\u2904":"&nvHarr;","\u224D\u20D2":"&nvap;","\u22AC":"&nvdash;","\u2265\u20D2":"&nvge;",">\u20D2":"&nvgt;","\u29DE":"&nvinfin;","\u2902":"&nvlArr;","\u2264\u20D2":"&nvle;","<\u20D2":"&nvlt;","\u22B4\u20D2":"&nvltrie;","\u2903":"&nvrArr;","\u22B5\u20D2":"&nvrtrie;","\u223C\u20D2":"&nvsim;","\u21D6":"&nwArr;","\u2923":"&nwarhk;","\u2927":"&nwnear;",\u00F3:"&oacute;",\u00F4:"&ocirc;",\u043E:"&ocy;",\u0151:"&odblac;","\u2A38":"&odiv;","\u29BC":"&odsold;",\u0153:"&oelig;","\u29BF":"&ofcir;","\u{1D52C}":"&ofr;","\u02DB":"&ogon;",\u00F2:"&ograve;","\u29C1":"&ogt;","\u29B5":"&ohbar;","\u29BE":"&olcir;","\u29BB":"&olcross;","\u29C0":"&olt;",\u014D:"&omacr;",\u03C9:"&omega;",\u03BF:"&omicron;","\u29B6":"&omid;","\u{1D560}":"&oopf;","\u29B7":"&opar;","\u29B9":"&operp;","\u2228":"&vee;","\u2A5D":"&ord;",\u2134:"&oscr;",\u00AA:"&ordf;",\u00BA:"&ordm;","\u22B6":"&origof;","\u2A56":"&oror;","\u2A57":"&orslope;","\u2A5B":"&orv;",\u00F8:"&oslash;","\u2298":"&osol;",\u00F5:"&otilde;","\u2A36":"&otimesas;",\u00F6:"&ouml;","\u233D":"&ovbar;","\xB6":"&para;","\u2AF3":"&parsim;","\u2AFD":"&parsl;",\u043F:"&pcy;","%":"&percnt;",".":"&period;","\u2030":"&permil;","\u2031":"&pertenk;","\u{1D52D}":"&pfr;",\u03C6:"&phi;",\u03D5:"&varphi;","\u260E":"&phone;",\u03C0:"&pi;",\u03D6:"&varpi;",\u210E:"&planckh;","+":"&plus;","\u2A23":"&plusacir;","\u2A22":"&pluscir;","\u2A25":"&plusdu;","\u2A72":"&pluse;","\u2A26":"&plussim;","\u2A27":"&plustwo;","\u2A15":"&pointint;","\u{1D561}":"&popf;","\xA3":"&pound;","\u2AB3":"&prE;","\u2AB7":"&precapprox;","\u2AB9":"&prnap;","\u2AB5":"&prnE;","\u22E8":"&prnsim;","\u2032":"&prime;","\u232E":"&profalar;","\u2312":"&profline;","\u2313":"&profsurf;","\u22B0":"&prurel;","\u{1D4C5}":"&pscr;",\u03C8:"&psi;","\u2008":"&puncsp;","\u{1D52E}":"&qfr;","\u{1D562}":"&qopf;","\u2057":"&qprime;","\u{1D4C6}":"&qscr;","\u2A16":"&quatint;","?":"&quest;","\u291C":"&rAtail;","\u2964":"&rHar;","\u223D\u0331":"&race;",\u0155:"&racute;","\u29B3":"&raemptyv;","\u2992":"&rangd;","\u29A5":"&range;","\xBB":"&raquo;","\u2975":"&rarrap;","\u2920":"&rarrbfs;","\u2933":"&rarrc;","\u291E":"&rarrfs;","\u2945":"&rarrpl;","\u2974":"&rarrsim;","\u21A3":"&rightarrowtail;","\u219D":"&rightsquigarrow;","\u291A":"&ratail;","\u2236":"&ratio;","\u2773":"&rbbrk;","}":"&rcub;","]":"&rsqb;","\u298C":"&rbrke;","\u298E":"&rbrksld;","\u2990":"&rbrkslu;",\u0159:"&rcaron;",\u0157:"&rcedil;",\u0440:"&rcy;","\u2937":"&rdca;","\u2969":"&rdldhar;","\u21B3":"&rdsh;","\u25AD":"&rect;","\u297D":"&rfisht;","\u{1D52F}":"&rfr;","\u296C":"&rharul;",\u03C1:"&rho;",\u03F1:"&varrho;","\u21C9":"&rrarr;","\u22CC":"&rthree;","\u02DA":"&ring;","\u200F":"&rlm;","\u23B1":"&rmoustache;","\u2AEE":"&rnmid;","\u27ED":"&roang;","\u21FE":"&roarr;","\u2986":"&ropar;","\u{1D563}":"&ropf;","\u2A2E":"&roplus;","\u2A35":"&rotimes;",")":"&rpar;","\u2994":"&rpargt;","\u2A12":"&rppolint;","\u203A":"&rsaquo;","\u{1D4C7}":"&rscr;","\u22CA":"&rtimes;","\u25B9":"&triangleright;","\u29CE":"&rtriltri;","\u2968":"&ruluhar;","\u211E":"&rx;",\u015B:"&sacute;","\u2AB4":"&scE;","\u2AB8":"&succapprox;",\u0161:"&scaron;",\u015F:"&scedil;",\u015D:"&scirc;","\u2AB6":"&succneqq;","\u2ABA":"&succnapprox;","\u22E9":"&succnsim;","\u2A13":"&scpolint;",\u0441:"&scy;","\u22C5":"&sdot;","\u2A66":"&sdote;","\u21D8":"&seArr;","\xA7":"&sect;",";":"&semi;","\u2929":"&tosa;","\u2736":"&sext;","\u{1D530}":"&sfr;","\u266F":"&sharp;",\u0449:"&shchcy;",\u0448:"&shcy;","\xAD":"&shy;",\u03C3:"&sigma;",\u03C2:"&varsigma;","\u2A6A":"&simdot;","\u2A9E":"&simg;","\u2AA0":"&simgE;","\u2A9D":"&siml;","\u2A9F":"&simlE;","\u2246":"&simne;","\u2A24":"&simplus;","\u2972":"&simrarr;","\u2A33":"&smashp;","\u29E4":"&smeparsl;","\u2323":"&ssmile;","\u2AAA":"&smt;","\u2AAC":"&smte;","\u2AAC\uFE00":"&smtes;",\u044C:"&softcy;","/":"&sol;","\u29C4":"&solb;","\u233F":"&solbar;","\u{1D564}":"&sopf;","\u2660":"&spadesuit;","\u2293\uFE00":"&sqcaps;","\u2294\uFE00":"&sqcups;","\u{1D4C8}":"&sscr;","\u2606":"&star;","\u2282":"&subset;","\u2AC5":"&subseteqq;","\u2ABD":"&subdot;","\u2AC3":"&subedot;","\u2AC1":"&submult;","\u2ACB":"&subsetneqq;","\u228A":"&subsetneq;","\u2ABF":"&subplus;","\u2979":"&subrarr;","\u2AC7":"&subsim;","\u2AD5":"&subsub;","\u2AD3":"&subsup;","\u266A":"&sung;","\xB9":"&sup1;","\xB2":"&sup2;","\xB3":"&sup3;","\u2AC6":"&supseteqq;","\u2ABE":"&supdot;","\u2AD8":"&supdsub;","\u2AC4":"&supedot;","\u27C9":"&suphsol;","\u2AD7":"&suphsub;","\u297B":"&suplarr;","\u2AC2":"&supmult;","\u2ACC":"&supsetneqq;","\u228B":"&supsetneq;","\u2AC0":"&supplus;","\u2AC8":"&supsim;","\u2AD4":"&supsub;","\u2AD6":"&supsup;","\u21D9":"&swArr;","\u292A":"&swnwar;",\u00DF:"&szlig;","\u2316":"&target;",\u03C4:"&tau;",\u0165:"&tcaron;",\u0163:"&tcedil;",\u0442:"&tcy;","\u2315":"&telrec;","\u{1D531}":"&tfr;",\u03B8:"&theta;",\u03D1:"&vartheta;",\u00FE:"&thorn;","\xD7":"&times;","\u2A31":"&timesbar;","\u2A30":"&timesd;","\u2336":"&topbot;","\u2AF1":"&topcir;","\u{1D565}":"&topf;","\u2ADA":"&topfork;","\u2034":"&tprime;","\u25B5":"&utri;","\u225C":"&trie;","\u25EC":"&tridot;","\u2A3A":"&triminus;","\u2A39":"&triplus;","\u29CD":"&trisb;","\u2A3B":"&tritime;","\u23E2":"&trpezium;","\u{1D4C9}":"&tscr;",\u0446:"&tscy;",\u045B:"&tshcy;",\u0167:"&tstrok;","\u2963":"&uHar;",\u00FA:"&uacute;",\u045E:"&ubrcy;",\u016D:"&ubreve;",\u00FB:"&ucirc;",\u0443:"&ucy;",\u0171:"&udblac;","\u297E":"&ufisht;","\u{1D532}":"&ufr;",\u00F9:"&ugrave;","\u2580":"&uhblk;","\u231C":"&ulcorner;","\u230F":"&ulcrop;","\u25F8":"&ultri;",\u016B:"&umacr;",\u0173:"&uogon;","\u{1D566}":"&uopf;",\u03C5:"&upsilon;","\u21C8":"&uuarr;","\u231D":"&urcorner;","\u230E":"&urcrop;",\u016F:"&uring;","\u25F9":"&urtri;","\u{1D4CA}":"&uscr;","\u22F0":"&utdot;",\u0169:"&utilde;",\u00FC:"&uuml;","\u29A7":"&uwangle;","\u2AE8":"&vBar;","\u2AE9":"&vBarv;","\u299C":"&vangrt;","\u228A\uFE00":"&vsubne;","\u2ACB\uFE00":"&vsubnE;","\u228B\uFE00":"&vsupne;","\u2ACC\uFE00":"&vsupnE;",\u0432:"&vcy;","\u22BB":"&veebar;","\u225A":"&veeeq;","\u22EE":"&vellip;","\u{1D533}":"&vfr;","\u{1D567}":"&vopf;","\u{1D4CB}":"&vscr;","\u299A":"&vzigzag;",\u0175:"&wcirc;","\u2A5F":"&wedbar;","\u2259":"&wedgeq;","\u2118":"&wp;","\u{1D534}":"&wfr;","\u{1D568}":"&wopf;","\u{1D4CC}":"&wscr;","\u{1D535}":"&xfr;",\u03BE:"&xi;","\u22FB":"&xnis;","\u{1D569}":"&xopf;","\u{1D4CD}":"&xscr;",\u00FD:"&yacute;",\u044F:"&yacy;",\u0177:"&ycirc;",\u044B:"&ycy;","\xA5":"&yen;","\u{1D536}":"&yfr;",\u0457:"&yicy;","\u{1D56A}":"&yopf;","\u{1D4CE}":"&yscr;",\u044E:"&yucy;",\u00FF:"&yuml;",\u017A:"&zacute;",\u017E:"&zcaron;",\u0437:"&zcy;",\u017C:"&zdot;",\u03B6:"&zeta;","\u{1D537}":"&zfr;",\u0436:"&zhcy;","\u21DD":"&zigrarr;","\u{1D56B}":"&zopf;","\u{1D4CF}":"&zscr;","\u200D":"&zwj;","\u200C":"&zwnj;"}}};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;/**
16
35
  * @name ranges-sort
17
36
  * @fileoverview Sort string index ranges
18
37
  * @version 6.0.11
19
38
  * @author Roy Revelt, Codsen Ltd
20
39
  * @license MIT
21
40
  * {@link https://codsen.com/os/ranges-sort/}
22
- */var Nd={strictlyTwoElementsInRangeArrays:!1,progressFn:null};function ir(e,t){if(!Array.isArray(e)||!e.length)return e;let n={...Nd,...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(ir,"g$1");/**
41
+ */var Ld={strictlyTwoElementsInRangeArrays:!1,progressFn:null};function sr(e,t){if(!Array.isArray(e)||!e.length)return e;let n={...Ld,...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(sr,"g$1");/**
23
42
  * @name ranges-merge
24
43
  * @fileoverview Merge and sort string index ranges
25
44
  * @version 9.0.15
26
45
  * @author Roy Revelt, Codsen Ltd
27
46
  * @license MIT
28
47
  * {@link https://codsen.com/os/ranges-merge/}
29
- */var ia={mergeType:1,progressFn:null,joinRangesThatTouchEdges:!0};function Ed(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={...ia,...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:
30
- ${JSON.stringify(t,null,4)} (type ${typeof t})`);else r={...ia};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=ir(i,{progressFn:c=>{a=Math.floor(c/5),a!==o&&(o=a,r.progressFn(a))}}):s=ir(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(Ed,"b$1");var _d=process.env.NODE_ENV==="production",sa="Invariant failed";function Od(e,t){if(!e){if(_d)throw new Error(sa);var n=sa;throw new Error(n)}}l(Od,"invariant");/**
48
+ */var ua={mergeType:1,progressFn:null,joinRangesThatTouchEdges:!0};function Id(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={...ua,...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={...ua};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=sr(i,{progressFn:c=>{a=Math.floor(c/5),a!==o&&(o=a,r.progressFn(a))}}):s=sr(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(Id,"b$1");var Dd=process.env.NODE_ENV==="production",ca="Invariant failed";function Rd(e,t){if(!e){if(Dd)throw new Error(ca);var n=ca;throw new Error(n)}}l(Rd,"invariant");/**
31
50
  * @name ranges-apply
32
51
  * @fileoverview Take an array of string index ranges, delete/replace the string according to them
33
52
  * @version 7.0.16
34
53
  * @author Roy Revelt, Codsen Ltd
35
54
  * @license MIT
36
55
  * {@link https://codsen.com/os/ranges-apply/}
37
- */function Ld(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=Ed(r,{progressFn:o=>{}});Od(i);let s=i.length;if(s>0){let o=e.slice(i[s-1][1]);e=i.reduce((a,u,c,p)=>{let f=c===0?0:p[c-1][1],h=p[c][0];return`${a}${e.slice(f,h)}${p[c][2]||""}`},""),e+=o}return e}l(Ld,"_");/**
56
+ */function Pd(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=Id(r,{progressFn:o=>{}});Rd(i);let s=i.length;if(s>0){let o=e.slice(i[s-1][1]);e=i.reduce((a,u,c,p)=>{let f=c===0?0:p[c-1][1],h=p[c][0];return`${a}${e.slice(f,h)}${p[c][2]||""}`},""),e+=o}return e}l(Pd,"_");/**
38
57
  * @name string-collapse-leading-whitespace
39
58
  * @fileoverview Collapse the leading and trailing whitespace of a string
40
59
  * @version 7.0.7
41
60
  * @author Roy Revelt, Codsen Ltd
42
61
  * @license MIT
43
62
  * {@link https://codsen.com/os/string-collapse-leading-whitespace/}
44
- */function Ci(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?`
63
+ */function Ni(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?`
45
64
  `:"\r",c=a?"\r":`
46
65
  `;if(!s)return s;let p=0,f="";for(let h=0,d=s.length;h<d;h++)(s[h]===u||s[h]===c&&s[h-1]!==u)&&p++,`\r
47
- `.includes(s[h])||s[h]===n?s[h]===n?f+=s[h]:s[h]===u?p<=o&&(f+=s[h],s[h+1]===c&&(f+=s[h+1],h++)):s[h]===c&&s?.[h-1]!==u&&p<=o&&(f+=s[h]):!s[h+1]&&!p&&(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(Ci,"D$1");/**
66
+ `.includes(s[h])||s[h]===n?s[h]===n?f+=s[h]:s[h]===u?p<=o&&(f+=s[h],s[h+1]===c&&(f+=s[h+1],h++)):s[h]===c&&s?.[h-1]!==u&&p<=o&&(f+=s[h]):!s[h+1]&&!p&&(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(Ni,"D$1");/**
48
67
  * @name ranges-push
49
68
  * @fileoverview Gather string index ranges
50
69
  * @version 7.0.15
51
70
  * @author Roy Revelt, Codsen Ltd
52
71
  * @license MIT
53
72
  * {@link https://codsen.com/os/ranges-push/}
54
- */var oa={mergeType:1,progressFn:null,joinRangesThatTouchEdges:!0};function Id(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={...oa,...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:
55
- ${JSON.stringify(t,null,4)} (type ${typeof t})`);else r={...oa};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=ir(i,{progressFn:c=>{a=Math.floor(c/5),a!==o&&(o=a,r.progressFn(a))}}):s=ir(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(Id,"$");var Dd={limitToBeAddedWhitespace:!1,limitLinebreaksCount:1,mergeType:1},Rd=class{static{l(this,"y")}constructor(e){let t={...Dd,...e};if(t.mergeType&&t.mergeType!==1&&t.mergeType!==2)if(Mt(t.mergeType)&&t.mergeType.trim()==="1")t.mergeType=1;else if(Mt(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(ft(e)&&!ft(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&&ct(+e[0])&&ct(+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(!ft(e)&&ft(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(ct(n)&&(n=String(n)),ct(r)&&ct(i)){if(ft(n)&&!Mt(n)&&!ct(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:
56
- ${JSON.stringify(n,null,4)}`);if(ft(this.ranges)&&Array.isArray(this.last())&&r===this.last()[1]){if(this.last()[1]=i,this.last()[2],this.last()[2]!==null&&ft(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=Ci(s,this.opts.limitLinebreaksCount)),Mt(s)&&!s.length||(this.last()[2]=s)}}else{this.ranges||(this.ranges=[]);let s=n!==void 0&&!(Mt(n)&&!n.length)?[r,i,n&&this.opts.limitToBeAddedWhitespace?Ci(n,this.opts.limitLinebreaksCount):n]:[r,i];this.ranges.push(s)}}else throw ct(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=Id(this.ranges,{mergeType:this.opts.mergeType}),this.ranges&&this.opts.limitToBeAddedWhitespace?this.ranges.map(e=>ft(e[2])?[e[0],e[1],Ci(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])&&ct(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}};/**
73
+ */var fa={mergeType:1,progressFn:null,joinRangesThatTouchEdges:!0};function qd(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={...fa,...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={...fa};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=sr(i,{progressFn:c=>{a=Math.floor(c/5),a!==o&&(o=a,r.progressFn(a))}}):s=sr(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(qd,"$");var Fd={limitToBeAddedWhitespace:!1,limitLinebreaksCount:1,mergeType:1},Md=class{static{l(this,"y")}constructor(e){let t={...Fd,...e};if(t.mergeType&&t.mergeType!==1&&t.mergeType!==2)if(Mt(t.mergeType)&&t.mergeType.trim()==="1")t.mergeType=1;else if(Mt(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(ft(e)&&!ft(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&&ct(+e[0])&&ct(+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(!ft(e)&&ft(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(ct(n)&&(n=String(n)),ct(r)&&ct(i)){if(ft(n)&&!Mt(n)&&!ct(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(ft(this.ranges)&&Array.isArray(this.last())&&r===this.last()[1]){if(this.last()[1]=i,this.last()[2],this.last()[2]!==null&&ft(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=Ni(s,this.opts.limitLinebreaksCount)),Mt(s)&&!s.length||(this.last()[2]=s)}}else{this.ranges||(this.ranges=[]);let s=n!==void 0&&!(Mt(n)&&!n.length)?[r,i,n&&this.opts.limitToBeAddedWhitespace?Ni(n,this.opts.limitLinebreaksCount):n]:[r,i];this.ranges.push(s)}}else throw ct(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=qd(this.ranges,{mergeType:this.opts.mergeType}),this.ranges&&this.opts.limitToBeAddedWhitespace?this.ranges.map(e=>ft(e[2])?[e[0],e[1],Ni(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])&&ct(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}};/**
57
76
  * @name string-left-right
58
77
  * @fileoverview Looks up the first non-whitespace character to the left/right of a given index
59
78
  * @version 6.0.17
60
79
  * @author Roy Revelt, Codsen Ltd
61
80
  * @license MIT
62
81
  * {@link https://codsen.com/os/string-left-right/}
63
- */Lo();var Ti="\xA0";function Pd({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&&`
64
- \r`.includes(e[t+1])||r&&e[t+1]===Ti))return t+1;if(e[t+2]&&(e[t+2].trim()||n&&`
65
- \r`.includes(e[t+2])||r&&e[t+2]===Ti))return t+2;for(let i=t+1,s=e.length;i<s;i++)if(e[i].trim()||n&&`
66
- \r`.includes(e[i])||r&&e[i]===Ti)return i;return null}l(Pd,"D");function Ye(e,t=0){return Pd({str:e,idx:t,stopAtNewlines:!1,stopAtRawNbsp:!1})}l(Ye,"E");/**
82
+ */qo();var Ei="\xA0";function $d({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]===Ei))return t+1;if(e[t+2]&&(e[t+2].trim()||n&&`
84
+ \r`.includes(e[t+2])||r&&e[t+2]===Ei))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]===Ei)return i;return null}l($d,"D");function Ye(e,t=0){return $d({str:e,idx:t,stopAtNewlines:!1,stopAtRawNbsp:!1})}l(Ye,"E");/**
67
86
  * @name string-strip-html
68
87
  * @fileoverview Strip HTML tags from strings. No parser, accepts mixed sources.
69
88
  * @version 13.4.8
70
89
  * @author Roy Revelt, Codsen Ltd
71
90
  * @license MIT
72
91
  * {@link https://codsen.com/os/string-strip-html/}
73
- */function qd(e){return/[-_A-Za-z0-9]/.test(e)}l(qd,"ee");function aa(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(aa,"G");function sr(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(sr,"j");function la(e,t,n){return e?.quotes,e?.quotes?.value&&sr(t,n+1,e.quotes.value,">"),e?.quotes?.next,sr(t,e?.quotes?.next-1,e?.quotes?.value,">"),!e?.quotes||!sr(t,n+1,e.quotes.value,">")&&e?.quotes?.next!==-1&&sr(t,e?.quotes?.next-1,e?.quotes?.value,">")}l(la,"Y");function Fd(e,t){return(t.match(new RegExp(e,"g"))||[]).length}l(Fd,"ne");var Sn=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"]),Ni=new Set(["a","b","i","p","q","s","u"]),Ei=new Set([".",",",";","!","?"]),ua=new Set([".",",","?",";",")","\u2026",'"',"\xBB"]),Md=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 fa(e,t){let n=Date.now(),r=[],i=[],s=[],o=[],a={};function u(){a={attributes:[]}}l(u,"re"),u();let c=null,p=null,f=null,h=!1,d={},m={tagName:"",hrefValue:"",openingTagEnds:void 0},g="",y=!1,w=null,b=!0;function S(k,O,v){if(Array.isArray(O.stripTogetherWithTheirContents)&&(O.stripTogetherWithTheirContents.includes(a.name)||O.stripTogetherWithTheirContents.includes("*")))if(a.slashPresent&&Array.isArray(r)&&r.some(F=>F.name===a.name)){for(let F=r.length;F--;)if(r[F].name===a.name){o=o.filter(([j,ne])=>(j<r[F].lastOpeningBracketAt||j>=k+1)&&(ne<=r[F].lastOpeningBracketAt||ne>k+1));let K=k+1;a.lastClosingBracketAt&&(K=a.lastClosingBracketAt+1),o.push([r[F].lastOpeningBracketAt,K]),ua.has(e[k])&&O.cb?O.cb({tag:a,deleteFrom:r[F].lastOpeningBracketAt,deleteTo:k+1,insert:null,rangesArr:v,proposedReturn:[r[F].lastOpeningBracketAt,k,null]}):O.cb&&O.cb({tag:a,deleteFrom:r[F].lastOpeningBracketAt,deleteTo:k,insert:"",rangesArr:v,proposedReturn:[r[F].lastOpeningBracketAt,k,""]}),r.splice(F,1);break}}else a.slashPresent||r.push(a);else Array.isArray(O.ignoreTagsWithTheirContents)&&$(k,O,a)&&(b=!1)}l(S,"v$1");function T(k,O,v,F,K,j){if(Array.isArray(M.current())&&typeof v=="number"&&M.current()[0][0]===0&&M.current()[0][1]>=v)return"";if(e.length===F&&j&&!x?.dumpLinkHrefsNearby?.enabled)return null;let ne="";if(Number.isInteger(v)&&v<K&&(ne+=k.slice(v,K)),Number.isInteger(F)&&F>j+1){let je=k.slice(j+1,F);F&&!Ye(e,F-1)&&(je=je.trimEnd()),je.includes(`
74
- `)&&A(F,k)?ne+=" ":ne+=je}let ve=!ua.has(k[O]),tt=k[F-1]!==">"||!k[v].trim(),nt=!['"',"("].includes(k[K-1]),Rt=![";",".",":","!"].includes(k[O]);if((ve||tt&&nt&&Rt)&&(tt||nt)&&k[O]!=="!"&&(!Md.has(a.name)||typeof v=="number"&&v<K||typeof F=="number"&&F>j+1)){let je=ne.match(/\n/g);return Array.isArray(je)&&je.length?je.length===1?`
92
+ */function Bd(e){return/[-_A-Za-z0-9]/.test(e)}l(Bd,"ee");function pa(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(pa,"G");function or(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(or,"j");function ha(e,t,n){return e?.quotes,e?.quotes?.value&&or(t,n+1,e.quotes.value,">"),e?.quotes?.next,or(t,e?.quotes?.next-1,e?.quotes?.value,">"),!e?.quotes||!or(t,n+1,e.quotes.value,">")&&e?.quotes?.next!==-1&&or(t,e?.quotes?.next-1,e?.quotes?.value,">")}l(ha,"Y");function jd(e,t){return(t.match(new RegExp(e,"g"))||[]).length}l(jd,"ne");var Sn=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"]),_i=new Set(["a","b","i","p","q","s","u"]),Oi=new Set([".",",",";","!","?"]),da=new Set([".",",","?",";",")","\u2026",'"',"\xBB"]),zd=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"]),ma={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 ga(e,t){let n=Date.now(),r=[],i=[],s=[],o=[],a={};function u(){a={attributes:[]}}l(u,"re"),u();let c=null,p=null,f=null,h=!1,d={},m={tagName:"",hrefValue:"",openingTagEnds:void 0},g="",y=!1,w=null,b=!0;function S(k,O,v){if(Array.isArray(O.stripTogetherWithTheirContents)&&(O.stripTogetherWithTheirContents.includes(a.name)||O.stripTogetherWithTheirContents.includes("*")))if(a.slashPresent&&Array.isArray(r)&&r.some(F=>F.name===a.name)){for(let F=r.length;F--;)if(r[F].name===a.name){o=o.filter(([j,ne])=>(j<r[F].lastOpeningBracketAt||j>=k+1)&&(ne<=r[F].lastOpeningBracketAt||ne>k+1));let K=k+1;a.lastClosingBracketAt&&(K=a.lastClosingBracketAt+1),o.push([r[F].lastOpeningBracketAt,K]),da.has(e[k])&&O.cb?O.cb({tag:a,deleteFrom:r[F].lastOpeningBracketAt,deleteTo:k+1,insert:null,rangesArr:v,proposedReturn:[r[F].lastOpeningBracketAt,k,null]}):O.cb&&O.cb({tag:a,deleteFrom:r[F].lastOpeningBracketAt,deleteTo:k,insert:"",rangesArr:v,proposedReturn:[r[F].lastOpeningBracketAt,k,""]}),r.splice(F,1);break}}else a.slashPresent||r.push(a);else Array.isArray(O.ignoreTagsWithTheirContents)&&$(k,O,a)&&(b=!1)}l(S,"v$1");function T(k,O,v,F,K,j){if(Array.isArray(M.current())&&typeof v=="number"&&M.current()[0][0]===0&&M.current()[0][1]>=v)return"";if(e.length===F&&j&&!x?.dumpLinkHrefsNearby?.enabled)return null;let ne="";if(Number.isInteger(v)&&v<K&&(ne+=k.slice(v,K)),Number.isInteger(F)&&F>j+1){let je=k.slice(j+1,F);F&&!Ye(e,F-1)&&(je=je.trimEnd()),je.includes(`
93
+ `)&&A(F,k)?ne+=" ":ne+=je}let ve=!da.has(k[O]),tt=k[F-1]!==">"||!k[v].trim(),nt=!['"',"("].includes(k[K-1]),Rt=![";",".",":","!"].includes(k[O]);if((ve||tt&&nt&&Rt)&&(tt||nt)&&k[O]!=="!"&&(!zd.has(a.name)||typeof v=="number"&&v<K||typeof F=="number"&&F>j+1)){let je=ne.match(/\n/g);return Array.isArray(je)&&je.length?je.length===1?`
75
94
  `:je.length===2?`
76
95
 
77
96
  `:`
@@ -80,37 +99,18 @@ ${JSON.stringify(n,null,4)}`);if(ft(this.ranges)&&Array.isArray(this.last())&&r=
80
99
  `:" "}return""}l(T,"L");function N(k,O){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?`
81
100
 
82
101
  `:"";g=`${v}${m.hrefValue}`,(typeof O!="number"||Ye(e,O-1))&&(g+=v)}}l(N,"U");function A(k,O){return O?O[k]==="<"&&O[k+1]!=="%":e[k]==="<"&&e[k+1]!=="%"}l(A,"S");function E(k){return e[k]===">"&&e[k-1]!=="%"}l(E,"A");function $(k,O,v){if(O.ignoreTagsWithTheirContents.includes("*"))return!0;let F=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&&F>-1&&F<K?!1:O.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:
83
- ${JSON.stringify(e,null,4)}`);if(t)if(hi(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:
84
- ${JSON.stringify(t,null,4)}`);function q(){y&&(m={tagName:"",hrefValue:"",openingTagEnds:void 0},y=!1)}l(q,"_$1");let x={...ca,...t,dumpLinkHrefsNearby:Object.assign({},ca.dumpLinkHrefsNearby,t?.dumpLinkHrefsNearby)};if(up(x,"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(x.reportProgressFunc){if(typeof x.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 x.reportProgressFuncFrom}, equal to ${JSON.stringify(x.reportProgressFuncFrom,null,4)}`);if(typeof x.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 x.reportProgressFuncTo}, equal to ${JSON.stringify(x.reportProgressFuncTo,null,4)}`)}x.ignoreTags=aa(x.ignoreTags,"resolvedOpts.ignoreTags"),x.onlyStripTags=aa(x.onlyStripTags,"resolvedOpts.onlyStripTags");let R=!!x.onlyStripTags.length;x.onlyStripTags.length&&x.ignoreTags.length&&(x.onlyStripTags=gd(x.onlyStripTags,...x.ignoreTags)),x.stripTogetherWithTheirContents?typeof x.stripTogetherWithTheirContents=="string"&&x.stripTogetherWithTheirContents.length&&(x.stripTogetherWithTheirContents=[x.stripTogetherWithTheirContents]):x.stripTogetherWithTheirContents=[];let D={};if(x.stripTogetherWithTheirContents&&Array.isArray(x.stripTogetherWithTheirContents)&&x.stripTogetherWithTheirContents.length&&!x.stripTogetherWithTheirContents.every((k,O)=>typeof k!="string"?(D.el=k,D.i=O,!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 ${D.i} has a value ${D.el} which is not string but ${(typeof D.el).toLowerCase()}.`);x.cb||(x.cb=({rangesArr:k,proposedReturn:O})=>{O&&k.push(...O)});let M=new Rd({limitToBeAddedWhitespace:!0,limitLinebreaksCount:2});if(!x.skipHtmlDecoding)for(;e!==ra(e,{scope:"strict"});)e=ra(e,{scope:"strict"});let Q=!1,U=!1,oe=0,ue=0,se=e.length,Be=Math.floor(se/2);for(let k=0;k<se;k++){if(x.reportProgressFunc&&(se>1e3&&se<2e3?k===Be&&x.reportProgressFunc(Math.floor((x.reportProgressFuncTo-x.reportProgressFuncFrom)/2)):se>=2e3&&(oe=x.reportProgressFuncFrom+Math.floor(k/se*(x.reportProgressFuncTo-x.reportProgressFuncFrom)),oe!==ue&&(ue=oe,x.reportProgressFunc(oe)))),Object.keys(a).length>1&&a.lastClosingBracketAt&&a.lastClosingBracketAt<k&&e[k]!==" "&&w===null&&(w=k),!Q&&e[k]==="%"&&e[k-1]==="{"&&e.includes("%}",k+1)){f=null;let O=e.indexOf("%}",k)-1;if(O>k){k=O;continue}}if(!Q&&E(k)&&(!a||Object.keys(a).length<2)&&k>1){for(let O=k;O--;)if(e[O-1]===void 0||E(O)){let v=e[O-1]===void 0?O:O+1,F=e.slice(v,k+1)||"";if((F.includes("/>")||F.includes("/ >")||F.includes('="')||F.includes("='"))&&e!==`<${Qo(F.trim(),"/>")}>`&&[...Sn].some(K=>Qo(F.trim().split(/\s+/).filter(j=>j.trim()).filter((j,ne)=>ne===0),"/>").toLowerCase()===K)&&fa(`<${F.trim()}>`,x).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=T(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}}x.cb({tag:a,deleteFrom:v,deleteTo:j,insert:K,rangesArr:M,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 O;x.dumpLinkHrefsNearby?.enabled&&!r.length&&a.attributes.some(v=>{if(typeof v.name=="string"&&v.name.toLowerCase()==="href")return O=`${x.dumpLinkHrefsNearby?.wrapHeads||""}${v.value}${x.dumpLinkHrefsNearby?.wrapTails||""}`,!0})&&(m={tagName:a.name,hrefValue:O,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()||!qd(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),A(k)){N(x);let O=T(e,k,a.leftOuterWhitespace,k,a.lastOpeningBracketAt,k);(x.stripTogetherWithTheirContents.includes(a.name)||x.stripTogetherWithTheirContents.includes("*"))&&(o=o.filter(([v,F])=>!(v===a.leftOuterWhitespace&&F===k))),x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k,insert:`${O}${g}${O}`,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,k,`${O}${g}${O}`]}),q(),S(k,x,M)}}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={}):A(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()||A(k))&&!a.slashPresent?a.onlyPlausible=!0:a.onlyPlausible=!1),e[k].trim()&&a.nameStarts===void 0&&!A(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)&&(la(a,e,k)||a.quotes.value&&typeof a.lastOpeningBracketAt=="number"&&Fd(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,w=null,Object.keys(d).length&&(a.attributes.push(d),d={}),x.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&&!A(k)&&(e[k+1]===void 0||A(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]),x.ignoreTags.includes(a.name)||$(k,x,a)||!Sn.has(a.name)&&(a.onlyPlausible||x.stripRecognisedHTMLOnly)){a={},d={};continue}if((Sn.has(a.name)||Ni.has(a.name))&&(a.onlyPlausible===!1||a.onlyPlausible===!0&&a.attributes.length)||e[k+1]===void 0){N(x);let O=T(e,k,a.leftOuterWhitespace,k+1,a.lastOpeningBracketAt,a.lastClosingBracketAt);Q&&a.name==="script"&&a.slashPresent&&(Q=!1);let v;O===null||g===null?v=null:v=`${O}${g}${O}`,x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k+1,insert:v,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,k+1,v]}),q(),S(k,x,M)}if(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt&&o[o.length-1][1]!==k+1)if(x.stripTogetherWithTheirContents.includes(a.name)||x.stripTogetherWithTheirContents.includes("*")){let O;for(let v=r.length;v--;)r[v].name===a.name&&(O=r[v]);O?(o=o.filter(([v])=>v!==O.lastOpeningBracketAt),o.push([O.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||x.ignoreIndentations&&`\r
85
- `.includes(e[k])){let O=a.lastClosingBracketAt===k?k+1:k;x.trimOnlySpaces&&O===se-1&&w!==null&&w<k&&(O=w),(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([a.lastOpeningBracketAt,a.lastClosingBracketAt+1]);let v=x.ignoreTags.includes(a.name),F=$(k,x,a);if(!b||x.stripRecognisedHTMLOnly&&typeof a.name=="string"&&!Sn.has(a.name.toLowerCase())&&!Ni.has(a.name.toLowerCase())||!R&&(v||F)||R&&!x.onlyStripTags.includes(a.name)||x.ignoreTagsWithTheirContents.includes(a.name)){if(F)if(a.slashPresent){for(let K=i.length;K--;)if(i[K].name===a.name){i.splice(K,1);break}i.length||(b=!0)}else b&&(b=!1),i.push(a);x.cb({tag:a,deleteFrom:null,deleteTo:null,insert:null,rangesArr:M,proposedReturn:null}),a={},d={}}else if(!a.onlyPlausible||a.attributes.length===0&&a.name&&(Sn.has(a.name.toLowerCase())||Ni.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=T(e,k,a.leftOuterWhitespace,O,a.lastOpeningBracketAt,a.lastClosingBracketAt);g="",y=!1,N(x,O);let j;typeof g=="string"&&g.length?(j=`${K}${g}${K===`
102
+ ${JSON.stringify(e,null,4)}`);if(t)if(mi(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 q(){y&&(m={tagName:"",hrefValue:"",openingTagEnds:void 0},y=!1)}l(q,"_$1");let x={...ma,...t,dumpLinkHrefsNearby:Object.assign({},ma.dumpLinkHrefsNearby,t?.dumpLinkHrefsNearby)};if(hp(x,"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(x.reportProgressFunc){if(typeof x.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 x.reportProgressFuncFrom}, equal to ${JSON.stringify(x.reportProgressFuncFrom,null,4)}`);if(typeof x.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 x.reportProgressFuncTo}, equal to ${JSON.stringify(x.reportProgressFuncTo,null,4)}`)}x.ignoreTags=pa(x.ignoreTags,"resolvedOpts.ignoreTags"),x.onlyStripTags=pa(x.onlyStripTags,"resolvedOpts.onlyStripTags");let R=!!x.onlyStripTags.length;x.onlyStripTags.length&&x.ignoreTags.length&&(x.onlyStripTags=kd(x.onlyStripTags,...x.ignoreTags)),x.stripTogetherWithTheirContents?typeof x.stripTogetherWithTheirContents=="string"&&x.stripTogetherWithTheirContents.length&&(x.stripTogetherWithTheirContents=[x.stripTogetherWithTheirContents]):x.stripTogetherWithTheirContents=[];let D={};if(x.stripTogetherWithTheirContents&&Array.isArray(x.stripTogetherWithTheirContents)&&x.stripTogetherWithTheirContents.length&&!x.stripTogetherWithTheirContents.every((k,O)=>typeof k!="string"?(D.el=k,D.i=O,!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 ${D.i} has a value ${D.el} which is not string but ${(typeof D.el).toLowerCase()}.`);x.cb||(x.cb=({rangesArr:k,proposedReturn:O})=>{O&&k.push(...O)});let M=new Md({limitToBeAddedWhitespace:!0,limitLinebreaksCount:2});if(!x.skipHtmlDecoding)for(;e!==la(e,{scope:"strict"});)e=la(e,{scope:"strict"});let Q=!1,U=!1,oe=0,ue=0,se=e.length,Be=Math.floor(se/2);for(let k=0;k<se;k++){if(x.reportProgressFunc&&(se>1e3&&se<2e3?k===Be&&x.reportProgressFunc(Math.floor((x.reportProgressFuncTo-x.reportProgressFuncFrom)/2)):se>=2e3&&(oe=x.reportProgressFuncFrom+Math.floor(k/se*(x.reportProgressFuncTo-x.reportProgressFuncFrom)),oe!==ue&&(ue=oe,x.reportProgressFunc(oe)))),Object.keys(a).length>1&&a.lastClosingBracketAt&&a.lastClosingBracketAt<k&&e[k]!==" "&&w===null&&(w=k),!Q&&e[k]==="%"&&e[k-1]==="{"&&e.includes("%}",k+1)){f=null;let O=e.indexOf("%}",k)-1;if(O>k){k=O;continue}}if(!Q&&E(k)&&(!a||Object.keys(a).length<2)&&k>1){for(let O=k;O--;)if(e[O-1]===void 0||E(O)){let v=e[O-1]===void 0?O:O+1,F=e.slice(v,k+1)||"";if((F.includes("/>")||F.includes("/ >")||F.includes('="')||F.includes("='"))&&e!==`<${na(F.trim(),"/>")}>`&&[...Sn].some(K=>na(F.trim().split(/\s+/).filter(j=>j.trim()).filter((j,ne)=>ne===0),"/>").toLowerCase()===K)&&ga(`<${F.trim()}>`,x).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=T(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}}x.cb({tag:a,deleteFrom:v,deleteTo:j,insert:K,rangesArr:M,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 O;x.dumpLinkHrefsNearby?.enabled&&!r.length&&a.attributes.some(v=>{if(typeof v.name=="string"&&v.name.toLowerCase()==="href")return O=`${x.dumpLinkHrefsNearby?.wrapHeads||""}${v.value}${x.dumpLinkHrefsNearby?.wrapTails||""}`,!0})&&(m={tagName:a.name,hrefValue:O,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()||!Bd(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),A(k)){N(x);let O=T(e,k,a.leftOuterWhitespace,k,a.lastOpeningBracketAt,k);(x.stripTogetherWithTheirContents.includes(a.name)||x.stripTogetherWithTheirContents.includes("*"))&&(o=o.filter(([v,F])=>!(v===a.leftOuterWhitespace&&F===k))),x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k,insert:`${O}${g}${O}`,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,k,`${O}${g}${O}`]}),q(),S(k,x,M)}}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={}):A(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()||A(k))&&!a.slashPresent?a.onlyPlausible=!0:a.onlyPlausible=!1),e[k].trim()&&a.nameStarts===void 0&&!A(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)&&(ha(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,w=null,Object.keys(d).length&&(a.attributes.push(d),d={}),x.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&&!A(k)&&(e[k+1]===void 0||A(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]),x.ignoreTags.includes(a.name)||$(k,x,a)||!Sn.has(a.name)&&(a.onlyPlausible||x.stripRecognisedHTMLOnly)){a={},d={};continue}if((Sn.has(a.name)||_i.has(a.name))&&(a.onlyPlausible===!1||a.onlyPlausible===!0&&a.attributes.length)||e[k+1]===void 0){N(x);let O=T(e,k,a.leftOuterWhitespace,k+1,a.lastOpeningBracketAt,a.lastClosingBracketAt);Q&&a.name==="script"&&a.slashPresent&&(Q=!1);let v;O===null||g===null?v=null:v=`${O}${g}${O}`,x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k+1,insert:v,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,k+1,v]}),q(),S(k,x,M)}if(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt&&o[o.length-1][1]!==k+1)if(x.stripTogetherWithTheirContents.includes(a.name)||x.stripTogetherWithTheirContents.includes("*")){let O;for(let v=r.length;v--;)r[v].name===a.name&&(O=r[v]);O?(o=o.filter(([v])=>v!==O.lastOpeningBracketAt),o.push([O.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||x.ignoreIndentations&&`\r
104
+ `.includes(e[k])){let O=a.lastClosingBracketAt===k?k+1:k;x.trimOnlySpaces&&O===se-1&&w!==null&&w<k&&(O=w),(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([a.lastOpeningBracketAt,a.lastClosingBracketAt+1]);let v=x.ignoreTags.includes(a.name),F=$(k,x,a);if(!b||x.stripRecognisedHTMLOnly&&typeof a.name=="string"&&!Sn.has(a.name.toLowerCase())&&!_i.has(a.name.toLowerCase())||!R&&(v||F)||R&&!x.onlyStripTags.includes(a.name)||x.ignoreTagsWithTheirContents.includes(a.name)){if(F)if(a.slashPresent){for(let K=i.length;K--;)if(i[K].name===a.name){i.splice(K,1);break}i.length||(b=!0)}else b&&(b=!1),i.push(a);x.cb({tag:a,deleteFrom:null,deleteTo:null,insert:null,rangesArr:M,proposedReturn:null}),a={},d={}}else if(!a.onlyPlausible||a.attributes.length===0&&a.name&&(Sn.has(a.name.toLowerCase())||_i.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=T(e,k,a.leftOuterWhitespace,O,a.lastOpeningBracketAt,a.lastClosingBracketAt);g="",y=!1,N(x,O);let j;typeof g=="string"&&g.length?(j=`${K}${g}${K===`
86
105
 
87
106
  `?`
88
- `:K}`,O===a.lastClosingBracketAt+1&&(!e[O]||!Ei.has(e[O]))&&(j+=" "),a.leftOuterWhitespace===a.lastOpeningBracketAt&&M.last()&&M.last()[1]<a.lastOpeningBracketAt&&(!x?.dumpLinkHrefsNearby?.putOnNewLine||!Ei.has(e[O]))&&(j=" "+j)):j=K,j!==null&&(a.leftOuterWhitespace===0||!Ye(e,O-1))&&(!x.dumpLinkHrefsNearby?.enabled||a.name!=="a")&&(j=void 0);let ne=0;if(y&&Ei.has(e[O])){x.dumpLinkHrefsNearby?.putOnNewLine&&(j=`${e[O]}${j||""}`);let ve=Ye(e,O);ve&&j?.endsWith(`
89
- `)?ne+=ve-k:(!ve||ve>k)&&ne++}x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:O+ne,insert:j,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,O+ne,j]}),q(),S(k,x,M)}else a={};E(k)||(a={})}U&&(U=!1)}if((!Q||e[k]==="<"&&Ye(e,Ye(e,k))&&e[Ye(e,k)]==="/"&&e.startsWith("script",Ye(e,Ye(e,k))))&&A(k)&&!A(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]===":")&&la(a,e,k)){if(E(Ye(e,k)))continue;if(a.nameEnds&&a.nameEnds<k&&!a.lastClosingBracketAt&&(a.onlyPlausible===!0&&a.attributes?.length||a.onlyPlausible===!1)){let O=T(e,k,a.leftOuterWhitespace,k,a.lastOpeningBracketAt,k);x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k,insert:O,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,k,O]}),S(k,x,M),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:x.trimOnlySpaces&&c===0?a.leftOuterWhitespace=p||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 O=!0;e[k+2]==="-"&&(O=!1);let v;for(let F=k;F<se;F++)if((!v&&O&&`${e[F-2]}${e[F-1]}${e[F]}`=="]]>"||!O&&`${e[F-2]}${e[F-1]}${e[F]}`=="-->")&&(v=F),v&&(v<F&&e[F].trim()||e[F+1]===void 0)){let K=F;(e[F+1]===void 0&&!e[F].trim()||e[F]===">")&&(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=T(e,F,a.leftOuterWhitespace,K,a.lastOpeningBracketAt,v);x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:K,insert:j,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,K,j]}),k=F-1,e[F]===">"&&(k=F),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(O=>O.name===a.name)&&(a.onlyPlausible=!0,a.name=void 0,a.nameStarts=void 0)),(e[k]===`
90
- `||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]!=="'"&&(hi(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:Ld(e,M.current()),ranges:M.current(),allTagLocations:s,filteredTagLocations:o}}l(fa,"fe");function _i(e){return e.charAt(0).toUpperCase()+e.slice(1)}l(_i,"capitalize");function pa(e,t){return e.length<=t?e:e.slice(0,Math.max(0,t-3))+"..."}l(pa,"truncateWithEllipsis");function ha(e){return fa(e).result}l(ha,"stripHtmlTags");function $d(e){const t=new URL(e);return{host:`${t.protocol}//${t.hostname}`,port:Number.parseInt(t.port,10)}}l($d,"urlToHostAndPort");function Bd(e,t){return`${e}:${t}`}l(Bd,"hostAndPortToUrl");function jd(e){return e.toLowerCase().replaceAll(/[^\da-z]/gi," ").trim().replaceAll(/ +/g,"-")}l(jd,"cleanClassName");const Oi=[{cardTemplates:[{Back:`{{FrontSide}}
91
-
92
- <hr id=answer>
93
-
94
- {{Back}}`,Front:"{{Front}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic"},{cardTemplates:[{Back:`{{FrontSide}}
95
-
96
- <hr id=answer>
97
-
98
- {{Back}}`,Front:"{{Front}}",YankiNamespace:"{{YankiNamespace}}"},{Back:`{{FrontSide}}
99
-
100
- <hr id=answer>
101
-
102
- {{Front}}`,Front:"{{Back}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic (and reversed card)"},{cardTemplates:[{Back:`{{cloze:Front}}<br>
103
- {{Back}}`,Front:"{{cloze:Front}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],isCloze:!0,modelName:"Yanki - Cloze"},{cardTemplates:[{Back:`{{Front}}
104
-
105
- <hr id=answer>
106
-
107
- {{type:Back}}`,Front:`{{Front}}
108
-
109
- {{type:Back}}`,YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic (type in the answer)"}],da=Oi.map(e=>e.modelName);async function ma(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(ma,"deleteNotes");async function zd(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(zd,"deleteNote");async function or(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=Oi.find(o=>o.modelName===t.modelName);if(s===void 0)throw new Error(`Model not found: ${t.modelName}`);return await e.model.createModel(s),or(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}),or(e,t,n)}throw i}else throw new TypeError("Unknown error")});if(r===null)throw new Error("Note creation failed");return r}l(or,"addNote");async function Ud(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((!Vd(t.tags??[],n.tags??[])||!Hd(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(Ud,"updateNote");function Hd(e,t){const n=["Front","Back"];for(const r of n)if(e[r]!==t[r])return!1;return!0}l(Hd,"areFieldsEqual");function Vd(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(Vd,"areTagsEqual");async function Li(e,t=bn){const n=await e.note.findNotes({query:`"YankiNamespace:${t}"`});return await ga(e,n)}l(Li,"getRemoteNotes");async function ga(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 p=o.get(c);if(p===void 0)throw new Error(`No deck found for card ${c}`);u.add(p)}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(!da.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(ga,"getRemoteNotesById");async function ya(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 h=f.split("::");if(h.length!==1)for(;h.length>1;){h.pop();const d=h.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}),p=Object.values(c).reduce((f,h,d)=>{const m=u[d];if(r){const g=n.filter(w=>w.deckName===m).length,y=t.filter(w=>w.deckName===m).length;h.total_in_deck===g&&y===0&&!f.includes(m)&&f.push(m)}else h.total_in_deck===0&&!f.includes(m)&&f.push(m);return f},[]);return r||await e.deck.deleteDecks({cardsToo:!0,decks:p}),p}l(ya,"deleteOrphanedDecks");async function ba(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=Oi.find(a=>a.modelName===t);if(o===void 0)throw new Error(`Model not found: ${t}`);return r?!1:(await e.model.createModel(o),ba(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(ba,"updateModelStyle");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=Xn(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 Li(o,s);await ma(o,a,i);const u=await ya(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=pa(ha(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(Ob,"formatCleanReport");const Oa={ankiConnectOptions:Ue,namespace:bn};async function Lb(e){const t=performance.now(),{ankiConnectOptions:n,namespace:r}=xn(Oa,e??{}),i=new ur(n),s=await Li(i,r);return{duration:performance.now()-t,namespace:r,notes:s}}l(Lb,"listNotes");function Ib(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=pa(ha(r),50);t.push(`Note ID ${n.noteId} ${i}`)}return t.join(`
113
- `)}l(Ib,"formatListReport");const La={ankiConnectOptions:Ue,ankiWeb:!1,css:ip,dryRun:!1};async function Db(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,css:i,dryRun:s}=xn(La,e??{}),o=new ur(n),a=[];for(const c of da){const p=await ba(o,c,i,s);a.push({action:p?"updated":"unchanged",name:c})}const u=a.some(c=>c.action!=="unchanged");return!s&&r&&(u||pi)&&await o.miscellaneous.sync(),{ankiWeb:r,dryRun:s,duration:performance.now()-t,models:a}}l(Db,"setStyle");function Rb(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} ${An("model",i.length)} and left ${r.length} ${An("model",r.length)} unchanged${e.dryRun?"":` in ${Di(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(`
107
+ `:K}`,O===a.lastClosingBracketAt+1&&(!e[O]||!Oi.has(e[O]))&&(j+=" "),a.leftOuterWhitespace===a.lastOpeningBracketAt&&M.last()&&M.last()[1]<a.lastOpeningBracketAt&&(!x?.dumpLinkHrefsNearby?.putOnNewLine||!Oi.has(e[O]))&&(j=" "+j)):j=K,j!==null&&(a.leftOuterWhitespace===0||!Ye(e,O-1))&&(!x.dumpLinkHrefsNearby?.enabled||a.name!=="a")&&(j=void 0);let ne=0;if(y&&Oi.has(e[O])){x.dumpLinkHrefsNearby?.putOnNewLine&&(j=`${e[O]}${j||""}`);let ve=Ye(e,O);ve&&j?.endsWith(`
108
+ `)?ne+=ve-k:(!ve||ve>k)&&ne++}x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:O+ne,insert:j,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,O+ne,j]}),q(),S(k,x,M)}else a={};E(k)||(a={})}U&&(U=!1)}if((!Q||e[k]==="<"&&Ye(e,Ye(e,k))&&e[Ye(e,k)]==="/"&&e.startsWith("script",Ye(e,Ye(e,k))))&&A(k)&&!A(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]===":")&&ha(a,e,k)){if(E(Ye(e,k)))continue;if(a.nameEnds&&a.nameEnds<k&&!a.lastClosingBracketAt&&(a.onlyPlausible===!0&&a.attributes?.length||a.onlyPlausible===!1)){let O=T(e,k,a.leftOuterWhitespace,k,a.lastOpeningBracketAt,k);x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k,insert:O,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,k,O]}),S(k,x,M),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:x.trimOnlySpaces&&c===0?a.leftOuterWhitespace=p||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 O=!0;e[k+2]==="-"&&(O=!1);let v;for(let F=k;F<se;F++)if((!v&&O&&`${e[F-2]}${e[F-1]}${e[F]}`=="]]>"||!O&&`${e[F-2]}${e[F-1]}${e[F]}`=="-->")&&(v=F),v&&(v<F&&e[F].trim()||e[F+1]===void 0)){let K=F;(e[F+1]===void 0&&!e[F].trim()||e[F]===">")&&(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=T(e,F,a.leftOuterWhitespace,K,a.lastOpeningBracketAt,v);x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:K,insert:j,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,K,j]}),k=F-1,e[F]===">"&&(k=F),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(O=>O.name===a.name)&&(a.onlyPlausible=!0,a.name=void 0,a.nameStarts=void 0)),(e[k]===`
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=ya(ba(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(Ob,"formatCleanReport");const Oa={ankiConnectOptions:Ue,namespace:bn};async function Lb(e){const t=performance.now(),{ankiConnectOptions:n,namespace:r}=xn(Oa,e??{}),i=new ur(n),s=await di(i,r);return{duration:performance.now()-t,namespace:r,notes:s}}l(Lb,"listNotes");function Ib(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=ya(ba(r),50);t.push(`Note ID ${n.noteId} ${i}`)}return t.join(`
113
+ `)}l(Ib,"formatListReport");const La={ankiConnectOptions:Ue,ankiWeb:!1,css:ip,dryRun:!1};async function Db(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,css:i,dryRun:s}=xn(La,e??{}),o=new ur(n),a=[];for(const c of Oo){const p=await Ro(o,c,i,s);a.push({action:p?"updated":"unchanged",name:c})}const u=a.some(c=>c.action!=="unchanged");return!s&&r&&(u||pi)&&await o.miscellaneous.sync(),{ankiWeb:r,dryRun:s,duration:performance.now()-t,models:a}}l(Db,"setStyle");function Rb(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} ${An("model",i.length)} and left ${r.length} ${An("model",r.length)} unchanged${e.dryRun?"":` in ${Di(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
114
  `)}l(Rb,"formatStyleReport");const qi=Symbol.for("yaml.alias"),Fi=Symbol.for("yaml.document"),ht=Symbol.for("yaml.map"),Ia=Symbol.for("yaml.pair"),st=Symbol.for("yaml.scalar"),Ht=Symbol.for("yaml.seq"),Le=Symbol.for("yaml.node.type"),Vt=l(e=>!!e&&typeof e=="object"&&e[Le]===qi,"isAlias"),cr=l(e=>!!e&&typeof e=="object"&&e[Le]===Fi,"isDocument"),Cn=l(e=>!!e&&typeof e=="object"&&e[Le]===ht,"isMap"),ae=l(e=>!!e&&typeof e=="object"&&e[Le]===Ia,"isPair"),re=l(e=>!!e&&typeof e=="object"&&e[Le]===st,"isScalar"),Tn=l(e=>!!e&&typeof e=="object"&&e[Le]===Ht,"isSeq");function le(e){if(e&&typeof e=="object")switch(e[Le]){case ht:case Ht:return!0}return!1}l(le,"isCollection");function ce(e){if(e&&typeof e=="object")switch(e[Le]){case qi:case ht:case st:case Ht:return!0}return!1}l(ce,"isNode");const Pb=l(e=>(re(e)||le(e))&&!!e.anchor,"hasAnchor"),kt=Symbol("break visit"),qb=Symbol("skip children"),Nn=Symbol("remove node");function vt(e,t){const n=Fb(t);cr(e)?Gt(null,e.contents,n,Object.freeze([e]))===Nn&&(e.contents=null):Gt(null,e,n,Object.freeze([]))}l(vt,"visit$1"),vt.BREAK=kt,vt.SKIP=qb,vt.REMOVE=Nn;function Gt(e,t,n,r){const i=Mb(e,t,n,r);if(ce(i)||ae(i))return $b(e,r,i),Gt(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=Gt(s,t.items[s],n,r);if(typeof o=="number")s=o-1;else{if(o===kt)return kt;o===Nn&&(t.items.splice(s,1),s-=1)}}}else if(ae(t)){r=Object.freeze(r.concat(t));const s=Gt("key",t.key,n,r);if(s===kt)return kt;s===Nn&&(t.key=null);const o=Gt("value",t.value,n,r);if(o===kt)return kt;o===Nn&&(t.value=null)}}return i}l(Gt,"visit_");function Fb(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(Fb,"initVisitor");function Mb(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(Cn(t))return n.Map?.(e,t,r);if(Tn(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(Vt(t))return n.Alias?.(e,t,r)}l(Mb,"callVisitor");function $b(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(cr(r))r.contents=n;else{const i=Vt(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}l($b,"replaceNode");const Bb={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},jb=l(e=>e.replace(/[!,[\]{}]/g,t=>Bb[t]),"escapeTagName");class Ce{static{l(this,"Directives")}constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Ce.defaultYaml,t),this.tags=Object.assign({},Ce.defaultTags,n)}clone(){const t=new Ce(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Ce(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Ce.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Ce.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Ce.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Ce.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
115
  `)}}Ce.defaultYaml={explicit:!1,version:"1.2"},Ce.defaultTags={"!!":"tag:yaml.org,2002:"};function Da(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(Da,"anchorIsValid");function Ra(e){const t=new Set;return vt(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}l(Ra,"anchorNames");function Pa(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}l(Pa,"findNewAnchor");function zb(e,t){const n=[],r=new Map;let i=null;return{onAnchor:s=>{n.push(s),i||(i=Ra(e));const o=Pa(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(zb,"createNodeAnchors");function Wt(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=Wt(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=Wt(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=Wt(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=Wt(e,r,i,s);o===void 0?delete r[i]:o!==s&&(r[i]=o)}return e.call(t,n,r)}l(Wt,"applyReviver");function Ie(e,t,n){if(Array.isArray(e))return e.map((r,i)=>Ie(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!Pb(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(Ie,"toJS");class Mi{static{l(this,"NodeBase")}constructor(t){Object.defineProperty(this,Le,{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(!cr(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=Ie(this,"",o);if(typeof i=="function")for(const{count:u,res:c}of o.anchors.values())i(c,u);return typeof s=="function"?Wt(s,{"":a},"",a):a}}class $i extends Mi{static{l(this,"Alias")}constructor(t){super(qi),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||(Ie(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=fr(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(Da(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 fr(e,t,n){if(Vt(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=fr(e,i,n);s>r&&(r=s)}return r}else if(ae(t)){const r=fr(e,t.key,n),i=fr(e,t.value,n);return Math.max(r,i)}return 1}l(fr,"getAliasCount");const qa=l(e=>!e||typeof e!="function"&&typeof e!="object","isScalarValue");class V extends Mi{static{l(this,"Scalar")}constructor(t){super(st),this.value=t}toJSON(t,n){return n?.keep?this.value:Ie(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 Ub="tag:yaml.org,2002:";function Hb(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(Hb,"findTagObject");function En(e,t,n){if(cr(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 $i(u.anchor);u={anchor:null,node:null},a.set(e,u)}t?.startsWith("!!")&&(t=Ub+t.slice(2));let c=Hb(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[Ht]:o[ht]}s&&(s(c),delete n.onTagObj);const p=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?p.tag=t:c.default||(p.tag=c.tag),u&&(u.node=p),p}l(En,"createNode");function pr(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 En(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(pr,"collectionFromPath");const _n=l(e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,"isEmptyPath");class Bi extends Mi{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(_n(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,pr(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,pr(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}Bi.maxFlowStringSingleLineLength=60;const Vb=l(e=>e.replace(/^(?!$)(?: $)?/gm,"#"),"stringifyComment");function ot(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}l(ot,"indentComment");const St=l((e,t,n)=>e.endsWith(`
116
116
  `)?ot(n,t):n.includes(`
@@ -246,7 +246,7 @@ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.pus
246
246
  `);const s=i.slice(n+1,r).join(`
247
247
  `),o=await Al(s)??{};t===void 0?delete o.noteId:o.noteId=t;const a=Cl(o).trim();return[...i.slice(0,n+1),a,...i.slice(r)].join(`
248
248
  `)}l(Gw,"setNoteIdInFrontmatter");function Ww(e){const t=e.split(`
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 ME(e){return e}l(ME,"toOptionalTokenType");function $E(e){return e}l($E,"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 BE(e){return e}l(BE,"ruleIdFromNumber");function jE(e){return e}l(jE,"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(`
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
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
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
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:[[`
@@ -257,7 +257,7 @@ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.pus
257
257
  \f\r &>`.split(""),`\0
258
258
  \f\r "&'<=>\``.split("")],[`\0
259
259
  \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 GE(e){return e}l(GE,"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:[[`
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
261
  \f\r &/=>`.split(""),`
262
262
  \f\r "&'/=>\``.split("")],[`\0
263
263
  \f\r "&'/<=>`.split(""),`\0
@@ -269,13 +269,13 @@ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.pus
269
269
  `}]}l(dS,"hardBreak$1");function mS(e,t){const n=t.value?t.value+`
270
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(mS,"code$2");function gS(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(gS,"strikethrough");function yS(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(yS,"emphasis$1");const Se=gt(/[A-Za-z]/),ke=gt(/[\dA-Za-z]/),bS=gt(/[#-'*+\--9=?A-Z^-~]/);function Wr(e){return e!==null&&(e<32||e===127)}l(Wr,"asciiControl");const qs=gt(/\d/),wS=gt(/[\dA-Fa-f]/),kS=gt(/[!-/:-@[-`{-~]/);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 Kr=gt(new RegExp("\\p{P}|\\p{S}","u")),_t=gt(/\s/);function gt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}l(gt,"regexCheck");function un(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";if(s===37&&ke(e.charCodeAt(n+1))&&ke(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(un,"normalizeUri");function vS(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=un(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(vS,"footnoteReference$1");function SS(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(SS,"heading$1");function xS(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}l(xS,"html$1");function Zu(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(Zu,"revert");function AS(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zu(e,t);const i={src:un(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(AS,"imageReference$1");function CS(e,t){const n={src:un(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(CS,"image$1");function TS(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(TS,"inlineCode$1");function NS(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zu(e,t);const i={href:un(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(NS,"linkReference$1");function ES(e,t){const n={href:un(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(ES,"link$1");function _S(e,t,n){const r=e.all(t),i=n?OS(n):ec(t),s={},o=[];if(typeof t.checked=="boolean"){const p=r[0];let f;p&&p.type==="element"&&p.tagName==="p"?f=p:(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 p=r[a];(i||a!==0||p.type!=="element"||p.tagName!=="p")&&o.push({type:"text",value:`
271
271
  `}),p.type==="element"&&p.tagName==="p"&&!i?o.push(...p.children):o.push(p)}const u=r[r.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:`
272
- `});const c={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,c),e.applyData(t,c)}l(_S,"listItem$1");function OS(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=ec(n[r])}return t}l(OS,"listLoose");function ec(e){const t=e.spread;return t??e.children.length>1}l(ec,"listItemLoose");function LS(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(LS,"list$2");function IS(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(IS,"paragraph$1");function DS(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}l(DS,"root$1");function RS(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(RS,"strong$1");const tc=rc("end"),nc=rc("start");function rc(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(rc,"point$2");function PS(e){const t=nc(e),n=tc(e);if(t&&n)return{start:t,end:n}}l(PS,"position$1");function qS(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=nc(t.children[1]),u=tc(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(qS,"table");function FS(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],h={},d=o?o[u]:void 0;d&&(h.align=d);let m={type:"element",tagName:s,properties:h,children:[]};f&&(m.children=e.all(f),e.patch(f,m),m=e.applyData(f,m)),c.push(m)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,p),e.applyData(t,p)}l(FS,"tableRow");function MS(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(MS,"tableCell");const ic=9,sc=32;function $S(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const s=[];for(;r;)s.push(oc(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(oc(t.slice(i),i>0,!1)),s.join("")}l($S,"trimLines");function oc(e,t,n){let r=0,i=e.length;if(t){let s=e.codePointAt(r);for(;s===ic||s===sc;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(i-1);for(;s===ic||s===sc;)i--,s=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}l(oc,"trimLine");function BS(e,t){const n={type:"text",value:$S(String(t.value))};return e.patch(t,n),e.applyData(t,n)}l(BS,"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 zS={blockquote:hS,break:dS,code:mS,delete:gS,emphasis:yS,footnoteReference:vS,heading:SS,html:xS,imageReference:AS,image:CS,inlineCode:TS,linkReference:NS,link:ES,listItem:_S,list:LS,paragraph:IS,root:DS,strong:RS,table:qS,tableCell:MS,tableRow:FS,text:BS,thematicBreak:jS,toml:Yr,yaml:Yr,definition:Yr,footnoteDefinition:Yr};function Yr(){}l(Yr,"ignore");function WE(){}l(WE,"ok");const ac=-1,Jr=0,Qr=1,Xr=2,Fs=3,Ms=4,$s=5,Bs=6,lc=7,uc=8,cc=typeof self=="object"?self:globalThis,US=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 Jr:case ac:return n(o,i);case Qr:{const a=n([],i);for(const u of o)a.push(r(u));return a}case Xr:{const a=n({},i);for(const[u,c]of o)a[r(u)]=r(c);return a}case Fs:return n(new Date(o),i);case Ms:{const{source:a,flags:u}=o;return n(new RegExp(a,u),i)}case $s:{const a=n(new Map,i);for(const[u,c]of o)a.set(r(u),r(c));return a}case Bs:{const a=n(new Set,i);for(const u of o)a.add(r(u));return a}case lc:{const{name:a,message:u}=o;return n(new cc[a](u),i)}case uc:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i)}return n(new cc[s](o),i)},"unpair");return r},"deserializer"),fc=l(e=>US(new Map,e)(0),"deserialize"),cn="",{toString:HS}={},{keys:VS}=Object,zn=l(e=>{const t=typeof e;if(t!=="object"||!e)return[Jr,t];const n=HS.call(e).slice(8,-1);switch(n){case"Array":return[Qr,cn];case"Object":return[Xr,cn];case"Date":return[Fs,cn];case"RegExp":return[Ms,cn];case"Map":return[$s,cn];case"Set":return[Bs,cn]}return n.includes("Array")?[Qr,n]:n.includes("Error")?[lc,n]:[Xr,n]},"typeOf"),Zr=l(([e,t])=>e===Jr&&(t==="function"||t==="symbol"),"shouldSkip"),GS=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]=zn(o);switch(a){case Jr:{let p=o;switch(u){case"bigint":a=uc,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);p=null;break;case"undefined":return i([ac],o)}return i([a,p],o)}case Qr:{if(u)return i([u,[...o]],o);const p=[],f=i([a,p],o);for(const h of o)p.push(s(h));return f}case Xr:{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 p=[],f=i([a,p],o);for(const h of VS(o))(e||!Zr(zn(o[h])))&&p.push([s(h),s(o[h])]);return f}case Fs:return i([a,o.toISOString()],o);case Ms:{const{source:p,flags:f}=o;return i([a,{source:p,flags:f}],o)}case $s:{const p=[],f=i([a,p],o);for(const[h,d]of o)(e||!(Zr(zn(h))||Zr(zn(d))))&&p.push([s(h),s(d)]);return f}case Bs:{const p=[],f=i([a,p],o);for(const h of o)(e||!Zr(zn(h)))&&p.push(s(h));return f}}const{message:c}=o;return i([a,{name:u,message:c}],o)},"pair");return s},"serializer"),pc=l((e,{json:t,lossy:n}={})=>{const r=[];return GS(!(t||n),!!t,new Map,r)(e),r},"serialize$1");var ei=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?fc(pc(e,t)):structuredClone(e):(e,t)=>fc(pc(e,t));function WS(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(WS,"defaultFootnoteBackContent");function KS(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}l(KS,"defaultFootnoteBackLabel");function YS(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||WS,r=e.options.footnoteBackLabel||KS,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 p=e.all(c),f=String(c.identifier).toUpperCase(),h=un(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 b=typeof n=="string"?n:n(u,d);typeof b=="string"&&(b={type:"text",value:b}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,d),className:["data-footnote-backref"]},children:Array.isArray(b)?b:[b]})}const y=p[p.length-1];if(y&&y.type==="element"&&y.tagName==="p"){const b=y.children[y.children.length-1];b&&b.type==="text"?b.value+=" ":y.children.push({type:"text",value:" "}),y.children.push(...m)}else p.push(...m);const w={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(p,!0)};e.patch(c,w),a.push(w)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...ei(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
272
+ `});const c={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,c),e.applyData(t,c)}l(_S,"listItem$1");function OS(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=ec(n[r])}return t}l(OS,"listLoose");function ec(e){const t=e.spread;return t??e.children.length>1}l(ec,"listItemLoose");function LS(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(LS,"list$2");function IS(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(IS,"paragraph$1");function DS(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}l(DS,"root$1");function RS(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(RS,"strong$1");const tc=rc("end"),nc=rc("start");function rc(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(rc,"point$2");function PS(e){const t=nc(e),n=tc(e);if(t&&n)return{start:t,end:n}}l(PS,"position$1");function qS(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=nc(t.children[1]),u=tc(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(qS,"table");function FS(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],h={},d=o?o[u]:void 0;d&&(h.align=d);let m={type:"element",tagName:s,properties:h,children:[]};f&&(m.children=e.all(f),e.patch(f,m),m=e.applyData(f,m)),c.push(m)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,p),e.applyData(t,p)}l(FS,"tableRow");function MS(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(MS,"tableCell");const ic=9,sc=32;function $S(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const s=[];for(;r;)s.push(oc(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(oc(t.slice(i),i>0,!1)),s.join("")}l($S,"trimLines");function oc(e,t,n){let r=0,i=e.length;if(t){let s=e.codePointAt(r);for(;s===ic||s===sc;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(i-1);for(;s===ic||s===sc;)i--,s=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}l(oc,"trimLine");function BS(e,t){const n={type:"text",value:$S(String(t.value))};return e.patch(t,n),e.applyData(t,n)}l(BS,"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 zS={blockquote:hS,break:dS,code:mS,delete:gS,emphasis:yS,footnoteReference:vS,heading:SS,html:xS,imageReference:AS,image:CS,inlineCode:TS,linkReference:NS,link:ES,listItem:_S,list:LS,paragraph:IS,root:DS,strong:RS,table:qS,tableCell:MS,tableRow:FS,text:BS,thematicBreak:jS,toml:Yr,yaml:Yr,definition:Yr,footnoteDefinition:Yr};function Yr(){}l(Yr,"ignore");function YE(){}l(YE,"ok");const ac=-1,Jr=0,Qr=1,Xr=2,Fs=3,Ms=4,$s=5,Bs=6,lc=7,uc=8,cc=typeof self=="object"?self:globalThis,US=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 Jr:case ac:return n(o,i);case Qr:{const a=n([],i);for(const u of o)a.push(r(u));return a}case Xr:{const a=n({},i);for(const[u,c]of o)a[r(u)]=r(c);return a}case Fs:return n(new Date(o),i);case Ms:{const{source:a,flags:u}=o;return n(new RegExp(a,u),i)}case $s:{const a=n(new Map,i);for(const[u,c]of o)a.set(r(u),r(c));return a}case Bs:{const a=n(new Set,i);for(const u of o)a.add(r(u));return a}case lc:{const{name:a,message:u}=o;return n(new cc[a](u),i)}case uc:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i)}return n(new cc[s](o),i)},"unpair");return r},"deserializer"),fc=l(e=>US(new Map,e)(0),"deserialize"),cn="",{toString:HS}={},{keys:VS}=Object,zn=l(e=>{const t=typeof e;if(t!=="object"||!e)return[Jr,t];const n=HS.call(e).slice(8,-1);switch(n){case"Array":return[Qr,cn];case"Object":return[Xr,cn];case"Date":return[Fs,cn];case"RegExp":return[Ms,cn];case"Map":return[$s,cn];case"Set":return[Bs,cn]}return n.includes("Array")?[Qr,n]:n.includes("Error")?[lc,n]:[Xr,n]},"typeOf"),Zr=l(([e,t])=>e===Jr&&(t==="function"||t==="symbol"),"shouldSkip"),GS=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]=zn(o);switch(a){case Jr:{let p=o;switch(u){case"bigint":a=uc,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);p=null;break;case"undefined":return i([ac],o)}return i([a,p],o)}case Qr:{if(u)return i([u,[...o]],o);const p=[],f=i([a,p],o);for(const h of o)p.push(s(h));return f}case Xr:{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 p=[],f=i([a,p],o);for(const h of VS(o))(e||!Zr(zn(o[h])))&&p.push([s(h),s(o[h])]);return f}case Fs:return i([a,o.toISOString()],o);case Ms:{const{source:p,flags:f}=o;return i([a,{source:p,flags:f}],o)}case $s:{const p=[],f=i([a,p],o);for(const[h,d]of o)(e||!(Zr(zn(h))||Zr(zn(d))))&&p.push([s(h),s(d)]);return f}case Bs:{const p=[],f=i([a,p],o);for(const h of o)(e||!Zr(zn(h)))&&p.push(s(h));return f}}const{message:c}=o;return i([a,{name:u,message:c}],o)},"pair");return s},"serializer"),pc=l((e,{json:t,lossy:n}={})=>{const r=[];return GS(!(t||n),!!t,new Map,r)(e),r},"serialize$1");var ei=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?fc(pc(e,t)):structuredClone(e):(e,t)=>fc(pc(e,t));function WS(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(WS,"defaultFootnoteBackContent");function KS(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}l(KS,"defaultFootnoteBackLabel");function YS(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||WS,r=e.options.footnoteBackLabel||KS,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 p=e.all(c),f=String(c.identifier).toUpperCase(),h=un(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 b=typeof n=="string"?n:n(u,d);typeof b=="string"&&(b={type:"text",value:b}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,d),className:["data-footnote-backref"]},children:Array.isArray(b)?b:[b]})}const y=p[p.length-1];if(y&&y.type==="element"&&y.tagName==="p"){const b=y.children[y.children.length-1];b&&b.type==="text"?b.value+=" ":y.children.push({type:"text",value:" "}),y.children.push(...m)}else p.push(...m);const w={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(p,!0)};e.patch(c,w),a.push(w)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...ei(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
273
273
  `},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:`
274
274
  `}]}}l(YS,"footer");const js={}.hasOwnProperty,JS={};function QS(e,t){const n=t||JS,r=new Map,i=new Map,s=new Map,o={...zS,...n.handlers},a={all:c,applyData:ZS,definitionById:r,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:o,one:u,options:n,patch:XS,wrap:tx};return de(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const f=p.type==="definition"?r:i,h=String(p.identifier).toUpperCase();f.has(h)||f.set(h,p)}}),a;function u(p,f){const h=p.type,d=a.handlers[h];if(js.call(a.handlers,h)&&d)return d(a,p,f);if(a.options.passThrough&&a.options.passThrough.includes(h)){if("children"in p){const{children:g,...y}=p,w=ei(y);return w.children=a.all(p),w}return ei(p)}return(a.options.unknownHandler||ex)(a,p,f)}l(u,"one");function c(p){const f=[];if("children"in p){const h=p.children;let d=-1;for(;++d<h.length;){const m=a.one(h[d],p);if(m){if(d&&h[d-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=hc(m.value)),!Array.isArray(m)&&m.type==="element")){const g=m.children[0];g&&g.type==="text"&&(g.value=hc(g.value))}Array.isArray(m)?f.push(...m):f.push(m)}}}return f}l(c,"all")}l(QS,"createState");function XS(e,t){e.position&&(t.position=PS(e))}l(XS,"patch");function ZS(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,ei(s)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}l(ZS,"applyData");function ex(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(ex,"defaultUnknownHandler");function tx(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
275
275
  `});++r<e.length;)r&&n.push({type:"text",value:`
276
276
  `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
277
277
  `}),n}l(tx,"wrap$1");function hc(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}l(hc,"trimMarkdownSpaceStart");function dc(e,t){const n=QS(e,t),r=n.one(e,void 0),i=YS(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:`
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=Xn(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=>jd(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=Xn(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
+ `},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?`
279
279
  `+i.value:"")+`
280
280
  `+n}}l(Zx,"handler");function so(e,t){return e.marker?$c(e.marker,t).repeat(3):$c(e.fence,t)}l(so,"fence");function $c(e,t){return typeof e=="string"?e:e[t]}l($c,"pick");const eA="yaml";function tA(e){const t=this,n=e||eA,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Gx(n)),s.push(Kx(n)),o.push(Xx(n))}l(tA,"remarkFrontmatter");function nA(e,t,n){const i=dt((n||{}).ignore||[]),s=rA(t);let o=-1;for(;++o<s.length;)Lu(e,"text",a);function a(c,p){let f=-1,h;for(;++f<p.length;){const d=p[f],m=h?h.children:void 0;if(i(d,m?m.indexOf(d):void 0,h))return;h=d}if(h)return u(c,p)}l(a,"visitor");function u(c,p){const f=p[p.length-1],h=s[o][0],d=s[o][1];let m=0;const y=f.children.indexOf(c);let w=!1,b=[];h.lastIndex=0;let S=h.exec(c.value);for(;S;){const T=S.index,N={index:S.index,input:S.input,stack:[...p,c]};let A=d(...S,N);if(typeof A=="string"&&(A=A.length>0?{type:"text",value:A}:void 0),A===!1?h.lastIndex=T+1:(m!==T&&b.push({type:"text",value:c.value.slice(m,T)}),Array.isArray(A)?b.push(...A):A&&b.push(A),m=T+S[0].length,w=!0),!h.global)break;S=h.exec(c.value)}return w?(m<c.value.length&&b.push({type:"text",value:c.value.slice(m)}),f.children.splice(y,1,...b)):b=[c],y+b.length}l(u,"handler")}l(nA,"findAndReplace");function rA(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([iA(i[0]),sA(i[1])])}return t}l(rA,"toPairs");function iA(e){return typeof e=="string"?new RegExp(Mc(e),"g"):e}l(iA,"toExpression");function sA(e){return typeof e=="function"?e:function(){return e}}l(sA,"toFunction");const oo="phrasing",ao=["autolink","link","image","label"];function oA(){return{transforms:[hA],enter:{literalAutolink:lA,literalAutolinkEmail:lo,literalAutolinkHttp:lo,literalAutolinkWww:lo},exit:{literalAutolink:pA,literalAutolinkEmail:fA,literalAutolinkHttp:uA,literalAutolinkWww:cA}}}l(oA,"gfmAutolinkLiteralFromMarkdown");function aA(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:oo,notInConstruct:ao},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:oo,notInConstruct:ao},{character:":",before:"[ps]",after:"\\/",inConstruct:oo,notInConstruct:ao}]}}l(aA,"gfmAutolinkLiteralToMarkdown");function lA(e){this.enter({type:"link",title:null,url:"",children:[]},e)}l(lA,"enterLiteralAutolink");function lo(e){this.config.enter.autolinkProtocol.call(this,e)}l(lo,"enterLiteralAutolinkValue");function uA(e){this.config.exit.autolinkProtocol.call(this,e)}l(uA,"exitLiteralAutolinkHttp");function cA(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(cA,"exitLiteralAutolinkWww");function fA(e){this.config.exit.autolinkEmail.call(this,e)}l(fA,"exitLiteralAutolinkEmail");function pA(e){this.exit(e)}l(pA,"exitLiteralAutolink");function hA(e){nA(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,dA],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,mA]],{ignore:["link","linkReference"]})}l(hA,"transformGfmAutolinkLiterals");function dA(e,t,n,r,i){let s="";if(!Bc(i)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!gA(n)))return!1;const o=yA(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(dA,"findUrl");function mA(e,t,n,r){return!Bc(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}l(mA,"findEmail");function gA(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(gA,"isCorrectDomain");function yA(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=Vr(e,"(");let s=Vr(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(yA,"splitUrl");function Bc(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||_t(n)||Kr(n))&&(!t||n!==47)}l(Bc,"previous$2");function We(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}l(We,"normalizeIdentifier"),jc.peek=EA;function bA(){return{enter:{gfmFootnoteDefinition:kA,gfmFootnoteDefinitionLabelString:vA,gfmFootnoteCall:AA,gfmFootnoteCallString:CA},exit:{gfmFootnoteDefinition:xA,gfmFootnoteDefinitionLabelString:SA,gfmFootnoteCall:NA,gfmFootnoteCallString:TA}}}l(bA,"gfmFootnoteFromMarkdown");function wA(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:_A,footnoteReference:jc}}}l(wA,"gfmFootnoteToMarkdown");function kA(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}l(kA,"enterFootnoteDefinition");function vA(){this.buffer()}l(vA,"enterFootnoteDefinitionLabelString");function SA(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(SA,"exitFootnoteDefinitionLabelString");function xA(e){this.exit(e)}l(xA,"exitFootnoteDefinition");function AA(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}l(AA,"enterFootnoteCall");function CA(){this.buffer()}l(CA,"enterFootnoteCallString");function TA(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(TA,"exitFootnoteCallString");function NA(e){this.exit(e)}l(NA,"exitFootnoteCall");function jc(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(jc,"footnoteReference");function EA(){return"["}l(EA,"footnoteReferencePeek");function _A(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()),OA)),o(),s}l(_A,"footnoteDefinition");function OA(e,t,n){return t===0?e:(n?"":" ")+e}l(OA,"map$2");const LA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];zc.peek=qA;function IA(){return{canContainEols:["delete"],enter:{strikethrough:RA},exit:{strikethrough:PA}}}l(IA,"gfmStrikethroughFromMarkdown");function DA(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:LA}],handlers:{delete:zc}}}l(DA,"gfmStrikethroughToMarkdown");function RA(e){this.enter({type:"delete",children:[]},e)}l(RA,"enterStrikethrough");function PA(e){this.exit(e)}l(PA,"exitStrikethrough");function zc(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(zc,"handleDelete");function qA(){return"~"}l(qA,"peekDelete");function FA(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||$A,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 w=MA(e[c][y]);if(t.alignDelimiters!==!1){const b=r(w);g[y]=b,(a[y]===void 0||b>a[y])&&(a[y]=b)}m.push(w)}s[c]=m,o[c]=g}let p=-1;if(typeof n=="object"&&"length"in n)for(;++p<u;)i[p]=Uc(n[p]);else{const m=Uc(n);for(;++p<u;)i[p]=m}p=-1;const f=[],h=[];for(;++p<u;){const m=i[p];let g="",y="";m===99?(g=":",y=":"):m===108?g=":":m===114&&(y=":");let w=t.alignDelimiters===!1?1:Math.max(1,a[p]-g.length-y.length);const b=g+"-".repeat(w)+y;t.alignDelimiters!==!1&&(w=g.length+w+y.length,w>a[p]&&(a[p]=w),h[p]=w),f[p]=b}s.splice(1,0,f),o.splice(1,0,h),c=-1;const d=[];for(;++c<s.length;){const m=s[c],g=o[c];p=-1;const y=[];for(;++p<u;){const w=m[p]||"";let b="",S="";if(t.alignDelimiters!==!1){const T=a[p]-(g[p]||0),N=i[p];N===114?b=" ".repeat(T):N===99?T%2?(b=" ".repeat(T/2+.5),S=" ".repeat(T/2-.5)):(b=" ".repeat(T/2),S=b):S=" ".repeat(T)}t.delimiterStart!==!1&&!p&&y.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&w==="")&&(t.delimiterStart!==!1||p)&&y.push(" "),t.alignDelimiters!==!1&&y.push(b),y.push(w),t.alignDelimiters!==!1&&y.push(S),t.padding!==!1&&y.push(" "),(t.delimiterEnd!==!1||p!==u-1)&&y.push("|")}d.push(t.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return d.join(`
281
281
  `)}l(FA,"markdownTable");function MA(e){return e==null?"":String(e)}l(MA,"serialize");function $A(e){return e.length}l($A,"defaultStringLength");function Uc(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(Uc,"toAlignment");function BA(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(BA,"blockquote");function jA(e,t,n){return">"+(n?"":" ")+e}l(jA,"map$1");function zA(e,t){return Hc(e,t.inConstruct,!0)&&!Hc(e,t.notInConstruct,!1)}l(zA,"patternInScope");function Hc(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(Hc,"listInScope");function Vc(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
@@ -299,5 +299,5 @@ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.pus
299
299
  `),c&&(d+=p.move(c+`
300
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=`
301
301
  `;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 Li(p,a),h=f.filter(S=>!e.some(T=>T.noteId===S?.noteId));await ma(p,h,o);for(const S of h)c.push({action:"deleted",note:S});for(const S of e)S.deckName===""&&(S.deckName=s);const d=e.map(S=>S.noteId).map(S=>S??-1),m=await ga(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 or(p,{...N,noteId:void 0},o);c.push({action:"created",note:{...N,noteId:A}})}else if(N.modelName===T.modelName){const A=await Ud(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 zd(p,T,o);const A=await or(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 ya(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(` ${_i(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} ${_i(o)} (From Anki)`):n.push(` Note ID ${u.noteId} ${_i(o)} ${a}`)}return n.join(`
303
- `)}l(PE,"formatSyncReport");export{Oa as a,Ib as b,_b as c,_a as d,La as e,Ob as f,Rb as g,xo as h,PE as i,Gf as j,RE as k,Lb as l,Vf as m,Uf as n,Bd as o,Db as s,$d as u,bn as y};
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(PE,"formatSyncReport");function qE(e,t){return e.filter(n=>n.noteId===void 0?!1:n.noteId===t)}l(qE,"findNotesWithDuplicateIds");function FE(e,t){return e.find(n=>n.fields.Front===t?.fields.Front&&n.fields.Back===t?.fields.Back)??e[0]}l(FE,"selectNoteToKeep");export{Oa as a,Ib as b,_b as c,_a as d,La as e,Ob as f,Rb as g,xo as h,PE as i,Gf as j,RE as k,Lb as l,Vf as m,Uf as n,Hd as o,Db as s,Ud as u,bn as y};