markdown2typst 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/markdown2typst.browser.js +2835 -2355
- package/dist/markdown2typst.browser.js.map +4 -4
- package/dist/markdown2typst.browser.min.js +80 -83
- package/dist/markdown2typst.js +2835 -2355
- package/dist/markdown2typst.js.map +4 -4
- package/dist/markdown2typst.min.js +80 -83
- package/package.json +1 -1
- package/src/parser.ts +7 -1
- package/src/remark-fix-math.ts +12 -3
|
@@ -1,90 +1,92 @@
|
|
|
1
|
-
var cs=Object.create;var cr=Object.defineProperty;var ps=Object.getOwnPropertyDescriptor;var fs=Object.getOwnPropertyNames;var hs=Object.getPrototypeOf,ms=Object.prototype.hasOwnProperty;var ds=(e,t,r)=>t in e?cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var kt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),gs=(e,t)=>{for(var r in t)cr(e,r,{get:t[r],enumerable:!0})},ws=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of fs(t))!ms.call(e,i)&&i!==r&&cr(e,i,{get:()=>t[i],enumerable:!(n=ps(t,i))||n.enumerable});return e};var pr=(e,t,r)=>(r=e!=null?cs(hs(e)):{},ws(t||!e||!e.__esModule?cr(r,"default",{value:e,enumerable:!0}):r,e));var C=(e,t,r)=>ds(e,typeof t!="symbol"?t+"":t,r);var no=kt((Td,ro)=>{"use strict";var fr=Object.prototype.hasOwnProperty,to=Object.prototype.toString,Ki=Object.defineProperty,Qi=Object.getOwnPropertyDescriptor,Zi=function(t){return typeof Array.isArray=="function"?Array.isArray(t):to.call(t)==="[object Array]"},Xi=function(t){if(!t||to.call(t)!=="[object Object]")return!1;var r=fr.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&fr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var i;for(i in t);return typeof i>"u"||fr.call(t,i)},Ji=function(t,r){Ki&&r.name==="__proto__"?Ki(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},eo=function(t,r){if(r==="__proto__")if(fr.call(t,r)){if(Qi)return Qi(t,r).value}else return;return t[r]};ro.exports=function e(){var t,r,n,i,a,o,l=arguments[0],s=1,u=arguments.length,p=!1;for(typeof l=="boolean"&&(p=l,l=arguments[1]||{},s=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});s<u;++s)if(t=arguments[s],t!=null)for(r in t)n=eo(l,r),i=eo(t,r),l!==i&&(p&&i&&(Xi(i)||(a=Zi(i)))?(a?(a=!1,o=n&&Zi(n)?n:[]):o=n&&Xi(n)?n:{},Ji(l,{name:r,newValue:e(p,o,i)})):typeof i<"u"&&Ji(l,{name:r,newValue:i}));return l}});var wo=kt((og,cn)=>{(function(){var e;typeof cn<"u"?e=cn.exports=n:e=(function(){return this||(0,eval)("this")})(),e.format=n,e.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(e.printf=t);function t(){console.log(n.apply(null,arguments))}function r(i,a){return n.apply(null,[i].concat(a))}function n(i){for(var a=1,o=[].slice.call(arguments),l=0,s=i.length,u="",p,c=!1,h,f,m=!1,y,k=function(){return o[a++]},w=function(){for(var b="";/\d/.test(i[l]);)b+=i[l++],p=i[l];return b.length>0?parseInt(b):null};l<s;++l)if(p=i[l],c)switch(c=!1,p=="."?(m=!1,p=i[++l]):p=="0"&&i[l+1]=="."?(m=!0,l+=2,p=i[l]):m=!0,y=w(),p){case"b":u+=parseInt(k(),10).toString(2);break;case"c":h=k(),typeof h=="string"||h instanceof String?u+=h:u+=String.fromCharCode(parseInt(h,10));break;case"d":u+=parseInt(k(),10);break;case"f":f=String(parseFloat(k()).toFixed(y||6)),u+=m?f:f.replace(/^0/,"");break;case"j":u+=JSON.stringify(k());break;case"o":u+="0"+parseInt(k(),10).toString(8);break;case"s":u+=k();break;case"x":u+="0x"+parseInt(k(),10).toString(16);break;case"X":u+="0x"+parseInt(k(),10).toString(16).toUpperCase();break;default:u+=p;break}else p==="%"?c=!0:u+=p;return u}})()});var Ra=kt((Q0,Na)=>{Na.exports=[{name:"Abkhaz",local:"\u0410\u04A7\u0441\u0443\u0430",1:"ab",2:"abk","2T":"abk","2B":"abk",3:"abk"},{name:"Afar",local:"Afaraf",1:"aa",2:"aar","2T":"aar","2B":"aar",3:"aar"},{name:"Afrikaans",local:"Afrikaans",1:"af",2:"afr","2T":"afr","2B":"afr",3:"afr"},{name:"Akan",local:"Akan",1:"ak",2:"aka","2T":"aka","2B":"aka",3:"aka"},{name:"Albanian",local:"Shqip",1:"sq",2:"sqi","2T":"sqi","2B":"alb",3:"sqi"},{name:"Amharic",local:"\u12A0\u121B\u122D\u129B",1:"am",2:"amh","2T":"amh","2B":"amh",3:"amh"},{name:"Arabic",local:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",1:"ar",2:"ara","2T":"ara","2B":"ara",3:"ara"},{name:"Aragonese",local:"Aragon\xE9s",1:"an",2:"arg","2T":"arg","2B":"arg",3:"arg"},{name:"Armenian",local:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",1:"hy",2:"hye","2T":"hye","2B":"arm",3:"hye"},{name:"Assamese",local:"\u0985\u09B8\u09AE\u09C0\u09AF\u09BC\u09BE",1:"as",2:"asm","2T":"asm","2B":"asm",3:"asm"},{name:"Avaric",local:"\u0410\u0432\u0430\u0440",1:"av",2:"ava","2T":"ava","2B":"ava",3:"ava"},{name:"Avestan",local:"avesta",1:"ae",2:"ave","2T":"ave","2B":"ave",3:"ave"},{name:"Aymara",local:"Aymar",1:"ay",2:"aym","2T":"aym","2B":"aym",3:"aym"},{name:"Azerbaijani",local:"Az\u0259rbaycanca",1:"az",2:"aze","2T":"aze","2B":"aze",3:"aze"},{name:"Bambara",local:"Bamanankan",1:"bm",2:"bam","2T":"bam","2B":"bam",3:"bam"},{name:"Bashkir",local:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",1:"ba",2:"bak","2T":"bak","2B":"bak",3:"bak"},{name:"Basque",local:"Euskara",1:"eu",2:"eus","2T":"eus","2B":"baq",3:"eus"},{name:"Belarusian",local:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F",1:"be",2:"bel","2T":"bel","2B":"bel",3:"bel"},{name:"Bengali",local:"\u09AC\u09BE\u0982\u09B2\u09BE",1:"bn",2:"ben","2T":"ben","2B":"ben",3:"ben"},{name:"Bihari",local:"\u092D\u094B\u091C\u092A\u0941\u0930\u0940",1:"bh",2:"bih","2T":"bih","2B":"bih",3:"bih"},{name:"Bislama",local:"Bislama",1:"bi",2:"bis","2T":"bis","2B":"bis",3:"bis"},{name:"Bosnian",local:"Bosanski",1:"bs",2:"bos","2T":"bos","2B":"bos",3:"bos"},{name:"Breton",local:"Brezhoneg",1:"br",2:"bre","2T":"bre","2B":"bre",3:"bre"},{name:"Bulgarian",local:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",1:"bg",2:"bul","2T":"bul","2B":"bul",3:"bul"},{name:"Burmese",local:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C",1:"my",2:"mya","2T":"mya","2B":"bur",3:"mya"},{name:"Catalan",local:"Catal\xE0",1:"ca",2:"cat","2T":"cat","2B":"cat",3:"cat"},{name:"Chamorro",local:"Chamoru",1:"ch",2:"cha","2T":"cha","2B":"cha",3:"cha"},{name:"Chechen",local:"\u041D\u043E\u0445\u0447\u0438\u0439\u043D",1:"ce",2:"che","2T":"che","2B":"che",3:"che"},{name:"Chichewa",local:"Chichewa",1:"ny",2:"nya","2T":"nya","2B":"nya",3:"nya"},{name:"Chinese",local:"\u4E2D\u6587",1:"zh",2:"zho","2T":"zho","2B":"chi",3:"zho"},{name:"Chuvash",local:"\u0427\u04D1\u0432\u0430\u0448\u043B\u0430",1:"cv",2:"chv","2T":"chv","2B":"chv",3:"chv"},{name:"Cornish",local:"Kernewek",1:"kw",2:"cor","2T":"cor","2B":"cor",3:"cor"},{name:"Corsican",local:"Corsu",1:"co",2:"cos","2T":"cos","2B":"cos",3:"cos"},{name:"Cree",local:"\u14C0\u1426\u1403\u152D\u140D\u140F\u1423",1:"cr",2:"cre","2T":"cre","2B":"cre",3:"cre"},{name:"Croatian",local:"Hrvatski",1:"hr",2:"hrv","2T":"hrv","2B":"hrv",3:"hrv"},{name:"Czech",local:"\u010Ce\u0161tina",1:"cs",2:"ces","2T":"ces","2B":"cze",3:"ces"},{name:"Danish",local:"Dansk",1:"da",2:"dan","2T":"dan","2B":"dan",3:"dan"},{name:"Divehi",local:"Divehi",1:"dv",2:"div","2T":"div","2B":"div",3:"div"},{name:"Dutch",local:"Nederlands",1:"nl",2:"nld","2T":"nld","2B":"dut",3:"nld"},{name:"Dzongkha",local:"\u0F62\u0FAB\u0F7C\u0F44\u0F0B\u0F41",1:"dz",2:"dzo","2T":"dzo","2B":"dzo",3:"dzo"},{name:"English",local:"English",1:"en",2:"eng","2T":"eng","2B":"eng",3:"eng"},{name:"Esperanto",local:"Esperanto",1:"eo",2:"epo","2T":"epo","2B":"epo",3:"epo"},{name:"Estonian",local:"Eesti",1:"et",2:"est","2T":"est","2B":"est",3:"est"},{name:"Ewe",local:"E\u028Begbe",1:"ee",2:"ewe","2T":"ewe","2B":"ewe",3:"ewe"},{name:"Faroese",local:"F\xF8royskt",1:"fo",2:"fao","2T":"fao","2B":"fao",3:"fao"},{name:"Fijian",local:"Na Vosa Vaka-Viti",1:"fj",2:"fij","2T":"fij","2B":"fij",3:"fij"},{name:"Finnish",local:"Suomi",1:"fi",2:"fin","2T":"fin","2B":"fin",3:"fin"},{name:"French",local:"Fran\xE7ais",1:"fr",2:"fra","2T":"fra","2B":"fre",3:"fra"},{name:"Fula",local:"Fulfulde",1:"ff",2:"ful","2T":"ful","2B":"ful",3:"ful"},{name:"Galician",local:"Galego",1:"gl",2:"glg","2T":"glg","2B":"glg",3:"glg"},{name:"Georgian",local:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",1:"ka",2:"kat","2T":"kat","2B":"geo",3:"kat"},{name:"German",local:"Deutsch",1:"de",2:"deu","2T":"deu","2B":"ger",3:"deu"},{name:"Greek",local:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",1:"el",2:"ell","2T":"ell","2B":"gre",3:"ell"},{name:"Guaran\xED",local:"Ava\xF1e'\u1EBD",1:"gn",2:"grn","2T":"grn","2B":"grn",3:"grn"},{name:"Gujarati",local:"\u0A97\u0AC1\u0A9C\u0AB0\u0ABE\u0AA4\u0AC0",1:"gu",2:"guj","2T":"guj","2B":"guj",3:"guj"},{name:"Haitian",local:"Krey\xF2l Ayisyen",1:"ht",2:"hat","2T":"hat","2B":"hat",3:"hat"},{name:"Hausa",local:"\u0647\u064E\u0648\u064F\u0633\u064E",1:"ha",2:"hau","2T":"hau","2B":"hau",3:"hau"},{name:"Hebrew",local:"\u05E2\u05D1\u05E8\u05D9\u05EA",1:"he",2:"heb","2T":"heb","2B":"heb",3:"heb"},{name:"Herero",local:"Otjiherero",1:"hz",2:"her","2T":"her","2B":"her",3:"her"},{name:"Hindi",local:"\u0939\u093F\u0928\u094D\u0926\u0940",1:"hi",2:"hin","2T":"hin","2B":"hin",3:"hin"},{name:"Hiri Motu",local:"Hiri Motu",1:"ho",2:"hmo","2T":"hmo","2B":"hmo",3:"hmo"},{name:"Hungarian",local:"Magyar",1:"hu",2:"hun","2T":"hun","2B":"hun",3:"hun"},{name:"Interlingua",local:"Interlingua",1:"ia",2:"ina","2T":"ina","2B":"ina",3:"ina"},{name:"Indonesian",local:"Bahasa Indonesia",1:"id",2:"ind","2T":"ind","2B":"ind",3:"ind"},{name:"Interlingue",local:"Interlingue",1:"ie",2:"ile","2T":"ile","2B":"ile",3:"ile"},{name:"Irish",local:"Gaeilge",1:"ga",2:"gle","2T":"gle","2B":"gle",3:"gle"},{name:"Igbo",local:"Igbo",1:"ig",2:"ibo","2T":"ibo","2B":"ibo",3:"ibo"},{name:"Inupiaq",local:"I\xF1upiak",1:"ik",2:"ipk","2T":"ipk","2B":"ipk",3:"ipk"},{name:"Ido",local:"Ido",1:"io",2:"ido","2T":"ido","2B":"ido",3:"ido"},{name:"Icelandic",local:"\xCDslenska",1:"is",2:"isl","2T":"isl","2B":"ice",3:"isl"},{name:"Italian",local:"Italiano",1:"it",2:"ita","2T":"ita","2B":"ita",3:"ita"},{name:"Inuktitut",local:"\u1403\u14C4\u1483\u144E\u1450\u1466",1:"iu",2:"iku","2T":"iku","2B":"iku",3:"iku"},{name:"Japanese",local:"\u65E5\u672C\u8A9E",1:"ja",2:"jpn","2T":"jpn","2B":"jpn",3:"jpn"},{name:"Javanese",local:"Basa Jawa",1:"jv",2:"jav","2T":"jav","2B":"jav",3:"jav"},{name:"Kalaallisut",local:"Kalaallisut",1:"kl",2:"kal","2T":"kal","2B":"kal",3:"kal"},{name:"Kannada",local:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",1:"kn",2:"kan","2T":"kan","2B":"kan",3:"kan"},{name:"Kanuri",local:"Kanuri",1:"kr",2:"kau","2T":"kau","2B":"kau",3:"kau"},{name:"Kashmiri",local:"\u0643\u0634\u0645\u064A\u0631\u064A",1:"ks",2:"kas","2T":"kas","2B":"kas",3:"kas"},{name:"Kazakh",local:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",1:"kk",2:"kaz","2T":"kaz","2B":"kaz",3:"kaz"},{name:"Khmer",local:"\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A",1:"km",2:"khm","2T":"khm","2B":"khm",3:"khm"},{name:"Kikuyu",local:"G\u0129k\u0169y\u0169",1:"ki",2:"kik","2T":"kik","2B":"kik",3:"kik"},{name:"Kinyarwanda",local:"Kinyarwanda",1:"rw",2:"kin","2T":"kin","2B":"kin",3:"kin"},{name:"Kyrgyz",local:"\u041A\u044B\u0440\u0433\u044B\u0437\u0447\u0430",1:"ky",2:"kir","2T":"kir","2B":"kir",3:"kir"},{name:"Komi",local:"\u041A\u043E\u043C\u0438",1:"kv",2:"kom","2T":"kom","2B":"kom",3:"kom"},{name:"Kongo",local:"Kongo",1:"kg",2:"kon","2T":"kon","2B":"kon",3:"kon"},{name:"Korean",local:"\uD55C\uAD6D\uC5B4",1:"ko",2:"kor","2T":"kor","2B":"kor",3:"kor"},{name:"Kurdish",local:"Kurd\xEE",1:"ku",2:"kur","2T":"kur","2B":"kur",3:"kur"},{name:"Kwanyama",local:"Kuanyama",1:"kj",2:"kua","2T":"kua","2B":"kua",3:"kua"},{name:"Latin",local:"Latina",1:"la",2:"lat","2T":"lat","2B":"lat",3:"lat"},{name:"Luxembourgish",local:"L\xEBtzebuergesch",1:"lb",2:"ltz","2T":"ltz","2B":"ltz",3:"ltz"},{name:"Ganda",local:"Luganda",1:"lg",2:"lug","2T":"lug","2B":"lug",3:"lug"},{name:"Limburgish",local:"Limburgs",1:"li",2:"lim","2T":"lim","2B":"lim",3:"lim"},{name:"Lingala",local:"Ling\xE1la",1:"ln",2:"lin","2T":"lin","2B":"lin",3:"lin"},{name:"Lao",local:"\u0E9E\u0EB2\u0EAA\u0EB2\u0EA5\u0EB2\u0EA7",1:"lo",2:"lao","2T":"lao","2B":"lao",3:"lao"},{name:"Lithuanian",local:"Lietuvi\u0173",1:"lt",2:"lit","2T":"lit","2B":"lit",3:"lit"},{name:"Luba-Katanga",local:"Tshiluba",1:"lu",2:"lub","2T":"lub","2B":"lub",3:"lub"},{name:"Latvian",local:"Latvie\u0161u",1:"lv",2:"lav","2T":"lav","2B":"lav",3:"lav"},{name:"Manx",local:"Gaelg",1:"gv",2:"glv","2T":"glv","2B":"glv",3:"glv"},{name:"Macedonian",local:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438",1:"mk",2:"mkd","2T":"mkd","2B":"mac",3:"mkd"},{name:"Malagasy",local:"Malagasy",1:"mg",2:"mlg","2T":"mlg","2B":"mlg",3:"mlg"},{name:"Malay",local:"Bahasa Melayu",1:"ms",2:"msa","2T":"msa","2B":"may",3:"msa"},{name:"Malayalam",local:"\u0D2E\u0D32\u0D2F\u0D3E\u0D33\u0D02",1:"ml",2:"mal","2T":"mal","2B":"mal",3:"mal"},{name:"Maltese",local:"Malti",1:"mt",2:"mlt","2T":"mlt","2B":"mlt",3:"mlt"},{name:"M\u0101ori",local:"M\u0101ori",1:"mi",2:"mri","2T":"mri","2B":"mao",3:"mri"},{name:"Marathi",local:"\u092E\u0930\u093E\u0920\u0940",1:"mr",2:"mar","2T":"mar","2B":"mar",3:"mar"},{name:"Marshallese",local:"Kajin M\u0327aje\u013C",1:"mh",2:"mah","2T":"mah","2B":"mah",3:"mah"},{name:"Mongolian",local:"\u041C\u043E\u043D\u0433\u043E\u043B",1:"mn",2:"mon","2T":"mon","2B":"mon",3:"mon"},{name:"Nauru",local:"Dorerin Naoero",1:"na",2:"nau","2T":"nau","2B":"nau",3:"nau"},{name:"Navajo",local:"Din\xE9 Bizaad",1:"nv",2:"nav","2T":"nav","2B":"nav",3:"nav"},{name:"Northern Ndebele",local:"isiNdebele",1:"nd",2:"nde","2T":"nde","2B":"nde",3:"nde"},{name:"Nepali",local:"\u0928\u0947\u092A\u093E\u0932\u0940",1:"ne",2:"nep","2T":"nep","2B":"nep",3:"nep"},{name:"Ndonga",local:"Owambo",1:"ng",2:"ndo","2T":"ndo","2B":"ndo",3:"ndo"},{name:"Norwegian Bokm\xE5l",local:"Norsk (Bokm\xE5l)",1:"nb",2:"nob","2T":"nob","2B":"nob",3:"nob"},{name:"Norwegian Nynorsk",local:"Norsk (Nynorsk)",1:"nn",2:"nno","2T":"nno","2B":"nno",3:"nno"},{name:"Norwegian",local:"Norsk",1:"no",2:"nor","2T":"nor","2B":"nor",3:"nor"},{name:"Nuosu",local:"\uA188\uA320\uA4BF Nuosuhxop",1:"ii",2:"iii","2T":"iii","2B":"iii",3:"iii"},{name:"Southern Ndebele",local:"isiNdebele",1:"nr",2:"nbl","2T":"nbl","2B":"nbl",3:"nbl"},{name:"Occitan",local:"Occitan",1:"oc",2:"oci","2T":"oci","2B":"oci",3:"oci"},{name:"Ojibwe",local:"\u140A\u14C2\u1511\u14C8\u142F\u14A7\u140E\u14D0",1:"oj",2:"oji","2T":"oji","2B":"oji",3:"oji"},{name:"Old Church Slavonic",local:"\u0421\u043B\u043E\u0432\u0463\u0301\u043D\u044C\u0441\u043A\u044A",1:"cu",2:"chu","2T":"chu","2B":"chu",3:"chu"},{name:"Oromo",local:"Afaan Oromoo",1:"om",2:"orm","2T":"orm","2B":"orm",3:"orm"},{name:"Oriya",local:"\u0B13\u0B21\u0B3F\u0B3C\u0B06",1:"or",2:"ori","2T":"ori","2B":"ori",3:"ori"},{name:"Ossetian",local:"\u0418\u0440\u043E\u043D \xE6\u0432\u0437\u0430\u0433",1:"os",2:"oss","2T":"oss","2B":"oss",3:"oss"},{name:"Panjabi",local:"\u0A2A\u0A70\u0A1C\u0A3E\u0A2C\u0A40",1:"pa",2:"pan","2T":"pan","2B":"pan",3:"pan"},{name:"P\u0101li",local:"\u092A\u093E\u0934\u093F",1:"pi",2:"pli","2T":"pli","2B":"pli",3:"pli"},{name:"Persian",local:"\u0641\u0627\u0631\u0633\u06CC",1:"fa",2:"fas","2T":"fas","2B":"per",3:"fas"},{name:"Polish",local:"Polski",1:"pl",2:"pol","2T":"pol","2B":"pol",3:"pol"},{name:"Pashto",local:"\u067E\u069A\u062A\u0648",1:"ps",2:"pus","2T":"pus","2B":"pus",3:"pus"},{name:"Portuguese",local:"Portugu\xEAs",1:"pt",2:"por","2T":"por","2B":"por",3:"por"},{name:"Quechua",local:"Runa Simi",1:"qu",2:"que","2T":"que","2B":"que",3:"que"},{name:"Romansh",local:"Rumantsch",1:"rm",2:"roh","2T":"roh","2B":"roh",3:"roh"},{name:"Kirundi",local:"Kirundi",1:"rn",2:"run","2T":"run","2B":"run",3:"run"},{name:"Romanian",local:"Rom\xE2n\u0103",1:"ro",2:"ron","2T":"ron","2B":"rum",3:"ron"},{name:"Russian",local:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",1:"ru",2:"rus","2T":"rus","2B":"rus",3:"rus"},{name:"Sanskrit",local:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924\u092E\u094D",1:"sa",2:"san","2T":"san","2B":"san",3:"san"},{name:"Sardinian",local:"Sardu",1:"sc",2:"srd","2T":"srd","2B":"srd",3:"srd"},{name:"Sindhi",local:"\u0633\u0646\u068C\u064A\u200E",1:"sd",2:"snd","2T":"snd","2B":"snd",3:"snd"},{name:"Northern Sami",local:"S\xE1megiella",1:"se",2:"sme","2T":"sme","2B":"sme",3:"sme"},{name:"Samoan",local:"Gagana S\u0101moa",1:"sm",2:"smo","2T":"smo","2B":"smo",3:"smo"},{name:"Sango",local:"S\xE4ng\xF6",1:"sg",2:"sag","2T":"sag","2B":"sag",3:"sag"},{name:"Serbian",local:"\u0421\u0440\u043F\u0441\u043A\u0438",1:"sr",2:"srp","2T":"srp","2B":"srp",3:"srp"},{name:"Gaelic",local:"G\xE0idhlig",1:"gd",2:"gla","2T":"gla","2B":"gla",3:"gla"},{name:"Shona",local:"ChiShona",1:"sn",2:"sna","2T":"sna","2B":"sna",3:"sna"},{name:"Sinhala",local:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",1:"si",2:"sin","2T":"sin","2B":"sin",3:"sin"},{name:"Slovak",local:"Sloven\u010Dina",1:"sk",2:"slk","2T":"slk","2B":"slo",3:"slk"},{name:"Slovene",local:"Sloven\u0161\u010Dina",1:"sl",2:"slv","2T":"slv","2B":"slv",3:"slv"},{name:"Somali",local:"Soomaaliga",1:"so",2:"som","2T":"som","2B":"som",3:"som"},{name:"Southern Sotho",local:"Sesotho",1:"st",2:"sot","2T":"sot","2B":"sot",3:"sot"},{name:"Spanish",local:"Espa\xF1ol",1:"es",2:"spa","2T":"spa","2B":"spa",3:"spa"},{name:"Sundanese",local:"Basa Sunda",1:"su",2:"sun","2T":"sun","2B":"sun",3:"sun"},{name:"Swahili",local:"Kiswahili",1:"sw",2:"swa","2T":"swa","2B":"swa",3:"swa"},{name:"Swati",local:"SiSwati",1:"ss",2:"ssw","2T":"ssw","2B":"ssw",3:"ssw"},{name:"Swedish",local:"Svenska",1:"sv",2:"swe","2T":"swe","2B":"swe",3:"swe"},{name:"Tamil",local:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",1:"ta",2:"tam","2T":"tam","2B":"tam",3:"tam"},{name:"Telugu",local:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41",1:"te",2:"tel","2T":"tel","2B":"tel",3:"tel"},{name:"Tajik",local:"\u0422\u043E\u04B7\u0438\u043A\u04E3",1:"tg",2:"tgk","2T":"tgk","2B":"tgk",3:"tgk"},{name:"Thai",local:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",1:"th",2:"tha","2T":"tha","2B":"tha",3:"tha"},{name:"Tigrinya",local:"\u1275\u130D\u122D\u129B",1:"ti",2:"tir","2T":"tir","2B":"tir",3:"tir"},{name:"Tibetan Standard",local:"\u0F56\u0F7C\u0F51\u0F0B\u0F61\u0F72\u0F42",1:"bo",2:"bod","2T":"bod","2B":"tib",3:"bod"},{name:"Turkmen",local:"T\xFCrkmen\xE7e",1:"tk",2:"tuk","2T":"tuk","2B":"tuk",3:"tuk"},{name:"Tagalog",local:"Tagalog",1:"tl",2:"tgl","2T":"tgl","2B":"tgl",3:"tgl"},{name:"Tswana",local:"Setswana",1:"tn",2:"tsn","2T":"tsn","2B":"tsn",3:"tsn"},{name:"Tonga",local:"faka Tonga",1:"to",2:"ton","2T":"ton","2B":"ton",3:"ton"},{name:"Turkish",local:"T\xFCrk\xE7e",1:"tr",2:"tur","2T":"tur","2B":"tur",3:"tur"},{name:"Tsonga",local:"Xitsonga",1:"ts",2:"tso","2T":"tso","2B":"tso",3:"tso"},{name:"Tatar",local:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",1:"tt",2:"tat","2T":"tat","2B":"tat",3:"tat"},{name:"Twi",local:"Twi",1:"tw",2:"twi","2T":"twi","2B":"twi",3:"twi"},{name:"Tahitian",local:"Reo M\u0101\u2019ohi",1:"ty",2:"tah","2T":"tah","2B":"tah",3:"tah"},{name:"Uyghur",local:"\u0626\u06C7\u064A\u063A\u06C7\u0631\u0686\u0647",1:"ug",2:"uig","2T":"uig","2B":"uig",3:"uig"},{name:"Ukrainian",local:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",1:"uk",2:"ukr","2T":"ukr","2B":"ukr",3:"ukr"},{name:"Urdu",local:"\u0627\u0631\u062F\u0648",1:"ur",2:"urd","2T":"urd","2B":"urd",3:"urd"},{name:"Uzbek",local:"O\u2018zbek",1:"uz",2:"uzb","2T":"uzb","2B":"uzb",3:"uzb"},{name:"Venda",local:"Tshiven\u1E13a",1:"ve",2:"ven","2T":"ven","2B":"ven",3:"ven"},{name:"Vietnamese",local:"Ti\u1EBFng Vi\u1EC7t",1:"vi",2:"vie","2T":"vie","2B":"vie",3:"vie"},{name:"Volap\xFCk",local:"Volap\xFCk",1:"vo",2:"vol","2T":"vol","2B":"vol",3:"vol"},{name:"Walloon",local:"Walon",1:"wa",2:"wln","2T":"wln","2B":"wln",3:"wln"},{name:"Welsh",local:"Cymraeg",1:"cy",2:"cym","2T":"cym","2B":"wel",3:"cym"},{name:"Wolof",local:"Wolof",1:"wo",2:"wol","2T":"wol","2B":"wol",3:"wol"},{name:"Western Frisian",local:"Frysk",1:"fy",2:"fry","2T":"fry","2B":"fry",3:"fry"},{name:"Xhosa",local:"isiXhosa",1:"xh",2:"xho","2T":"xho","2B":"xho",3:"xho"},{name:"Yiddish",local:"\u05D9\u05D9\u05B4\u05D3\u05D9\u05E9",1:"yi",2:"yid","2T":"yid","2B":"yid",3:"yid"},{name:"Yoruba",local:"Yor\xF9b\xE1",1:"yo",2:"yor","2T":"yor","2B":"yor",3:"yor"},{name:"Zhuang",local:"Cuengh",1:"za",2:"zha","2T":"zha","2B":"zha",3:"zha"},{name:"Zulu",local:"isiZulu",1:"zu",2:"zul","2T":"zul","2B":"zul",3:"zul"}]});var Pa=kt((Z0,za)=>{var Lt=Ra(),Pp={all:Hp,has:Up,codes:jp,names:Gp,where:Da};za.exports=Pp;function Hp(){return Lt}function Up(e,t){return Da(e,t)!==void 0}function jp(e){if($p(e))return Oa(Lt,function(r){return r[e]})}function Gp(e){return Oa(Lt,function(r){return e?r.local:r.name})}function Da(e,t){for(var r=0;r<Lt.length;r++)if(t===Lt[r][e])return Lt[r]}function Oa(e,t){var r=[],n;for(n=0;n<e.length;n++)r.push(t(e[n],n));return r}function $p(e){var t=[1,2,3,"1","2","2B","2T","3"];return t.indexOf(e)!==-1}});var Ha=kt((X0,Vp)=>{Vp.exports=[{code:"AD",name:"Andorra"},{code:"AE",name:"United Arab Emirates (the)"},{code:"AF",name:"Afghanistan"},{code:"AG",name:"Antigua and Barbuda"},{code:"AI",name:"Anguilla"},{code:"AL",name:"Albania"},{code:"AM",name:"Armenia"},{code:"AO",name:"Angola"},{code:"AQ",name:"Antarctica"},{code:"AR",name:"Argentina"},{code:"AS",name:"American Samoa"},{code:"AT",name:"Austria"},{code:"AU",name:"Australia"},{code:"AW",name:"Aruba"},{code:"AX",name:"\xC5land Islands"},{code:"AZ",name:"Azerbaijan"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BB",name:"Barbados"},{code:"BD",name:"Bangladesh"},{code:"BE",name:"Belgium"},{code:"BF",name:"Burkina Faso"},{code:"BG",name:"Bulgaria"},{code:"BH",name:"Bahrain"},{code:"BI",name:"Burundi"},{code:"BJ",name:"Benin"},{code:"BL",name:"Saint Barth\xE9lemy"},{code:"BM",name:"Bermuda"},{code:"BN",name:"Brunei Darussalam"},{code:"BO",name:"Bolivia (Plurinational State of)"},{code:"BQ",name:"Bonaire, Sint Eustatius and Saba"},{code:"BR",name:"Brazil"},{code:"BS",name:"Bahamas (The)"},{code:"BT",name:"Bhutan"},{code:"BV",name:"Bouvet Island"},{code:"BW",name:"Botswana"},{code:"BY",name:"Belarus"},{code:"BZ",name:"Belize"},{code:"CA",name:"Canada"},{code:"CC",name:"Cocos (Keeling) Islands (the)"},{code:"CD",name:"Congo (the Democratic Republic of the)"},{code:"CF",name:"Central African Republic (the)"},{code:"CG",name:"Congo (the)"},{code:"CH",name:"Switzerland"},{code:"CI",name:"C\xF4te d'Ivoire"},{code:"CK",name:"Cook Islands (the)"},{code:"CL",name:"Chile"},{code:"CM",name:"Cameroon"},{code:"CN",name:"China"},{code:"CO",name:"Colombia"},{code:"CR",name:"Costa Rica"},{code:"CU",name:"Cuba"},{code:"CV",name:"Cabo Verde"},{code:"CW",name:"Cura\xE7ao"},{code:"CX",name:"Christmas Island"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czechia"},{code:"DE",name:"Germany"},{code:"DJ",name:"Djibouti"},{code:"DK",name:"Denmark"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic (the)"},{code:"DZ",name:"Algeria"},{code:"EC",name:"Ecuador"},{code:"EE",name:"Estonia"},{code:"EG",name:"Egypt"},{code:"EH",name:"Western Sahara*"},{code:"ER",name:"Eritrea"},{code:"ES",name:"Spain"},{code:"ET",name:"Ethiopia"},{code:"FI",name:"Finland"},{code:"FJ",name:"Fiji"},{code:"FK",name:"Falkland Islands (the) [Malvinas]"},{code:"FM",name:"Micronesia (Federated States of)"},{code:"FO",name:"Faroe Islands (the)"},{code:"FR",name:"France"},{code:"GA",name:"Gabon"},{code:"GB",name:"United Kingdom of Great Britain and Northern Ireland (the)"},{code:"GD",name:"Grenada"},{code:"GE",name:"Georgia"},{code:"GF",name:"French Guiana"},{code:"GG",name:"Guernsey"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GL",name:"Greenland"},{code:"GM",name:"Gambia (the)"},{code:"GN",name:"Guinea"},{code:"GP",name:"Guadeloupe"},{code:"GQ",name:"Equatorial Guinea"},{code:"GR",name:"Greece"},{code:"GS",name:"South Georgia and the South Sandwich Islands"},{code:"GT",name:"Guatemala"},{code:"GU",name:"Guam"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HK",name:"Hong Kong"},{code:"HM",name:"Heard Island and McDonald Islands"},{code:"HN",name:"Honduras"},{code:"HR",name:"Croatia"},{code:"HT",name:"Haiti"},{code:"HU",name:"Hungary"},{code:"ID",name:"Indonesia"},{code:"IE",name:"Ireland"},{code:"IL",name:"Israel"},{code:"IM",name:"Isle of Man"},{code:"IN",name:"India"},{code:"IO",name:"British Indian Ocean Territory (the)"},{code:"IQ",name:"Iraq"},{code:"IR",name:"Iran (Islamic Republic of)"},{code:"IS",name:"Iceland"},{code:"IT",name:"Italy"},{code:"JE",name:"Jersey"},{code:"JM",name:"Jamaica"},{code:"JO",name:"Jordan"},{code:"JP",name:"Japan"},{code:"KE",name:"Kenya"},{code:"KG",name:"Kyrgyzstan"},{code:"KH",name:"Cambodia"},{code:"KI",name:"Kiribati"},{code:"KM",name:"Comoros (the)"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"KP",name:"Korea (the Democratic People's Republic of)"},{code:"KR",name:"Korea (the Republic of)"},{code:"KW",name:"Kuwait"},{code:"KY",name:"Cayman Islands (the)"},{code:"KZ",name:"Kazakhstan"},{code:"LA",name:"Lao People's Democratic Republic (the)"},{code:"LB",name:"Lebanon"},{code:"LC",name:"Saint Lucia"},{code:"LI",name:"Liechtenstein"},{code:"LK",name:"Sri Lanka"},{code:"LR",name:"Liberia"},{code:"LS",name:"Lesotho"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"LV",name:"Latvia"},{code:"LY",name:"Libya"},{code:"MA",name:"Morocco"},{code:"MC",name:"Monaco"},{code:"MD",name:"Moldova (the Republic of)"},{code:"ME",name:"Montenegro"},{code:"MF",name:"Saint Martin (French part)"},{code:"MG",name:"Madagascar"},{code:"MH",name:"Marshall Islands (the)"},{code:"MK",name:"North Macedonia"},{code:"ML",name:"Mali"},{code:"MM",name:"Myanmar"},{code:"MN",name:"Mongolia"},{code:"MO",name:"Macao"},{code:"MP",name:"Northern Mariana Islands (the)"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MS",name:"Montserrat"},{code:"MT",name:"Malta"},{code:"MU",name:"Mauritius"},{code:"MV",name:"Maldives"},{code:"MW",name:"Malawi"},{code:"MX",name:"Mexico"},{code:"MY",name:"Malaysia"},{code:"MZ",name:"Mozambique"},{code:"NA",name:"Namibia"},{code:"NC",name:"New Caledonia"},{code:"NE",name:"Niger (the)"},{code:"NF",name:"Norfolk Island"},{code:"NG",name:"Nigeria"},{code:"NI",name:"Nicaragua"},{code:"NL",name:"Netherlands (Kingdom of the)"},{code:"NO",name:"Norway"},{code:"NP",name:"Nepal"},{code:"NR",name:"Nauru"},{code:"NU",name:"Niue"},{code:"NZ",name:"New Zealand"},{code:"OM",name:"Oman"},{code:"PA",name:"Panama"},{code:"PE",name:"Peru"},{code:"PF",name:"French Polynesia"},{code:"PG",name:"Papua New Guinea"},{code:"PH",name:"Philippines (the)"},{code:"PK",name:"Pakistan"},{code:"PL",name:"Poland"},{code:"PM",name:"Saint Pierre and Miquelon"},{code:"PN",name:"Pitcairn"},{code:"PR",name:"Puerto Rico"},{code:"PS",name:"Palestine, State of"},{code:"PT",name:"Portugal"},{code:"PW",name:"Palau"},{code:"PY",name:"Paraguay"},{code:"QA",name:"Qatar"},{code:"RE",name:"R\xE9union"},{code:"RO",name:"Romania"},{code:"RS",name:"Serbia"},{code:"RU",name:"Russian Federation (the)"},{code:"RW",name:"Rwanda"},{code:"SA",name:"Saudi Arabia"},{code:"SB",name:"Solomon Islands"},{code:"SC",name:"Seychelles"},{code:"SD",name:"Sudan (the)"},{code:"SE",name:"Sweden"},{code:"SG",name:"Singapore"},{code:"SH",name:"Saint Helena, Ascension and Tristan da Cunha"},{code:"SI",name:"Slovenia"},{code:"SJ",name:"Svalbard and Jan Mayen"},{code:"SK",name:"Slovakia"},{code:"SL",name:"Sierra Leone"},{code:"SM",name:"San Marino"},{code:"SN",name:"Senegal"},{code:"SO",name:"Somalia"},{code:"SR",name:"Suriname"},{code:"SS",name:"South Sudan"},{code:"ST",name:"Sao Tome and Principe"},{code:"SV",name:"El Salvador"},{code:"SX",name:"Sint Maarten (Dutch part)"},{code:"SY",name:"Syrian Arab Republic (the)"},{code:"SZ",name:"Eswatini"},{code:"TC",name:"Turks and Caicos Islands (the)"},{code:"TD",name:"Chad"},{code:"TF",name:"French Southern Territories (the)"},{code:"TG",name:"Togo"},{code:"TH",name:"Thailand"},{code:"TJ",name:"Tajikistan"},{code:"TK",name:"Tokelau"},{code:"TL",name:"Timor-Leste"},{code:"TM",name:"Turkmenistan"},{code:"TN",name:"Tunisia"},{code:"TO",name:"Tonga"},{code:"TR",name:"T\xFCrkiye"},{code:"TT",name:"Trinidad and Tobago"},{code:"TV",name:"Tuvalu"},{code:"TW",name:"Taiwan (Province of China)"},{code:"TZ",name:"Tanzania, the United Republic of"},{code:"UA",name:"Ukraine"},{code:"UG",name:"Uganda"},{code:"UM",name:"United States Minor Outlying Islands (the)"},{code:"US",name:"United States of America (the)"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VA",name:"Holy See (the)"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"VE",name:"Venezuela (Bolivarian Republic of)"},{code:"VG",name:"Virgin Islands (British)"},{code:"VI",name:"Virgin Islands (U.S.)"},{code:"VN",name:"Viet Nam"},{code:"VU",name:"Vanuatu"},{code:"WF",name:"Wallis and Futuna"},{code:"WS",name:"Samoa"},{code:"YE",name:"Yemen"},{code:"YT",name:"Mayotte"},{code:"ZA",name:"South Africa"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}]});var ja=kt(ze=>{"use strict";var It=Ha(),bi={},xi={};It.forEach(Ua);function Ua(e){bi[e.name.toLowerCase()]=e.code,xi[e.code.toLowerCase()]=e.name}ze.overwrite=function(t){!t||!t.length||t.forEach(function(r){var n=It.findIndex(function(i){return i.code===r.code});It[n]=r,Ua(r)})};ze.getCode=function(t){return bi[t.toLowerCase()]};ze.getName=function(t){return xi[t.toLowerCase()]};ze.getNames=function(){return It.map(function(t){return t.name})};ze.getCodes=function(){return It.map(function(t){return t.code})};ze.getCodeList=function(){return xi};ze.getNameList=function(){return bi};ze.getData=function(){return It}});var Re=(r=>(r.WARNING="warning",r.ERROR="error",r))(Re||{});function Jr(e){if(e)throw e}var mr=pr(no(),1);function Ht(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function en(){let e=[],t={run:r,use:n};return t;function r(...i){let a=-1,o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);l(null,...i);function l(s,...u){let p=e[++a],c=-1;if(s){o(s);return}for(;++c<i.length;)(u[c]===null||u[c]===void 0)&&(u[c]=i[c]);i=u,p?io(p,l)(...u):o(null,...u)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function io(e,t){let r;return n;function n(...o){let l=e.length>o.length,s;l&&o.push(i);try{s=e.apply(this,o)}catch(u){let p=u;if(l&&r)throw p;return i(p)}l||(s&&s.then&&typeof s.then=="function"?s.then(a,i):s instanceof Error?i(s):a(s))}function i(o,...l){r||(r=!0,t(o,...l))}function a(o){i(null,o)}}function Ue(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?oo(e.position):"start"in e||"end"in e?oo(e):"line"in e||"column"in e?tn(e):""}function tn(e){return ao(e&&e.line)+":"+ao(e&&e.column)}function oo(e){return tn(e&&e.start)+"-"+tn(e&&e.end)}function ao(e){return e&&typeof e=="number"?e:1}var ie=class extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},o=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){let s=n.indexOf(":");s===-1?a.ruleId=n:(a.source=n.slice(0,s),a.ruleId=n.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){let s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}let l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=l?l.line:void 0,this.name=Ue(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};ie.prototype.file="";ie.prototype.name="";ie.prototype.reason="";ie.prototype.message="";ie.prototype.stack="";ie.prototype.column=void 0;ie.prototype.line=void 0;ie.prototype.ancestors=void 0;ie.prototype.cause=void 0;ie.prototype.fatal=void 0;ie.prototype.place=void 0;ie.prototype.ruleId=void 0;ie.prototype.source=void 0;var Se={basename:bs,dirname:xs,extname:ks,join:ys,sep:"/"};function bs(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ut(e);let r=0,n=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let o=-1,l=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else o<0&&(a=!0,o=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(n=i):(l=-1,n=o));return r===n?n=o:n<0&&(n=e.length),e.slice(r,n)}function xs(e){if(Ut(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function ks(e){Ut(e);let t=e.length,r=-1,n=0,i=-1,a=0,o;for(;t--;){let l=e.codePointAt(t);if(l===47){if(o){n=t+1;break}continue}r<0&&(o=!0,r=t+1),l===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)}function ys(...e){let t=-1,r;for(;++t<e.length;)Ut(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":vs(r)}function vs(e){Ut(e);let t=e.codePointAt(0)===47,r=Ss(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function Ss(e,t){let r="",n=0,i=-1,a=0,o=-1,l,s;for(;++o<=e.length;){if(o<e.length)l=e.codePointAt(o);else{if(l===47)break;l=47}if(l===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(s=r.lastIndexOf("/"),s!==r.length-1){s<0?(r="",n=0):(r=r.slice(0,s),n=r.length-1-r.lastIndexOf("/")),i=o,a=0;continue}}else if(r.length>0){r="",n=0,i=o,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(i+1,o):r=e.slice(i+1,o),n=o-i-1;i=o,a=0}else l===46&&a>-1?a++:a=-1}return r}function Ut(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var lo={cwd:Ts};function Ts(){return"/"}function yt(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function so(e){if(typeof e=="string")e=new URL(e);else if(!yt(e)){let 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:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Es(e)}function Es(e){if(e.hostname!==""){let n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}let t=e.pathname,r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){let n=t.codePointAt(r+2);if(n===70||n===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}var rn=["history","path","basename","stem","extname","dirname"],jt=class{constructor(t){let r;t?yt(t)?r={path:t}:typeof t=="string"||As(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":lo.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<rn.length;){let a=rn[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)rn.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Se.basename(this.path):void 0}set basename(t){on(t,"basename"),nn(t,"basename"),this.path=Se.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Se.dirname(this.path):void 0}set dirname(t){uo(this.basename,"dirname"),this.path=Se.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Se.extname(this.path):void 0}set extname(t){if(nn(t,"extname"),uo(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=Se.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){yt(t)&&(t=so(t)),on(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Se.basename(this.path,this.extname):void 0}set stem(t){on(t,"stem"),nn(t,"stem"),this.path=Se.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){let i=this.message(t,r,n);throw i.fatal=!0,i}info(t,r,n){let i=this.message(t,r,n);return i.fatal=void 0,i}message(t,r,n){let i=new ie(t,r,n);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 nn(e,t){if(e&&e.includes(Se.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Se.sep+"`")}function on(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function uo(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function As(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var co=(function(e){let n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a});var Cs={}.hasOwnProperty,un=class e extends co{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=en()}copy(){let t=new e,r=-1;for(;++r<this.attachers.length;){let n=this.attachers[r];t.use(...n)}return t.data((0,mr.default)(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(sn("data",this.frozen),this.namespace[t]=r,this):Cs.call(this.namespace,t)&&this.namespace[t]||void 0:t?(sn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let i=r.call(t,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let r=hr(t),n=this.parser||this.Parser;return an("parse",n),n(String(r),r)}process(t,r){let n=this;return this.freeze(),an("process",this.parser||this.Parser),ln("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,o){let l=hr(t),s=n.parse(l);n.run(s,l,function(p,c,h){if(p||!c||!h)return u(p);let f=c,m=n.stringify(f,h);_s(m)?h.value=m:h.result=m,u(p,h)});function u(p,c){p||!c?o(p):a?a(c):r(void 0,c)}}}processSync(t){let r=!1,n;return this.freeze(),an("processSync",this.parser||this.Parser),ln("processSync",this.compiler||this.Compiler),this.process(t,i),fo("processSync","process",r),n;function i(a,o){r=!0,Jr(a),n=o}}run(t,r,n){po(t),this.freeze();let i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(o,l){let s=hr(r);i.run(t,s,u);function u(p,c,h){let f=c||t;p?l(p):o?o(f):n(void 0,f,h)}}}runSync(t,r){let n=!1,i;return this.run(t,r,a),fo("runSync","run",n),i;function a(o,l){Jr(o),i=l,n=!0}}stringify(t,r){this.freeze();let n=hr(r),i=this.compiler||this.Compiler;return ln("stringify",i),po(t),i(t,n)}use(t,...r){let n=this.attachers,i=this.namespace;if(sn("use",this.frozen),t!=null)if(typeof t=="function")s(t,r);else if(typeof t=="object")Array.isArray(t)?l(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(u){if(typeof u=="function")s(u,[]);else if(typeof u=="object")if(Array.isArray(u)){let[p,...c]=u;s(p,c)}else o(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function o(u){if(!("plugins"in u)&&!("settings"in u))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");l(u.plugins),u.settings&&(i.settings=(0,mr.default)(!0,i.settings,u.settings))}function l(u){let p=-1;if(u!=null)if(Array.isArray(u))for(;++p<u.length;){let c=u[p];a(c)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function s(u,p){let c=-1,h=-1;for(;++c<n.length;)if(n[c][0]===u){h=c;break}if(h===-1)n.push([u,...p]);else if(p.length>0){let[f,...m]=p,y=n[h][1];Ht(y)&&Ht(f)&&(f=(0,mr.default)(!0,y,f)),n[h]=[u,f,...m]}}}},Gt=new un().freeze();function an(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function ln(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function sn(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`.")}function po(e){if(!Ht(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function fo(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function hr(e){return qs(e)?e:new jt(e)}function qs(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function _s(e){return typeof e=="string"||Ls(e)}function Ls(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var ee=je(/[A-Za-z]/),te=je(/[\dA-Za-z]/),ho=je(/[#-'*+\--9=?A-Z^-~]/);function nt(e){return e!==null&&(e<32||e===127)}var $t=je(/\d/),mo=je(/[\dA-Fa-f]/),go=je(/[!-/:-@[-`{-~]/);function A(e){return e!==null&&e<-2}function U(e){return e!==null&&(e<0||e===32)}function B(e){return e===-2||e===-1||e===32}var it=je(/\p{P}|\p{S}/u),qe=je(/\s/);function je(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}var bo=pr(wo(),1),Vt=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(r,...n){let i=r&&(0,bo.default)(r,...n);return new e(i)}}var dr={}.hasOwnProperty,xo={yaml:"-",toml:"+"};function vt(e){let t=[],r=-1,n=Array.isArray(e)?e:e?[e]:["yaml"];for(;++r<n.length;)t[r]=Is(n[r]);return t}function Is(e){let t=e;if(typeof t=="string"){if(!dr.call(xo,t))throw Vt("Missing matter definition for `%s`",t);t={type:t,marker:xo[t]}}else if(typeof t!="object")throw Vt("Expected matter to be an object, not `%j`",t);if(!dr.call(t,"type"))throw Vt("Missing `type` in matter `%j`",t);if(!dr.call(t,"fence")&&!dr.call(t,"marker"))throw Vt("Missing `marker` or `fence` in matter `%j`",t);return t}function fn(e){let t=vt(e),r={},n=-1;for(;++n<t.length;){let i=t[n],a=pn(i,"open").charCodeAt(0),o=Bs(i),l=r[a];Array.isArray(l)?l.push(o):r[a]=[o]}return{flow:r}}function Bs(e){let t=e.anywhere,r=e.type,n=r+"Fence",i=n+"Sequence",a=r+"Value",o={tokenize:p,partial:!0},l,s=0;return{tokenize:u,concrete:!0};function u(c,h,f){let m=this;return y;function y(L){let G=m.now();return G.column===1&&(G.line===1||t)&&(l=pn(e,"open"),s=0,L===l.charCodeAt(s))?(c.enter(r),c.enter(n),c.enter(i),k(L)):f(L)}function k(L){return s===l.length?(c.exit(i),B(L)?(c.enter("whitespace"),w(L)):b(L)):L===l.charCodeAt(s++)?(c.consume(L),k):f(L)}function w(L){return B(L)?(c.consume(L),w):(c.exit("whitespace"),b(L))}function b(L){return A(L)?(c.exit(n),c.enter("lineEnding"),c.consume(L),c.exit("lineEnding"),l=pn(e,"close"),s=0,c.attempt(o,T,E)):f(L)}function E(L){return L===null||A(L)?D(L):(c.enter(a),R(L))}function R(L){return L===null||A(L)?(c.exit(a),D(L)):(c.consume(L),R)}function D(L){return L===null?f(L):(c.enter("lineEnding"),c.consume(L),c.exit("lineEnding"),c.attempt(o,T,E))}function T(L){return c.exit(r),h(L)}}function p(c,h,f){let m=0;return y;function y(E){return E===l.charCodeAt(m)?(c.enter(n),c.enter(i),k(E)):f(E)}function k(E){return m===l.length?(c.exit(i),B(E)?(c.enter("whitespace"),w(E)):b(E)):E===l.charCodeAt(m++)?(c.consume(E),k):f(E)}function w(E){return B(E)?(c.consume(E),w):(c.exit("whitespace"),b(E))}function b(E){return E===null||A(E)?(c.exit(n),h(E)):f(E)}}}function pn(e,t){return e.marker?ko(e.marker,t).repeat(3):ko(e.fence,t)}function ko(e,t){return typeof e=="string"?e:e[t]}function Yt(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function mn(e){let t=vt(e),r={},n={},i=-1;for(;++i<t.length;){let a=t[i];r[a.type]=Fs(a),n[a.type]=Ms,n[a.type+"Value"]=Ns}return{enter:r,exit:n}}function Fs(e){return t;function t(r){this.enter({type:e.type,value:""},r),this.buffer()}}function Ms(e){let t=this.resume(),r=this.stack[this.stack.length-1];"value"in r,this.exit(e),r.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function Ns(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function dn(e){let t=[],r={},n=vt(e),i=-1;for(;++i<n.length;){let a=n[i];r[a.type]=Rs(a);let o=hn(a,"open");t.push({atBreak:!0,character:o.charAt(0),after:Yt(o.charAt(1))})}return{unsafe:t,handlers:r}}function Rs(e){let t=hn(e,"open"),r=hn(e,"close");return n;function n(i){return t+(i.value?`
|
|
1
|
+
var cs=Object.create;var yn=Object.defineProperty;var ps=Object.getOwnPropertyDescriptor;var fs=Object.getOwnPropertyNames;var hs=Object.getPrototypeOf,ms=Object.prototype.hasOwnProperty;var ds=(e,n,t)=>n in e?yn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var Nt=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),gs=(e,n)=>{for(var t in n)yn(e,t,{get:n[t],enumerable:!0})},ws=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of fs(n))!ms.call(e,i)&&i!==t&&yn(e,i,{get:()=>n[i],enumerable:!(r=ps(n,i))||r.enumerable});return e};var Tn=(e,n,t)=>(t=e!=null?cs(hs(e)):{},ws(n||!e||!e.__esModule?yn(t,"default",{value:e,enumerable:!0}):t,e));var U=(e,n,t)=>ds(e,typeof n!="symbol"?n+"":n,t);var co=Nt((uh,uo)=>{"use strict";var Sn=Object.prototype.hasOwnProperty,so=Object.prototype.toString,no=Object.defineProperty,ro=Object.getOwnPropertyDescriptor,io=function(n){return typeof Array.isArray=="function"?Array.isArray(n):so.call(n)==="[object Array]"},oo=function(n){if(!n||so.call(n)!=="[object Object]")return!1;var t=Sn.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&Sn.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i>"u"||Sn.call(n,i)},ao=function(n,t){no&&t.name==="__proto__"?no(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},lo=function(n,t){if(t==="__proto__")if(Sn.call(n,t)){if(ro)return ro(n,t).value}else return;return n[t]};uo.exports=function e(){var n,t,r,i,a,o,s=arguments[0],u=1,c=arguments.length,p=!1;for(typeof s=="boolean"&&(p=s,s=arguments[1]||{},u=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});u<c;++u)if(n=arguments[u],n!=null)for(t in n)r=lo(s,t),i=lo(n,t),s!==i&&(p&&i&&(oo(i)||(a=io(i)))?(a?(a=!1,o=r&&io(r)?r:[]):o=r&&oo(r)?r:{},ao(s,{name:t,newValue:e(p,o,i)})):typeof i<"u"&&ao(s,{name:t,newValue:i}));return s}});var Eo=Nt((Gh,pr)=>{(function(){var e;typeof pr<"u"?e=pr.exports=r:e=(function(){return this||(0,eval)("this")})(),e.format=r,e.vsprintf=t,typeof console<"u"&&typeof console.log=="function"&&(e.printf=n);function n(){console.log(r.apply(null,arguments))}function t(i,a){return r.apply(null,[i].concat(a))}function r(i){for(var a=1,o=[].slice.call(arguments),s=0,u=i.length,c="",p,f=!1,d,m,x=!1,I,A=function(){return o[a++]},k=function(){for(var E="";/\d/.test(i[s]);)E+=i[s++],p=i[s];return E.length>0?parseInt(E):null};s<u;++s)if(p=i[s],f)switch(f=!1,p=="."?(x=!1,p=i[++s]):p=="0"&&i[s+1]=="."?(x=!0,s+=2,p=i[s]):x=!0,I=k(),p){case"b":c+=parseInt(A(),10).toString(2);break;case"c":d=A(),typeof d=="string"||d instanceof String?c+=d:c+=String.fromCharCode(parseInt(d,10));break;case"d":c+=parseInt(A(),10);break;case"f":m=String(parseFloat(A()).toFixed(I||6)),c+=x?m:m.replace(/^0/,"");break;case"j":c+=JSON.stringify(A());break;case"o":c+="0"+parseInt(A(),10).toString(8);break;case"s":c+=A();break;case"x":c+="0x"+parseInt(A(),10).toString(16);break;case"X":c+="0x"+parseInt(A(),10).toString(16).toUpperCase();break;default:c+=p;break}else p==="%"?f=!0:c+=p;return c}})()});var Ua=Nt((Dy,Ha)=>{Ha.exports=[{name:"Abkhaz",local:"\u0410\u04A7\u0441\u0443\u0430",1:"ab",2:"abk","2T":"abk","2B":"abk",3:"abk"},{name:"Afar",local:"Afaraf",1:"aa",2:"aar","2T":"aar","2B":"aar",3:"aar"},{name:"Afrikaans",local:"Afrikaans",1:"af",2:"afr","2T":"afr","2B":"afr",3:"afr"},{name:"Akan",local:"Akan",1:"ak",2:"aka","2T":"aka","2B":"aka",3:"aka"},{name:"Albanian",local:"Shqip",1:"sq",2:"sqi","2T":"sqi","2B":"alb",3:"sqi"},{name:"Amharic",local:"\u12A0\u121B\u122D\u129B",1:"am",2:"amh","2T":"amh","2B":"amh",3:"amh"},{name:"Arabic",local:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",1:"ar",2:"ara","2T":"ara","2B":"ara",3:"ara"},{name:"Aragonese",local:"Aragon\xE9s",1:"an",2:"arg","2T":"arg","2B":"arg",3:"arg"},{name:"Armenian",local:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",1:"hy",2:"hye","2T":"hye","2B":"arm",3:"hye"},{name:"Assamese",local:"\u0985\u09B8\u09AE\u09C0\u09AF\u09BC\u09BE",1:"as",2:"asm","2T":"asm","2B":"asm",3:"asm"},{name:"Avaric",local:"\u0410\u0432\u0430\u0440",1:"av",2:"ava","2T":"ava","2B":"ava",3:"ava"},{name:"Avestan",local:"avesta",1:"ae",2:"ave","2T":"ave","2B":"ave",3:"ave"},{name:"Aymara",local:"Aymar",1:"ay",2:"aym","2T":"aym","2B":"aym",3:"aym"},{name:"Azerbaijani",local:"Az\u0259rbaycanca",1:"az",2:"aze","2T":"aze","2B":"aze",3:"aze"},{name:"Bambara",local:"Bamanankan",1:"bm",2:"bam","2T":"bam","2B":"bam",3:"bam"},{name:"Bashkir",local:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",1:"ba",2:"bak","2T":"bak","2B":"bak",3:"bak"},{name:"Basque",local:"Euskara",1:"eu",2:"eus","2T":"eus","2B":"baq",3:"eus"},{name:"Belarusian",local:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F",1:"be",2:"bel","2T":"bel","2B":"bel",3:"bel"},{name:"Bengali",local:"\u09AC\u09BE\u0982\u09B2\u09BE",1:"bn",2:"ben","2T":"ben","2B":"ben",3:"ben"},{name:"Bihari",local:"\u092D\u094B\u091C\u092A\u0941\u0930\u0940",1:"bh",2:"bih","2T":"bih","2B":"bih",3:"bih"},{name:"Bislama",local:"Bislama",1:"bi",2:"bis","2T":"bis","2B":"bis",3:"bis"},{name:"Bosnian",local:"Bosanski",1:"bs",2:"bos","2T":"bos","2B":"bos",3:"bos"},{name:"Breton",local:"Brezhoneg",1:"br",2:"bre","2T":"bre","2B":"bre",3:"bre"},{name:"Bulgarian",local:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",1:"bg",2:"bul","2T":"bul","2B":"bul",3:"bul"},{name:"Burmese",local:"\u1019\u103C\u1014\u103A\u1019\u102C\u1018\u102C\u101E\u102C",1:"my",2:"mya","2T":"mya","2B":"bur",3:"mya"},{name:"Catalan",local:"Catal\xE0",1:"ca",2:"cat","2T":"cat","2B":"cat",3:"cat"},{name:"Chamorro",local:"Chamoru",1:"ch",2:"cha","2T":"cha","2B":"cha",3:"cha"},{name:"Chechen",local:"\u041D\u043E\u0445\u0447\u0438\u0439\u043D",1:"ce",2:"che","2T":"che","2B":"che",3:"che"},{name:"Chichewa",local:"Chichewa",1:"ny",2:"nya","2T":"nya","2B":"nya",3:"nya"},{name:"Chinese",local:"\u4E2D\u6587",1:"zh",2:"zho","2T":"zho","2B":"chi",3:"zho"},{name:"Chuvash",local:"\u0427\u04D1\u0432\u0430\u0448\u043B\u0430",1:"cv",2:"chv","2T":"chv","2B":"chv",3:"chv"},{name:"Cornish",local:"Kernewek",1:"kw",2:"cor","2T":"cor","2B":"cor",3:"cor"},{name:"Corsican",local:"Corsu",1:"co",2:"cos","2T":"cos","2B":"cos",3:"cos"},{name:"Cree",local:"\u14C0\u1426\u1403\u152D\u140D\u140F\u1423",1:"cr",2:"cre","2T":"cre","2B":"cre",3:"cre"},{name:"Croatian",local:"Hrvatski",1:"hr",2:"hrv","2T":"hrv","2B":"hrv",3:"hrv"},{name:"Czech",local:"\u010Ce\u0161tina",1:"cs",2:"ces","2T":"ces","2B":"cze",3:"ces"},{name:"Danish",local:"Dansk",1:"da",2:"dan","2T":"dan","2B":"dan",3:"dan"},{name:"Divehi",local:"Divehi",1:"dv",2:"div","2T":"div","2B":"div",3:"div"},{name:"Dutch",local:"Nederlands",1:"nl",2:"nld","2T":"nld","2B":"dut",3:"nld"},{name:"Dzongkha",local:"\u0F62\u0FAB\u0F7C\u0F44\u0F0B\u0F41",1:"dz",2:"dzo","2T":"dzo","2B":"dzo",3:"dzo"},{name:"English",local:"English",1:"en",2:"eng","2T":"eng","2B":"eng",3:"eng"},{name:"Esperanto",local:"Esperanto",1:"eo",2:"epo","2T":"epo","2B":"epo",3:"epo"},{name:"Estonian",local:"Eesti",1:"et",2:"est","2T":"est","2B":"est",3:"est"},{name:"Ewe",local:"E\u028Begbe",1:"ee",2:"ewe","2T":"ewe","2B":"ewe",3:"ewe"},{name:"Faroese",local:"F\xF8royskt",1:"fo",2:"fao","2T":"fao","2B":"fao",3:"fao"},{name:"Fijian",local:"Na Vosa Vaka-Viti",1:"fj",2:"fij","2T":"fij","2B":"fij",3:"fij"},{name:"Finnish",local:"Suomi",1:"fi",2:"fin","2T":"fin","2B":"fin",3:"fin"},{name:"French",local:"Fran\xE7ais",1:"fr",2:"fra","2T":"fra","2B":"fre",3:"fra"},{name:"Fula",local:"Fulfulde",1:"ff",2:"ful","2T":"ful","2B":"ful",3:"ful"},{name:"Galician",local:"Galego",1:"gl",2:"glg","2T":"glg","2B":"glg",3:"glg"},{name:"Georgian",local:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",1:"ka",2:"kat","2T":"kat","2B":"geo",3:"kat"},{name:"German",local:"Deutsch",1:"de",2:"deu","2T":"deu","2B":"ger",3:"deu"},{name:"Greek",local:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",1:"el",2:"ell","2T":"ell","2B":"gre",3:"ell"},{name:"Guaran\xED",local:"Ava\xF1e'\u1EBD",1:"gn",2:"grn","2T":"grn","2B":"grn",3:"grn"},{name:"Gujarati",local:"\u0A97\u0AC1\u0A9C\u0AB0\u0ABE\u0AA4\u0AC0",1:"gu",2:"guj","2T":"guj","2B":"guj",3:"guj"},{name:"Haitian",local:"Krey\xF2l Ayisyen",1:"ht",2:"hat","2T":"hat","2B":"hat",3:"hat"},{name:"Hausa",local:"\u0647\u064E\u0648\u064F\u0633\u064E",1:"ha",2:"hau","2T":"hau","2B":"hau",3:"hau"},{name:"Hebrew",local:"\u05E2\u05D1\u05E8\u05D9\u05EA",1:"he",2:"heb","2T":"heb","2B":"heb",3:"heb"},{name:"Herero",local:"Otjiherero",1:"hz",2:"her","2T":"her","2B":"her",3:"her"},{name:"Hindi",local:"\u0939\u093F\u0928\u094D\u0926\u0940",1:"hi",2:"hin","2T":"hin","2B":"hin",3:"hin"},{name:"Hiri Motu",local:"Hiri Motu",1:"ho",2:"hmo","2T":"hmo","2B":"hmo",3:"hmo"},{name:"Hungarian",local:"Magyar",1:"hu",2:"hun","2T":"hun","2B":"hun",3:"hun"},{name:"Interlingua",local:"Interlingua",1:"ia",2:"ina","2T":"ina","2B":"ina",3:"ina"},{name:"Indonesian",local:"Bahasa Indonesia",1:"id",2:"ind","2T":"ind","2B":"ind",3:"ind"},{name:"Interlingue",local:"Interlingue",1:"ie",2:"ile","2T":"ile","2B":"ile",3:"ile"},{name:"Irish",local:"Gaeilge",1:"ga",2:"gle","2T":"gle","2B":"gle",3:"gle"},{name:"Igbo",local:"Igbo",1:"ig",2:"ibo","2T":"ibo","2B":"ibo",3:"ibo"},{name:"Inupiaq",local:"I\xF1upiak",1:"ik",2:"ipk","2T":"ipk","2B":"ipk",3:"ipk"},{name:"Ido",local:"Ido",1:"io",2:"ido","2T":"ido","2B":"ido",3:"ido"},{name:"Icelandic",local:"\xCDslenska",1:"is",2:"isl","2T":"isl","2B":"ice",3:"isl"},{name:"Italian",local:"Italiano",1:"it",2:"ita","2T":"ita","2B":"ita",3:"ita"},{name:"Inuktitut",local:"\u1403\u14C4\u1483\u144E\u1450\u1466",1:"iu",2:"iku","2T":"iku","2B":"iku",3:"iku"},{name:"Japanese",local:"\u65E5\u672C\u8A9E",1:"ja",2:"jpn","2T":"jpn","2B":"jpn",3:"jpn"},{name:"Javanese",local:"Basa Jawa",1:"jv",2:"jav","2T":"jav","2B":"jav",3:"jav"},{name:"Kalaallisut",local:"Kalaallisut",1:"kl",2:"kal","2T":"kal","2B":"kal",3:"kal"},{name:"Kannada",local:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",1:"kn",2:"kan","2T":"kan","2B":"kan",3:"kan"},{name:"Kanuri",local:"Kanuri",1:"kr",2:"kau","2T":"kau","2B":"kau",3:"kau"},{name:"Kashmiri",local:"\u0643\u0634\u0645\u064A\u0631\u064A",1:"ks",2:"kas","2T":"kas","2B":"kas",3:"kas"},{name:"Kazakh",local:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",1:"kk",2:"kaz","2T":"kaz","2B":"kaz",3:"kaz"},{name:"Khmer",local:"\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A",1:"km",2:"khm","2T":"khm","2B":"khm",3:"khm"},{name:"Kikuyu",local:"G\u0129k\u0169y\u0169",1:"ki",2:"kik","2T":"kik","2B":"kik",3:"kik"},{name:"Kinyarwanda",local:"Kinyarwanda",1:"rw",2:"kin","2T":"kin","2B":"kin",3:"kin"},{name:"Kyrgyz",local:"\u041A\u044B\u0440\u0433\u044B\u0437\u0447\u0430",1:"ky",2:"kir","2T":"kir","2B":"kir",3:"kir"},{name:"Komi",local:"\u041A\u043E\u043C\u0438",1:"kv",2:"kom","2T":"kom","2B":"kom",3:"kom"},{name:"Kongo",local:"Kongo",1:"kg",2:"kon","2T":"kon","2B":"kon",3:"kon"},{name:"Korean",local:"\uD55C\uAD6D\uC5B4",1:"ko",2:"kor","2T":"kor","2B":"kor",3:"kor"},{name:"Kurdish",local:"Kurd\xEE",1:"ku",2:"kur","2T":"kur","2B":"kur",3:"kur"},{name:"Kwanyama",local:"Kuanyama",1:"kj",2:"kua","2T":"kua","2B":"kua",3:"kua"},{name:"Latin",local:"Latina",1:"la",2:"lat","2T":"lat","2B":"lat",3:"lat"},{name:"Luxembourgish",local:"L\xEBtzebuergesch",1:"lb",2:"ltz","2T":"ltz","2B":"ltz",3:"ltz"},{name:"Ganda",local:"Luganda",1:"lg",2:"lug","2T":"lug","2B":"lug",3:"lug"},{name:"Limburgish",local:"Limburgs",1:"li",2:"lim","2T":"lim","2B":"lim",3:"lim"},{name:"Lingala",local:"Ling\xE1la",1:"ln",2:"lin","2T":"lin","2B":"lin",3:"lin"},{name:"Lao",local:"\u0E9E\u0EB2\u0EAA\u0EB2\u0EA5\u0EB2\u0EA7",1:"lo",2:"lao","2T":"lao","2B":"lao",3:"lao"},{name:"Lithuanian",local:"Lietuvi\u0173",1:"lt",2:"lit","2T":"lit","2B":"lit",3:"lit"},{name:"Luba-Katanga",local:"Tshiluba",1:"lu",2:"lub","2T":"lub","2B":"lub",3:"lub"},{name:"Latvian",local:"Latvie\u0161u",1:"lv",2:"lav","2T":"lav","2B":"lav",3:"lav"},{name:"Manx",local:"Gaelg",1:"gv",2:"glv","2T":"glv","2B":"glv",3:"glv"},{name:"Macedonian",local:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438",1:"mk",2:"mkd","2T":"mkd","2B":"mac",3:"mkd"},{name:"Malagasy",local:"Malagasy",1:"mg",2:"mlg","2T":"mlg","2B":"mlg",3:"mlg"},{name:"Malay",local:"Bahasa Melayu",1:"ms",2:"msa","2T":"msa","2B":"may",3:"msa"},{name:"Malayalam",local:"\u0D2E\u0D32\u0D2F\u0D3E\u0D33\u0D02",1:"ml",2:"mal","2T":"mal","2B":"mal",3:"mal"},{name:"Maltese",local:"Malti",1:"mt",2:"mlt","2T":"mlt","2B":"mlt",3:"mlt"},{name:"M\u0101ori",local:"M\u0101ori",1:"mi",2:"mri","2T":"mri","2B":"mao",3:"mri"},{name:"Marathi",local:"\u092E\u0930\u093E\u0920\u0940",1:"mr",2:"mar","2T":"mar","2B":"mar",3:"mar"},{name:"Marshallese",local:"Kajin M\u0327aje\u013C",1:"mh",2:"mah","2T":"mah","2B":"mah",3:"mah"},{name:"Mongolian",local:"\u041C\u043E\u043D\u0433\u043E\u043B",1:"mn",2:"mon","2T":"mon","2B":"mon",3:"mon"},{name:"Nauru",local:"Dorerin Naoero",1:"na",2:"nau","2T":"nau","2B":"nau",3:"nau"},{name:"Navajo",local:"Din\xE9 Bizaad",1:"nv",2:"nav","2T":"nav","2B":"nav",3:"nav"},{name:"Northern Ndebele",local:"isiNdebele",1:"nd",2:"nde","2T":"nde","2B":"nde",3:"nde"},{name:"Nepali",local:"\u0928\u0947\u092A\u093E\u0932\u0940",1:"ne",2:"nep","2T":"nep","2B":"nep",3:"nep"},{name:"Ndonga",local:"Owambo",1:"ng",2:"ndo","2T":"ndo","2B":"ndo",3:"ndo"},{name:"Norwegian Bokm\xE5l",local:"Norsk (Bokm\xE5l)",1:"nb",2:"nob","2T":"nob","2B":"nob",3:"nob"},{name:"Norwegian Nynorsk",local:"Norsk (Nynorsk)",1:"nn",2:"nno","2T":"nno","2B":"nno",3:"nno"},{name:"Norwegian",local:"Norsk",1:"no",2:"nor","2T":"nor","2B":"nor",3:"nor"},{name:"Nuosu",local:"\uA188\uA320\uA4BF Nuosuhxop",1:"ii",2:"iii","2T":"iii","2B":"iii",3:"iii"},{name:"Southern Ndebele",local:"isiNdebele",1:"nr",2:"nbl","2T":"nbl","2B":"nbl",3:"nbl"},{name:"Occitan",local:"Occitan",1:"oc",2:"oci","2T":"oci","2B":"oci",3:"oci"},{name:"Ojibwe",local:"\u140A\u14C2\u1511\u14C8\u142F\u14A7\u140E\u14D0",1:"oj",2:"oji","2T":"oji","2B":"oji",3:"oji"},{name:"Old Church Slavonic",local:"\u0421\u043B\u043E\u0432\u0463\u0301\u043D\u044C\u0441\u043A\u044A",1:"cu",2:"chu","2T":"chu","2B":"chu",3:"chu"},{name:"Oromo",local:"Afaan Oromoo",1:"om",2:"orm","2T":"orm","2B":"orm",3:"orm"},{name:"Oriya",local:"\u0B13\u0B21\u0B3F\u0B3C\u0B06",1:"or",2:"ori","2T":"ori","2B":"ori",3:"ori"},{name:"Ossetian",local:"\u0418\u0440\u043E\u043D \xE6\u0432\u0437\u0430\u0433",1:"os",2:"oss","2T":"oss","2B":"oss",3:"oss"},{name:"Panjabi",local:"\u0A2A\u0A70\u0A1C\u0A3E\u0A2C\u0A40",1:"pa",2:"pan","2T":"pan","2B":"pan",3:"pan"},{name:"P\u0101li",local:"\u092A\u093E\u0934\u093F",1:"pi",2:"pli","2T":"pli","2B":"pli",3:"pli"},{name:"Persian",local:"\u0641\u0627\u0631\u0633\u06CC",1:"fa",2:"fas","2T":"fas","2B":"per",3:"fas"},{name:"Polish",local:"Polski",1:"pl",2:"pol","2T":"pol","2B":"pol",3:"pol"},{name:"Pashto",local:"\u067E\u069A\u062A\u0648",1:"ps",2:"pus","2T":"pus","2B":"pus",3:"pus"},{name:"Portuguese",local:"Portugu\xEAs",1:"pt",2:"por","2T":"por","2B":"por",3:"por"},{name:"Quechua",local:"Runa Simi",1:"qu",2:"que","2T":"que","2B":"que",3:"que"},{name:"Romansh",local:"Rumantsch",1:"rm",2:"roh","2T":"roh","2B":"roh",3:"roh"},{name:"Kirundi",local:"Kirundi",1:"rn",2:"run","2T":"run","2B":"run",3:"run"},{name:"Romanian",local:"Rom\xE2n\u0103",1:"ro",2:"ron","2T":"ron","2B":"rum",3:"ron"},{name:"Russian",local:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",1:"ru",2:"rus","2T":"rus","2B":"rus",3:"rus"},{name:"Sanskrit",local:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924\u092E\u094D",1:"sa",2:"san","2T":"san","2B":"san",3:"san"},{name:"Sardinian",local:"Sardu",1:"sc",2:"srd","2T":"srd","2B":"srd",3:"srd"},{name:"Sindhi",local:"\u0633\u0646\u068C\u064A\u200E",1:"sd",2:"snd","2T":"snd","2B":"snd",3:"snd"},{name:"Northern Sami",local:"S\xE1megiella",1:"se",2:"sme","2T":"sme","2B":"sme",3:"sme"},{name:"Samoan",local:"Gagana S\u0101moa",1:"sm",2:"smo","2T":"smo","2B":"smo",3:"smo"},{name:"Sango",local:"S\xE4ng\xF6",1:"sg",2:"sag","2T":"sag","2B":"sag",3:"sag"},{name:"Serbian",local:"\u0421\u0440\u043F\u0441\u043A\u0438",1:"sr",2:"srp","2T":"srp","2B":"srp",3:"srp"},{name:"Gaelic",local:"G\xE0idhlig",1:"gd",2:"gla","2T":"gla","2B":"gla",3:"gla"},{name:"Shona",local:"ChiShona",1:"sn",2:"sna","2T":"sna","2B":"sna",3:"sna"},{name:"Sinhala",local:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",1:"si",2:"sin","2T":"sin","2B":"sin",3:"sin"},{name:"Slovak",local:"Sloven\u010Dina",1:"sk",2:"slk","2T":"slk","2B":"slo",3:"slk"},{name:"Slovene",local:"Sloven\u0161\u010Dina",1:"sl",2:"slv","2T":"slv","2B":"slv",3:"slv"},{name:"Somali",local:"Soomaaliga",1:"so",2:"som","2T":"som","2B":"som",3:"som"},{name:"Southern Sotho",local:"Sesotho",1:"st",2:"sot","2T":"sot","2B":"sot",3:"sot"},{name:"Spanish",local:"Espa\xF1ol",1:"es",2:"spa","2T":"spa","2B":"spa",3:"spa"},{name:"Sundanese",local:"Basa Sunda",1:"su",2:"sun","2T":"sun","2B":"sun",3:"sun"},{name:"Swahili",local:"Kiswahili",1:"sw",2:"swa","2T":"swa","2B":"swa",3:"swa"},{name:"Swati",local:"SiSwati",1:"ss",2:"ssw","2T":"ssw","2B":"ssw",3:"ssw"},{name:"Swedish",local:"Svenska",1:"sv",2:"swe","2T":"swe","2B":"swe",3:"swe"},{name:"Tamil",local:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",1:"ta",2:"tam","2T":"tam","2B":"tam",3:"tam"},{name:"Telugu",local:"\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41",1:"te",2:"tel","2T":"tel","2B":"tel",3:"tel"},{name:"Tajik",local:"\u0422\u043E\u04B7\u0438\u043A\u04E3",1:"tg",2:"tgk","2T":"tgk","2B":"tgk",3:"tgk"},{name:"Thai",local:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",1:"th",2:"tha","2T":"tha","2B":"tha",3:"tha"},{name:"Tigrinya",local:"\u1275\u130D\u122D\u129B",1:"ti",2:"tir","2T":"tir","2B":"tir",3:"tir"},{name:"Tibetan Standard",local:"\u0F56\u0F7C\u0F51\u0F0B\u0F61\u0F72\u0F42",1:"bo",2:"bod","2T":"bod","2B":"tib",3:"bod"},{name:"Turkmen",local:"T\xFCrkmen\xE7e",1:"tk",2:"tuk","2T":"tuk","2B":"tuk",3:"tuk"},{name:"Tagalog",local:"Tagalog",1:"tl",2:"tgl","2T":"tgl","2B":"tgl",3:"tgl"},{name:"Tswana",local:"Setswana",1:"tn",2:"tsn","2T":"tsn","2B":"tsn",3:"tsn"},{name:"Tonga",local:"faka Tonga",1:"to",2:"ton","2T":"ton","2B":"ton",3:"ton"},{name:"Turkish",local:"T\xFCrk\xE7e",1:"tr",2:"tur","2T":"tur","2B":"tur",3:"tur"},{name:"Tsonga",local:"Xitsonga",1:"ts",2:"tso","2T":"tso","2B":"tso",3:"tso"},{name:"Tatar",local:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",1:"tt",2:"tat","2T":"tat","2B":"tat",3:"tat"},{name:"Twi",local:"Twi",1:"tw",2:"twi","2T":"twi","2B":"twi",3:"twi"},{name:"Tahitian",local:"Reo M\u0101\u2019ohi",1:"ty",2:"tah","2T":"tah","2B":"tah",3:"tah"},{name:"Uyghur",local:"\u0626\u06C7\u064A\u063A\u06C7\u0631\u0686\u0647",1:"ug",2:"uig","2T":"uig","2B":"uig",3:"uig"},{name:"Ukrainian",local:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",1:"uk",2:"ukr","2T":"ukr","2B":"ukr",3:"ukr"},{name:"Urdu",local:"\u0627\u0631\u062F\u0648",1:"ur",2:"urd","2T":"urd","2B":"urd",3:"urd"},{name:"Uzbek",local:"O\u2018zbek",1:"uz",2:"uzb","2T":"uzb","2B":"uzb",3:"uzb"},{name:"Venda",local:"Tshiven\u1E13a",1:"ve",2:"ven","2T":"ven","2B":"ven",3:"ven"},{name:"Vietnamese",local:"Ti\u1EBFng Vi\u1EC7t",1:"vi",2:"vie","2T":"vie","2B":"vie",3:"vie"},{name:"Volap\xFCk",local:"Volap\xFCk",1:"vo",2:"vol","2T":"vol","2B":"vol",3:"vol"},{name:"Walloon",local:"Walon",1:"wa",2:"wln","2T":"wln","2B":"wln",3:"wln"},{name:"Welsh",local:"Cymraeg",1:"cy",2:"cym","2T":"cym","2B":"wel",3:"cym"},{name:"Wolof",local:"Wolof",1:"wo",2:"wol","2T":"wol","2B":"wol",3:"wol"},{name:"Western Frisian",local:"Frysk",1:"fy",2:"fry","2T":"fry","2B":"fry",3:"fry"},{name:"Xhosa",local:"isiXhosa",1:"xh",2:"xho","2T":"xho","2B":"xho",3:"xho"},{name:"Yiddish",local:"\u05D9\u05D9\u05B4\u05D3\u05D9\u05E9",1:"yi",2:"yid","2T":"yid","2B":"yid",3:"yid"},{name:"Yoruba",local:"Yor\xF9b\xE1",1:"yo",2:"yor","2T":"yor","2B":"yor",3:"yor"},{name:"Zhuang",local:"Cuengh",1:"za",2:"zha","2T":"zha","2B":"zha",3:"zha"},{name:"Zulu",local:"isiZulu",1:"zu",2:"zul","2T":"zul","2B":"zul",3:"zul"}]});var Va=Nt((Oy,$a)=>{var Yt=Ua(),Pp={all:Hp,has:Up,codes:jp,names:Gp,where:ja};$a.exports=Pp;function Hp(){return Yt}function Up(e,n){return ja(e,n)!==void 0}function jp(e){if($p(e))return Ga(Yt,function(t){return t[e]})}function Gp(e){return Ga(Yt,function(t){return e?t.local:t.name})}function ja(e,n){for(var t=0;t<Yt.length;t++)if(n===Yt[t][e])return Yt[t]}function Ga(e,n){var t=[],r;for(r=0;r<e.length;r++)t.push(n(e[r],r));return t}function $p(e){var n=[1,2,3,"1","2","2B","2T","3"];return n.indexOf(e)!==-1}});var Ya=Nt((zy,Vp)=>{Vp.exports=[{code:"AD",name:"Andorra"},{code:"AE",name:"United Arab Emirates (the)"},{code:"AF",name:"Afghanistan"},{code:"AG",name:"Antigua and Barbuda"},{code:"AI",name:"Anguilla"},{code:"AL",name:"Albania"},{code:"AM",name:"Armenia"},{code:"AO",name:"Angola"},{code:"AQ",name:"Antarctica"},{code:"AR",name:"Argentina"},{code:"AS",name:"American Samoa"},{code:"AT",name:"Austria"},{code:"AU",name:"Australia"},{code:"AW",name:"Aruba"},{code:"AX",name:"\xC5land Islands"},{code:"AZ",name:"Azerbaijan"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BB",name:"Barbados"},{code:"BD",name:"Bangladesh"},{code:"BE",name:"Belgium"},{code:"BF",name:"Burkina Faso"},{code:"BG",name:"Bulgaria"},{code:"BH",name:"Bahrain"},{code:"BI",name:"Burundi"},{code:"BJ",name:"Benin"},{code:"BL",name:"Saint Barth\xE9lemy"},{code:"BM",name:"Bermuda"},{code:"BN",name:"Brunei Darussalam"},{code:"BO",name:"Bolivia (Plurinational State of)"},{code:"BQ",name:"Bonaire, Sint Eustatius and Saba"},{code:"BR",name:"Brazil"},{code:"BS",name:"Bahamas (The)"},{code:"BT",name:"Bhutan"},{code:"BV",name:"Bouvet Island"},{code:"BW",name:"Botswana"},{code:"BY",name:"Belarus"},{code:"BZ",name:"Belize"},{code:"CA",name:"Canada"},{code:"CC",name:"Cocos (Keeling) Islands (the)"},{code:"CD",name:"Congo (the Democratic Republic of the)"},{code:"CF",name:"Central African Republic (the)"},{code:"CG",name:"Congo (the)"},{code:"CH",name:"Switzerland"},{code:"CI",name:"C\xF4te d'Ivoire"},{code:"CK",name:"Cook Islands (the)"},{code:"CL",name:"Chile"},{code:"CM",name:"Cameroon"},{code:"CN",name:"China"},{code:"CO",name:"Colombia"},{code:"CR",name:"Costa Rica"},{code:"CU",name:"Cuba"},{code:"CV",name:"Cabo Verde"},{code:"CW",name:"Cura\xE7ao"},{code:"CX",name:"Christmas Island"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czechia"},{code:"DE",name:"Germany"},{code:"DJ",name:"Djibouti"},{code:"DK",name:"Denmark"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic (the)"},{code:"DZ",name:"Algeria"},{code:"EC",name:"Ecuador"},{code:"EE",name:"Estonia"},{code:"EG",name:"Egypt"},{code:"EH",name:"Western Sahara*"},{code:"ER",name:"Eritrea"},{code:"ES",name:"Spain"},{code:"ET",name:"Ethiopia"},{code:"FI",name:"Finland"},{code:"FJ",name:"Fiji"},{code:"FK",name:"Falkland Islands (the) [Malvinas]"},{code:"FM",name:"Micronesia (Federated States of)"},{code:"FO",name:"Faroe Islands (the)"},{code:"FR",name:"France"},{code:"GA",name:"Gabon"},{code:"GB",name:"United Kingdom of Great Britain and Northern Ireland (the)"},{code:"GD",name:"Grenada"},{code:"GE",name:"Georgia"},{code:"GF",name:"French Guiana"},{code:"GG",name:"Guernsey"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GL",name:"Greenland"},{code:"GM",name:"Gambia (the)"},{code:"GN",name:"Guinea"},{code:"GP",name:"Guadeloupe"},{code:"GQ",name:"Equatorial Guinea"},{code:"GR",name:"Greece"},{code:"GS",name:"South Georgia and the South Sandwich Islands"},{code:"GT",name:"Guatemala"},{code:"GU",name:"Guam"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HK",name:"Hong Kong"},{code:"HM",name:"Heard Island and McDonald Islands"},{code:"HN",name:"Honduras"},{code:"HR",name:"Croatia"},{code:"HT",name:"Haiti"},{code:"HU",name:"Hungary"},{code:"ID",name:"Indonesia"},{code:"IE",name:"Ireland"},{code:"IL",name:"Israel"},{code:"IM",name:"Isle of Man"},{code:"IN",name:"India"},{code:"IO",name:"British Indian Ocean Territory (the)"},{code:"IQ",name:"Iraq"},{code:"IR",name:"Iran (Islamic Republic of)"},{code:"IS",name:"Iceland"},{code:"IT",name:"Italy"},{code:"JE",name:"Jersey"},{code:"JM",name:"Jamaica"},{code:"JO",name:"Jordan"},{code:"JP",name:"Japan"},{code:"KE",name:"Kenya"},{code:"KG",name:"Kyrgyzstan"},{code:"KH",name:"Cambodia"},{code:"KI",name:"Kiribati"},{code:"KM",name:"Comoros (the)"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"KP",name:"Korea (the Democratic People's Republic of)"},{code:"KR",name:"Korea (the Republic of)"},{code:"KW",name:"Kuwait"},{code:"KY",name:"Cayman Islands (the)"},{code:"KZ",name:"Kazakhstan"},{code:"LA",name:"Lao People's Democratic Republic (the)"},{code:"LB",name:"Lebanon"},{code:"LC",name:"Saint Lucia"},{code:"LI",name:"Liechtenstein"},{code:"LK",name:"Sri Lanka"},{code:"LR",name:"Liberia"},{code:"LS",name:"Lesotho"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"LV",name:"Latvia"},{code:"LY",name:"Libya"},{code:"MA",name:"Morocco"},{code:"MC",name:"Monaco"},{code:"MD",name:"Moldova (the Republic of)"},{code:"ME",name:"Montenegro"},{code:"MF",name:"Saint Martin (French part)"},{code:"MG",name:"Madagascar"},{code:"MH",name:"Marshall Islands (the)"},{code:"MK",name:"North Macedonia"},{code:"ML",name:"Mali"},{code:"MM",name:"Myanmar"},{code:"MN",name:"Mongolia"},{code:"MO",name:"Macao"},{code:"MP",name:"Northern Mariana Islands (the)"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MS",name:"Montserrat"},{code:"MT",name:"Malta"},{code:"MU",name:"Mauritius"},{code:"MV",name:"Maldives"},{code:"MW",name:"Malawi"},{code:"MX",name:"Mexico"},{code:"MY",name:"Malaysia"},{code:"MZ",name:"Mozambique"},{code:"NA",name:"Namibia"},{code:"NC",name:"New Caledonia"},{code:"NE",name:"Niger (the)"},{code:"NF",name:"Norfolk Island"},{code:"NG",name:"Nigeria"},{code:"NI",name:"Nicaragua"},{code:"NL",name:"Netherlands (Kingdom of the)"},{code:"NO",name:"Norway"},{code:"NP",name:"Nepal"},{code:"NR",name:"Nauru"},{code:"NU",name:"Niue"},{code:"NZ",name:"New Zealand"},{code:"OM",name:"Oman"},{code:"PA",name:"Panama"},{code:"PE",name:"Peru"},{code:"PF",name:"French Polynesia"},{code:"PG",name:"Papua New Guinea"},{code:"PH",name:"Philippines (the)"},{code:"PK",name:"Pakistan"},{code:"PL",name:"Poland"},{code:"PM",name:"Saint Pierre and Miquelon"},{code:"PN",name:"Pitcairn"},{code:"PR",name:"Puerto Rico"},{code:"PS",name:"Palestine, State of"},{code:"PT",name:"Portugal"},{code:"PW",name:"Palau"},{code:"PY",name:"Paraguay"},{code:"QA",name:"Qatar"},{code:"RE",name:"R\xE9union"},{code:"RO",name:"Romania"},{code:"RS",name:"Serbia"},{code:"RU",name:"Russian Federation (the)"},{code:"RW",name:"Rwanda"},{code:"SA",name:"Saudi Arabia"},{code:"SB",name:"Solomon Islands"},{code:"SC",name:"Seychelles"},{code:"SD",name:"Sudan (the)"},{code:"SE",name:"Sweden"},{code:"SG",name:"Singapore"},{code:"SH",name:"Saint Helena, Ascension and Tristan da Cunha"},{code:"SI",name:"Slovenia"},{code:"SJ",name:"Svalbard and Jan Mayen"},{code:"SK",name:"Slovakia"},{code:"SL",name:"Sierra Leone"},{code:"SM",name:"San Marino"},{code:"SN",name:"Senegal"},{code:"SO",name:"Somalia"},{code:"SR",name:"Suriname"},{code:"SS",name:"South Sudan"},{code:"ST",name:"Sao Tome and Principe"},{code:"SV",name:"El Salvador"},{code:"SX",name:"Sint Maarten (Dutch part)"},{code:"SY",name:"Syrian Arab Republic (the)"},{code:"SZ",name:"Eswatini"},{code:"TC",name:"Turks and Caicos Islands (the)"},{code:"TD",name:"Chad"},{code:"TF",name:"French Southern Territories (the)"},{code:"TG",name:"Togo"},{code:"TH",name:"Thailand"},{code:"TJ",name:"Tajikistan"},{code:"TK",name:"Tokelau"},{code:"TL",name:"Timor-Leste"},{code:"TM",name:"Turkmenistan"},{code:"TN",name:"Tunisia"},{code:"TO",name:"Tonga"},{code:"TR",name:"T\xFCrkiye"},{code:"TT",name:"Trinidad and Tobago"},{code:"TV",name:"Tuvalu"},{code:"TW",name:"Taiwan (Province of China)"},{code:"TZ",name:"Tanzania, the United Republic of"},{code:"UA",name:"Ukraine"},{code:"UG",name:"Uganda"},{code:"UM",name:"United States Minor Outlying Islands (the)"},{code:"US",name:"United States of America (the)"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VA",name:"Holy See (the)"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"VE",name:"Venezuela (Bolivarian Republic of)"},{code:"VG",name:"Virgin Islands (British)"},{code:"VI",name:"Virgin Islands (U.S.)"},{code:"VN",name:"Viet Nam"},{code:"VU",name:"Vanuatu"},{code:"WF",name:"Wallis and Futuna"},{code:"WS",name:"Samoa"},{code:"YE",name:"Yemen"},{code:"YT",name:"Mayotte"},{code:"ZA",name:"South Africa"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}]});var Ka=Nt(Je=>{"use strict";var Wt=Ya(),ki={},yi={};Wt.forEach(Wa);function Wa(e){ki[e.name.toLowerCase()]=e.code,yi[e.code.toLowerCase()]=e.name}Je.overwrite=function(n){!n||!n.length||n.forEach(function(t){var r=Wt.findIndex(function(i){return i.code===t.code});Wt[r]=t,Wa(t)})};Je.getCode=function(n){return ki[n.toLowerCase()]};Je.getName=function(n){return yi[n.toLowerCase()]};Je.getNames=function(){return Wt.map(function(n){return n.name})};Je.getCodes=function(){return Wt.map(function(n){return n.code})};Je.getCodeList=function(){return yi};Je.getNameList=function(){return ki};Je.getData=function(){return Wt}});var Qe=(t=>(t.WARNING="warning",t.ERROR="error",t))(Qe||{});function tr(e){if(e)throw e}var vn=Tn(co(),1);function tn(e){if(typeof e!="object"||e===null)return!1;let n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function nr(){let e=[],n={run:t,use:r};return n;function t(...i){let a=-1,o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(u,...c){let p=e[++a],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?po(p,s)(...c):o(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),n}}function po(e,n){let t;return r;function r(...o){let s=e.length>o.length,u;s&&o.push(i);try{u=e.apply(this,o)}catch(c){let p=c;if(s&&t)throw p;return i(p)}s||(u&&u.then&&typeof u.then=="function"?u.then(a,i):u instanceof Error?i(u):a(u))}function i(o,...s){t||(t=!0,n(o,...s))}function a(o){i(null,o)}}function rt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?fo(e.position):"start"in e||"end"in e?fo(e):"line"in e||"column"in e?rr(e):""}function rr(e){return ho(e&&e.line)+":"+ho(e&&e.column)}function fo(e){return rr(e&&e.start)+"-"+rr(e&&e.end)}function ho(e){return e&&typeof e=="number"?e:1}var Se=class extends Error{constructor(n,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",a={},o=!1;if(t&&("line"in t&&"column"in t?a={place:t}:"start"in t&&"end"in t?a={place:t}:"type"in t?a={ancestors:[t],place:t.position}:a={...t}),typeof n=="string"?i=n:!a.cause&&n&&(o=!0,i=n.message,a.cause=n),!a.ruleId&&!a.source&&typeof r=="string"){let u=r.indexOf(":");u===-1?a.ruleId=r:(a.source=r.slice(0,u),a.ruleId=r.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){let u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.position)}let s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=rt(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};Se.prototype.file="";Se.prototype.name="";Se.prototype.reason="";Se.prototype.message="";Se.prototype.stack="";Se.prototype.column=void 0;Se.prototype.line=void 0;Se.prototype.ancestors=void 0;Se.prototype.cause=void 0;Se.prototype.fatal=void 0;Se.prototype.place=void 0;Se.prototype.ruleId=void 0;Se.prototype.source=void 0;var He={basename:bs,dirname:xs,extname:ks,join:ys,sep:"/"};function bs(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');nn(e);let t=0,r=-1,i=e.length,a;if(n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){t=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let o=-1,s=n.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){t=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===n.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return t===r?r=o:r<0&&(r=e.length),e.slice(t,r)}function xs(e){if(nn(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.codePointAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function ks(e){nn(e);let n=e.length,t=-1,r=0,i=-1,a=0,o;for(;n--;){let s=e.codePointAt(n);if(s===47){if(o){r=n+1;break}continue}t<0&&(o=!0,t=n+1),s===46?i<0?i=n:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||t<0||a===0||a===1&&i===t-1&&i===r+1?"":e.slice(i,t)}function ys(...e){let n=-1,t;for(;++n<e.length;)nn(e[n]),e[n]&&(t=t===void 0?e[n]:t+"/"+e[n]);return t===void 0?".":Ts(t)}function Ts(e){nn(e);let n=e.codePointAt(0)===47,t=Ss(e,!n);return t.length===0&&!n&&(t="."),t.length>0&&e.codePointAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function Ss(e,n){let t="",r=0,i=-1,a=0,o=-1,s,u;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(t.length<2||r!==2||t.codePointAt(t.length-1)!==46||t.codePointAt(t.length-2)!==46){if(t.length>2){if(u=t.lastIndexOf("/"),u!==t.length-1){u<0?(t="",r=0):(t=t.slice(0,u),r=t.length-1-t.lastIndexOf("/")),i=o,a=0;continue}}else if(t.length>0){t="",r=0,i=o,a=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(i+1,o):t=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return t}function nn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var mo={cwd:Es};function Es(){return"/"}function Ft(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function go(e){if(typeof e=="string")e=new URL(e);else if(!Ft(e)){let n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){let n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return vs(e)}function vs(e){if(e.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let n=e.pathname,t=-1;for(;++t<n.length;)if(n.codePointAt(t)===37&&n.codePointAt(t+1)===50){let r=n.codePointAt(t+2);if(r===70||r===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(n)}var ir=["history","path","basename","stem","extname","dirname"],rn=class{constructor(n){let t;n?Ft(n)?t={path:n}:typeof n=="string"||As(n)?t={value:n}:t=n:t={},this.cwd="cwd"in t?"":mo.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<ir.length;){let a=ir[r];a in t&&t[a]!==void 0&&t[a]!==null&&(this[a]=a==="history"?[...t[a]]:t[a])}let i;for(i in t)ir.includes(i)||(this[i]=t[i])}get basename(){return typeof this.path=="string"?He.basename(this.path):void 0}set basename(n){ar(n,"basename"),or(n,"basename"),this.path=He.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?He.dirname(this.path):void 0}set dirname(n){wo(this.basename,"dirname"),this.path=He.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?He.extname(this.path):void 0}set extname(n){if(or(n,"extname"),wo(this.dirname,"extname"),n){if(n.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=He.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){Ft(n)&&(n=go(n)),ar(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?He.basename(this.path,this.extname):void 0}set stem(n){ar(n,"stem"),or(n,"stem"),this.path=He.join(this.dirname||"",n+(this.extname||""))}fail(n,t,r){let i=this.message(n,t,r);throw i.fatal=!0,i}info(n,t,r){let i=this.message(n,t,r);return i.fatal=void 0,i}message(n,t,r){let i=new Se(n,t,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(n){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(n||void 0).decode(this.value)}};function or(e,n){if(e&&e.includes(He.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+He.sep+"`")}function ar(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function wo(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function As(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var bo=(function(e){let r=this.constructor.prototype,i=r[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,r),a});var Cs={}.hasOwnProperty,cr=class e extends bo{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=nr()}copy(){let n=new e,t=-1;for(;++t<this.attachers.length;){let r=this.attachers[t];n.use(...r)}return n.data((0,vn.default)(!0,{},this.namespace)),n}data(n,t){return typeof n=="string"?arguments.length===2?(ur("data",this.frozen),this.namespace[n]=t,this):Cs.call(this.namespace,n)&&this.namespace[n]||void 0:n?(ur("data",this.frozen),this.namespace=n,this):this.namespace}freeze(){if(this.frozen)return this;let n=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);let i=t.call(n,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(n){this.freeze();let t=En(n),r=this.parser||this.Parser;return lr("parse",r),r(String(t),t)}process(n,t){let r=this;return this.freeze(),lr("process",this.parser||this.Parser),sr("process",this.compiler||this.Compiler),t?i(void 0,t):new Promise(i);function i(a,o){let s=En(n),u=r.parse(s);r.run(u,s,function(p,f,d){if(p||!f||!d)return c(p);let m=f,x=r.stringify(m,d);Ls(x)?d.value=x:d.result=x,c(p,d)});function c(p,f){p||!f?o(p):a?a(f):t(void 0,f)}}}processSync(n){let t=!1,r;return this.freeze(),lr("processSync",this.parser||this.Parser),sr("processSync",this.compiler||this.Compiler),this.process(n,i),ko("processSync","process",t),r;function i(a,o){t=!0,tr(a),r=o}}run(n,t,r){xo(n),this.freeze();let i=this.transformers;return!r&&typeof t=="function"&&(r=t,t=void 0),r?a(void 0,r):new Promise(a);function a(o,s){let u=En(t);i.run(n,u,c);function c(p,f,d){let m=f||n;p?s(p):o?o(m):r(void 0,m,d)}}}runSync(n,t){let r=!1,i;return this.run(n,t,a),ko("runSync","run",r),i;function a(o,s){tr(o),i=s,r=!0}}stringify(n,t){this.freeze();let r=En(t),i=this.compiler||this.Compiler;return sr("stringify",i),xo(n),i(n,r)}use(n,...t){let r=this.attachers,i=this.namespace;if(ur("use",this.frozen),n!=null)if(typeof n=="function")u(n,t);else if(typeof n=="object")Array.isArray(n)?s(n):o(n);else throw new TypeError("Expected usable value, not `"+n+"`");return this;function a(c){if(typeof c=="function")u(c,[]);else if(typeof c=="object")if(Array.isArray(c)){let[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");s(c.plugins),c.settings&&(i.settings=(0,vn.default)(!0,i.settings,c.settings))}function s(c){let p=-1;if(c!=null)if(Array.isArray(c))for(;++p<c.length;){let f=c[p];a(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function u(c,p){let f=-1,d=-1;for(;++f<r.length;)if(r[f][0]===c){d=f;break}if(d===-1)r.push([c,...p]);else if(p.length>0){let[m,...x]=p,I=r[d][1];tn(I)&&tn(m)&&(m=(0,vn.default)(!0,I,m)),r[d]=[c,m,...x]}}}},on=new cr().freeze();function lr(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function sr(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ur(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function xo(e){if(!tn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ko(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function En(e){return qs(e)?e:new rn(e)}function qs(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Ls(e){return typeof e=="string"||Is(e)}function Is(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var xe=it(/[A-Za-z]/),ke=it(/[\dA-Za-z]/),yo=it(/[#-'*+\--9=?A-Z^-~]/);function xt(e){return e!==null&&(e<32||e===127)}var an=it(/\d/),To=it(/[\dA-Fa-f]/),So=it(/[!-/:-@[-`{-~]/);function O(e){return e!==null&&e<-2}function ae(e){return e!==null&&(e<0||e===32)}function Q(e){return e===-2||e===-1||e===32}var kt=it(/\p{P}|\p{S}/u),Ye=it(/\s/);function it(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}var vo=Tn(Eo(),1),ln=Object.assign(yt(Error),{eval:yt(EvalError),range:yt(RangeError),reference:yt(ReferenceError),syntax:yt(SyntaxError),type:yt(TypeError),uri:yt(URIError)});function yt(e){return n.displayName=e.displayName||e.name,n;function n(t,...r){let i=t&&(0,vo.default)(t,...r);return new e(i)}}var An={}.hasOwnProperty,Ao={yaml:"-",toml:"+"};function Dt(e){let n=[],t=-1,r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++t<r.length;)n[t]=_s(r[t]);return n}function _s(e){let n=e;if(typeof n=="string"){if(!An.call(Ao,n))throw ln("Missing matter definition for `%s`",n);n={type:n,marker:Ao[n]}}else if(typeof n!="object")throw ln("Expected matter to be an object, not `%j`",n);if(!An.call(n,"type"))throw ln("Missing `type` in matter `%j`",n);if(!An.call(n,"fence")&&!An.call(n,"marker"))throw ln("Missing `marker` or `fence` in matter `%j`",n);return n}function hr(e){let n=Dt(e),t={},r=-1;for(;++r<n.length;){let i=n[r],a=fr(i,"open").charCodeAt(0),o=Ms(i),s=t[a];Array.isArray(s)?s.push(o):t[a]=[o]}return{flow:t}}function Ms(e){let n=e.anywhere,t=e.type,r=t+"Fence",i=r+"Sequence",a=t+"Value",o={tokenize:p,partial:!0},s,u=0;return{tokenize:c,concrete:!0};function c(f,d,m){let x=this;return I;function I(G){let le=x.now();return le.column===1&&(le.line===1||n)&&(s=fr(e,"open"),u=0,G===s.charCodeAt(u))?(f.enter(t),f.enter(r),f.enter(i),A(G)):m(G)}function A(G){return u===s.length?(f.exit(i),Q(G)?(f.enter("whitespace"),k(G)):E(G)):G===s.charCodeAt(u++)?(f.consume(G),A):m(G)}function k(G){return Q(G)?(f.consume(G),k):(f.exit("whitespace"),E(G))}function E(G){return O(G)?(f.exit(r),f.enter("lineEnding"),f.consume(G),f.exit("lineEnding"),s=fr(e,"close"),u=0,f.attempt(o,B,q)):m(G)}function q(G){return G===null||O(G)?Z(G):(f.enter(a),V(G))}function V(G){return G===null||O(G)?(f.exit(a),Z(G)):(f.consume(G),V)}function Z(G){return G===null?m(G):(f.enter("lineEnding"),f.consume(G),f.exit("lineEnding"),f.attempt(o,B,q))}function B(G){return f.exit(t),d(G)}}function p(f,d,m){let x=0;return I;function I(q){return q===s.charCodeAt(x)?(f.enter(r),f.enter(i),A(q)):m(q)}function A(q){return x===s.length?(f.exit(i),Q(q)?(f.enter("whitespace"),k(q)):E(q)):q===s.charCodeAt(x++)?(f.consume(q),A):m(q)}function k(q){return Q(q)?(f.consume(q),k):(f.exit("whitespace"),E(q))}function E(q){return q===null||O(q)?(f.exit(r),d(q)):m(q)}}}function fr(e,n){return e.marker?Co(e.marker,n).repeat(3):Co(e.fence,n)}function Co(e,n){return typeof e=="string"?e:e[n]}function sn(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function dr(e){let n=Dt(e),t={},r={},i=-1;for(;++i<n.length;){let a=n[i];t[a.type]=Rs(a),r[a.type]=Bs,r[a.type+"Value"]=Ns}return{enter:t,exit:r}}function Rs(e){return n;function n(t){this.enter({type:e.type,value:""},t),this.buffer()}}function Bs(e){let n=this.resume(),t=this.stack[this.stack.length-1];"value"in t,this.exit(e),t.value=n.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function Ns(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function gr(e){let n=[],t={},r=Dt(e),i=-1;for(;++i<r.length;){let a=r[i];t[a.type]=Fs(a);let o=mr(a,"open");n.push({atBreak:!0,character:o.charAt(0),after:sn(o.charAt(1))})}return{unsafe:n,handlers:t}}function Fs(e){let n=mr(e,"open"),t=mr(e,"close");return r;function r(i){return n+(i.value?`
|
|
2
2
|
`+i.value:"")+`
|
|
3
|
-
`+
|
|
4
|
-
`:" ")+a.indentLines(a.containerFlow(
|
|
5
|
-
`)}function bu(e){return e==null?"":String(e)}function
|
|
6
|
-
`&&
|
|
7
|
-
`}function
|
|
8
|
-
`,encode:["`"],...
|
|
9
|
-
`),a&&(p+=
|
|
10
|
-
`)),p+=
|
|
11
|
-
`,...
|
|
3
|
+
`+t}}function mr(e,n){return e.marker?qo(e.marker,n).repeat(3):qo(e.fence,n)}function qo(e,n){return typeof e=="string"?e:e[n]}var Ds="yaml";function Cn(e){let n=this,t=e||Ds,r=n.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(hr(t)),a.push(dr(t)),o.push(gr(t))}function wr(e,n){let t=String(e);if(typeof n!="string")throw new TypeError("Expected character");let r=0,i=t.indexOf(n);for(;i!==-1;)r++,i=t.indexOf(n,i+n.length);return r}var ot=(function(e){if(e==null)return Hs;if(typeof e=="function")return qn(e);if(typeof e=="object")return Array.isArray(e)?Os(e):zs(e);if(typeof e=="string")return Ps(e);throw new Error("Expected function, string, or object as test")});function Os(e){let n=[],t=-1;for(;++t<e.length;)n[t]=ot(e[t]);return qn(r);function r(...i){let a=-1;for(;++a<n.length;)if(n[a].apply(this,i))return!0;return!1}}function zs(e){let n=e;return qn(t);function t(r){let i=r,a;for(a in e)if(i[a]!==n[a])return!1;return!0}}function Ps(e){return qn(n);function n(t){return t&&t.type===e}}function qn(e){return n;function n(t,r,i){return!!(Us(t)&&e.call(this,t,typeof r=="number"?r:void 0,i||void 0))}}function Hs(){return!0}function Us(e){return e!==null&&typeof e=="object"&&"type"in e}var Lo=[],Ln=!0,Tt=!1,In="skip";function un(e,n,t,r){let i;typeof n=="function"&&typeof t!="function"?(r=t,t=n):i=n;let a=ot(i),o=r?-1:1;s(e,void 0,[])();function s(u,c,p){let f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){let m=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(u.type+(m?"<"+m+">":""))+")"})}return d;function d(){let m=Lo,x,I,A;if((!n||a(u,c,p[p.length-1]||void 0))&&(m=js(t(u,p)),m[0]===Tt))return m;if("children"in u&&u.children){let k=u;if(k.children&&m[0]!==In)for(I=(r?k.children.length:-1)+o,A=p.concat(k);I>-1&&I<k.children.length;){let E=k.children[I];if(x=s(E,I,A)(),x[0]===Tt)return x;I=typeof x[1]=="number"?x[1]:I+o}}return m}}}function js(e){return Array.isArray(e)?e:typeof e=="number"?[Ln,e]:e==null?Lo:[e]}function br(e,n,t){let i=ot((t||{}).ignore||[]),a=Gs(n),o=-1;for(;++o<a.length;)un(e,"text",s);function s(c,p){let f=-1,d;for(;++f<p.length;){let m=p[f],x=d?d.children:void 0;if(i(m,x?x.indexOf(m):void 0,d))return;d=m}if(d)return u(c,p)}function u(c,p){let f=p[p.length-1],d=a[o][0],m=a[o][1],x=0,A=f.children.indexOf(c),k=!1,E=[];d.lastIndex=0;let q=d.exec(c.value);for(;q;){let V=q.index,Z={index:q.index,input:q.input,stack:[...p,c]},B=m(...q,Z);if(typeof B=="string"&&(B=B.length>0?{type:"text",value:B}:void 0),B===!1?d.lastIndex=V+1:(x!==V&&E.push({type:"text",value:c.value.slice(x,V)}),Array.isArray(B)?E.push(...B):B&&E.push(B),x=V+q[0].length,k=!0),!d.global)break;q=d.exec(c.value)}return k?(x<c.value.length&&E.push({type:"text",value:c.value.slice(x)}),f.children.splice(A,1,...E)):E=[c],A+E.length}}function Gs(e){let n=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let t=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<t.length;){let i=t[r];n.push([$s(i[0]),Vs(i[1])])}return n}function $s(e){return typeof e=="string"?new RegExp(sn(e),"g"):e}function Vs(e){return typeof e=="function"?e:function(){return e}}var xr="phrasing",kr=["autolink","link","image","label"];function Tr(){return{transforms:[Xs],enter:{literalAutolink:Ys,literalAutolinkEmail:yr,literalAutolinkHttp:yr,literalAutolinkWww:yr},exit:{literalAutolink:Zs,literalAutolinkEmail:Qs,literalAutolinkHttp:Ws,literalAutolinkWww:Ks}}}function Sr(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:xr,notInConstruct:kr},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:xr,notInConstruct:kr},{character:":",before:"[ps]",after:"\\/",inConstruct:xr,notInConstruct:kr}]}}function Ys(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function yr(e){this.config.enter.autolinkProtocol.call(this,e)}function Ws(e){this.config.exit.autolinkProtocol.call(this,e)}function Ks(e){this.config.exit.data.call(this,e);let n=this.stack[this.stack.length-1];n.type,n.url="http://"+this.sliceSerialize(e)}function Qs(e){this.config.exit.autolinkEmail.call(this,e)}function Zs(e){this.exit(e)}function Xs(e){br(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Js],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,eu]],{ignore:["link","linkReference"]})}function Js(e,n,t,r,i){let a="";if(!Io(i)||(/^w/i.test(n)&&(t=n+t,n="",a="http://"),!tu(t)))return!1;let o=nu(t+r);if(!o[0])return!1;let s={type:"link",title:null,url:a+n+o[0],children:[{type:"text",value:n+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function eu(e,n,t,r){return!Io(r,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t}]}}function tu(e){let n=e.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[a-zA-Z\d]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[a-zA-Z\d]/.test(n[n.length-2])))}function nu(e){let n=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!n)return[e,void 0];e=e.slice(0,n.index);let t=n[0],r=t.indexOf(")"),i=wr(e,"("),a=wr(e,")");for(;r!==-1&&i>a;)e+=t.slice(0,r+1),t=t.slice(r+1),r=t.indexOf(")"),a++;return[e,t]}function Io(e,n){let t=e.input.charCodeAt(e.index-1);return(e.index===0||Ye(t)||kt(t))&&(!n||t!==47)}function Ae(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}_o.peek=pu;function ru(){this.buffer()}function iu(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function ou(){this.buffer()}function au(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function lu(e){let n=this.resume(),t=this.stack[this.stack.length-1];t.type,t.identifier=Ae(this.sliceSerialize(e)).toLowerCase(),t.label=n}function su(e){this.exit(e)}function uu(e){let n=this.resume(),t=this.stack[this.stack.length-1];t.type,t.identifier=Ae(this.sliceSerialize(e)).toLowerCase(),t.label=n}function cu(e){this.exit(e)}function pu(){return"["}function _o(e,n,t,r){let i=t.createTracker(r),a=i.move("[^"),o=t.enter("footnoteReference"),s=t.enter("reference");return a+=i.move(t.safe(t.associationId(e),{after:"]",before:a})),s(),o(),a+=i.move("]"),a}function Er(){return{enter:{gfmFootnoteCallString:ru,gfmFootnoteCall:iu,gfmFootnoteDefinitionLabelString:ou,gfmFootnoteDefinition:au},exit:{gfmFootnoteCallString:lu,gfmFootnoteCall:su,gfmFootnoteDefinitionLabelString:uu,gfmFootnoteDefinition:cu}}}function vr(e){let n=!1;return e&&e.firstLineBlank&&(n=!0),{handlers:{footnoteDefinition:t,footnoteReference:_o},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function t(r,i,a,o){let s=a.createTracker(o),u=s.move("[^"),c=a.enter("footnoteDefinition"),p=a.enter("label");return u+=s.move(a.safe(a.associationId(r),{before:u,after:"]"})),p(),u+=s.move("]:"),r.children&&r.children.length>0&&(s.shift(4),u+=s.move((n?`
|
|
4
|
+
`:" ")+a.indentLines(a.containerFlow(r,s.current()),n?Mo:fu))),c(),u}}function fu(e,n,t){return n===0?e:Mo(e,n,t)}function Mo(e,n,t){return(t?"":" ")+e}var hu=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ro.peek=gu;function Ar(){return{canContainEols:["delete"],enter:{strikethrough:mu},exit:{strikethrough:du}}}function Cr(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:hu}],handlers:{delete:Ro}}}function mu(e){this.enter({type:"delete",children:[]},e)}function du(e){this.exit(e)}function Ro(e,n,t,r){let i=t.createTracker(r),a=t.enter("strikethrough"),o=i.move("~~");return o+=t.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function gu(){return"~"}function wu(e){return e.length}function No(e,n){let t=n||{},r=(t.align||[]).concat(),i=t.stringLength||wu,a=[],o=[],s=[],u=[],c=0,p=-1;for(;++p<e.length;){let I=[],A=[],k=-1;for(e[p].length>c&&(c=e[p].length);++k<e[p].length;){let E=bu(e[p][k]);if(t.alignDelimiters!==!1){let q=i(E);A[k]=q,(u[k]===void 0||q>u[k])&&(u[k]=q)}I.push(E)}o[p]=I,s[p]=A}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)a[f]=Bo(r[f]);else{let I=Bo(r);for(;++f<c;)a[f]=I}f=-1;let d=[],m=[];for(;++f<c;){let I=a[f],A="",k="";I===99?(A=":",k=":"):I===108?A=":":I===114&&(k=":");let E=t.alignDelimiters===!1?1:Math.max(1,u[f]-A.length-k.length),q=A+"-".repeat(E)+k;t.alignDelimiters!==!1&&(E=A.length+E+k.length,E>u[f]&&(u[f]=E),m[f]=E),d[f]=q}o.splice(1,0,d),s.splice(1,0,m),p=-1;let x=[];for(;++p<o.length;){let I=o[p],A=s[p];f=-1;let k=[];for(;++f<c;){let E=I[f]||"",q="",V="";if(t.alignDelimiters!==!1){let Z=u[f]-(A[f]||0),B=a[f];B===114?q=" ".repeat(Z):B===99?Z%2?(q=" ".repeat(Z/2+.5),V=" ".repeat(Z/2-.5)):(q=" ".repeat(Z/2),V=q):V=" ".repeat(Z)}t.delimiterStart!==!1&&!f&&k.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&E==="")&&(t.delimiterStart!==!1||f)&&k.push(" "),t.alignDelimiters!==!1&&k.push(q),k.push(E),t.alignDelimiters!==!1&&k.push(V),t.padding!==!1&&k.push(" "),(t.delimiterEnd!==!1||f!==c-1)&&k.push("|")}x.push(t.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return x.join(`
|
|
5
|
+
`)}function bu(e){return e==null?"":String(e)}function Bo(e){let n=typeof e=="string"?e.codePointAt(0):0;return n===67||n===99?99:n===76||n===108?108:n===82||n===114?114:0}function Fo(e,n,t,r){let i=t.enter("blockquote"),a=t.createTracker(r);a.move("> "),a.shift(2);let o=t.indentLines(t.containerFlow(e,a.current()),xu);return i(),o}function xu(e,n,t){return">"+(t?"":" ")+e}function Oo(e,n){return Do(e,n.inConstruct,!0)&&!Do(e,n.notInConstruct,!1)}function Do(e,n,t){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return t;let r=-1;for(;++r<n.length;)if(e.includes(n[r]))return!0;return!1}function qr(e,n,t,r){let i=-1;for(;++i<t.unsafe.length;)if(t.unsafe[i].character===`
|
|
6
|
+
`&&Oo(t.stack,t.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
7
|
+
`}function _n(e,n){let t=String(e),r=t.indexOf(n),i=r,a=0,o=0;if(typeof n!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+n.length,r=t.indexOf(n,i);return o}function zo(e,n){return!!(n.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Po(e){let n=e.options.fence||"`";if(n!=="`"&&n!=="~")throw new Error("Cannot serialize code with `"+n+"` for `options.fence`, expected `` ` `` or `~`");return n}function Ho(e,n,t,r){let i=Po(t),a=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(zo(e,t)){let f=t.enter("codeIndented"),d=t.indentLines(a,ku);return f(),d}let s=t.createTracker(r),u=i.repeat(Math.max(_n(a,i)+1,3)),c=t.enter("codeFenced"),p=s.move(u);if(e.lang){let f=t.enter(`codeFencedLang${o}`);p+=s.move(t.safe(e.lang,{before:p,after:" ",encode:["`"],...s.current()})),f()}if(e.lang&&e.meta){let f=t.enter(`codeFencedMeta${o}`);p+=s.move(" "),p+=s.move(t.safe(e.meta,{before:p,after:`
|
|
8
|
+
`,encode:["`"],...s.current()})),f()}return p+=s.move(`
|
|
9
|
+
`),a&&(p+=s.move(a+`
|
|
10
|
+
`)),p+=s.move(u),c(),p}function ku(e,n,t){return(t?"":" ")+e}function Ot(e){let n=e.options.quote||'"';if(n!=='"'&&n!=="'")throw new Error("Cannot serialize title with `"+n+"` for `options.quote`, expected `\"`, or `'`");return n}function Uo(e,n,t,r){let i=Ot(t),a=i==='"'?"Quote":"Apostrophe",o=t.enter("definition"),s=t.enter("label"),u=t.createTracker(r),c=u.move("[");return c+=u.move(t.safe(t.associationId(e),{before:c,after:"]",...u.current()})),c+=u.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=t.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(t.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(s=t.enter("destinationRaw"),c+=u.move(t.safe(e.url,{before:c,after:e.title?" ":`
|
|
11
|
+
`,...u.current()}))),s(),e.title&&(s=t.enter(`title${a}`),c+=u.move(" "+i),c+=u.move(t.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),s()),o(),c}function jo(e){let n=e.options.emphasis||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize emphasis with `"+n+"` for `options.emphasis`, expected `*`, or `_`");return n}function at(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Ze(e){if(e===null||ae(e)||Ye(e))return 1;if(kt(e))return 2}function zt(e,n,t){let r=Ze(e),i=Ze(n);return r===void 0?i===void 0?t==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Lr.peek=yu;function Lr(e,n,t,r){let i=jo(t),a=t.enter("emphasis"),o=t.createTracker(r),s=o.move(i),u=o.move(t.containerPhrasing(e,{after:i,before:s,...o.current()})),c=u.charCodeAt(0),p=zt(r.before.charCodeAt(r.before.length-1),c,i);p.inside&&(u=at(c)+u.slice(1));let f=u.charCodeAt(u.length-1),d=zt(r.after.charCodeAt(0),f,i);d.inside&&(u=u.slice(0,-1)+at(f));let m=o.move(i);return a(),t.attentionEncodeSurroundingInfo={after:d.outside,before:p.outside},s+u+m}function yu(e,n,t){return t.options.emphasis||"*"}function Pt(e,n,t,r){let i,a,o;typeof n=="function"&&typeof t!="function"?(a=void 0,o=n,i=t):(a=n,o=t,i=r),un(e,a,s,i);function s(u,c){let p=c[c.length-1],f=p?p.children.indexOf(u):void 0;return o(u,f,p)}}var Tu={};function St(e,n){let t=n||Tu,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return $o(e,r,i)}function $o(e,n,t){if(Su(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Go(e.children,n,t)}return Array.isArray(e)?Go(e,n,t):""}function Go(e,n,t){let r=[],i=-1;for(;++i<e.length;)r[i]=$o(e[i],n,t);return r.join("")}function Su(e){return!!(e&&typeof e=="object")}function Vo(e,n){let t=!1;return Pt(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return t=!0,Tt}),!!((!e.depth||e.depth<3)&&St(e)&&(n.options.setext||t))}function Yo(e,n,t,r){let i=Math.max(Math.min(6,e.depth||1),1),a=t.createTracker(r);if(Vo(e,t)){let p=t.enter("headingSetext"),f=t.enter("phrasing"),d=t.containerPhrasing(e,{...a.current(),before:`
|
|
12
12
|
`,after:`
|
|
13
|
-
`});return
|
|
14
|
-
`+(i===1?"=":"-").repeat(
|
|
15
|
-
`))+1))}let o="#".repeat(i),
|
|
16
|
-
`,...a.current()});return/^[\t ]/.test(u)&&(u=$e(u.charCodeAt(0))+u.slice(1)),u=u?o+" "+u:o,r.options.closeAtx&&(u+=" "+o),s(),l(),u}_n.peek=Tu;function _n(e){return e.value||""}function Tu(){return"<"}Ln.peek=Eu;function Ln(e,t,r,n){let i=St(r),a=i==='"'?"Quote":"Apostrophe",o=r.enter("image"),l=r.enter("label"),s=r.createTracker(n),u=s.move("![");return u+=s.move(r.safe(e.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(r.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(l=r.enter("destinationRaw"),u+=s.move(r.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=r.enter(`title${a}`),u+=s.move(" "+i),u+=s.move(r.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),l()),u+=s.move(")"),o(),u}function Eu(){return"!"}In.peek=Au;function In(e,t,r,n){let i=e.referenceType,a=r.enter("imageReference"),o=r.enter("label"),l=r.createTracker(n),s=l.move("!["),u=r.safe(e.alt,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),o();let p=r.stack;r.stack=[],o=r.enter("reference");let c=r.safe(r.associationId(e),{before:s,after:"]",...l.current()});return o(),r.stack=p,a(),i==="full"||!u||u!==c?s+=l.move(c+"]"):i==="shortcut"?s=s.slice(0,-1):s+=l.move("]"),s}function Au(){return"!"}Bn.peek=Cu;function Bn(e,t,r){let n=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){let o=r.unsafe[a],l=r.compilePattern(o),s;if(o.atBreak)for(;s=l.exec(n);){let u=s.index;n.charCodeAt(u)===10&&n.charCodeAt(u-1)===13&&u--,n=n.slice(0,u)+" "+n.slice(s.index+1)}}return i+n+i}function Cu(){return"`"}function Fn(e,t){let r=lt(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Mn.peek=qu;function Mn(e,t,r,n){let i=St(r),a=i==='"'?"Quote":"Apostrophe",o=r.createTracker(n),l,s;if(Fn(e,r)){let p=r.stack;r.stack=[],l=r.enter("autolink");let c=o.move("<");return c+=o.move(r.containerPhrasing(e,{before:c,after:">",...o.current()})),c+=o.move(">"),l(),r.stack=p,c}l=r.enter("link"),s=r.enter("label");let u=o.move("[");return u+=o.move(r.containerPhrasing(e,{before:u,after:"](",...o.current()})),u+=o.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),u+=o.move("<"),u+=o.move(r.safe(e.url,{before:u,after:">",...o.current()})),u+=o.move(">")):(s=r.enter("destinationRaw"),u+=o.move(r.safe(e.url,{before:u,after:e.title?" ":")",...o.current()}))),s(),e.title&&(s=r.enter(`title${a}`),u+=o.move(" "+i),u+=o.move(r.safe(e.title,{before:u,after:i,...o.current()})),u+=o.move(i),s()),u+=o.move(")"),l(),u}function qu(e,t,r){return Fn(e,r)?"<":"["}Nn.peek=_u;function Nn(e,t,r,n){let i=e.referenceType,a=r.enter("linkReference"),o=r.enter("label"),l=r.createTracker(n),s=l.move("["),u=r.containerPhrasing(e,{before:s,after:"]",...l.current()});s+=l.move(u+"]["),o();let p=r.stack;r.stack=[],o=r.enter("reference");let c=r.safe(r.associationId(e),{before:s,after:"]",...l.current()});return o(),r.stack=p,a(),i==="full"||!u||u!==c?s+=l.move(c+"]"):i==="shortcut"?s=s.slice(0,-1):s+=l.move("]"),s}function _u(){return"["}function At(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Ho(e){let t=At(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function Uo(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function yr(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function jo(e,t,r,n){let i=r.enter("list"),a=r.bulletCurrent,o=e.ordered?Uo(r):At(r),l=e.ordered?o==="."?")":".":Ho(r),s=t&&r.bulletLastUsed?o===r.bulletLastUsed:!1;if(!e.ordered){let p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(s=!0),yr(r)===o&&p){let c=-1;for(;++c<e.children.length;){let h=e.children[c];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(o=l),r.bulletCurrent=o;let u=r.containerFlow(e,n);return r.bulletLastUsed=o,r.bulletCurrent=a,i(),u}function Go(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function $o(e,t,r,n){let i=Go(r),a=r.bulletCurrent||At(r);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let l=r.createTracker(n);l.move(a+" ".repeat(o-a.length)),l.shift(o);let s=r.enter("listItem"),u=r.indentLines(r.containerFlow(e,l.current()),p);return s(),u;function p(c,h,f){return h?(f?"":" ".repeat(o))+c:(f?a:a+" ".repeat(o-a.length))+c}}function Vo(e,t,r,n){let i=r.enter("paragraph"),a=r.enter("phrasing"),o=r.containerPhrasing(e,n);return a(),i(),o}var Rn=Ge(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Yo(e,t,r,n){return(e.children.some(function(o){return Rn(o)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function Wo(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Dn.peek=Lu;function Dn(e,t,r,n){let i=Wo(r),a=r.enter("strong"),o=r.createTracker(n),l=o.move(i+i),s=o.move(r.containerPhrasing(e,{after:i,before:l,...o.current()})),u=s.charCodeAt(0),p=Tt(n.before.charCodeAt(n.before.length-1),u,i);p.inside&&(s=$e(u)+s.slice(1));let c=s.charCodeAt(s.length-1),h=Tt(n.after.charCodeAt(0),c,i);h.inside&&(s=s.slice(0,-1)+$e(c));let f=o.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:h.outside,before:p.outside},l+s+f}function Lu(e,t,r){return r.options.strong||"*"}function Ko(e,t,r,n){return r.safe(e.value,n)}function Qo(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Zo(e,t,r){let n=(yr(r)+(r.options.ruleSpaces?" ":"")).repeat(Qo(r));return r.options.ruleSpaces?n.slice(0,-1):n}var Kt={blockquote:_o,break:Cn,code:Mo,definition:No,emphasis:qn,hardBreak:Cn,heading:Po,html:_n,image:Ln,imageReference:In,inlineCode:Bn,link:Mn,linkReference:Nn,list:jo,listItem:$o,paragraph:Vo,root:Yo,strong:Dn,text:Ko,thematicBreak:Zo};var On={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
17
|
-
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var Iu={}.hasOwnProperty;function Ct(e){return Iu.call(On,e)?On[e]:!1}function vr(e,t){let r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCodePoint(r)}var Bu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Xo(e){return e.replace(Bu,Fu)}function Fu(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){let i=r.charCodeAt(1),a=i===120||i===88;return vr(r.slice(a?2:1),a?16:10)}return Ct(r)||e}function Pn(){return{enter:{table:Mu,tableData:Jo,tableHeader:Jo,tableRow:Ru},exit:{codeText:Du,table:Nu,tableData:zn,tableHeader:zn,tableRow:zn}}}function Mu(e){let t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function Nu(e){this.exit(e),this.data.inTable=void 0}function Ru(e){this.enter({type:"tableRow",children:[]},e)}function zn(e){this.exit(e)}function Jo(e){this.enter({type:"tableCell",children:[]},e)}function Du(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Ou));let r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function Ou(e,t){return t==="|"?t:e}function Hn(e){let t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
18
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:
|
|
19
|
-
`))}function s(f,m,y,k){let w=y.enter("tableCell"),b=y.enter("phrasing"),E=y.containerPhrasing(f,{...k,before:a,after:a});return b(),w(),E}function u(f,m){return qo(f,{align:m,alignDelimiters:n,padding:r,stringLength:i})}function p(f,m,y){let k=f.children,w=-1,b=[],E=m.enter("table");for(;++w<k.length;)b[w]=c(k[w],m,y);return E(),b}function c(f,m,y){let k=f.children,w=-1,b=[],E=m.enter("tableRow");for(;++w<k.length;)b[w]=s(k[w],f,m,y);return E(),b}function h(f,m,y){let k=Kt.inlineCode(f,m,y);return y.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function Un(){return{exit:{taskListCheckValueChecked:ea,taskListCheckValueUnchecked:ea,paragraph:zu}}}function jn(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Pu}}}function ea(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function zu(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let n=r.children[0];if(n&&n.type==="text"){let i=t.children,a=-1,o;for(;++a<i.length;){let l=i[a];if(l.type==="paragraph"){o=l;break}}o===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Pu(e,t,r,n){let i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",l=r.createTracker(n);a&&l.move(o);let s=Kt.listItem(e,t,r,{...n,...l.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),s;function u(p){return p+o}}function Gn(){return[yn(),Sn(),En(),Pn(),Un()]}function $n(e){return{extensions:[vn(),Tn(e),An(),Hn(e),jn()]}}function K(e,t,r,n){let i=e.length,a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),e.splice(...o);else for(r&&e.splice(t,r);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function fe(e,t){return e.length>0?(K(e,e.length,0,t),e):t}var ta={}.hasOwnProperty;function Sr(e){let t={},r=-1;for(;++r<e.length;)Hu(t,e[r]);return t}function Hu(e,t){let r;for(r in t){let i=(ta.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r],o;if(a)for(o in a){ta.call(i,o)||(i[o]=[]);let l=a[o];Uu(i[o],Array.isArray(l)?l:l?[l]:[])}}}function Uu(e,t){let r=-1,n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);K(e,0,0,n)}var ju={tokenize:Wu,partial:!0},ra={tokenize:Ku,partial:!0},na={tokenize:Qu,partial:!0},ia={tokenize:Zu,partial:!0},Gu={tokenize:Xu,partial:!0},oa={name:"wwwAutolink",tokenize:Vu,previous:la},aa={name:"protocolAutolink",tokenize:Yu,previous:sa},Oe={name:"emailAutolink",tokenize:$u,previous:ua},_e={};function Yn(){return{text:_e}}var st=48;for(;st<123;)_e[st]=Oe,st++,st===58?st=65:st===91&&(st=97);_e[43]=Oe;_e[45]=Oe;_e[46]=Oe;_e[95]=Oe;_e[72]=[Oe,aa];_e[104]=[Oe,aa];_e[87]=[Oe,oa];_e[119]=[Oe,oa];function $u(e,t,r){let n=this,i,a;return o;function o(c){return!Vn(c)||!ua.call(n,n.previous)||Wn(n.events)?r(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(c))}function l(c){return Vn(c)?(e.consume(c),l):c===64?(e.consume(c),s):r(c)}function s(c){return c===46?e.check(Gu,p,u)(c):c===45||c===95||te(c)?(a=!0,e.consume(c),s):p(c)}function u(c){return e.consume(c),i=!0,s}function p(c){return a&&i&&ee(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):r(c)}}function Vu(e,t,r){let n=this;return i;function i(o){return o!==87&&o!==119||!la.call(n,n.previous)||Wn(n.events)?r(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(ju,e.attempt(ra,e.attempt(na,a),r),r)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function Yu(e,t,r){let n=this,i="",a=!1;return o;function o(c){return(c===72||c===104)&&sa.call(n,n.previous)&&!Wn(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(c),e.consume(c),l):r(c)}function l(c){if(ee(c)&&i.length<5)return i+=String.fromCodePoint(c),e.consume(c),l;if(c===58){let h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(c),s}return r(c)}function s(c){return c===47?(e.consume(c),a?u:(a=!0,s)):r(c)}function u(c){return c===null||nt(c)||U(c)||qe(c)||it(c)?r(c):e.attempt(ra,e.attempt(na,p),r)(c)}function p(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function Wu(e,t,r){let n=0;return i;function i(o){return(o===87||o===119)&&n<3?(n++,e.consume(o),i):o===46&&n===3?(e.consume(o),a):r(o)}function a(o){return o===null?r(o):t(o)}}function Ku(e,t,r){let n,i,a;return o;function o(u){return u===46||u===95?e.check(ia,s,l)(u):u===null||U(u)||qe(u)||u!==45&&it(u)?s(u):(a=!0,e.consume(u),o)}function l(u){return u===95?n=!0:(i=n,n=void 0),e.consume(u),o}function s(u){return i||n||!a?r(u):t(u)}}function Qu(e,t){let r=0,n=0;return i;function i(o){return o===40?(r++,e.consume(o),i):o===41&&n<r?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(ia,t,a)(o):o===null||U(o)||qe(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&n++,e.consume(o),i}}function Zu(e,t,r){return n;function n(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),n):l===38?(e.consume(l),a):l===93?(e.consume(l),i):l===60||l===null||U(l)||qe(l)?t(l):r(l)}function i(l){return l===null||l===40||l===91||U(l)||qe(l)?t(l):n(l)}function a(l){return ee(l)?o(l):r(l)}function o(l){return l===59?(e.consume(l),n):ee(l)?(e.consume(l),o):r(l)}}function Xu(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return te(a)?r(a):t(a)}}function la(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||U(e)}function sa(e){return!ee(e)}function ua(e){return!(e===47||Vn(e))}function Vn(e){return e===43||e===45||e===46||e===95||te(e)}function Wn(e){let t=e.length,r=!1;for(;t--;){let n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}function Ve(e,t,r){let n=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}var Qt={name:"attention",resolveAll:Ju,tokenize:ec};function Ju(e,t){let r=-1,n,i,a,o,l,s,u,p;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;let c={...e[n][1].end},h={...e[r][1].start};ca(c,-s),ca(h,s),o={type:s>1?"strongSequence":"emphasisSequence",start:c,end:{...e[n][1].end}},l={type:s>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:h},a={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:s>1?"strong":"emphasis",start:{...o.start},end:{...l.end}},e[n][1].end={...o.start},e[r][1].start={...l.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=fe(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=fe(u,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),u=fe(u,Ve(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=fe(u,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(p=2,u=fe(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):p=0,K(e,n-1,r-n+3,u),r=n+u.length-p-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function ec(e,t){let r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=De(n),a;return o;function o(s){return a=s,e.enter("attentionSequence"),l(s)}function l(s){if(s===a)return e.consume(s),l;let u=e.exit("attentionSequence"),p=De(s),c=!p||p===2&&i||r.includes(s),h=!i||i===2&&p||r.includes(n);return u._open=!!(a===42?c:c&&(i||!h)),u._close=!!(a===42?h:h&&(p||!c)),t(s)}}function ca(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var Kn={name:"autolink",tokenize:tc};function tc(e,t,r){let n=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(f){return ee(f)?(e.consume(f),o):f===64?r(f):u(f)}function o(f){return f===43||f===45||f===46||te(f)?(n=1,l(f)):u(f)}function l(f){return f===58?(e.consume(f),n=0,s):(f===43||f===45||f===46||te(f))&&n++<32?(e.consume(f),l):(n=0,u(f))}function s(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):f===null||f===32||f===60||nt(f)?r(f):(e.consume(f),s)}function u(f){return f===64?(e.consume(f),p):ho(f)?(e.consume(f),u):r(f)}function p(f){return te(f)?c(f):r(f)}function c(f){return f===46?(e.consume(f),n=0,p):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),t):h(f)}function h(f){if((f===45||te(f))&&n++<63){let m=f===45?h:c;return e.consume(f),m}return r(f)}}function I(e,t,r,n){let i=n?n-1:Number.POSITIVE_INFINITY,a=0;return o;function o(s){return B(s)?(e.enter(r),l(s)):t(s)}function l(s){return B(s)&&a++<i?(e.consume(s),l):(e.exit(r),t(s))}}var Le={partial:!0,tokenize:rc};function rc(e,t,r){return n;function n(a){return B(a)?I(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||A(a)?t(a):r(a)}}var Tr={continuation:{tokenize:ic},exit:oc,name:"blockQuote",tokenize:nc};function nc(e,t,r){let n=this;return i;function i(o){if(o===62){let l=n.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return r(o)}function a(o){return B(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function ic(e,t,r){let n=this;return i;function i(o){return B(o)?I(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(Tr,t,r)(o)}}function oc(e){e.exit("blockQuote")}var Er={name:"characterEscape",tokenize:ac};function ac(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return go(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}var Ar={name:"characterReference",tokenize:lc};function lc(e,t,r){let n=this,i=0,a,o;return l;function l(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),s}function s(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,o=te,p(c))}function u(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=mo,p):(e.enter("characterReferenceValue"),a=7,o=$t,p(c))}function p(c){if(c===59&&i){let h=e.exit("characterReferenceValue");return o===te&&!Ct(n.sliceSerialize(h))?r(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(c)&&i++<a?(e.consume(c),p):r(c)}}var pa={partial:!0,tokenize:uc},Cr={concrete:!0,name:"codeFenced",tokenize:sc};function sc(e,t,r){let n=this,i={partial:!0,tokenize:D},a=0,o=0,l;return s;function s(T){return u(T)}function u(T){let L=n.events[n.events.length-1];return a=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,l=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(T)}function p(T){return T===l?(o++,e.consume(T),p):o<3?r(T):(e.exit("codeFencedFenceSequence"),B(T)?I(e,c,"whitespace")(T):c(T))}function c(T){return T===null||A(T)?(e.exit("codeFencedFence"),n.interrupt?t(T):e.check(pa,y,R)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===null||A(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(T)):B(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),I(e,f,"whitespace")(T)):T===96&&T===l?r(T):(e.consume(T),h)}function f(T){return T===null||A(T)?c(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===null||A(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(T)):T===96&&T===l?r(T):(e.consume(T),m)}function y(T){return e.attempt(i,R,k)(T)}function k(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),w}function w(T){return a>0&&B(T)?I(e,b,"linePrefix",a+1)(T):b(T)}function b(T){return T===null||A(T)?e.check(pa,y,R)(T):(e.enter("codeFlowValue"),E(T))}function E(T){return T===null||A(T)?(e.exit("codeFlowValue"),b(T)):(e.consume(T),E)}function R(T){return e.exit("codeFenced"),t(T)}function D(T,L,G){let O=0;return v;function v(H){return T.enter("lineEnding"),T.consume(H),T.exit("lineEnding"),ne}function ne(H){return T.enter("codeFencedFence"),B(H)?I(T,$,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):$(H)}function $(H){return H===l?(T.enter("codeFencedFenceSequence"),M(H)):G(H)}function M(H){return H===l?(O++,T.consume(H),M):O>=o?(T.exit("codeFencedFenceSequence"),B(H)?I(T,P,"whitespace")(H):P(H)):G(H)}function P(H){return H===null||A(H)?(T.exit("codeFencedFence"),L(H)):G(H)}}}function uc(e,t,r){let n=this;return i;function i(o){return o===null?r(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}var Zt={name:"codeIndented",tokenize:pc},cc={partial:!0,tokenize:fc};function pc(e,t,r){let n=this;return i;function i(u){return e.enter("codeIndented"),I(e,a,"linePrefix",5)(u)}function a(u){let p=n.events[n.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(u):r(u)}function o(u){return u===null?s(u):A(u)?e.attempt(cc,o,s)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||A(u)?(e.exit("codeFlowValue"),o(u)):(e.consume(u),l)}function s(u){return e.exit("codeIndented"),t(u)}}function fc(e,t,r){let n=this;return i;function i(o){return n.parser.lazy[n.now().line]?r(o):A(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):I(e,a,"linePrefix",5)(o)}function a(o){let l=n.events[n.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):A(o)?i(o):r(o)}}var Qn={name:"codeText",previous:mc,resolve:hc,tokenize:dc};function hc(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function mc(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function dc(e,t,r){let n=this,i=0,a,o;return l;function l(h){return e.enter("codeText"),e.enter("codeTextSequence"),s(h)}function s(h){return h===96?(e.consume(h),i++,s):(e.exit("codeTextSequence"),u(h))}function u(h){return h===null?r(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),u):h===96?(o=e.enter("codeTextSequence"),a=0,c(h)):A(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("codeTextData"),p(h))}function p(h){return h===null||h===32||h===96||A(h)?(e.exit("codeTextData"),u(h)):(e.consume(h),p)}function c(h){return h===96?(e.consume(h),a++,c):a===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(o.type="codeTextData",p(h))}}var qr=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){let n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){let i=r||0;this.setCursor(Math.trunc(t));let a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&Xt(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Xt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Xt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let r=this.left.splice(t,Number.POSITIVE_INFINITY);Xt(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Xt(this.left,r.reverse())}}};function Xt(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function _r(e){let t={},r=-1,n,i,a,o,l,s,u,p=new qr(e);for(;++r<p.length;){for(;r in t;)r=t[r];if(n=p.get(r),r&&n[1].type==="chunkFlow"&&p.get(r-1)[1].type==="listItemPrefix"&&(s=n[1]._tokenizer.events,a=0,a<s.length&&s[a][1].type==="lineEndingBlank"&&(a+=2),a<s.length&&s[a][1].type==="content"))for(;++a<s.length&&s[a][1].type!=="content";)s[a][1].type==="chunkText"&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,gc(p,r)),r=t[r],u=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(o=p.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(n[1].end={...p.get(i)[1].start},l=p.slice(i,r),l.unshift(n),p.splice(i,r-i+1,l))}}return K(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!u}function gc(e,t){let r=e.get(t)[1],n=e.get(t)[2],i=t-1,a=[],o=r._tokenizer;o||(o=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let l=o.events,s=[],u={},p,c,h=-1,f=r,m=0,y=0,k=[y];for(;f;){for(;e.get(++i)[1]!==f;);a.push(i),f._tokenizer||(p=n.sliceStream(f),f.next||p.push(null),c&&o.defineSkip(f.start),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),c=f,f=f.next}for(f=r;++h<l.length;)l[h][0]==="exit"&&l[h-1][0]==="enter"&&l[h][1].type===l[h-1][1].type&&l[h][1].start.line!==l[h][1].end.line&&(y=h+1,k.push(y),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(o.events=[],f?(f._tokenizer=void 0,f.previous=void 0):k.pop(),h=k.length;h--;){let w=l.slice(k[h],k[h+1]),b=a.pop();s.push([b,b+w.length-1]),e.splice(b,2,w)}for(s.reverse(),h=-1;++h<s.length;)u[m+s[h][0]]=m+s[h][1],m+=s[h][1]-s[h][0]-1;return u}var Zn={resolve:bc,tokenize:xc},wc={partial:!0,tokenize:kc};function bc(e){return _r(e),e}function xc(e,t){let r;return n;function n(l){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?a(l):A(l)?e.check(wc,o,a)(l):(e.consume(l),i)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function o(l){return e.consume(l),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function kc(e,t,r){let n=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),I(e,a,"linePrefix")}function a(o){if(o===null||A(o))return r(o);let l=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(o):e.interrupt(n.parser.constructs.flow,r,t)(o)}}function Lr(e,t,r,n,i,a,o,l,s){let u=s||Number.POSITIVE_INFINITY,p=0;return c;function c(w){return w===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(w),e.exit(a),h):w===null||w===32||w===41||nt(w)?r(w):(e.enter(n),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),y(w))}function h(w){return w===62?(e.enter(a),e.consume(w),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(w))}function f(w){return w===62?(e.exit("chunkString"),e.exit(l),h(w)):w===null||w===60||A(w)?r(w):(e.consume(w),w===92?m:f)}function m(w){return w===60||w===62||w===92?(e.consume(w),f):f(w)}function y(w){return!p&&(w===null||w===41||U(w))?(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(n),t(w)):p<u&&w===40?(e.consume(w),p++,y):w===41?(e.consume(w),p--,y):w===null||w===32||w===40||nt(w)?r(w):(e.consume(w),w===92?k:y)}function k(w){return w===40||w===41||w===92?(e.consume(w),y):y(w)}}function Ir(e,t,r,n,i,a){let o=this,l=0,s;return u;function u(f){return e.enter(n),e.enter(i),e.consume(f),e.exit(i),e.enter(a),p}function p(f){return l>999||f===null||f===91||f===93&&!s||f===94&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?r(f):f===93?(e.exit(a),e.enter(i),e.consume(f),e.exit(i),e.exit(n),t):A(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===null||f===91||f===93||A(f)||l++>999?(e.exit("chunkString"),p(f)):(e.consume(f),s||(s=!B(f)),f===92?h:c)}function h(f){return f===91||f===92||f===93?(e.consume(f),l++,c):c(f)}}function Br(e,t,r,n,i,a){let o;return l;function l(h){return h===34||h===39||h===40?(e.enter(n),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,s):r(h)}function s(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(n),t):(e.enter(a),u(h))}function u(h){return h===o?(e.exit(a),s(o)):h===null?r(h):A(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),I(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===o||h===null||A(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?c:p)}function c(h){return h===o||h===92?(e.consume(h),p):p(h)}}function ut(e,t){let r;return n;function n(i){return A(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):B(i)?I(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}var Xn={name:"definition",tokenize:vc},yc={partial:!0,tokenize:Sc};function vc(e,t,r){let n=this,i;return a;function a(f){return e.enter("definition"),o(f)}function o(f){return Ir.call(n,e,l,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function l(f){return i=le(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),s):r(f)}function s(f){return U(f)?ut(e,u)(f):u(f)}function u(f){return Lr(e,p,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function p(f){return e.attempt(yc,c,c)(f)}function c(f){return B(f)?I(e,h,"whitespace")(f):h(f)}function h(f){return f===null||A(f)?(e.exit("definition"),n.parser.defined.push(i),t(f)):r(f)}}function Sc(e,t,r){return n;function n(l){return U(l)?ut(e,i)(l):r(l)}function i(l){return Br(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return B(l)?I(e,o,"whitespace")(l):o(l)}function o(l){return l===null||A(l)?t(l):r(l)}}var Jn={name:"hardBreakEscape",tokenize:Tc};function Tc(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return A(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}var ei={name:"headingAtx",resolve:Ec,tokenize:Ac};function Ec(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},K(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Ac(e,t,r){let n=0;return i;function i(p){return e.enter("atxHeading"),a(p)}function a(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&n++<6?(e.consume(p),o):p===null||U(p)?(e.exit("atxHeadingSequence"),l(p)):r(p)}function l(p){return p===35?(e.enter("atxHeadingSequence"),s(p)):p===null||A(p)?(e.exit("atxHeading"),t(p)):B(p)?I(e,l,"whitespace")(p):(e.enter("atxHeadingText"),u(p))}function s(p){return p===35?(e.consume(p),s):(e.exit("atxHeadingSequence"),l(p))}function u(p){return p===null||p===35||U(p)?(e.exit("atxHeadingText"),l(p)):(e.consume(p),u)}}var fa=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ti=["pre","script","style","textarea"];var ri={concrete:!0,name:"htmlFlow",resolveTo:_c,tokenize:Lc},Cc={partial:!0,tokenize:Bc},qc={partial:!0,tokenize:Ic};function _c(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Lc(e,t,r){let n=this,i,a,o,l,s;return u;function u(g){return p(g)}function p(g){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(g),c}function c(g){return g===33?(e.consume(g),h):g===47?(e.consume(g),a=!0,y):g===63?(e.consume(g),i=3,n.interrupt?t:d):ee(g)?(e.consume(g),o=String.fromCharCode(g),k):r(g)}function h(g){return g===45?(e.consume(g),i=2,f):g===91?(e.consume(g),i=5,l=0,m):ee(g)?(e.consume(g),i=4,n.interrupt?t:d):r(g)}function f(g){return g===45?(e.consume(g),n.interrupt?t:d):r(g)}function m(g){let we="CDATA[";return g===we.charCodeAt(l++)?(e.consume(g),l===we.length?n.interrupt?t:$:m):r(g)}function y(g){return ee(g)?(e.consume(g),o=String.fromCharCode(g),k):r(g)}function k(g){if(g===null||g===47||g===62||U(g)){let we=g===47,et=o.toLowerCase();return!we&&!a&&ti.includes(et)?(i=1,n.interrupt?t(g):$(g)):fa.includes(o.toLowerCase())?(i=6,we?(e.consume(g),w):n.interrupt?t(g):$(g)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(g):a?b(g):E(g))}return g===45||te(g)?(e.consume(g),o+=String.fromCharCode(g),k):r(g)}function w(g){return g===62?(e.consume(g),n.interrupt?t:$):r(g)}function b(g){return B(g)?(e.consume(g),b):v(g)}function E(g){return g===47?(e.consume(g),v):g===58||g===95||ee(g)?(e.consume(g),R):B(g)?(e.consume(g),E):v(g)}function R(g){return g===45||g===46||g===58||g===95||te(g)?(e.consume(g),R):D(g)}function D(g){return g===61?(e.consume(g),T):B(g)?(e.consume(g),D):E(g)}function T(g){return g===null||g===60||g===61||g===62||g===96?r(g):g===34||g===39?(e.consume(g),s=g,L):B(g)?(e.consume(g),T):G(g)}function L(g){return g===s?(e.consume(g),s=null,O):g===null||A(g)?r(g):(e.consume(g),L)}function G(g){return g===null||g===34||g===39||g===47||g===60||g===61||g===62||g===96||U(g)?D(g):(e.consume(g),G)}function O(g){return g===47||g===62||B(g)?E(g):r(g)}function v(g){return g===62?(e.consume(g),ne):r(g)}function ne(g){return g===null||A(g)?$(g):B(g)?(e.consume(g),ne):r(g)}function $(g){return g===45&&i===2?(e.consume(g),W):g===60&&i===1?(e.consume(g),J):g===62&&i===4?(e.consume(g),ke):g===63&&i===3?(e.consume(g),d):g===93&&i===5?(e.consume(g),Ce):A(g)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Cc,Be,M)(g)):g===null||A(g)?(e.exit("htmlFlowData"),M(g)):(e.consume(g),$)}function M(g){return e.check(qc,P,Be)(g)}function P(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),H}function H(g){return g===null||A(g)?M(g):(e.enter("htmlFlowData"),$(g))}function W(g){return g===45?(e.consume(g),d):$(g)}function J(g){return g===47?(e.consume(g),o="",ye):$(g)}function ye(g){if(g===62){let we=o.toLowerCase();return ti.includes(we)?(e.consume(g),ke):$(g)}return ee(g)&&o.length<8?(e.consume(g),o+=String.fromCharCode(g),ye):$(g)}function Ce(g){return g===93?(e.consume(g),d):$(g)}function d(g){return g===62?(e.consume(g),ke):g===45&&i===2?(e.consume(g),d):$(g)}function ke(g){return g===null||A(g)?(e.exit("htmlFlowData"),Be(g)):(e.consume(g),ke)}function Be(g){return e.exit("htmlFlow"),t(g)}}function Ic(e,t,r){let n=this;return i;function i(o){return A(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):r(o)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function Bc(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Le,t,r)}}var ni={name:"htmlText",tokenize:Fc};function Fc(e,t,r){let n=this,i,a,o;return l;function l(d){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(d),s}function s(d){return d===33?(e.consume(d),u):d===47?(e.consume(d),D):d===63?(e.consume(d),E):ee(d)?(e.consume(d),G):r(d)}function u(d){return d===45?(e.consume(d),p):d===91?(e.consume(d),a=0,m):ee(d)?(e.consume(d),b):r(d)}function p(d){return d===45?(e.consume(d),f):r(d)}function c(d){return d===null?r(d):d===45?(e.consume(d),h):A(d)?(o=c,J(d)):(e.consume(d),c)}function h(d){return d===45?(e.consume(d),f):c(d)}function f(d){return d===62?W(d):d===45?h(d):c(d)}function m(d){let ke="CDATA[";return d===ke.charCodeAt(a++)?(e.consume(d),a===ke.length?y:m):r(d)}function y(d){return d===null?r(d):d===93?(e.consume(d),k):A(d)?(o=y,J(d)):(e.consume(d),y)}function k(d){return d===93?(e.consume(d),w):y(d)}function w(d){return d===62?W(d):d===93?(e.consume(d),w):y(d)}function b(d){return d===null||d===62?W(d):A(d)?(o=b,J(d)):(e.consume(d),b)}function E(d){return d===null?r(d):d===63?(e.consume(d),R):A(d)?(o=E,J(d)):(e.consume(d),E)}function R(d){return d===62?W(d):E(d)}function D(d){return ee(d)?(e.consume(d),T):r(d)}function T(d){return d===45||te(d)?(e.consume(d),T):L(d)}function L(d){return A(d)?(o=L,J(d)):B(d)?(e.consume(d),L):W(d)}function G(d){return d===45||te(d)?(e.consume(d),G):d===47||d===62||U(d)?O(d):r(d)}function O(d){return d===47?(e.consume(d),W):d===58||d===95||ee(d)?(e.consume(d),v):A(d)?(o=O,J(d)):B(d)?(e.consume(d),O):W(d)}function v(d){return d===45||d===46||d===58||d===95||te(d)?(e.consume(d),v):ne(d)}function ne(d){return d===61?(e.consume(d),$):A(d)?(o=ne,J(d)):B(d)?(e.consume(d),ne):O(d)}function $(d){return d===null||d===60||d===61||d===62||d===96?r(d):d===34||d===39?(e.consume(d),i=d,M):A(d)?(o=$,J(d)):B(d)?(e.consume(d),$):(e.consume(d),P)}function M(d){return d===i?(e.consume(d),i=void 0,H):d===null?r(d):A(d)?(o=M,J(d)):(e.consume(d),M)}function P(d){return d===null||d===34||d===39||d===60||d===61||d===96?r(d):d===47||d===62||U(d)?O(d):(e.consume(d),P)}function H(d){return d===47||d===62||U(d)?O(d):r(d)}function W(d){return d===62?(e.consume(d),e.exit("htmlTextData"),e.exit("htmlText"),t):r(d)}function J(d){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),ye}function ye(d){return B(d)?I(e,Ce,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):Ce(d)}function Ce(d){return e.enter("htmlTextData"),o(d)}}var ct={name:"labelEnd",resolveAll:Dc,resolveTo:Oc,tokenize:zc},Mc={tokenize:Pc},Nc={tokenize:Hc},Rc={tokenize:Uc};function Dc(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){let i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&K(e,0,e.length,r),e}function Oc(e,t){let r=e.length,n=0,i,a,o,l;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(o=r);let s={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[o-2][1].start}};return l=[["enter",s,t],["enter",u,t]],l=fe(l,e.slice(a+1,a+n+3)),l=fe(l,[["enter",p,t]]),l=fe(l,Ve(t.parser.constructs.insideSpan.null,e.slice(a+n+4,o-3),t)),l=fe(l,[["exit",p,t],e[o-2],e[o-1],["exit",u,t]]),l=fe(l,e.slice(o+1)),l=fe(l,[["exit",s,t]]),K(e,a,e.length,l),e}function zc(e,t,r){let n=this,i=n.events.length,a,o;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return l;function l(h){return a?a._inactive?c(h):(o=n.parser.defined.includes(le(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),s):r(h)}function s(h){return h===40?e.attempt(Mc,p,o?p:c)(h):h===91?e.attempt(Nc,p,o?u:c)(h):o?p(h):c(h)}function u(h){return e.attempt(Rc,p,c)(h)}function p(h){return t(h)}function c(h){return a._balanced=!0,r(h)}}function Pc(e,t,r){return n;function n(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return U(c)?ut(e,a)(c):a(c)}function a(c){return c===41?p(c):Lr(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function o(c){return U(c)?ut(e,s)(c):p(c)}function l(c){return r(c)}function s(c){return c===34||c===39||c===40?Br(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):p(c)}function u(c){return U(c)?ut(e,p)(c):p(c)}function p(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):r(c)}}function Hc(e,t,r){let n=this;return i;function i(l){return Ir.call(n,e,a,o,"reference","referenceMarker","referenceString")(l)}function a(l){return n.parser.defined.includes(le(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(l):r(l)}function o(l){return r(l)}}function Uc(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}var ii={name:"labelStartImage",resolveAll:ct.resolveAll,tokenize:jc};function jc(e,t,r){let n=this;return i;function i(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),o):r(l)}function o(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):t(l)}}var oi={name:"labelStartLink",resolveAll:ct.resolveAll,tokenize:Gc};function Gc(e,t,r){let n=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}var Jt={name:"lineEnding",tokenize:$c};function $c(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),I(e,t,"linePrefix")}}var pt={name:"thematicBreak",tokenize:Vc};function Vc(e,t,r){let n=0,i;return a;function a(u){return e.enter("thematicBreak"),o(u)}function o(u){return i=u,l(u)}function l(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):n>=3&&(u===null||A(u))?(e.exit("thematicBreak"),t(u)):r(u)}function s(u){return u===i?(e.consume(u),n++,s):(e.exit("thematicBreakSequence"),B(u)?I(e,l,"whitespace")(u):l(u))}}var se={continuation:{tokenize:Qc},exit:Xc,name:"list",tokenize:Kc},Yc={partial:!0,tokenize:Jc},Wc={partial:!0,tokenize:Zc};function Kc(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return l;function l(f){let m=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:$t(f)){if(n.containerState.type||(n.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(pt,r,u)(f):u(f);if(!n.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(f)}return r(f)}function s(f){return $t(f)&&++o<10?(e.consume(f),s):(!n.interrupt||o<2)&&(n.containerState.marker?f===n.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),u(f)):r(f)}function u(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||f,e.check(Le,n.interrupt?r:p,e.attempt(Yc,h,c))}function p(f){return n.containerState.initialBlankLine=!0,a++,h(f)}function c(f){return B(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),h):r(f)}function h(f){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(f)}}function Qc(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(Le,i,a);function i(l){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,I(e,t,"listItemIndent",n.containerState.size+1)(l)}function a(l){return n.containerState.furtherBlankLines||!B(l)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(l)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(Wc,t,o)(l))}function o(l){return n.containerState._closeFlow=!0,n.interrupt=void 0,I(e,e.attempt(se,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function Zc(e,t,r){let n=this;return I(e,i,"listItemIndent",n.containerState.size+1);function i(a){let o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?t(a):r(a)}}function Xc(e){e.exit(this.containerState.type)}function Jc(e,t,r){let n=this;return I(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){let o=n.events[n.events.length-1];return!B(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}var Fr={name:"setextUnderline",resolveTo:ep,tokenize:tp};function ep(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=o,e.push(["exit",o,t]),e}function tp(e,t,r){let n=this,i;return a;function a(u){let p=n.events.length,c;for(;p--;)if(n.events[p][1].type!=="lineEnding"&&n.events[p][1].type!=="linePrefix"&&n.events[p][1].type!=="content"){c=n.events[p][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||c)?(e.enter("setextHeadingLine"),i=u,o(u)):r(u)}function o(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===i?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),B(u)?I(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||A(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}var rp={tokenize:up,partial:!0};function ai(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:ap,continuation:{tokenize:lp},exit:sp}},text:{91:{name:"gfmFootnoteCall",tokenize:op},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:np,resolveTo:ip}}}}function np(e,t,r){let n=this,i=n.events.length,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o;for(;i--;){let s=n.events[i][1];if(s.type==="labelImage"){o=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return l;function l(s){if(!o||!o._balanced)return r(s);let u=le(n.sliceSerialize({start:o.end,end:n.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?r(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function ip(e,t){let r=e.length,n;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...s),e}function op(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a=0,o;return l;function l(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),s}function s(c){return c!==94?r(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(c){if(a>999||c===93&&!o||c===null||c===91||U(c))return r(c);if(c===93){e.exit("chunkString");let h=e.exit("gfmFootnoteCallString");return i.includes(le(n.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(c)}return U(c)||(o=!0),a++,e.consume(c),c===92?p:u}function p(c){return c===91||c===92||c===93?(e.consume(c),a++,u):u(c)}}function ap(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a,o=0,l;return s;function s(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):r(m)}function p(m){if(o>999||m===93&&!l||m===null||m===91||U(m))return r(m);if(m===93){e.exit("chunkString");let y=e.exit("gfmFootnoteDefinitionLabelString");return a=le(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return U(m)||(l=!0),o++,e.consume(m),m===92?c:p}function c(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}function h(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(a)||i.push(a),I(e,f,"gfmFootnoteDefinitionWhitespace")):r(m)}function f(m){return t(m)}}function lp(e,t,r){return e.check(Le,t,e.attempt(rp,t,r))}function sp(e){e.exit("gfmFootnoteDefinition")}function up(e,t,r){let n=this;return I(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){let o=n.events[n.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):r(a)}}function li(e){let r=(e||{}).singleTilde,n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(o,l){let s=-1;for(;++s<o.length;)if(o[s][0]==="enter"&&o[s][1].type==="strikethroughSequenceTemporary"&&o[s][1]._close){let u=s;for(;u--;)if(o[u][0]==="exit"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._open&&o[s][1].end.offset-o[s][1].start.offset===o[u][1].end.offset-o[u][1].start.offset){o[s][1].type="strikethroughSequence",o[u][1].type="strikethroughSequence";let p={type:"strikethrough",start:Object.assign({},o[u][1].start),end:Object.assign({},o[s][1].end)},c={type:"strikethroughText",start:Object.assign({},o[u][1].end),end:Object.assign({},o[s][1].start)},h=[["enter",p,l],["enter",o[u][1],l],["exit",o[u][1],l],["enter",c,l]],f=l.parser.constructs.insideSpan.null;f&&K(h,h.length,0,Ve(f,o.slice(u+1,s),l)),K(h,h.length,0,[["exit",c,l],["enter",o[s][1],l],["exit",o[s][1],l],["exit",p,l]]),K(o,u-1,s-u+3,h),s=u+h.length-2;break}}for(s=-1;++s<o.length;)o[s][1].type==="strikethroughSequenceTemporary"&&(o[s][1].type="data");return o}function a(o,l,s){let u=this.previous,p=this.events,c=0;return h;function h(m){return u===126&&p[p.length-1][1].type!=="characterEscape"?s(m):(o.enter("strikethroughSequenceTemporary"),f(m))}function f(m){let y=De(u);if(m===126)return c>1?s(m):(o.consume(m),c++,f);if(c<2&&!r)return s(m);let k=o.exit("strikethroughSequenceTemporary"),w=De(m);return k._open=!w||w===2&&!!y,k._close=!y||y===2&&!!w,l(m)}}}var Mr=class{constructor(){this.map=[]}add(t,r,n){cp(this,t,r,n)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let r=this.map.length,n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let i=n.pop();for(;i;){for(let a of i)t.push(a);i=n.pop()}this.map.length=0}};function cp(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function ha(e,t){let r=!1,n=[];for(;t<e.length;){let i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function si(){return{flow:{null:{name:"table",tokenize:pp,resolveAll:fp}}}}function pp(e,t,r){let n=this,i=0,a=0,o;return l;function l(v){let ne=n.events.length-1;for(;ne>-1;){let P=n.events[ne][1].type;if(P==="lineEnding"||P==="linePrefix")ne--;else break}let $=ne>-1?n.events[ne][1].type:null,M=$==="tableHead"||$==="tableRow"?T:s;return M===T&&n.parser.lazy[n.now().line]?r(v):M(v)}function s(v){return e.enter("tableHead"),e.enter("tableRow"),u(v)}function u(v){return v===124||(o=!0,a+=1),p(v)}function p(v){return v===null?r(v):A(v)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),f):r(v):B(v)?I(e,p,"whitespace")(v):(a+=1,o&&(o=!1,i+=1),v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),c(v)))}function c(v){return v===null||v===124||U(v)?(e.exit("data"),p(v)):(e.consume(v),v===92?h:c)}function h(v){return v===92||v===124?(e.consume(v),c):c(v)}function f(v){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(v):(e.enter("tableDelimiterRow"),o=!1,B(v)?I(e,m,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):m(v))}function m(v){return v===45||v===58?k(v):v===124?(o=!0,e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),y):D(v)}function y(v){return B(v)?I(e,k,"whitespace")(v):k(v)}function k(v){return v===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),w):v===45?(a+=1,w(v)):v===null||A(v)?R(v):D(v)}function w(v){return v===45?(e.enter("tableDelimiterFiller"),b(v)):D(v)}function b(v){return v===45?(e.consume(v),b):v===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),E):(e.exit("tableDelimiterFiller"),E(v))}function E(v){return B(v)?I(e,R,"whitespace")(v):R(v)}function R(v){return v===124?m(v):v===null||A(v)?!o||i!==a?D(v):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(v)):D(v)}function D(v){return r(v)}function T(v){return e.enter("tableRow"),L(v)}function L(v){return v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),L):v===null||A(v)?(e.exit("tableRow"),t(v)):B(v)?I(e,L,"whitespace")(v):(e.enter("data"),G(v))}function G(v){return v===null||v===124||U(v)?(e.exit("data"),L(v)):(e.consume(v),v===92?O:G)}function O(v){return v===92||v===124?(e.consume(v),G):G(v)}}function fp(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],l=!1,s=0,u,p,c,h=new Mr;for(;++r<e.length;){let f=e[r],m=f[1];f[0]==="enter"?m.type==="tableHead"?(l=!1,s!==0&&(ma(h,t,s,u,p),p=void 0,s=0),u={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(r,0,[["enter",u,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(n=!0,c=void 0,a=[0,0,0,0],o=[0,r+1,0,0],l&&(l=!1,p={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(r,0,[["enter",p,t]])),i=m.type==="tableDelimiterRow"?2:p?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(n=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],c=Nr(h,t,a,i,void 0,c),a=[0,0,0,0]),o[2]=r)):m.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(o[0]=o[1],c=Nr(h,t,a,i,void 0,c)),a=o,o=[a[1],r,0,0])):m.type==="tableHead"?(l=!0,s=r):m.type==="tableRow"||m.type==="tableDelimiterRow"?(s=r,a[1]!==0?(o[0]=o[1],c=Nr(h,t,a,i,r,c)):o[1]!==0&&(c=Nr(h,t,o,i,r,c)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(o[3]=r)}for(s!==0&&ma(h,t,s,u,p),h.consume(t.events),r=-1;++r<t.events.length;){let f=t.events[r];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=ha(t.events,r))}return e}function Nr(e,t,r,n,i,a){let o=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",l="tableContent";r[0]!==0&&(a.end=Object.assign({},qt(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));let s=qt(t.events,r[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){let u=qt(t.events,r[2]),p=qt(t.events,r[3]),c={type:l,start:Object.assign({},u),end:Object.assign({},p)};if(e.add(r[2],0,[["enter",c,t]]),n!==2){let h=t.events[r[2]],f=t.events[r[3]];if(h[1].end=Object.assign({},f[1].end),h[1].type="chunkText",h[1].contentType="text",r[3]>r[2]+1){let m=r[2]+1,y=r[3]-r[2]-1;e.add(m,y,[])}}e.add(r[3]+1,0,[["exit",c,t]])}return i!==void 0&&(a.end=Object.assign({},qt(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function ma(e,t,r,n,i){let a=[],o=qt(t.events,r);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),n.end=Object.assign({},o),a.push(["exit",n,t]),e.add(r+1,0,a)}function qt(e,t){let r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}var hp={name:"tasklistCheck",tokenize:mp};function ui(){return{text:{91:hp}}}function mp(e,t,r){let n=this;return i;function i(s){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),a)}function a(s){return U(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),o):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),o):r(s)}function o(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):r(s)}function l(s){return A(s)?t(s):B(s)?e.check({tokenize:dp},t,r)(s):r(s)}}function dp(e,t,r){return I(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function da(e){return Sr([Yn(),ai(),li(e),si(),ui()])}var gp={};function Rr(e){let t=this,r=e||gp,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(da(r)),a.push(Gn()),o.push($n(r))}function ci(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:l,mathText:o,mathTextData:l}};function e(s){let u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},s)}function t(){this.buffer()}function r(){let s=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=s}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(s){let u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(s),p.value=u;let c=p.data.hChildren[0];c.type,c.tagName,c.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function a(s){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},s),this.buffer()}function o(s){let u=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(s),p.value=u,p.data.hChildren.push({type:"text",value:u})}function l(s){this.config.enter.data.call(this,s),this.config.exit.data.call(this,s)}}function pi(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
20
|
-
`,inConstruct:"mathFlowMeta"},{character:"$",after:
|
|
21
|
-
`,before:
|
|
22
|
-
`),
|
|
23
|
-
`)),f+=p.move(c),h(),f}function n(a,o,l){let s=a.value||"",u=1;for(t||u++;new RegExp("(^|[^$])"+"\\$".repeat(u)+"([^$]|$)").test(s);)u++;let p="$".repeat(u);/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^\$|\$$/.test(s))&&(s=" "+s+" ");let c=-1;for(;++c<l.unsafe.length;){let h=l.unsafe[c];if(!h.atBreak)continue;let f=l.compilePattern(h),m;for(;m=f.exec(s);){let y=m.index;s.codePointAt(y)===10&&s.codePointAt(y-1)===13&&y--,s=s.slice(0,y)+" "+s.slice(m.index+1)}}return p+s+p}function i(){return"$"}}var wa={tokenize:wp,concrete:!0,name:"mathFlow"},ga={tokenize:bp,partial:!0};function wp(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return l;function l(b){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),s(b)}function s(b){return b===36?(e.consume(b),o++,s):o<2?r(b):(e.exit("mathFlowFenceSequence"),I(e,u,"whitespace")(b))}function u(b){return b===null||A(b)?c(b):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||A(b)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),c(b)):b===36?r(b):(e.consume(b),p)}function c(b){return e.exit("mathFlowFence"),n.interrupt?t(b):e.attempt(ga,h,k)(b)}function h(b){return e.attempt({tokenize:w,partial:!0},k,f)(b)}function f(b){return(a?I(e,m,"linePrefix",a+1):m)(b)}function m(b){return b===null?k(b):A(b)?e.attempt(ga,h,k)(b):(e.enter("mathFlowValue"),y(b))}function y(b){return b===null||A(b)?(e.exit("mathFlowValue"),m(b)):(e.consume(b),y)}function k(b){return e.exit("mathFlow"),t(b)}function w(b,E,R){let D=0;return I(b,T,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function T(O){return b.enter("mathFlowFence"),b.enter("mathFlowFenceSequence"),L(O)}function L(O){return O===36?(D++,b.consume(O),L):D<o?R(O):(b.exit("mathFlowFenceSequence"),I(b,G,"whitespace")(O))}function G(O){return O===null||A(O)?(b.exit("mathFlowFence"),E(O)):R(O)}}}function bp(e,t,r){let n=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function ba(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:xp,previous:kp,name:"mathText"};function n(i,a,o){let l=this,s=0,u,p;return c;function c(k){return i.enter("mathText"),i.enter("mathTextSequence"),h(k)}function h(k){return k===36?(i.consume(k),s++,h):s<2&&!r?o(k):(i.exit("mathTextSequence"),f(k))}function f(k){return k===null?o(k):k===36?(p=i.enter("mathTextSequence"),u=0,y(k)):k===32?(i.enter("space"),i.consume(k),i.exit("space"),f):A(k)?(i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),f):(i.enter("mathTextData"),m(k))}function m(k){return k===null||k===32||k===36||A(k)?(i.exit("mathTextData"),f(k)):(i.consume(k),m)}function y(k){return k===36?(i.consume(k),u++,y):u===s?(i.exit("mathTextSequence"),i.exit("mathText"),a(k)):(p.type="mathTextData",m(k))}}}function xp(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="mathTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function kp(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function fi(e){return{flow:{36:wa},text:{36:ba(e)}}}var yp={};function Dr(e){let t=this,r=e||yp,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(fi(r)),a.push(ci()),o.push(pi(r))}var xa={tokenize:vp};function vp(e){let t=e.attempt(this.parser.constructs.contentInitial,n,i),r;return t;function n(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),I(e,t,"linePrefix")}function i(l){return e.enter("paragraph"),a(l)}function a(l){let s=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=s),r=s,o(l)}function o(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return A(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),o)}}var ya={tokenize:Sp},ka={tokenize:Tp};function Sp(e){let t=this,r=[],n=0,i,a,o;return l;function l(E){if(n<r.length){let R=r[n];return t.containerState=R[1],e.attempt(R[0].continuation,s,u)(E)}return u(E)}function s(E){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&b();let R=t.events.length,D=R,T;for(;D--;)if(t.events[D][0]==="exit"&&t.events[D][1].type==="chunkFlow"){T=t.events[D][1].end;break}w(n);let L=R;for(;L<t.events.length;)t.events[L][1].end={...T},L++;return K(t.events,D+1,0,t.events.slice(R)),t.events.length=L,u(E)}return l(E)}function u(E){if(n===r.length){if(!i)return h(E);if(i.currentConstruct&&i.currentConstruct.concrete)return m(E);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ka,p,c)(E)}function p(E){return i&&b(),w(n),h(E)}function c(E){return t.parser.lazy[t.now().line]=n!==r.length,o=t.now().offset,m(E)}function h(E){return t.containerState={},e.attempt(ka,f,m)(E)}function f(E){return n++,r.push([t.currentConstruct,t.containerState]),h(E)}function m(E){if(E===null){i&&b(),w(0),e.consume(E);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),y(E)}function y(E){if(E===null){k(e.exit("chunkFlow"),!0),w(0),e.consume(E);return}return A(E)?(e.consume(E),k(e.exit("chunkFlow")),n=0,t.interrupt=void 0,l):(e.consume(E),y)}function k(E,R){let D=t.sliceStream(E);if(R&&D.push(null),E.previous=a,a&&(a.next=E),a=E,i.defineSkip(E.start),i.write(D),t.parser.lazy[E.start.line]){let T=i.events.length;for(;T--;)if(i.events[T][1].start.offset<o&&(!i.events[T][1].end||i.events[T][1].end.offset>o))return;let L=t.events.length,G=L,O,v;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){if(O){v=t.events[G][1].end;break}O=!0}for(w(n),T=L;T<t.events.length;)t.events[T][1].end={...v},T++;K(t.events,G+1,0,t.events.slice(L)),t.events.length=T}}function w(E){let R=r.length;for(;R-- >E;){let D=r[R];t.containerState=D[1],D[0].exit.call(t,e)}r.length=E}function b(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Tp(e,t,r){return I(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var va={tokenize:Ep};function Ep(e){let t=this,r=e.attempt(Le,n,e.attempt(this.parser.constructs.flowInitial,i,I(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Zn,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}var Sa={resolveAll:Ca()},Ta=Aa("string"),Ea=Aa("text");function Aa(e){return{resolveAll:Ca(e==="text"?Ap:void 0),tokenize:t};function t(r){let n=this,i=this.parser.constructs[e],a=r.attempt(i,o,l);return o;function o(p){return u(p)?a(p):l(p)}function l(p){if(p===null){r.consume(p);return}return r.enter("data"),r.consume(p),s}function s(p){return u(p)?(r.exit("data"),a(p)):(r.consume(p),s)}function u(p){if(p===null)return!0;let c=i[p],h=-1;if(c)for(;++h<c.length;){let f=c[h];if(!f.previous||f.previous.call(n,n.previous))return!0}return!1}}}function Ca(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function Ap(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){let n=e[r-1][1],i=t.sliceStream(n),a=i.length,o=-1,l=0,s;for(;a--;){let u=i[a];if(typeof u=="string"){for(o=u.length;u.charCodeAt(o-1)===32;)l++,o--;if(o)break;o=-1}else if(u===-2)s=!0,l++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){let u={type:r===e.length||s||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:n.start._bufferIndex+o,_index:n.start._index+a,line:n.end.line,column:n.end.column-l,offset:n.end.offset-l},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}var hi={};gs(hi,{attentionMarkers:()=>Mp,contentInitial:()=>qp,disable:()=>Np,document:()=>Cp,flow:()=>Lp,flowInitial:()=>_p,insideSpan:()=>Fp,string:()=>Ip,text:()=>Bp});var Cp={42:se,43:se,45:se,48:se,49:se,50:se,51:se,52:se,53:se,54:se,55:se,56:se,57:se,62:Tr},qp={91:Xn},_p={[-2]:Zt,[-1]:Zt,32:Zt},Lp={35:ei,42:pt,45:[Fr,pt],60:ri,61:Fr,95:pt,96:Cr,126:Cr},Ip={38:Ar,92:Er},Bp={[-5]:Jt,[-4]:Jt,[-3]:Jt,33:ii,38:Ar,42:Qt,60:[Kn,ni],91:oi,92:[Jn,Er],93:ct,95:Qt,96:Qn},Fp={null:[Qt,Sa]},Mp={null:[42,95]},Np={null:[]};function qa(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},a=[],o=[],l=[],s=!0,u={attempt:O(L),check:O(G),consume:R,enter:D,exit:T,interrupt:O(G,{interrupt:!0})},p={code:null,containerState:{},defineSkip:w,events:[],now:k,parser:e,previous:null,sliceSerialize:m,sliceStream:y,write:f},c=t.tokenize.call(p,u),h;return t.resolveAll&&a.push(t),p;function f(M){return o=fe(o,M),b(),o[o.length-1]!==null?[]:(v(t,0),p.events=Ve(a,p.events,p),p.events)}function m(M,P){return Dp(y(M),P)}function y(M){return Rp(o,M)}function k(){let{_bufferIndex:M,_index:P,line:H,column:W,offset:J}=n;return{_bufferIndex:M,_index:P,line:H,column:W,offset:J}}function w(M){i[M.line]=M.column,$()}function b(){let M;for(;n._index<o.length;){let P=o[n._index];if(typeof P=="string")for(M=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===M&&n._bufferIndex<P.length;)E(P.charCodeAt(n._bufferIndex));else E(P)}}function E(M){s=void 0,h=M,c=c(M)}function R(M){A(M)?(n.line++,n.column=1,n.offset+=M===-3?2:1,$()):M!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),p.previous=M,s=!0}function D(M,P){let H=P||{};return H.type=M,H.start=k(),p.events.push(["enter",H,p]),l.push(H),H}function T(M){let P=l.pop();return P.end=k(),p.events.push(["exit",P,p]),P}function L(M,P){v(M,P.from)}function G(M,P){P.restore()}function O(M,P){return H;function H(W,J,ye){let Ce,d,ke,Be;return Array.isArray(W)?we(W):"tokenize"in W?we([W]):g(W);function g(oe){return Ot;function Ot(Fe){let tt=Fe!==null&&oe[Fe],bt=Fe!==null&&oe.null,Xr=[...Array.isArray(tt)?tt:tt?[tt]:[],...Array.isArray(bt)?bt:bt?[bt]:[]];return we(Xr)(Fe)}}function we(oe){return Ce=oe,d=0,oe.length===0?ye:et(oe[d])}function et(oe){return Ot;function Ot(Fe){return Be=ne(),ke=oe,oe.partial||(p.currentConstruct=oe),oe.name&&p.parser.constructs.disable.null.includes(oe.name)?ur(Fe):oe.tokenize.call(P?Object.assign(Object.create(p),P):p,u,Zr,ur)(Fe)}}function Zr(oe){return s=!0,M(ke,Be),J}function ur(oe){return s=!0,Be.restore(),++d<Ce.length?et(Ce[d]):ye}}}function v(M,P){M.resolveAll&&!a.includes(M)&&a.push(M),M.resolve&&K(p.events,P,p.events.length-P,M.resolve(p.events.slice(P),p)),M.resolveTo&&(p.events=M.resolveTo(p.events,p))}function ne(){let M=k(),P=p.previous,H=p.currentConstruct,W=p.events.length,J=Array.from(l);return{from:W,restore:ye};function ye(){n=M,p.previous=P,p.currentConstruct=H,p.events.length=W,l=J,$()}}function $(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function Rp(e,t){let r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(r===i)o=[e[r].slice(n,a)];else{if(o=e.slice(r,i),n>-1){let l=o[0];typeof l=="string"?o[0]=l.slice(n):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Dp(e,t){let r=-1,n=[],i;for(;++r<e.length;){let a=e[r],o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
13
|
+
`});return f(),p(),d+`
|
|
14
|
+
`+(i===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(`
|
|
15
|
+
`))+1))}let o="#".repeat(i),s=t.enter("headingAtx"),u=t.enter("phrasing");a.move(o+" ");let c=t.containerPhrasing(e,{before:"# ",after:`
|
|
16
|
+
`,...a.current()});return/^[\t ]/.test(c)&&(c=at(c.charCodeAt(0))+c.slice(1)),c=c?o+" "+c:o,t.options.closeAtx&&(c+=" "+o),u(),s(),c}Ir.peek=Eu;function Ir(e){return e.value||""}function Eu(){return"<"}_r.peek=vu;function _r(e,n,t,r){let i=Ot(t),a=i==='"'?"Quote":"Apostrophe",o=t.enter("image"),s=t.enter("label"),u=t.createTracker(r),c=u.move("![");return c+=u.move(t.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=t.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(t.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(s=t.enter("destinationRaw"),c+=u.move(t.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),s(),e.title&&(s=t.enter(`title${a}`),c+=u.move(" "+i),c+=u.move(t.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),s()),c+=u.move(")"),o(),c}function vu(){return"!"}Mr.peek=Au;function Mr(e,n,t,r){let i=e.referenceType,a=t.enter("imageReference"),o=t.enter("label"),s=t.createTracker(r),u=s.move("!["),c=t.safe(e.alt,{before:u,after:"]",...s.current()});u+=s.move(c+"]["),o();let p=t.stack;t.stack=[],o=t.enter("reference");let f=t.safe(t.associationId(e),{before:u,after:"]",...s.current()});return o(),t.stack=p,a(),i==="full"||!c||c!==f?u+=s.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function Au(){return"!"}Rr.peek=Cu;function Rr(e,n,t){let r=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<t.unsafe.length;){let o=t.unsafe[a],s=t.compilePattern(o),u;if(o.atBreak)for(;u=s.exec(r);){let c=u.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(u.index+1)}}return i+r+i}function Cu(){return"`"}function Br(e,n){let t=St(e);return!!(!n.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(t===e.url||"mailto:"+t===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Nr.peek=qu;function Nr(e,n,t,r){let i=Ot(t),a=i==='"'?"Quote":"Apostrophe",o=t.createTracker(r),s,u;if(Br(e,t)){let p=t.stack;t.stack=[],s=t.enter("autolink");let f=o.move("<");return f+=o.move(t.containerPhrasing(e,{before:f,after:">",...o.current()})),f+=o.move(">"),s(),t.stack=p,f}s=t.enter("link"),u=t.enter("label");let c=o.move("[");return c+=o.move(t.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=t.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(t.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(u=t.enter("destinationRaw"),c+=o.move(t.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=t.enter(`title${a}`),c+=o.move(" "+i),c+=o.move(t.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),u()),c+=o.move(")"),s(),c}function qu(e,n,t){return Br(e,t)?"<":"["}Fr.peek=Lu;function Fr(e,n,t,r){let i=e.referenceType,a=t.enter("linkReference"),o=t.enter("label"),s=t.createTracker(r),u=s.move("["),c=t.containerPhrasing(e,{before:u,after:"]",...s.current()});u+=s.move(c+"]["),o();let p=t.stack;t.stack=[],o=t.enter("reference");let f=t.safe(t.associationId(e),{before:u,after:"]",...s.current()});return o(),t.stack=p,a(),i==="full"||!c||c!==f?u+=s.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function Lu(){return"["}function Ht(e){let n=e.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}function Wo(e){let n=Ht(e),t=e.options.bulletOther;if(!t)return n==="*"?"-":"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(t===n)throw new Error("Expected `bullet` (`"+n+"`) and `bulletOther` (`"+t+"`) to be different");return t}function Ko(e){let n=e.options.bulletOrdered||".";if(n!=="."&&n!==")")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOrdered`, expected `.` or `)`");return n}function Mn(e){let n=e.options.rule||"*";if(n!=="*"&&n!=="-"&&n!=="_")throw new Error("Cannot serialize rules with `"+n+"` for `options.rule`, expected `*`, `-`, or `_`");return n}function Qo(e,n,t,r){let i=t.enter("list"),a=t.bulletCurrent,o=e.ordered?Ko(t):Ht(t),s=e.ordered?o==="."?")":".":Wo(t),u=n&&t.bulletLastUsed?o===t.bulletLastUsed:!1;if(!e.ordered){let p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&t.stack[t.stack.length-1]==="list"&&t.stack[t.stack.length-2]==="listItem"&&t.stack[t.stack.length-3]==="list"&&t.stack[t.stack.length-4]==="listItem"&&t.indexStack[t.indexStack.length-1]===0&&t.indexStack[t.indexStack.length-2]===0&&t.indexStack[t.indexStack.length-3]===0&&(u=!0),Mn(t)===o&&p){let f=-1;for(;++f<e.children.length;){let d=e.children[f];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=s),t.bulletCurrent=o;let c=t.containerFlow(e,r);return t.bulletLastUsed=o,t.bulletCurrent=a,i(),c}function Zo(e){let n=e.options.listItemIndent||"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}function Xo(e,n,t,r){let i=Zo(t),a=t.bulletCurrent||Ht(t);n&&n.type==="list"&&n.ordered&&(a=(typeof n.start=="number"&&n.start>-1?n.start:1)+(t.options.incrementListMarker===!1?0:n.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=t.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);let u=t.enter("listItem"),c=t.indentLines(t.containerFlow(e,s.current()),p);return u(),c;function p(f,d,m){return d?(m?"":" ".repeat(o))+f:(m?a:a+" ".repeat(o-a.length))+f}}function Jo(e,n,t,r){let i=t.enter("paragraph"),a=t.enter("phrasing"),o=t.containerPhrasing(e,r);return a(),i(),o}var Dr=ot(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ea(e,n,t,r){return(e.children.some(function(o){return Dr(o)})?t.containerPhrasing:t.containerFlow).call(t,e,r)}function ta(e){let n=e.options.strong||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize strong with `"+n+"` for `options.strong`, expected `*`, or `_`");return n}Or.peek=Iu;function Or(e,n,t,r){let i=ta(t),a=t.enter("strong"),o=t.createTracker(r),s=o.move(i+i),u=o.move(t.containerPhrasing(e,{after:i,before:s,...o.current()})),c=u.charCodeAt(0),p=zt(r.before.charCodeAt(r.before.length-1),c,i);p.inside&&(u=at(c)+u.slice(1));let f=u.charCodeAt(u.length-1),d=zt(r.after.charCodeAt(0),f,i);d.inside&&(u=u.slice(0,-1)+at(f));let m=o.move(i+i);return a(),t.attentionEncodeSurroundingInfo={after:d.outside,before:p.outside},s+u+m}function Iu(e,n,t){return t.options.strong||"*"}function na(e,n,t,r){return t.safe(e.value,r)}function ra(e){let n=e.options.ruleRepetition||3;if(n<3)throw new Error("Cannot serialize rules with repetition `"+n+"` for `options.ruleRepetition`, expected `3` or more");return n}function ia(e,n,t){let r=(Mn(t)+(t.options.ruleSpaces?" ":"")).repeat(ra(t));return t.options.ruleSpaces?r.slice(0,-1):r}var cn={blockquote:Fo,break:qr,code:Ho,definition:Uo,emphasis:Lr,hardBreak:qr,heading:Yo,html:Ir,image:_r,imageReference:Mr,inlineCode:Rr,link:Nr,linkReference:Fr,list:Qo,listItem:Xo,paragraph:Jo,root:ea,strong:Or,text:na,thematicBreak:ia};var zr={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
17
|
+
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var _u={}.hasOwnProperty;function Ut(e){return _u.call(zr,e)?zr[e]:!1}function Rn(e,n){let t=Number.parseInt(e,n);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"\uFFFD":String.fromCodePoint(t)}var Mu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function oa(e){return e.replace(Mu,Ru)}function Ru(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){let i=t.charCodeAt(1),a=i===120||i===88;return Rn(t.slice(a?2:1),a?16:10)}return Ut(t)||e}function Hr(){return{enter:{table:Bu,tableData:aa,tableHeader:aa,tableRow:Fu},exit:{codeText:Du,table:Nu,tableData:Pr,tableHeader:Pr,tableRow:Pr}}}function Bu(e){let n=e._align;this.enter({type:"table",align:n.map(function(t){return t==="none"?null:t}),children:[]},e),this.data.inTable=!0}function Nu(e){this.exit(e),this.data.inTable=void 0}function Fu(e){this.enter({type:"tableRow",children:[]},e)}function Pr(e){this.exit(e)}function aa(e){this.enter({type:"tableCell",children:[]},e)}function Du(e){let n=this.resume();this.data.inTable&&(n=n.replace(/\\([\\|])/g,Ou));let t=this.stack[this.stack.length-1];t.type,t.value=n,this.exit(e)}function Ou(e,n){return n==="|"?n:e}function Ur(e){let n=e||{},t=n.tableCellPadding,r=n.tablePipeAlign,i=n.stringLength,a=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
18
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:o,tableCell:u,tableRow:s}};function o(m,x,I,A){return c(p(m,I,A),m.align)}function s(m,x,I,A){let k=f(m,I,A),E=c([k]);return E.slice(0,E.indexOf(`
|
|
19
|
+
`))}function u(m,x,I,A){let k=I.enter("tableCell"),E=I.enter("phrasing"),q=I.containerPhrasing(m,{...A,before:a,after:a});return E(),k(),q}function c(m,x){return No(m,{align:x,alignDelimiters:r,padding:t,stringLength:i})}function p(m,x,I){let A=m.children,k=-1,E=[],q=x.enter("table");for(;++k<A.length;)E[k]=f(A[k],x,I);return q(),E}function f(m,x,I){let A=m.children,k=-1,E=[],q=x.enter("tableRow");for(;++k<A.length;)E[k]=u(A[k],m,x,I);return q(),E}function d(m,x,I){let A=cn.inlineCode(m,x,I);return I.stack.includes("tableCell")&&(A=A.replace(/\|/g,"\\$&")),A}}function jr(){return{exit:{taskListCheckValueChecked:la,taskListCheckValueUnchecked:la,paragraph:zu}}}function Gr(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Pu}}}function la(e){let n=this.stack[this.stack.length-2];n.type,n.checked=e.type==="taskListCheckValueChecked"}function zu(e){let n=this.stack[this.stack.length-2];if(n&&n.type==="listItem"&&typeof n.checked=="boolean"){let t=this.stack[this.stack.length-1];t.type;let r=t.children[0];if(r&&r.type==="text"){let i=n.children,a=-1,o;for(;++a<i.length;){let s=i[a];if(s.type==="paragraph"){o=s;break}}o===t&&(r.value=r.value.slice(1),r.value.length===0?t.children.shift():t.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,t.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Pu(e,n,t,r){let i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=t.createTracker(r);a&&s.move(o);let u=cn.listItem(e,n,t,{...r,...s.current()});return a&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(p){return p+o}}function $r(){return[Tr(),Er(),Ar(),Hr(),jr()]}function Vr(e){return{extensions:[Sr(),vr(e),Cr(),Ur(e),Gr()]}}function ge(e,n,t,r){let i=e.length,a=0,o;if(n<0?n=-n>i?0:i+n:n=n>i?i:n,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(n,t),e.splice(...o);else for(t&&e.splice(n,t);a<r.length;)o=r.slice(a,a+1e4),o.unshift(n,0),e.splice(...o),a+=1e4,n+=1e4}function _e(e,n){return e.length>0?(ge(e,e.length,0,n),e):n}var sa={}.hasOwnProperty;function Bn(e){let n={},t=-1;for(;++t<e.length;)Hu(n,e[t]);return n}function Hu(e,n){let t;for(t in n){let i=(sa.call(e,t)?e[t]:void 0)||(e[t]={}),a=n[t],o;if(a)for(o in a){sa.call(i,o)||(i[o]=[]);let s=a[o];Uu(i[o],Array.isArray(s)?s:s?[s]:[])}}}function Uu(e,n){let t=-1,r=[];for(;++t<n.length;)(n[t].add==="after"?e:r).push(n[t]);ge(e,0,0,r)}var ju={tokenize:Wu,partial:!0},ua={tokenize:Ku,partial:!0},ca={tokenize:Qu,partial:!0},pa={tokenize:Zu,partial:!0},Gu={tokenize:Xu,partial:!0},fa={name:"wwwAutolink",tokenize:Vu,previous:ma},ha={name:"protocolAutolink",tokenize:Yu,previous:da},Xe={name:"emailAutolink",tokenize:$u,previous:ga},We={};function Wr(){return{text:We}}var Et=48;for(;Et<123;)We[Et]=Xe,Et++,Et===58?Et=65:Et===91&&(Et=97);We[43]=Xe;We[45]=Xe;We[46]=Xe;We[95]=Xe;We[72]=[Xe,ha];We[104]=[Xe,ha];We[87]=[Xe,fa];We[119]=[Xe,fa];function $u(e,n,t){let r=this,i,a;return o;function o(f){return!Yr(f)||!ga.call(r,r.previous)||Kr(r.events)?t(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(f))}function s(f){return Yr(f)?(e.consume(f),s):f===64?(e.consume(f),u):t(f)}function u(f){return f===46?e.check(Gu,p,c)(f):f===45||f===95||ke(f)?(a=!0,e.consume(f),u):p(f)}function c(f){return e.consume(f),i=!0,u}function p(f){return a&&i&&xe(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),n(f)):t(f)}}function Vu(e,n,t){let r=this;return i;function i(o){return o!==87&&o!==119||!ma.call(r,r.previous)||Kr(r.events)?t(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(ju,e.attempt(ua,e.attempt(ca,a),t),t)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),n(o)}}function Yu(e,n,t){let r=this,i="",a=!1;return o;function o(f){return(f===72||f===104)&&da.call(r,r.previous)&&!Kr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),s):t(f)}function s(f){if(xe(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),s;if(f===58){let d=i.toLowerCase();if(d==="http"||d==="https")return e.consume(f),u}return t(f)}function u(f){return f===47?(e.consume(f),a?c:(a=!0,u)):t(f)}function c(f){return f===null||xt(f)||ae(f)||Ye(f)||kt(f)?t(f):e.attempt(ua,e.attempt(ca,p),t)(f)}function p(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),n(f)}}function Wu(e,n,t){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),a):t(o)}function a(o){return o===null?t(o):n(o)}}function Ku(e,n,t){let r,i,a;return o;function o(c){return c===46||c===95?e.check(pa,u,s)(c):c===null||ae(c)||Ye(c)||c!==45&&kt(c)?u(c):(a=!0,e.consume(c),o)}function s(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),o}function u(c){return i||r||!a?t(c):n(c)}}function Qu(e,n){let t=0,r=0;return i;function i(o){return o===40?(t++,e.consume(o),i):o===41&&r<t?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(pa,n,a)(o):o===null||ae(o)||Ye(o)?n(o):(e.consume(o),i)}function a(o){return o===41&&r++,e.consume(o),i}}function Zu(e,n,t){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),r):s===38?(e.consume(s),a):s===93?(e.consume(s),i):s===60||s===null||ae(s)||Ye(s)?n(s):t(s)}function i(s){return s===null||s===40||s===91||ae(s)||Ye(s)?n(s):r(s)}function a(s){return xe(s)?o(s):t(s)}function o(s){return s===59?(e.consume(s),r):xe(s)?(e.consume(s),o):t(s)}}function Xu(e,n,t){return r;function r(a){return e.consume(a),i}function i(a){return ke(a)?t(a):n(a)}}function ma(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ae(e)}function da(e){return!xe(e)}function ga(e){return!(e===47||Yr(e))}function Yr(e){return e===43||e===45||e===46||e===95||ke(e)}function Kr(e){let n=e.length,t=!1;for(;n--;){let r=e[n][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){t=!0;break}if(r._gfmAutolinkLiteralWalkedInto){t=!1;break}}return e.length>0&&!t&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}function lt(e,n,t){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(n=a(n,t),r.push(a))}return n}var pn={name:"attention",resolveAll:Ju,tokenize:ec};function Ju(e,n){let t=-1,r,i,a,o,s,u,c,p;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(r=t;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&n.sliceSerialize(e[r][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[r][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;let f={...e[r][1].end},d={...e[t][1].start};wa(f,-u),wa(d,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[t][1].start},end:d},a={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[t][1].start}},i={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[t][1].start={...s.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=_e(c,[["enter",e[r][1],n],["exit",e[r][1],n]])),c=_e(c,[["enter",i,n],["enter",o,n],["exit",o,n],["enter",a,n]]),c=_e(c,lt(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),c=_e(c,[["exit",a,n],["enter",s,n],["exit",s,n],["exit",i,n]]),e[t][1].end.offset-e[t][1].start.offset?(p=2,c=_e(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):p=0,ge(e,r-1,t-r+3,c),t=r+c.length-p-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function ec(e,n){let t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Ze(r),a;return o;function o(u){return a=u,e.enter("attentionSequence"),s(u)}function s(u){if(u===a)return e.consume(u),s;let c=e.exit("attentionSequence"),p=Ze(u),f=!p||p===2&&i||t.includes(u),d=!i||i===2&&p||t.includes(r);return c._open=!!(a===42?f:f&&(i||!d)),c._close=!!(a===42?d:d&&(p||!f)),n(u)}}function wa(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}var Qr={name:"autolink",tokenize:tc};function tc(e,n,t){let r=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return xe(m)?(e.consume(m),o):m===64?t(m):c(m)}function o(m){return m===43||m===45||m===46||ke(m)?(r=1,s(m)):c(m)}function s(m){return m===58?(e.consume(m),r=0,u):(m===43||m===45||m===46||ke(m))&&r++<32?(e.consume(m),s):(r=0,c(m))}function u(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),n):m===null||m===32||m===60||xt(m)?t(m):(e.consume(m),u)}function c(m){return m===64?(e.consume(m),p):yo(m)?(e.consume(m),c):t(m)}function p(m){return ke(m)?f(m):t(m)}function f(m){return m===46?(e.consume(m),r=0,p):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),n):d(m)}function d(m){if((m===45||ke(m))&&r++<63){let x=m===45?d:f;return e.consume(m),x}return t(m)}}function K(e,n,t,r){let i=r?r-1:Number.POSITIVE_INFINITY,a=0;return o;function o(u){return Q(u)?(e.enter(t),s(u)):n(u)}function s(u){return Q(u)&&a++<i?(e.consume(u),s):(e.exit(t),n(u))}}var Ke={partial:!0,tokenize:nc};function nc(e,n,t){return r;function r(a){return Q(a)?K(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||O(a)?n(a):t(a)}}var Nn={continuation:{tokenize:ic},exit:oc,name:"blockQuote",tokenize:rc};function rc(e,n,t){let r=this;return i;function i(o){if(o===62){let s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return t(o)}function a(o){return Q(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(o))}}function ic(e,n,t){let r=this;return i;function i(o){return Q(o)?K(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(Nn,n,t)(o)}}function oc(e){e.exit("blockQuote")}var Fn={name:"characterEscape",tokenize:ac};function ac(e,n,t){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return So(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(a)}}var Dn={name:"characterReference",tokenize:lc};function lc(e,n,t){let r=this,i=0,a,o;return s;function s(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,o=ke,p(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=To,p):(e.enter("characterReferenceValue"),a=7,o=an,p(f))}function p(f){if(f===59&&i){let d=e.exit("characterReferenceValue");return o===ke&&!Ut(r.sliceSerialize(d))?t(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return o(f)&&i++<a?(e.consume(f),p):t(f)}}var ba={partial:!0,tokenize:uc},On={concrete:!0,name:"codeFenced",tokenize:sc};function sc(e,n,t){let r=this,i={partial:!0,tokenize:Z},a=0,o=0,s;return u;function u(B){return c(B)}function c(B){let G=r.events[r.events.length-1];return a=G&&G[1].type==="linePrefix"?G[2].sliceSerialize(G[1],!0).length:0,s=B,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(B)}function p(B){return B===s?(o++,e.consume(B),p):o<3?t(B):(e.exit("codeFencedFenceSequence"),Q(B)?K(e,f,"whitespace")(B):f(B))}function f(B){return B===null||O(B)?(e.exit("codeFencedFence"),r.interrupt?n(B):e.check(ba,I,V)(B)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(B))}function d(B){return B===null||O(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(B)):Q(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),K(e,m,"whitespace")(B)):B===96&&B===s?t(B):(e.consume(B),d)}function m(B){return B===null||O(B)?f(B):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(B))}function x(B){return B===null||O(B)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(B)):B===96&&B===s?t(B):(e.consume(B),x)}function I(B){return e.attempt(i,V,A)(B)}function A(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),k}function k(B){return a>0&&Q(B)?K(e,E,"linePrefix",a+1)(B):E(B)}function E(B){return B===null||O(B)?e.check(ba,I,V)(B):(e.enter("codeFlowValue"),q(B))}function q(B){return B===null||O(B)?(e.exit("codeFlowValue"),E(B)):(e.consume(B),q)}function V(B){return e.exit("codeFenced"),n(B)}function Z(B,G,le){let ee=0;return C;function C(re){return B.enter("lineEnding"),B.consume(re),B.exit("lineEnding"),fe}function fe(re){return B.enter("codeFencedFence"),Q(re)?K(B,se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(re):se(re)}function se(re){return re===s?(B.enter("codeFencedFenceSequence"),Y(re)):le(re)}function Y(re){return re===s?(ee++,B.consume(re),Y):ee>=o?(B.exit("codeFencedFenceSequence"),Q(re)?K(B,W,"whitespace")(re):W(re)):le(re)}function W(re){return re===null||O(re)?(B.exit("codeFencedFence"),G(re)):le(re)}}}function uc(e,n,t){let r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}var fn={name:"codeIndented",tokenize:pc},cc={partial:!0,tokenize:fc};function pc(e,n,t){let r=this;return i;function i(c){return e.enter("codeIndented"),K(e,a,"linePrefix",5)(c)}function a(c){let p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(c):t(c)}function o(c){return c===null?u(c):O(c)?e.attempt(cc,o,u)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||O(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function u(c){return e.exit("codeIndented"),n(c)}}function fc(e,n,t){let r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):O(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):K(e,a,"linePrefix",5)(o)}function a(o){let s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?n(o):O(o)?i(o):t(o)}}var Zr={name:"codeText",previous:mc,resolve:hc,tokenize:dc};function hc(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r<n;)if(e[r][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(r=t-1,n++;++r<=n;)i===void 0?r!==n&&e[r][1].type!=="lineEnding"&&(i=r):(r===n||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),n-=r-i-2,r=i+2),i=void 0);return e}function mc(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function dc(e,n,t){let r=this,i=0,a,o;return s;function s(d){return e.enter("codeText"),e.enter("codeTextSequence"),u(d)}function u(d){return d===96?(e.consume(d),i++,u):(e.exit("codeTextSequence"),c(d))}function c(d){return d===null?t(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),c):d===96?(o=e.enter("codeTextSequence"),a=0,f(d)):O(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("codeTextData"),p(d))}function p(d){return d===null||d===32||d===96||O(d)?(e.exit("codeTextData"),c(d)):(e.consume(d),p)}function f(d){return d===96?(e.consume(d),a++,f):a===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(d)):(o.type="codeTextData",p(d))}}var zn=class{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,t){let r=t??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(n,r):n>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(n,t,r){let i=t||0;this.setCursor(Math.trunc(n));let a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&hn(this.left,r),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),hn(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),hn(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){let t=this.left.splice(n,Number.POSITIVE_INFINITY);hn(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);hn(this.left,t.reverse())}}};function hn(e,n){let t=0;if(n.length<1e4)e.push(...n);else for(;t<n.length;)e.push(...n.slice(t,t+1e4)),t+=1e4}function Pn(e){let n={},t=-1,r,i,a,o,s,u,c,p=new zn(e);for(;++t<p.length;){for(;t in n;)t=n[t];if(r=p.get(t),t&&r[1].type==="chunkFlow"&&p.get(t-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,a=0,a<u.length&&u[a][1].type==="lineEndingBlank"&&(a+=2),a<u.length&&u[a][1].type==="content"))for(;++a<u.length&&u[a][1].type!=="content";)u[a][1].type==="chunkText"&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(n,gc(p,t)),t=n[t],c=!0);else if(r[1]._container){for(a=t,i=void 0;a--;)if(o=p.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...p.get(i)[1].start},s=p.slice(i,t),s.unshift(r),p.splice(i,t-i+1,s))}}return ge(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!c}function gc(e,n){let t=e.get(n)[1],r=e.get(n)[2],i=n-1,a=[],o=t._tokenizer;o||(o=r.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,u=[],c={},p,f,d=-1,m=t,x=0,I=0,A=[I];for(;m;){for(;e.get(++i)[1]!==m;);a.push(i),m._tokenizer||(p=r.sliceStream(m),m.next||p.push(null),f&&o.defineSkip(m.start),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=t;++d<s.length;)s[d][0]==="exit"&&s[d-1][0]==="enter"&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(I=d+1,A.push(I),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(o.events=[],m?(m._tokenizer=void 0,m.previous=void 0):A.pop(),d=A.length;d--;){let k=s.slice(A[d],A[d+1]),E=a.pop();u.push([E,E+k.length-1]),e.splice(E,2,k)}for(u.reverse(),d=-1;++d<u.length;)c[x+u[d][0]]=x+u[d][1],x+=u[d][1]-u[d][0]-1;return c}var Xr={resolve:bc,tokenize:xc},wc={partial:!0,tokenize:kc};function bc(e){return Pn(e),e}function xc(e,n){let t;return r;function r(s){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):O(s)?e.check(wc,o,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),n(s)}function o(s){return e.consume(s),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function kc(e,n,t){let r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),K(e,a,"linePrefix")}function a(o){if(o===null||O(o))return t(o);let s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}}function Hn(e,n,t,r,i,a,o,s,u){let c=u||Number.POSITIVE_INFINITY,p=0;return f;function f(k){return k===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(k),e.exit(a),d):k===null||k===32||k===41||xt(k)?t(k):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),I(k))}function d(k){return k===62?(e.enter(a),e.consume(k),e.exit(a),e.exit(i),e.exit(r),n):(e.enter(s),e.enter("chunkString",{contentType:"string"}),m(k))}function m(k){return k===62?(e.exit("chunkString"),e.exit(s),d(k)):k===null||k===60||O(k)?t(k):(e.consume(k),k===92?x:m)}function x(k){return k===60||k===62||k===92?(e.consume(k),m):m(k)}function I(k){return!p&&(k===null||k===41||ae(k))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),n(k)):p<c&&k===40?(e.consume(k),p++,I):k===41?(e.consume(k),p--,I):k===null||k===32||k===40||xt(k)?t(k):(e.consume(k),k===92?A:I)}function A(k){return k===40||k===41||k===92?(e.consume(k),I):I(k)}}function Un(e,n,t,r,i,a){let o=this,s=0,u;return c;function c(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),e.enter(a),p}function p(m){return s>999||m===null||m===91||m===93&&!u||m===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?t(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(r),n):O(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||O(m)||s++>999?(e.exit("chunkString"),p(m)):(e.consume(m),u||(u=!Q(m)),m===92?d:f)}function d(m){return m===91||m===92||m===93?(e.consume(m),s++,f):f(m)}}function jn(e,n,t,r,i,a){let o;return s;function s(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),o=d===40?41:d,u):t(d)}function u(d){return d===o?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),n):(e.enter(a),c(d))}function c(d){return d===o?(e.exit(a),u(o)):d===null?t(d):O(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),K(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(d))}function p(d){return d===o||d===null||O(d)?(e.exit("chunkString"),c(d)):(e.consume(d),d===92?f:p)}function f(d){return d===o||d===92?(e.consume(d),p):p(d)}}function vt(e,n){let t;return r;function r(i){return O(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):Q(i)?K(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}var Jr={name:"definition",tokenize:Tc},yc={partial:!0,tokenize:Sc};function Tc(e,n,t){let r=this,i;return a;function a(m){return e.enter("definition"),o(m)}function o(m){return Un.call(r,e,s,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function s(m){return i=Ae(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),u):t(m)}function u(m){return ae(m)?vt(e,c)(m):c(m)}function c(m){return Hn(e,p,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function p(m){return e.attempt(yc,f,f)(m)}function f(m){return Q(m)?K(e,d,"whitespace")(m):d(m)}function d(m){return m===null||O(m)?(e.exit("definition"),r.parser.defined.push(i),n(m)):t(m)}}function Sc(e,n,t){return r;function r(s){return ae(s)?vt(e,i)(s):t(s)}function i(s){return jn(e,a,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Q(s)?K(e,o,"whitespace")(s):o(s)}function o(s){return s===null||O(s)?n(s):t(s)}}var ei={name:"hardBreakEscape",tokenize:Ec};function Ec(e,n,t){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return O(a)?(e.exit("hardBreakEscape"),n(a)):t(a)}}var ti={name:"headingAtx",resolve:vc,tokenize:Ac};function vc(e,n){let t=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},a={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},ge(e,r,t-r+1,[["enter",i,n],["enter",a,n],["exit",a,n],["exit",i,n]])),e}function Ac(e,n,t){let r=0;return i;function i(p){return e.enter("atxHeading"),a(p)}function a(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&r++<6?(e.consume(p),o):p===null||ae(p)?(e.exit("atxHeadingSequence"),s(p)):t(p)}function s(p){return p===35?(e.enter("atxHeadingSequence"),u(p)):p===null||O(p)?(e.exit("atxHeading"),n(p)):Q(p)?K(e,s,"whitespace")(p):(e.enter("atxHeadingText"),c(p))}function u(p){return p===35?(e.consume(p),u):(e.exit("atxHeadingSequence"),s(p))}function c(p){return p===null||p===35||ae(p)?(e.exit("atxHeadingText"),s(p)):(e.consume(p),c)}}var xa=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ni=["pre","script","style","textarea"];var ri={concrete:!0,name:"htmlFlow",resolveTo:Lc,tokenize:Ic},Cc={partial:!0,tokenize:Mc},qc={partial:!0,tokenize:_c};function Lc(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function Ic(e,n,t){let r=this,i,a,o,s,u;return c;function c(w){return p(w)}function p(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),f}function f(w){return w===33?(e.consume(w),d):w===47?(e.consume(w),a=!0,I):w===63?(e.consume(w),i=3,r.interrupt?n:g):xe(w)?(e.consume(w),o=String.fromCharCode(w),A):t(w)}function d(w){return w===45?(e.consume(w),i=2,m):w===91?(e.consume(w),i=5,s=0,x):xe(w)?(e.consume(w),i=4,r.interrupt?n:g):t(w)}function m(w){return w===45?(e.consume(w),r.interrupt?n:g):t(w)}function x(w){let ye="CDATA[";return w===ye.charCodeAt(s++)?(e.consume(w),s===ye.length?r.interrupt?n:se:x):t(w)}function I(w){return xe(w)?(e.consume(w),o=String.fromCharCode(w),A):t(w)}function A(w){if(w===null||w===47||w===62||ae(w)){let ye=w===47,de=o.toLowerCase();return!ye&&!a&&ni.includes(de)?(i=1,r.interrupt?n(w):se(w)):xa.includes(o.toLowerCase())?(i=6,ye?(e.consume(w),k):r.interrupt?n(w):se(w)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(w):a?E(w):q(w))}return w===45||ke(w)?(e.consume(w),o+=String.fromCharCode(w),A):t(w)}function k(w){return w===62?(e.consume(w),r.interrupt?n:se):t(w)}function E(w){return Q(w)?(e.consume(w),E):C(w)}function q(w){return w===47?(e.consume(w),C):w===58||w===95||xe(w)?(e.consume(w),V):Q(w)?(e.consume(w),q):C(w)}function V(w){return w===45||w===46||w===58||w===95||ke(w)?(e.consume(w),V):Z(w)}function Z(w){return w===61?(e.consume(w),B):Q(w)?(e.consume(w),Z):q(w)}function B(w){return w===null||w===60||w===61||w===62||w===96?t(w):w===34||w===39?(e.consume(w),u=w,G):Q(w)?(e.consume(w),B):le(w)}function G(w){return w===u?(e.consume(w),u=null,ee):w===null||O(w)?t(w):(e.consume(w),G)}function le(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||ae(w)?Z(w):(e.consume(w),le)}function ee(w){return w===47||w===62||Q(w)?q(w):t(w)}function C(w){return w===62?(e.consume(w),fe):t(w)}function fe(w){return w===null||O(w)?se(w):Q(w)?(e.consume(w),fe):t(w)}function se(w){return w===45&&i===2?(e.consume(w),P):w===60&&i===1?(e.consume(w),pe):w===62&&i===4?(e.consume(w),ve):w===63&&i===3?(e.consume(w),g):w===93&&i===5?(e.consume(w),Re):O(w)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Cc,Ie,Y)(w)):w===null||O(w)?(e.exit("htmlFlowData"),Y(w)):(e.consume(w),se)}function Y(w){return e.check(qc,W,Ie)(w)}function W(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),re}function re(w){return w===null||O(w)?Y(w):(e.enter("htmlFlowData"),se(w))}function P(w){return w===45?(e.consume(w),g):se(w)}function pe(w){return w===47?(e.consume(w),o="",me):se(w)}function me(w){if(w===62){let ye=o.toLowerCase();return ni.includes(ye)?(e.consume(w),ve):se(w)}return xe(w)&&o.length<8?(e.consume(w),o+=String.fromCharCode(w),me):se(w)}function Re(w){return w===93?(e.consume(w),g):se(w)}function g(w){return w===62?(e.consume(w),ve):w===45&&i===2?(e.consume(w),g):se(w)}function ve(w){return w===null||O(w)?(e.exit("htmlFlowData"),Ie(w)):(e.consume(w),ve)}function Ie(w){return e.exit("htmlFlow"),n(w)}}function _c(e,n,t){let r=this;return i;function i(o){return O(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):t(o)}function a(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}function Mc(e,n,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Ke,n,t)}}var ii={name:"htmlText",tokenize:Rc};function Rc(e,n,t){let r=this,i,a,o;return s;function s(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),u}function u(g){return g===33?(e.consume(g),c):g===47?(e.consume(g),Z):g===63?(e.consume(g),q):xe(g)?(e.consume(g),le):t(g)}function c(g){return g===45?(e.consume(g),p):g===91?(e.consume(g),a=0,x):xe(g)?(e.consume(g),E):t(g)}function p(g){return g===45?(e.consume(g),m):t(g)}function f(g){return g===null?t(g):g===45?(e.consume(g),d):O(g)?(o=f,pe(g)):(e.consume(g),f)}function d(g){return g===45?(e.consume(g),m):f(g)}function m(g){return g===62?P(g):g===45?d(g):f(g)}function x(g){let ve="CDATA[";return g===ve.charCodeAt(a++)?(e.consume(g),a===ve.length?I:x):t(g)}function I(g){return g===null?t(g):g===93?(e.consume(g),A):O(g)?(o=I,pe(g)):(e.consume(g),I)}function A(g){return g===93?(e.consume(g),k):I(g)}function k(g){return g===62?P(g):g===93?(e.consume(g),k):I(g)}function E(g){return g===null||g===62?P(g):O(g)?(o=E,pe(g)):(e.consume(g),E)}function q(g){return g===null?t(g):g===63?(e.consume(g),V):O(g)?(o=q,pe(g)):(e.consume(g),q)}function V(g){return g===62?P(g):q(g)}function Z(g){return xe(g)?(e.consume(g),B):t(g)}function B(g){return g===45||ke(g)?(e.consume(g),B):G(g)}function G(g){return O(g)?(o=G,pe(g)):Q(g)?(e.consume(g),G):P(g)}function le(g){return g===45||ke(g)?(e.consume(g),le):g===47||g===62||ae(g)?ee(g):t(g)}function ee(g){return g===47?(e.consume(g),P):g===58||g===95||xe(g)?(e.consume(g),C):O(g)?(o=ee,pe(g)):Q(g)?(e.consume(g),ee):P(g)}function C(g){return g===45||g===46||g===58||g===95||ke(g)?(e.consume(g),C):fe(g)}function fe(g){return g===61?(e.consume(g),se):O(g)?(o=fe,pe(g)):Q(g)?(e.consume(g),fe):ee(g)}function se(g){return g===null||g===60||g===61||g===62||g===96?t(g):g===34||g===39?(e.consume(g),i=g,Y):O(g)?(o=se,pe(g)):Q(g)?(e.consume(g),se):(e.consume(g),W)}function Y(g){return g===i?(e.consume(g),i=void 0,re):g===null?t(g):O(g)?(o=Y,pe(g)):(e.consume(g),Y)}function W(g){return g===null||g===34||g===39||g===60||g===61||g===96?t(g):g===47||g===62||ae(g)?ee(g):(e.consume(g),W)}function re(g){return g===47||g===62||ae(g)?ee(g):t(g)}function P(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),n):t(g)}function pe(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),me}function me(g){return Q(g)?K(e,Re,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):Re(g)}function Re(g){return e.enter("htmlTextData"),o(g)}}var At={name:"labelEnd",resolveAll:Dc,resolveTo:Oc,tokenize:zc},Bc={tokenize:Pc},Nc={tokenize:Hc},Fc={tokenize:Uc};function Dc(e){let n=-1,t=[];for(;++n<e.length;){let r=e[n][1];if(t.push(e[n]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){let i=r.type==="labelImage"?4:2;r.type="data",n+=i}}return e.length!==t.length&&ge(e,0,e.length,t),e}function Oc(e,n){let t=e.length,r=0,i,a,o,s;for(;t--;)if(i=e[t][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=t);let u={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[a+r+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",u,n],["enter",c,n]],s=_e(s,e.slice(a+1,a+r+3)),s=_e(s,[["enter",p,n]]),s=_e(s,lt(n.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),n)),s=_e(s,[["exit",p,n],e[o-2],e[o-1],["exit",c,n]]),s=_e(s,e.slice(o+1)),s=_e(s,[["exit",u,n]]),ge(e,a,e.length,s),e}function zc(e,n,t){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(d){return a?a._inactive?f(d):(o=r.parser.defined.includes(Ae(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),u):t(d)}function u(d){return d===40?e.attempt(Bc,p,o?p:f)(d):d===91?e.attempt(Nc,p,o?c:f)(d):o?p(d):f(d)}function c(d){return e.attempt(Fc,p,f)(d)}function p(d){return n(d)}function f(d){return a._balanced=!0,t(d)}}function Pc(e,n,t){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return ae(f)?vt(e,a)(f):a(f)}function a(f){return f===41?p(f):Hn(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return ae(f)?vt(e,u)(f):p(f)}function s(f){return t(f)}function u(f){return f===34||f===39||f===40?jn(e,c,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):p(f)}function c(f){return ae(f)?vt(e,p)(f):p(f)}function p(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),n):t(f)}}function Hc(e,n,t){let r=this;return i;function i(s){return Un.call(r,e,a,o,"reference","referenceMarker","referenceString")(s)}function a(s){return r.parser.defined.includes(Ae(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(s):t(s)}function o(s){return t(s)}}function Uc(e,n,t){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),n):t(a)}}var oi={name:"labelStartImage",resolveAll:At.resolveAll,tokenize:jc};function jc(e,n,t){let r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):t(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(s):n(s)}}var ai={name:"labelStartLink",resolveAll:At.resolveAll,tokenize:Gc};function Gc(e,n,t){let r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):n(o)}}var mn={name:"lineEnding",tokenize:$c};function $c(e,n){return t;function t(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),K(e,n,"linePrefix")}}var Ct={name:"thematicBreak",tokenize:Vc};function Vc(e,n,t){let r=0,i;return a;function a(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,s(c)}function s(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||O(c))?(e.exit("thematicBreak"),n(c)):t(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),Q(c)?K(e,s,"whitespace")(c):s(c))}}var Ce={continuation:{tokenize:Qc},exit:Xc,name:"list",tokenize:Kc},Yc={partial:!0,tokenize:Jc},Wc={partial:!0,tokenize:Zc};function Kc(e,n,t){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(m){let x=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:an(m)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Ct,t,c)(m):c(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(m)}return t(m)}function u(m){return an(m)&&++o<10?(e.consume(m),u):(!r.interrupt||o<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):t(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(Ke,r.interrupt?t:p,e.attempt(Yc,d,f))}function p(m){return r.containerState.initialBlankLine=!0,a++,d(m)}function f(m){return Q(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),d):t(m)}function d(m){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(m)}}function Qc(e,n,t){let r=this;return r.containerState._closeFlow=void 0,e.check(Ke,i,a);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,K(e,n,"listItemIndent",r.containerState.size+1)(s)}function a(s){return r.containerState.furtherBlankLines||!Q(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Wc,n,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,K(e,e.attempt(Ce,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Zc(e,n,t){let r=this;return K(e,i,"listItemIndent",r.containerState.size+1);function i(a){let o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?n(a):t(a)}}function Xc(e){e.exit(this.containerState.type)}function Jc(e,n,t){let r=this;return K(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){let o=r.events[r.events.length-1];return!Q(a)&&o&&o[1].type==="listItemPrefixWhitespace"?n(a):t(a)}}var Gn={name:"setextUnderline",resolveTo:ep,tokenize:tp};function ep(e,n){let t=e.length,r,i,a;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(i=t)}else e[t][1].type==="content"&&e.splice(t,1),!a&&e[t][1].type==="definition"&&(a=t);let o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,n]),e.splice(a+1,0,["exit",e[r][1],n]),e[r][1].end={...e[a][1].end}):e[r][1]=o,e.push(["exit",o,n]),e}function tp(e,n,t){let r=this,i;return a;function a(c){let p=r.events.length,f;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){f=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):t(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Q(c)?K(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||O(c)?(e.exit("setextHeadingLine"),n(c)):t(c)}}var np={tokenize:up,partial:!0};function li(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:ap,continuation:{tokenize:lp},exit:sp}},text:{91:{name:"gfmFootnoteCall",tokenize:op},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:rp,resolveTo:ip}}}}function rp(e,n,t){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let u=r.events[i][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return s;function s(u){if(!o||!o._balanced)return t(u);let c=Ae(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?t(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),n(u))}}function ip(e,n){let t=e.length,r;for(;t--;)if(e[t][1].type==="labelImage"&&e[t][0]==="enter"){r=e[t][1];break}e[t+1][1].type="data",e[t+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[t+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[t+3][1].end),end:Object.assign({},e[t+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},u=[e[t+1],e[t+2],["enter",i,n],e[t+3],e[t+4],["enter",a,n],["exit",a,n],["enter",o,n],["enter",s,n],["exit",s,n],["exit",o,n],e[e.length-2],e[e.length-1],["exit",i,n]];return e.splice(t,e.length-t+1,...u),e}function op(e,n,t){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?t(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(a>999||f===93&&!o||f===null||f===91||ae(f))return t(f);if(f===93){e.exit("chunkString");let d=e.exit("gfmFootnoteCallString");return i.includes(Ae(r.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n):t(f)}return ae(f)||(o=!0),a++,e.consume(f),f===92?p:c}function p(f){return f===91||f===92||f===93?(e.consume(f),a++,c):c(f)}}function ap(e,n,t){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return u;function u(x){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(x){return x===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):t(x)}function p(x){if(o>999||x===93&&!s||x===null||x===91||ae(x))return t(x);if(x===93){e.exit("chunkString");let I=e.exit("gfmFootnoteDefinitionLabelString");return a=Ae(r.sliceSerialize(I)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(x),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return ae(x)||(s=!0),o++,e.consume(x),x===92?f:p}function f(x){return x===91||x===92||x===93?(e.consume(x),o++,p):p(x)}function d(x){return x===58?(e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),i.includes(a)||i.push(a),K(e,m,"gfmFootnoteDefinitionWhitespace")):t(x)}function m(x){return n(x)}}function lp(e,n,t){return e.check(Ke,n,e.attempt(np,n,t))}function sp(e){e.exit("gfmFootnoteDefinition")}function up(e,n,t){let r=this;return K(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){let o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?n(a):t(a)}}function si(e){let t=(e||{}).singleTilde,r={name:"strikethrough",tokenize:a,resolveAll:i};return t==null&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,s){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let c=u;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[u][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";let p={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[u][1].end)},f={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[u][1].start)},d=[["enter",p,s],["enter",o[c][1],s],["exit",o[c][1],s],["enter",f,s]],m=s.parser.constructs.insideSpan.null;m&&ge(d,d.length,0,lt(m,o.slice(c+1,u),s)),ge(d,d.length,0,[["exit",f,s],["enter",o[u][1],s],["exit",o[u][1],s],["exit",p,s]]),ge(o,c-1,u-c+3,d),u=c+d.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}function a(o,s,u){let c=this.previous,p=this.events,f=0;return d;function d(x){return c===126&&p[p.length-1][1].type!=="characterEscape"?u(x):(o.enter("strikethroughSequenceTemporary"),m(x))}function m(x){let I=Ze(c);if(x===126)return f>1?u(x):(o.consume(x),f++,m);if(f<2&&!t)return u(x);let A=o.exit("strikethroughSequenceTemporary"),k=Ze(x);return A._open=!k||k===2&&!!I,A._close=!I||I===2&&!!k,s(x)}}}var $n=class{constructor(){this.map=[]}add(n,t,r){cp(this,n,t,r)}consume(n){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let t=this.map.length,r=[];for(;t>0;)t-=1,r.push(n.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),n.length=this.map[t][0];r.push(n.slice()),n.length=0;let i=r.pop();for(;i;){for(let a of i)n.push(a);i=r.pop()}this.map.length=0}};function cp(e,n,t,r){let i=0;if(!(t===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===n){e.map[i][1]+=t,e.map[i][2].push(...r);return}i+=1}e.map.push([n,t,r])}}function ka(e,n){let t=!1,r=[];for(;n<e.length;){let i=e[n];if(t){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[n+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[n-1][1].type==="tableDelimiterMarker"){let a=r.length-1;r[a]=r[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(t=!0);n+=1}return r}function ui(){return{flow:{null:{name:"table",tokenize:pp,resolveAll:fp}}}}function pp(e,n,t){let r=this,i=0,a=0,o;return s;function s(C){let fe=r.events.length-1;for(;fe>-1;){let W=r.events[fe][1].type;if(W==="lineEnding"||W==="linePrefix")fe--;else break}let se=fe>-1?r.events[fe][1].type:null,Y=se==="tableHead"||se==="tableRow"?B:u;return Y===B&&r.parser.lazy[r.now().line]?t(C):Y(C)}function u(C){return e.enter("tableHead"),e.enter("tableRow"),c(C)}function c(C){return C===124||(o=!0,a+=1),p(C)}function p(C){return C===null?t(C):O(C)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),m):t(C):Q(C)?K(e,p,"whitespace")(C):(a+=1,o&&(o=!1,i+=1),C===124?(e.enter("tableCellDivider"),e.consume(C),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),f(C)))}function f(C){return C===null||C===124||ae(C)?(e.exit("data"),p(C)):(e.consume(C),C===92?d:f)}function d(C){return C===92||C===124?(e.consume(C),f):f(C)}function m(C){return r.interrupt=!1,r.parser.lazy[r.now().line]?t(C):(e.enter("tableDelimiterRow"),o=!1,Q(C)?K(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):x(C))}function x(C){return C===45||C===58?A(C):C===124?(o=!0,e.enter("tableCellDivider"),e.consume(C),e.exit("tableCellDivider"),I):Z(C)}function I(C){return Q(C)?K(e,A,"whitespace")(C):A(C)}function A(C){return C===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(C),e.exit("tableDelimiterMarker"),k):C===45?(a+=1,k(C)):C===null||O(C)?V(C):Z(C)}function k(C){return C===45?(e.enter("tableDelimiterFiller"),E(C)):Z(C)}function E(C){return C===45?(e.consume(C),E):C===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(C),e.exit("tableDelimiterMarker"),q):(e.exit("tableDelimiterFiller"),q(C))}function q(C){return Q(C)?K(e,V,"whitespace")(C):V(C)}function V(C){return C===124?x(C):C===null||O(C)?!o||i!==a?Z(C):(e.exit("tableDelimiterRow"),e.exit("tableHead"),n(C)):Z(C)}function Z(C){return t(C)}function B(C){return e.enter("tableRow"),G(C)}function G(C){return C===124?(e.enter("tableCellDivider"),e.consume(C),e.exit("tableCellDivider"),G):C===null||O(C)?(e.exit("tableRow"),n(C)):Q(C)?K(e,G,"whitespace")(C):(e.enter("data"),le(C))}function le(C){return C===null||C===124||ae(C)?(e.exit("data"),G(C)):(e.consume(C),C===92?ee:le)}function ee(C){return C===92||C===124?(e.consume(C),le):le(C)}}function fp(e,n){let t=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,u=0,c,p,f,d=new $n;for(;++t<e.length;){let m=e[t],x=m[1];m[0]==="enter"?x.type==="tableHead"?(s=!1,u!==0&&(ya(d,n,u,c,p),p=void 0,u=0),c={type:"table",start:Object.assign({},x.start),end:Object.assign({},x.end)},d.add(t,0,[["enter",c,n]])):x.type==="tableRow"||x.type==="tableDelimiterRow"?(r=!0,f=void 0,a=[0,0,0,0],o=[0,t+1,0,0],s&&(s=!1,p={type:"tableBody",start:Object.assign({},x.start),end:Object.assign({},x.end)},d.add(t,0,[["enter",p,n]])),i=x.type==="tableDelimiterRow"?2:p?3:1):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],f=Vn(d,n,a,i,void 0,f),a=[0,0,0,0]),o[2]=t)):x.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],f=Vn(d,n,a,i,void 0,f)),a=o,o=[a[1],t,0,0])):x.type==="tableHead"?(s=!0,u=t):x.type==="tableRow"||x.type==="tableDelimiterRow"?(u=t,a[1]!==0?(o[0]=o[1],f=Vn(d,n,a,i,t,f)):o[1]!==0&&(f=Vn(d,n,o,i,t,f)),i=0):i&&(x.type==="data"||x.type==="tableDelimiterMarker"||x.type==="tableDelimiterFiller")&&(o[3]=t)}for(u!==0&&ya(d,n,u,c,p),d.consume(n.events),t=-1;++t<n.events.length;){let m=n.events[t];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=ka(n.events,t))}return e}function Vn(e,n,t,r,i,a){let o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";t[0]!==0&&(a.end=Object.assign({},jt(n.events,t[0])),e.add(t[0],0,[["exit",a,n]]));let u=jt(n.events,t[1]);if(a={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(t[1],0,[["enter",a,n]]),t[2]!==0){let c=jt(n.events,t[2]),p=jt(n.events,t[3]),f={type:s,start:Object.assign({},c),end:Object.assign({},p)};if(e.add(t[2],0,[["enter",f,n]]),r!==2){let d=n.events[t[2]],m=n.events[t[3]];if(d[1].end=Object.assign({},m[1].end),d[1].type="chunkText",d[1].contentType="text",t[3]>t[2]+1){let x=t[2]+1,I=t[3]-t[2]-1;e.add(x,I,[])}}e.add(t[3]+1,0,[["exit",f,n]])}return i!==void 0&&(a.end=Object.assign({},jt(n.events,i)),e.add(i,0,[["exit",a,n]]),a=void 0),a}function ya(e,n,t,r,i){let a=[],o=jt(n.events,t);i&&(i.end=Object.assign({},o),a.push(["exit",i,n])),r.end=Object.assign({},o),a.push(["exit",r,n]),e.add(t+1,0,a)}function jt(e,n){let t=e[n],r=t[0]==="enter"?"start":"end";return t[1][r]}var hp={name:"tasklistCheck",tokenize:mp};function ci(){return{text:{91:hp}}}function mp(e,n,t){let r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?t(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),a)}function a(u){return ae(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):t(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):t(u)}function s(u){return O(u)?n(u):Q(u)?e.check({tokenize:dp},n,t)(u):t(u)}}function dp(e,n,t){return K(e,r,"whitespace");function r(i){return i===null?t(i):n(i)}}function Ta(e){return Bn([Wr(),li(),si(e),ui(),ci()])}var gp={};function Gt(e){let n=this,t=e||gp,r=n.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Ta(t)),a.push($r()),o.push(Vr(t))}function pi(){return{enter:{mathFlow:e,mathFlowFenceMeta:n,mathText:a},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:t,mathFlowValue:s,mathText:o,mathTextData:s}};function e(u){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},u)}function n(){this.buffer()}function t(){let u=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=u}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(u),p.value=c;let f=p.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function a(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function o(u){let c=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(u),p.value=c,p.data.hChildren.push({type:"text",value:c})}function s(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function fi(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
20
|
+
`,inConstruct:"mathFlowMeta"},{character:"$",after:n?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:t,inlineMath:r}};function t(a,o,s,u){let c=a.value||"",p=s.createTracker(u),f="$".repeat(Math.max(_n(c,"$")+1,2)),d=s.enter("mathFlow"),m=p.move(f);if(a.meta){let x=s.enter("mathFlowMeta");m+=p.move(s.safe(a.meta,{after:`
|
|
21
|
+
`,before:m,encode:["$"],...p.current()})),x()}return m+=p.move(`
|
|
22
|
+
`),c&&(m+=p.move(c+`
|
|
23
|
+
`)),m+=p.move(f),d(),m}function r(a,o,s){let u=a.value||"",c=1;for(n||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(u);)c++;let p="$".repeat(c);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let f=-1;for(;++f<s.unsafe.length;){let d=s.unsafe[f];if(!d.atBreak)continue;let m=s.compilePattern(d),x;for(;x=m.exec(u);){let I=x.index;u.codePointAt(I)===10&&u.codePointAt(I-1)===13&&I--,u=u.slice(0,I)+" "+u.slice(x.index+1)}}return p+u+p}function i(){return"$"}}var Ea={tokenize:wp,concrete:!0,name:"mathFlow"},Sa={tokenize:bp,partial:!0};function wp(e,n,t){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(E){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(E)}function u(E){return E===36?(e.consume(E),o++,u):o<2?t(E):(e.exit("mathFlowFenceSequence"),K(e,c,"whitespace")(E))}function c(E){return E===null||O(E)?f(E):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(E))}function p(E){return E===null||O(E)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(E)):E===36?t(E):(e.consume(E),p)}function f(E){return e.exit("mathFlowFence"),r.interrupt?n(E):e.attempt(Sa,d,A)(E)}function d(E){return e.attempt({tokenize:k,partial:!0},A,m)(E)}function m(E){return(a?K(e,x,"linePrefix",a+1):x)(E)}function x(E){return E===null?A(E):O(E)?e.attempt(Sa,d,A)(E):(e.enter("mathFlowValue"),I(E))}function I(E){return E===null||O(E)?(e.exit("mathFlowValue"),x(E)):(e.consume(E),I)}function A(E){return e.exit("mathFlow"),n(E)}function k(E,q,V){let Z=0;return K(E,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function B(ee){return E.enter("mathFlowFence"),E.enter("mathFlowFenceSequence"),G(ee)}function G(ee){return ee===36?(Z++,E.consume(ee),G):Z<o?V(ee):(E.exit("mathFlowFenceSequence"),K(E,le,"whitespace")(ee))}function le(ee){return ee===null||O(ee)?(E.exit("mathFlowFence"),q(ee)):V(ee)}}}function bp(e,n,t){let r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}function va(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),{tokenize:r,resolve:xp,previous:kp,name:"mathText"};function r(i,a,o){let s=this,u=0,c,p;return f;function f(A){return i.enter("mathText"),i.enter("mathTextSequence"),d(A)}function d(A){return A===36?(i.consume(A),u++,d):u<2&&!t?o(A):(i.exit("mathTextSequence"),m(A))}function m(A){return A===null?o(A):A===36?(p=i.enter("mathTextSequence"),c=0,I(A)):A===32?(i.enter("space"),i.consume(A),i.exit("space"),m):O(A)?(i.enter("lineEnding"),i.consume(A),i.exit("lineEnding"),m):(i.enter("mathTextData"),x(A))}function x(A){return A===null||A===32||A===36||O(A)?(i.exit("mathTextData"),m(A)):(i.consume(A),x)}function I(A){return A===36?(i.consume(A),c++,I):c===u?(i.exit("mathTextSequence"),i.exit("mathText"),a(A)):(p.type="mathTextData",x(A))}}}function xp(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r<n;)if(e[r][1].type==="mathTextData"){e[n][1].type="mathTextPadding",e[t][1].type="mathTextPadding",t+=2,n-=2;break}}for(r=t-1,n++;++r<=n;)i===void 0?r!==n&&e[r][1].type!=="lineEnding"&&(i=r):(r===n||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),n-=r-i-2,r=i+2),i=void 0);return e}function kp(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function hi(e){return{flow:{36:Ea},text:{36:va(e)}}}var yp={};function $t(e){let n=this,t=e||yp,r=n.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(hi(t)),a.push(pi()),o.push(fi(t))}var Aa={tokenize:Tp};function Tp(e){let n=e.attempt(this.parser.constructs.contentInitial,r,i),t;return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),K(e,n,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){let u=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=u),t=u,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return O(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),o)}}var qa={tokenize:Sp},Ca={tokenize:Ep};function Sp(e){let n=this,t=[],r=0,i,a,o;return s;function s(q){if(r<t.length){let V=t[r];return n.containerState=V[1],e.attempt(V[0].continuation,u,c)(q)}return c(q)}function u(q){if(r++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,i&&E();let V=n.events.length,Z=V,B;for(;Z--;)if(n.events[Z][0]==="exit"&&n.events[Z][1].type==="chunkFlow"){B=n.events[Z][1].end;break}k(r);let G=V;for(;G<n.events.length;)n.events[G][1].end={...B},G++;return ge(n.events,Z+1,0,n.events.slice(V)),n.events.length=G,c(q)}return s(q)}function c(q){if(r===t.length){if(!i)return d(q);if(i.currentConstruct&&i.currentConstruct.concrete)return x(q);n.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(Ca,p,f)(q)}function p(q){return i&&E(),k(r),d(q)}function f(q){return n.parser.lazy[n.now().line]=r!==t.length,o=n.now().offset,x(q)}function d(q){return n.containerState={},e.attempt(Ca,m,x)(q)}function m(q){return r++,t.push([n.currentConstruct,n.containerState]),d(q)}function x(q){if(q===null){i&&E(),k(0),e.consume(q);return}return i=i||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),I(q)}function I(q){if(q===null){A(e.exit("chunkFlow"),!0),k(0),e.consume(q);return}return O(q)?(e.consume(q),A(e.exit("chunkFlow")),r=0,n.interrupt=void 0,s):(e.consume(q),I)}function A(q,V){let Z=n.sliceStream(q);if(V&&Z.push(null),q.previous=a,a&&(a.next=q),a=q,i.defineSkip(q.start),i.write(Z),n.parser.lazy[q.start.line]){let B=i.events.length;for(;B--;)if(i.events[B][1].start.offset<o&&(!i.events[B][1].end||i.events[B][1].end.offset>o))return;let G=n.events.length,le=G,ee,C;for(;le--;)if(n.events[le][0]==="exit"&&n.events[le][1].type==="chunkFlow"){if(ee){C=n.events[le][1].end;break}ee=!0}for(k(r),B=G;B<n.events.length;)n.events[B][1].end={...C},B++;ge(n.events,le+1,0,n.events.slice(G)),n.events.length=B}}function k(q){let V=t.length;for(;V-- >q;){let Z=t[V];n.containerState=Z[1],Z[0].exit.call(n,e)}t.length=q}function E(){i.write([null]),a=void 0,i=void 0,n.containerState._closeFlow=void 0}}function Ep(e,n,t){return K(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var La={tokenize:vp};function vp(e){let n=this,t=e.attempt(Ke,r,e.attempt(this.parser.constructs.flowInitial,i,K(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Xr,i)),"linePrefix")));return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n.currentConstruct=void 0,t}}var Ia={resolveAll:Ba()},_a=Ra("string"),Ma=Ra("text");function Ra(e){return{resolveAll:Ba(e==="text"?Ap:void 0),tokenize:n};function n(t){let r=this,i=this.parser.constructs[e],a=t.attempt(i,o,s);return o;function o(p){return c(p)?a(p):s(p)}function s(p){if(p===null){t.consume(p);return}return t.enter("data"),t.consume(p),u}function u(p){return c(p)?(t.exit("data"),a(p)):(t.consume(p),u)}function c(p){if(p===null)return!0;let f=i[p],d=-1;if(f)for(;++d<f.length;){let m=f[d];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function Ba(e){return n;function n(t,r){let i=-1,a;for(;++i<=t.length;)a===void 0?t[i]&&t[i][1].type==="data"&&(a=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==a+2&&(t[a][1].end=t[i-1][1].end,t.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(t,r):t}}function Ap(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){let r=e[t-1][1],i=n.sliceStream(r),a=i.length,o=-1,s=0,u;for(;a--;){let c=i[a];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(c===-2)u=!0,s++;else if(c!==-1){a++;break}}if(n._contentTypeTextTrailing&&t===e.length&&(s=0),s){let c={type:t===e.length||u||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:r.start._bufferIndex+o,_index:r.start._index+a,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(t,0,["enter",c,n],["exit",c,n]),t+=2)}t++}return e}var mi={};gs(mi,{attentionMarkers:()=>Bp,contentInitial:()=>qp,disable:()=>Np,document:()=>Cp,flow:()=>Ip,flowInitial:()=>Lp,insideSpan:()=>Rp,string:()=>_p,text:()=>Mp});var Cp={42:Ce,43:Ce,45:Ce,48:Ce,49:Ce,50:Ce,51:Ce,52:Ce,53:Ce,54:Ce,55:Ce,56:Ce,57:Ce,62:Nn},qp={91:Jr},Lp={[-2]:fn,[-1]:fn,32:fn},Ip={35:ti,42:Ct,45:[Gn,Ct],60:ri,61:Gn,95:Ct,96:On,126:On},_p={38:Dn,92:Fn},Mp={[-5]:mn,[-4]:mn,[-3]:mn,33:oi,38:Dn,42:pn,60:[Qr,ii],91:ai,92:[ei,Fn],93:At,95:pn,96:Zr},Rp={null:[pn,Ia]},Bp={null:[42,95]},Np={null:[]};function Na(e,n,t){let r={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0},i={},a=[],o=[],s=[],u=!0,c={attempt:ee(G),check:ee(le),consume:V,enter:Z,exit:B,interrupt:ee(le,{interrupt:!0})},p={code:null,containerState:{},defineSkip:k,events:[],now:A,parser:e,previous:null,sliceSerialize:x,sliceStream:I,write:m},f=n.tokenize.call(p,c),d;return n.resolveAll&&a.push(n),p;function m(Y){return o=_e(o,Y),E(),o[o.length-1]!==null?[]:(C(n,0),p.events=lt(a,p.events,p),p.events)}function x(Y,W){return Dp(I(Y),W)}function I(Y){return Fp(o,Y)}function A(){let{_bufferIndex:Y,_index:W,line:re,column:P,offset:pe}=r;return{_bufferIndex:Y,_index:W,line:re,column:P,offset:pe}}function k(Y){i[Y.line]=Y.column,se()}function E(){let Y;for(;r._index<o.length;){let W=o[r._index];if(typeof W=="string")for(Y=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===Y&&r._bufferIndex<W.length;)q(W.charCodeAt(r._bufferIndex));else q(W)}}function q(Y){u=void 0,d=Y,f=f(Y)}function V(Y){O(Y)?(r.line++,r.column=1,r.offset+=Y===-3?2:1,se()):Y!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),p.previous=Y,u=!0}function Z(Y,W){let re=W||{};return re.type=Y,re.start=A(),p.events.push(["enter",re,p]),s.push(re),re}function B(Y){let W=s.pop();return W.end=A(),p.events.push(["exit",W,p]),W}function G(Y,W){C(Y,W.from)}function le(Y,W){W.restore()}function ee(Y,W){return re;function re(P,pe,me){let Re,g,ve,Ie;return Array.isArray(P)?ye(P):"tokenize"in P?ye([P]):w(P);function w(ce){return ze;function ze(ue){let Te=ue!==null&&ce[ue],Fe=ue!==null&&ce.null,tt=[...Array.isArray(Te)?Te:Te?[Te]:[],...Array.isArray(Fe)?Fe:Fe?[Fe]:[]];return ye(tt)(ue)}}function ye(ce){return Re=ce,g=0,ce.length===0?me:de(ce[g])}function de(ce){return ze;function ze(ue){return Ie=fe(),ve=ce,ce.partial||(p.currentConstruct=ce),ce.name&&p.parser.constructs.disable.null.includes(ce.name)?$e(ue):ce.tokenize.call(W?Object.assign(Object.create(p),W):p,c,Oe,$e)(ue)}}function Oe(ce){return u=!0,Y(ve,Ie),pe}function $e(ce){return u=!0,Ie.restore(),++g<Re.length?de(Re[g]):me}}}function C(Y,W){Y.resolveAll&&!a.includes(Y)&&a.push(Y),Y.resolve&&ge(p.events,W,p.events.length-W,Y.resolve(p.events.slice(W),p)),Y.resolveTo&&(p.events=Y.resolveTo(p.events,p))}function fe(){let Y=A(),W=p.previous,re=p.currentConstruct,P=p.events.length,pe=Array.from(s);return{from:P,restore:me};function me(){r=Y,p.previous=W,p.currentConstruct=re,p.events.length=P,s=pe,se()}}function se(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Fp(e,n){let t=n.start._index,r=n.start._bufferIndex,i=n.end._index,a=n.end._bufferIndex,o;if(t===i)o=[e[t].slice(r,a)];else{if(o=e.slice(t,i),r>-1){let s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Dp(e,n){let t=-1,r=[],i;for(;++t<e.length;){let a=e[t],o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
24
24
|
`;break}case-3:{o=`\r
|
|
25
|
-
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,n.push(o)}return n.join("")}function mi(e){let n={constructs:Sr([hi,...(e||{}).extensions||[]]),content:i(xa),defined:[],document:i(ya),flow:i(va),lazy:{},string:i(Ta),text:i(Ea)};return n;function i(a){return o;function o(l){return qa(n,a,l)}}}function di(e){for(;!_r(e););return e}var _a=/[\0\t\n\r]/g;function gi(){let e=1,t="",r=!0,n;return i;function i(a,o,l){let s=[],u,p,c,h,f;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),c=0,t="",r&&(a.charCodeAt(0)===65279&&c++,r=void 0);c<a.length;){if(_a.lastIndex=c,u=_a.exec(a),h=u&&u.index!==void 0?u.index:a.length,f=a.charCodeAt(h),!u){t=a.slice(c);break}if(f===10&&c===h&&n)s.push(-3),n=void 0;else switch(n&&(s.push(-5),n=void 0),c<h&&(s.push(a.slice(c,h)),e+=h-c),f){case 0:{s.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,s.push(-2);e++<p;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:n=!0,e=1}c=h+1}return l&&(n&&s.push(-5),t&&s.push(t),s.push(null)),s}}var Ia={}.hasOwnProperty;function wi(e,t,r){return typeof t!="string"&&(r=t,t=void 0),Op(r)(di(mi(r).document().write(gi()(e,t,!0))))}function Op(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Yi),autolinkProtocol:O,autolinkEmail:O,atxHeading:a(Gi),blockQuote:a(Fe),characterEscape:O,characterReference:O,codeFenced:a(tt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(tt,o),codeText:a(bt,o),codeTextData:O,data:O,codeFlowValue:O,definition:a(Xr),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(ns),hardBreakEscape:a($i),hardBreakTrailing:a($i),htmlFlow:a(Vi,o),htmlFlowData:O,htmlText:a(Vi,o),htmlTextData:O,image:a(is),label:o,link:a(Yi),listItem:a(os),listItemValue:h,listOrdered:a(Wi,c),listUnordered:a(Wi),paragraph:a(as),reference:g,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Gi),strong:a(ls),thematicBreak:a(us)},exit:{atxHeading:s(),atxHeadingSequence:D,autolink:s(),autolinkEmail:Ot,autolinkProtocol:oe,blockQuote:s(),characterEscapeValue:v,characterReferenceMarkerHexadecimal:et,characterReferenceMarkerNumeric:et,characterReferenceValue:Zr,characterReference:ur,codeFenced:s(k),codeFencedFence:y,codeFencedFenceInfo:f,codeFencedFenceMeta:m,codeFlowValue:v,codeIndented:s(w),codeText:s(H),codeTextData:v,data:v,definition:s(),definitionDestinationString:R,definitionLabelString:b,definitionTitleString:E,emphasis:s(),hardBreakEscape:s($),hardBreakTrailing:s($),htmlFlow:s(M),htmlFlowData:v,htmlText:s(P),htmlTextData:v,image:s(J),label:Ce,labelText:ye,lineEnding:ne,link:s(W),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:we,resourceDestinationString:d,resourceTitleString:ke,resource:Be,setextHeading:s(G),setextHeadingLineSequence:L,setextHeadingText:T,strong:s(),thematicBreak:s()}};Ba(t,(e||{}).mdastExtensions||[]);let r={};return n;function n(S){let _={type:"root",children:[]},z={stack:[_],tokenStack:[],config:t,enter:l,exit:u,buffer:o,resume:p,data:r},j=[],V=-1;for(;++V<S.length;)if(S[V][1].type==="listOrdered"||S[V][1].type==="listUnordered")if(S[V][0]==="enter")j.push(V);else{let ve=j.pop();V=i(S,ve,V)}for(V=-1;++V<S.length;){let ve=t[S[V][0]];Ia.call(ve,S[V][1].type)&&ve[S[V][1].type].call(Object.assign({sliceSerialize:S[V][2].sliceSerialize},z),S[V][1])}if(z.tokenStack.length>0){let ve=z.tokenStack[z.tokenStack.length-1];(ve[1]||La).call(z,void 0,ve[0])}for(_.position={start:Ye(S.length>0?S[0][1].start:{line:1,column:1,offset:0}),end:Ye(S.length>0?S[S.length-2][1].end:{line:1,column:1,offset:0})},V=-1;++V<t.transforms.length;)_=t.transforms[V](_)||_;return _}function i(S,_,z){let j=_-1,V=-1,ve=!1,rt,Me,zt,Pt;for(;++j<=z;){let be=S[j];switch(be[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{be[0]==="enter"?V++:V--,Pt=void 0;break}case"lineEndingBlank":{be[0]==="enter"&&(rt&&!Pt&&!V&&!zt&&(zt=j),Pt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Pt=void 0}if(!V&&be[0]==="enter"&&be[1].type==="listItemPrefix"||V===-1&&be[0]==="exit"&&(be[1].type==="listUnordered"||be[1].type==="listOrdered")){if(rt){let xt=j;for(Me=void 0;xt--;){let Ne=S[xt];if(Ne[1].type==="lineEnding"||Ne[1].type==="lineEndingBlank"){if(Ne[0]==="exit")continue;Me&&(S[Me][1].type="lineEndingBlank",ve=!0),Ne[1].type="lineEnding",Me=xt}else if(!(Ne[1].type==="linePrefix"||Ne[1].type==="blockQuotePrefix"||Ne[1].type==="blockQuotePrefixWhitespace"||Ne[1].type==="blockQuoteMarker"||Ne[1].type==="listItemIndent"))break}zt&&(!Me||zt<Me)&&(rt._spread=!0),rt.end=Object.assign({},Me?S[Me][1].start:be[1].end),S.splice(Me||j,0,["exit",rt,be[2]]),j++,z++}if(be[1].type==="listItemPrefix"){let xt={type:"listItem",_spread:!1,start:Object.assign({},be[1].start),end:void 0};rt=xt,S.splice(j,0,["enter",xt,be[2]]),j++,z++,zt=void 0,Pt=!0}}}return S[_][1]._spread=ve,z}function a(S,_){return z;function z(j){l.call(this,S(j),j),_&&_.call(this,j)}}function o(){this.stack.push({type:"fragment",children:[]})}function l(S,_,z){this.stack[this.stack.length-1].children.push(S),this.stack.push(S),this.tokenStack.push([_,z||void 0]),S.position={start:Ye(_.start),end:void 0}}function s(S){return _;function _(z){S&&S.call(this,z),u.call(this,z)}}function u(S,_){let z=this.stack.pop(),j=this.tokenStack.pop();if(j)j[0].type!==S.type&&(_?_.call(this,S,j[0]):(j[1]||La).call(this,S,j[0]));else throw new Error("Cannot close `"+S.type+"` ("+Ue({start:S.start,end:S.end})+"): it\u2019s not open");z.position.end=Ye(S.end)}function p(){return lt(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function h(S){if(this.data.expectingFirstListItemValue){let _=this.stack[this.stack.length-2];_.start=Number.parseInt(this.sliceSerialize(S),10),this.data.expectingFirstListItemValue=void 0}}function f(){let S=this.resume(),_=this.stack[this.stack.length-1];_.lang=S}function m(){let S=this.resume(),_=this.stack[this.stack.length-1];_.meta=S}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S.replace(/(\r?\n|\r)$/g,"")}function b(S){let _=this.resume(),z=this.stack[this.stack.length-1];z.label=_,z.identifier=le(this.sliceSerialize(S)).toLowerCase()}function E(){let S=this.resume(),_=this.stack[this.stack.length-1];_.title=S}function R(){let S=this.resume(),_=this.stack[this.stack.length-1];_.url=S}function D(S){let _=this.stack[this.stack.length-1];if(!_.depth){let z=this.sliceSerialize(S).length;_.depth=z}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function L(S){let _=this.stack[this.stack.length-1];_.depth=this.sliceSerialize(S).codePointAt(0)===61?1:2}function G(){this.data.setextHeadingSlurpLineEnding=void 0}function O(S){let z=this.stack[this.stack.length-1].children,j=z[z.length-1];(!j||j.type!=="text")&&(j=ss(),j.position={start:Ye(S.start),end:void 0},z.push(j)),this.stack.push(j)}function v(S){let _=this.stack.pop();_.value+=this.sliceSerialize(S),_.position.end=Ye(S.end)}function ne(S){let _=this.stack[this.stack.length-1];if(this.data.atHardBreak){let z=_.children[_.children.length-1];z.position.end=Ye(S.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(_.type)&&(O.call(this,S),v.call(this,S))}function $(){this.data.atHardBreak=!0}function M(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S}function P(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S}function H(){let S=this.resume(),_=this.stack[this.stack.length-1];_.value=S}function W(){let S=this.stack[this.stack.length-1];if(this.data.inReference){let _=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=_,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function J(){let S=this.stack[this.stack.length-1];if(this.data.inReference){let _=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=_,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function ye(S){let _=this.sliceSerialize(S),z=this.stack[this.stack.length-2];z.label=Xo(_),z.identifier=le(_).toLowerCase()}function Ce(){let S=this.stack[this.stack.length-1],_=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){let j=S.children;z.children=j}else z.alt=_}function d(){let S=this.resume(),_=this.stack[this.stack.length-1];_.url=S}function ke(){let S=this.resume(),_=this.stack[this.stack.length-1];_.title=S}function Be(){this.data.inReference=void 0}function g(){this.data.referenceType="collapsed"}function we(S){let _=this.resume(),z=this.stack[this.stack.length-1];z.label=_,z.identifier=le(this.sliceSerialize(S)).toLowerCase(),this.data.referenceType="full"}function et(S){this.data.characterReferenceType=S.type}function Zr(S){let _=this.sliceSerialize(S),z=this.data.characterReferenceType,j;z?(j=vr(_,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):j=Ct(_);let V=this.stack[this.stack.length-1];V.value+=j}function ur(S){let _=this.stack.pop();_.position.end=Ye(S.end)}function oe(S){v.call(this,S);let _=this.stack[this.stack.length-1];_.url=this.sliceSerialize(S)}function Ot(S){v.call(this,S);let _=this.stack[this.stack.length-1];_.url="mailto:"+this.sliceSerialize(S)}function Fe(){return{type:"blockquote",children:[]}}function tt(){return{type:"code",lang:null,meta:null,value:""}}function bt(){return{type:"inlineCode",value:""}}function Xr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function ns(){return{type:"emphasis",children:[]}}function Gi(){return{type:"heading",depth:0,children:[]}}function $i(){return{type:"break"}}function Vi(){return{type:"html",value:""}}function is(){return{type:"image",title:null,url:"",alt:null}}function Yi(){return{type:"link",title:null,url:"",children:[]}}function Wi(S){return{type:"list",ordered:S.type==="listOrdered",start:null,spread:S._spread,children:[]}}function os(S){return{type:"listItem",spread:S._spread,checked:null,children:[]}}function as(){return{type:"paragraph",children:[]}}function ls(){return{type:"strong",children:[]}}function ss(){return{type:"text",value:""}}function us(){return{type:"thematicBreak"}}}function Ye(e){return{line:e.line,column:e.column,offset:e.offset}}function Ba(e,t){let r=-1;for(;++r<t.length;){let n=t[r];Array.isArray(n)?Ba(e,n):zp(e,n)}}function zp(e,t){let r;for(r in t)if(Ia.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n);break}}}function La(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ue({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ue({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ue({start:t.start,end:t.end})+") is still open")}function _t(e){let t=this;t.parser=r;function r(n){return wi(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Fa(){return e=>{Et(e,"math",t=>{let r=t.value||"",n=t.meta;n&&(r=n+(r?`
|
|
26
|
-
`+
|
|
27
|
-
`).map(n=>`${r}${n}`).join(`
|
|
28
|
-
`)}function Ke(e){return typeof e=="string"&&e.length>0}function Ga(e){return(e??"").trim()}function ft(e,t){return e.map(r=>Yp(r,t)).join("")}function Yp(e,t){switch(e.type){case"text":return e.value;case"strong":case"emphasis":return ft(e.children,t);case"inlineCode":return e.value;case"link":return ft(e.children,t);case"linkReference":{let r=e,n=ft(r.children,t);if(n.trim())return n;let i=t.get(r.identifier.toLowerCase());return i?i.url:r.label||r.identifier}case"break":return`
|
|
29
|
-
`;default:return""}}function ki(e){return e.length===1?`(${e[0]},)`:`(${e.join(", ")})`}function $a(e){let t=0,r=0;for(let n=0;n<e.length;n++){if(e[n]==="`"){r++,r>t&&(t=r);continue}r=0}return t}function Va(e){if(!e)return;let t=e.trim();if(!t)return;let r=t.split(/[-_]/)[0].toLowerCase();if(Bt.default.codes("1").includes(r))return r;let i=Bt.default.all();for(let s of i)if(s.name&&s.name.toLowerCase()===t.toLowerCase()&&s[1]||s.local&&s.local.toLowerCase()===t.toLowerCase()&&s[1])return s[1];let a=Bt.default.where("2",t.toLowerCase());if(a&&a[1])return a[1];let o=Bt.default.where("2B",t.toLowerCase());if(o&&o[1])return o[1];let l=Bt.default.where("3",t.toLowerCase());if(l&&l[1])return l[1]}function Ya(e){if(!e)return;let t=e.trim();if(!t)return;let r=t.toUpperCase();if((0,Or.getCodes)().includes(r))return r;let i=(0,Or.getCode)(t);if(i)return i.toUpperCase()}function Wa(e,t){let r=new Map;try{for(let n of e.children){if(n.type!=="definition")continue;let i=n,a=i.identifier.toLowerCase();r.has(a)&&t&&t({severity:"warning",message:`Duplicate link/image definition found: [${i.identifier}]`,context:"definition collection",details:{identifier:i.identifier,url:i.url}}),r.set(a,i)}}catch(n){let i=n instanceof Error?n.message:String(n);t&&t({severity:"error",message:`Error collecting definitions: ${i}`,context:"definition collection",originalError:n})}return r}function Ka(e,t){let r=new Map;try{for(let n of e.children){if(n.type!=="footnoteDefinition")continue;let i=n,a=i.identifier.toLowerCase();r.has(a)&&t&&t({severity:"warning",message:`Duplicate footnote definition found: [^${i.identifier}]`,context:"footnote collection",details:{identifier:i.identifier}}),r.set(a,i)}}catch(n){let i=n instanceof Error?n.message:String(n);t&&t({severity:"error",message:`Error collecting footnotes: ${i}`,context:"footnote collection",originalError:n})}return r}function Qa(e,t,r){try{for(let n=0;n<e.children.length;n++){let i=e.children[n];if(i.type==="yaml"||i.type==="definition")continue;if(i.type!=="heading")return null;let a=i;if(a.depth!==1)return null;let o=ft(a.children,t).trim();return o?{title:o,index:n}:null}}catch(n){let i=n instanceof Error?n.message:String(n);r&&r({severity:"warning",message:`Error extracting leading H1 title: ${i}`,context:"title extraction",originalError:n})}return null}function fl(e){return typeof e>"u"||e===null}function Wp(e){return typeof e=="object"&&e!==null}function Kp(e){return Array.isArray(e)?e:fl(e)?[]:[e]}function Qp(e,t){var r,n,i,a;if(t)for(a=Object.keys(t),r=0,n=a.length;r<n;r+=1)i=a[r],e[i]=t[i];return e}function Zp(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function Xp(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var Jp=fl,ef=Wp,tf=Kp,rf=Zp,nf=Xp,of=Qp,re={isNothing:Jp,isObject:ef,toArray:tf,repeat:rf,isNegativeZero:nf,extend:of};function hl(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
|
|
25
|
+
`;break}case-2:{o=n?" ":" ";break}case-1:{if(!n&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join("")}function di(e){let r={constructs:Bn([mi,...(e||{}).extensions||[]]),content:i(Aa),defined:[],document:i(qa),flow:i(La),lazy:{},string:i(_a),text:i(Ma)};return r;function i(a){return o;function o(s){return Na(r,a,s)}}}function gi(e){for(;!Pn(e););return e}var Fa=/[\0\t\n\r]/g;function wi(){let e=1,n="",t=!0,r;return i;function i(a,o,s){let u=[],c,p,f,d,m;for(a=n+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),f=0,n="",t&&(a.charCodeAt(0)===65279&&f++,t=void 0);f<a.length;){if(Fa.lastIndex=f,c=Fa.exec(a),d=c&&c.index!==void 0?c.index:a.length,m=a.charCodeAt(d),!c){n=a.slice(f);break}if(m===10&&f===d&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),f<d&&(u.push(a.slice(f,d)),e+=d-f),m){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=d+1}return s&&(r&&u.push(-5),n&&u.push(n),u.push(null)),u}}var Oa={}.hasOwnProperty;function bi(e,n,t){return typeof n!="string"&&(t=n,n=void 0),Op(t)(gi(di(t).document().write(wi()(e,n,!0))))}function Op(e){let n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(wt),autolinkProtocol:ee,autolinkEmail:ee,atxHeading:a(dt),blockQuote:a(ue),characterEscape:ee,characterReference:ee,codeFenced:a(Te),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(Te,o),codeText:a(Fe,o),codeTextData:ee,data:ee,codeFlowValue:ee,definition:a(tt),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(mt),hardBreakEscape:a(gt),hardBreakTrailing:a(gt),htmlFlow:a(Pe,o),htmlFlowData:ee,htmlText:a(Pe,o),htmlTextData:ee,image:a(Mt),label:o,link:a(wt),listItem:a(Rt),listItemValue:d,listOrdered:a(bt,f),listUnordered:a(bt),paragraph:a(Zt),reference:w,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(dt),strong:a(Bt),thematicBreak:a(Xt)},exit:{atxHeading:u(),atxHeadingSequence:Z,autolink:u(),autolinkEmail:ze,autolinkProtocol:ce,blockQuote:u(),characterEscapeValue:C,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:Oe,characterReference:$e,codeFenced:u(A),codeFencedFence:I,codeFencedFenceInfo:m,codeFencedFenceMeta:x,codeFlowValue:C,codeIndented:u(k),codeText:u(re),codeTextData:C,data:C,definition:u(),definitionDestinationString:V,definitionLabelString:E,definitionTitleString:q,emphasis:u(),hardBreakEscape:u(se),hardBreakTrailing:u(se),htmlFlow:u(Y),htmlFlowData:C,htmlText:u(W),htmlTextData:C,image:u(pe),label:Re,labelText:me,lineEnding:fe,link:u(P),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ye,resourceDestinationString:g,resourceTitleString:ve,resource:Ie,setextHeading:u(le),setextHeadingLineSequence:G,setextHeadingText:B,strong:u(),thematicBreak:u()}};za(n,(e||{}).mdastExtensions||[]);let t={};return r;function r(_){let H={type:"root",children:[]},te={stack:[H],tokenStack:[],config:n,enter:s,exit:c,buffer:o,resume:p,data:t},l=[],b=-1;for(;++b<_.length;)if(_[b][1].type==="listOrdered"||_[b][1].type==="listUnordered")if(_[b][0]==="enter")l.push(b);else{let L=l.pop();b=i(_,L,b)}for(b=-1;++b<_.length;){let L=n[_[b][0]];Oa.call(L,_[b][1].type)&&L[_[b][1].type].call(Object.assign({sliceSerialize:_[b][2].sliceSerialize},te),_[b][1])}if(te.tokenStack.length>0){let L=te.tokenStack[te.tokenStack.length-1];(L[1]||Da).call(te,void 0,L[0])}for(H.position={start:st(_.length>0?_[0][1].start:{line:1,column:1,offset:0}),end:st(_.length>0?_[_.length-2][1].end:{line:1,column:1,offset:0})},b=-1;++b<n.transforms.length;)H=n.transforms[b](H)||H;return H}function i(_,H,te){let l=H-1,b=-1,L=!1,M,v,h,y;for(;++l<=te;){let S=_[l];switch(S[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{S[0]==="enter"?b++:b--,y=void 0;break}case"lineEndingBlank":{S[0]==="enter"&&(M&&!y&&!b&&!h&&(h=l),y=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:y=void 0}if(!b&&S[0]==="enter"&&S[1].type==="listItemPrefix"||b===-1&&S[0]==="exit"&&(S[1].type==="listUnordered"||S[1].type==="listOrdered")){if(M){let N=l;for(v=void 0;N--;){let F=_[N];if(F[1].type==="lineEnding"||F[1].type==="lineEndingBlank"){if(F[0]==="exit")continue;v&&(_[v][1].type="lineEndingBlank",L=!0),F[1].type="lineEnding",v=N}else if(!(F[1].type==="linePrefix"||F[1].type==="blockQuotePrefix"||F[1].type==="blockQuotePrefixWhitespace"||F[1].type==="blockQuoteMarker"||F[1].type==="listItemIndent"))break}h&&(!v||h<v)&&(M._spread=!0),M.end=Object.assign({},v?_[v][1].start:S[1].end),_.splice(v||l,0,["exit",M,S[2]]),l++,te++}if(S[1].type==="listItemPrefix"){let N={type:"listItem",_spread:!1,start:Object.assign({},S[1].start),end:void 0};M=N,_.splice(l,0,["enter",N,S[2]]),l++,te++,h=void 0,y=!0}}}return _[H][1]._spread=L,te}function a(_,H){return te;function te(l){s.call(this,_(l),l),H&&H.call(this,l)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(_,H,te){this.stack[this.stack.length-1].children.push(_),this.stack.push(_),this.tokenStack.push([H,te||void 0]),_.position={start:st(H.start),end:void 0}}function u(_){return H;function H(te){_&&_.call(this,te),c.call(this,te)}}function c(_,H){let te=this.stack.pop(),l=this.tokenStack.pop();if(l)l[0].type!==_.type&&(H?H.call(this,_,l[0]):(l[1]||Da).call(this,_,l[0]));else throw new Error("Cannot close `"+_.type+"` ("+rt({start:_.start,end:_.end})+"): it\u2019s not open");te.position.end=st(_.end)}function p(){return St(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function d(_){if(this.data.expectingFirstListItemValue){let H=this.stack[this.stack.length-2];H.start=Number.parseInt(this.sliceSerialize(_),10),this.data.expectingFirstListItemValue=void 0}}function m(){let _=this.resume(),H=this.stack[this.stack.length-1];H.lang=_}function x(){let _=this.resume(),H=this.stack[this.stack.length-1];H.meta=_}function I(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){let _=this.resume(),H=this.stack[this.stack.length-1];H.value=_.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){let _=this.resume(),H=this.stack[this.stack.length-1];H.value=_.replace(/(\r?\n|\r)$/g,"")}function E(_){let H=this.resume(),te=this.stack[this.stack.length-1];te.label=H,te.identifier=Ae(this.sliceSerialize(_)).toLowerCase()}function q(){let _=this.resume(),H=this.stack[this.stack.length-1];H.title=_}function V(){let _=this.resume(),H=this.stack[this.stack.length-1];H.url=_}function Z(_){let H=this.stack[this.stack.length-1];if(!H.depth){let te=this.sliceSerialize(_).length;H.depth=te}}function B(){this.data.setextHeadingSlurpLineEnding=!0}function G(_){let H=this.stack[this.stack.length-1];H.depth=this.sliceSerialize(_).codePointAt(0)===61?1:2}function le(){this.data.setextHeadingSlurpLineEnding=void 0}function ee(_){let te=this.stack[this.stack.length-1].children,l=te[te.length-1];(!l||l.type!=="text")&&(l=Ve(),l.position={start:st(_.start),end:void 0},te.push(l)),this.stack.push(l)}function C(_){let H=this.stack.pop();H.value+=this.sliceSerialize(_),H.position.end=st(_.end)}function fe(_){let H=this.stack[this.stack.length-1];if(this.data.atHardBreak){let te=H.children[H.children.length-1];te.position.end=st(_.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(H.type)&&(ee.call(this,_),C.call(this,_))}function se(){this.data.atHardBreak=!0}function Y(){let _=this.resume(),H=this.stack[this.stack.length-1];H.value=_}function W(){let _=this.resume(),H=this.stack[this.stack.length-1];H.value=_}function re(){let _=this.resume(),H=this.stack[this.stack.length-1];H.value=_}function P(){let _=this.stack[this.stack.length-1];if(this.data.inReference){let H=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=H,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function pe(){let _=this.stack[this.stack.length-1];if(this.data.inReference){let H=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=H,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function me(_){let H=this.sliceSerialize(_),te=this.stack[this.stack.length-2];te.label=oa(H),te.identifier=Ae(H).toLowerCase()}function Re(){let _=this.stack[this.stack.length-1],H=this.resume(),te=this.stack[this.stack.length-1];if(this.data.inReference=!0,te.type==="link"){let l=_.children;te.children=l}else te.alt=H}function g(){let _=this.resume(),H=this.stack[this.stack.length-1];H.url=_}function ve(){let _=this.resume(),H=this.stack[this.stack.length-1];H.title=_}function Ie(){this.data.inReference=void 0}function w(){this.data.referenceType="collapsed"}function ye(_){let H=this.resume(),te=this.stack[this.stack.length-1];te.label=H,te.identifier=Ae(this.sliceSerialize(_)).toLowerCase(),this.data.referenceType="full"}function de(_){this.data.characterReferenceType=_.type}function Oe(_){let H=this.sliceSerialize(_),te=this.data.characterReferenceType,l;te?(l=Rn(H,te==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):l=Ut(H);let b=this.stack[this.stack.length-1];b.value+=l}function $e(_){let H=this.stack.pop();H.position.end=st(_.end)}function ce(_){C.call(this,_);let H=this.stack[this.stack.length-1];H.url=this.sliceSerialize(_)}function ze(_){C.call(this,_);let H=this.stack[this.stack.length-1];H.url="mailto:"+this.sliceSerialize(_)}function ue(){return{type:"blockquote",children:[]}}function Te(){return{type:"code",lang:null,meta:null,value:""}}function Fe(){return{type:"inlineCode",value:""}}function tt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mt(){return{type:"emphasis",children:[]}}function dt(){return{type:"heading",depth:0,children:[]}}function gt(){return{type:"break"}}function Pe(){return{type:"html",value:""}}function Mt(){return{type:"image",title:null,url:"",alt:null}}function wt(){return{type:"link",title:null,url:"",children:[]}}function bt(_){return{type:"list",ordered:_.type==="listOrdered",start:null,spread:_._spread,children:[]}}function Rt(_){return{type:"listItem",spread:_._spread,checked:null,children:[]}}function Zt(){return{type:"paragraph",children:[]}}function Bt(){return{type:"strong",children:[]}}function Ve(){return{type:"text",value:""}}function Xt(){return{type:"thematicBreak"}}}function st(e){return{line:e.line,column:e.column,offset:e.offset}}function za(e,n){let t=-1;for(;++t<n.length;){let r=n[t];Array.isArray(r)?za(e,r):zp(e,r)}}function zp(e,n){let t;for(t in n)if(Oa.call(n,t))switch(t){case"canContainEols":{let r=n[t];r&&e[t].push(...r);break}case"transforms":{let r=n[t];r&&e[t].push(...r);break}case"enter":case"exit":{let r=n[t];r&&Object.assign(e[t],r);break}}}function Da(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+rt({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+rt({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+rt({start:n.start,end:n.end})+") is still open")}function Vt(e){let n=this;n.parser=t;function t(r){return bi(r,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function xi(){return e=>{Pt(e,"math",n=>{let t=n.value||"",r=n.meta;r&&(t=r+(t?`
|
|
26
|
+
`+t:""),n.meta=null);let i=t.match(/\$\$/);if(i){let a=i.index,o=t.substring(0,a),s=t.substring(a+2);if(n.value=o.trim(),s.trim().length>0){let u=on().use(Vt).use(Gt,{singleTilde:!1}).use($t).use(xi),c=u.parse(s.trim()),p=u.runSync(c);n.data=n.data||{},n.data.insertAfter=p.children}}else n.value=t.trim()}),Pt(e,(n,t,r)=>{n.data&&n.data.insertAfter&&r&&t!==void 0&&(r.children.splice(t+1,0,...n.data.insertAfter),delete n.data.insertAfter)})}}function Pa(e,n){try{let t=e.replace(/([^\n])\n(\$\$)/g,`$1
|
|
30
27
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
`,
|
|
39
|
-
|
|
40
|
-
`);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
`,
|
|
44
|
-
`,
|
|
45
|
-
`)
|
|
46
|
-
`,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
`,i=
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
`||
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
`)
|
|
67
|
-
`),Ni=new x(7," "),Ym=class{constructor(e){C(this,"buffer","");C(this,"queue",[]);C(this,"options");this.options=e}serialize(e){let t={insideFunctionDepth:0};this.queue.push(...e.serialize(t,this.options))}flushQueue(){let e=this.queue.filter(n=>n.value!==""),t=[];for(let n of e)n.eq(Ni)&&t.length>0&&t[t.length-1].eq(Ni)||t.push(n);let r=new x(1,"");for(let n=0;n<t.length;n++)t[n].eq(Ni)&&(n===0||n===t.length-1||t[n-1].type===6||t[n-1].eq(Ql)||t[n+1].eq(Ql))&&(t[n]=r);for(let n of t)this.buffer+=n.toString();this.queue=[]}finalize(){this.flushQueue();let e=function(n){let i=n.replace(/floor\.l\s*(.*?)\s*floor\.r/g,"floor($1)");return i=i.replace(/floor\(\)/g,'floor("")'),i},t=function(n){let i=n.replace(/ceil\.l\s*(.*?)\s*ceil\.r/g,"ceil($1)");return i=i.replace(/ceil\(\)/g,'ceil("")'),i},r=function(n){let i=n.replace(/floor\.l\s*(.*?)\s*ceil\.r/g,"round($1)");return i=i.replace(/round\(\)/g,'round("")'),i};if(this.options.optimize){let n=[e,t,r];for(let i of n)this.buffer=i(this.buffer)}return this.buffer=this.buffer.replace(/& =/g,"&="),this.buffer}},Ae=new Map([["displaystyle","display"],["textstyle","inline"],["hspace","#h"],["|","bar.v.double"],[",","thin"],[":","med"],[" ","med"],[";","thick"],[">","med"],["~","space.nobreak"],["blacktriangleleft","triangle.filled.l"],["blacktriangleright","triangle.filled.r"],["clubsuit","suit.club.filled"],["hookleftarrow","arrow.l.hook"],["hookrightarrow","arrow.r.hook"],["leftrightarrow","arrow.l.r"],["lgblksquare","square.filled.big"],["lgwhtsquare","square.stroked.big"],["nearrow","arrow.tr"],["nwarrow","arrow.tl"],["searrow","arrow.br"],["swarrow","arrow.bl"],["spadesuit","suit.spade.filled"],["updownarrow","arrow.t.b"],["ln","ln"],["log","log"],["cos","cos"],["sin","sin"],["tan","tan"],["cot","cot"],["sec","sec"],["csc","csc"],["mod","mod"],["omicron","omicron"],["Xi","Xi"],["Upsilon","Upsilon"],["lim","lim"],["binom","binom"],["tilde","tilde"],["hat","hat"],["sqrt","sqrt"],["bmod","mod"],["nonumber",""],["vec","arrow"],["neq","eq.not"],["dot","dot"],["ddot","dot.double"],["doteq","dot(eq)"],["dots","dots.h"],["vdots","dots.v"],["ddots","dots.down"],["widehat","hat"],["widetilde","tilde"],["quad","quad"],["qquad","wide"],["overbrace","overbrace"],["underbrace","underbrace"],["overline","overline"],["underline","underline"],["bar","macron"],["dbinom","binom"],["tbinom","binom"],["dfrac","frac"],["tfrac","frac"],["operatorname","op"],["operatorname*","op"],["boldsymbol","bold"],["mathbb","bb"],["mathbf","bold"],["mathcal","cal"],["mathscr","scr"],["mathit","italic"],["mathfrak","frak"],["mathrm","upright"],["mathsf","sans"],["mathtt","mono"],["rm","upright"],["pmb","bold"],["leadsto","arrow.r.squiggly"],["P","pilcrow"],["S","section"],["aleph","alef"],["infin","infinity"],["Delta","Delta"],["Gamma","Gamma"],["Lambda","Lambda"],["Omega","Omega"],["Phi","Phi"],["Pi","Pi"],["Psi","Psi"],["Sigma","Sigma"],["Theta","Theta"],["alpha","alpha"],["beta","beta"],["bigcirc","circle.big"],["bullet","bullet"],["cdot","dot.op"],["cdots","dots.c"],["checkmark","checkmark"],["chi","chi"],["circ","circle.small"],["colon","colon"],["cong","tilde.equiv"],["coprod","product.co"],["copyright","copyright"],["cup","union"],["curlyvee","or.curly"],["curlywedge","and.curly"],["dagger","dagger"],["dashv","tack.l"],["ddagger","dagger.double"],["delta","delta"],["ddots","dots.down"],["diamond","diamond"],["div","div"],["divideontimes","times.div"],["dotplus","plus.dot"],["ell","ell"],["emptyset","nothing"],["epsilon","epsilon.alt"],["equiv","equiv"],["eta","eta"],["exists","exists"],["forall","forall"],["gamma","gamma"],["ge","gt.eq"],["geq","gt.eq"],["geqslant","gt.eq.slant"],["gg","gt.double"],["hbar","planck"],["imath","dotless.i"],["iiiint","integral.quad"],["iiint","integral.triple"],["iint","integral.double"],["in","in"],["infty","infinity"],["int","integral"],["intercal","top"],["iota","iota"],["jmath","dotless.j"],["kappa","kappa"],["lambda","lambda"],["land","and"],["langle","chevron.l"],["lbrace","brace.l"],["lbrack","bracket.l"],["ldots","dots.h"],["le","lt.eq"],["leftthreetimes","times.three.l"],["leftrightarrow","arrow.l.r"],["leq","lt.eq"],["leqslant","lt.eq.slant"],["lhd","triangle.l"],["ll","lt.double"],["lor","or"],["ltimes","times.l"],["measuredangle","angle.arc"],["mid","divides"],["models","models"],["mp","minus.plus"],["mu","mu"],["nabla","nabla"],["ncong","tilde.equiv.not"],["ne","eq.not"],["neg","not"],["neq","eq.not"],["nexists","exists.not"],["ni","in.rev"],["nleftarrow","arrow.l.not"],["nleq","lt.eq.not"],["nparallel","parallel.not"],["ngeq","gt.eq.not"],["nmid","divides.not"],["notin","in.not"],["nsim","tilde.not"],["nsubseteq","subset.eq.not"],["nu","nu"],["ntriangleleft","lt.tri.not"],["ntriangleright","gt.tri.not"],["odot","dot.circle"],["oint","integral.cont"],["oiint","integral.surf"],["oiiint","integral.vol"],["omega","omega"],["ominus","minus.circle"],["otimes","times.circle"],["parallel","parallel"],["partial","partial"],["perp","perp"],["phi","phi.alt"],["pi","pi"],["pm","plus.minus"],["pounds","pound"],["prec","prec"],["preceq","prec.eq"],["prime","prime"],["prod","product"],["propto","prop"],["psi","psi"],["rangle","chevron.r"],["rbrace","brace.r"],["rbrack","bracket.r"],["rhd","triangle"],["rho","rho"],["rightarrow","arrow.r"],["rightthreetimes","times.three.r"],["rtimes","times.r"],["setminus","without"],["sigma","sigma"],["sim","tilde.op"],["simeq","tilde.eq"],["slash","slash"],["smallsetminus","without"],["spadesuit","suit.spade"],["sqsubseteq","subset.eq.sq"],["sqsupseteq","supset.eq.sq"],["subset","subset"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["succeq","succ.eq"],["sum","sum"],["supset","supset"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["tau","tau"],["theta","theta"],["times","times"],["to","arrow.r"],["top","top"],["triangle","triangle.t"],["twoheadrightarrow","arrow.r.twohead"],["upharpoonright","harpoon.tr"],["uplus","union.plus"],["upsilon","upsilon"],["varepsilon","epsilon"],["varnothing","diameter"],["varphi","phi"],["varpi","pi.alt"],["varrho","rho.alt"],["varsigma","sigma.alt"],["vartheta","theta.alt"],["vdash","tack.r"],["vdots","dots.v"],["vee","or"],["wedge","and"],["wr","wreath"],["xi","xi"],["yen","yen"],["zeta","zeta"],["intop","limits(integral)"],["LaTeX","#LaTeX"],["TeX","#TeX"]]),Wm=new Map([["acwopencirclearrow","arrow.ccw"],["adots","dots.up"],["angdnr","angle.acute"],["angle","angle"],["angles","angle.s"],["approx","approx"],["approxeq","approx.eq"],["approxident","tilde.triple"],["assert","tack.r.short"],["ast","ast.op"],["astrosun","sun"],["asymp","asymp"],["awint","integral.ccw"],["backcong","tilde.rev.equiv"],["backdprime","prime.double.rev"],["backprime","prime.rev"],["backsim","tilde.rev"],["backsimeq","tilde.eq.rev"],["backslash","backslash"],["backtrprime","prime.triple.rev"],["bardownharpoonleft","harpoon.bl.bar"],["bardownharpoonright","harpoon.br.bar"],["barleftarrow","arrow.l.stop"],["barleftarrowrightarrowbar","arrows.lr.stop"],["barleftharpoondown","harpoon.lb.stop"],["barleftharpoonup","harpoon.lt.stop"],["barrightharpoondown","harpoon.rb.bar"],["barrightharpoonup","harpoon.rt.bar"],["baruparrow","arrow.t.stop"],["barupharpoonleft","harpoon.tl.stop"],["barupharpoonright","harpoon.tr.stop"],["barV","tack.b.double"],["BbbA","AA"],["BbbB","BB"],["BbbC","CC"],["BbbD","DD"],["BbbE","EE"],["BbbF","FF"],["BbbG","GG"],["BbbH","HH"],["BbbI","II"],["BbbJ","JJ"],["BbbK","KK"],["BbbL","LL"],["BbbM","MM"],["BbbN","NN"],["BbbO","OO"],["BbbP","PP"],["BbbQ","QQ"],["BbbR","RR"],["BbbS","SS"],["BbbT","TT"],["BbbU","UU"],["BbbV","VV"],["BbbW","WW"],["BbbX","XX"],["BbbY","YY"],["BbbZ","ZZ"],["because","because"],["bigblacktriangledown","triangle.filled.b"],["bigblacktriangleup","triangle.filled.t"],["bigbot","tack.t.big"],["bigcap","inter.big"],["bigcup","union.big"],["bigcupdot","union.dot.big"],["biginterleave","interleave.big"],["bigodot","dot.o.big"],["bigoplus","plus.o.big"],["bigotimes","times.o.big"],["bigsqcap","inter.sq.big"],["bigsqcup","union.sq.big"],["bigstar","star.filled"],["bigtimes","times.big"],["bigtop","tack.b.big"],["bigtriangledown","triangle.stroked.b"],["bigtriangleup","triangle.stroked.t"],["biguplus","union.plus.big"],["bigvee","or.big"],["bigwedge","and.big"],["bigwhitestar","star.stroked"],["blackhourglass","hourglass.filled"],["blacktriangle","triangle.filled.small.t"],["blacktriangledown","triangle.filled.small.b"],["blkhorzoval","ellipse.filled.h"],["blkvertoval","ellipse.filled.v"],["bot","bot"],["boxast","ast.square"],["boxdot","dot.square"],["boxminus","minus.square"],["boxplus","plus.square"],["boxtimes","times.square"],["cap","inter"],["Cap","inter.double"],["capdot","inter.dot"],["capwedge","inter.and"],["caretinsert","caret"],["cdot","dot.op"],["cdotp","dot.c"],["checkmark","checkmark"],["circledast","ast.op.o"],["circledbullet","bullet.o"],["circledcirc","compose.o"],["circleddash","dash.o"],["circledequal","cc.nd"],["circledparallel","parallel.o"],["circledvert","bar.v.o"],["circledwhitebullet","bullet.stroked.o"],["Colon","colon.double"],["coloneq","colon.eq"],["Coloneq","colon.double.eq"],["complement","complement"],["cong","tilde.equiv"],["coprod","product.co"],["cup","union"],["Cup","union.double"],["cupdot","union.dot"],["cupleftarrow","union.arrow"],["cupvee","union.or"],["curlyeqprec","eq.prec"],["curlyeqsucc","eq.succ"],["curlyvee","or.curly"],["curlywedge","and.curly"],["curvearrowleft","arrow.ccw.half"],["curvearrowright","arrow.cw.half"],["cwopencirclearrow","arrow.cw"],["dagger","dagger"],["dashcolon","dash.colon"],["dashv","tack.l"],["Dashv","tack.l.double"],["dashVdash","tack.l.r"],["ddagger","dagger.double"],["ddddot","dot.quad"],["dddot","dot.triple"],["ddots","dots.down"],["DDownarrow","arrow.b.quad"],["Ddownarrow","arrow.b.triple"],["diameter","diameter"],["diamondcdot","diamond.stroked.dot"],["diamondsuit","suit.diamond.stroked"],["dicei","die.one"],["diceii","die.two"],["diceiii","die.three"],["diceiv","die.four"],["dicev","die.five"],["dicevi","die.six"],["div","div"],["divideontimes","times.div"],["Doteq","eq.dots"],["dotminus","minus.dot"],["dotplus","plus.dot"],["dotsim","tilde.dot"],["dottedcircle","circle.dotted"],["dottedsquare","square.stroked.dotted"],["doubleplus","plus.double"],["downarrow","arrow.b"],["Downarrow","arrow.b.double"],["downarrowbar","arrow.b.stop"],["downarrowbarred","arrow.b.struck"],["downdasharrow","arrow.b.dashed"],["downdownarrows","arrows.bb"],["downharpoonleft","harpoon.bl"],["downharpoonleftbar","harpoon.bl.stop"],["downharpoonright","harpoon.br"],["downharpoonrightbar","harpoon.br.stop"],["downharpoonsleftright","harpoons.blbr"],["downuparrows","arrows.bt"],["downupharpoonsleftright","harpoons.bltr"],["downwhitearrow","arrow.b.stroked"],["downzigzagarrow","arrow.zigzag"],["dprime","prime.double"],["dualmap","multimap.double"],["eighthnote","note.eighth.alt"],["ell","ell"],["emptysetoarr","emptyset.arrow.r"],["emptysetoarrl","emptyset.arrow.l"],["emptysetobar","emptyset.bar"],["emptysetocirc","emptyset.circle"],["eparsl","parallel.slanted.eq"],["eqcolon","eq.colon"],["eqdef","eq.def"],["eqgtr","eq.gt"],["eqless","eq.lt"],["eqsim","minus.tilde"],["equal","eq"],["equalparallel","parallel.eq"],["equiv","eq.triple"],["Equiv","eq.quad"],["equivVert","parallel.equiv"],["eqvparsl","parallel.slanted.equiv"],["errbarblackcircle","errorbar.circle.filled"],["errbarblackdiamond","errorbar.diamond.filled"],["errbarblacksquare","errorbar.square.filled"],["errbarcircle","errorbar.circle.stroked"],["errbardiamond","errorbar.diamond.stroked"],["errbarsquare","errorbar.square.stroked"],["euro","euro"],["exists","exists"],["fallingdotseq","eq.dots.down"],["fint","integral.slash"],["flat","flat"],["forall","forall"],["fourvdots","fence.dotted"],["frown","frown"],["fullouterjoin","join.l.r"],["geq","gt.eq"],["geqq","gt.equiv"],["geqslant","gt.eq.slant"],["gg","gt.double"],["ggg","gt.triple"],["gggnest","gt.triple.nested"],["gnapprox","gt.napprox"],["gneq","gt.neq"],["gneqq","gt.nequiv"],["gnsim","gt.ntilde"],["greater","gt"],["gtlpar","angle.spheric.rev"],["gtrapprox","gt.approx"],["gtrdot","gt.dot"],["gtreqless","gt.eq.lt"],["gtrless","gt.lt"],["gtrsim","gt.tilde"],["heartsuit","suit.heart.stroked"],["hknearrow","arrow.tr.hook"],["hknwarrow","arrow.tl.hook"],["hksearrow","arrow.br.hook"],["hkswarrow","arrow.bl.hook"],["horizbar","bar.h"],["hourglass","hourglass.stroked"],["hrectangle","rect.stroked.h"],["hrectangleblack","rect.filled.h"],["hyphenbullet","bullet.hyph"],["iiiint","integral.quad"],["iiint","integral.triple"],["iinfin","infinity.incomplete"],["iint","integral.double"],["Im","Im"],["imageof","image"],["in","in"],["increment","laplace"],["infty","infinity"],["int","integral"],["intbar","integral.dash"],["intBar","integral.dash.double"],["intcap","integral.inter"],["intclockwise","integral.cw"],["intcup","integral.union"],["interleave","interleave"],["intlarhk","integral.arrow.hook"],["intx","integral.times"],["inversebullet","bullet.hole"],["Join","join"],["langle","chevron.l"],["lAngle","chevron.l.double"],["langledot","chevron.l.dot"],["lat","lat"],["late","lat.eq"],["lbag","bag.l"],["lblkbrbrak","shell.l.filled"],["lbrace","brace.l"],["lBrace","brace.l.stroked"],["lbrack","bracket.l"],["lBrack","bracket.l.stroked"],["lbracklltick","bracket.l.tick.b"],["lbrackultick","bracket.l.tick.t"],["lbrbrak","shell.l"],["Lbrbrak","shell.l.stroked"],["lceil","ceil.l"],["lcurvyangle","chevron.l.curly"],["leftarrow","arrow.l"],["Leftarrow","arrow.l.double"],["leftarrowtail","arrow.l.tail"],["leftarrowtriangle","arrow.l.open"],["leftdasharrow","arrow.l.dashed"],["leftdotarrow","arrow.l.dotted"],["leftdowncurvedarrow","arrow.l.curve"],["leftharpoondown","harpoon.lb"],["leftharpoondownbar","harpoon.lb.bar"],["leftharpoonsupdown","harpoons.ltlb"],["leftharpoonup","harpoon.lt"],["leftharpoonupbar","harpoon.lt.bar"],["leftleftarrows","arrows.ll"],["leftouterjoin","join.l"],["Leftrightarrow","arrow.l.r.double"],["leftrightarrows","arrows.lr"],["leftrightarrowtriangle","arrow.l.r.open"],["leftrightharpoondowndown","harpoon.lb.rb"],["leftrightharpoondownup","harpoon.lb.rt"],["leftrightharpoons","harpoons.ltrb"],["leftrightharpoonsdown","harpoons.lbrb"],["leftrightharpoonsup","harpoons.ltrt"],["leftrightharpoonupdown","harpoon.lt.rb"],["leftrightharpoonupup","harpoon.lt.rt"],["leftrightsquigarrow","arrow.l.r.wave"],["leftsquigarrow","arrow.l.squiggly"],["leftthreearrows","arrows.lll"],["leftthreetimes","times.three.l"],["leftwavearrow","arrow.l.wave"],["leftwhitearrow","arrow.l.stroked"],["leq","lt.eq"],["leqq","lt.equiv"],["leqslant","lt.eq.slant"],["less","lt"],["lessapprox","lt.approx"],["lessdot","lt.dot"],["lesseqgtr","lt.eq.gt"],["lessgtr","lt.gt"],["lesssim","lt.tilde"],["lfloor","floor.l"],["lgblkcircle","circle.filled.big"],["lgroup","paren.l.flat"],["lgwhtcircle","circle.stroked.big"],["ll","lt.double"],["llangle","chevron.l.closed"],["llblacktriangle","triangle.filled.bl"],["llcorner","corner.l.b"],["LLeftarrow","arrow.l.quad"],["Lleftarrow","arrow.l.triple"],["lll","lt.triple"],["lllnest","lt.triple.nested"],["llparenthesis","paren.l.closed"],["lltriangle","triangle.stroked.bl"],["lmoustache","mustache.l"],["lnapprox","lt.napprox"],["lneq","lt.neq"],["lneqq","lt.nequiv"],["lnsim","lt.ntilde"],["longdashv","tack.l.long"],["Longleftarrow","arrow.l.double.long"],["longleftarrow","arrow.l.long"],["Longleftrightarrow","arrow.l.r.double.long"],["longleftrightarrow","arrow.l.r.long"],["longleftsquigarrow","arrow.l.long.squiggly"],["Longmapsfrom","arrow.l.double.long.bar"],["longmapsfrom","arrow.l.long.bar"],["longmapsto","arrow.r.long.bar"],["Longmapsto","arrow.r.double.long.bar"],["Longrightarrow","arrow.r.double.long"],["longrightarrow","arrow.r.long"],["longrightsquigarrow","arrow.r.long.squiggly"],["looparrowleft","arrow.l.loop"],["looparrowright","arrow.r.loop"],["lparen","paren.l"],["lParen","paren.l.stroked"],["lrblacktriangle","triangle.filled.br"],["lrcorner","corner.r.b"],["lrtriangle","triangle.stroked.br"],["ltimes","times.l"],["lvzigzag","fence.l"],["Lvzigzag","fence.l.double"],["maltese","maltese"],["mapsdown","arrow.b.bar"],["mapsfrom","arrow.l.bar"],["Mapsfrom","arrow.l.double.bar"],["mapsto","arrow.r.bar"],["Mapsto","arrow.r.double.bar"],["mapsup","arrow.t.bar"],["mathampersand","amp"],["mathatsign","at"],["mathcolon","colon"],["mathcomma","comma"],["mathdollar","dollar"],["mathexclam","excl"],["mathhyphen","hyph"],["mathparagraph","pilcrow"],["mathpercent","percent"],["mathperiod","dot.basic"],["mathplus","plus"],["mathquestion","quest"],["mathratio","ratio"],["mathsection","section"],["mathsemicolon","semi"],["mathslash","slash"],["mathsterling","pound"],["mathyen","yen"],["mdblkdiamond","diamond.filled.medium"],["mdblklozenge","lozenge.filled.medium"],["mdlgblkcircle","circle.filled"],["mdlgblkdiamond","diamond.filled"],["mdlgblklozenge","lozenge.filled"],["mdlgblksquare","square.filled"],["mdlgwhtcircle","circle.stroked"],["mdlgwhtdiamond","diamond.stroked"],["mdlgwhtlozenge","lozenge.stroked"],["mdlgwhtsquare","square.stroked"],["mdsmblkcircle","circle.filled.tiny"],["mdsmwhtcircle","circle.stroked.small"],["mdwhtdiamond","diamond.stroked.medium"],["mdwhtlozenge","lozenge.stroked.medium"],["measeq","eq.m"],["measuredangle","angle.arc"],["measuredangleleft","angle.arc.rev"],["measuredrightangle","angle.right.arc"],["mho","Omega.inv"],["mid","divides"],["minus","minus"],["models","models"],["mp","minus.plus"],["multimap","multimap"],["nabla","gradient"],["napprox","approx.not"],["nasymp","asymp.not"],["natural","natural"],["ncong","tilde.equiv.not"],["ne","eq.not"],["Nearrow","arrow.tr.double"],["neg","not"],["nequiv","equiv.not"],["neswarrow","arrow.tr.bl"],["nexists","exists.not"],["ngeq","gt.eq.not"],["ngtr","gt.not"],["ngtrless","gt.lt.not"],["ngtrsim","gt.tilde.not"],["nHdownarrow","arrow.b.dstruck"],["nhpar","parallel.struck"],["nHuparrow","arrow.t.dstruck"],["nhVvert","interleave.struck"],["ni","in.rev"],["nLeftarrow","arrow.l.double.not"],["nleftarrow","arrow.l.not"],["nLeftrightarrow","arrow.l.r.double.not"],["nleftrightarrow","arrow.l.r.not"],["nleq","lt.eq.not"],["nless","lt.not"],["nlessgtr","lt.gt.not"],["nlesssim","lt.tilde.not"],["nmid","divides.not"],["nni","in.rev.not"],["notin","in.not"],["nparallel","parallel.not"],["nprec","prec.not"],["npreccurlyeq","prec.curly.eq.not"],["nRightarrow","arrow.r.double.not"],["nrightarrow","arrow.r.not"],["nsim","tilde.not"],["nsimeq","tilde.eq.not"],["nsqsubseteq","subset.eq.sq.not"],["nsqsupseteq","supset.eq.sq.not"],["nsubset","subset.not"],["nsubseteq","subset.eq.not"],["nsucc","succ.not"],["nsucccurlyeq","succ.curly.eq.not"],["nsupset","supset.not"],["nsupseteq","supset.eq.not"],["ntrianglelefteq","lt.tri.eq.not"],["ntrianglerighteq","gt.tri.eq.not"],["nvartriangleleft","lt.tri.not"],["nvartriangleright","gt.tri.not"],["nVdash","forces.not"],["nvdash","tack.r.not"],["nvDash","tack.r.double.not"],["nvinfty","infinity.bar"],["nvLeftarrow","arrow.l.double.struck"],["nvleftarrow","arrow.l.struck"],["nVleftarrow","arrow.l.dstruck"],["nvleftarrowtail","arrow.l.tail.struck"],["nVleftarrowtail","arrow.l.tail.dstruck"],["nvLeftrightarrow","arrow.l.r.double.struck"],["nvleftrightarrow","arrow.l.r.struck"],["nVleftrightarrow","arrow.l.r.dstruck"],["nvRightarrow","arrow.r.double.struck"],["nvrightarrow","arrow.r.struck"],["nVrightarrow","arrow.r.dstruck"],["nvrightarrowtail","arrow.r.tail.struck"],["nVrightarrowtail","arrow.r.tail.dstruck"],["nvtwoheadleftarrow","arrow.l.twohead.struck"],["nVtwoheadleftarrow","arrow.l.twohead.dstruck"],["nvtwoheadleftarrowtail","arrow.l.twohead.tail.struck"],["nVtwoheadleftarrowtail","arrow.l.twohead.tail.dstruck"],["nvtwoheadrightarrow","arrow.r.twohead.struck"],["nVtwoheadrightarrow","arrow.r.twohead.dstruck"],["nvtwoheadrightarrowtail","arrow.r.twohead.tail.struck"],["nVtwoheadrightarrowtail","arrow.r.twohead.tail.dstruck"],["Nwarrow","arrow.tl.double"],["nwsearrow","arrow.tl.br"],["obrbrak","shell.t"],["obslash","backslash.o"],["odiv","div.o"],["odot","dot.o"],["odotslashdot","div.slanted.o"],["ogreaterthan","gt.o"],["oiiint","integral.vol"],["oiint","integral.surf"],["oint","integral.cont"],["ointctrclockwise","integral.cont.ccw"],["olessthan","lt.o"],["ominus","minus.o"],["operp","perp.o"],["oplus","plus.o"],["opluslhrim","plus.o.l"],["oplusrhrim","plus.o.r"],["origof","original"],["oslash","slash.o"],["otimes","times.o"],["otimeshat","times.o.hat"],["otimeslhrim","times.o.l"],["otimesrhrim","times.o.r"],["parallel","parallel"],["parallelogram","parallelogram.stroked"],["parallelogramblack","parallelogram.filled"],["parsim","parallel.tilde"],["partial","partial"],["pentagon","penta.stroked"],["pentagonblack","penta.filled"],["perp","perp"],["pm","plus.minus"],["prec","prec"],["Prec","prec.double"],["precapprox","prec.approx"],["preccurlyeq","prec.curly.eq"],["preceq","prec.eq"],["preceqq","prec.equiv"],["precnapprox","prec.napprox"],["precneq","prec.neq"],["precneqq","prec.nequiv"],["precnsim","prec.ntilde"],["precsim","prec.tilde"],["prime","prime"],["prod","product"],["propto","prop"],["QED","qed"],["qprime","prime.quad"],["quarternote","note.quarter.alt"],["questeq","eq.quest"],["Question","quest.double"],["rangle","chevron.r"],["rAngle","chevron.r.double"],["rangledot","chevron.r.dot"],["rangledownzigzagarrow","angle.azimuth"],["rbag","bag.r"],["rblkbrbrak","shell.r.filled"],["rbrace","brace.r"],["rBrace","brace.r.stroked"],["rbrack","bracket.r"],["rBrack","bracket.r.stroked"],["rbracklrtick","bracket.r.tick.b"],["rbrackurtick","bracket.r.tick.t"],["rbrbrak","shell.r"],["Rbrbrak","shell.r.stroked"],["rceil","ceil.r"],["rcurvyangle","chevron.r.curly"],["Re","Re"],["revangle","angle.rev"],["revemptyset","emptyset.rev"],["revnmid","divides.not.rev"],["rfloor","floor.r"],["rgroup","paren.r.flat"],["rightangle","angle.right"],["rightanglemdot","angle.right.dot"],["rightanglesqr","angle.right.square"],["rightarrow","arrow.r"],["Rightarrow","arrow.r.double"],["rightarrowbar","arrow.r.stop"],["rightarrowonoplus","plus.o.arrow"],["rightarrowtail","arrow.r.tail"],["rightarrowtriangle","arrow.r.open"],["rightdasharrow","arrow.r.dashed"],["rightdotarrow","arrow.r.dotted"],["rightdowncurvedarrow","arrow.r.curve"],["rightharpoondown","harpoon.rb"],["rightharpoondownbar","harpoon.rb.stop"],["rightharpoonsupdown","harpoons.rtrb"],["rightharpoonup","harpoon.rt"],["rightharpoonupbar","harpoon.rt.stop"],["rightleftarrows","arrows.rl"],["rightleftharpoons","harpoons.rtlb"],["rightleftharpoonsdown","harpoons.rblb"],["rightleftharpoonsup","harpoons.rtlt"],["rightouterjoin","join.r"],["rightrightarrows","arrows.rr"],["rightsquigarrow","arrow.r.squiggly"],["rightthreearrows","arrows.rrr"],["rightthreetimes","times.three.r"],["rightwavearrow","arrow.r.wave"],["rightwhitearrow","arrow.r.stroked"],["risingdotseq","eq.dots.up"],["rmoustache","mustache.r"],["rparen","paren.r"],["rParen","paren.r.stroked"],["rrangle","chevron.r.closed"],["RRightarrow","arrow.r.quad"],["Rrightarrow","arrow.r.triple"],["rrparenthesis","paren.r.closed"],["rsolbar","backslash.not"],["rtimes","times.r"],["rvzigzag","fence.r"],["Rvzigzag","fence.r.double"],["Searrow","arrow.br.double"],["setminus","without"],["sharp","sharp"],["shortdowntack","tack.b.short"],["shortlefttack","tack.l.short"],["shortuptack","tack.t.short"],["sim","tilde.op"],["sime","tilde.eq"],["similarleftarrow","arrow.l.tilde"],["similarrightarrow","arrow.r.tilde"],["simneqq","tilde.nequiv"],["smallblacktriangleleft","triangle.filled.small.l"],["smallblacktriangleright","triangle.filled.small.r"],["smallin","in.small"],["smallni","in.rev.small"],["smalltriangleleft","triangle.stroked.small.l"],["smalltriangleright","triangle.stroked.small.r"],["smashtimes","smash"],["smblkcircle","bullet"],["smblkdiamond","diamond.filled.small"],["smblklozenge","lozenge.filled.small"],["smeparsl","parallel.slanted.eq.tilde"],["smile","smile"],["smt","smt"],["smte","smt.eq"],["smwhtcircle","bullet.stroked"],["smwhtdiamond","diamond.stroked.small"],["smwhtlozenge","lozenge.stroked.small"],["sphericalangle","angle.spheric"],["sphericalangleup","angle.spheric.t"],["sqcap","inter.sq"],["Sqcap","inter.sq.double"],["sqcup","union.sq"],["Sqcup","union.sq.double"],["sqint","integral.square"],["sqsubset","subset.sq"],["sqsubseteq","subset.eq.sq"],["sqsubsetneq","subset.sq.neq"],["sqsupset","supset.sq"],["sqsupseteq","supset.eq.sq"],["sqsupsetneq","supset.sq.neq"],["squoval","square.stroked.rounded"],["sslash","slash.double"],["star","star.op"],["stareq","eq.star"],["subset","subset"],["Subset","subset.double"],["subsetdot","subset.dot"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["Succ","succ.double"],["succapprox","succ.approx"],["succcurlyeq","succ.curly.eq"],["succeq","succ.eq"],["succeqq","succ.equiv"],["succnapprox","succ.napprox"],["succneq","succ.neq"],["succneqq","succ.nequiv"],["succnsim","succ.ntilde"],["succsim","succ.tilde"],["sum","sum"],["sumint","sum.integral"],["supset","supset"],["Supset","supset.double"],["supsetdot","supset.dot"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["Swarrow","arrow.bl.double"],["therefore","therefore"],["threedangle","angle.spatial"],["threedotcolon","colon.tri.op"],["tieinfty","infinity.tie"],["times","times"],["tminus","miny"],["top","tack.b"],["tplus","tiny"],["trianglecdot","triangle.stroked.dot"],["triangledown","triangle.stroked.small.b"],["triangleleft","triangle.stroked.l"],["trianglelefteq","lt.tri.eq"],["triangleminus","minus.triangle"],["triangleplus","plus.triangle"],["triangleq","eq.delta"],["triangleright","triangle.stroked.r"],["trianglerighteq","gt.tri.eq"],["triangletimes","times.triangle"],["tripleplus","plus.triple"],["trprime","prime.triple"],["trslash","slash.triple"],["turnediota","iota.inv"],["twoheaddownarrow","arrow.b.twohead"],["twoheadleftarrow","arrow.l.twohead"],["twoheadleftarrowtail","arrow.l.twohead.tail"],["twoheadmapsfrom","arrow.l.twohead.bar"],["twoheadmapsto","arrow.r.twohead.bar"],["twoheadrightarrow","arrow.r.twohead"],["twoheadrightarrowtail","arrow.r.twohead.tail"],["twoheaduparrow","arrow.t.twohead"],["twonotes","note.eighth.beamed"],["ubrbrak","shell.b"],["ulblacktriangle","triangle.filled.tl"],["ulcorner","corner.l.t"],["ultriangle","triangle.stroked.tl"],["uminus","union.minus"],["underbrace","brace.b"],["underbracket","bracket.b"],["underparen","paren.b"],["unicodecdots","dots.h.c"],["unicodeellipsis","dots.h"],["upand","amp.inv"],["uparrow","arrow.t"],["Uparrow","arrow.t.double"],["uparrowbarred","arrow.t.struck"],["upbackepsilon","epsilon.alt.rev"],["updasharrow","arrow.t.dashed"],["upDigamma","Digamma"],["updigamma","digamma"],["Updownarrow","arrow.t.b.double"],["updownarrows","arrows.tb"],["updownharpoonleftleft","harpoon.tl.bl"],["updownharpoonleftright","harpoon.tl.br"],["updownharpoonrightleft","harpoon.tr.bl"],["updownharpoonrightright","harpoon.tr.br"],["updownharpoonsleftright","harpoons.tlbr"],["upharpoonleft","harpoon.tl"],["upharpoonleftbar","harpoon.tl.bar"],["upharpoonright","harpoon.tr"],["upharpoonrightbar","harpoon.tr.bar"],["upharpoonsleftright","harpoons.tltr"],["uplus","union.plus"],["upuparrows","arrows.tt"],["upwhitearrow","arrow.t.stroked"],["urblacktriangle","triangle.filled.tr"],["urcorner","corner.r.t"],["urtriangle","triangle.stroked.tr"],["UUparrow","arrow.t.quad"],["Uuparrow","arrow.t.triple"],["varclubsuit","suit.club.stroked"],["varhexagon","hexa.stroked"],["varhexagonblack","hexa.filled"],["varnothing","emptyset"],["varointclockwise","integral.cont.cw"],["varspadesuit","suit.spade.stroked"],["vartriangle","triangle.stroked.small.t"],["vartriangleleft","lt.tri"],["vartriangleright","gt.tri"],["Vbar","tack.t.double"],["Vdash","forces"],["vdash","tack.r"],["vDash","tack.r.double"],["vdots","dots.v"],["vee","or"],["Vee","or.double"],["veedot","or.dot"],["veeeq","eq.equi"],["vert","bar.v"],["Vert","bar.v.double"],["vlongdash","tack.r.long"],["vrectangle","rect.stroked.v"],["vrectangleblack","rect.filled.v"],["Vvert","bar.v.triple"],["vysmblkcircle","circle.filled.small"],["vysmwhtcircle","circle.stroked.tiny"],["wedge","and"],["Wedge","and.double"],["wedgedot","and.dot"],["wedgeq","eq.est"],["whiteinwhitetriangle","triangle.stroked.nested"],["whthorzoval","ellipse.stroked.h"],["whtvertoval","ellipse.stroked.v"],["wideangledown","angle.obtuse"],["wr","wreath"],["xsol","slash.big"]]),Km=new Map([["gets","leftarrow"],["iff","Longleftrightarrow"],["implies","Longrightarrow"]]);for(let[e,t]of Wm)Ae.has(e)||Ae.set(e,t);var Ui=new Map;for(let[e,t]of Array.from(Ae.entries()).reverse())Ui.set(t,e);Ui.set("oo","infty");var Qm=new Map([["top","top"],["frac","frac"],["tilde","tilde"],["hat","hat"],["upright","mathrm"],["bold","boldsymbol"],["infinity","infty"],["diff","partial"]]);for(let[e,t]of Qm)Ui.set(e,t);for(let[e,t]of Km)Ae.has(e)||Ae.set(e,Ae.get(t));var Yr=class extends Error{constructor(t,r=null){super(t);C(this,"node");this.name="ConverterError",this.node=r}},Zm=x.NONE.toNode(),Xm=["dim","id","im","mod","Pr","sech","csch"];function Jm(e){if(/^[a-zA-Z0-9]$/.test(e))return e;if(e==="/")return"\\/";if(["\\\\","\\{","\\}","\\%"].includes(e))return e.substring(1);if(["\\$","\\#","\\&","\\_"].includes(e))return e;if(e.startsWith("\\")){let t=e.slice(1);return Ae.has(t)?Ae.get(t):null}return e}function Dt(e,t){let r;switch(e.type){case 0:return x.NONE;case 2:r=1;break;case 1:r=2;break;case 3:r=3;break;case 4:r=5;break;case 5:r=6;break;case 6:r=8;break;case 7:{if(e.value==="\\\\")return new x(7,"\\");if(e.value==="\\!")return new x(1,"#h(-math.thin.amount)");if(e.value==="~"){let i=Ae.get("~");return new x(1,i)}else if(Ae.has(e.value.substring(1))){let i=Ae.get(e.value.substring(1));return new x(1,i)}else throw new Error(`Unknown control sequence: ${e.value}`)}default:throw Error(`Unknown token type: ${e.type}`)}let n=Jm(e.value);if(n===null){if(t.nonStrict)return new x(r,e.value.substring(1));throw new Yr(`Unknown token: ${e.value}`,e)}return new x(r,n)}function ed(e,t){let[r,n]=e.args;if(t.optimize&&["\\overset{\\text{def}}{=}","\\overset{d e f}{=}"].includes(e.toString()))return new x(1,"eq.def").toNode();let i=new pe(new x(1,"limits"),[Q(n,t)]);return new Hi({base:i,sup:Q(r,t),sub:null})}function td(e,t){let[r,n]=e.args,i=new pe(new x(1,"limits"),[Q(n,t)]);return new Hi({base:i,sub:Q(r,t),sup:null})}function rd(e){let t={},r={l:"#left",c:"#center",r:"#right"},n=Array.from(e),i=[],a=0;for(let l of n)l==="|"?i.push(a):(l==="l"||l==="c"||l==="r")&&a++;if(i.length>0){let l;i.length===1?l=`#${i[0]}`:l=`#(vline: (${i.join(", ")}))`,t.augment=new x(3,l).toNode()}let o=n.map(l=>r[l]).filter(l=>l!==void 0).map(l=>new x(3,l).toNode());if(o.length>0){let l=o.every(s=>s.eq(o[0]));t.align=l?o[0]:new x(3,"#center").toNode()}return t}var nd=new x(2,"("),id=new x(2,")");function Ri(e){return["group","supsub","matrixLike","fraction","empty"].includes(e.type)?new Te(null,{left:nd,right:id,body:e}):e}function Q(e,t){switch(e.type){case"terminal":return Dt(e.head,t).toNode();case"text":{let i=e;return new x(4,i.head.value).toNode()}case"ordgroup":let n=e;return new Mi(n.items.map(i=>Q(i,t)));case"supsub":{let i=e,{base:a,sup:o,sub:l}=i;if(a&&a.type==="funcCall"&&a.head.value==="\\overbrace"&&o)return new pe(new x(1,"overbrace"),[Q(a.args[0],t),Q(o,t)]);if(a&&a.type==="funcCall"&&a.head.value==="\\underbrace"&&l)return new pe(new x(1,"underbrace"),[Q(a.args[0],t),Q(l,t)]);let s={base:Q(a,t),sup:o?Q(o,t):null,sub:l?Q(l,t):null};return s.sup&&(s.sup=Ri(s.sup)),s.sub&&(s.sub=Ri(s.sub)),new Hi(s)}case"leftright":{let i=e,{left:a,right:o}=i,l=Q(i.body,t);if(t.optimize&&a!==null&&o!==null){let c=Dt(a,t),h=Dt(o,t);if(a.value==="\\|"&&o.value==="\\|")return new pe(new x(1,"norm"),[l]);if(["[]","()","\\{\\}","\\lfloor\\rfloor","\\lceil\\rceil","\\lfloor\\rceil"].includes(a.value+o.value))return new Mi([c.toNode(),l,h.toNode()])}let s=function(c){return["(",")","{","["].includes(c.value)?new x(2,"\\"+c.value):c},u=a?Dt(a,t):null,p=o?Dt(o,t):null;return u&&u.value==="<"&&(u=new x(1,"chevron.l")),p&&p.value===">"&&(p=new x(1,"chevron.r")),u===null&&p!==null&&(p=s(p)),p===null&&u!==null&&(u=s(u)),new Te(x.LR,{body:l,left:u,right:p})}case"funcCall":{let i=e,a=Q(i.args[0],t);if(i.head.value==="\\sqrt"&&i.data){let o=Q(i.data,t);return new pe(new x(1,"root"),[o,a])}if(i.head.value==="\\mathbf"){let o=new pe(new x(1,"bold"),[a]);return new pe(new x(1,"upright"),[o])}if(i.head.value==="\\overrightarrow")return new pe(new x(1,"arrow"),[a]);if(i.head.value==="\\overleftarrow")return new pe(new x(1,"accent"),[a,new x(1,"arrow.l").toNode()]);if(i.head.value==="\\operatorname"||i.head.value==="\\operatorname*"){if(t.optimize&&Xm.includes(a.head.value))return new x(1,a.head.value).toNode();let o=new pe(new x(1,"op"),[new x(4,a.head.value).toNode()]);return i.head.value==="\\operatorname*"&&o.setOptions({limits:new x(3,"#true").toNode()}),o}if(i.head.value==="\\textcolor"){let o=new Vm(new x(1,"#text"),[Q(i.args[1],t)]);return o.setOptions({fill:a}),o}if(i.head.value==="\\substack"||i.head.value==="\\displaylines"||i.head.value==="\\mathinner")return a;if(i.head.value==="\\mathrel")return new pe(new x(1,"class"),[new x(4,"relation").toNode(),a]);if(i.head.value==="\\mathbin")return new pe(new x(1,"class"),[new x(4,"binary").toNode(),a]);if(i.head.value==="\\mathop")return new pe(new x(1,"class"),[new x(4,"large").toNode(),a]);if(i.head.value==="\\not"){let o=Q(i.args[0],t);if(ae(o.type==="terminal"),o.head.type===1)return new x(1,o.head.value+".not").toNode();if(o.head.value==="=")return new x(1,"eq.not").toNode();throw new Error(`Not supported: \\not ${o.head.value}`)}if(i.head.value==="\\pmod"){let o=new Mi([new x(1,"mod").toNode(),a]);return new Te(null,{body:o,left:x.LEFT_PAREN,right:x.RIGHT_PAREN})}if(i.head.value==="\\overset")return ed(i,t);if(i.head.value==="\\underset")return td(i,t);if(["\\bra","\\ket","\\braket","\\set","\\Bra","\\Ket","\\Braket","\\Set"].includes(i.head.value)){let o=function(l,s){let u=new pe(new x(1,"mid"),[x.VERTICAL_BAR.toNode()]);if(l.type==="terminal"&&l.head.eq(x.VERTICAL_BAR))return u;if(l.type==="group"){let p=l;for(let c=0;c<p.items.length&&!(p.items[c].type==="terminal"&&p.items[c].head.eq(x.VERTICAL_BAR)&&(p.items[c]=u,s));c++);return p}else return l};var r=o;switch(i.head.value){case"\\bra":return new Te(null,{body:a,left:x.LEFT_ANGLE,right:x.VERTICAL_BAR});case"\\ket":return new Te(null,{body:a,left:x.VERTICAL_BAR,right:x.RIGHT_ANGLE});case"\\braket":return new Te(null,{body:a,left:x.LEFT_ANGLE,right:x.RIGHT_ANGLE});case"\\set":return new Te(null,{body:a,left:x.LEFT_BRACE,right:x.RIGHT_BRACE});case"\\Bra":return new Te(x.LR,{body:a,left:x.LEFT_ANGLE,right:x.VERTICAL_BAR});case"\\Ket":return new Te(x.LR,{body:a,left:x.VERTICAL_BAR,right:x.RIGHT_ANGLE});case"\\Braket":return new Te(x.LR,{body:o(a,!1),left:x.LEFT_ANGLE,right:x.RIGHT_ANGLE});case"\\Set":return new Te(x.LR,{body:o(a,!0),left:x.LEFT_BRACE,right:x.RIGHT_BRACE});default:}}if(i.head.value==="\\frac"&&t.fracToSlash)return new $m(i.args.map(o=>Q(o,t)).map(Ri));if(t.optimize){if(i.head.value==="\\mathbb"&&/^\\mathbb{[A-Z]}$/.test(i.toString()))return new x(1,a.head.value.repeat(2)).toNode();if(i.head.value==="\\mathrm"&&i.toString()==="\\mathrm{d}")return new x(1,"dif").toNode()}return new pe(Dt(i.head,t),i.args.map(o=>Q(o,t)))}case"beginend":{let i=e,a=i.matrix.map(o=>o.map(l=>Q(l,t)));if(i.head.value.startsWith("align"))return new Xe(null,a);if(i.head.value==="cases")return new Xe(Xe.CASES,a);if(i.head.value==="subarray"){if(i.data)switch(i.data.head.value){case"r":a.forEach(l=>l.push(x.EMPTY.toNode()));break;case"l":a.forEach(l=>l.unshift(x.EMPTY.toNode()));break;default:break}return new Xe(null,a)}if(i.head.value==="array"){let o={delim:Zm};ae(i.data!==null&&i.head.type===3);let l=rd(i.data.head.value);Object.assign(o,l);let s=new Xe(Xe.MAT,a);return s.setOptions(o),s}if(i.head.value.endsWith("matrix")){let o=new Xe(Xe.MAT,a),l;switch(i.head.value){case"matrix":l=x.NONE;break;case"pmatrix":return o;case"bmatrix":l=new x(4,"[");break;case"Bmatrix":l=new x(4,"{");break;case"vmatrix":l=new x(4,"|");break;case"Vmatrix":{l=new x(1,"bar.v.double");break}default:throw new Yr(`Unimplemented beginend: ${i.head}`,i)}return o.setOptions({delim:l.toNode()}),o}throw new Yr(`Unimplemented beginend: ${i.head}`,i)}default:throw new Yr(`Unimplemented node type: ${e.type}`,e)}}var dv=new q(1,",").toNode();var od=Array.from(Pi.keys());function ad(){return`(${od.map(t=>(t=t.replaceAll("|","\\|"),t=t.replaceAll(".","\\."),t=t.replaceAll("[","\\["),t=t.replaceAll("]","\\]"),t)).join("|")})`}var ld=ad(),gv=new Map([[String.raw`//[^\n]*`,e=>new x(5,e.text().substring(2))],[String.raw`/`,e=>new x(2,e.text())],[String.raw`[_^&]`,e=>new x(7,e.text())],[String.raw`\r?\n`,e=>new x(8,`
|
|
68
|
-
`)],[String.raw
|
|
69
|
-
`)]
|
|
70
|
-
|
|
71
|
-
|
|
28
|
+
$2`),r=on().use(Vt).use(Cn,["yaml"]).use(Gt,{singleTilde:!1}).use($t).use(xi),i=r.parse(t);return r.runSync(i)}catch(t){let r=t instanceof Error?t.message:String(t);throw n&&n({severity:"error",message:`Failed to parse Markdown: ${r}`,context:"markdown parsing",originalError:t}),t}}var Kt=Tn(Va(),1),Yn=Tn(Ka(),1);function Lt(e){try{return e.replace(/[\\#*_`\[\]\$<>@]/g,n=>`\\${n}`)}catch{return e}}function ut(e){try{return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n")}catch{return e}}function Be(e,n){if(!n)return e;let t=" ".repeat(n);return e.split(`
|
|
29
|
+
`).map(r=>`${t}${r}`).join(`
|
|
30
|
+
`)}function ct(e){return typeof e=="string"&&e.length>0}function Qa(e){return(e??"").trim()}function qt(e,n){return e.map(t=>Yp(t,n)).join("")}function Yp(e,n){switch(e.type){case"text":return e.value;case"strong":case"emphasis":return qt(e.children,n);case"inlineCode":return e.value;case"link":return qt(e.children,n);case"linkReference":{let t=e,r=qt(t.children,n);if(r.trim())return r;let i=n.get(t.identifier.toLowerCase());return i?i.url:t.label||t.identifier}case"break":return`
|
|
31
|
+
`;default:return""}}function Ti(e){return e.length===1?`(${e[0]},)`:`(${e.join(", ")})`}function Za(e){let n=0,t=0;for(let r=0;r<e.length;r++){if(e[r]==="`"){t++,t>n&&(n=t);continue}t=0}return n}function Xa(e){if(!e)return;let n=e.trim();if(!n)return;let t=n.split(/[-_]/)[0].toLowerCase();if(Kt.default.codes("1").includes(t))return t;let i=Kt.default.all();for(let u of i)if(u.name&&u.name.toLowerCase()===n.toLowerCase()&&u[1]||u.local&&u.local.toLowerCase()===n.toLowerCase()&&u[1])return u[1];let a=Kt.default.where("2",n.toLowerCase());if(a&&a[1])return a[1];let o=Kt.default.where("2B",n.toLowerCase());if(o&&o[1])return o[1];let s=Kt.default.where("3",n.toLowerCase());if(s&&s[1])return s[1]}function Ja(e){if(!e)return;let n=e.trim();if(!n)return;let t=n.toUpperCase();if((0,Yn.getCodes)().includes(t))return t;let i=(0,Yn.getCode)(n);if(i)return i.toUpperCase()}function el(e,n){let t=new Map;try{for(let r of e.children){if(r.type!=="definition")continue;let i=r,a=i.identifier.toLowerCase();t.has(a)&&n&&n({severity:"warning",message:`Duplicate link/image definition found: [${i.identifier}]`,context:"definition collection",details:{identifier:i.identifier,url:i.url}}),t.set(a,i)}}catch(r){let i=r instanceof Error?r.message:String(r);n&&n({severity:"error",message:`Error collecting definitions: ${i}`,context:"definition collection",originalError:r})}return t}function tl(e,n){let t=new Map;try{for(let r of e.children){if(r.type!=="footnoteDefinition")continue;let i=r,a=i.identifier.toLowerCase();t.has(a)&&n&&n({severity:"warning",message:`Duplicate footnote definition found: [^${i.identifier}]`,context:"footnote collection",details:{identifier:i.identifier}}),t.set(a,i)}}catch(r){let i=r instanceof Error?r.message:String(r);n&&n({severity:"error",message:`Error collecting footnotes: ${i}`,context:"footnote collection",originalError:r})}return t}function nl(e,n,t){try{for(let r=0;r<e.children.length;r++){let i=e.children[r];if(i.type==="yaml"||i.type==="definition")continue;if(i.type!=="heading")return null;let a=i;if(a.depth!==1)return null;let o=qt(a.children,n).trim();return o?{title:o,index:r}:null}}catch(r){let i=r instanceof Error?r.message:String(r);t&&t({severity:"warning",message:`Error extracting leading H1 title: ${i}`,context:"title extraction",originalError:r})}return null}function Wp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qe={},Wn={},pt={},rl;function dn(){if(rl)return pt;rl=1;function e(o){return typeof o>"u"||o===null}function n(o){return typeof o=="object"&&o!==null}function t(o){return Array.isArray(o)?o:e(o)?[]:[o]}function r(o,s){if(s){let u=Object.keys(s);for(let c=0,p=u.length;c<p;c+=1){let f=u[c];o[f]=s[f]}}return o}function i(o,s){let u="";for(let c=0;c<s;c+=1)u+=o;return u}function a(o){return o===0&&Number.NEGATIVE_INFINITY===1/o}return pt.isNothing=e,pt.isObject=n,pt.toArray=t,pt.repeat=i,pt.isNegativeZero=a,pt.extend=r,pt}var Si,il;function gn(){if(il)return Si;il=1;function e(t,r){let i="",a=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(i+='in "'+t.mark.name+'" '),i+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!r&&t.mark.snippet&&(i+=`
|
|
32
|
+
|
|
33
|
+
`+t.mark.snippet),a+" "+i):a}function n(t,r){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=r,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=function(r){return this.name+": "+e(this,r)},Si=n,Si}var Ei,ol;function Kp(){if(ol)return Ei;ol=1;let e=dn();function n(i,a,o,s,u){let c="",p="",f=Math.floor(u/2)-1;return s-a>f&&(c=" ... ",a=s-f+c.length),o-s>f&&(p=" ...",o=s+f-p.length),{str:c+i.slice(a,o).replace(/\t/g,"\u2192")+p,pos:s-a+c.length}}function t(i,a){return e.repeat(" ",a-i.length)+i}function r(i,a){if(a=Object.create(a||null),!i.buffer)return null;a.maxLength||(a.maxLength=79),typeof a.indent!="number"&&(a.indent=1),typeof a.linesBefore!="number"&&(a.linesBefore=3),typeof a.linesAfter!="number"&&(a.linesAfter=2);let o=/\r?\n|\r|\0/g,s=[0],u=[],c,p=-1;for(;c=o.exec(i.buffer);)u.push(c.index),s.push(c.index+c[0].length),i.position<=c.index&&p<0&&(p=s.length-2);p<0&&(p=s.length-1);let f="",d=Math.min(i.line+a.linesAfter,u.length).toString().length,m=a.maxLength-(a.indent+d+3);for(let I=1;I<=a.linesBefore&&!(p-I<0);I++){let A=n(i.buffer,s[p-I],u[p-I],i.position-(s[p]-s[p-I]),m);f=e.repeat(" ",a.indent)+t((i.line-I+1).toString(),d)+" | "+A.str+`
|
|
34
|
+
`+f}let x=n(i.buffer,s[p],u[p],i.position,m);f+=e.repeat(" ",a.indent)+t((i.line+1).toString(),d)+" | "+x.str+`
|
|
35
|
+
`,f+=e.repeat("-",a.indent+d+3+x.pos)+`^
|
|
36
|
+
`;for(let I=1;I<=a.linesAfter&&!(p+I>=u.length);I++){let A=n(i.buffer,s[p+I],u[p+I],i.position-(s[p]-s[p+I]),m);f+=e.repeat(" ",a.indent)+t((i.line+I+1).toString(),d)+" | "+A.str+`
|
|
37
|
+
`}return f.replace(/\n$/,"")}return Ei=r,Ei}var vi,al;function Me(){if(al)return vi;al=1;let e=gn(),n=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],t=["scalar","sequence","mapping"];function r(a){let o={};return a!==null&&Object.keys(a).forEach(function(s){a[s].forEach(function(u){o[String(u)]=s})}),o}function i(a,o){if(o=o||{},Object.keys(o).forEach(function(s){if(n.indexOf(s)===-1)throw new e('Unknown option "'+s+'" is met in definition of "'+a+'" YAML type.')}),this.options=o,this.tag=a,this.kind=o.kind||null,this.resolve=o.resolve||function(){return!0},this.construct=o.construct||function(s){return s},this.instanceOf=o.instanceOf||null,this.predicate=o.predicate||null,this.represent=o.represent||null,this.representName=o.representName||null,this.defaultStyle=o.defaultStyle||null,this.multi=o.multi||!1,this.styleAliases=r(o.styleAliases||null),t.indexOf(this.kind)===-1)throw new e('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.')}return vi=i,vi}var Ai,ll;function ql(){if(ll)return Ai;ll=1;let e=gn(),n=Me();function t(a,o){let s=[];return a[o].forEach(function(u){let c=s.length;s.forEach(function(p,f){p.tag===u.tag&&p.kind===u.kind&&p.multi===u.multi&&(c=f)}),s[c]=u}),s}function r(){let a={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function o(s){s.multi?(a.multi[s.kind].push(s),a.multi.fallback.push(s)):a[s.kind][s.tag]=a.fallback[s.tag]=s}for(let s=0,u=arguments.length;s<u;s+=1)arguments[s].forEach(o);return a}function i(a){return this.extend(a)}return i.prototype.extend=function(o){let s=[],u=[];if(o instanceof n)u.push(o);else if(Array.isArray(o))u=u.concat(o);else if(o&&(Array.isArray(o.implicit)||Array.isArray(o.explicit)))o.implicit&&(s=s.concat(o.implicit)),o.explicit&&(u=u.concat(o.explicit));else throw new e("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");s.forEach(function(p){if(!(p instanceof n))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(p.loadKind&&p.loadKind!=="scalar")throw new e("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(p.multi)throw new e("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),u.forEach(function(p){if(!(p instanceof n))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.")});let c=Object.create(i.prototype);return c.implicit=(this.implicit||[]).concat(s),c.explicit=(this.explicit||[]).concat(u),c.compiledImplicit=t(c,"implicit"),c.compiledExplicit=t(c,"explicit"),c.compiledTypeMap=r(c.compiledImplicit,c.compiledExplicit),c},Ai=i,Ai}var Ci,sl;function Ll(){if(sl)return Ci;sl=1;let e=Me();return Ci=new e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),Ci}var qi,ul;function Il(){if(ul)return qi;ul=1;let e=Me();return qi=new e("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),qi}var Li,cl;function _l(){if(cl)return Li;cl=1;let e=Me();return Li=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),Li}var Ii,pl;function Ml(){if(pl)return Ii;pl=1;let e=ql();return Ii=new e({explicit:[Ll(),Il(),_l()]}),Ii}var _i,fl;function Rl(){if(fl)return _i;fl=1;let e=Me();function n(i){if(i===null)return!0;let a=i.length;return a===1&&i==="~"||a===4&&(i==="null"||i==="Null"||i==="NULL")}function t(){return null}function r(i){return i===null}return _i=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:n,construct:t,predicate:r,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),_i}var Mi,hl;function Bl(){if(hl)return Mi;hl=1;let e=Me();function n(i){if(i===null)return!1;let a=i.length;return a===4&&(i==="true"||i==="True"||i==="TRUE")||a===5&&(i==="false"||i==="False"||i==="FALSE")}function t(i){return i==="true"||i==="True"||i==="TRUE"}function r(i){return Object.prototype.toString.call(i)==="[object Boolean]"}return Mi=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:n,construct:t,predicate:r,represent:{lowercase:function(i){return i?"true":"false"},uppercase:function(i){return i?"TRUE":"FALSE"},camelcase:function(i){return i?"True":"False"}},defaultStyle:"lowercase"}),Mi}var Ri,ml;function Nl(){if(ml)return Ri;ml=1;let e=dn(),n=Me();function t(c){return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102}function r(c){return c>=48&&c<=55}function i(c){return c>=48&&c<=57}function a(c){if(c===null)return!1;let p=c.length,f=0,d=!1;if(!p)return!1;let m=c[f];if((m==="-"||m==="+")&&(m=c[++f]),m==="0"){if(f+1===p)return!0;if(m=c[++f],m==="b"){for(f++;f<p;f++){if(m=c[f],m!=="0"&&m!=="1")return!1;d=!0}return d&&isFinite(o(c))}if(m==="x"){for(f++;f<p;f++){if(!t(c.charCodeAt(f)))return!1;d=!0}return d&&isFinite(o(c))}if(m==="o"){for(f++;f<p;f++){if(!r(c.charCodeAt(f)))return!1;d=!0}return d&&isFinite(o(c))}}for(;f<p;f++){if(!i(c.charCodeAt(f)))return!1;d=!0}return d?isFinite(o(c)):!1}function o(c){let p=c,f=1,d=p[0];if((d==="-"||d==="+")&&(d==="-"&&(f=-1),p=p.slice(1),d=p[0]),p==="0")return 0;if(d==="0"){if(p[1]==="b")return f*parseInt(p.slice(2),2);if(p[1]==="x")return f*parseInt(p.slice(2),16);if(p[1]==="o")return f*parseInt(p.slice(2),8)}return f*parseInt(p,10)}function s(c){return o(c)}function u(c){return Object.prototype.toString.call(c)==="[object Number]"&&c%1===0&&!e.isNegativeZero(c)}return Ri=new n("tag:yaml.org,2002:int",{kind:"scalar",resolve:a,construct:s,predicate:u,represent:{binary:function(c){return c>=0?"0b"+c.toString(2):"-0b"+c.toString(2).slice(1)},octal:function(c){return c>=0?"0o"+c.toString(8):"-0o"+c.toString(8).slice(1)},decimal:function(c){return c.toString(10)},hexadecimal:function(c){return c>=0?"0x"+c.toString(16).toUpperCase():"-0x"+c.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Ri}var Bi,dl;function Fl(){if(dl)return Bi;dl=1;let e=dn(),n=Me(),t=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),r=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function i(c){return c===null||!t.test(c)?!1:isFinite(parseFloat(c,10))?!0:r.test(c)}function a(c){let p=c.toLowerCase(),f=p[0]==="-"?-1:1;return"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?f===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:f*parseFloat(p,10)}let o=/^[-+]?[0-9]+e/;function s(c,p){if(isNaN(c))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===c)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===c)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(c))return"-0.0";let f=c.toString(10);return o.test(f)?f.replace("e",".e"):f}function u(c){return Object.prototype.toString.call(c)==="[object Number]"&&(c%1!==0||e.isNegativeZero(c))}return Bi=new n("tag:yaml.org,2002:float",{kind:"scalar",resolve:i,construct:a,predicate:u,represent:s,defaultStyle:"lowercase"}),Bi}var Ni,gl;function Dl(){return gl||(gl=1,Ni=Ml().extend({implicit:[Rl(),Bl(),Nl(),Fl()]})),Ni}var Fi,wl;function Ol(){return wl||(wl=1,Fi=Dl()),Fi}var Di,bl;function zl(){if(bl)return Di;bl=1;let e=Me(),n=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),t=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function r(o){return o===null?!1:n.exec(o)!==null||t.exec(o)!==null}function i(o){let s=0,u=null,c=n.exec(o);if(c===null&&(c=t.exec(o)),c===null)throw new Error("Date resolve error");let p=+c[1],f=+c[2]-1,d=+c[3];if(!c[4])return new Date(Date.UTC(p,f,d));let m=+c[4],x=+c[5],I=+c[6];if(c[7]){for(s=c[7].slice(0,3);s.length<3;)s+="0";s=+s}if(c[9]){let k=+c[10],E=+(c[11]||0);u=(k*60+E)*6e4,c[9]==="-"&&(u=-u)}let A=new Date(Date.UTC(p,f,d,m,x,I,s));return u&&A.setTime(A.getTime()-u),A}function a(o){return o.toISOString()}return Di=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:r,construct:i,instanceOf:Date,represent:a}),Di}var Oi,xl;function Pl(){if(xl)return Oi;xl=1;let e=Me();function n(t){return t==="<<"||t===null}return Oi=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:n}),Oi}var zi,kl;function Hl(){if(kl)return zi;kl=1;let e=Me(),n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
38
|
+
\r`;function t(o){if(o===null)return!1;let s=0,u=o.length,c=n;for(let p=0;p<u;p++){let f=c.indexOf(o.charAt(p));if(!(f>64)){if(f<0)return!1;s+=6}}return s%8===0}function r(o){let s=o.replace(/[\r\n=]/g,""),u=s.length,c=n,p=0,f=[];for(let m=0;m<u;m++)m%4===0&&m&&(f.push(p>>16&255),f.push(p>>8&255),f.push(p&255)),p=p<<6|c.indexOf(s.charAt(m));let d=u%4*6;return d===0?(f.push(p>>16&255),f.push(p>>8&255),f.push(p&255)):d===18?(f.push(p>>10&255),f.push(p>>2&255)):d===12&&f.push(p>>4&255),new Uint8Array(f)}function i(o){let s="",u=0,c=o.length,p=n;for(let d=0;d<c;d++)d%3===0&&d&&(s+=p[u>>18&63],s+=p[u>>12&63],s+=p[u>>6&63],s+=p[u&63]),u=(u<<8)+o[d];let f=c%3;return f===0?(s+=p[u>>18&63],s+=p[u>>12&63],s+=p[u>>6&63],s+=p[u&63]):f===2?(s+=p[u>>10&63],s+=p[u>>4&63],s+=p[u<<2&63],s+=p[64]):f===1&&(s+=p[u>>2&63],s+=p[u<<4&63],s+=p[64],s+=p[64]),s}function a(o){return Object.prototype.toString.call(o)==="[object Uint8Array]"}return zi=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:t,construct:r,predicate:a,represent:i}),zi}var Pi,yl;function Ul(){if(yl)return Pi;yl=1;let e=Me(),n=Object.prototype.hasOwnProperty,t=Object.prototype.toString;function r(a){if(a===null)return!0;let o={},s=a;for(let u=0,c=s.length;u<c;u+=1){let p=s[u],f=!1;if(t.call(p)!=="[object Object]")return!1;let d;for(d in p)if(n.call(p,d))if(!f)f=!0;else return!1;if(!f||n.call(o,d))return!1;Object.defineProperty(o,d,{value:!0})}return!0}function i(a){return a!==null?a:[]}return Pi=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:i}),Pi}var Hi,Tl;function jl(){if(Tl)return Hi;Tl=1;let e=Me(),n=Object.prototype.toString;function t(i){if(i===null)return!0;let a=i,o=new Array(a.length);for(let s=0,u=a.length;s<u;s+=1){let c=a[s];if(n.call(c)!=="[object Object]")return!1;let p=Object.keys(c);if(p.length!==1)return!1;o[s]=[p[0],c[p[0]]]}return!0}function r(i){if(i===null)return[];let a=i,o=new Array(a.length);for(let s=0,u=a.length;s<u;s+=1){let c=a[s],p=Object.keys(c);o[s]=[p[0],c[p[0]]]}return o}return Hi=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:t,construct:r}),Hi}var Ui,Sl;function Gl(){if(Sl)return Ui;Sl=1;let e=Me(),n=Object.prototype.hasOwnProperty;function t(i){if(i===null)return!0;let a=i;for(let o in a)if(n.call(a,o)&&a[o]!==null)return!1;return!0}function r(i){return i!==null?i:{}}return Ui=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:t,construct:r}),Ui}var ji,El;function $i(){return El||(El=1,ji=Ol().extend({implicit:[zl(),Pl()],explicit:[Hl(),Ul(),jl(),Gl()]})),ji}var vl;function Qp(){if(vl)return Wn;vl=1;let e=dn(),n=gn(),t=Kp(),r=$i(),i=Object.prototype.hasOwnProperty,a=1,o=2,s=3,u=4,c=1,p=2,f=3,d=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m=/[\x85\u2028\u2029]/,x=/[,\[\]{}]/,I=/^(?:!|!!|![0-9A-Za-z-]+!)$/,A=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function k(l){return Object.prototype.toString.call(l)}function E(l){return l===10||l===13}function q(l){return l===9||l===32}function V(l){return l===9||l===32||l===10||l===13}function Z(l){return l===44||l===91||l===93||l===123||l===125}function B(l){if(l>=48&&l<=57)return l-48;let b=l|32;return b>=97&&b<=102?b-97+10:-1}function G(l){return l===120?2:l===117?4:l===85?8:0}function le(l){return l>=48&&l<=57?l-48:-1}function ee(l){switch(l){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
|
|
39
|
+
`;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xA0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function C(l){return l<=65535?String.fromCharCode(l):String.fromCharCode((l-65536>>10)+55296,(l-65536&1023)+56320)}function fe(l,b,L){b==="__proto__"?Object.defineProperty(l,b,{configurable:!0,enumerable:!0,writable:!0,value:L}):l[b]=L}let se=new Array(256),Y=new Array(256);for(let l=0;l<256;l++)se[l]=ee(l)?1:0,Y[l]=ee(l);function W(l,b){this.input=l,this.filename=b.filename||null,this.schema=b.schema||r,this.onWarning=b.onWarning||null,this.legacy=b.legacy||!1,this.json=b.json||!1,this.listener=b.listener||null,this.maxDepth=typeof b.maxDepth=="number"?b.maxDepth:100,this.maxTotalMergeKeys=typeof b.maxTotalMergeKeys=="number"?b.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=l.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function re(l,b){let L={name:l.filename,buffer:l.input.slice(0,-1),position:l.position,line:l.line,column:l.position-l.lineStart};return L.snippet=t(L),new n(b,L)}function P(l,b){throw re(l,b)}function pe(l,b){l.onWarning&&l.onWarning.call(null,re(l,b))}function me(l,b,L){let M=l.anchorMapTransactions;if(M.length!==0){let v=M[M.length-1];i.call(v,b)||(v[b]={existed:i.call(l.anchorMap,b),value:l.anchorMap[b]})}l.anchorMap[b]=L}function Re(l){l.anchorMapTransactions.push(Object.create(null))}function g(l){let b=l.anchorMapTransactions.pop(),L=l.anchorMapTransactions;if(L.length===0)return;let M=L[L.length-1],v=Object.keys(b);for(let h=0,y=v.length;h<y;h+=1){let S=v[h];i.call(M,S)||(M[S]=b[S])}}function ve(l){let b=l.anchorMapTransactions.pop(),L=Object.keys(b);for(let M=L.length-1;M>=0;M-=1){let v=b[L[M]];v.existed?l.anchorMap[L[M]]=v.value:delete l.anchorMap[L[M]]}}function Ie(l){return{position:l.position,line:l.line,lineStart:l.lineStart,lineIndent:l.lineIndent,firstTabInLine:l.firstTabInLine,tag:l.tag,anchor:l.anchor,kind:l.kind,result:l.result}}function w(l,b){l.position=b.position,l.line=b.line,l.lineStart=b.lineStart,l.lineIndent=b.lineIndent,l.firstTabInLine=b.firstTabInLine,l.tag=b.tag,l.anchor=b.anchor,l.kind=b.kind,l.result=b.result}let ye={YAML:function(b,L,M){b.version!==null&&P(b,"duplication of %YAML directive"),M.length!==1&&P(b,"YAML directive accepts exactly one argument");let v=/^([0-9]+)\.([0-9]+)$/.exec(M[0]);v===null&&P(b,"ill-formed argument of the YAML directive");let h=parseInt(v[1],10),y=parseInt(v[2],10);h!==1&&P(b,"unacceptable YAML version of the document"),b.version=M[0],b.checkLineBreaks=y<2,y!==1&&y!==2&&pe(b,"unsupported YAML version of the document")},TAG:function(b,L,M){let v;M.length!==2&&P(b,"TAG directive accepts exactly two arguments");let h=M[0];v=M[1],I.test(h)||P(b,"ill-formed tag handle (first argument) of the TAG directive"),i.call(b.tagMap,h)&&P(b,'there is a previously declared suffix for "'+h+'" tag handle'),A.test(v)||P(b,"ill-formed tag prefix (second argument) of the TAG directive");try{v=decodeURIComponent(v)}catch{P(b,"tag prefix is malformed: "+v)}b.tagMap[h]=v}};function de(l,b,L,M){if(b<L){let v=l.input.slice(b,L);if(M)for(let h=0,y=v.length;h<y;h+=1){let S=v.charCodeAt(h);S===9||S>=32&&S<=1114111||P(l,"expected valid JSON character")}else d.test(v)&&P(l,"the stream contains non-printable characters");l.result+=v}}function Oe(l){l.totalMergeKeys++,l.maxTotalMergeKeys!==-1&&l.totalMergeKeys>l.maxTotalMergeKeys&&P(l,"merge keys exceeded maxTotalMergeKeys ("+l.maxTotalMergeKeys+")")}function $e(l,b,L,M){e.isObject(L)||P(l,"cannot merge mappings; the provided source object is unacceptable"),Oe(l);let v=Object.keys(L);for(let h=0,y=v.length;h<y;h+=1){let S=v[h];Oe(l),i.call(b,S)||(fe(b,S,L[S]),M[S]=!0)}}function ce(l,b,L,M,v,h,y,S,N){if(Array.isArray(v)){v=Array.prototype.slice.call(v);for(let F=0,D=v.length;F<D;F+=1)Array.isArray(v[F])&&P(l,"nested arrays are not supported inside keys"),typeof v=="object"&&k(v[F])==="[object Object]"&&(v[F]="[object Object]")}if(typeof v=="object"&&k(v)==="[object Object]"&&(v="[object Object]"),v=String(v),b===null&&(b={}),M==="tag:yaml.org,2002:merge")if(Array.isArray(h)){h.length>100&&P(l,"abnormal merge sequence size");for(let F=0,D=h.length;F<D;F+=1)$e(l,b,h[F],L)}else $e(l,b,h,L);else!l.json&&!i.call(L,v)&&i.call(b,v)&&(l.line=y||l.line,l.lineStart=S||l.lineStart,l.position=N||l.position,P(l,"duplicated mapping key")),fe(b,v,h),delete L[v];return b}function ze(l){let b=l.input.charCodeAt(l.position);b===10?l.position++:b===13?(l.position++,l.input.charCodeAt(l.position)===10&&l.position++):P(l,"a line break is expected"),l.line+=1,l.lineStart=l.position,l.firstTabInLine=-1}function ue(l,b,L){let M=0,v=l.input.charCodeAt(l.position);for(;v!==0;){for(;q(v);)v===9&&l.firstTabInLine===-1&&(l.firstTabInLine=l.position),v=l.input.charCodeAt(++l.position);if(b&&v===35)do v=l.input.charCodeAt(++l.position);while(v!==10&&v!==13&&v!==0);if(E(v))for(ze(l),v=l.input.charCodeAt(l.position),M++,l.lineIndent=0;v===32;)l.lineIndent++,v=l.input.charCodeAt(++l.position);else break}return L!==-1&&M!==0&&l.lineIndent<L&&pe(l,"deficient indentation"),M}function Te(l){let b=l.position,L=l.input.charCodeAt(b);return!!((L===45||L===46)&&L===l.input.charCodeAt(b+1)&&L===l.input.charCodeAt(b+2)&&(b+=3,L=l.input.charCodeAt(b),L===0||V(L)))}function Fe(l,b){b===1?l.result+=" ":b>1&&(l.result+=e.repeat(`
|
|
40
|
+
`,b-1))}function tt(l,b,L){let M,v,h,y,S,N,F=l.kind,D=l.result,R=l.input.charCodeAt(l.position);if(V(R)||Z(R)||R===35||R===38||R===42||R===33||R===124||R===62||R===39||R===34||R===37||R===64||R===96)return!1;if(R===63||R===45){let z=l.input.charCodeAt(l.position+1);if(V(z)||L&&Z(z))return!1}for(l.kind="scalar",l.result="",M=v=l.position,h=!1;R!==0;){if(R===58){let z=l.input.charCodeAt(l.position+1);if(V(z)||L&&Z(z))break}else if(R===35){let z=l.input.charCodeAt(l.position-1);if(V(z))break}else{if(l.position===l.lineStart&&Te(l)||L&&Z(R))break;if(E(R))if(y=l.line,S=l.lineStart,N=l.lineIndent,ue(l,!1,-1),l.lineIndent>=b){h=!0,R=l.input.charCodeAt(l.position);continue}else{l.position=v,l.line=y,l.lineStart=S,l.lineIndent=N;break}}h&&(de(l,M,v,!1),Fe(l,l.line-y),M=v=l.position,h=!1),q(R)||(v=l.position+1),R=l.input.charCodeAt(++l.position)}return de(l,M,v,!1),l.result?!0:(l.kind=F,l.result=D,!1)}function mt(l,b){let L,M,v=l.input.charCodeAt(l.position);if(v!==39)return!1;for(l.kind="scalar",l.result="",l.position++,L=M=l.position;(v=l.input.charCodeAt(l.position))!==0;)if(v===39)if(de(l,L,l.position,!0),v=l.input.charCodeAt(++l.position),v===39)L=l.position,l.position++,M=l.position;else return!0;else E(v)?(de(l,L,M,!0),Fe(l,ue(l,!1,b)),L=M=l.position):l.position===l.lineStart&&Te(l)?P(l,"unexpected end of the document within a single quoted scalar"):(l.position++,q(v)||(M=l.position));P(l,"unexpected end of the stream within a single quoted scalar")}function dt(l,b){let L,M,v,h=l.input.charCodeAt(l.position);if(h!==34)return!1;for(l.kind="scalar",l.result="",l.position++,L=M=l.position;(h=l.input.charCodeAt(l.position))!==0;){if(h===34)return de(l,L,l.position,!0),l.position++,!0;if(h===92){if(de(l,L,l.position,!0),h=l.input.charCodeAt(++l.position),E(h))ue(l,!1,b);else if(h<256&&se[h])l.result+=Y[h],l.position++;else if((v=G(h))>0){let y=v,S=0;for(;y>0;y--)h=l.input.charCodeAt(++l.position),(v=B(h))>=0?S=(S<<4)+v:P(l,"expected hexadecimal character");l.result+=C(S),l.position++}else P(l,"unknown escape sequence");L=M=l.position}else E(h)?(de(l,L,M,!0),Fe(l,ue(l,!1,b)),L=M=l.position):l.position===l.lineStart&&Te(l)?P(l,"unexpected end of the document within a double quoted scalar"):(l.position++,q(h)||(M=l.position))}P(l,"unexpected end of the stream within a double quoted scalar")}function gt(l,b){let L=!0,M,v,h,y=l.tag,S,N=l.anchor,F,D,R,z,$=Object.create(null),X,J,ie,oe=l.input.charCodeAt(l.position);if(oe===91)F=93,z=!1,S=[];else if(oe===123)F=125,z=!0,S={};else return!1;for(l.anchor!==null&&me(l,l.anchor,S),oe=l.input.charCodeAt(++l.position);oe!==0;){if(ue(l,!0,b),oe=l.input.charCodeAt(l.position),oe===F)return l.position++,l.tag=y,l.anchor=N,l.kind=z?"mapping":"sequence",l.result=S,!0;if(L?oe===44&&P(l,"expected the node content, but found ','"):P(l,"missed comma between flow collection entries"),J=X=ie=null,D=R=!1,oe===63){let nt=l.input.charCodeAt(l.position+1);V(nt)&&(D=R=!0,l.position++,ue(l,!0,b))}M=l.line,v=l.lineStart,h=l.position,Ve(l,b,a,!1,!0),J=l.tag,X=l.result,ue(l,!0,b),oe=l.input.charCodeAt(l.position),(R||l.line===M)&&oe===58&&(D=!0,oe=l.input.charCodeAt(++l.position),ue(l,!0,b),Ve(l,b,a,!1,!0),ie=l.result),z?ce(l,S,$,J,X,ie,M,v,h):D?S.push(ce(l,null,$,J,X,ie,M,v,h)):S.push(X),ue(l,!0,b),oe=l.input.charCodeAt(l.position),oe===44?(L=!0,oe=l.input.charCodeAt(++l.position)):L=!1}P(l,"unexpected end of the stream within a flow collection")}function Pe(l,b){let L,M=c,v=!1,h=!1,y=b,S=0,N=!1,F,D=l.input.charCodeAt(l.position);if(D===124)L=!1;else if(D===62)L=!0;else return!1;for(l.kind="scalar",l.result="";D!==0;)if(D=l.input.charCodeAt(++l.position),D===43||D===45)c===M?M=D===43?f:p:P(l,"repeat of a chomping mode identifier");else if((F=le(D))>=0)F===0?P(l,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?P(l,"repeat of an indentation width identifier"):(y=b+F-1,h=!0);else break;if(q(D)){do D=l.input.charCodeAt(++l.position);while(q(D));if(D===35)do D=l.input.charCodeAt(++l.position);while(!E(D)&&D!==0)}for(;D!==0;){for(ze(l),l.lineIndent=0,D=l.input.charCodeAt(l.position);(!h||l.lineIndent<y)&&D===32;)l.lineIndent++,D=l.input.charCodeAt(++l.position);if(!h&&l.lineIndent>y&&(y=l.lineIndent),E(D)){S++;continue}if(!h&&y===0&&P(l,"missing indentation for block scalar"),l.lineIndent<y){M===f?l.result+=e.repeat(`
|
|
41
|
+
`,v?1+S:S):M===c&&v&&(l.result+=`
|
|
42
|
+
`);break}L?q(D)?(N=!0,l.result+=e.repeat(`
|
|
43
|
+
`,v?1+S:S)):N?(N=!1,l.result+=e.repeat(`
|
|
44
|
+
`,S+1)):S===0?v&&(l.result+=" "):l.result+=e.repeat(`
|
|
45
|
+
`,S):l.result+=e.repeat(`
|
|
46
|
+
`,v?1+S:S),v=!0,h=!0,S=0;let R=l.position;for(;!E(D)&&D!==0;)D=l.input.charCodeAt(++l.position);de(l,R,l.position,!1)}return!0}function Mt(l,b){let L=l.tag,M=l.anchor,v=[],h=!1;if(l.firstTabInLine!==-1)return!1;l.anchor!==null&&me(l,l.anchor,v);let y=l.input.charCodeAt(l.position);for(;y!==0&&(l.firstTabInLine!==-1&&(l.position=l.firstTabInLine,P(l,"tab characters must not be used in indentation")),y===45);){let S=l.input.charCodeAt(l.position+1);if(!V(S))break;if(h=!0,l.position++,ue(l,!0,-1)&&l.lineIndent<=b){v.push(null),y=l.input.charCodeAt(l.position);continue}let N=l.line;if(Ve(l,b,s,!1,!0),v.push(l.result),ue(l,!0,-1),y=l.input.charCodeAt(l.position),(l.line===N||l.lineIndent>b)&&y!==0)P(l,"bad indentation of a sequence entry");else if(l.lineIndent<b)break}return h?(l.tag=L,l.anchor=M,l.kind="sequence",l.result=v,!0):!1}function wt(l,b,L){let M,v,h,y,S=l.tag,N=l.anchor,F={},D=Object.create(null),R=null,z=null,$=null,X=!1,J=!1;if(l.firstTabInLine!==-1)return!1;l.anchor!==null&&me(l,l.anchor,F);let ie=l.input.charCodeAt(l.position);for(;ie!==0;){!X&&l.firstTabInLine!==-1&&(l.position=l.firstTabInLine,P(l,"tab characters must not be used in indentation"));let oe=l.input.charCodeAt(l.position+1),nt=l.line;if((ie===63||ie===58)&&V(oe))ie===63?(X&&(ce(l,F,D,R,z,null,v,h,y),R=z=$=null),J=!0,X=!0,M=!0):X?(X=!1,M=!0):P(l,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),l.position+=1,ie=oe;else{if(v=l.line,h=l.lineStart,y=l.position,!Ve(l,L,o,!1,!0))break;if(l.line===nt){for(ie=l.input.charCodeAt(l.position);q(ie);)ie=l.input.charCodeAt(++l.position);if(ie===58)ie=l.input.charCodeAt(++l.position),V(ie)||P(l,"a whitespace character is expected after the key-value separator within a block mapping"),X&&(ce(l,F,D,R,z,null,v,h,y),R=z=$=null),J=!0,X=!1,M=!1,R=l.tag,z=l.result;else if(J)P(l,"can not read an implicit mapping pair; a colon is missed");else return l.tag=S,l.anchor=N,!0}else if(J)P(l,"can not read a block mapping entry; a multiline key may not be an implicit key");else return l.tag=S,l.anchor=N,!0}if((l.line===nt||l.lineIndent>b)&&(X&&(v=l.line,h=l.lineStart,y=l.position),Ve(l,b,u,!0,M)&&(X?z=l.result:$=l.result),X||(ce(l,F,D,R,z,$,v,h,y),R=z=$=null),ue(l,!0,-1),ie=l.input.charCodeAt(l.position)),(l.line===nt||l.lineIndent>b)&&ie!==0)P(l,"bad indentation of a mapping entry");else if(l.lineIndent<b)break}return X&&ce(l,F,D,R,z,null,v,h,y),J&&(l.tag=S,l.anchor=N,l.kind="mapping",l.result=F),J}function bt(l){let b=!1,L=!1,M,v,h=l.input.charCodeAt(l.position);if(h!==33)return!1;l.tag!==null&&P(l,"duplication of a tag property"),h=l.input.charCodeAt(++l.position),h===60?(b=!0,h=l.input.charCodeAt(++l.position)):h===33?(L=!0,M="!!",h=l.input.charCodeAt(++l.position)):M="!";let y=l.position;if(b){do h=l.input.charCodeAt(++l.position);while(h!==0&&h!==62);l.position<l.length?(v=l.input.slice(y,l.position),h=l.input.charCodeAt(++l.position)):P(l,"unexpected end of the stream within a verbatim tag")}else{for(;h!==0&&!V(h);)h===33&&(L?P(l,"tag suffix cannot contain exclamation marks"):(M=l.input.slice(y-1,l.position+1),I.test(M)||P(l,"named tag handle cannot contain such characters"),L=!0,y=l.position+1)),h=l.input.charCodeAt(++l.position);v=l.input.slice(y,l.position),x.test(v)&&P(l,"tag suffix cannot contain flow indicator characters")}v&&!A.test(v)&&P(l,"tag name cannot contain such characters: "+v);try{v=decodeURIComponent(v)}catch{P(l,"tag name is malformed: "+v)}return b?l.tag=v:i.call(l.tagMap,M)?l.tag=l.tagMap[M]+v:M==="!"?l.tag="!"+v:M==="!!"?l.tag="tag:yaml.org,2002:"+v:P(l,'undeclared tag handle "'+M+'"'),!0}function Rt(l){let b=l.input.charCodeAt(l.position);if(b!==38)return!1;l.anchor!==null&&P(l,"duplication of an anchor property"),b=l.input.charCodeAt(++l.position);let L=l.position;for(;b!==0&&!V(b)&&!Z(b);)b=l.input.charCodeAt(++l.position);return l.position===L&&P(l,"name of an anchor node must contain at least one character"),l.anchor=l.input.slice(L,l.position),!0}function Zt(l){let b=l.input.charCodeAt(l.position);if(b!==42)return!1;b=l.input.charCodeAt(++l.position);let L=l.position;for(;b!==0&&!V(b)&&!Z(b);)b=l.input.charCodeAt(++l.position);l.position===L&&P(l,"name of an alias node must contain at least one character");let M=l.input.slice(L,l.position);return i.call(l.anchorMap,M)||P(l,'unidentified alias "'+M+'"'),l.result=l.anchorMap[M],ue(l,!0,-1),!0}function Bt(l,b,L,M){let v=Ie(l);return Re(l),w(l,b),l.tag=null,l.anchor=null,l.kind=null,l.result=null,wt(l,L,M)&&l.kind==="mapping"?(g(l),!0):(ve(l),w(l,v),!1)}function Ve(l,b,L,M,v){let h,y,S=1,N=!1,F=!1,D=null,R,z,$;l.depth>=l.maxDepth&&P(l,"nesting exceeded maxDepth ("+l.maxDepth+")"),l.depth+=1,l.listener!==null&&l.listener("open",l),l.tag=null,l.anchor=null,l.kind=null,l.result=null;let X=h=y=u===L||s===L;if(M&&ue(l,!0,-1)&&(N=!0,l.lineIndent>b?S=1:l.lineIndent===b?S=0:l.lineIndent<b&&(S=-1)),S===1)for(;;){let J=l.input.charCodeAt(l.position),ie=Ie(l);if(N&&(J===33&&l.tag!==null||J===38&&l.anchor!==null)||!bt(l)&&!Rt(l))break;D===null&&(D=ie),ue(l,!0,-1)?(N=!0,y=X,l.lineIndent>b?S=1:l.lineIndent===b?S=0:l.lineIndent<b&&(S=-1)):y=!1}if(y&&(y=N||v),S===1||u===L)if(a===L||o===L?z=b:z=b+1,$=l.position-l.lineStart,S===1)if(y&&(Mt(l,$)||wt(l,$,z))||gt(l,z))F=!0;else{let J=l.input.charCodeAt(l.position);D!==null&&X&&!y&&J!==124&&J!==62&&Bt(l,D,D.position-D.lineStart,z)||h&&Pe(l,z)||mt(l,z)||dt(l,z)?F=!0:Zt(l)?(F=!0,(l.tag!==null||l.anchor!==null)&&P(l,"alias node should not have any properties")):tt(l,z,a===L)&&(F=!0,l.tag===null&&(l.tag="?")),l.anchor!==null&&me(l,l.anchor,l.result)}else S===0&&(F=y&&Mt(l,$));if(l.tag===null)l.anchor!==null&&me(l,l.anchor,l.result);else if(l.tag==="?"){l.result!==null&&l.kind!=="scalar"&&P(l,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+l.kind+'"');for(let J=0,ie=l.implicitTypes.length;J<ie;J+=1)if(R=l.implicitTypes[J],R.resolve(l.result)){l.result=R.construct(l.result),l.tag=R.tag,l.anchor!==null&&me(l,l.anchor,l.result);break}}else if(l.tag!=="!"){if(i.call(l.typeMap[l.kind||"fallback"],l.tag))R=l.typeMap[l.kind||"fallback"][l.tag];else{R=null;let J=l.typeMap.multi[l.kind||"fallback"];for(let ie=0,oe=J.length;ie<oe;ie+=1)if(l.tag.slice(0,J[ie].tag.length)===J[ie].tag){R=J[ie];break}}R||P(l,"unknown tag !<"+l.tag+">"),l.result!==null&&R.kind!==l.kind&&P(l,"unacceptable node kind for !<"+l.tag+'> tag; it should be "'+R.kind+'", not "'+l.kind+'"'),R.resolve(l.result,l.tag)?(l.result=R.construct(l.result,l.tag),l.anchor!==null&&me(l,l.anchor,l.result)):P(l,"cannot resolve a node with !<"+l.tag+"> explicit tag")}return l.listener!==null&&l.listener("close",l),l.depth-=1,l.tag!==null||l.anchor!==null||F}function Xt(l){let b=l.position,L=!1,M;for(l.version=null,l.checkLineBreaks=l.legacy,l.tagMap=Object.create(null),l.anchorMap=Object.create(null);(M=l.input.charCodeAt(l.position))!==0&&(ue(l,!0,-1),M=l.input.charCodeAt(l.position),!(l.lineIndent>0||M!==37));){L=!0,M=l.input.charCodeAt(++l.position);let v=l.position;for(;M!==0&&!V(M);)M=l.input.charCodeAt(++l.position);let h=l.input.slice(v,l.position),y=[];for(h.length<1&&P(l,"directive name must not be less than one character in length");M!==0;){for(;q(M);)M=l.input.charCodeAt(++l.position);if(M===35){do M=l.input.charCodeAt(++l.position);while(M!==0&&!E(M));break}if(E(M))break;for(v=l.position;M!==0&&!V(M);)M=l.input.charCodeAt(++l.position);y.push(l.input.slice(v,l.position))}M!==0&&ze(l),i.call(ye,h)?ye[h](l,h,y):pe(l,'unknown document directive "'+h+'"')}if(ue(l,!0,-1),l.lineIndent===0&&l.input.charCodeAt(l.position)===45&&l.input.charCodeAt(l.position+1)===45&&l.input.charCodeAt(l.position+2)===45?(l.position+=3,ue(l,!0,-1)):L&&P(l,"directives end mark is expected"),Ve(l,l.lineIndent-1,u,!1,!0),ue(l,!0,-1),l.checkLineBreaks&&m.test(l.input.slice(b,l.position))&&pe(l,"non-ASCII line breaks are interpreted as content"),l.documents.push(l.result),l.position===l.lineStart&&Te(l)){l.input.charCodeAt(l.position)===46&&(l.position+=3,ue(l,!0,-1));return}l.position<l.length-1&&P(l,"end of the stream or a document separator is expected")}function _(l,b){l=String(l),b=b||{},l.length!==0&&(l.charCodeAt(l.length-1)!==10&&l.charCodeAt(l.length-1)!==13&&(l+=`
|
|
47
|
+
`),l.charCodeAt(0)===65279&&(l=l.slice(1)));let L=new W(l,b),M=l.indexOf("\0");for(M!==-1&&(L.position=M,P(L,"null byte is not allowed in input")),L.input+="\0";L.input.charCodeAt(L.position)===32;)L.lineIndent+=1,L.position+=1;for(;L.position<L.length-1;)Xt(L);return L.documents}function H(l,b,L){b!==null&&typeof b=="object"&&typeof L>"u"&&(L=b,b=null);let M=_(l,L);if(typeof b!="function")return M;for(let v=0,h=M.length;v<h;v+=1)b(M[v])}function te(l,b){let L=_(l,b);if(L.length!==0){if(L.length===1)return L[0];throw new n("expected a single document in the stream, but found more")}}return Wn.loadAll=H,Wn.load=te,Wn}var Gi={},Al;function Zp(){if(Al)return Gi;Al=1;let e=dn(),n=gn(),t=$i(),r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=65279,o=9,s=10,u=13,c=32,p=33,f=34,d=35,m=37,x=38,I=39,A=42,k=44,E=45,q=58,V=61,Z=62,B=63,G=64,le=91,ee=93,C=96,fe=123,se=124,Y=125,W={};W[0]="\\0",W[7]="\\a",W[8]="\\b",W[9]="\\t",W[10]="\\n",W[11]="\\v",W[12]="\\f",W[13]="\\r",W[27]="\\e",W[34]='\\"',W[92]="\\\\",W[133]="\\N",W[160]="\\_",W[8232]="\\L",W[8233]="\\P";let re=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],P=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function pe(h,y){if(y===null)return{};let S={},N=Object.keys(y);for(let F=0,D=N.length;F<D;F+=1){let R=N[F],z=String(y[R]);R.slice(0,2)==="!!"&&(R="tag:yaml.org,2002:"+R.slice(2));let $=h.compiledTypeMap.fallback[R];$&&i.call($.styleAliases,z)&&(z=$.styleAliases[z]),S[R]=z}return S}function me(h){let y,S,N=h.toString(16).toUpperCase();if(h<=255)y="x",S=2;else if(h<=65535)y="u",S=4;else if(h<=4294967295)y="U",S=8;else throw new n("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+y+e.repeat("0",S-N.length)+N}let Re=1,g=2;function ve(h){this.schema=h.schema||t,this.indent=Math.max(1,h.indent||2),this.noArrayIndent=h.noArrayIndent||!1,this.skipInvalid=h.skipInvalid||!1,this.flowLevel=e.isNothing(h.flowLevel)?-1:h.flowLevel,this.styleMap=pe(this.schema,h.styles||null),this.sortKeys=h.sortKeys||!1,this.lineWidth=h.lineWidth||80,this.noRefs=h.noRefs||!1,this.noCompatMode=h.noCompatMode||!1,this.condenseFlow=h.condenseFlow||!1,this.quotingType=h.quotingType==='"'?g:Re,this.forceQuotes=h.forceQuotes||!1,this.replacer=typeof h.replacer=="function"?h.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Ie(h,y){let S=e.repeat(" ",y),N=0,F="",D=h.length;for(;N<D;){let R,z=h.indexOf(`
|
|
48
|
+
`,N);z===-1?(R=h.slice(N),N=D):(R=h.slice(N,z+1),N=z+1),R.length&&R!==`
|
|
49
|
+
`&&(F+=S),F+=R}return F}function w(h,y){return`
|
|
50
|
+
`+e.repeat(" ",h.indent*y)}function ye(h,y){for(let S=0,N=h.implicitTypes.length;S<N;S+=1)if(h.implicitTypes[S].resolve(y))return!0;return!1}function de(h){return h===c||h===o}function Oe(h){return h>=32&&h<=126||h>=161&&h<=55295&&h!==8232&&h!==8233||h>=57344&&h<=65533&&h!==a||h>=65536&&h<=1114111}function $e(h){return Oe(h)&&h!==a&&h!==u&&h!==s}function ce(h,y,S){let N=$e(h),F=N&&!de(h);return(S?N:N&&h!==k&&h!==le&&h!==ee&&h!==fe&&h!==Y)&&h!==d&&!(y===q&&!F)||$e(y)&&!de(y)&&h===d||y===q&&F}function ze(h){return Oe(h)&&h!==a&&!de(h)&&h!==E&&h!==B&&h!==q&&h!==k&&h!==le&&h!==ee&&h!==fe&&h!==Y&&h!==d&&h!==x&&h!==A&&h!==p&&h!==se&&h!==V&&h!==Z&&h!==I&&h!==f&&h!==m&&h!==G&&h!==C}function ue(h){return!de(h)&&h!==q}function Te(h,y){let S=h.charCodeAt(y),N;return S>=55296&&S<=56319&&y+1<h.length&&(N=h.charCodeAt(y+1),N>=56320&&N<=57343)?(S-55296)*1024+N-56320+65536:S}function Fe(h){return/^\n* /.test(h)}let tt=1,mt=2,dt=3,gt=4,Pe=5;function Mt(h,y,S,N,F,D,R,z){let $,X=0,J=null,ie=!1,oe=!1,nt=N!==-1,Jt=-1,en=ze(Te(h,0))&&ue(Te(h,h.length-1));if(y||R)for($=0;$<h.length;X>=65536?$+=2:$++){if(X=Te(h,$),!Oe(X))return Pe;en=en&&ce(X,J,z),J=X}else{for($=0;$<h.length;X>=65536?$+=2:$++){if(X=Te(h,$),X===s)ie=!0,nt&&(oe=oe||$-Jt-1>N&&h[Jt+1]!==" ",Jt=$);else if(!Oe(X))return Pe;en=en&&ce(X,J,z),J=X}oe=oe||nt&&$-Jt-1>N&&h[Jt+1]!==" "}return!ie&&!oe?en&&!R&&!F(h)?tt:D===g?Pe:mt:S>9&&Fe(h)?Pe:R?D===g?Pe:mt:oe?gt:dt}function wt(h,y,S,N,F){h.dump=(function(){if(y.length===0)return h.quotingType===g?'""':"''";if(!h.noCompatMode&&(re.indexOf(y)!==-1||P.test(y)))return h.quotingType===g?'"'+y+'"':"'"+y+"'";let D=h.indent*Math.max(1,S),R=h.lineWidth===-1?-1:Math.max(Math.min(h.lineWidth,40),h.lineWidth-D),z=N||h.flowLevel>-1&&S>=h.flowLevel;function $(X){return ye(h,X)}switch(Mt(y,z,h.indent,R,$,h.quotingType,h.forceQuotes&&!N,F)){case tt:return y;case mt:return"'"+y.replace(/'/g,"''")+"'";case dt:return"|"+bt(y,h.indent)+Rt(Ie(y,D));case gt:return">"+bt(y,h.indent)+Rt(Ie(Zt(y,R),D));case Pe:return'"'+Ve(y)+'"';default:throw new n("impossible error: invalid scalar style")}})()}function bt(h,y){let S=Fe(h)?String(y):"",N=h[h.length-1]===`
|
|
51
|
+
`,D=N&&(h[h.length-2]===`
|
|
52
|
+
`||h===`
|
|
53
|
+
`)?"+":N?"":"-";return S+D+`
|
|
54
|
+
`}function Rt(h){return h[h.length-1]===`
|
|
55
|
+
`?h.slice(0,-1):h}function Zt(h,y){let S=/(\n+)([^\n]*)/g,N=(function(){let z=h.indexOf(`
|
|
56
|
+
`);return z=z!==-1?z:h.length,S.lastIndex=z,Bt(h.slice(0,z),y)})(),F=h[0]===`
|
|
57
|
+
`||h[0]===" ",D,R;for(;R=S.exec(h);){let z=R[1],$=R[2];D=$[0]===" ",N+=z+(!F&&!D&&$!==""?`
|
|
58
|
+
`:"")+Bt($,y),F=D}return N}function Bt(h,y){if(h===""||h[0]===" ")return h;let S=/ [^ ]/g,N,F=0,D,R=0,z=0,$="";for(;N=S.exec(h);)z=N.index,z-F>y&&(D=R>F?R:z,$+=`
|
|
59
|
+
`+h.slice(F,D),F=D+1),R=z;return $+=`
|
|
60
|
+
`,h.length-F>y&&R>F?$+=h.slice(F,R)+`
|
|
61
|
+
`+h.slice(R+1):$+=h.slice(F),$.slice(1)}function Ve(h){let y="",S=0;for(let N=0;N<h.length;S>=65536?N+=2:N++){S=Te(h,N);let F=W[S];!F&&Oe(S)?(y+=h[N],S>=65536&&(y+=h[N+1])):y+=F||me(S)}return y}function Xt(h,y,S){let N="",F=h.tag;for(let D=0,R=S.length;D<R;D+=1){let z=S[D];h.replacer&&(z=h.replacer.call(S,String(D),z)),(b(h,y,z,!1,!1)||typeof z>"u"&&b(h,y,null,!1,!1))&&(N!==""&&(N+=","+(h.condenseFlow?"":" ")),N+=h.dump)}h.tag=F,h.dump="["+N+"]"}function _(h,y,S,N){let F="",D=h.tag;for(let R=0,z=S.length;R<z;R+=1){let $=S[R];h.replacer&&($=h.replacer.call(S,String(R),$)),(b(h,y+1,$,!0,!0,!1,!0)||typeof $>"u"&&b(h,y+1,null,!0,!0,!1,!0))&&((!N||F!=="")&&(F+=w(h,y)),h.dump&&s===h.dump.charCodeAt(0)?F+="-":F+="- ",F+=h.dump)}h.tag=D,h.dump=F||"[]"}function H(h,y,S){let N="",F=h.tag,D=Object.keys(S);for(let R=0,z=D.length;R<z;R+=1){let $="";N!==""&&($+=", "),h.condenseFlow&&($+='"');let X=D[R],J=S[X];h.replacer&&(J=h.replacer.call(S,X,J)),b(h,y,X,!1,!1)&&(h.dump.length>1024&&($+="? "),$+=h.dump+(h.condenseFlow?'"':"")+":"+(h.condenseFlow?"":" "),b(h,y,J,!1,!1)&&($+=h.dump,N+=$))}h.tag=F,h.dump="{"+N+"}"}function te(h,y,S,N){let F="",D=h.tag,R=Object.keys(S);if(h.sortKeys===!0)R.sort();else if(typeof h.sortKeys=="function")R.sort(h.sortKeys);else if(h.sortKeys)throw new n("sortKeys must be a boolean or a function");for(let z=0,$=R.length;z<$;z+=1){let X="";(!N||F!=="")&&(X+=w(h,y));let J=R[z],ie=S[J];if(h.replacer&&(ie=h.replacer.call(S,J,ie)),!b(h,y+1,J,!0,!0,!0))continue;let oe=h.tag!==null&&h.tag!=="?"||h.dump&&h.dump.length>1024;oe&&(h.dump&&s===h.dump.charCodeAt(0)?X+="?":X+="? "),X+=h.dump,oe&&(X+=w(h,y)),b(h,y+1,ie,!0,oe)&&(h.dump&&s===h.dump.charCodeAt(0)?X+=":":X+=": ",X+=h.dump,F+=X)}h.tag=D,h.dump=F||"{}"}function l(h,y,S){let N=S?h.explicitTypes:h.implicitTypes;for(let F=0,D=N.length;F<D;F+=1){let R=N[F];if((R.instanceOf||R.predicate)&&(!R.instanceOf||typeof y=="object"&&y instanceof R.instanceOf)&&(!R.predicate||R.predicate(y))){if(S?R.multi&&R.representName?h.tag=R.representName(y):h.tag=R.tag:h.tag="?",R.represent){let z=h.styleMap[R.tag]||R.defaultStyle,$;if(r.call(R.represent)==="[object Function]")$=R.represent(y,z);else if(i.call(R.represent,z))$=R.represent[z](y,z);else throw new n("!<"+R.tag+'> tag resolver accepts not "'+z+'" style');h.dump=$}return!0}}return!1}function b(h,y,S,N,F,D,R){h.tag=null,h.dump=S,l(h,S,!1)||l(h,S,!0);let z=r.call(h.dump),$=N;N&&(N=h.flowLevel<0||h.flowLevel>y);let X=z==="[object Object]"||z==="[object Array]",J,ie;if(X&&(J=h.duplicates.indexOf(S),ie=J!==-1),(h.tag!==null&&h.tag!=="?"||ie||h.indent!==2&&y>0)&&(F=!1),ie&&h.usedDuplicates[J])h.dump="*ref_"+J;else{if(X&&ie&&!h.usedDuplicates[J]&&(h.usedDuplicates[J]=!0),z==="[object Object]")N&&Object.keys(h.dump).length!==0?(te(h,y,h.dump,F),ie&&(h.dump="&ref_"+J+h.dump)):(H(h,y,h.dump),ie&&(h.dump="&ref_"+J+" "+h.dump));else if(z==="[object Array]")N&&h.dump.length!==0?(h.noArrayIndent&&!R&&y>0?_(h,y-1,h.dump,F):_(h,y,h.dump,F),ie&&(h.dump="&ref_"+J+h.dump)):(Xt(h,y,h.dump),ie&&(h.dump="&ref_"+J+" "+h.dump));else if(z==="[object String]")h.tag!=="?"&&wt(h,h.dump,y,D,$);else{if(z==="[object Undefined]")return!1;if(h.skipInvalid)return!1;throw new n("unacceptable kind of an object to dump "+z)}if(h.tag!==null&&h.tag!=="?"){let oe=encodeURI(h.tag[0]==="!"?h.tag.slice(1):h.tag).replace(/!/g,"%21");h.tag[0]==="!"?oe="!"+oe:oe.slice(0,18)==="tag:yaml.org,2002:"?oe="!!"+oe.slice(18):oe="!<"+oe+">",h.dump=oe+" "+h.dump}}return!0}function L(h,y){let S=[],N=[];M(h,S,N);let F=N.length;for(let D=0;D<F;D+=1)y.duplicates.push(S[N[D]]);y.usedDuplicates=new Array(F)}function M(h,y,S){if(h!==null&&typeof h=="object"){let N=y.indexOf(h);if(N!==-1)S.indexOf(N)===-1&&S.push(N);else if(y.push(h),Array.isArray(h))for(let F=0,D=h.length;F<D;F+=1)M(h[F],y,S);else{let F=Object.keys(h);for(let D=0,R=F.length;D<R;D+=1)M(h[F[D]],y,S)}}}function v(h,y){y=y||{};let S=new ve(y);S.noRefs||L(h,S);let N=h;return S.replacer&&(N=S.replacer.call({"":N},"",N)),b(S,0,N,!0,!0)?S.dump+`
|
|
62
|
+
`:""}return Gi.dump=v,Gi}var Cl;function Xp(){if(Cl)return qe;Cl=1;let e=Qp(),n=Zp();function t(r,i){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. Use yaml."+i+" instead, which is now safe by default.")}}return qe.Type=Me(),qe.Schema=ql(),qe.FAILSAFE_SCHEMA=Ml(),qe.JSON_SCHEMA=Dl(),qe.CORE_SCHEMA=Ol(),qe.DEFAULT_SCHEMA=$i(),qe.load=e.load,qe.loadAll=e.loadAll,qe.dump=n.dump,qe.YAMLException=gn(),qe.types={binary:Hl(),float:Fl(),map:_l(),null:Rl(),pairs:jl(),set:Gl(),timestamp:zl(),bool:Bl(),int:Nl(),merge:Pl(),omap:Ul(),seq:Il(),str:Ll()},qe.safeLoad=t("safeLoad","load"),qe.safeLoadAll=t("safeLoadAll","loadAll"),qe.safeDump=t("safeDump","dump"),qe}var Jp=Xp(),ef=Wp(Jp),{Type:Vy,Schema:Yy,FAILSAFE_SCHEMA:Wy,JSON_SCHEMA:Ky,CORE_SCHEMA:Qy,DEFAULT_SCHEMA:Zy,load:$l,loadAll:Xy,dump:Jy,YAMLException:e1,types:t1,safeLoad:n1,safeLoadAll:r1,safeDump:i1}=ef;function Vl(e,n){let t=e.children.find(r=>r.type==="yaml");return t?.value?tf(t.value,n):{}}function tf(e,n){try{let t=$l(e);if(!t||typeof t!="object")return n&&n({severity:"warning",message:"YAML frontmatter is empty or not an object",context:"frontmatter parsing"}),{};let r={};return"title"in t&&typeof t.title=="string"&&(r.title=t.title),"author"in t&&(typeof t.author=="string"?r.author=t.author:Array.isArray(t.author)?r.author=t.author.filter(i=>typeof i=="string"):n&&n({severity:"warning",message:'Frontmatter "author" field must be a string or array of strings',context:"frontmatter parsing",details:{fieldType:typeof t.author}})),"authors"in t&&Array.isArray(t.authors)&&(r.authors=t.authors.filter(i=>typeof i=="string")),"description"in t&&typeof t.description=="string"&&(r.description=t.description),"keywords"in t&&Array.isArray(t.keywords)&&(r.keywords=t.keywords.filter(i=>typeof i=="string")),"date"in t&&(typeof t.date=="string"?r.date=t.date:t.date instanceof Date&&(r.date=t.date.toISOString().split("T")[0])),"abstract"in t&&typeof t.abstract=="string"&&(r.abstract=t.abstract),"lang"in t&&typeof t.lang=="string"&&(r.lang=t.lang),"language"in t&&typeof t.language=="string"&&(r.language=t.language),"region"in t&&typeof t.region=="string"&&(r.region=t.region),r}catch(t){let r=t instanceof Error?t.message:String(t);return n&&n({severity:"warning",message:`Failed to parse YAML frontmatter: ${r}`,context:"frontmatter parsing",originalError:t}),{}}}function Yl(e){let n=e.trim().toLowerCase();if(n==="auto")return"auto";if(n==="none")return"none";let t=/^(\d{4})-(\d{1,2})-(\d{1,2})$/.exec(e.trim());if(t){let r=parseInt(t[1],10),i=parseInt(t[2],10);return`datetime(day: ${parseInt(t[3],10)}, month: ${i}, year: ${r})`}return"auto"}function Wl(e,n,t){let r=e.title??n.title??t??"",i=e.authors??(typeof e.author=="string"?[e.author]:e.author)??[],a=n.authors??(typeof n.author=="string"?[n.author]:n.author)??[],o=i.length>0?i:a,s=Xa(e.lang??e.language??n.lang??n.language),u=Ja(e.region??n.region),c=e.date??n.date,p=e.description??n.description,f=e.keywords??n.keywords,d=e.abstract??n.abstract;return{title:r,authors:o,description:p,keywords:f,date:c,abstract:d,lang:s,region:u}}function Kl(e){return"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".includes(e)}function Ee(e,n="Assertion failed."){if(!e)throw new Error(n)}var je,j=(je=class{constructor(n,t){U(this,"type");U(this,"value");this.type=n,this.value=t}eq(n){return this.type===n.type&&this.value===n.value}toString(){return this.type===4?"%"+this.value:this.value}toNode(){return new nf(this)}},U(je,"EMPTY",new je(0,"")),U(je,"COMMAND_DISPLAYSTYLE",new je(2,"\\displaystyle")),U(je,"COMMAND_TEXTSTYLE",new je(2,"\\textstyle")),je),It=class{constructor(e,n){U(this,"type");U(this,"head");this.type=e,this.head=n||j.EMPTY}eq(e){return this.type===e.type&&this.head.eq(e.head)}toString(){return this.serialize().reduce(sf,"")}},nf=class extends It{constructor(e){super("terminal",e)}serialize(){switch(this.head.type){case 0:return[];case 1:case 2:case 3:case 4:case 7:return[this.head];case 5:case 6:{let e=[];for(let n of this.head.value){let t=n===" "?5:6;e.push(new j(t,n))}return e}default:throw new Error(`Unknown terminal token type: ${this.head.type}`)}}},rf=class extends It{constructor(e){Ee(e.type===3),super("text",e)}serialize(){return[new j(2,"\\text"),new j(1,"{"),this.head,new j(1,"}")]}},xn=class extends It{constructor(n){super("ordgroup",j.EMPTY);U(this,"items");this.items=n}serialize(){return this.items.map(n=>n.serialize()).flat()}},of=class extends It{constructor(n){super("supsub",j.EMPTY);U(this,"base");U(this,"sup");U(this,"sub");this.base=n.base,this.sup=n.sup,this.sub=n.sub}serialize(){let n=[],{base:t,sup:r,sub:i}=this;n=n.concat(t.serialize());function a(o){return o.type==="ordgroup"||o.type==="supsub"||o.head.type===0?!0:!!(o.head.type===1&&/\d+(\.\d+)?/.test(o.head.value)&&o.head.value.length>1)}return i&&(n.push(new j(7,"_")),a(i)?(n.push(new j(1,"{")),n=n.concat(i.serialize()),n.push(new j(1,"}"))):n=n.concat(i.serialize())),r&&(n.push(new j(7,"^")),a(r)?(n.push(new j(1,"{")),n=n.concat(r.serialize()),n.push(new j(1,"}"))):n=n.concat(r.serialize())),n}},kn=class extends It{constructor(n,t,r=null){super("funcCall",n);U(this,"args");U(this,"data");this.args=t,this.data=r}serialize(){let n=[];n.push(this.head),this.head.value==="\\sqrt"&&this.data&&(n.push(new j(1,"[")),n=n.concat(this.data.serialize()),n.push(new j(1,"]")));for(let t of this.args)n.push(new j(1,"{")),n=n.concat(t.serialize()),n.push(new j(1,"}"));return n}},af=class extends It{constructor(n){super("leftright",j.EMPTY);U(this,"body");U(this,"left");U(this,"right");this.body=n.body,this.left=n.left,this.right=n.right}serialize(){let n=[];return n.push(new j(2,"\\left")),n.push(new j(1,this.left?this.left.value:".")),n=n.concat(this.body.serialize()),n.push(new j(2,"\\right")),n.push(new j(1,this.right?this.right.value:".")),n}},lf=class extends It{constructor(n,t,r=null){Ee(n.type===3);super("beginend",n);U(this,"matrix");U(this,"data");this.matrix=t,this.data=r}serialize(){let n=[],t=this.matrix;n.push(new j(2,"\\begin")),n.push(new j(1,"{")),n=n.concat(this.head),n.push(new j(1,"}")),n.push(new j(6,`
|
|
63
|
+
`));for(let r=0;r<t.length;r++){let i=t[r];for(let a=0;a<i.length;a++){let o=i[a];n=n.concat(o.serialize()),a!==i.length-1&&n.push(new j(7,"&"))}r!==t.length-1&&n.push(new j(7,"\\\\"))}return n.push(new j(6,`
|
|
64
|
+
`)),n.push(new j(2,"\\end")),n.push(new j(1,"{")),n=n.concat(this.head),n.push(new j(1,"}")),n}};function sf(e,n){let t=n.toString(),r=!1;return n.type===5?r=!0:(r||(r=/[{\(\[\|]$/.test(e)),r||(r=/\\\w+$/.test(e)&&t==="["),r||(r=/^[\.,;:!\?\(\)\]{}_^]$/.test(t)),r||(r=["\\{","\\}"].includes(t)),r||(r=t==="'"),r||(r=e.endsWith("_")||e.endsWith("^")),r||(r=/\s$/.test(e)),r||(r=/^\s/.test(t)),r||(r=e===""),r||(r=/[\(\[{]\s*(-|\+)$/.test(e)||e==="-"||e==="+"),r||(r=e.endsWith("&")&&t==="="),r||(r=/\d$/.test(e)&&/^[a-zA-Z]$/.test(t))),r||(e+=" "),e+t}function uf(e,n){return e.some(t=>t.eq(n))}function Ql(e,n){let t=[],r=[];for(let i of e)i.eq(n)?(t.push(r),r=[]):r.push(i);return t.push(r),t}function cf(e,n){return e.flatMap((t,r)=>r!==e.length-1?[...t,n]:t)}var is={};function pf(e,n){let t=e.reMatchArray[0].length,r=n.reMatchArray[0].length;return r!==t?r-t:e.index-n.index}var ff=class{constructor(e,n){U(this,"_input");U(this,"_lexer");U(this,"_pos",0);U(this,"_line",0);U(this,"_col",0);U(this,"_offset",0);U(this,"_less",null);U(this,"_go",!1);U(this,"_newstate",null);U(this,"_state");U(this,"_text",null);U(this,"_leng",null);U(this,"_reMatchArray",null);this._input=e,this._lexer=n,this._state=n.states[0]}text(){return this._text}leng(){return this._leng}reMatchArray(){return this._reMatchArray}pos(){return this._pos}line(){return this._line}column(){return this._col}input(){return this._input.charAt(this._pos+this._leng+this._offset++)}unput(){return this._offset=this._offset>0?this._offset--:0}less(e){return this._less=e,this._offset=0,this._text=this._text.substring(0,e),this._leng=this._text.length}pushback(e){return this.less(this._leng-e)}reject(){this._go=!0}begin(e){if(this._lexer.specification[e])return this._newstate=e;let n=this._lexer.states[parseInt(e)];if(n)return this._newstate=n;throw"Unknown state '"+e+"' requested"}state(){return this._state}scan(){if(this._pos>=this._input.length)return is;let e=this._input.substring(this._pos),n=this._lexer.specification[this._state],t=[];for(let u=0;u<n.length;u++){let c=n[u],p=e.match(c.re);p!==null&&p[0].length>0&&t.push({index:u,rule:c,reMatchArray:p})}if(t.length===0)throw new Error("No match found for input '"+e+"'");t.sort(pf),this._go=!0;let r,i;for(let u=0,c=t.length;u<c&&this._go;u++){this._offset=0,this._less=null,this._go=!1,this._newstate=null;let p=t[u];if(i=p.reMatchArray[0],this._text=i,this._leng=i.length,this._reMatchArray=p.reMatchArray,r=p.rule.action(this),this._newstate&&this._newstate!=this._state){this._state=this._newstate;break}}let a=this._less===null?i:i.substring(0,this._less),o=a.length;this._pos+=o+this._offset;let s=a.match(/\n/g);return s!==null?(this._line+=s.length,this._col=o-a.lastIndexOf(`
|
|
65
|
+
`)-1):this._col+=o,r}},hf=class{constructor(e){U(this,"states");U(this,"specification");this.states=Object.keys(e),this.specification={};for(let n of this.states){let t=e[n];if(n in this.specification)throw"Duplicate state declaration encountered for state '"+n+"'";this.specification[n]=[];for(let[r,i]of t.entries()){let a;try{a=new RegExp("^"+r)}catch(o){throw"Invalid regexp '"+r+"' in state '"+n+"' ("+o.message+")"}this.specification[n].push({re:a,action:i})}}}scanner(e){return new ff(e,this)}lex(e,n){let t=this.scanner(e);for(;;){let r=t.scan();if(r===is)return;r!==void 0&&n(r)}}collect(e){let n=[],t=function(r){Array.isArray(r)?n.push(...r):n.push(r)};return this.lex(e,t),n}},os=["sqrt","text","bar","bold","boldsymbol","ddot","dot","hat","mathbb","mathbf","mathcal","mathfrak","mathit","mathrm","mathscr","mathsf","mathtt","operatorname","operatorname*","overbrace","overline","pmb","rm","tilde","underbrace","underline","vec","widehat","widetilde","overleftarrow","overrightarrow","hspace","substack","displaylines","mathinner","mathrel","mathbin","mathop","not","bra","ket","braket","set","Bra","Ket","Braket","Set","pmod"],as=["frac","tfrac","binom","dbinom","dfrac","tbinom","overset","underset","textcolor"];function mf(e){let n=["{","}","\\","$","&","#","_","%"];for(let t of n)e=e.replaceAll("\\"+t,t);return e}var df=new Map([[String.raw`\\begin{(array|subarry)}{(.+?)}`,e=>{let n=e.reMatchArray();return[new j(2,"\\begin"),new j(7,"{"),new j(3,n[1]),new j(7,"}"),new j(7,"{"),new j(3,n[2]),new j(7,"}")]}],[String.raw`\\(text|operatorname\*?|textcolor|begin|end|hspace|array){(.+?)}`,e=>{let n=e.reMatchArray();return[new j(2,"\\"+n[1]),new j(7,"{"),new j(3,mf(n[2])),new j(7,"}")]}],[String.raw`%[^\n]*`,e=>new j(4,e.text().substring(1))],[String.raw`[{}_^&]`,e=>new j(7,e.text())],[String.raw`\\[\\,:;!> ]`,e=>new j(7,e.text())],[String.raw`~`,e=>new j(7,e.text())],[String.raw`\r?\n`,e=>new j(6,`
|
|
66
|
+
`)],[String.raw`\s+`,e=>new j(5,e.text())],[String.raw`\\[{}%$&#_|]`,e=>new j(1,e.text())],[String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])\s*([0-9a-zA-Z])`,e=>{let n=e.reMatchArray(),t=n[1];if(as.includes(t.substring(1))){let r=n[2].trimStart(),i=n[3];return[new j(2,t),new j(1,r),new j(1,i)]}else return e.reject(),[]}],[String.raw`(\\[a-zA-Z]+)(\s*\d|\s+[a-zA-Z])`,e=>{let n=e.reMatchArray(),t=n[1];if(os.includes(t.substring(1))){let r=n[2].trimStart();return[new j(2,t),new j(1,r)]}else return e.reject(),[]}],[String.raw`\\[a-zA-Z]+`,e=>new j(2,e.text())],[String.raw`[0-9]+(\.[0-9]+)?`,e=>new j(1,e.text())],[String.raw`[a-zA-Z]`,e=>new j(1,e.text())],[String.raw`[+\-*/='<>!.,;:?()\[\]|]`,e=>new j(1,e.text())],[String.raw`[^\x00-\x7F]`,e=>new j(1,e.text())],[String.raw`.`,e=>new j(8,e.text())]]),gf={start:df};function ls(e){return new hf(gf).collect(e)}var wf=["bigl","bigr","bigm","biggl","biggr","biggm","Bigl","Bigr","Bigm","Biggl","Biggr","Biggm"],Zl=j.EMPTY.toNode();function bf(e){return os.includes(e)?1:as.includes(e)?2:0}var Kn=new j(7,"{"),wn=new j(7,"}"),xf=new j(1,"["),kf=new j(1,"]");function Qn(e,n){let t=n;for(;t<e.length&&[5,6].includes(e[t].type);)t++;return e.slice(n,t)}function Xl(e,n){let t=e[n];return t.type===1&&["(",")","[","]","|","\\{","\\}",".","\\|","<",">"].includes(t.value)||t.type===2&&["lfloor","rfloor","lceil","rceil","langle","rangle","lparen","rparen","lbrace","rbrace"].includes(t.value.slice(1))?t:null}function bn(e,n){let t=n;for(;t<e.length&&e[t].eq(new j(1,"'"));)t+=1;return t-n}function yf(e){let n=null,t=[],r=[],i=0;for(;;){if(i===e.length||e[i].head.eq(j.COMMAND_DISPLAYSTYLE)||e[i].head.eq(j.COMMAND_TEXTSTYLE)){if(t.length>0){let a=t.length===1?t[0]:new xn(t);r.push(n?new kn(n,[a]):a)}if(i===e.length)break;t=[],n=e[i].head}else t.push(e[i]);i++}return r}var Jl=new j(2,"\\left"),es=new j(2,"\\right"),ts=new j(2,"\\begin"),ns=new j(2,"\\end"),Tf=new j(7,"\\\\"),be,he=(be=class extends Error{constructor(n){super(n),this.name="LatexParserError"}},U(be,"UNMATCHED_LEFT_BRACE",new be("Unmatched '\\{'")),U(be,"UNMATCHED_RIGHT_BRACE",new be("Unmatched '\\}'")),U(be,"UNMATCHED_LEFT_BRACKET",new be("Unmatched '\\['")),U(be,"UNMATCHED_RIGHT_BRACKET",new be("Unmatched '\\]'")),U(be,"UNMATCHED_COMMAND_BEGIN",new be("Unmatched '\\begin'")),U(be,"UNMATCHED_COMMAND_END",new be("Unmatched '\\end'")),U(be,"UNMATCHED_COMMAND_LEFT",new be("Unmatched '\\left'")),U(be,"UNMATCHED_COMMAND_RIGHT",new be("Unmatched '\\right'")),be),Ki=new j(7,"_"),Qi=new j(7,"^"),Sf=class{constructor(e=!1,n=!0){U(this,"space_sensitive");U(this,"newline_sensitive");U(this,"alignmentDepth",0);this.space_sensitive=e,this.newline_sensitive=n}parse(e){return this.parseGroup(e.slice(0))}parseGroup(e){let[n,t]=this.parseClosure(e,0,null);return n}parseClosure(e,n,t){let r=[],i=n;for(;i<e.length&&!(t!==null&&e[i].eq(t));){let[s,u]=this.parseNextExpr(e,i);i=u,!((s.head.type===5||s.head.type===6)&&(!this.space_sensitive&&s.head.value.replace(/ /g,"").length===0||!this.newline_sensitive&&s.head.value===`
|
|
67
|
+
`))&&r.push(s)}if(i>=e.length&&t!==null)return[Zl,-1];let a=yf(r),o;return a.length===1?o=a[0]:o=new xn(a),[o,i+1]}parseNextExpr(e,n){let[t,r]=this.parseNextExprWithoutSupSub(e,n),i=null,a=null,o=0;if(o+=bn(e,r),r+=o,r<e.length){let s=e[r];if(s.eq(Ki)){[i,r]=this.parseNextExprWithoutSupSub(e,r+1);let u=bn(e,r);if(o+=u,r+=u,r<e.length&&e[r].eq(Qi)&&([a,r]=this.parseNextExprWithoutSupSub(e,r+1),bn(e,r)>0))throw new he("Double superscript")}else if(s.eq(Qi)){if([a,r]=this.parseNextExprWithoutSupSub(e,r+1),bn(e,r)>0)throw new he("Double superscript");if(r<e.length&&e[r].eq(Ki)&&([i,r]=this.parseNextExprWithoutSupSub(e,r+1),bn(e,r)>0))throw new he("Double superscript")}}if(i!==null||a!==null||o>0){let s={base:t,sup:null,sub:null};if(i&&(s.sub=i),o>0){let u=[];for(let c=0;c<o;c++)u.push(new j(1,"'").toNode());a&&u.push(a),s.sup=u.length===1?u[0]:new xn(u)}else a&&(s.sup=a);return[new of(s),r]}else return[t,r]}parseNextExprWithoutSupSub(e,n){if(n>=e.length)throw new he("Unexpected end of input");let t=e[n];switch(t.type){case 1:case 3:case 4:case 5:case 6:return[t.toNode(),n+1];case 2:let r=t.value.slice(1);if(wf.includes(r))return this.parseNextExprWithoutSupSub(e,n+1);if(t.eq(ts))return this.parseBeginEndExpr(e,n);if(t.eq(ns))throw he.UNMATCHED_COMMAND_END;if(t.eq(Jl))return this.parseLeftRightExpr(e,n);if(t.eq(es))throw he.UNMATCHED_COMMAND_RIGHT;return this.parseCommandExpr(e,n);case 7:switch(t.value){case"{":let[a,o]=this.parseClosure(e,n+1,wn);if(o===-1)throw he.UNMATCHED_LEFT_BRACE;return[a,o];case"}":throw he.UNMATCHED_RIGHT_BRACE;case"\\\\":case"\\!":case"\\,":case"\\:":case"\\;":case"\\>":return[t.toNode(),n+1];case"\\ ":case"~":return[t.toNode(),n+1];case"_":case"^":return[Zl,n];case"&":if(this.alignmentDepth<=0)throw new he("Unexpected & outside of an alignment");return[t.toNode(),n+1];default:throw new he("Unknown control sequence")}default:throw new he("Unknown token type")}}parseCommandExpr(e,n){Ee(e[n].type===2);let t=e[n],r=t.value,i=n+1;switch(bf(r.slice(1))){case 0:return[t.toNode(),i];case 1:{if(i>=e.length)throw new he("Expecting argument for "+r);if(r==="\\sqrt"&&i<e.length&&e[i].eq(xf)){let[u,c]=this.parseClosure(e,i+1,kf);if(c===-1)throw he.UNMATCHED_LEFT_BRACKET;let[p,f]=this.parseNextArg(e,c);return[new kn(t,[p],u),f]}else if(r==="\\text"){if(i+2>=e.length)throw new he("Expecting content for \\text command");Ee(e[i].eq(Kn)),Ee(e[i+1].type===3),Ee(e[i+2].eq(wn));let u=e[i+1];return[new rf(u),i+3]}else if(r==="\\displaylines"){Ee(e[i].eq(Kn));let[u,c]=this.parseAligned(e,i+1,wn);if(c===-1)throw he.UNMATCHED_LEFT_BRACE;let p=new xn(cf(u,Tf.toNode()));return[new kn(t,[p]),c]}let[o,s]=this.parseNextArg(e,i);return[new kn(t,[o]),s]}case 2:{let[o,s]=this.parseNextArg(e,i),[u,c]=this.parseNextArg(e,s);return[new kn(t,[o,u]),c]}default:throw new Error("Invalid number of parameters")}}parseNextArg(e,n){let t=n,r=null;for(;t<e.length;){let i;if([i,t]=this.parseNextExprWithoutSupSub(e,t),!(i.head.type===5||i.head.type===6)){r=i;break}}if(r===null)throw new he("Expecting argument but token stream ended");return[r,t]}parseLeftRightExpr(e,n){Ee(e[n].eq(Jl));let t=n+1;if(t+=Qn(e,t).length,t>=e.length)throw new he("Expecting a delimiter after \\left");let r=Xl(e,t);if(r===null)throw new he("Invalid delimiter after \\left");t++;let[i,a]=this.parseClosure(e,t,es);if(a===-1)throw he.UNMATCHED_COMMAND_LEFT;if(t=a,t+=Qn(e,t).length,t>=e.length)throw new he("Expecting a delimiter after \\right");let o=Xl(e,t);if(o===null)throw new he("Invalid delimiter after \\right");t++;let s=r.value==="."?null:r,u=o.value==="."?null:o;return[new af({body:i,left:s,right:u}),t]}parseBeginEndExpr(e,n){Ee(e[n].eq(ts));let t=n+1;Ee(e[t].eq(Kn)),Ee(e[t+1].type===3),Ee(e[t+2].eq(wn));let r=e[t+1].value;t+=3;let i=null;["array","subarray"].includes(r)&&(t+=Qn(e,t).length,[i,t]=this.parseNextArg(e,t));let[a,o]=this.parseAligned(e,t,ns);if(o===-1)throw he.UNMATCHED_COMMAND_BEGIN;if(t=o,Ee(e[t].eq(Kn)),Ee(e[t+1].type===3),Ee(e[t+2].eq(wn)),e[t+1].value!==r)throw new he("\\begin and \\end environments mismatch");return t+=3,[new lf(new j(3,r),a,i),t]}parseAligned(e,n,t){this.alignmentDepth++;let r=n;r+=Qn(e,r).length;let i;if([i,r]=this.parseClosure(e,r,t),r===-1)return[[],-1];let a;if(i.type==="ordgroup"){let o=i.items;for(;o.length>0&&[5,6].includes(o[o.length-1].head.type);)o.pop();a=Ql(o,new j(7,"\\\\").toNode()).map(s=>Ql(s,new j(7,"&").toNode()).map(u=>new xn(u)))}else a=[[i]];return this.alignmentDepth--,[a,r]}};function Ef(e){let n=r=>r.eq(Ki)||r.eq(Qi),t=[];for(let r=0;r<e.length;r++)e[r].type===5&&r+1<e.length&&n(e[r+1])||e[r].type===5&&r-1>=0&&n(e[r-1])||t.push(e[r]);return t}function vf(e,n){let t=[];for(let r of e)if(r.type===2&&n[r.value]){let i=ls(n[r.value]);t=t.concat(i)}else t.push(r);return t}function Af(e,n={}){let t=new Sf,r=ls(e);return r=Ef(r),r=vf(r,n),t.parse(r)}var Zi=new Map([["arrow.l.r.double.long","<==>"],["arrow.l.r.long","<-->"],["arrow.r.bar","|->"],["arrow.r.double.bar","|=>"],["arrow.r.double.long","==>"],["arrow.r.long","-->"],["arrow.r.long.squiggly","~~>"],["arrow.r.tail",">->"],["arrow.r.twohead","->>"],["arrow.l.double.long","<=="],["arrow.l.long","<--"],["arrow.l.long.squiggly","<~~"],["arrow.l.tail","<-<"],["arrow.l.twohead","<<-"],["arrow.l.r.double","<=>"],["colon.double.eq","::="],["dots.h","..."],["gt.triple",">>>"],["lt.triple","<<<"],["arrow.r","->"],["arrow.r.double","=>"],["arrow.r.squiggly","~>"],["arrow.l","<-"],["arrow.l.squiggly","<~"],["bar.v.double","||"],["bracket.l.stroked","[|"],["bracket.r.stroked","|]"],["colon.eq",":="],["eq.colon","=:"],["eq.not","!="],["gt.double",">>"],["gt.eq",">="],["lt.double","<<"],["lt.eq","<="],["ast.op","*"],["minus","-"],["tilde.op","~"],["arrow.l.r","<->"]]),Xi=new Map;for(let[e,n]of Zi.entries())n.length>1&&Xi.set(n,e);var ne,T=(ne=class{constructor(n,t){U(this,"type");U(this,"value");this.type=n,this.value=t}eq(n){return this.type===n.type&&this.value===n.value}isOneOf(n){return uf(n,this)}toNode(){return new qf(this)}toString(){switch(this.type){case 4:return`"${this.value}"`;case 5:return`//${this.value}`;default:return this.value}}},U(ne,"NONE",new ne(0,"#none")),U(ne,"EMPTY",new ne(2,"")),U(ne,"LEFT_BRACE",new ne(2,"{")),U(ne,"RIGHT_BRACE",new ne(2,"}")),U(ne,"LEFT_PAREN",new ne(2,"(")),U(ne,"RIGHT_PAREN",new ne(2,")")),U(ne,"LEFT_ANGLE",new ne(1,"chevron.l")),U(ne,"RIGHT_ANGLE",new ne(1,"chevron.r")),U(ne,"VERTICAL_BAR",new ne(2,"|")),U(ne,"PLUS",new ne(2,"+")),U(ne,"MINUS",new ne(2,"-")),U(ne,"LR",new ne(1,"lr")),U(ne,"LEFT_DELIMITERS",[ne.LEFT_PAREN,new ne(2,"["),ne.LEFT_BRACE,ne.VERTICAL_BAR,ne.LEFT_ANGLE,new ne(1,"paren.l"),new ne(1,"brace.l")]),U(ne,"RIGHT_DELIMITERS",[ne.RIGHT_PAREN,new ne(2,"]"),ne.RIGHT_BRACE,ne.VERTICAL_BAR,ne.RIGHT_ANGLE,new ne(1,"paren.r"),new ne(1,"brace.r")]),ne),Cf=class extends Error{constructor(n,t){super(n);U(this,"node");this.name="TypstWriterError",this.node=t}},Ne=new T(7," "),ht=class{constructor(e,n){U(this,"type");U(this,"head");U(this,"options");this.type=e,this.head=n||T.NONE}setOptions(e){this.options=e}eq(e){return this.type===e.type&&this.head.eq(e.head)}toString(){throw new Error("Unimplemented toString() in base class TypstNode")}},qf=class extends ht{constructor(e){super("terminal",e)}isOverHigh(){return!1}isLeftSpaceful(){switch(this.head.type){case 6:case 8:return!1;case 4:return!0;case 1:case 2:return!["(","!",",",")","}","]"].includes(this.head.value);default:return!0}}isRightSpaceful(){switch(this.head.type){case 6:case 8:return!1;case 4:return!0;case 1:case 2:return["+","=",",","\\/","dot","dot.op","arrow","arrow.r"].includes(this.head.value);default:return!1}}toString(){return this.head.toString()}serialize(e,n){if(this.head.type===2){if(this.head.value===","&&e.insideFunctionDepth>0)return[Ne,new T(1,"comma")]}else if(this.head.type===1){let t=this.head.value;return n.preferShorthands&&Zi.has(t)&&(t=Zi.get(t)),n.inftyToOo&&t==="infinity"&&(t="oo"),[new T(1,t)]}else if(this.head.type===6||this.head.type===8){let t=[];for(let r of this.head.value)if(r===" ")n.keepSpaces&&t.push(new T(6,r));else if(r===`
|
|
68
|
+
`)t.push(new T(1,r));else throw new Cf(`Unexpected whitespace character: ${r}`,this);return t}return[this.head]}},Lf=class{constructor(){U(this,"queue",[])}pushSoftSpace(){if(this.queue.length!==0){{if(this.queue.at(-1).eq(Ne))return;if(["(","{","["].includes(this.queue.at(-1).value))return}this.queue.push(Ne)}}pushAll(e){if(e.length!=0)if(e[0].eq(Ne)&&this.queue.length===0)this.queue.push(...e.slice(1));else{if([")","}","]"].includes(e[0].value))for(;this.queue.at(-1)?.eq(Ne);)this.queue.pop();this.queue.push(...e)}}getQueue(){let e=Array.from(this.queue);for(;e.at(-1)?.eq(Ne);)e.pop();return e}},Vi=class extends ht{constructor(n){super("group",T.NONE);U(this,"items");this.items=n}isOverHigh(){return this.items.some(n=>n.isOverHigh())}isLeftSpaceful(){return this.items.length===0?!1:this.items[0].isLeftSpaceful()}isRightSpaceful(){return this.items.length===0?!1:this.items.at(-1).isRightSpaceful()}serialize(n,t){if(this.items.length===0)return[];let r=new Lf;for(let a=0;a<this.items.length;a++){let o=this.items[a],s=o.serialize(n,t);o.isLeftSpaceful()&&r.pushSoftSpace(),r.pushAll(s),o.isRightSpaceful()&&r.pushSoftSpace()}let i=r.getQueue();if(i.length>0&&(i[0].eq(T.MINUS)||i[0].eq(T.PLUS)))for(;i.length>1&&i[1].eq(Ne);)i.splice(1,1);return i}},Ji=class extends ht{constructor(n){super("supsub",T.NONE);U(this,"base");U(this,"sup");U(this,"sub");this.base=n.base,this.sup=n.sup,this.sub=n.sub}isOverHigh(){return this.base.isOverHigh()}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(n,t){let r=[],{base:i,sup:a,sub:o}=this;r.push(...i.serialize(n,t));let s=a&&a.head.eq(new T(2,"'"));return s&&r.push(new T(2,"'")),o&&(r.push(new T(2,"_")),r.push(...o.serialize(n,t))),a&&!s&&(r.push(new T(2,"^")),r.push(...a.serialize(n,t))),r}},Le=class extends ht{constructor(n,t){super("funcCall",n);U(this,"args");this.args=t}isOverHigh(){return this.head.value==="frac"?!0:this.args.some(n=>n.isOverHigh())}isLeftSpaceful(){return!0}isRightSpaceful(){return!["op","bold","dot"].includes(this.head.value)}serialize(n,t){let r=[],i=this.head;r.push(i),n.insideFunctionDepth++,r.push(Xn);for(let a=0;a<this.args.length;a++)r.push(...this.args[a].serialize(n,t)),a<this.args.length-1&&(r.push(new T(2,",")),r.push(Ne));if(this.options)for(let[a,o]of Object.entries(this.options))r.push(new T(3,`, ${a}: ${o.toString()}`));return r.push(Jn),n.insideFunctionDepth--,r}},If=class extends ht{constructor(n){super("fraction",T.NONE);U(this,"args");this.args=n}isOverHigh(){return!0}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(n,t){let r=[],[i,a]=this.args;return r.push(...i.serialize(n,t)),r.push(new T(2,"/")),r.push(...a.serialize(n,t)),r}},Xn=new T(2,"("),Jn=new T(2,")"),Ue=class extends ht{constructor(n,t){super("leftright",n);U(this,"body");U(this,"left");U(this,"right");this.body=t.body,this.left=t.left,this.right=t.right}isOverHigh(){return this.body.isOverHigh()}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(n,t){let r=[],i=new T(1,"lr"),{left:a,right:o}=this;return this.head.eq(i)&&(r.push(i),r.push(Xn)),a&&(r.push(a),Kl(a.value[0])&&r.push(Ne)),r.push(...this.body.serialize(n,t)),o&&(Kl(o.value[0])&&r.push(Ne),r.push(o)),this.head.eq(i)&&r.push(Jn),r}},et,ft=(et=class extends ht{constructor(t,r){super("matrixLike",t);U(this,"matrix");this.matrix=r}isOverHigh(){return!0}isLeftSpaceful(){return!0}isRightSpaceful(){return!1}serialize(t,r){let i=[],a,o;if(this.head.eq(et.MAT)?(a=new T(2,","),o=new T(2,";")):this.head.eq(et.CASES)?(a=new T(2,"&"),o=new T(2,",")):this.head.eq(T.NONE)&&(a=new T(2,"&"),o=new T(1,"\\")),!this.head.eq(T.NONE)&&(i.push(this.head),t.insideFunctionDepth++,i.push(Xn),this.options))for(let[s,u]of Object.entries(this.options))i.push(new T(3,`${s}: ${u.toString()}, `));return this.matrix.forEach((s,u)=>{s.forEach((c,p)=>{i.push(...c.serialize(t,r)),p<s.length-1?(a.value==="&"&&i.push(Ne),i.push(a),i.push(Ne)):u<this.matrix.length-1&&(o.value==="\\"&&i.push(Ne),i.push(o),i.push(Ne))})}),this.head.eq(T.NONE)||(i.push(Jn),t.insideFunctionDepth--),i}},U(et,"MAT",new T(1,"mat")),U(et,"CASES",new T(1,"cases")),et),_f=class extends ht{constructor(n,t){super("markupFunc",n);U(this,"fragments");this.fragments=t}isOverHigh(){return this.fragments.some(n=>n.isOverHigh())}isLeftSpaceful(){return!0}isRightSpaceful(){return!0}serialize(n,t){let r=[];if(r.push(this.head),n.insideFunctionDepth++,r.push(Xn),this.options){let i=Object.entries(this.options);for(let a=0;a<i.length;a++){let[o,s]=i[a];r.push(new T(3,`${o}: ${s.toString()}`)),a<i.length-1&&r.push(new T(2,","))}}r.push(Jn),r.push(new T(3,"["));for(let i of this.fragments)r.push(new T(3,"$")),r.push(...i.serialize(n,t)),r.push(new T(3,"$"));return r.push(new T(3,"]")),r}},rs=new T(1,`
|
|
69
|
+
`),Yi=new T(7," "),Mf=class{constructor(e){U(this,"buffer","");U(this,"queue",[]);U(this,"options");this.options=e}serialize(e){let n={insideFunctionDepth:0};this.queue.push(...e.serialize(n,this.options))}flushQueue(){let e=this.queue.filter(r=>r.value!==""),n=[];for(let r of e)r.eq(Yi)&&n.length>0&&n[n.length-1].eq(Yi)||n.push(r);let t=new T(1,"");for(let r=0;r<n.length;r++)n[r].eq(Yi)&&(r===0||r===n.length-1||n[r-1].type===6||n[r-1].eq(rs)||n[r+1].eq(rs))&&(n[r]=t);for(let r of n)this.buffer+=r.toString();this.queue=[]}finalize(){this.flushQueue();let e=function(r){let i=r.replace(/floor\.l\s*(.*?)\s*floor\.r/g,"floor($1)");return i=i.replace(/floor\(\)/g,'floor("")'),i},n=function(r){let i=r.replace(/ceil\.l\s*(.*?)\s*ceil\.r/g,"ceil($1)");return i=i.replace(/ceil\(\)/g,'ceil("")'),i},t=function(r){let i=r.replace(/floor\.l\s*(.*?)\s*ceil\.r/g,"round($1)");return i=i.replace(/round\(\)/g,'round("")'),i};if(this.options.optimize){let r=[e,n,t];for(let i of r)this.buffer=i(this.buffer)}return this.buffer=this.buffer.replace(/& =/g,"&="),this.buffer}},Ge=new Map([["displaystyle","display"],["textstyle","inline"],["hspace","#h"],["|","bar.v.double"],[",","thin"],[":","med"],[" ","med"],[";","thick"],[">","med"],["~","space.nobreak"],["blacktriangleleft","triangle.filled.l"],["blacktriangleright","triangle.filled.r"],["clubsuit","suit.club.filled"],["hookleftarrow","arrow.l.hook"],["hookrightarrow","arrow.r.hook"],["leftrightarrow","arrow.l.r"],["lgblksquare","square.filled.big"],["lgwhtsquare","square.stroked.big"],["nearrow","arrow.tr"],["nwarrow","arrow.tl"],["searrow","arrow.br"],["swarrow","arrow.bl"],["spadesuit","suit.spade.filled"],["updownarrow","arrow.t.b"],["ln","ln"],["log","log"],["cos","cos"],["sin","sin"],["tan","tan"],["cot","cot"],["sec","sec"],["csc","csc"],["mod","mod"],["omicron","omicron"],["Xi","Xi"],["Upsilon","Upsilon"],["lim","lim"],["binom","binom"],["tilde","tilde"],["hat","hat"],["sqrt","sqrt"],["bmod","mod"],["nonumber",""],["vec","arrow"],["neq","eq.not"],["dot","dot"],["ddot","dot.double"],["doteq","dot(eq)"],["dots","dots.h"],["vdots","dots.v"],["ddots","dots.down"],["widehat","hat"],["widetilde","tilde"],["quad","quad"],["qquad","wide"],["overbrace","overbrace"],["underbrace","underbrace"],["overline","overline"],["underline","underline"],["bar","macron"],["dbinom","binom"],["tbinom","binom"],["dfrac","frac"],["tfrac","frac"],["operatorname","op"],["operatorname*","op"],["boldsymbol","bold"],["mathbb","bb"],["mathbf","bold"],["mathcal","cal"],["mathscr","scr"],["mathit","italic"],["mathfrak","frak"],["mathrm","upright"],["mathsf","sans"],["mathtt","mono"],["rm","upright"],["pmb","bold"],["leadsto","arrow.r.squiggly"],["P","pilcrow"],["S","section"],["aleph","alef"],["infin","infinity"],["Delta","Delta"],["Gamma","Gamma"],["Lambda","Lambda"],["Omega","Omega"],["Phi","Phi"],["Pi","Pi"],["Psi","Psi"],["Sigma","Sigma"],["Theta","Theta"],["alpha","alpha"],["beta","beta"],["bigcirc","circle.big"],["bullet","bullet"],["cdot","dot.op"],["cdots","dots.c"],["checkmark","checkmark"],["chi","chi"],["circ","circle.small"],["colon","colon"],["cong","tilde.equiv"],["coprod","product.co"],["copyright","copyright"],["cup","union"],["curlyvee","or.curly"],["curlywedge","and.curly"],["dagger","dagger"],["dashv","tack.l"],["ddagger","dagger.double"],["delta","delta"],["ddots","dots.down"],["diamond","diamond"],["div","div"],["divideontimes","times.div"],["dotplus","plus.dot"],["ell","ell"],["emptyset","nothing"],["epsilon","epsilon.alt"],["equiv","equiv"],["eta","eta"],["exists","exists"],["forall","forall"],["gamma","gamma"],["ge","gt.eq"],["geq","gt.eq"],["geqslant","gt.eq.slant"],["gg","gt.double"],["hbar","planck"],["imath","dotless.i"],["iiiint","integral.quad"],["iiint","integral.triple"],["iint","integral.double"],["in","in"],["infty","infinity"],["int","integral"],["intercal","top"],["iota","iota"],["jmath","dotless.j"],["kappa","kappa"],["lambda","lambda"],["land","and"],["langle","chevron.l"],["lbrace","brace.l"],["lbrack","bracket.l"],["ldots","dots.h"],["le","lt.eq"],["leftthreetimes","times.three.l"],["leftrightarrow","arrow.l.r"],["leq","lt.eq"],["leqslant","lt.eq.slant"],["lhd","triangle.l"],["ll","lt.double"],["lor","or"],["ltimes","times.l"],["measuredangle","angle.arc"],["mid","divides"],["models","models"],["mp","minus.plus"],["mu","mu"],["nabla","nabla"],["ncong","tilde.equiv.not"],["ne","eq.not"],["neg","not"],["neq","eq.not"],["nexists","exists.not"],["ni","in.rev"],["nleftarrow","arrow.l.not"],["nleq","lt.eq.not"],["nparallel","parallel.not"],["ngeq","gt.eq.not"],["nmid","divides.not"],["notin","in.not"],["nsim","tilde.not"],["nsubseteq","subset.eq.not"],["nu","nu"],["ntriangleleft","lt.tri.not"],["ntriangleright","gt.tri.not"],["odot","dot.circle"],["oint","integral.cont"],["oiint","integral.surf"],["oiiint","integral.vol"],["omega","omega"],["ominus","minus.circle"],["otimes","times.circle"],["parallel","parallel"],["partial","partial"],["perp","perp"],["phi","phi.alt"],["pi","pi"],["pm","plus.minus"],["pounds","pound"],["prec","prec"],["preceq","prec.eq"],["prime","prime"],["prod","product"],["propto","prop"],["psi","psi"],["rangle","chevron.r"],["rbrace","brace.r"],["rbrack","bracket.r"],["rhd","triangle"],["rho","rho"],["rightarrow","arrow.r"],["rightthreetimes","times.three.r"],["rtimes","times.r"],["setminus","without"],["sigma","sigma"],["sim","tilde.op"],["simeq","tilde.eq"],["slash","slash"],["smallsetminus","without"],["spadesuit","suit.spade"],["sqsubseteq","subset.eq.sq"],["sqsupseteq","supset.eq.sq"],["subset","subset"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["succeq","succ.eq"],["sum","sum"],["supset","supset"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["tau","tau"],["theta","theta"],["times","times"],["to","arrow.r"],["top","top"],["triangle","triangle.t"],["twoheadrightarrow","arrow.r.twohead"],["upharpoonright","harpoon.tr"],["uplus","union.plus"],["upsilon","upsilon"],["varepsilon","epsilon"],["varnothing","diameter"],["varphi","phi"],["varpi","pi.alt"],["varrho","rho.alt"],["varsigma","sigma.alt"],["vartheta","theta.alt"],["vdash","tack.r"],["vdots","dots.v"],["vee","or"],["wedge","and"],["wr","wreath"],["xi","xi"],["yen","yen"],["zeta","zeta"],["intop","limits(integral)"],["LaTeX","#LaTeX"],["TeX","#TeX"]]),Rf=new Map([["acwopencirclearrow","arrow.ccw"],["adots","dots.up"],["angdnr","angle.acute"],["angle","angle"],["angles","angle.s"],["approx","approx"],["approxeq","approx.eq"],["approxident","tilde.triple"],["assert","tack.r.short"],["ast","ast.op"],["astrosun","sun"],["asymp","asymp"],["awint","integral.ccw"],["backcong","tilde.rev.equiv"],["backdprime","prime.double.rev"],["backprime","prime.rev"],["backsim","tilde.rev"],["backsimeq","tilde.eq.rev"],["backslash","backslash"],["backtrprime","prime.triple.rev"],["bardownharpoonleft","harpoon.bl.bar"],["bardownharpoonright","harpoon.br.bar"],["barleftarrow","arrow.l.stop"],["barleftarrowrightarrowbar","arrows.lr.stop"],["barleftharpoondown","harpoon.lb.stop"],["barleftharpoonup","harpoon.lt.stop"],["barrightharpoondown","harpoon.rb.bar"],["barrightharpoonup","harpoon.rt.bar"],["baruparrow","arrow.t.stop"],["barupharpoonleft","harpoon.tl.stop"],["barupharpoonright","harpoon.tr.stop"],["barV","tack.b.double"],["BbbA","AA"],["BbbB","BB"],["BbbC","CC"],["BbbD","DD"],["BbbE","EE"],["BbbF","FF"],["BbbG","GG"],["BbbH","HH"],["BbbI","II"],["BbbJ","JJ"],["BbbK","KK"],["BbbL","LL"],["BbbM","MM"],["BbbN","NN"],["BbbO","OO"],["BbbP","PP"],["BbbQ","QQ"],["BbbR","RR"],["BbbS","SS"],["BbbT","TT"],["BbbU","UU"],["BbbV","VV"],["BbbW","WW"],["BbbX","XX"],["BbbY","YY"],["BbbZ","ZZ"],["because","because"],["bigblacktriangledown","triangle.filled.b"],["bigblacktriangleup","triangle.filled.t"],["bigbot","tack.t.big"],["bigcap","inter.big"],["bigcup","union.big"],["bigcupdot","union.dot.big"],["biginterleave","interleave.big"],["bigodot","dot.o.big"],["bigoplus","plus.o.big"],["bigotimes","times.o.big"],["bigsqcap","inter.sq.big"],["bigsqcup","union.sq.big"],["bigstar","star.filled"],["bigtimes","times.big"],["bigtop","tack.b.big"],["bigtriangledown","triangle.stroked.b"],["bigtriangleup","triangle.stroked.t"],["biguplus","union.plus.big"],["bigvee","or.big"],["bigwedge","and.big"],["bigwhitestar","star.stroked"],["blackhourglass","hourglass.filled"],["blacktriangle","triangle.filled.small.t"],["blacktriangledown","triangle.filled.small.b"],["blkhorzoval","ellipse.filled.h"],["blkvertoval","ellipse.filled.v"],["bot","bot"],["boxast","ast.square"],["boxdot","dot.square"],["boxminus","minus.square"],["boxplus","plus.square"],["boxtimes","times.square"],["cap","inter"],["Cap","inter.double"],["capdot","inter.dot"],["capwedge","inter.and"],["caretinsert","caret"],["cdot","dot.op"],["cdotp","dot.c"],["checkmark","checkmark"],["circledast","ast.op.o"],["circledbullet","bullet.o"],["circledcirc","compose.o"],["circleddash","dash.o"],["circledequal","cc.nd"],["circledparallel","parallel.o"],["circledvert","bar.v.o"],["circledwhitebullet","bullet.stroked.o"],["Colon","colon.double"],["coloneq","colon.eq"],["Coloneq","colon.double.eq"],["complement","complement"],["cong","tilde.equiv"],["coprod","product.co"],["cup","union"],["Cup","union.double"],["cupdot","union.dot"],["cupleftarrow","union.arrow"],["cupvee","union.or"],["curlyeqprec","eq.prec"],["curlyeqsucc","eq.succ"],["curlyvee","or.curly"],["curlywedge","and.curly"],["curvearrowleft","arrow.ccw.half"],["curvearrowright","arrow.cw.half"],["cwopencirclearrow","arrow.cw"],["dagger","dagger"],["dashcolon","dash.colon"],["dashv","tack.l"],["Dashv","tack.l.double"],["dashVdash","tack.l.r"],["ddagger","dagger.double"],["ddddot","dot.quad"],["dddot","dot.triple"],["ddots","dots.down"],["DDownarrow","arrow.b.quad"],["Ddownarrow","arrow.b.triple"],["diameter","diameter"],["diamondcdot","diamond.stroked.dot"],["diamondsuit","suit.diamond.stroked"],["dicei","die.one"],["diceii","die.two"],["diceiii","die.three"],["diceiv","die.four"],["dicev","die.five"],["dicevi","die.six"],["div","div"],["divideontimes","times.div"],["Doteq","eq.dots"],["dotminus","minus.dot"],["dotplus","plus.dot"],["dotsim","tilde.dot"],["dottedcircle","circle.dotted"],["dottedsquare","square.stroked.dotted"],["doubleplus","plus.double"],["downarrow","arrow.b"],["Downarrow","arrow.b.double"],["downarrowbar","arrow.b.stop"],["downarrowbarred","arrow.b.struck"],["downdasharrow","arrow.b.dashed"],["downdownarrows","arrows.bb"],["downharpoonleft","harpoon.bl"],["downharpoonleftbar","harpoon.bl.stop"],["downharpoonright","harpoon.br"],["downharpoonrightbar","harpoon.br.stop"],["downharpoonsleftright","harpoons.blbr"],["downuparrows","arrows.bt"],["downupharpoonsleftright","harpoons.bltr"],["downwhitearrow","arrow.b.stroked"],["downzigzagarrow","arrow.zigzag"],["dprime","prime.double"],["dualmap","multimap.double"],["eighthnote","note.eighth.alt"],["ell","ell"],["emptysetoarr","emptyset.arrow.r"],["emptysetoarrl","emptyset.arrow.l"],["emptysetobar","emptyset.bar"],["emptysetocirc","emptyset.circle"],["eparsl","parallel.slanted.eq"],["eqcolon","eq.colon"],["eqdef","eq.def"],["eqgtr","eq.gt"],["eqless","eq.lt"],["eqsim","minus.tilde"],["equal","eq"],["equalparallel","parallel.eq"],["equiv","eq.triple"],["Equiv","eq.quad"],["equivVert","parallel.equiv"],["eqvparsl","parallel.slanted.equiv"],["errbarblackcircle","errorbar.circle.filled"],["errbarblackdiamond","errorbar.diamond.filled"],["errbarblacksquare","errorbar.square.filled"],["errbarcircle","errorbar.circle.stroked"],["errbardiamond","errorbar.diamond.stroked"],["errbarsquare","errorbar.square.stroked"],["euro","euro"],["exists","exists"],["fallingdotseq","eq.dots.down"],["fint","integral.slash"],["flat","flat"],["forall","forall"],["fourvdots","fence.dotted"],["frown","frown"],["fullouterjoin","join.l.r"],["geq","gt.eq"],["geqq","gt.equiv"],["geqslant","gt.eq.slant"],["gg","gt.double"],["ggg","gt.triple"],["gggnest","gt.triple.nested"],["gnapprox","gt.napprox"],["gneq","gt.neq"],["gneqq","gt.nequiv"],["gnsim","gt.ntilde"],["greater","gt"],["gtlpar","angle.spheric.rev"],["gtrapprox","gt.approx"],["gtrdot","gt.dot"],["gtreqless","gt.eq.lt"],["gtrless","gt.lt"],["gtrsim","gt.tilde"],["heartsuit","suit.heart.stroked"],["hknearrow","arrow.tr.hook"],["hknwarrow","arrow.tl.hook"],["hksearrow","arrow.br.hook"],["hkswarrow","arrow.bl.hook"],["horizbar","bar.h"],["hourglass","hourglass.stroked"],["hrectangle","rect.stroked.h"],["hrectangleblack","rect.filled.h"],["hyphenbullet","bullet.hyph"],["iiiint","integral.quad"],["iiint","integral.triple"],["iinfin","infinity.incomplete"],["iint","integral.double"],["Im","Im"],["imageof","image"],["in","in"],["increment","laplace"],["infty","infinity"],["int","integral"],["intbar","integral.dash"],["intBar","integral.dash.double"],["intcap","integral.inter"],["intclockwise","integral.cw"],["intcup","integral.union"],["interleave","interleave"],["intlarhk","integral.arrow.hook"],["intx","integral.times"],["inversebullet","bullet.hole"],["Join","join"],["langle","chevron.l"],["lAngle","chevron.l.double"],["langledot","chevron.l.dot"],["lat","lat"],["late","lat.eq"],["lbag","bag.l"],["lblkbrbrak","shell.l.filled"],["lbrace","brace.l"],["lBrace","brace.l.stroked"],["lbrack","bracket.l"],["lBrack","bracket.l.stroked"],["lbracklltick","bracket.l.tick.b"],["lbrackultick","bracket.l.tick.t"],["lbrbrak","shell.l"],["Lbrbrak","shell.l.stroked"],["lceil","ceil.l"],["lcurvyangle","chevron.l.curly"],["leftarrow","arrow.l"],["Leftarrow","arrow.l.double"],["leftarrowtail","arrow.l.tail"],["leftarrowtriangle","arrow.l.open"],["leftdasharrow","arrow.l.dashed"],["leftdotarrow","arrow.l.dotted"],["leftdowncurvedarrow","arrow.l.curve"],["leftharpoondown","harpoon.lb"],["leftharpoondownbar","harpoon.lb.bar"],["leftharpoonsupdown","harpoons.ltlb"],["leftharpoonup","harpoon.lt"],["leftharpoonupbar","harpoon.lt.bar"],["leftleftarrows","arrows.ll"],["leftouterjoin","join.l"],["Leftrightarrow","arrow.l.r.double"],["leftrightarrows","arrows.lr"],["leftrightarrowtriangle","arrow.l.r.open"],["leftrightharpoondowndown","harpoon.lb.rb"],["leftrightharpoondownup","harpoon.lb.rt"],["leftrightharpoons","harpoons.ltrb"],["leftrightharpoonsdown","harpoons.lbrb"],["leftrightharpoonsup","harpoons.ltrt"],["leftrightharpoonupdown","harpoon.lt.rb"],["leftrightharpoonupup","harpoon.lt.rt"],["leftrightsquigarrow","arrow.l.r.wave"],["leftsquigarrow","arrow.l.squiggly"],["leftthreearrows","arrows.lll"],["leftthreetimes","times.three.l"],["leftwavearrow","arrow.l.wave"],["leftwhitearrow","arrow.l.stroked"],["leq","lt.eq"],["leqq","lt.equiv"],["leqslant","lt.eq.slant"],["less","lt"],["lessapprox","lt.approx"],["lessdot","lt.dot"],["lesseqgtr","lt.eq.gt"],["lessgtr","lt.gt"],["lesssim","lt.tilde"],["lfloor","floor.l"],["lgblkcircle","circle.filled.big"],["lgroup","paren.l.flat"],["lgwhtcircle","circle.stroked.big"],["ll","lt.double"],["llangle","chevron.l.closed"],["llblacktriangle","triangle.filled.bl"],["llcorner","corner.l.b"],["LLeftarrow","arrow.l.quad"],["Lleftarrow","arrow.l.triple"],["lll","lt.triple"],["lllnest","lt.triple.nested"],["llparenthesis","paren.l.closed"],["lltriangle","triangle.stroked.bl"],["lmoustache","mustache.l"],["lnapprox","lt.napprox"],["lneq","lt.neq"],["lneqq","lt.nequiv"],["lnsim","lt.ntilde"],["longdashv","tack.l.long"],["Longleftarrow","arrow.l.double.long"],["longleftarrow","arrow.l.long"],["Longleftrightarrow","arrow.l.r.double.long"],["longleftrightarrow","arrow.l.r.long"],["longleftsquigarrow","arrow.l.long.squiggly"],["Longmapsfrom","arrow.l.double.long.bar"],["longmapsfrom","arrow.l.long.bar"],["longmapsto","arrow.r.long.bar"],["Longmapsto","arrow.r.double.long.bar"],["Longrightarrow","arrow.r.double.long"],["longrightarrow","arrow.r.long"],["longrightsquigarrow","arrow.r.long.squiggly"],["looparrowleft","arrow.l.loop"],["looparrowright","arrow.r.loop"],["lparen","paren.l"],["lParen","paren.l.stroked"],["lrblacktriangle","triangle.filled.br"],["lrcorner","corner.r.b"],["lrtriangle","triangle.stroked.br"],["ltimes","times.l"],["lvzigzag","fence.l"],["Lvzigzag","fence.l.double"],["maltese","maltese"],["mapsdown","arrow.b.bar"],["mapsfrom","arrow.l.bar"],["Mapsfrom","arrow.l.double.bar"],["mapsto","arrow.r.bar"],["Mapsto","arrow.r.double.bar"],["mapsup","arrow.t.bar"],["mathampersand","amp"],["mathatsign","at"],["mathcolon","colon"],["mathcomma","comma"],["mathdollar","dollar"],["mathexclam","excl"],["mathhyphen","hyph"],["mathparagraph","pilcrow"],["mathpercent","percent"],["mathperiod","dot.basic"],["mathplus","plus"],["mathquestion","quest"],["mathratio","ratio"],["mathsection","section"],["mathsemicolon","semi"],["mathslash","slash"],["mathsterling","pound"],["mathyen","yen"],["mdblkdiamond","diamond.filled.medium"],["mdblklozenge","lozenge.filled.medium"],["mdlgblkcircle","circle.filled"],["mdlgblkdiamond","diamond.filled"],["mdlgblklozenge","lozenge.filled"],["mdlgblksquare","square.filled"],["mdlgwhtcircle","circle.stroked"],["mdlgwhtdiamond","diamond.stroked"],["mdlgwhtlozenge","lozenge.stroked"],["mdlgwhtsquare","square.stroked"],["mdsmblkcircle","circle.filled.tiny"],["mdsmwhtcircle","circle.stroked.small"],["mdwhtdiamond","diamond.stroked.medium"],["mdwhtlozenge","lozenge.stroked.medium"],["measeq","eq.m"],["measuredangle","angle.arc"],["measuredangleleft","angle.arc.rev"],["measuredrightangle","angle.right.arc"],["mho","Omega.inv"],["mid","divides"],["minus","minus"],["models","models"],["mp","minus.plus"],["multimap","multimap"],["nabla","gradient"],["napprox","approx.not"],["nasymp","asymp.not"],["natural","natural"],["ncong","tilde.equiv.not"],["ne","eq.not"],["Nearrow","arrow.tr.double"],["neg","not"],["nequiv","equiv.not"],["neswarrow","arrow.tr.bl"],["nexists","exists.not"],["ngeq","gt.eq.not"],["ngtr","gt.not"],["ngtrless","gt.lt.not"],["ngtrsim","gt.tilde.not"],["nHdownarrow","arrow.b.dstruck"],["nhpar","parallel.struck"],["nHuparrow","arrow.t.dstruck"],["nhVvert","interleave.struck"],["ni","in.rev"],["nLeftarrow","arrow.l.double.not"],["nleftarrow","arrow.l.not"],["nLeftrightarrow","arrow.l.r.double.not"],["nleftrightarrow","arrow.l.r.not"],["nleq","lt.eq.not"],["nless","lt.not"],["nlessgtr","lt.gt.not"],["nlesssim","lt.tilde.not"],["nmid","divides.not"],["nni","in.rev.not"],["notin","in.not"],["nparallel","parallel.not"],["nprec","prec.not"],["npreccurlyeq","prec.curly.eq.not"],["nRightarrow","arrow.r.double.not"],["nrightarrow","arrow.r.not"],["nsim","tilde.not"],["nsimeq","tilde.eq.not"],["nsqsubseteq","subset.eq.sq.not"],["nsqsupseteq","supset.eq.sq.not"],["nsubset","subset.not"],["nsubseteq","subset.eq.not"],["nsucc","succ.not"],["nsucccurlyeq","succ.curly.eq.not"],["nsupset","supset.not"],["nsupseteq","supset.eq.not"],["ntrianglelefteq","lt.tri.eq.not"],["ntrianglerighteq","gt.tri.eq.not"],["nvartriangleleft","lt.tri.not"],["nvartriangleright","gt.tri.not"],["nVdash","forces.not"],["nvdash","tack.r.not"],["nvDash","tack.r.double.not"],["nvinfty","infinity.bar"],["nvLeftarrow","arrow.l.double.struck"],["nvleftarrow","arrow.l.struck"],["nVleftarrow","arrow.l.dstruck"],["nvleftarrowtail","arrow.l.tail.struck"],["nVleftarrowtail","arrow.l.tail.dstruck"],["nvLeftrightarrow","arrow.l.r.double.struck"],["nvleftrightarrow","arrow.l.r.struck"],["nVleftrightarrow","arrow.l.r.dstruck"],["nvRightarrow","arrow.r.double.struck"],["nvrightarrow","arrow.r.struck"],["nVrightarrow","arrow.r.dstruck"],["nvrightarrowtail","arrow.r.tail.struck"],["nVrightarrowtail","arrow.r.tail.dstruck"],["nvtwoheadleftarrow","arrow.l.twohead.struck"],["nVtwoheadleftarrow","arrow.l.twohead.dstruck"],["nvtwoheadleftarrowtail","arrow.l.twohead.tail.struck"],["nVtwoheadleftarrowtail","arrow.l.twohead.tail.dstruck"],["nvtwoheadrightarrow","arrow.r.twohead.struck"],["nVtwoheadrightarrow","arrow.r.twohead.dstruck"],["nvtwoheadrightarrowtail","arrow.r.twohead.tail.struck"],["nVtwoheadrightarrowtail","arrow.r.twohead.tail.dstruck"],["Nwarrow","arrow.tl.double"],["nwsearrow","arrow.tl.br"],["obrbrak","shell.t"],["obslash","backslash.o"],["odiv","div.o"],["odot","dot.o"],["odotslashdot","div.slanted.o"],["ogreaterthan","gt.o"],["oiiint","integral.vol"],["oiint","integral.surf"],["oint","integral.cont"],["ointctrclockwise","integral.cont.ccw"],["olessthan","lt.o"],["ominus","minus.o"],["operp","perp.o"],["oplus","plus.o"],["opluslhrim","plus.o.l"],["oplusrhrim","plus.o.r"],["origof","original"],["oslash","slash.o"],["otimes","times.o"],["otimeshat","times.o.hat"],["otimeslhrim","times.o.l"],["otimesrhrim","times.o.r"],["parallel","parallel"],["parallelogram","parallelogram.stroked"],["parallelogramblack","parallelogram.filled"],["parsim","parallel.tilde"],["partial","partial"],["pentagon","penta.stroked"],["pentagonblack","penta.filled"],["perp","perp"],["pm","plus.minus"],["prec","prec"],["Prec","prec.double"],["precapprox","prec.approx"],["preccurlyeq","prec.curly.eq"],["preceq","prec.eq"],["preceqq","prec.equiv"],["precnapprox","prec.napprox"],["precneq","prec.neq"],["precneqq","prec.nequiv"],["precnsim","prec.ntilde"],["precsim","prec.tilde"],["prime","prime"],["prod","product"],["propto","prop"],["QED","qed"],["qprime","prime.quad"],["quarternote","note.quarter.alt"],["questeq","eq.quest"],["Question","quest.double"],["rangle","chevron.r"],["rAngle","chevron.r.double"],["rangledot","chevron.r.dot"],["rangledownzigzagarrow","angle.azimuth"],["rbag","bag.r"],["rblkbrbrak","shell.r.filled"],["rbrace","brace.r"],["rBrace","brace.r.stroked"],["rbrack","bracket.r"],["rBrack","bracket.r.stroked"],["rbracklrtick","bracket.r.tick.b"],["rbrackurtick","bracket.r.tick.t"],["rbrbrak","shell.r"],["Rbrbrak","shell.r.stroked"],["rceil","ceil.r"],["rcurvyangle","chevron.r.curly"],["Re","Re"],["revangle","angle.rev"],["revemptyset","emptyset.rev"],["revnmid","divides.not.rev"],["rfloor","floor.r"],["rgroup","paren.r.flat"],["rightangle","angle.right"],["rightanglemdot","angle.right.dot"],["rightanglesqr","angle.right.square"],["rightarrow","arrow.r"],["Rightarrow","arrow.r.double"],["rightarrowbar","arrow.r.stop"],["rightarrowonoplus","plus.o.arrow"],["rightarrowtail","arrow.r.tail"],["rightarrowtriangle","arrow.r.open"],["rightdasharrow","arrow.r.dashed"],["rightdotarrow","arrow.r.dotted"],["rightdowncurvedarrow","arrow.r.curve"],["rightharpoondown","harpoon.rb"],["rightharpoondownbar","harpoon.rb.stop"],["rightharpoonsupdown","harpoons.rtrb"],["rightharpoonup","harpoon.rt"],["rightharpoonupbar","harpoon.rt.stop"],["rightleftarrows","arrows.rl"],["rightleftharpoons","harpoons.rtlb"],["rightleftharpoonsdown","harpoons.rblb"],["rightleftharpoonsup","harpoons.rtlt"],["rightouterjoin","join.r"],["rightrightarrows","arrows.rr"],["rightsquigarrow","arrow.r.squiggly"],["rightthreearrows","arrows.rrr"],["rightthreetimes","times.three.r"],["rightwavearrow","arrow.r.wave"],["rightwhitearrow","arrow.r.stroked"],["risingdotseq","eq.dots.up"],["rmoustache","mustache.r"],["rparen","paren.r"],["rParen","paren.r.stroked"],["rrangle","chevron.r.closed"],["RRightarrow","arrow.r.quad"],["Rrightarrow","arrow.r.triple"],["rrparenthesis","paren.r.closed"],["rsolbar","backslash.not"],["rtimes","times.r"],["rvzigzag","fence.r"],["Rvzigzag","fence.r.double"],["Searrow","arrow.br.double"],["setminus","without"],["sharp","sharp"],["shortdowntack","tack.b.short"],["shortlefttack","tack.l.short"],["shortuptack","tack.t.short"],["sim","tilde.op"],["sime","tilde.eq"],["similarleftarrow","arrow.l.tilde"],["similarrightarrow","arrow.r.tilde"],["simneqq","tilde.nequiv"],["smallblacktriangleleft","triangle.filled.small.l"],["smallblacktriangleright","triangle.filled.small.r"],["smallin","in.small"],["smallni","in.rev.small"],["smalltriangleleft","triangle.stroked.small.l"],["smalltriangleright","triangle.stroked.small.r"],["smashtimes","smash"],["smblkcircle","bullet"],["smblkdiamond","diamond.filled.small"],["smblklozenge","lozenge.filled.small"],["smeparsl","parallel.slanted.eq.tilde"],["smile","smile"],["smt","smt"],["smte","smt.eq"],["smwhtcircle","bullet.stroked"],["smwhtdiamond","diamond.stroked.small"],["smwhtlozenge","lozenge.stroked.small"],["sphericalangle","angle.spheric"],["sphericalangleup","angle.spheric.t"],["sqcap","inter.sq"],["Sqcap","inter.sq.double"],["sqcup","union.sq"],["Sqcup","union.sq.double"],["sqint","integral.square"],["sqsubset","subset.sq"],["sqsubseteq","subset.eq.sq"],["sqsubsetneq","subset.sq.neq"],["sqsupset","supset.sq"],["sqsupseteq","supset.eq.sq"],["sqsupsetneq","supset.sq.neq"],["squoval","square.stroked.rounded"],["sslash","slash.double"],["star","star.op"],["stareq","eq.star"],["subset","subset"],["Subset","subset.double"],["subsetdot","subset.dot"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["Succ","succ.double"],["succapprox","succ.approx"],["succcurlyeq","succ.curly.eq"],["succeq","succ.eq"],["succeqq","succ.equiv"],["succnapprox","succ.napprox"],["succneq","succ.neq"],["succneqq","succ.nequiv"],["succnsim","succ.ntilde"],["succsim","succ.tilde"],["sum","sum"],["sumint","sum.integral"],["supset","supset"],["Supset","supset.double"],["supsetdot","supset.dot"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["Swarrow","arrow.bl.double"],["therefore","therefore"],["threedangle","angle.spatial"],["threedotcolon","colon.tri.op"],["tieinfty","infinity.tie"],["times","times"],["tminus","miny"],["top","tack.b"],["tplus","tiny"],["trianglecdot","triangle.stroked.dot"],["triangledown","triangle.stroked.small.b"],["triangleleft","triangle.stroked.l"],["trianglelefteq","lt.tri.eq"],["triangleminus","minus.triangle"],["triangleplus","plus.triangle"],["triangleq","eq.delta"],["triangleright","triangle.stroked.r"],["trianglerighteq","gt.tri.eq"],["triangletimes","times.triangle"],["tripleplus","plus.triple"],["trprime","prime.triple"],["trslash","slash.triple"],["turnediota","iota.inv"],["twoheaddownarrow","arrow.b.twohead"],["twoheadleftarrow","arrow.l.twohead"],["twoheadleftarrowtail","arrow.l.twohead.tail"],["twoheadmapsfrom","arrow.l.twohead.bar"],["twoheadmapsto","arrow.r.twohead.bar"],["twoheadrightarrow","arrow.r.twohead"],["twoheadrightarrowtail","arrow.r.twohead.tail"],["twoheaduparrow","arrow.t.twohead"],["twonotes","note.eighth.beamed"],["ubrbrak","shell.b"],["ulblacktriangle","triangle.filled.tl"],["ulcorner","corner.l.t"],["ultriangle","triangle.stroked.tl"],["uminus","union.minus"],["underbrace","brace.b"],["underbracket","bracket.b"],["underparen","paren.b"],["unicodecdots","dots.h.c"],["unicodeellipsis","dots.h"],["upand","amp.inv"],["uparrow","arrow.t"],["Uparrow","arrow.t.double"],["uparrowbarred","arrow.t.struck"],["upbackepsilon","epsilon.alt.rev"],["updasharrow","arrow.t.dashed"],["upDigamma","Digamma"],["updigamma","digamma"],["Updownarrow","arrow.t.b.double"],["updownarrows","arrows.tb"],["updownharpoonleftleft","harpoon.tl.bl"],["updownharpoonleftright","harpoon.tl.br"],["updownharpoonrightleft","harpoon.tr.bl"],["updownharpoonrightright","harpoon.tr.br"],["updownharpoonsleftright","harpoons.tlbr"],["upharpoonleft","harpoon.tl"],["upharpoonleftbar","harpoon.tl.bar"],["upharpoonright","harpoon.tr"],["upharpoonrightbar","harpoon.tr.bar"],["upharpoonsleftright","harpoons.tltr"],["uplus","union.plus"],["upuparrows","arrows.tt"],["upwhitearrow","arrow.t.stroked"],["urblacktriangle","triangle.filled.tr"],["urcorner","corner.r.t"],["urtriangle","triangle.stroked.tr"],["UUparrow","arrow.t.quad"],["Uuparrow","arrow.t.triple"],["varclubsuit","suit.club.stroked"],["varhexagon","hexa.stroked"],["varhexagonblack","hexa.filled"],["varnothing","emptyset"],["varointclockwise","integral.cont.cw"],["varspadesuit","suit.spade.stroked"],["vartriangle","triangle.stroked.small.t"],["vartriangleleft","lt.tri"],["vartriangleright","gt.tri"],["Vbar","tack.t.double"],["Vdash","forces"],["vdash","tack.r"],["vDash","tack.r.double"],["vdots","dots.v"],["vee","or"],["Vee","or.double"],["veedot","or.dot"],["veeeq","eq.equi"],["vert","bar.v"],["Vert","bar.v.double"],["vlongdash","tack.r.long"],["vrectangle","rect.stroked.v"],["vrectangleblack","rect.filled.v"],["Vvert","bar.v.triple"],["vysmblkcircle","circle.filled.small"],["vysmwhtcircle","circle.stroked.tiny"],["wedge","and"],["Wedge","and.double"],["wedgedot","and.dot"],["wedgeq","eq.est"],["whiteinwhitetriangle","triangle.stroked.nested"],["whthorzoval","ellipse.stroked.h"],["whtvertoval","ellipse.stroked.v"],["wideangledown","angle.obtuse"],["wr","wreath"],["xsol","slash.big"]]),Bf=new Map([["gets","leftarrow"],["iff","Longleftrightarrow"],["implies","Longrightarrow"]]);for(let[e,n]of Rf)Ge.has(e)||Ge.set(e,n);var eo=new Map;for(let[e,n]of Array.from(Ge.entries()).reverse())eo.set(n,e);eo.set("oo","infty");var Nf=new Map([["top","top"],["frac","frac"],["tilde","tilde"],["hat","hat"],["upright","mathrm"],["bold","boldsymbol"],["infinity","infty"],["diff","partial"]]);for(let[e,n]of Nf)eo.set(e,n);for(let[e,n]of Bf)Ge.has(e)||Ge.set(e,Ge.get(n));var Zn=class extends Error{constructor(n,t=null){super(n);U(this,"node");this.name="ConverterError",this.node=t}},Ff=T.NONE.toNode(),Df=["dim","id","im","mod","Pr","sech","csch"];function Of(e){if(/^[a-zA-Z0-9]$/.test(e))return e;if(e==="/")return"\\/";if(["\\\\","\\{","\\}","\\%"].includes(e))return e.substring(1);if(["\\$","\\#","\\&","\\_"].includes(e))return e;if(e.startsWith("\\")){let n=e.slice(1);return Ge.has(n)?Ge.get(n):null}return e}function Qt(e,n){let t;switch(e.type){case 0:return T.NONE;case 2:t=1;break;case 1:t=2;break;case 3:t=3;break;case 4:t=5;break;case 5:t=6;break;case 6:t=8;break;case 7:{if(e.value==="\\\\")return new T(7,"\\");if(e.value==="\\!")return new T(1,"#h(-math.thin.amount)");if(e.value==="~"){let i=Ge.get("~");return new T(1,i)}else if(Ge.has(e.value.substring(1))){let i=Ge.get(e.value.substring(1));return new T(1,i)}else throw new Error(`Unknown control sequence: ${e.value}`)}default:throw Error(`Unknown token type: ${e.type}`)}let r=Of(e.value);if(r===null){if(n.nonStrict)return new T(t,e.value.substring(1));throw new Zn(`Unknown token: ${e.value}`,e)}return new T(t,r)}function zf(e,n){let[t,r]=e.args;if(n.optimize&&["\\overset{\\text{def}}{=}","\\overset{d e f}{=}"].includes(e.toString()))return new T(1,"eq.def").toNode();let i=new Le(new T(1,"limits"),[we(r,n)]);return new Ji({base:i,sup:we(t,n),sub:null})}function Pf(e,n){let[t,r]=e.args,i=new Le(new T(1,"limits"),[we(r,n)]);return new Ji({base:i,sub:we(t,n),sup:null})}function Hf(e){let n={},t={l:"#left",c:"#center",r:"#right"},r=Array.from(e),i=[],a=0;for(let s of r)s==="|"?i.push(a):(s==="l"||s==="c"||s==="r")&&a++;if(i.length>0){let s;i.length===1?s=`#${i[0]}`:s=`#(vline: (${i.join(", ")}))`,n.augment=new T(3,s).toNode()}let o=r.map(s=>t[s]).filter(s=>s!==void 0).map(s=>new T(3,s).toNode());if(o.length>0){let s=o.every(u=>u.eq(o[0]));n.align=s?o[0]:new T(3,"#center").toNode()}return n}var Uf=new T(2,"("),jf=new T(2,")");function Wi(e){return["group","supsub","matrixLike","fraction","empty"].includes(e.type)?new Ue(null,{left:Uf,right:jf,body:e}):e}function we(e,n){switch(e.type){case"terminal":return Qt(e.head,n).toNode();case"text":{let i=e;return new T(4,i.head.value).toNode()}case"ordgroup":let r=e;return new Vi(r.items.map(i=>we(i,n)));case"supsub":{let i=e,{base:a,sup:o,sub:s}=i;if(a&&a.type==="funcCall"&&a.head.value==="\\overbrace"&&o)return new Le(new T(1,"overbrace"),[we(a.args[0],n),we(o,n)]);if(a&&a.type==="funcCall"&&a.head.value==="\\underbrace"&&s)return new Le(new T(1,"underbrace"),[we(a.args[0],n),we(s,n)]);let u={base:we(a,n),sup:o?we(o,n):null,sub:s?we(s,n):null};return u.sup&&(u.sup=Wi(u.sup)),u.sub&&(u.sub=Wi(u.sub)),new Ji(u)}case"leftright":{let i=e,{left:a,right:o}=i,s=we(i.body,n);if(n.optimize&&a!==null&&o!==null){let f=Qt(a,n),d=Qt(o,n);if(a.value==="\\|"&&o.value==="\\|")return new Le(new T(1,"norm"),[s]);if(["[]","()","\\{\\}","\\lfloor\\rfloor","\\lceil\\rceil","\\lfloor\\rceil"].includes(a.value+o.value))return new Vi([f.toNode(),s,d.toNode()])}let u=function(f){return["(",")","{","["].includes(f.value)?new T(2,"\\"+f.value):f},c=a?Qt(a,n):null,p=o?Qt(o,n):null;return c&&c.value==="<"&&(c=new T(1,"chevron.l")),p&&p.value===">"&&(p=new T(1,"chevron.r")),c===null&&p!==null&&(p=u(p)),p===null&&c!==null&&(c=u(c)),new Ue(T.LR,{body:s,left:c,right:p})}case"funcCall":{let i=e,a=we(i.args[0],n);if(i.head.value==="\\sqrt"&&i.data){let o=we(i.data,n);return new Le(new T(1,"root"),[o,a])}if(i.head.value==="\\mathbf"){let o=new Le(new T(1,"bold"),[a]);return new Le(new T(1,"upright"),[o])}if(i.head.value==="\\overrightarrow")return new Le(new T(1,"arrow"),[a]);if(i.head.value==="\\overleftarrow")return new Le(new T(1,"accent"),[a,new T(1,"arrow.l").toNode()]);if(i.head.value==="\\operatorname"||i.head.value==="\\operatorname*"){if(n.optimize&&Df.includes(a.head.value))return new T(1,a.head.value).toNode();let o=new Le(new T(1,"op"),[new T(4,a.head.value).toNode()]);return i.head.value==="\\operatorname*"&&o.setOptions({limits:new T(3,"#true").toNode()}),o}if(i.head.value==="\\textcolor"){let o=new _f(new T(1,"#text"),[we(i.args[1],n)]);return o.setOptions({fill:a}),o}if(i.head.value==="\\substack"||i.head.value==="\\displaylines"||i.head.value==="\\mathinner")return a;if(i.head.value==="\\mathrel")return new Le(new T(1,"class"),[new T(4,"relation").toNode(),a]);if(i.head.value==="\\mathbin")return new Le(new T(1,"class"),[new T(4,"binary").toNode(),a]);if(i.head.value==="\\mathop")return new Le(new T(1,"class"),[new T(4,"large").toNode(),a]);if(i.head.value==="\\not"){let o=we(i.args[0],n);if(Ee(o.type==="terminal"),o.head.type===1)return new T(1,o.head.value+".not").toNode();if(o.head.value==="=")return new T(1,"eq.not").toNode();throw new Error(`Not supported: \\not ${o.head.value}`)}if(i.head.value==="\\pmod"){let o=new Vi([new T(1,"mod").toNode(),a]);return new Ue(null,{body:o,left:T.LEFT_PAREN,right:T.RIGHT_PAREN})}if(i.head.value==="\\overset")return zf(i,n);if(i.head.value==="\\underset")return Pf(i,n);if(["\\bra","\\ket","\\braket","\\set","\\Bra","\\Ket","\\Braket","\\Set"].includes(i.head.value)){let o=function(s,u){let c=new Le(new T(1,"mid"),[T.VERTICAL_BAR.toNode()]);if(s.type==="terminal"&&s.head.eq(T.VERTICAL_BAR))return c;if(s.type==="group"){let p=s;for(let f=0;f<p.items.length&&!(p.items[f].type==="terminal"&&p.items[f].head.eq(T.VERTICAL_BAR)&&(p.items[f]=c,u));f++);return p}else return s};var t=o;switch(i.head.value){case"\\bra":return new Ue(null,{body:a,left:T.LEFT_ANGLE,right:T.VERTICAL_BAR});case"\\ket":return new Ue(null,{body:a,left:T.VERTICAL_BAR,right:T.RIGHT_ANGLE});case"\\braket":return new Ue(null,{body:a,left:T.LEFT_ANGLE,right:T.RIGHT_ANGLE});case"\\set":return new Ue(null,{body:a,left:T.LEFT_BRACE,right:T.RIGHT_BRACE});case"\\Bra":return new Ue(T.LR,{body:a,left:T.LEFT_ANGLE,right:T.VERTICAL_BAR});case"\\Ket":return new Ue(T.LR,{body:a,left:T.VERTICAL_BAR,right:T.RIGHT_ANGLE});case"\\Braket":return new Ue(T.LR,{body:o(a,!1),left:T.LEFT_ANGLE,right:T.RIGHT_ANGLE});case"\\Set":return new Ue(T.LR,{body:o(a,!0),left:T.LEFT_BRACE,right:T.RIGHT_BRACE});default:}}if(i.head.value==="\\frac"&&n.fracToSlash)return new If(i.args.map(o=>we(o,n)).map(Wi));if(n.optimize){if(i.head.value==="\\mathbb"&&/^\\mathbb{[A-Z]}$/.test(i.toString()))return new T(1,a.head.value.repeat(2)).toNode();if(i.head.value==="\\mathrm"&&i.toString()==="\\mathrm{d}")return new T(1,"dif").toNode()}return new Le(Qt(i.head,n),i.args.map(o=>we(o,n)))}case"beginend":{let i=e,a=i.matrix.map(o=>o.map(s=>we(s,n)));if(i.head.value.startsWith("align"))return new ft(null,a);if(i.head.value==="cases")return new ft(ft.CASES,a);if(i.head.value==="subarray"){if(i.data)switch(i.data.head.value){case"r":a.forEach(s=>s.push(T.EMPTY.toNode()));break;case"l":a.forEach(s=>s.unshift(T.EMPTY.toNode()));break;default:break}return new ft(null,a)}if(i.head.value==="array"){let o={delim:Ff};Ee(i.data!==null&&i.head.type===3);let s=Hf(i.data.head.value);Object.assign(o,s);let u=new ft(ft.MAT,a);return u.setOptions(o),u}if(i.head.value.endsWith("matrix")){let o=new ft(ft.MAT,a),s;switch(i.head.value){case"matrix":s=T.NONE;break;case"pmatrix":return o;case"bmatrix":s=new T(4,"[");break;case"Bmatrix":s=new T(4,"{");break;case"vmatrix":s=new T(4,"|");break;case"Vmatrix":{s=new T(1,"bar.v.double");break}default:throw new Zn(`Unimplemented beginend: ${i.head}`,i)}return o.setOptions({delim:s.toNode()}),o}throw new Zn(`Unimplemented beginend: ${i.head}`,i)}default:throw new Zn(`Unimplemented node type: ${e.type}`,e)}}var c1=new j(1,",").toNode();var Gf=Array.from(Xi.keys());function $f(){return`(${Gf.map(n=>(n=n.replaceAll("|","\\|"),n=n.replaceAll(".","\\."),n=n.replaceAll("[","\\["),n=n.replaceAll("]","\\]"),n)).join("|")})`}var Vf=$f(),p1=new Map([[String.raw`//[^\n]*`,e=>new T(5,e.text().substring(2))],[String.raw`/`,e=>new T(2,e.text())],[String.raw`[_^&]`,e=>new T(7,e.text())],[String.raw`\r?\n`,e=>new T(8,`
|
|
70
|
+
`)],[String.raw`\s+`,e=>new T(6,e.text())],[String.raw`\\[$&#_]`,e=>new T(2,e.text())],[String.raw`\\\n`,e=>[new T(7,"\\"),new T(8,`
|
|
71
|
+
`)]],[String.raw`\\\s`,e=>[new T(7,"\\"),new T(6," ")]],[String.raw`\\\S`,e=>new T(7,"")],[String.raw`"([^"]|(\\"))*"`,e=>{let n=e.text().substring(1,e.text().length-1);return n.replaceAll('\\"','"'),new T(4,n)}],[Vf,e=>{let n=e.text(),t=Xi.get(n);return new T(1,t)}],[String.raw`[0-9]+(\.[0-9]+)?`,e=>new T(2,e.text())],[String.raw`[+\-*/=\'<>!.,;?()\[\]|]`,e=>new T(2,e.text())],[String.raw`#h\((.+?)\)`,e=>{let n=e.reMatchArray();return[new T(1,"#h"),new T(2,"("),new T(3,n[1]),new T(2,")")]}],[String.raw`#none`,e=>new T(0,e.text())],[String.raw`#?[a-zA-Z\.]+`,e=>new T(e.text().length===1?2:1,e.text())],[String.raw`.`,e=>new T(2,e.text())]]);var f1=new T(2,"/").toNode();var h1=new T(7,"_"),m1=new T(7,"^"),d1=new T(2,"("),g1=new T(2,")"),w1=new T(2,"["),b1=new T(2,"]"),x1=new T(2,"{"),k1=new T(2,"}"),y1=new T(2,","),T1=new T(2,";"),S1=new T(7,"&");function er(e,n={}){let t={nonStrict:!0,preferShorthands:!0,keepSpaces:!1,fracToSlash:!0,inftyToOo:!1,optimize:!0,customTexMacros:{}};if(typeof n!="object")throw new Error("options must be an object");for(let o in t)o in n&&(t[o]=n[o]);let r=Af(e,t.customTexMacros),i=we(r,t),a=new Mf(t);return a.serialize(i),a.finalize()}function De(e,n){return e.map(t=>Yf(t,n)).filter(ct).join("")}function Yf(e,n){let{definitions:t,footnoteDefinitions:r}=n;switch(e.type){case"text":return Lt(e.value);case"strong":return`*${De(e.children,n)}*`;case"emphasis":return`_${De(e.children,n)}_`;case"delete":return`#strike[${De(e.children,n)}]`;case"mark":return`#highlight[${De(e.children,n)}]`;case"subscript":return`#sub[${De(e.children,n)}]`;case"superscript":return`#super[${De(e.children,n)}]`;case"footnoteReference":{let i=e,a=r.get(i.identifier.toLowerCase());if(!a)return n.onError&&n.onError({severity:"warning",message:`Footnote reference [^${i.identifier}] has no matching definition`,context:"inline rendering",details:{identifier:i.identifier}}),"";try{if(!n.renderBlock)throw new Error("renderBlock not available in context");return`#footnote[${a.children.map(s=>n.renderBlock(s,0,n)).filter(ct).join(" ").trim()}]`}catch(o){let s=o instanceof Error?o.message:String(o);return n.onError&&n.onError({severity:"error",message:`Error rendering footnote [^${i.identifier}]: ${s}`,context:"inline rendering",originalError:o}),""}}case"inlineCode":return Wf(e);case"inlineMath":{let i=e,a=i.value.trim();try{let o=er(a);return i.position?.end?.offset!=null&&i.position?.start?.offset!=null&&i.position.end.offset-i.position.start.offset>=a.length+4?`$ ${o} $`:`$${o}$`}catch(o){let s=o instanceof Error?o.message:String(o);return n.onError&&n.onError({severity:"warning",message:`Failed to convert inline math LaTeX to Typst: ${s}`,context:"inline math rendering",originalError:o,details:{latex:a}}),i.position?.end?.offset!=null&&i.position?.start?.offset!=null&&i.position.end.offset-i.position.start.offset>=a.length+4?`$ ${a} $`:`$${a}$`}}case"image":return Kf(e,n);case"link":return Qf(e,n);case"linkReference":return Zf(e,n);case"break":return`\\
|
|
72
|
+
`;case"html":return Lt(e.value);default:return null}}function Wf(e){return`\`${e.value.replace(/`/g,"\\`")}\``}function Kf(e,n){if(/^https?:\/\//i.test(e.url)){n.warnings.externalImages=!0;try{return`#external-image(
|
|
73
|
+
"${ut(e.url)}"
|
|
72
74
|
)`}catch{return`#external-image(
|
|
73
75
|
"${e.url}"
|
|
74
|
-
)`}}else try{return`#image("${
|
|
75
|
-
`)}function
|
|
76
|
-
`)}
|
|
77
|
-
`)}function
|
|
78
|
-
`)}function
|
|
79
|
-
`),
|
|
76
|
+
)`}}else try{return`#image("${ut(e.url)}")`}catch{return`#image("${e.url}")`}}function Qf(e,n){let t=ut(e.url),r=De(e.children,n);return r.trim()?`#link("${t}")[${r}]`:`#link("${t}")[${Lt(e.url)}]`}function Zf(e,n){let{definitions:t}=n,r=t.get(e.identifier.toLowerCase()),i=De(e.children,n);if(!r)return n.onError&&n.onError({severity:"warning",message:`Link reference [${e.identifier}] has no matching definition`,context:"inline rendering",details:{identifier:e.identifier}}),i||Lt(e.label||e.identifier);try{let a=ut(r.url);return i.trim()?`#link("${a}")[${i}]`:`#link("${a}")[${Lt(r.url)}]`}catch(a){let o=a instanceof Error?a.message:String(a);return n.onError&&n.onError({severity:"error",message:`Error rendering link reference [${e.identifier}]: ${o}`,context:"inline rendering",originalError:a}),i||Lt(e.label||e.identifier)}}function _t(e,n,t){try{switch(e.type){case"yaml":case"definition":case"footnoteDefinition":return null;case"heading":return Jf(e,n,t);case"paragraph":return Be(ss(e,t),n);case"list":return to(e,n,t);case"code":return th(e,n);case"blockquote":return rh(e,n,t);case"thematicBreak":return Be("#line(length: 100%, stroke: 0.6pt)",n);case"table":return nh(e,n,t);case"math":return Xf(e,n,t);default:return t.onError&&t.onError({severity:"warning",message:`Unknown block node type: ${e.type}`,context:"block rendering",details:{nodeType:e.type}}),null}}catch(r){let i=r instanceof Error?r.message:String(r);return t.onError&&t.onError({severity:"error",message:`Error rendering block node: ${i}`,context:"block rendering",originalError:r,details:{nodeType:e.type}}),null}}function Xf(e,n,t){let r=e.value.trim();try{let i=er(r);return Be(`$ ${i} $`,n)}catch(i){let a=i instanceof Error?i.message:String(i);return t.onError&&t.onError({severity:"warning",message:`Failed to convert block math LaTeX to Typst: ${a}`,context:"block math rendering",originalError:i,details:{latex:r}}),Be(`$ ${r} $`,n)}}function Jf(e,n,t){let r=Math.min(Math.max(e.depth,1),6);return Be(`${"=".repeat(r)} ${De(e.children,t)}`,n)}function ss(e,n){return qt(e.children,n.definitions).trim().toLowerCase()==="[toc]"?"#outline(title: auto, indent: auto)":De(e.children,n)}function to(e,n,t){let r=e.ordered?"+":"-";return e.children.map(i=>eh(i,r,n,t)).filter(ct).join(`
|
|
77
|
+
`)}function eh(e,n,t,r){let i=" ".repeat(t),a=t+1,o=e.children[0],s=[];if(o?.type==="paragraph"){s.push(`${i}${n} ${ss(o,r)}`);for(let u of e.children.slice(1)){if(u.type==="list"){s.push(to(u,a,r));continue}let c=_t(u,a,r);c&&s.push(c)}return s.join(`
|
|
78
|
+
`)}s.push(`${i}${n}`);for(let u of e.children){if(u.type==="list"){s.push(to(u,a,r));continue}let c=_t(u,a,r);c&&s.push(c)}return s.join(`
|
|
79
|
+
`)}function th(e,n){let t=e.lang?.trim()?e.lang.trim():"",r=e.value.replace(/\n$/,""),i="`".repeat(Math.max(3,Za(r)+1)),a=t?`${i}${t}`:i,o=Be(r,n);return[Be(a,n),o,Be(i,n)].join(`
|
|
80
|
+
`)}function nh(e,n,t){try{let r=e.children;if(r.length===0)return t.onError&&t.onError({severity:"warning",message:"Empty table found (no rows)",context:"table rendering"}),"";let i=r[0],a=i.children.length;if(a===0)return t.onError&&t.onError({severity:"warning",message:"Table has no columns",context:"table rendering"}),"";let o={left:"left",right:"right",center:"center"},s=(e.align??[]).map(m=>o[m??"left"]??"left"),u=Array(a).fill("1fr").join(", "),c=[];for(let m of i.children){let x=De(m.children,t);c.push(`[*${x}*]`)}let p=[];for(let m=1;m<r.length;m++){let x=r[m];for(let I of x.children){let A=De(I.children,t);p.push(`[${A}]`)}}let f=s.slice(0,a).map(m=>m).join(", "),d=["#table(",` columns: (${u}),`,` align: (${f}),`,` table.header(${c.join(", ")}),`,` ${p.join(", ")}`,")"];return Be(d.join(`
|
|
81
|
+
`),n)}catch(r){let i=r instanceof Error?r.message:String(r);return t.onError&&t.onError({severity:"error",message:`Error rendering table: ${i}`,context:"table rendering",originalError:r}),""}}function rh(e,n,t){let r=e.children.map(a=>_t(a,0,t)).filter(ct).join(`
|
|
80
82
|
|
|
81
|
-
`),i=
|
|
83
|
+
`),i=Be("#quote[",n);return r.trim()?[i,Be(r,n+1),Be("]",n)].join(`
|
|
82
84
|
`):`${i}
|
|
83
|
-
${
|
|
84
|
-
`)):null}function
|
|
85
|
+
${Be("]",n)}`}function ih(e){let{warnings:n}=e,t=[];return n.externalImages?(t.push("// ========================= WARNINGS ========================="),t.push(""),t.push("// ------------------------------------------------------------"),t.push("// NOTE: The conversion did not work perfectly due to intrinsic"),t.push("// Markdown to Typst limitations. The following custom"),t.push("// functions, set or show rules are used to visually display"),t.push("// these minor conversion warnings to the user."),t.push("// ------------------------------------------------------------"),t.push(""),n.externalImages&&(t.push("// EXTERNAL IMAGES WERE DETECTED!"),t.push("#let external-image(url) = {"),t.push(" rect(radius: 4pt, inset: 20pt,)["),t.push(" #align(center)["),t.push(" #text()["),t.push(" External image detected: \\"),t.push(" #link(url)"),t.push(" ]"),t.push(" ]"),t.push(" ]"),t.push("}"),t.push("")),t.push("// ============================================================"),t.join(`
|
|
86
|
+
`)):null}function us(e,n,t,r){try{let{title:i,authors:a,description:o,keywords:s,date:u,abstract:c,lang:p,region:f}=n,m=(t!==null&&Qa(i)!==""?e.children.filter((k,E)=>E!==t):e.children).map(k=>_t(k,0,r)).filter(ct).join(`
|
|
85
87
|
|
|
86
|
-
`),
|
|
87
|
-
`):
|
|
88
|
+
`),x=[],I=i||a.length>0||o||u||s&&s.length>0;if(I)try{x.push("// =============== FRONTMATTER ==============="),x.push("");let k=[];if(i&&k.push(`title: [${i}]`),a.length>0&&k.push(`author: ${Ti(a.map(E=>`"${ut(E)}"`))}`),o&&k.push(`description: [${o}]`),s&&s.length>0&&k.push(`keywords: ${Ti(s.map(E=>`"${ut(E)}"`))}`),u)try{let E=Yl(u);k.push(`date: ${E}`)}catch(E){let q=E instanceof Error?E.message:String(E);r.onError&&r.onError({severity:"warning",message:`Failed to parse date "${u}": ${q}`,context:"output building",originalError:E}),k.push("date: auto")}x.push("#set document(");for(let E=0;E<k.length;E++){let q=E===k.length-1;x.push(` ${k[E]}${q?"":","}`)}x.push(")")}catch(k){let E=k instanceof Error?k.message:String(k);r.onError&&r.onError({severity:"error",message:`Error building document metadata: ${E}`,context:"output building",originalError:k})}if(c&&(x.length>0&&x.push(""),x.push(`#let abstract = [${c}]`)),(i||a.length>0||u||c)&&I){x.push("");let k=[];i&&k.push("#title() \\ \\"),a.length>0&&k.push('#context document.author.join(", ", last: " & ") \\ \\'),u&&k.push("#context document.date.display() \\ \\ "),c&&(k.push("\\ *Abstract* \\"),k.push("#abstract")),x.push("#align(center)["),x.push(` ${k.join(" ")}`),x.push("]")}if(p||f){x.length>0&&x.push("");let k=[];p&&k.push(`lang: "${p}"`),f&&k.push(`region: "${f}"`),x.push(`#set text(${k.join(", ")})`)}I&&(x.push(""),x.push("// ============================================"));let A=ih(r);return A&&(x.push(""),x.push(A)),x.length>0&&m&&x.push(""),m&&x.push(m),x.length>0?x.join(`
|
|
89
|
+
`):m}catch(i){let a=i instanceof Error?i.message:String(i);throw r.onError&&r.onError({severity:"error",message:`Fatal error building output: ${a}`,context:"output building",originalError:i}),i}}function oh(e,n={}){try{let t=Pa(e,n.onError),r=el(t,n.onError),i=tl(t,n.onError),a=Vl(t,n.onError),o=n.useH1AsTitle?nl(t,r,n.onError):null,s=Wl(n,a,o?.title??null),u={definitions:r,footnoteDefinitions:i,onError:n.onError,warnings:{externalImages:!1},renderBlock:_t};return us(t,s,o?.index??null,u)}catch(t){let r=t instanceof Error?t.message:String(t);throw n.onError&&n.onError({severity:"error",message:`Fatal error during conversion: ${r}`,context:"markdown2typst",originalError:t}),t}}var dT=oh;export{Qe as ErrorSeverity,dT as default,oh as markdown2typst};
|
|
88
90
|
/**
|
|
89
91
|
* markdown2typst - Convert Markdown to Typst
|
|
90
92
|
*
|
|
@@ -97,8 +99,3 @@ ${he("]",t)}`}function xd(e){let{warnings:t}=e,r=[];return t.externalImages?(r.p
|
|
|
97
99
|
* @module markdown2typst
|
|
98
100
|
* @license MIT
|
|
99
101
|
*/
|
|
100
|
-
/*! Bundled license information:
|
|
101
|
-
|
|
102
|
-
js-yaml/dist/js-yaml.mjs:
|
|
103
|
-
(*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
|
|
104
|
-
*/
|