@limetech/lime-elements 37.63.7 → 37.63.8
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/CHANGELOG.md +8 -0
- package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +4 -5
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js.map +1 -1
- package/dist/cjs/{markdown-parser-ba7cc71e.js → markdown-parser-d1887ec8.js} +12466 -421
- package/dist/cjs/markdown-parser-d1887ec8.js.map +1 -0
- package/dist/collection/components/markdown/markdown-parser.js +23 -0
- package/dist/collection/components/markdown/markdown-parser.js.map +1 -1
- package/dist/collection/components/text-editor/utils/html-converter.js +4 -4
- package/dist/collection/components/text-editor/utils/html-converter.js.map +1 -1
- package/dist/esm/limel-markdown.entry.js +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +4 -5
- package/dist/esm/limel-prosemirror-adapter.entry.js.map +1 -1
- package/dist/esm/{markdown-parser-3c0af898.js → markdown-parser-90f72b15.js} +12466 -422
- package/dist/esm/markdown-parser-90f72b15.js.map +1 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-19a23481.entry.js +2 -0
- package/dist/lime-elements/p-19a23481.entry.js.map +1 -0
- package/dist/lime-elements/p-3e8afa19.js +8 -0
- package/dist/lime-elements/p-3e8afa19.js.map +1 -0
- package/dist/lime-elements/{p-da20ff72.entry.js → p-4bfcb8c7.entry.js} +2 -2
- package/dist/types/components/markdown/markdown-parser.d.ts +8 -0
- package/dist/types/components/text-editor/utils/html-converter.d.ts +3 -0
- package/package.json +2 -1
- package/dist/cjs/markdown-parser-ba7cc71e.js.map +0 -1
- package/dist/esm/markdown-parser-3c0af898.js.map +0 -1
- package/dist/lime-elements/p-086509a5.js +0 -8
- package/dist/lime-elements/p-086509a5.js.map +0 -1
- package/dist/lime-elements/p-4017a0ec.entry.js +0 -2
- package/dist/lime-elements/p-4017a0ec.entry.js.map +0 -1
- /package/dist/lime-elements/{p-da20ff72.entry.js.map → p-4bfcb8c7.entry.js.map} +0 -0
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{c as e,a as t,g as n}from"./p-eab67c09.js";const r=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0))));new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var i;const o=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);const l=(i=String.fromCodePoint)!==null&&i!==void 0?i:function(e){let t="";if(e>65535){e-=65536;t+=String.fromCharCode(e>>>10&1023|55296);e=56320|e&1023}t+=String.fromCharCode(e);return t};function s(e){var t;if(e>=55296&&e<=57343||e>1114111){return 65533}return(t=o.get(e))!==null&&t!==void 0?t:e}var a;(function(e){e[e["NUM"]=35]="NUM";e[e["SEMI"]=59]="SEMI";e[e["EQUALS"]=61]="EQUALS";e[e["ZERO"]=48]="ZERO";e[e["NINE"]=57]="NINE";e[e["LOWER_A"]=97]="LOWER_A";e[e["LOWER_F"]=102]="LOWER_F";e[e["LOWER_X"]=120]="LOWER_X";e[e["LOWER_Z"]=122]="LOWER_Z";e[e["UPPER_A"]=65]="UPPER_A";e[e["UPPER_F"]=70]="UPPER_F";e[e["UPPER_Z"]=90]="UPPER_Z"})(a||(a={}));const u=32;var c;(function(e){e[e["VALUE_LENGTH"]=49152]="VALUE_LENGTH";e[e["BRANCH_LENGTH"]=16256]="BRANCH_LENGTH";e[e["JUMP_TABLE"]=127]="JUMP_TABLE"})(c||(c={}));function f(e){return e>=a.ZERO&&e<=a.NINE}function h(e){return e>=a.UPPER_A&&e<=a.UPPER_F||e>=a.LOWER_A&&e<=a.LOWER_F}function d(e){return e>=a.UPPER_A&&e<=a.UPPER_Z||e>=a.LOWER_A&&e<=a.LOWER_Z||f(e)}function p(e){return e===a.EQUALS||d(e)}var g;(function(e){e[e["EntityStart"]=0]="EntityStart";e[e["NumericStart"]=1]="NumericStart";e[e["NumericDecimal"]=2]="NumericDecimal";e[e["NumericHex"]=3]="NumericHex";e[e["NamedEntity"]=4]="NamedEntity"})(g||(g={}));var m;(function(e){e[e["Legacy"]=0]="Legacy";e[e["Strict"]=1]="Strict";e[e["Attribute"]=2]="Attribute"})(m||(m={}));class b{constructor(e,t,n){this.decodeTree=e;this.emitCodePoint=t;this.errors=n;this.state=g.EntityStart;this.consumed=1;this.result=0;this.treeIndex=0;this.excess=1;this.decodeMode=m.Strict}startEntity(e){this.decodeMode=e;this.state=g.EntityStart;this.result=0;this.treeIndex=0;this.excess=1;this.consumed=1}write(e,t){switch(this.state){case g.EntityStart:{if(e.charCodeAt(t)===a.NUM){this.state=g.NumericStart;this.consumed+=1;return this.stateNumericStart(e,t+1)}this.state=g.NamedEntity;return this.stateNamedEntity(e,t)}case g.NumericStart:{return this.stateNumericStart(e,t)}case g.NumericDecimal:{return this.stateNumericDecimal(e,t)}case g.NumericHex:{return this.stateNumericHex(e,t)}case g.NamedEntity:{return this.stateNamedEntity(e,t)}}}stateNumericStart(e,t){if(t>=e.length){return-1}if((e.charCodeAt(t)|u)===a.LOWER_X){this.state=g.NumericHex;this.consumed+=1;return this.stateNumericHex(e,t+1)}this.state=g.NumericDecimal;return this.stateNumericDecimal(e,t)}addToNumericResult(e,t,n,r){if(t!==n){const i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r);this.consumed+=i}}stateNumericHex(e,t){const n=t;while(t<e.length){const r=e.charCodeAt(t);if(f(r)||h(r)){t+=1}else{this.addToNumericResult(e,n,t,16);return this.emitNumericEntity(r,3)}}this.addToNumericResult(e,n,t,16);return-1}stateNumericDecimal(e,t){const n=t;while(t<e.length){const r=e.charCodeAt(t);if(f(r)){t+=1}else{this.addToNumericResult(e,n,t,10);return this.emitNumericEntity(r,2)}}this.addToNumericResult(e,n,t,10);return-1}emitNumericEntity(e,t){var n;if(this.consumed<=t){(n=this.errors)===null||n===void 0?void 0:n.absenceOfDigitsInNumericCharacterReference(this.consumed);return 0}if(e===a.SEMI){this.consumed+=1}else if(this.decodeMode===m.Strict){return 0}this.emitCodePoint(s(this.result),this.consumed);if(this.errors){if(e!==a.SEMI){this.errors.missingSemicolonAfterCharacterReference()}this.errors.validateNumericCharacterReference(this.result)}return this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex];let i=(r&c.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const o=e.charCodeAt(t);this.treeIndex=y(n,r,this.treeIndex+Math.max(1,i),o);if(this.treeIndex<0){return this.result===0||this.decodeMode===m.Attribute&&(i===0||p(o))?0:this.emitNotTerminatedNamedEntity()}r=n[this.treeIndex];i=(r&c.VALUE_LENGTH)>>14;if(i!==0){if(o===a.SEMI){return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess)}if(this.decodeMode!==m.Strict){this.result=this.treeIndex;this.consumed+=this.excess;this.excess=0}}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this;const r=(n[t]&c.VALUE_LENGTH)>>14;this.emitNamedEntityData(t,r,this.consumed);(e=this.errors)===null||e===void 0?void 0:e.missingSemicolonAfterCharacterReference();return this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;this.emitCodePoint(t===1?r[e]&~c.VALUE_LENGTH:r[e+1],n);if(t===3){this.emitCodePoint(r[e+2],n)}return n}end(){var e;switch(this.state){case g.NamedEntity:{return this.result!==0&&(this.decodeMode!==m.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0}case g.NumericDecimal:{return this.emitNumericEntity(0,2)}case g.NumericHex:{return this.emitNumericEntity(0,3)}case g.NumericStart:{(e=this.errors)===null||e===void 0?void 0:e.absenceOfDigitsInNumericCharacterReference(this.consumed);return 0}case g.EntityStart:{return 0}}}}function k(e){let t="";const n=new b(e,(e=>t+=l(e)));return function e(r,i){let o=0;let l=0;while((l=r.indexOf("&",l))>=0){t+=r.slice(o,l);n.startEntity(i);const e=n.write(r,l+1);if(e<0){o=l+n.end();break}o=l+e;l=e===0?o+1:o}const s=t+r.slice(o);t="";return s}}function y(e,t,n,r){const i=(t&c.BRANCH_LENGTH)>>7;const o=t&c.JUMP_TABLE;if(i===0){return o!==0&&r===o?n:-1}if(o){const t=r-o;return t<0||t>=i?-1:e[n+t]-1}let l=n;let s=l+i-1;while(l<=s){const t=l+s>>>1;const n=e[t];if(n<r){l=t+1}else if(n>r){s=t-1}else{return e[t+i]}}return-1}const w=k(r);function v(e,t=m.Legacy){return w(e,t)}function E(e){if(e){throw e}}var S=Object.prototype.hasOwnProperty;var x=Object.prototype.toString;var T=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var C=function e(t){if(typeof Array.isArray==="function"){return Array.isArray(t)}return x.call(t)==="[object Array]"};var D=function e(t){if(!t||x.call(t)!=="[object Object]"){return false}var n=S.call(t,"constructor");var r=t.constructor&&t.constructor.prototype&&S.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r){return false}var i;for(i in t){}return typeof i==="undefined"||S.call(t,i)};var R=function e(t,n){if(T&&n.name==="__proto__"){T(t,n.name,{enumerable:true,configurable:true,value:n.newValue,writable:true})}else{t[n.name]=n.newValue}};var L=function e(t,n){if(n==="__proto__"){if(!S.call(t,n)){return void 0}else if(A){return A(t,n).value}}return t[n]};var O=function e(){var t,n,r,i,o,l;var s=arguments[0];var a=1;var u=arguments.length;var c=false;if(typeof s==="boolean"){c=s;s=arguments[1]||{};a=2}if(s==null||typeof s!=="object"&&typeof s!=="function"){s={}}for(;a<u;++a){t=arguments[a];if(t!=null){for(n in t){r=L(s,n);i=L(t,n);if(s!==i){if(c&&i&&(D(i)||(o=C(i)))){if(o){o=false;l=r&&C(r)?r:[]}else{l=r&&D(r)?r:{}}R(s,{name:n,newValue:e(c,l,i)})}else if(typeof i!=="undefined"){R(s,{name:n,newValue:i})}}}}}return s};function _(e){if(typeof e!=="object"||e===null){return false}const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function P(){const e=[];const t={run:n,use:r};return t;function n(...t){let n=-1;const r=t.pop();if(typeof r!=="function"){throw new TypeError("Expected function as last argument, not "+r)}i(null,...t);function i(o,...l){const s=e[++n];let a=-1;if(o){r(o);return}while(++a<t.length){if(l[a]===null||l[a]===undefined){l[a]=t[a]}}t=l;if(s){M(s,i)(...l)}else{r(null,...l)}}}function r(n){if(typeof n!=="function"){throw new TypeError("Expected `middelware` to be a function, not "+n)}e.push(n);return t}}function M(e,t){let n;return r;function r(...t){const r=e.length>t.length;let l;if(r){t.push(i)}try{l=e.apply(this,t)}catch(e){const t=e;if(r&&n){throw t}return i(t)}if(!r){if(l instanceof Promise){l.then(o,i)}else if(l instanceof Error){i(l)}else{o(l)}}}function i(e,...r){if(!n){n=true;t(e,...r)}}function o(e){i(null,e)}}function N(e){if(!e||typeof e!=="object"){return""}if("position"in e||"type"in e){return q(e.position)}if("start"in e||"end"in e){return q(e)}if("line"in e||"column"in e){return I(e)}return""}function I(e){return B(e&&e.line)+":"+B(e&&e.column)}function q(e){return I(e&&e.start)+"-"+I(e&&e.end)}function B(e){return e&&typeof e==="number"?e:1}class F extends Error{constructor(e,t,n){super();if(typeof t==="string"){n=t;t=undefined}let r="";let i={};let o=false;if(t){if("line"in t&&"column"in t){i={place:t}}else if("start"in t&&"end"in t){i={place:t}}else if("type"in t){i={ancestors:[t],place:t.position}}else{i={...t}}}if(typeof e==="string"){r=e}else if(!i.cause&&e){o=true;r=e.message;i.cause=e}if(!i.ruleId&&!i.source&&typeof n==="string"){const e=n.indexOf(":");if(e===-1){i.ruleId=n}else{i.source=n.slice(0,e);i.ruleId=n.slice(e+1)}}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];if(e){i.place=e.position}}const l=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||undefined;this.cause=i.cause||undefined;this.column=l?l.column:undefined;this.fatal=undefined;this.message=r;this.line=l?l.line:undefined;this.name=N(i.place)||"1:1";this.place=i.place||undefined;this.reason=this.message;this.ruleId=i.ruleId||undefined;this.source=i.source||undefined;this.stack=o&&i.cause&&typeof i.cause.stack==="string"?i.cause.stack:""}}F.prototype.file="";F.prototype.name="";F.prototype.reason="";F.prototype.message="";F.prototype.stack="";F.prototype.column=undefined;F.prototype.line=undefined;F.prototype.ancestors=undefined;F.prototype.cause=undefined;F.prototype.fatal=undefined;F.prototype.place=undefined;F.prototype.ruleId=undefined;F.prototype.source=undefined;const U={basename:H,dirname:z,extname:j,join:V,sep:"/"};function H(e,t){if(t!==undefined&&typeof t!=="string"){throw new TypeError('"ext" argument must be a string')}Y(e);let n=0;let r=-1;let i=e.length;let o;if(t===undefined||t.length===0||t.length>e.length){while(i--){if(e.codePointAt(i)===47){if(o){n=i+1;break}}else if(r<0){o=true;r=i+1}}return r<0?"":e.slice(n,r)}if(t===e){return""}let l=-1;let s=t.length-1;while(i--){if(e.codePointAt(i)===47){if(o){n=i+1;break}}else{if(l<0){o=true;l=i+1}if(s>-1){if(e.codePointAt(i)===t.codePointAt(s--)){if(s<0){r=i}}else{s=-1;r=l}}}}if(n===r){r=l}else if(r<0){r=e.length}return e.slice(n,r)}function z(e){Y(e);if(e.length===0){return"."}let t=-1;let n=e.length;let r;while(--n){if(e.codePointAt(n)===47){if(r){t=n;break}}else if(!r){r=true}}return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function j(e){Y(e);let t=e.length;let n=-1;let r=0;let i=-1;let o=0;let l;while(t--){const s=e.codePointAt(t);if(s===47){if(l){r=t+1;break}continue}if(n<0){l=true;n=t+1}if(s===46){if(i<0){i=t}else if(o!==1){o=1}}else if(i>-1){o=-1}}if(i<0||n<0||o===0||o===1&&i===n-1&&i===r+1){return""}return e.slice(i,n)}function V(...e){let t=-1;let n;while(++t<e.length){Y(e[t]);if(e[t]){n=n===undefined?e[t]:n+"/"+e[t]}}return n===undefined?".":G(n)}function G(e){Y(e);const t=e.codePointAt(0)===47;let n=$(e,!t);if(n.length===0&&!t){n="."}if(n.length>0&&e.codePointAt(e.length-1)===47){n+="/"}return t?"/"+n:n}function $(e,t){let n="";let r=0;let i=-1;let o=0;let l=-1;let s;let a;while(++l<=e.length){if(l<e.length){s=e.codePointAt(l)}else if(s===47){break}else{s=47}if(s===47){if(i===l-1||o===1);else if(i!==l-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){a=n.lastIndexOf("/");if(a!==n.length-1){if(a<0){n="";r=0}else{n=n.slice(0,a);r=n.length-1-n.lastIndexOf("/")}i=l;o=0;continue}}else if(n.length>0){n="";r=0;i=l;o=0;continue}}if(t){n=n.length>0?n+"/..":"..";r=2}}else{if(n.length>0){n+="/"+e.slice(i+1,l)}else{n=e.slice(i+1,l)}r=l-i-1}i=l;o=0}else if(s===46&&o>-1){o++}else{o=-1}}return n}function Y(e){if(typeof e!=="string"){throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}}const W={cwd:X};function X(){return"/"}function K(e){return Boolean(e!==null&&typeof e==="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===undefined)}function Q(e){if(typeof e==="string"){e=new URL(e)}else if(!K(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");t.code="ERR_INVALID_ARG_TYPE";throw t}if(e.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");e.code="ERR_INVALID_URL_SCHEME";throw e}return Z(e)}function Z(e){if(e.hostname!==""){const e=new TypeError('File URL host must be "localhost" or empty on darwin');e.code="ERR_INVALID_FILE_URL_HOST";throw e}const t=e.pathname;let n=-1;while(++n<t.length){if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const e=t.codePointAt(n+2);if(e===70||e===102){const e=new TypeError("File URL path must not include encoded / characters");e.code="ERR_INVALID_FILE_URL_PATH";throw e}}}return decodeURIComponent(t)}const J=["history","path","basename","stem","extname","dirname"];class ee{constructor(e){let t;if(!e){t={}}else if(K(e)){t={path:e}}else if(typeof e==="string"||ie(e)){t={value:e}}else{t=e}this.cwd=W.cwd();this.data={};this.history=[];this.messages=[];let n=-1;while(++n<J.length){const e=J[n];if(e in t&&t[e]!==undefined&&t[e]!==null){this[e]=e==="history"?[...t[e]]:t[e]}}let r;for(r in t){if(!J.includes(r)){this[r]=t[r]}}}get basename(){return typeof this.path==="string"?U.basename(this.path):undefined}set basename(e){ne(e,"basename");te(e,"basename");this.path=U.join(this.dirname||"",e)}get dirname(){return typeof this.path==="string"?U.dirname(this.path):undefined}set dirname(e){re(this.basename,"dirname");this.path=U.join(e||"",this.basename)}get extname(){return typeof this.path==="string"?U.extname(this.path):undefined}set extname(e){te(e,"extname");re(this.dirname,"extname");if(e){if(e.codePointAt(0)!==46){throw new Error("`extname` must start with `.`")}if(e.includes(".",1)){throw new Error("`extname` cannot contain multiple dots")}}this.path=U.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){if(K(e)){e=Q(e)}ne(e,"path");if(this.path!==e){this.history.push(e)}}get stem(){return typeof this.path==="string"?U.basename(this.path,this.extname):undefined}set stem(e){ne(e,"stem");te(e,"stem");this.path=U.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);r.fatal=true;throw r}info(e,t,n){const r=this.message(e,t,n);r.fatal=undefined;return r}message(e,t,n){const r=new F(e,t,n);if(this.path){r.name=this.path+":"+r.name;r.file=this.path}r.fatal=false;this.messages.push(r);return r}toString(e){if(this.value===undefined){return""}if(typeof this.value==="string"){return this.value}const t=new TextDecoder(e||undefined);return t.decode(this.value)}}function te(e,t){if(e&&e.includes(U.sep)){throw new Error("`"+t+"` cannot be a path: did not expect `"+U.sep+"`")}}function ne(e,t){if(!e){throw new Error("`"+t+"` cannot be empty")}}function re(e,t){if(!e){throw new Error("Setting `"+t+"` requires `path` to be set too")}}function ie(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}const oe=function(e){const t=this;const n=t.constructor;const r=n.prototype;const i=r[e];const o=function(){return i.apply(o,arguments)};Object.setPrototypeOf(o,r);return o};const le={}.hasOwnProperty;class se extends oe{constructor(){super("copy");this.Compiler=undefined;this.Parser=undefined;this.attachers=[];this.compiler=undefined;this.freezeIndex=-1;this.frozen=undefined;this.namespace={};this.parser=undefined;this.transformers=P()}copy(){const e=new se;let t=-1;while(++t<this.attachers.length){const n=this.attachers[t];e.use(...n)}e.data(O(true,{},this.namespace));return e}data(e,t){if(typeof e==="string"){if(arguments.length===2){fe("data",this.frozen);this.namespace[e]=t;return this}return le.call(this.namespace,e)&&this.namespace[e]||undefined}if(e){fe("data",this.frozen);this.namespace=e;return this}return this.namespace}freeze(){if(this.frozen){return this}const e=this;while(++this.freezeIndex<this.attachers.length){const[t,...n]=this.attachers[this.freezeIndex];if(n[0]===false){continue}if(n[0]===true){n[0]=undefined}const r=t.call(e,...n);if(typeof r==="function"){this.transformers.use(r)}}this.frozen=true;this.freezeIndex=Number.POSITIVE_INFINITY;return this}parse(e){this.freeze();const t=pe(e);const n=this.parser||this.Parser;ue("parse",n);return n(String(t),t)}process(e,t){const n=this;this.freeze();ue("process",this.parser||this.Parser);ce("process",this.compiler||this.Compiler);return t?r(undefined,t):new Promise(r);function r(r,i){const o=pe(e);const l=n.parse(o);n.run(l,o,(function(e,t,r){if(e||!t||!r){return s(e)}const i=t;const o=n.stringify(i,r);if(me(o)){r.value=o}else{r.result=o}s(e,r)}));function s(e,n){if(e||!n){i(e)}else if(r){r(n)}else{t(undefined,n)}}}}processSync(e){let t=false;let n;this.freeze();ue("processSync",this.parser||this.Parser);ce("processSync",this.compiler||this.Compiler);this.process(e,r);de("processSync","process",t);return n;function r(e,r){t=true;E(e);n=r}}run(e,t,n){he(e);this.freeze();const r=this.transformers;if(!n&&typeof t==="function"){n=t;t=undefined}return n?i(undefined,n):new Promise(i);function i(i,o){const l=pe(t);r.run(e,l,s);function s(t,r,l){const s=r||e;if(t){o(t)}else if(i){i(s)}else{n(undefined,s,l)}}}}runSync(e,t){let n=false;let r;this.run(e,t,i);de("runSync","run",n);return r;function i(e,t){E(e);r=t;n=true}}stringify(e,t){this.freeze();const n=pe(t);const r=this.compiler||this.Compiler;ce("stringify",r);he(e);return r(e,n)}use(e,...t){const n=this.attachers;const r=this.namespace;fe("use",this.frozen);if(e===null||e===undefined);else if(typeof e==="function"){s(e,t)}else if(typeof e==="object"){if(Array.isArray(e)){l(e)}else{o(e)}}else{throw new TypeError("Expected usable value, not `"+e+"`")}return this;function i(e){if(typeof e==="function"){s(e,[])}else if(typeof e==="object"){if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else{o(e)}}else{throw new TypeError("Expected usable value, not `"+e+"`")}}function o(e){if(!("plugins"in e)&&!("settings"in e)){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(e.plugins);if(e.settings){r.settings=O(true,r.settings,e.settings)}}function l(e){let t=-1;if(e===null||e===undefined);else if(Array.isArray(e)){while(++t<e.length){const n=e[t];i(n)}}else{throw new TypeError("Expected a list of plugins, not `"+e+"`")}}function s(e,t){let r=-1;let i=-1;while(++r<n.length){if(n[r][0]===e){i=r;break}}if(i===-1){n.push([e,...t])}else if(t.length>0){let[r,...o]=t;const l=n[i][1];if(_(l)&&_(r)){r=O(true,l,r)}n[i]=[e,r,...o]}}}}const ae=(new se).freeze();function ue(e,t){if(typeof t!=="function"){throw new TypeError("Cannot `"+e+"` without `parser`")}}function ce(e,t){if(typeof t!=="function"){throw new TypeError("Cannot `"+e+"` without `compiler`")}}function fe(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 he(e){if(!_(e)||typeof e.type!=="string"){throw new TypeError("Expected node, got `"+e+"`")}}function de(e,t,n){if(!n){throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}}function pe(e){return ge(e)?e:new ee(e)}function ge(e){return Boolean(e&&typeof e==="object"&&"message"in e&&"messages"in e)}function me(e){return typeof e==="string"||be(e)}function be(e){return Boolean(e&&typeof e==="object"&&"byteLength"in e&&"byteOffset"in e)}const ke={};function ye(e,t){const n=t||ke;const r=typeof n.includeImageAlt==="boolean"?n.includeImageAlt:true;const i=typeof n.includeHtml==="boolean"?n.includeHtml:true;return we(e,r,i)}function we(e,t,n){if(Ee(e)){if("value"in e){return e.type==="html"&&!n?"":e.value}if(t&&"alt"in e&&e.alt){return e.alt}if("children"in e){return ve(e.children,t,n)}}if(Array.isArray(e)){return ve(e,t,n)}return""}function ve(e,t,n){const r=[];let i=-1;while(++i<e.length){r[i]=we(e[i],t,n)}return r.join("")}function Ee(e){return Boolean(e&&typeof e==="object")}const Se={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""};const xe={}.hasOwnProperty;function Te(e){return xe.call(Se,e)?Se[e]:false}function Ae(e,t,n,r){const i=e.length;let o=0;let l;if(t<0){t=-t>i?0:i+t}else{t=t>i?i:t}n=n>0?n:0;if(r.length<1e4){l=Array.from(r);l.unshift(t,n);e.splice(...l)}else{if(n)e.splice(t,n);while(o<r.length){l=r.slice(o,o+1e4);l.unshift(t,0);e.splice(...l);o+=1e4;t+=1e4}}}function Ce(e,t){if(e.length>0){Ae(e,e.length,0,t);return e}return t}const De={}.hasOwnProperty;function Re(e){const t={};let n=-1;while(++n<e.length){Le(t,e[n])}return t}function Le(e,t){let n;for(n in t){const r=De.call(e,n)?e[n]:undefined;const i=r||(e[n]={});const o=t[n];let l;if(o){for(l in o){if(!De.call(i,l))i[l]=[];const e=o[l];Oe(i[l],Array.isArray(e)?e:e?[e]:[])}}}}function Oe(e,t){let n=-1;const r=[];while(++n<t.length){(t[n].add==="after"?e:r).push(t[n])}Ae(e,0,0,r)}function _e(e,t){const n=Number.parseInt(e,t);if(n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111){return"�"}return String.fromCharCode(n)}function Pe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Me=Ye(/\p{P}/u);const Ne=Ye(/[A-Za-z]/);const Ie=Ye(/[\dA-Za-z]/);const qe=Ye(/[#-'*+\--9=?A-Z^-~]/);function Be(e){return e!==null&&(e<32||e===127)}const Fe=Ye(/\d/);const Ue=Ye(/[\dA-Fa-f]/);const He=Ye(/[!-/:-@[-`{-~]/);function ze(e){return e!==null&&e<-2}function je(e){return e!==null&&(e<0||e===32)}function Ve(e){return e===-2||e===-1||e===32}function Ge(e){return He(e)||Me(e)}const $e=Ye(/\s/);function Ye(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function We(e){const t=[];let n=-1;let r=0;let i=0;while(++n<e.length){const o=e.charCodeAt(n);let l="";if(o===37&&Ie(e.charCodeAt(n+1))&&Ie(e.charCodeAt(n+2))){i=2}else if(o<128){if(!/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))){l=String.fromCharCode(o)}}else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);if(o<56320&&t>56319&&t<57344){l=String.fromCharCode(o,t);i=1}else{l="�"}}else{l=String.fromCharCode(o)}if(l){t.push(e.slice(r,n),encodeURIComponent(l));r=n+i+1;l=""}if(i){n+=i;i=0}}return t.join("")+e.slice(r)}function Xe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(r){if(Ve(r)){e.enter(n);return s(r)}return t(r)}function s(r){if(Ve(r)&&o++<i){e.consume(r);return s}e.exit(n);return t(r)}}const Ke={tokenize:Qe};function Qe(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(n){if(n===null){e.consume(n);return}e.enter("lineEnding");e.consume(n);e.exit("lineEnding");return Xe(e,t,"linePrefix")}function i(t){e.enter("paragraph");return o(t)}function o(t){const r=e.enter("chunkText",{contentType:"text",previous:n});if(n){n.next=r}n=r;return l(t)}function l(t){if(t===null){e.exit("chunkText");e.exit("paragraph");e.consume(t);return}if(ze(t)){e.consume(t);e.exit("chunkText");return o}e.consume(t);return l}}const Ze={tokenize:et};const Je={tokenize:tt};function et(e){const t=this;const n=[];let r=0;let i;let o;let l;return s;function s(i){if(r<n.length){const o=n[r];t.containerState=o[1];return e.attempt(o[0].continuation,a,u)(i)}return u(i)}function a(e){r++;if(t.containerState._closeFlow){t.containerState._closeFlow=undefined;if(i){k()}const n=t.events.length;let o=n;let l;while(o--){if(t.events[o][0]==="exit"&&t.events[o][1].type==="chunkFlow"){l=t.events[o][1].end;break}}b(r);let s=n;while(s<t.events.length){t.events[s][1].end=Object.assign({},l);s++}Ae(t.events,o+1,0,t.events.slice(n));t.events.length=s;return u(e)}return s(e)}function u(o){if(r===n.length){if(!i){return h(o)}if(i.currentConstruct&&i.currentConstruct.concrete){return p(o)}t.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}t.containerState={};return e.check(Je,c,f)(o)}function c(e){if(i)k();b(r);return h(e)}function f(e){t.parser.lazy[t.now().line]=r!==n.length;l=t.now().offset;return p(e)}function h(n){t.containerState={};return e.attempt(Je,d,p)(n)}function d(e){r++;n.push([t.currentConstruct,t.containerState]);return h(e)}function p(n){if(n===null){if(i)k();b(0);e.consume(n);return}i=i||t.parser.flow(t.now());e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:i});return g(n)}function g(n){if(n===null){m(e.exit("chunkFlow"),true);b(0);e.consume(n);return}if(ze(n)){e.consume(n);m(e.exit("chunkFlow"));r=0;t.interrupt=undefined;return s}e.consume(n);return g}function m(e,n){const s=t.sliceStream(e);if(n)s.push(null);e.previous=o;if(o)o.next=e;o=e;i.defineSkip(e.start);i.write(s);if(t.parser.lazy[e.start.line]){let e=i.events.length;while(e--){if(i.events[e][1].start.offset<l&&(!i.events[e][1].end||i.events[e][1].end.offset>l)){return}}const n=t.events.length;let o=n;let s;let a;while(o--){if(t.events[o][0]==="exit"&&t.events[o][1].type==="chunkFlow"){if(s){a=t.events[o][1].end;break}s=true}}b(r);e=n;while(e<t.events.length){t.events[e][1].end=Object.assign({},a);e++}Ae(t.events,o+1,0,t.events.slice(n));t.events.length=e}}function b(r){let i=n.length;while(i-- >r){const r=n[i];t.containerState=r[1];r[0].exit.call(t,e)}n.length=r}function k(){i.write([null]);o=undefined;i=undefined;t.containerState._closeFlow=undefined}}function tt(e,t,n){return Xe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?undefined:4)}function nt(e){if(e===null||je(e)||$e(e)){return 1}if(Ge(e)){return 2}}function rt(e,t,n){const r=[];let i=-1;while(++i<e.length){const o=e[i].resolveAll;if(o&&!r.includes(o)){t=o(t,n);r.push(o)}}return t}const it={name:"attention",tokenize:lt,resolveAll:ot};function ot(e,t){let n=-1;let r;let i;let o;let l;let s;let a;let u;let c;while(++n<e.length){if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){r=n;while(r--){if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3)){continue}a=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end);const h=Object.assign({},e[n][1].start);st(f,-a);st(h,a);l={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)};s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h};o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)};i={type:a>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},s.end)};e[r][1].end=Object.assign({},l.start);e[n][1].start=Object.assign({},s.end);u=[];if(e[r][1].end.offset-e[r][1].start.offset){u=Ce(u,[["enter",e[r][1],t],["exit",e[r][1],t]])}u=Ce(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]);u=Ce(u,rt(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t));u=Ce(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",i,t]]);if(e[n][1].end.offset-e[n][1].start.offset){c=2;u=Ce(u,[["enter",e[n][1],t],["exit",e[n][1],t]])}else{c=0}Ae(e,r-1,n-r+3,u);n=r+u.length-c-2;break}}}}n=-1;while(++n<e.length){if(e[n][1].type==="attentionSequence"){e[n][1].type="data"}}return e}function lt(e,t){const n=this.parser.constructs.attentionMarkers.null;const r=this.previous;const i=nt(r);let o;return l;function l(t){o=t;e.enter("attentionSequence");return s(t)}function s(l){if(l===o){e.consume(l);return s}const a=e.exit("attentionSequence");const u=nt(l);const c=!u||u===2&&i||n.includes(l);const f=!i||i===2&&u||n.includes(r);a._open=Boolean(o===42?c:c&&(i||!f));a._close=Boolean(o===42?f:f&&(u||!c));return t(l)}}function st(e,t){e.column+=t;e.offset+=t;e._bufferIndex+=t}const at={name:"autolink",tokenize:ut};function ut(e,t,n){let r=0;return i;function i(t){e.enter("autolink");e.enter("autolinkMarker");e.consume(t);e.exit("autolinkMarker");e.enter("autolinkProtocol");return o}function o(t){if(Ne(t)){e.consume(t);return l}return u(t)}function l(e){if(e===43||e===45||e===46||Ie(e)){r=1;return s(e)}return u(e)}function s(t){if(t===58){e.consume(t);r=0;return a}if((t===43||t===45||t===46||Ie(t))&&r++<32){e.consume(t);return s}r=0;return u(t)}function a(r){if(r===62){e.exit("autolinkProtocol");e.enter("autolinkMarker");e.consume(r);e.exit("autolinkMarker");e.exit("autolink");return t}if(r===null||r===32||r===60||Be(r)){return n(r)}e.consume(r);return a}function u(t){if(t===64){e.consume(t);return c}if(qe(t)){e.consume(t);return u}return n(t)}function c(e){return Ie(e)?f(e):n(e)}function f(n){if(n===46){e.consume(n);r=0;return c}if(n===62){e.exit("autolinkProtocol").type="autolinkEmail";e.enter("autolinkMarker");e.consume(n);e.exit("autolinkMarker");e.exit("autolink");return t}return h(n)}function h(t){if((t===45||Ie(t))&&r++<63){const n=t===45?h:f;e.consume(t);return n}return n(t)}}const ct={tokenize:ft,partial:true};function ft(e,t,n){return r;function r(t){return Ve(t)?Xe(e,i,"linePrefix")(t):i(t)}function i(e){return e===null||ze(e)?t(e):n(e)}}const ht={name:"blockQuote",tokenize:dt,continuation:{tokenize:pt},exit:gt};function dt(e,t,n){const r=this;return i;function i(t){if(t===62){const n=r.containerState;if(!n.open){e.enter("blockQuote",{_container:true});n.open=true}e.enter("blockQuotePrefix");e.enter("blockQuoteMarker");e.consume(t);e.exit("blockQuoteMarker");return o}return n(t)}function o(n){if(Ve(n)){e.enter("blockQuotePrefixWhitespace");e.consume(n);e.exit("blockQuotePrefixWhitespace");e.exit("blockQuotePrefix");return t}e.exit("blockQuotePrefix");return t(n)}}function pt(e,t,n){const r=this;return i;function i(t){if(Ve(t)){return Xe(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(t)}return o(t)}function o(r){return e.attempt(ht,t,n)(r)}}function gt(e){e.exit("blockQuote")}const mt={name:"characterEscape",tokenize:bt};function bt(e,t,n){return r;function r(t){e.enter("characterEscape");e.enter("escapeMarker");e.consume(t);e.exit("escapeMarker");return i}function i(r){if(He(r)){e.enter("characterEscapeValue");e.consume(r);e.exit("characterEscapeValue");e.exit("characterEscape");return t}return n(r)}}const kt={name:"characterReference",tokenize:yt};function yt(e,t,n){const r=this;let i=0;let o;let l;return s;function s(t){e.enter("characterReference");e.enter("characterReferenceMarker");e.consume(t);e.exit("characterReferenceMarker");return a}function a(t){if(t===35){e.enter("characterReferenceMarkerNumeric");e.consume(t);e.exit("characterReferenceMarkerNumeric");return u}e.enter("characterReferenceValue");o=31;l=Ie;return c(t)}function u(t){if(t===88||t===120){e.enter("characterReferenceMarkerHexadecimal");e.consume(t);e.exit("characterReferenceMarkerHexadecimal");e.enter("characterReferenceValue");o=6;l=Ue;return c}e.enter("characterReferenceValue");o=7;l=Fe;return c(t)}function c(s){if(s===59&&i){const i=e.exit("characterReferenceValue");if(l===Ie&&!Te(r.sliceSerialize(i))){return n(s)}e.enter("characterReferenceMarker");e.consume(s);e.exit("characterReferenceMarker");e.exit("characterReference");return t}if(l(s)&&i++<o){e.consume(s);return c}return n(s)}}const wt={tokenize:St,partial:true};const vt={name:"codeFenced",tokenize:Et,concrete:true};function Et(e,t,n){const r=this;const i={tokenize:v,partial:true};let o=0;let l=0;let s;return a;function a(e){return u(e)}function u(t){const n=r.events[r.events.length-1];o=n&&n[1].type==="linePrefix"?n[2].sliceSerialize(n[1],true).length:0;s=t;e.enter("codeFenced");e.enter("codeFencedFence");e.enter("codeFencedFenceSequence");return c(t)}function c(t){if(t===s){l++;e.consume(t);return c}if(l<3){return n(t)}e.exit("codeFencedFenceSequence");return Ve(t)?Xe(e,f,"whitespace")(t):f(t)}function f(n){if(n===null||ze(n)){e.exit("codeFencedFence");return r.interrupt?t(n):e.check(wt,g,w)(n)}e.enter("codeFencedFenceInfo");e.enter("chunkString",{contentType:"string"});return h(n)}function h(t){if(t===null||ze(t)){e.exit("chunkString");e.exit("codeFencedFenceInfo");return f(t)}if(Ve(t)){e.exit("chunkString");e.exit("codeFencedFenceInfo");return Xe(e,d,"whitespace")(t)}if(t===96&&t===s){return n(t)}e.consume(t);return h}function d(t){if(t===null||ze(t)){return f(t)}e.enter("codeFencedFenceMeta");e.enter("chunkString",{contentType:"string"});return p(t)}function p(t){if(t===null||ze(t)){e.exit("chunkString");e.exit("codeFencedFenceMeta");return f(t)}if(t===96&&t===s){return n(t)}e.consume(t);return p}function g(t){return e.attempt(i,w,m)(t)}function m(t){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return b}function b(t){return o>0&&Ve(t)?Xe(e,k,"linePrefix",o+1)(t):k(t)}function k(t){if(t===null||ze(t)){return e.check(wt,g,w)(t)}e.enter("codeFlowValue");return y(t)}function y(t){if(t===null||ze(t)){e.exit("codeFlowValue");return k(t)}e.consume(t);return y}function w(n){e.exit("codeFenced");return t(n)}function v(e,t,n){let i=0;return o;function o(t){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return a}function a(t){e.enter("codeFencedFence");return Ve(t)?Xe(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(t):u(t)}function u(t){if(t===s){e.enter("codeFencedFenceSequence");return c(t)}return n(t)}function c(t){if(t===s){i++;e.consume(t);return c}if(i>=l){e.exit("codeFencedFenceSequence");return Ve(t)?Xe(e,f,"whitespace")(t):f(t)}return n(t)}function f(r){if(r===null||ze(r)){e.exit("codeFencedFence");return t(r)}return n(r)}}}function St(e,t,n){const r=this;return i;function i(t){if(t===null){return n(t)}e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return o}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}const xt={name:"codeIndented",tokenize:At};const Tt={tokenize:Ct,partial:true};function At(e,t,n){const r=this;return i;function i(t){e.enter("codeIndented");return Xe(e,o,"linePrefix",4+1)(t)}function o(e){const t=r.events[r.events.length-1];return t&&t[1].type==="linePrefix"&&t[2].sliceSerialize(t[1],true).length>=4?l(e):n(e)}function l(t){if(t===null){return a(t)}if(ze(t)){return e.attempt(Tt,l,a)(t)}e.enter("codeFlowValue");return s(t)}function s(t){if(t===null||ze(t)){e.exit("codeFlowValue");return l(t)}e.consume(t);return s}function a(n){e.exit("codeIndented");return t(n)}}function Ct(e,t,n){const r=this;return i;function i(t){if(r.parser.lazy[r.now().line]){return n(t)}if(ze(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return i}return Xe(e,o,"linePrefix",4+1)(t)}function o(e){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],true).length>=4?t(e):ze(e)?i(e):n(e)}}const Dt={name:"codeText",tokenize:Ot,resolve:Rt,previous:Lt};function Rt(e){let t=e.length-4;let n=3;let r;let i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){r=n;while(++r<t){if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding";e[t][1].type="codeTextPadding";n+=2;t-=2;break}}}r=n-1;t++;while(++r<=t){if(i===undefined){if(r!==t&&e[r][1].type!=="lineEnding"){i=r}}else if(r===t||e[r][1].type==="lineEnding"){e[i][1].type="codeTextData";if(r!==i+2){e[i][1].end=e[r-1][1].end;e.splice(i+2,r-i-2);t-=r-i-2;r=i+2}i=undefined}}return e}function Lt(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ot(e,t,n){let r=0;let i;let o;return l;function l(t){e.enter("codeText");e.enter("codeTextSequence");return s(t)}function s(t){if(t===96){e.consume(t);r++;return s}e.exit("codeTextSequence");return a(t)}function a(t){if(t===null){return n(t)}if(t===32){e.enter("space");e.consume(t);e.exit("space");return a}if(t===96){o=e.enter("codeTextSequence");i=0;return c(t)}if(ze(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return a}e.enter("codeTextData");return u(t)}function u(t){if(t===null||t===32||t===96||ze(t)){e.exit("codeTextData");return a(t)}e.consume(t);return u}function c(n){if(n===96){e.consume(n);i++;return c}if(i===r){e.exit("codeTextSequence");e.exit("codeText");return t(n)}o.type="codeTextData";return u(n)}}function _t(e){const t={};let n=-1;let r;let i;let o;let l;let s;let a;let u;while(++n<e.length){while(n in t){n=t[n]}r=e[n];if(n&&r[1].type==="chunkFlow"&&e[n-1][1].type==="listItemPrefix"){a=r[1]._tokenizer.events;o=0;if(o<a.length&&a[o][1].type==="lineEndingBlank"){o+=2}if(o<a.length&&a[o][1].type==="content"){while(++o<a.length){if(a[o][1].type==="content"){break}if(a[o][1].type==="chunkText"){a[o][1]._isInFirstContentOfListItem=true;o++}}}}if(r[0]==="enter"){if(r[1].contentType){Object.assign(t,Pt(e,n));n=t[n];u=true}}else if(r[1]._container){o=n;i=undefined;while(o--){l=e[o];if(l[1].type==="lineEnding"||l[1].type==="lineEndingBlank"){if(l[0]==="enter"){if(i){e[i][1].type="lineEndingBlank"}l[1].type="lineEnding";i=o}}else{break}}if(i){r[1].end=Object.assign({},e[i][1].start);s=e.slice(i,n);s.unshift(r);Ae(e,i,n-i+1,s)}}}return!u}function Pt(e,t){const n=e[t][1];const r=e[t][2];let i=t-1;const o=[];const l=n._tokenizer||r.parser[n.contentType](n.start);const s=l.events;const a=[];const u={};let c;let f;let h=-1;let d=n;let p=0;let g=0;const m=[g];while(d){while(e[++i][1]!==d){}o.push(i);if(!d._tokenizer){c=r.sliceStream(d);if(!d.next){c.push(null)}if(f){l.defineSkip(d.start)}if(d._isInFirstContentOfListItem){l._gfmTasklistFirstContentOfListItem=true}l.write(c);if(d._isInFirstContentOfListItem){l._gfmTasklistFirstContentOfListItem=undefined}}f=d;d=d.next}d=n;while(++h<s.length){if(s[h][0]==="exit"&&s[h-1][0]==="enter"&&s[h][1].type===s[h-1][1].type&&s[h][1].start.line!==s[h][1].end.line){g=h+1;m.push(g);d._tokenizer=undefined;d.previous=undefined;d=d.next}}l.events=[];if(d){d._tokenizer=undefined;d.previous=undefined}else{m.pop()}h=m.length;while(h--){const t=s.slice(m[h],m[h+1]);const n=o.pop();a.unshift([n,n+t.length-1]);Ae(e,n,2,t)}h=-1;while(++h<a.length){u[p+a[h][0]]=p+a[h][1];p+=a[h][1]-a[h][0]-1}return u}const Mt={tokenize:qt,resolve:It};const Nt={tokenize:Bt,partial:true};function It(e){_t(e);return e}function qt(e,t){let n;return r;function r(t){e.enter("content");n=e.enter("chunkContent",{contentType:"content"});return i(t)}function i(t){if(t===null){return o(t)}if(ze(t)){return e.check(Nt,l,o)(t)}e.consume(t);return i}function o(n){e.exit("chunkContent");e.exit("content");return t(n)}function l(t){e.consume(t);e.exit("chunkContent");n.next=e.enter("chunkContent",{contentType:"content",previous:n});n=n.next;return i}}function Bt(e,t,n){const r=this;return i;function i(t){e.exit("chunkContent");e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return Xe(e,o,"linePrefix")}function o(i){if(i===null||ze(i)){return n(i)}const o=r.events[r.events.length-1];if(!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],true).length>=4){return t(i)}return e.interrupt(r.parser.constructs.flow,n,t)(i)}}function Ft(e,t,n,r,i,o,l,s,a){const u=a||Number.POSITIVE_INFINITY;let c=0;return f;function f(t){if(t===60){e.enter(r);e.enter(i);e.enter(o);e.consume(t);e.exit(o);return h}if(t===null||t===32||t===41||Be(t)){return n(t)}e.enter(r);e.enter(l);e.enter(s);e.enter("chunkString",{contentType:"string"});return g(t)}function h(n){if(n===62){e.enter(o);e.consume(n);e.exit(o);e.exit(i);e.exit(r);return t}e.enter(s);e.enter("chunkString",{contentType:"string"});return d(n)}function d(t){if(t===62){e.exit("chunkString");e.exit(s);return h(t)}if(t===null||t===60||ze(t)){return n(t)}e.consume(t);return t===92?p:d}function p(t){if(t===60||t===62||t===92){e.consume(t);return d}return d(t)}function g(i){if(!c&&(i===null||i===41||je(i))){e.exit("chunkString");e.exit(s);e.exit(l);e.exit(r);return t(i)}if(c<u&&i===40){e.consume(i);c++;return g}if(i===41){e.consume(i);c--;return g}if(i===null||i===32||i===40||Be(i)){return n(i)}e.consume(i);return i===92?m:g}function m(t){if(t===40||t===41||t===92){e.consume(t);return g}return g(t)}}function Ut(e,t,n,r,i,o){const l=this;let s=0;let a;return u;function u(t){e.enter(r);e.enter(i);e.consume(t);e.exit(i);e.enter(o);return c}function c(u){if(s>999||u===null||u===91||u===93&&!a||u===94&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs){return n(u)}if(u===93){e.exit(o);e.enter(i);e.consume(u);e.exit(i);e.exit(r);return t}if(ze(u)){e.enter("lineEnding");e.consume(u);e.exit("lineEnding");return c}e.enter("chunkString",{contentType:"string"});return f(u)}function f(t){if(t===null||t===91||t===93||ze(t)||s++>999){e.exit("chunkString");return c(t)}e.consume(t);if(!a)a=!Ve(t);return t===92?h:f}function h(t){if(t===91||t===92||t===93){e.consume(t);s++;return f}return f(t)}}function Ht(e,t,n,r,i,o){let l;return s;function s(t){if(t===34||t===39||t===40){e.enter(r);e.enter(i);e.consume(t);e.exit(i);l=t===40?41:t;return a}return n(t)}function a(n){if(n===l){e.enter(i);e.consume(n);e.exit(i);e.exit(r);return t}e.enter(o);return u(n)}function u(t){if(t===l){e.exit(o);return a(l)}if(t===null){return n(t)}if(ze(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return Xe(e,u,"linePrefix")}e.enter("chunkString",{contentType:"string"});return c(t)}function c(t){if(t===l||t===null||ze(t)){e.exit("chunkString");return u(t)}e.consume(t);return t===92?f:c}function f(t){if(t===l||t===92){e.consume(t);return c}return c(t)}}function zt(e,t){let n;return r;function r(i){if(ze(i)){e.enter("lineEnding");e.consume(i);e.exit("lineEnding");n=true;return r}if(Ve(i)){return Xe(e,r,n?"linePrefix":"lineSuffix")(i)}return t(i)}}const jt={name:"definition",tokenize:Gt};const Vt={tokenize:$t,partial:true};function Gt(e,t,n){const r=this;let i;return o;function o(t){e.enter("definition");return l(t)}function l(t){return Ut.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}function s(t){i=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1));if(t===58){e.enter("definitionMarker");e.consume(t);e.exit("definitionMarker");return a}return n(t)}function a(t){return je(t)?zt(e,u)(t):u(t)}function u(t){return Ft(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function c(t){return e.attempt(Vt,f,f)(t)}function f(t){return Ve(t)?Xe(e,h,"whitespace")(t):h(t)}function h(o){if(o===null||ze(o)){e.exit("definition");r.parser.defined.push(i);return t(o)}return n(o)}}function $t(e,t,n){return r;function r(t){return je(t)?zt(e,i)(t):n(t)}function i(t){return Ht(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Ve(t)?Xe(e,l,"whitespace")(t):l(t)}function l(e){return e===null||ze(e)?t(e):n(e)}}const Yt={name:"hardBreakEscape",tokenize:Wt};function Wt(e,t,n){return r;function r(t){e.enter("hardBreakEscape");e.consume(t);return i}function i(r){if(ze(r)){e.exit("hardBreakEscape");return t(r)}return n(r)}}const Xt={name:"headingAtx",tokenize:Qt,resolve:Kt};function Kt(e,t){let n=e.length-2;let r=3;let i;let o;if(e[r][1].type==="whitespace"){r+=2}if(n-2>r&&e[n][1].type==="whitespace"){n-=2}if(e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")){n-=r+1===n?2:4}if(n>r){i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end};o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"};Ae(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])}return e}function Qt(e,t,n){let r=0;return i;function i(t){e.enter("atxHeading");return o(t)}function o(t){e.enter("atxHeadingSequence");return l(t)}function l(t){if(t===35&&r++<6){e.consume(t);return l}if(t===null||je(t)){e.exit("atxHeadingSequence");return s(t)}return n(t)}function s(n){if(n===35){e.enter("atxHeadingSequence");return a(n)}if(n===null||ze(n)){e.exit("atxHeading");return t(n)}if(Ve(n)){return Xe(e,s,"whitespace")(n)}e.enter("atxHeadingText");return u(n)}function a(t){if(t===35){e.consume(t);return a}e.exit("atxHeadingSequence");return s(t)}function u(t){if(t===null||t===35||je(t)){e.exit("atxHeadingText");return s(t)}e.consume(t);return u}}const Zt=["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"];const Jt=["pre","script","style","textarea"];const en={name:"htmlFlow",tokenize:on,resolveTo:rn,concrete:true};const tn={tokenize:sn,partial:true};const nn={tokenize:ln,partial:true};function rn(e){let t=e.length;while(t--){if(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"){break}}if(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)}return e}function on(e,t,n){const r=this;let i;let o;let l;let s;let a;return u;function u(e){return c(e)}function c(t){e.enter("htmlFlow");e.enter("htmlFlowData");e.consume(t);return f}function f(s){if(s===33){e.consume(s);return h}if(s===47){e.consume(s);o=true;return g}if(s===63){e.consume(s);i=3;return r.interrupt?t:I}if(Ne(s)){e.consume(s);l=String.fromCharCode(s);return m}return n(s)}function h(o){if(o===45){e.consume(o);i=2;return d}if(o===91){e.consume(o);i=5;s=0;return p}if(Ne(o)){e.consume(o);i=4;return r.interrupt?t:I}return n(o)}function d(i){if(i===45){e.consume(i);return r.interrupt?t:I}return n(i)}function p(i){const o="CDATA[";if(i===o.charCodeAt(s++)){e.consume(i);if(s===o.length){return r.interrupt?t:D}return p}return n(i)}function g(t){if(Ne(t)){e.consume(t);l=String.fromCharCode(t);return m}return n(t)}function m(s){if(s===null||s===47||s===62||je(s)){const a=s===47;const u=l.toLowerCase();if(!a&&!o&&Jt.includes(u)){i=1;return r.interrupt?t(s):D(s)}if(Zt.includes(l.toLowerCase())){i=6;if(a){e.consume(s);return b}return r.interrupt?t(s):D(s)}i=7;return r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?k(s):y(s)}if(s===45||Ie(s)){e.consume(s);l+=String.fromCharCode(s);return m}return n(s)}function b(i){if(i===62){e.consume(i);return r.interrupt?t:D}return n(i)}function k(t){if(Ve(t)){e.consume(t);return k}return A(t)}function y(t){if(t===47){e.consume(t);return A}if(t===58||t===95||Ne(t)){e.consume(t);return w}if(Ve(t)){e.consume(t);return y}return A(t)}function w(t){if(t===45||t===46||t===58||t===95||Ie(t)){e.consume(t);return w}return v(t)}function v(t){if(t===61){e.consume(t);return E}if(Ve(t)){e.consume(t);return v}return y(t)}function E(t){if(t===null||t===60||t===61||t===62||t===96){return n(t)}if(t===34||t===39){e.consume(t);a=t;return S}if(Ve(t)){e.consume(t);return E}return x(t)}function S(t){if(t===a){e.consume(t);a=null;return T}if(t===null||ze(t)){return n(t)}e.consume(t);return S}function x(t){if(t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||je(t)){return v(t)}e.consume(t);return x}function T(e){if(e===47||e===62||Ve(e)){return y(e)}return n(e)}function A(t){if(t===62){e.consume(t);return C}return n(t)}function C(t){if(t===null||ze(t)){return D(t)}if(Ve(t)){e.consume(t);return C}return n(t)}function D(t){if(t===45&&i===2){e.consume(t);return _}if(t===60&&i===1){e.consume(t);return P}if(t===62&&i===4){e.consume(t);return q}if(t===63&&i===3){e.consume(t);return I}if(t===93&&i===5){e.consume(t);return N}if(ze(t)&&(i===6||i===7)){e.exit("htmlFlowData");return e.check(tn,B,R)(t)}if(t===null||ze(t)){e.exit("htmlFlowData");return R(t)}e.consume(t);return D}function R(t){return e.check(nn,L,B)(t)}function L(t){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return O}function O(t){if(t===null||ze(t)){return R(t)}e.enter("htmlFlowData");return D(t)}function _(t){if(t===45){e.consume(t);return I}return D(t)}function P(t){if(t===47){e.consume(t);l="";return M}return D(t)}function M(t){if(t===62){const n=l.toLowerCase();if(Jt.includes(n)){e.consume(t);return q}return D(t)}if(Ne(t)&&l.length<8){e.consume(t);l+=String.fromCharCode(t);return M}return D(t)}function N(t){if(t===93){e.consume(t);return I}return D(t)}function I(t){if(t===62){e.consume(t);return q}if(t===45&&i===2){e.consume(t);return I}return D(t)}function q(t){if(t===null||ze(t)){e.exit("htmlFlowData");return B(t)}e.consume(t);return q}function B(n){e.exit("htmlFlow");return t(n)}}function ln(e,t,n){const r=this;return i;function i(t){if(ze(t)){e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return o}return n(t)}function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function sn(e,t,n){return r;function r(r){e.enter("lineEnding");e.consume(r);e.exit("lineEnding");return e.attempt(ct,t,n)}}const an={name:"htmlText",tokenize:un};function un(e,t,n){const r=this;let i;let o;let l;return s;function s(t){e.enter("htmlText");e.enter("htmlTextData");e.consume(t);return a}function a(t){if(t===33){e.consume(t);return u}if(t===47){e.consume(t);return v}if(t===63){e.consume(t);return y}if(Ne(t)){e.consume(t);return x}return n(t)}function u(t){if(t===45){e.consume(t);return c}if(t===91){e.consume(t);o=0;return p}if(Ne(t)){e.consume(t);return k}return n(t)}function c(t){if(t===45){e.consume(t);return d}return n(t)}function f(t){if(t===null){return n(t)}if(t===45){e.consume(t);return h}if(ze(t)){l=f;return P(t)}e.consume(t);return f}function h(t){if(t===45){e.consume(t);return d}return f(t)}function d(e){return e===62?_(e):e===45?h(e):f(e)}function p(t){const r="CDATA[";if(t===r.charCodeAt(o++)){e.consume(t);return o===r.length?g:p}return n(t)}function g(t){if(t===null){return n(t)}if(t===93){e.consume(t);return m}if(ze(t)){l=g;return P(t)}e.consume(t);return g}function m(t){if(t===93){e.consume(t);return b}return g(t)}function b(t){if(t===62){return _(t)}if(t===93){e.consume(t);return b}return g(t)}function k(t){if(t===null||t===62){return _(t)}if(ze(t)){l=k;return P(t)}e.consume(t);return k}function y(t){if(t===null){return n(t)}if(t===63){e.consume(t);return w}if(ze(t)){l=y;return P(t)}e.consume(t);return y}function w(e){return e===62?_(e):y(e)}function v(t){if(Ne(t)){e.consume(t);return E}return n(t)}function E(t){if(t===45||Ie(t)){e.consume(t);return E}return S(t)}function S(t){if(ze(t)){l=S;return P(t)}if(Ve(t)){e.consume(t);return S}return _(t)}function x(t){if(t===45||Ie(t)){e.consume(t);return x}if(t===47||t===62||je(t)){return T(t)}return n(t)}function T(t){if(t===47){e.consume(t);return _}if(t===58||t===95||Ne(t)){e.consume(t);return A}if(ze(t)){l=T;return P(t)}if(Ve(t)){e.consume(t);return T}return _(t)}function A(t){if(t===45||t===46||t===58||t===95||Ie(t)){e.consume(t);return A}return C(t)}function C(t){if(t===61){e.consume(t);return D}if(ze(t)){l=C;return P(t)}if(Ve(t)){e.consume(t);return C}return T(t)}function D(t){if(t===null||t===60||t===61||t===62||t===96){return n(t)}if(t===34||t===39){e.consume(t);i=t;return R}if(ze(t)){l=D;return P(t)}if(Ve(t)){e.consume(t);return D}e.consume(t);return L}function R(t){if(t===i){e.consume(t);i=undefined;return O}if(t===null){return n(t)}if(ze(t)){l=R;return P(t)}e.consume(t);return R}function L(t){if(t===null||t===34||t===39||t===60||t===61||t===96){return n(t)}if(t===47||t===62||je(t)){return T(t)}e.consume(t);return L}function O(e){if(e===47||e===62||je(e)){return T(e)}return n(e)}function _(r){if(r===62){e.consume(r);e.exit("htmlTextData");e.exit("htmlText");return t}return n(r)}function P(t){e.exit("htmlTextData");e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return M}function M(t){return Ve(t)?Xe(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(t):N(t)}function N(t){e.enter("htmlTextData");return l(t)}}const cn={name:"labelEnd",tokenize:mn,resolveTo:gn,resolveAll:pn};const fn={tokenize:bn};const hn={tokenize:kn};const dn={tokenize:yn};function pn(e){let t=-1;while(++t<e.length){const n=e[t][1];if(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){e.splice(t+1,n.type==="labelImage"?4:2);n.type="data";t++}}return e}function gn(e,t){let n=e.length;let r=0;let i;let o;let l;let s;while(n--){i=e[n][1];if(o){if(i.type==="link"||i.type==="labelLink"&&i._inactive){break}if(e[n][0]==="enter"&&i.type==="labelLink"){i._inactive=true}}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced){o=n;if(i.type!=="labelLink"){r=2;break}}}else if(i.type==="labelEnd"){l=n}}const a={type:e[o][1].type==="labelLink"?"link":"image",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)};const u={type:"label",start:Object.assign({},e[o][1].start),end:Object.assign({},e[l][1].end)};const c={type:"labelText",start:Object.assign({},e[o+r+2][1].end),end:Object.assign({},e[l-2][1].start)};s=[["enter",a,t],["enter",u,t]];s=Ce(s,e.slice(o+1,o+r+3));s=Ce(s,[["enter",c,t]]);s=Ce(s,rt(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t));s=Ce(s,[["exit",c,t],e[l-2],e[l-1],["exit",u,t]]);s=Ce(s,e.slice(l+1));s=Ce(s,[["exit",a,t]]);Ae(e,o,e.length,s);return e}function mn(e,t,n){const r=this;let i=r.events.length;let o;let l;while(i--){if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}}return s;function s(t){if(!o){return n(t)}if(o._inactive){return f(t)}l=r.parser.defined.includes(Pe(r.sliceSerialize({start:o.end,end:r.now()})));e.enter("labelEnd");e.enter("labelMarker");e.consume(t);e.exit("labelMarker");e.exit("labelEnd");return a}function a(t){if(t===40){return e.attempt(fn,c,l?c:f)(t)}if(t===91){return e.attempt(hn,c,l?u:f)(t)}return l?c(t):f(t)}function u(t){return e.attempt(dn,c,f)(t)}function c(e){return t(e)}function f(e){o._balanced=true;return n(e)}}function bn(e,t,n){return r;function r(t){e.enter("resource");e.enter("resourceMarker");e.consume(t);e.exit("resourceMarker");return i}function i(t){return je(t)?zt(e,o)(t):o(t)}function o(t){if(t===41){return c(t)}return Ft(e,l,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function l(t){return je(t)?zt(e,a)(t):c(t)}function s(e){return n(e)}function a(t){if(t===34||t===39||t===40){return Ht(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t)}return c(t)}function u(t){return je(t)?zt(e,c)(t):c(t)}function c(r){if(r===41){e.enter("resourceMarker");e.consume(r);e.exit("resourceMarker");e.exit("resource");return t}return n(r)}}function kn(e,t,n){const r=this;return i;function i(t){return Ut.call(r,e,o,l,"reference","referenceMarker","referenceString")(t)}function o(e){return r.parser.defined.includes(Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function l(e){return n(e)}}function yn(e,t,n){return r;function r(t){e.enter("reference");e.enter("referenceMarker");e.consume(t);e.exit("referenceMarker");return i}function i(r){if(r===93){e.enter("referenceMarker");e.consume(r);e.exit("referenceMarker");e.exit("reference");return t}return n(r)}}const wn={name:"labelStartImage",tokenize:vn,resolveAll:cn.resolveAll};function vn(e,t,n){const r=this;return i;function i(t){e.enter("labelImage");e.enter("labelImageMarker");e.consume(t);e.exit("labelImageMarker");return o}function o(t){if(t===91){e.enter("labelMarker");e.consume(t);e.exit("labelMarker");e.exit("labelImage");return l}return n(t)}function l(e){return e===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}const En={name:"labelStartLink",tokenize:Sn,resolveAll:cn.resolveAll};function Sn(e,t,n){const r=this;return i;function i(t){e.enter("labelLink");e.enter("labelMarker");e.consume(t);e.exit("labelMarker");e.exit("labelLink");return o}function o(e){return e===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}const xn={name:"lineEnding",tokenize:Tn};function Tn(e,t){return n;function n(n){e.enter("lineEnding");e.consume(n);e.exit("lineEnding");return Xe(e,t,"linePrefix")}}const An={name:"thematicBreak",tokenize:Cn};function Cn(e,t,n){let r=0;let i;return o;function o(t){e.enter("thematicBreak");return l(t)}function l(e){i=e;return s(e)}function s(o){if(o===i){e.enter("thematicBreakSequence");return a(o)}if(r>=3&&(o===null||ze(o))){e.exit("thematicBreak");return t(o)}return n(o)}function a(t){if(t===i){e.consume(t);r++;return a}e.exit("thematicBreakSequence");return Ve(t)?Xe(e,s,"whitespace")(t):s(t)}}const Dn={name:"list",tokenize:On,continuation:{tokenize:_n},exit:Mn};const Rn={tokenize:Nn,partial:true};const Ln={tokenize:Pn,partial:true};function On(e,t,n){const r=this;const i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],true).length:0;let l=0;return s;function s(t){const i=r.containerState.type||(t===42||t===43||t===45?"listUnordered":"listOrdered");if(i==="listUnordered"?!r.containerState.marker||t===r.containerState.marker:Fe(t)){if(!r.containerState.type){r.containerState.type=i;e.enter(i,{_container:true})}if(i==="listUnordered"){e.enter("listItemPrefix");return t===42||t===45?e.check(An,n,u)(t):u(t)}if(!r.interrupt||t===49){e.enter("listItemPrefix");e.enter("listItemValue");return a(t)}}return n(t)}function a(t){if(Fe(t)&&++l<10){e.consume(t);return a}if((!r.interrupt||l<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)){e.exit("listItemValue");return u(t)}return n(t)}function u(t){e.enter("listItemMarker");e.consume(t);e.exit("listItemMarker");r.containerState.marker=r.containerState.marker||t;return e.check(ct,r.interrupt?n:c,e.attempt(Rn,h,f))}function c(e){r.containerState.initialBlankLine=true;o++;return h(e)}function f(t){if(Ve(t)){e.enter("listItemPrefixWhitespace");e.consume(t);e.exit("listItemPrefixWhitespace");return h}return n(t)}function h(n){r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),true).length;return t(n)}}function _n(e,t,n){const r=this;r.containerState._closeFlow=undefined;return e.check(ct,i,o);function i(n){r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine;return Xe(e,t,"listItemIndent",r.containerState.size+1)(n)}function o(n){if(r.containerState.furtherBlankLines||!Ve(n)){r.containerState.furtherBlankLines=undefined;r.containerState.initialBlankLine=undefined;return l(n)}r.containerState.furtherBlankLines=undefined;r.containerState.initialBlankLine=undefined;return e.attempt(Ln,t,l)(n)}function l(i){r.containerState._closeFlow=true;r.interrupt=undefined;return Xe(e,e.attempt(Dn,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(i)}}function Pn(e,t,n){const r=this;return Xe(e,i,"listItemIndent",r.containerState.size+1);function i(e){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],true).length===r.containerState.size?t(e):n(e)}}function Mn(e){e.exit(this.containerState.type)}function Nn(e,t,n){const r=this;return Xe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4+1);function i(e){const i=r.events[r.events.length-1];return!Ve(e)&&i&&i[1].type==="listItemPrefixWhitespace"?t(e):n(e)}}const In={name:"setextUnderline",tokenize:Bn,resolveTo:qn};function qn(e,t){let n=e.length;let r;let i;let o;while(n--){if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}if(e[n][1].type==="paragraph"){i=n}}else{if(e[n][1].type==="content"){e.splice(n,1)}if(!o&&e[n][1].type==="definition"){o=n}}}const l={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};e[i][1].type="setextHeadingText";if(o){e.splice(i,0,["enter",l,t]);e.splice(o+1,0,["exit",e[r][1],t]);e[r][1].end=Object.assign({},e[o][1].end)}else{e[r][1]=l}e.push(["exit",l,t]);return e}function Bn(e,t,n){const r=this;let i;return o;function o(t){let o=r.events.length;let s;while(o--){if(r.events[o][1].type!=="lineEnding"&&r.events[o][1].type!=="linePrefix"&&r.events[o][1].type!=="content"){s=r.events[o][1].type==="paragraph";break}}if(!r.parser.lazy[r.now().line]&&(r.interrupt||s)){e.enter("setextHeadingLine");i=t;return l(t)}return n(t)}function l(t){e.enter("setextHeadingLineSequence");return s(t)}function s(t){if(t===i){e.consume(t);return s}e.exit("setextHeadingLineSequence");return Ve(t)?Xe(e,a,"lineSuffix")(t):a(t)}function a(r){if(r===null||ze(r)){e.exit("setextHeadingLine");return t(r)}return n(r)}}const Fn={tokenize:Un};function Un(e){const t=this;const n=e.attempt(ct,r,e.attempt(this.parser.constructs.flowInitial,i,Xe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Mt,i)),"linePrefix")));return n;function r(r){if(r===null){e.consume(r);return}e.enter("lineEndingBlank");e.consume(r);e.exit("lineEndingBlank");t.currentConstruct=undefined;return n}function i(r){if(r===null){e.consume(r);return}e.enter("lineEnding");e.consume(r);e.exit("lineEnding");t.currentConstruct=undefined;return n}}const Hn={resolveAll:Gn()};const zn=Vn("string");const jn=Vn("text");function Vn(e){return{tokenize:t,resolveAll:Gn(e==="text"?$n:undefined)};function t(t){const n=this;const r=this.parser.constructs[e];const i=t.attempt(r,o,l);return o;function o(e){return a(e)?i(e):l(e)}function l(e){if(e===null){t.consume(e);return}t.enter("data");t.consume(e);return s}function s(e){if(a(e)){t.exit("data");return i(e)}t.consume(e);return s}function a(e){if(e===null){return true}const t=r[e];let i=-1;if(t){while(++i<t.length){const e=t[i];if(!e.previous||e.previous.call(n,n.previous)){return true}}}return false}}}function Gn(e){return t;function t(t,n){let r=-1;let i;while(++r<=t.length){if(i===undefined){if(t[r]&&t[r][1].type==="data"){i=r;r++}}else if(!t[r]||t[r][1].type!=="data"){if(r!==i+2){t[i][1].end=t[r-1][1].end;t.splice(i+2,r-i-2);r=i+2}i=undefined}}return e?e(t,n):t}}function $n(e,t){let n=0;while(++n<=e.length){if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1];const i=t.sliceStream(r);let o=i.length;let l=-1;let s=0;let a;while(o--){const e=i[o];if(typeof e==="string"){l=e.length;while(e.charCodeAt(l-1)===32){s++;l--}if(l)break;l=-1}else if(e===-2){a=true;s++}else if(e===-1);else{o++;break}}if(s){const i={type:n===e.length||a||s<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+o,_bufferIndex:o?l:r.start._bufferIndex+l},end:Object.assign({},r.end)};r.end=Object.assign({},i.start);if(r.start.offset===r.end.offset){Object.assign(r,i)}else{e.splice(n,0,["enter",i,t],["exit",i,t]);n+=2}}n++}}return e}function Yn(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={};const o=[];let l=[];let s=[];const a={consume:k,enter:y,exit:w,attempt:S(v),check:S(E),interrupt:S(E,{interrupt:true})};const u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:h,now:p,defineSkip:g,write:f};let c=t.tokenize.call(u,a);if(t.resolveAll){o.push(t)}return u;function f(e){l=Ce(l,e);m();if(l[l.length-1]!==null){return[]}x(t,0);u.events=rt(o,u.events,u);return u.events}function h(e,t){return Xn(d(e),t)}function d(e){return Wn(l,e)}function p(){const{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function g(e){i[e.line]=e.column;A()}function m(){let e;while(r._index<l.length){const t=l[r._index];if(typeof t==="string"){e=r._index;if(r._bufferIndex<0){r._bufferIndex=0}while(r._index===e&&r._bufferIndex<t.length){b(t.charCodeAt(r._bufferIndex))}}else{b(t)}}}function b(e){c=c(e)}function k(e){if(ze(e)){r.line++;r.column=1;r.offset+=e===-3?2:1;A()}else if(e!==-1){r.column++;r.offset++}if(r._bufferIndex<0){r._index++}else{r._bufferIndex++;if(r._bufferIndex===l[r._index].length){r._bufferIndex=-1;r._index++}}u.previous=e}function y(e,t){const n=t||{};n.type=e;n.start=p();u.events.push(["enter",n,u]);s.push(n);return n}function w(e){const t=s.pop();t.end=p();u.events.push(["exit",t,u]);return t}function v(e,t){x(e,t.from)}function E(e,t){t.restore()}function S(e,t){return n;function n(n,r,i){let o;let l;let s;let c;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):f(n);function f(e){return t;function t(t){const n=t!==null&&e[t];const r=t!==null&&e.null;const i=[...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]];return h(i)(t)}}function h(e){o=e;l=0;if(e.length===0){return i}return d(e[l])}function d(e){return n;function n(n){c=T();s=e;if(!e.partial){u.currentConstruct=e}if(e.name&&u.parser.constructs.disable.null.includes(e.name)){return g()}return e.tokenize.call(t?Object.assign(Object.create(u),t):u,a,p,g)(n)}}function p(t){e(s,c);return r}function g(e){c.restore();if(++l<o.length){return d(o[l])}return i}}}function x(e,t){if(e.resolveAll&&!o.includes(e)){o.push(e)}if(e.resolve){Ae(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u))}if(e.resolveTo){u.events=e.resolveTo(u.events,u)}}function T(){const e=p();const t=u.previous;const n=u.currentConstruct;const i=u.events.length;const o=Array.from(s);return{restore:l,from:i};function l(){r=e;u.previous=t;u.currentConstruct=n;u.events.length=i;s=o;A()}}function A(){if(r.line in i&&r.column<2){r.column=i[r.line];r.offset+=i[r.line]-1}}}function Wn(e,t){const n=t.start._index;const r=t.start._bufferIndex;const i=t.end._index;const o=t.end._bufferIndex;let l;if(n===i){l=[e[n].slice(r,o)]}else{l=e.slice(n,i);if(r>-1){const e=l[0];if(typeof e==="string"){l[0]=e.slice(r)}else{l.shift()}}if(o>0){l.push(e[i].slice(0,o))}}return l}function Xn(e,t){let n=-1;const r=[];let i;while(++n<e.length){const o=e[n];let l;if(typeof o==="string"){l=o}else switch(o){case-5:{l="\r";break}case-4:{l="\n";break}case-3:{l="\r"+"\n";break}case-2:{l=t?" ":"\t";break}case-1:{if(!t&&i)continue;l=" ";break}default:{l=String.fromCharCode(o)}}i=o===-2;r.push(l)}return r.join("")}const Kn={[42]:Dn,[43]:Dn,[45]:Dn,[48]:Dn,[49]:Dn,[50]:Dn,[51]:Dn,[52]:Dn,[53]:Dn,[54]:Dn,[55]:Dn,[56]:Dn,[57]:Dn,[62]:ht};const Qn={[91]:jt};const Zn={[-2]:xt,[-1]:xt,[32]:xt};const Jn={[35]:Xt,[42]:An,[45]:[In,An],[60]:en,[61]:In,[95]:An,[96]:vt,[126]:vt};const er={[38]:kt,[92]:mt};const tr={[-5]:xn,[-4]:xn,[-3]:xn,[33]:wn,[38]:kt,[42]:it,[60]:[at,an],[91]:En,[92]:[Yt,mt],[93]:cn,[95]:it,[96]:Dt};const nr={null:[it,Hn]};const rr={null:[42,95]};const ir={null:[]};const or=Object.freeze({__proto__:null,document:Kn,contentInitial:Qn,flowInitial:Zn,flow:Jn,string:er,text:tr,insideSpan:nr,attentionMarkers:rr,disable:ir});function lr(e){const t=e||{};const n=Re([or,...t.extensions||[]]);const r={defined:[],lazy:{},constructs:n,content:i(Ke),document:i(Ze),flow:i(Fn),string:i(zn),text:i(jn)};return r;function i(e){return t;function t(t){return Yn(r,e,t)}}}function sr(e){while(!_t(e)){}return e}const ar=/[\0\t\n\r]/g;function ur(){let e=1;let t="";let n=true;let r;return i;function i(i,o,l){const s=[];let a;let u;let c;let f;let h;i=t+(typeof i==="string"?i.toString():new TextDecoder(o||undefined).decode(i));c=0;t="";if(n){if(i.charCodeAt(0)===65279){c++}n=undefined}while(c<i.length){ar.lastIndex=c;a=ar.exec(i);f=a&&a.index!==undefined?a.index:i.length;h=i.charCodeAt(f);if(!a){t=i.slice(c);break}if(h===10&&c===f&&r){s.push(-3);r=undefined}else{if(r){s.push(-5);r=undefined}if(c<f){s.push(i.slice(c,f));e+=f-c}switch(h){case 0:{s.push(65533);e++;break}case 9:{u=Math.ceil(e/4)*4;s.push(-2);while(e++<u)s.push(-1);break}case 10:{s.push(-4);e=1;break}default:{r=true;e=1}}}c=f+1}if(l){if(r)s.push(-5);if(t)s.push(t);s.push(null)}return s}}const cr=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function fr(e){return e.replace(cr,hr)}function hr(e,t,n){if(t){return t}const r=n.charCodeAt(0);if(r===35){const e=n.charCodeAt(1);const t=e===120||e===88;return _e(n.slice(t?2:1),t?16:10)}return Te(n)||e}function dr(e){if(!e||typeof e!=="object"){return""}if("position"in e||"type"in e){return gr(e.position)}if("start"in e||"end"in e){return gr(e)}if("line"in e||"column"in e){return pr(e)}return""}function pr(e){return mr(e&&e.line)+":"+mr(e&&e.column)}function gr(e){return pr(e&&e.start)+"-"+pr(e&&e.end)}function mr(e){return e&&typeof e==="number"?e:1}const br={}.hasOwnProperty;function kr(e,t,n){if(typeof t!=="string"){n=t;t=undefined}return yr(n)(sr(lr(n).document().write(ur()(e,t,true))))}function yr(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(ee),autolinkProtocol:T,autolinkEmail:T,atxHeading:o(K),blockQuote:o(G),characterEscape:T,characterReference:T,codeFenced:o($),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o($,l),codeText:o(Y,l),codeTextData:T,data:T,codeFlowValue:T,definition:o(W),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(X),hardBreakEscape:o(Q),hardBreakTrailing:o(Q),htmlFlow:o(Z,l),htmlFlowData:T,htmlText:o(Z,l),htmlTextData:T,image:o(J),label:l,link:o(ee),listItem:o(ne),listItemValue:h,listOrdered:o(te,f),listUnordered:o(te),paragraph:o(re),reference:F,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(K),strong:o(ie),thematicBreak:o(le)},exit:{atxHeading:a(),atxHeadingSequence:v,autolink:a(),autolinkEmail:V,autolinkProtocol:j,blockQuote:a(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:H,characterReferenceMarkerNumeric:H,characterReferenceValue:z,codeFenced:a(m),codeFencedFence:g,codeFencedFenceInfo:d,codeFencedFenceMeta:p,codeFlowValue:A,codeIndented:a(b),codeText:a(O),codeTextData:A,data:A,definition:a(),definitionDestinationString:w,definitionLabelString:k,definitionTitleString:y,emphasis:a(),hardBreakEscape:a(D),hardBreakTrailing:a(D),htmlFlow:a(R),htmlFlowData:A,htmlText:a(L),htmlTextData:A,image:a(P),label:N,labelText:M,lineEnding:C,link:a(_),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:U,resourceDestinationString:I,resourceTitleString:q,resource:B,setextHeading:a(x),setextHeadingLineSequence:S,setextHeadingText:E,strong:a(),thematicBreak:a()}};vr(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const o={stack:[r],tokenStack:[],config:t,enter:s,exit:u,buffer:l,resume:c,data:n};const a=[];let f=-1;while(++f<e.length){if(e[f][1].type==="listOrdered"||e[f][1].type==="listUnordered"){if(e[f][0]==="enter"){a.push(f)}else{const t=a.pop();f=i(e,t,f)}}}f=-1;while(++f<e.length){const n=t[e[f][0]];if(br.call(n,e[f][1].type)){n[e[f][1].type].call(Object.assign({sliceSerialize:e[f][2].sliceSerialize},o),e[f][1])}}if(o.tokenStack.length>0){const e=o.tokenStack[o.tokenStack.length-1];const t=e[1]||Sr;t.call(o,undefined,e[0])}r.position={start:wr(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:wr(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})};f=-1;while(++f<t.transforms.length){r=t.transforms[f](r)||r}return r}function i(e,t,n){let r=t-1;let i=-1;let o=false;let l;let s;let a;let u;while(++r<=n){const t=e[r];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(t[0]==="enter"){i++}else{i--}u=undefined;break}case"lineEndingBlank":{if(t[0]==="enter"){if(l&&!u&&!i&&!a){a=r}u=undefined}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":{break}default:{u=undefined}}if(!i&&t[0]==="enter"&&t[1].type==="listItemPrefix"||i===-1&&t[0]==="exit"&&(t[1].type==="listUnordered"||t[1].type==="listOrdered")){if(l){let i=r;s=undefined;while(i--){const t=e[i];if(t[1].type==="lineEnding"||t[1].type==="lineEndingBlank"){if(t[0]==="exit")continue;if(s){e[s][1].type="lineEndingBlank";o=true}t[1].type="lineEnding";s=i}else if(t[1].type==="linePrefix"||t[1].type==="blockQuotePrefix"||t[1].type==="blockQuotePrefixWhitespace"||t[1].type==="blockQuoteMarker"||t[1].type==="listItemIndent");else{break}}if(a&&(!s||a<s)){l._spread=true}l.end=Object.assign({},s?e[s][1].start:t[1].end);e.splice(s||r,0,["exit",l,t[2]]);r++;n++}if(t[1].type==="listItemPrefix"){const i={type:"listItem",_spread:false,start:Object.assign({},t[1].start),end:undefined};l=i;e.splice(r,0,["enter",i,t[2]]);r++;n++;a=undefined;u=true}}}e[t][1]._spread=o;return n}function o(e,t){return n;function n(n){s.call(this,e(n),n);if(t)t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){const r=this.stack[this.stack.length-1];const i=r.children;i.push(e);this.stack.push(e);this.tokenStack.push([t,n]);e.position={start:wr(t.start),end:undefined}}function a(e){return t;function t(t){if(e)e.call(this,t);u.call(this,t)}}function u(e,t){const n=this.stack.pop();const r=this.tokenStack.pop();if(!r){throw new Error("Cannot close `"+e.type+"` ("+dr({start:e.start,end:e.end})+"): it’s not open")}else if(r[0].type!==e.type){if(t){t.call(this,e,r[0])}else{const t=r[1]||Sr;t.call(this,e,r[0])}}n.position.end=wr(e.end)}function c(){return ye(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=true}function h(e){if(this.data.expectingFirstListItemValue){const t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10);this.data.expectingFirstListItemValue=undefined}}function d(){const e=this.resume();const t=this.stack[this.stack.length-1];t.lang=e}function p(){const e=this.resume();const t=this.stack[this.stack.length-1];t.meta=e}function g(){if(this.data.flowCodeInside)return;this.buffer();this.data.flowCodeInside=true}function m(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"");this.data.flowCodeInside=undefined}function b(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,"")}function k(e){const t=this.resume();const n=this.stack[this.stack.length-1];n.label=t;n.identifier=Pe(this.sliceSerialize(e)).toLowerCase()}function y(){const e=this.resume();const t=this.stack[this.stack.length-1];t.title=e}function w(){const e=this.resume();const t=this.stack[this.stack.length-1];t.url=e}function v(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}}function E(){this.data.setextHeadingSlurpLineEnding=true}function S(e){const t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function x(){this.data.setextHeadingSlurpLineEnding=undefined}function T(e){const t=this.stack[this.stack.length-1];const n=t.children;let r=n[n.length-1];if(!r||r.type!=="text"){r=oe();r.position={start:wr(e.start),end:undefined};n.push(r)}this.stack.push(r)}function A(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e);t.position.end=wr(e.end)}function C(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){const t=n.children[n.children.length-1];t.position.end=wr(e.end);this.data.atHardBreak=undefined;return}if(!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)){T.call(this,e);A.call(this,e)}}function D(){this.data.atHardBreak=true}function R(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e}function L(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e}function O(){const e=this.resume();const t=this.stack[this.stack.length-1];t.value=e}function _(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference";e.referenceType=t;delete e.url;delete e.title}else{delete e.identifier;delete e.label}this.data.referenceType=undefined}function P(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference";e.referenceType=t;delete e.url;delete e.title}else{delete e.identifier;delete e.label}this.data.referenceType=undefined}function M(e){const t=this.sliceSerialize(e);const n=this.stack[this.stack.length-2];n.label=fr(t);n.identifier=Pe(t).toLowerCase()}function N(){const e=this.stack[this.stack.length-1];const t=this.resume();const n=this.stack[this.stack.length-1];this.data.inReference=true;if(n.type==="link"){const t=e.children;n.children=t}else{n.alt=t}}function I(){const e=this.resume();const t=this.stack[this.stack.length-1];t.url=e}function q(){const e=this.resume();const t=this.stack[this.stack.length-1];t.title=e}function B(){this.data.inReference=undefined}function F(){this.data.referenceType="collapsed"}function U(e){const t=this.resume();const n=this.stack[this.stack.length-1];n.label=t;n.identifier=Pe(this.sliceSerialize(e)).toLowerCase();this.data.referenceType="full"}function H(e){this.data.characterReferenceType=e.type}function z(e){const t=this.sliceSerialize(e);const n=this.data.characterReferenceType;let r;if(n){r=_e(t,n==="characterReferenceMarkerNumeric"?10:16);this.data.characterReferenceType=undefined}else{const e=Te(t);r=e}const i=this.stack.pop();i.value+=r;i.position.end=wr(e.end)}function j(e){A.call(this,e);const t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function V(e){A.call(this,e);const t=this.stack[this.stack.length-1];t.url="mailto:"+this.sliceSerialize(e)}function G(){return{type:"blockquote",children:[]}}function $(){return{type:"code",lang:null,meta:null,value:""}}function Y(){return{type:"inlineCode",value:""}}function W(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){return{type:"emphasis",children:[]}}function K(){return{type:"heading",depth:0,children:[]}}function Q(){return{type:"break"}}function Z(){return{type:"html",value:""}}function J(){return{type:"image",title:null,url:"",alt:null}}function ee(){return{type:"link",title:null,url:"",children:[]}}function te(e){return{type:"list",ordered:e.type==="listOrdered",start:null,spread:e._spread,children:[]}}function ne(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function re(){return{type:"paragraph",children:[]}}function ie(){return{type:"strong",children:[]}}function oe(){return{type:"text",value:""}}function le(){return{type:"thematicBreak"}}}function wr(e){return{line:e.line,column:e.column,offset:e.offset}}function vr(e,t){let n=-1;while(++n<t.length){const r=t[n];if(Array.isArray(r)){vr(e,r)}else{Er(e,r)}}}function Er(e,t){let n;for(n in t){if(br.call(t,n)){switch(n){case"canContainEols":{const r=t[n];if(r){e[n].push(...r)}break}case"transforms":{const r=t[n];if(r){e[n].push(...r)}break}case"enter":case"exit":{const r=t[n];if(r){Object.assign(e[n],r)}break}}}}}function Sr(e,t){if(e){throw new Error("Cannot close `"+e.type+"` ("+dr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+dr({start:t.start,end:t.end})+") is open")}else{throw new Error("Cannot close document, a token (`"+t.type+"`, "+dr({start:t.start,end:t.end})+") is still open")}}function xr(e){const t=this;t.parser=n;function n(n){return kr(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Tr(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),true)};e.patch(t,n);return e.applyData(t,n)}function Ar(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};e.patch(t,n);return[e.applyData(t,n),{type:"text",value:"\n"}]}function Cr(e,t){const n=t.value?t.value+"\n":"";const r={};if(t.lang){r.className=["language-"+t.lang]}let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};if(t.meta){i.data={meta:t.meta}}e.patch(t,i);i=e.applyData(t,i);i={type:"element",tagName:"pre",properties:{},children:[i]};e.patch(t,i);return i}function Dr(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}function Rr(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}function Lr(e,t){const n=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-";const r=String(t.identifier).toUpperCase();const i=We(r.toLowerCase());const o=e.footnoteOrder.indexOf(r);let l;let s=e.footnoteCounts.get(r);if(s===undefined){s=0;e.footnoteOrder.push(r);l=e.footnoteOrder.length}else{l=o+1}s+=1;e.footnoteCounts.set(r,s);const a={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:true,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,a);const u={type:"element",tagName:"sup",properties:{},children:[a]};e.patch(t,u);return e.applyData(t,u)}function Or(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}function _r(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};e.patch(t,n);return e.applyData(t,n)}return undefined}function Pr(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"){r+="[]"}else if(n==="full"){r+="["+(t.label||t.identifier)+"]"}if(t.type==="imageReference"){return[{type:"text",value:"!["+t.alt+r}]}const i=e.all(t);const o=i[0];if(o&&o.type==="text"){o.value="["+o.value}else{i.unshift({type:"text",value:"["})}const l=i[i.length-1];if(l&&l.type==="text"){l.value+=r}else{i.push({type:"text",value:r})}return i}function Mr(e,t){const n=String(t.identifier).toUpperCase();const r=e.definitionById.get(n);if(!r){return Pr(e,t)}const i={src:We(r.url||""),alt:t.alt};if(r.title!==null&&r.title!==undefined){i.title=r.title}const o={type:"element",tagName:"img",properties:i,children:[]};e.patch(t,o);return e.applyData(t,o)}function Nr(e,t){const n={src:We(t.url)};if(t.alt!==null&&t.alt!==undefined){n.alt=t.alt}if(t.title!==null&&t.title!==undefined){n.title=t.title}const r={type:"element",tagName:"img",properties:n,children:[]};e.patch(t,r);return e.applyData(t,r)}function Ir(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};e.patch(t,r);return e.applyData(t,r)}function qr(e,t){const n=String(t.identifier).toUpperCase();const r=e.definitionById.get(n);if(!r){return Pr(e,t)}const i={href:We(r.url||"")};if(r.title!==null&&r.title!==undefined){i.title=r.title}const o={type:"element",tagName:"a",properties:i,children:e.all(t)};e.patch(t,o);return e.applyData(t,o)}function Br(e,t){const n={href:We(t.url)};if(t.title!==null&&t.title!==undefined){n.title=t.title}const r={type:"element",tagName:"a",properties:n,children:e.all(t)};e.patch(t,r);return e.applyData(t,r)}function Fr(e,t,n){const r=e.all(t);const i=n?Ur(n):Hr(t);const o={};const l=[];if(typeof t.checked==="boolean"){const e=r[0];let n;if(e&&e.type==="element"&&e.tagName==="p"){n=e}else{n={type:"element",tagName:"p",properties:{},children:[]};r.unshift(n)}if(n.children.length>0){n.children.unshift({type:"text",value:" "})}n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:true},children:[]});o.className=["task-list-item"]}let s=-1;while(++s<r.length){const e=r[s];if(i||s!==0||e.type!=="element"||e.tagName!=="p"){l.push({type:"text",value:"\n"})}if(e.type==="element"&&e.tagName==="p"&&!i){l.push(...e.children)}else{l.push(e)}}const a=r[r.length-1];if(a&&(i||a.type!=="element"||a.tagName!=="p")){l.push({type:"text",value:"\n"})}const u={type:"element",tagName:"li",properties:o,children:l};e.patch(t,u);return e.applyData(t,u)}function Ur(e){let t=false;if(e.type==="list"){t=e.spread||false;const n=e.children;let r=-1;while(!t&&++r<n.length){t=Hr(n[r])}}return t}function Hr(e){const t=e.spread;return t===null||t===undefined?e.children.length>1:t}function zr(e,t){const n={};const r=e.all(t);let i=-1;if(typeof t.start==="number"&&t.start!==1){n.start=t.start}while(++i<r.length){const e=r[i];if(e.type==="element"&&e.tagName==="li"&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,true)};e.patch(t,o);return e.applyData(t,o)}function jr(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}function Vr(e,t){const n={type:"root",children:e.wrap(e.all(t))};e.patch(t,n);return e.applyData(t,n)}function Gr(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}const $r=Wr("end");const Yr=Wr("start");function Wr(e){return t;function t(t){const n=t&&t.position&&t.position[e]||{};if(typeof n.line==="number"&&n.line>0&&typeof n.column==="number"&&n.column>0){return{line:n.line,column:n.column,offset:typeof n.offset==="number"&&n.offset>-1?n.offset:undefined}}}}function Xr(e){const t=Yr(e);const n=$r(e);if(t&&n){return{start:t,end:n}}}function Kr(e,t){const n=e.all(t);const r=n.shift();const i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],true)};e.patch(t.children[0],n);i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,true)};const o=Yr(t.children[1]);const l=$r(t.children[t.children.length-1]);if(o&&l)r.position={start:o,end:l};i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,true)};e.patch(t,o);return e.applyData(t,o)}function Qr(e,t,n){const r=n?n.children:undefined;const i=r?r.indexOf(t):1;const o=i===0?"th":"td";const l=n&&n.type==="table"?n.align:undefined;const s=l?l.length:t.children.length;let a=-1;const u=[];while(++a<s){const n=t.children[a];const r={};const i=l?l[a]:undefined;if(i){r.align=i}let s={type:"element",tagName:o,properties:r,children:[]};if(n){s.children=e.all(n);e.patch(n,s);s=e.applyData(n,s)}u.push(s)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,true)};e.patch(t,c);return e.applyData(t,c)}function Zr(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};e.patch(t,n);return e.applyData(t,n)}const Jr=9;const ei=32;function ti(e){const t=String(e);const n=/\r?\n|\r/g;let r=n.exec(t);let i=0;const o=[];while(r){o.push(ni(t.slice(i,r.index),i>0,true),r[0]);i=r.index+r[0].length;r=n.exec(t)}o.push(ni(t.slice(i),i>0,false));return o.join("")}function ni(e,t,n){let r=0;let i=e.length;if(t){let t=e.codePointAt(r);while(t===Jr||t===ei){r++;t=e.codePointAt(r)}}if(n){let t=e.codePointAt(i-1);while(t===Jr||t===ei){i--;t=e.codePointAt(i-1)}}return i>r?e.slice(r,i):""}function ri(e,t){const n={type:"text",value:ti(String(t.value))};e.patch(t,n);return e.applyData(t,n)}function ii(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};e.patch(t,n);return e.applyData(t,n)}const oi={blockquote:Tr,break:Ar,code:Cr,delete:Dr,emphasis:Rr,footnoteReference:Lr,heading:Or,html:_r,imageReference:Mr,image:Nr,inlineCode:Ir,linkReference:qr,link:Br,listItem:Fr,list:zr,paragraph:jr,root:Vr,strong:Gr,table:Kr,tableCell:Zr,tableRow:Qr,text:ri,thematicBreak:ii,toml:li,yaml:li,definition:li,footnoteDefinition:li};function li(){return undefined}const si=-1;const ai=0;const ui=1;const ci=2;const fi=3;const hi=4;const di=5;const pi=6;const gi=7;const mi=8;const bi=typeof self==="object"?self:globalThis;const ki=(e,t)=>{const n=(t,n)=>{e.set(n,t);return t};const r=i=>{if(e.has(i))return e.get(i);const[o,l]=t[i];switch(o){case ai:case si:return n(l,i);case ui:{const e=n([],i);for(const t of l)e.push(r(t));return e}case ci:{const e=n({},i);for(const[t,n]of l)e[r(t)]=r(n);return e}case fi:return n(new Date(l),i);case hi:{const{source:e,flags:t}=l;return n(new RegExp(e,t),i)}case di:{const e=n(new Map,i);for(const[t,n]of l)e.set(r(t),r(n));return e}case pi:{const e=n(new Set,i);for(const t of l)e.add(r(t));return e}case gi:{const{name:e,message:t}=l;return n(new bi[e](t),i)}case mi:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i)}return n(new bi[o](l),i)};return r};const yi=e=>ki(new Map,e)(0);const wi="";const{toString:vi}={};const{keys:Ei}=Object;const Si=e=>{const t=typeof e;if(t!=="object"||!e)return[ai,t];const n=vi.call(e).slice(8,-1);switch(n){case"Array":return[ui,wi];case"Object":return[ci,wi];case"Date":return[fi,wi];case"RegExp":return[hi,wi];case"Map":return[di,wi];case"Set":return[pi,wi]}if(n.includes("Array"))return[ui,n];if(n.includes("Error"))return[gi,n];return[ci,n]};const xi=([e,t])=>e===ai&&(t==="function"||t==="symbol");const Ti=(e,t,n,r)=>{const i=(e,t)=>{const i=r.push(e)-1;n.set(t,i);return i};const o=r=>{if(n.has(r))return n.get(r);let[l,s]=Si(r);switch(l){case ai:{let t=r;switch(s){case"bigint":l=mi;t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return i([si],r)}return i([l,t],r)}case ui:{if(s)return i([s,[...r]],r);const e=[];const t=i([l,e],r);for(const t of r)e.push(o(t));return t}case ci:{if(s){switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}}if(t&&"toJSON"in r)return o(r.toJSON());const n=[];const a=i([l,n],r);for(const t of Ei(r)){if(e||!xi(Si(r[t])))n.push([o(t),o(r[t])])}return a}case fi:return i([l,r.toISOString()],r);case hi:{const{source:e,flags:t}=r;return i([l,{source:e,flags:t}],r)}case di:{const t=[];const n=i([l,t],r);for(const[n,i]of r){if(e||!(xi(Si(n))||xi(Si(i))))t.push([o(n),o(i)])}return n}case pi:{const t=[];const n=i([l,t],r);for(const n of r){if(e||!xi(Si(n)))t.push(o(n))}return n}}const{message:a}=r;return i([l,{name:s,message:a}],r)};return o};const Ai=(e,{json:t,lossy:n}={})=>{const r=[];return Ti(!(t||n),!!t,new Map,r)(e),r};const Ci=typeof structuredClone==="function"?(e,t)=>t&&("json"in t||"lossy"in t)?yi(Ai(e,t)):structuredClone(e):(e,t)=>yi(Ai(e,t));function Di(e,t){const n=[{type:"text",value:"↩"}];if(t>1){n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]})}return n}function Ri(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Li(e){const t=typeof e.options.clobberPrefix==="string"?e.options.clobberPrefix:"user-content-";const n=e.options.footnoteBackContent||Di;const r=e.options.footnoteBackLabel||Ri;const i=e.options.footnoteLabel||"Footnotes";const o=e.options.footnoteLabelTagName||"h2";const l=e.options.footnoteLabelProperties||{className:["sr-only"]};const s=[];let a=-1;while(++a<e.footnoteOrder.length){const i=e.footnoteById.get(e.footnoteOrder[a]);if(!i){continue}const o=e.all(i);const l=String(i.identifier).toUpperCase();const u=We(l.toLowerCase());let c=0;const f=[];const h=e.footnoteCounts.get(l);while(h!==undefined&&++c<=h){if(f.length>0){f.push({type:"text",value:" "})}let e=typeof n==="string"?n:n(a,c);if(typeof e==="string"){e={type:"text",value:e}}f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:typeof r==="string"?r:r(a,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const d=o[o.length-1];if(d&&d.type==="element"&&d.tagName==="p"){const e=d.children[d.children.length-1];if(e&&e.type==="text"){e.value+=" "}else{d.children.push({type:"text",value:" "})}d.children.push(...f)}else{o.push(...f)}const p={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,true)};e.patch(i,p);s.push(p)}if(s.length===0){return}return{type:"element",tagName:"section",properties:{dataFootnotes:true,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Ci(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,true)},{type:"text",value:"\n"}]}}const Oi=function(e){if(e===null||e===undefined){return Ii}if(typeof e==="function"){return Ni(e)}if(typeof e==="object"){return Array.isArray(e)?_i(e):Pi(e)}if(typeof e==="string"){return Mi(e)}throw new Error("Expected function, string, or object as test")};function _i(e){const t=[];let n=-1;while(++n<e.length){t[n]=Oi(e[n])}return Ni(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function Pi(e){const t=e;return Ni(n);function n(n){const r=n;let i;for(i in e){if(r[i]!==t[i])return false}return true}}function Mi(e){return Ni(t);function t(t){return t&&t.type===e}}function Ni(e){return t;function t(t,n,r){return Boolean(qi(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function Ii(){return true}function qi(e){return e!==null&&typeof e==="object"&&"type"in e}function Bi(e){return e}const Fi=[];const Ui=true;const Hi=false;const zi="skip";function ji(e,t,n,r){let i;if(typeof t==="function"&&typeof n!=="function"){r=n;n=t}else{i=t}const o=Oi(i);const l=r?-1:1;s(e,undefined,[])();function s(e,i,a){const u=e&&typeof e==="object"?e:{};if(typeof u.type==="string"){const t=typeof u.tagName==="string"?u.tagName:typeof u.name==="string"?u.name:undefined;Object.defineProperty(c,"name",{value:"node ("+Bi(e.type+(t?"<"+t+">":""))+")"})}return c;function c(){let u=Fi;let c;let f;let h;if(!t||o(e,i,a[a.length-1]||undefined)){u=Vi(n(e,a));if(u[0]===Hi){return u}}if("children"in e&&e.children){const t=e;if(t.children&&u[0]!==zi){f=(r?t.children.length:-1)+l;h=a.concat(t);while(f>-1&&f<t.children.length){const e=t.children[f];c=s(e,f,h)();if(c[0]===Hi){return c}f=typeof c[1]==="number"?c[1]:f+l}}}return u}}}function Vi(e){if(Array.isArray(e)){return e}if(typeof e==="number"){return[Ui,e]}return e===null||e===undefined?Fi:[e]}function Gi(e,t,n,r){let i;let o;let l;if(typeof t==="function"&&typeof n!=="function"){o=undefined;l=t;i=n}else{o=t;l=n;i=r}ji(e,o,s,i);function s(e,t){const n=t[t.length-1];const r=n?n.children.indexOf(e):undefined;return l(e,r,n)}}const $i={}.hasOwnProperty;const Yi={};function Wi(e,t){const n=t||Yi;const r=new Map;const i=new Map;const o=new Map;const l={...oi,...n.handlers};const s={all:u,applyData:Ki,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:a,options:n,patch:Xi,wrap:Zi};Gi(e,(function(e){if(e.type==="definition"||e.type==="footnoteDefinition"){const t=e.type==="definition"?r:i;const n=String(e.identifier).toUpperCase();if(!t.has(n)){t.set(n,e)}}}));return s;function a(e,t){const n=e.type;const r=s.handlers[n];if($i.call(s.handlers,n)&&r){return r(s,e,t)}if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e;const r=Ci(n);r.children=s.all(e);return r}return Ci(e)}const i=s.options.unknownHandler||Qi;return i(s,e,t)}function u(e){const t=[];if("children"in e){const n=e.children;let r=-1;while(++r<n.length){const i=s.one(n[r],e);if(i){if(r&&n[r-1].type==="break"){if(!Array.isArray(i)&&i.type==="text"){i.value=Ji(i.value)}if(!Array.isArray(i)&&i.type==="element"){const e=i.children[0];if(e&&e.type==="text"){e.value=Ji(e.value)}}}if(Array.isArray(i)){t.push(...i)}else{t.push(i)}}}}return t}}function Xi(e,t){if(e.position)t.position=Xr(e)}function Ki(e,t){let n=t;if(e&&e.data){const t=e.data.hName;const r=e.data.hChildren;const i=e.data.hProperties;if(typeof t==="string"){if(n.type==="element"){n.tagName=t}else{const e="children"in n?n.children:[n];n={type:"element",tagName:t,properties:{},children:e}}}if(n.type==="element"&&i){Object.assign(n.properties,Ci(i))}if("children"in n&&n.children&&r!==null&&r!==undefined){n.children=r}}return n}function Qi(e,t){const n=t.data||{};const r="value"in t&&!($i.call(n,"hProperties")||$i.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};e.patch(t,r);return e.applyData(t,r)}function Zi(e,t){const n=[];let r=-1;if(t){n.push({type:"text",value:"\n"})}while(++r<e.length){if(r)n.push({type:"text",value:"\n"});n.push(e[r])}if(t&&e.length>0){n.push({type:"text",value:"\n"})}return n}function Ji(e){let t=0;let n=e.charCodeAt(t);while(n===9||n===32){t++;n=e.charCodeAt(t)}return e.slice(t)}function eo(e,t){const n=Wi(e,t);const r=n.one(e,undefined);const i=Li(n);const o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};if(i){o.children.push({type:"text",value:"\n"},i)}return o}function to(e,t){if(e&&"run"in e){return async function(n,r){const i=eo(n,{file:r,...t});await e.run(i,r)}}return function(n,r){return eo(n,{file:r,...e||t})}}function no(e,t){const n=String(e);if(typeof t!=="string"){throw new TypeError("Expected character")}let r=0;let i=n.indexOf(t);while(i!==-1){r++;i=n.indexOf(t,i+t.length)}return r}function ro(e){if(typeof e!=="string"){throw new TypeError("Expected a string")}return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function io(e,t,n){const r=n||{};const i=Oi(r.ignore||[]);const o=oo(t);let l=-1;while(++l<o.length){ji(e,"text",s)}function s(e,t){let n=-1;let r;while(++n<t.length){const e=t[n];const o=r?r.children:undefined;if(i(e,o?o.indexOf(e):undefined,r)){return}r=e}if(r){return a(e,t)}}function a(e,t){const n=t[t.length-1];const r=o[l][0];const i=o[l][1];let s=0;const a=n.children;const u=a.indexOf(e);let c=false;let f=[];r.lastIndex=0;let h=r.exec(e.value);while(h){const n=h.index;const o={index:h.index,input:h.input,stack:[...t,e]};let l=i(...h,o);if(typeof l==="string"){l=l.length>0?{type:"text",value:l}:undefined}if(l===false){r.lastIndex=n+1}else{if(s!==n){f.push({type:"text",value:e.value.slice(s,n)})}if(Array.isArray(l)){f.push(...l)}else if(l){f.push(l)}s=n+h[0].length;c=true}if(!r.global){break}h=r.exec(e.value)}if(c){if(s<e.value.length){f.push({type:"text",value:e.value.slice(s)})}n.children.splice(u,1,...f)}else{f=[e]}return u+f.length}}function oo(e){const t=[];if(!Array.isArray(e)){throw new TypeError("Expected find and replace tuple or list of tuples")}const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;while(++r<n.length){const e=n[r];t.push([lo(e[0]),so(e[1])])}return t}function lo(e){return typeof e==="string"?new RegExp(ro(e),"g"):e}function so(e){return typeof e==="function"?e:function(){return e}}const ao="phrasing";const uo=["autolink","link","image","label"];function co(){return{transforms:[yo],enter:{literalAutolink:ho,literalAutolinkEmail:po,literalAutolinkHttp:po,literalAutolinkWww:po},exit:{literalAutolink:ko,literalAutolinkEmail:bo,literalAutolinkHttp:go,literalAutolinkWww:mo}}}function fo(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ao,notInConstruct:uo},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ao,notInConstruct:uo},{character:":",before:"[ps]",after:"\\/",inConstruct:ao,notInConstruct:uo}]}}function ho(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function po(e){this.config.enter.autolinkProtocol.call(this,e)}function go(e){this.config.exit.autolinkProtocol.call(this,e)}function mo(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function bo(e){this.config.exit.autolinkEmail.call(this,e)}function ko(e){this.exit(e)}function yo(e){io(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,wo],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,vo]],{ignore:["link","linkReference"]})}function wo(e,t,n,r,i){let o="";if(!xo(i)){return false}if(/^w/i.test(t)){n=t+n;t="";o="http://"}if(!Eo(n)){return false}const l=So(n+r);if(!l[0])return false;const s={type:"link",title:null,url:o+t+l[0],children:[{type:"text",value:t+l[0]}]};if(l[1]){return[s,{type:"text",value:l[1]}]}return s}function vo(e,t,n,r){if(!xo(r,true)||/[-\d_]$/.test(n)){return false}return{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Eo(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2]))){return false}return true}function So(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t){return[e,undefined]}e=e.slice(0,t.index);let n=t[0];let r=n.indexOf(")");const i=no(e,"(");let o=no(e,")");while(r!==-1&&i>o){e+=n.slice(0,r+1);n=n.slice(r+1);r=n.indexOf(")");o++}return[e,n]}function xo(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||$e(n)||Ge(n))&&(!t||n!==47)}No.peek=Io;function To(){return{enter:{gfmFootnoteDefinition:Co,gfmFootnoteDefinitionLabelString:Do,gfmFootnoteCall:Oo,gfmFootnoteCallString:_o},exit:{gfmFootnoteDefinition:Lo,gfmFootnoteDefinitionLabelString:Ro,gfmFootnoteCall:Mo,gfmFootnoteCallString:Po}}}function Ao(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:qo,footnoteReference:No}}}function Co(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Do(){this.buffer()}function Ro(e){const t=this.resume();const n=this.stack[this.stack.length-1];n.label=t;n.identifier=Pe(this.sliceSerialize(e)).toLowerCase()}function Lo(e){this.exit(e)}function Oo(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function _o(){this.buffer()}function Po(e){const t=this.resume();const n=this.stack[this.stack.length-1];n.label=t;n.identifier=Pe(this.sliceSerialize(e)).toLowerCase()}function Mo(e){this.exit(e)}function No(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteReference");const s=n.enter("reference");o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"}));s();l();o+=i.move("]");return o}function Io(){return"["}function qo(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteDefinition");const s=n.enter("label");o+=i.move(n.safe(n.associationId(e),{...i.current(),before:o,after:"]"}));s();o+=i.move("]:"+(e.children&&e.children.length>0?" ":""));i.shift(4);o+=i.move(n.indentLines(n.containerFlow(e,i.current()),Bo));l();return o}function Bo(e,t,n){if(t===0){return e}return(n?"":" ")+e}const Fo=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Vo.peek=Go;function Uo(){return{canContainEols:["delete"],enter:{strikethrough:zo},exit:{strikethrough:jo}}}function Ho(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Fo}],handlers:{delete:Vo}}}function zo(e){this.enter({type:"delete",children:[]},e)}function jo(e){this.exit(e)}function Vo(e,t,n,r){const i=n.createTracker(r);const o=n.enter("strikethrough");let l=i.move("~~");l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"});l+=i.move("~~");o();return l}function Go(){return"~"}function $o(e,t={}){const n=(t.align||[]).concat();const r=t.stringLength||Wo;const i=[];const o=[];const l=[];const s=[];let a=0;let u=-1;while(++u<e.length){const n=[];const i=[];let c=-1;if(e[u].length>a){a=e[u].length}while(++c<e[u].length){const o=Yo(e[u][c]);if(t.alignDelimiters!==false){const e=r(o);i[c]=e;if(s[c]===undefined||e>s[c]){s[c]=e}}n.push(o)}o[u]=n;l[u]=i}let c=-1;if(typeof n==="object"&&"length"in n){while(++c<a){i[c]=Xo(n[c])}}else{const e=Xo(n);while(++c<a){i[c]=e}}c=-1;const f=[];const h=[];while(++c<a){const e=i[c];let n="";let r="";if(e===99){n=":";r=":"}else if(e===108){n=":"}else if(e===114){r=":"}let o=t.alignDelimiters===false?1:Math.max(1,s[c]-n.length-r.length);const l=n+"-".repeat(o)+r;if(t.alignDelimiters!==false){o=n.length+o+r.length;if(o>s[c]){s[c]=o}h[c]=o}f[c]=l}o.splice(1,0,f);l.splice(1,0,h);u=-1;const d=[];while(++u<o.length){const e=o[u];const n=l[u];c=-1;const r=[];while(++c<a){const o=e[c]||"";let l="";let u="";if(t.alignDelimiters!==false){const e=s[c]-(n[c]||0);const t=i[c];if(t===114){l=" ".repeat(e)}else if(t===99){if(e%2){l=" ".repeat(e/2+.5);u=" ".repeat(e/2-.5)}else{l=" ".repeat(e/2);u=l}}else{u=" ".repeat(e)}}if(t.delimiterStart!==false&&!c){r.push("|")}if(t.padding!==false&&!(t.alignDelimiters===false&&o==="")&&(t.delimiterStart!==false||c)){r.push(" ")}if(t.alignDelimiters!==false){r.push(l)}r.push(o);if(t.alignDelimiters!==false){r.push(u)}if(t.padding!==false){r.push(" ")}if(t.delimiterEnd!==false||c!==a-1){r.push("|")}}d.push(t.delimiterEnd===false?r.join("").replace(/ +$/,""):r.join(""))}return d.join("\n")}function Yo(e){return e===null||e===undefined?"":String(e)}function Wo(e){return e.length}function Xo(e){const t=typeof e==="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Ko(e,t,n,r){const i=n.enter("blockquote");const o=n.createTracker(r);o.move("> ");o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),Qo);i();return l}function Qo(e,t,n){return">"+(n?"":" ")+e}function Zo(e,t){return Jo(e,t.inConstruct,true)&&!Jo(e,t.notInConstruct,false)}function Jo(e,t,n){if(typeof t==="string"){t=[t]}if(!t||t.length===0){return n}let r=-1;while(++r<t.length){if(e.includes(t[r])){return true}}return false}function el(e,t,n,r){let i=-1;while(++i<n.unsafe.length){if(n.unsafe[i].character==="\n"&&Zo(n.stack,n.unsafe[i])){return/[ \t]/.test(r.before)?"":" "}}return"\\\n"}function tl(e,t){const n=String(e);let r=n.indexOf(t);let i=r;let o=0;let l=0;if(typeof t!=="string"){throw new TypeError("Expected substring")}while(r!==-1){if(r===i){if(++o>l){l=o}}else{o=1}i=r+t.length;r=n.indexOf(t,i)}return l}function nl(e,t){return Boolean(t.options.fences===false&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function rl(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~"){throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`")}return t}function il(e,t,n,r){const i=rl(n);const o=e.value||"";const l=i==="`"?"GraveAccent":"Tilde";if(nl(e,n)){const e=n.enter("codeIndented");const t=n.indentLines(o,ol);e();return t}const s=n.createTracker(r);const a=i.repeat(Math.max(tl(o,i)+1,3));const u=n.enter("codeFenced");let c=s.move(a);if(e.lang){const t=n.enter(`codeFencedLang${l}`);c+=s.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...s.current()}));t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${l}`);c+=s.move(" ");c+=s.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...s.current()}));t()}c+=s.move("\n");if(o){c+=s.move(o+"\n")}c+=s.move(a);u();return c}function ol(e,t,n){return(n?"":" ")+e}function ll(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'"){throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`")}return t}function sl(e,t,n,r){const i=ll(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.enter("definition");let s=n.enter("label");const a=n.createTracker(r);let u=a.move("[");u+=a.move(n.safe(n.associationId(e),{before:u,after:"]",...a.current()}));u+=a.move("]: ");s();if(!e.url||/[\0- \u007F]/.test(e.url)){s=n.enter("destinationLiteral");u+=a.move("<");u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()}));u+=a.move(">")}else{s=n.enter("destinationRaw");u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...a.current()}))}s();if(e.title){s=n.enter(`title${o}`);u+=a.move(" "+i);u+=a.move(n.safe(e.title,{before:u,after:i,...a.current()}));u+=a.move(i);s()}l();return u}function al(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_"){throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`")}return t}ul.peek=cl;function ul(e,t,n,r){const i=al(n);const o=n.enter("emphasis");const l=n.createTracker(r);let s=l.move(i);s+=l.move(n.containerPhrasing(e,{before:s,after:i,...l.current()}));s+=l.move(i);o();return s}function cl(e,t,n){return n.options.emphasis||"*"}const fl={};function hl(e,t){const n=t||fl;const r=typeof n.includeImageAlt==="boolean"?n.includeImageAlt:true;const i=typeof n.includeHtml==="boolean"?n.includeHtml:true;return dl(e,r,i)}function dl(e,t,n){if(gl(e)){if("value"in e){return e.type==="html"&&!n?"":e.value}if(t&&"alt"in e&&e.alt){return e.alt}if("children"in e){return pl(e.children,t,n)}}if(Array.isArray(e)){return pl(e,t,n)}return""}function pl(e,t,n){const r=[];let i=-1;while(++i<e.length){r[i]=dl(e[i],t,n)}return r.join("")}function gl(e){return Boolean(e&&typeof e==="object")}function ml(e,t){let n=false;Gi(e,(function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||e.type==="break"){n=true;return Hi}}));return Boolean((!e.depth||e.depth<3)&&hl(e)&&(t.options.setext||n))}function bl(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1);const o=n.createTracker(r);if(ml(e,n)){const t=n.enter("headingSetext");const r=n.enter("phrasing");const l=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});r();t();return l+"\n"+(i===1?"=":"-").repeat(l.length-(Math.max(l.lastIndexOf("\r"),l.lastIndexOf("\n"))+1))}const l="#".repeat(i);const s=n.enter("headingAtx");const a=n.enter("phrasing");o.move(l+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});if(/^[\t ]/.test(u)){u="&#x"+u.charCodeAt(0).toString(16).toUpperCase()+";"+u.slice(1)}u=u?l+" "+u:l;if(n.options.closeAtx){u+=" "+l}a();s();return u}kl.peek=yl;function kl(e){return e.value||""}function yl(){return"<"}wl.peek=vl;function wl(e,t,n,r){const i=ll(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.enter("image");let s=n.enter("label");const a=n.createTracker(r);let u=a.move("![");u+=a.move(n.safe(e.alt,{before:u,after:"]",...a.current()}));u+=a.move("](");s();if(!e.url&&e.title||/[\0- \u007F]/.test(e.url)){s=n.enter("destinationLiteral");u+=a.move("<");u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()}));u+=a.move(">")}else{s=n.enter("destinationRaw");u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":")",...a.current()}))}s();if(e.title){s=n.enter(`title${o}`);u+=a.move(" "+i);u+=a.move(n.safe(e.title,{before:u,after:i,...a.current()}));u+=a.move(i);s()}u+=a.move(")");l();return u}function vl(){return"!"}El.peek=Sl;function El(e,t,n,r){const i=e.referenceType;const o=n.enter("imageReference");let l=n.enter("label");const s=n.createTracker(r);let a=s.move("![");const u=n.safe(e.alt,{before:a,after:"]",...s.current()});a+=s.move(u+"][");l();const c=n.stack;n.stack=[];l=n.enter("reference");const f=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});l();n.stack=c;o();if(i==="full"||!u||u!==f){a+=s.move(f+"]")}else if(i==="shortcut"){a=a.slice(0,-1)}else{a+=s.move("]")}return a}function Sl(){return"!"}xl.peek=Tl;function xl(e,t,n){let r=e.value||"";let i="`";let o=-1;while(new RegExp("(^|[^`])"+i+"([^`]|$)").test(r)){i+="`"}if(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))){r=" "+r+" "}while(++o<n.unsafe.length){const e=n.unsafe[o];const t=n.compilePattern(e);let i;if(!e.atBreak)continue;while(i=t.exec(r)){let e=i.index;if(r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13){e--}r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function Tl(){return"`"}function Al(e,t){const n=hl(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Cl.peek=Dl;function Cl(e,t,n,r){const i=ll(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.createTracker(r);let s;let a;if(Al(e,n)){const t=n.stack;n.stack=[];s=n.enter("autolink");let r=l.move("<");r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}));r+=l.move(">");s();n.stack=t;return r}s=n.enter("link");a=n.enter("label");let u=l.move("[");u+=l.move(n.containerPhrasing(e,{before:u,after:"](",...l.current()}));u+=l.move("](");a();if(!e.url&&e.title||/[\0- \u007F]/.test(e.url)){a=n.enter("destinationLiteral");u+=l.move("<");u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()}));u+=l.move(">")}else{a=n.enter("destinationRaw");u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))}a();if(e.title){a=n.enter(`title${o}`);u+=l.move(" "+i);u+=l.move(n.safe(e.title,{before:u,after:i,...l.current()}));u+=l.move(i);a()}u+=l.move(")");s();return u}function Dl(e,t,n){return Al(e,n)?"<":"["}Rl.peek=Ll;function Rl(e,t,n,r){const i=e.referenceType;const o=n.enter("linkReference");let l=n.enter("label");const s=n.createTracker(r);let a=s.move("[");const u=n.containerPhrasing(e,{before:a,after:"]",...s.current()});a+=s.move(u+"][");l();const c=n.stack;n.stack=[];l=n.enter("reference");const f=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});l();n.stack=c;o();if(i==="full"||!u||u!==f){a+=s.move(f+"]")}else if(i==="shortcut"){a=a.slice(0,-1)}else{a+=s.move("]")}return a}function Ll(){return"["}function Ol(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-"){throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`")}return t}function _l(e){const t=Ol(e);const n=e.options.bulletOther;if(!n){return t==="*"?"-":"*"}if(n!=="*"&&n!=="+"&&n!=="-"){throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`")}if(n===t){throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different")}return n}function Pl(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")"){throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`")}return t}function Ml(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_"){throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`")}return t}function Nl(e,t,n,r){const i=n.enter("list");const o=n.bulletCurrent;let l=e.ordered?Pl(n):Ol(n);const s=e.ordered?l==="."?")":".":_l(n);let a=t&&n.bulletLastUsed?l===n.bulletLastUsed:false;if(!e.ordered){const t=e.children?e.children[0]:undefined;if((l==="*"||l==="-")&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0){a=true}if(Ml(n)===l&&t){let t=-1;while(++t<e.children.length){const n=e.children[t];if(n&&n.type==="listItem"&&n.children&&n.children[0]&&n.children[0].type==="thematicBreak"){a=true;break}}}}if(a){l=s}n.bulletCurrent=l;const u=n.containerFlow(e,r);n.bulletLastUsed=l;n.bulletCurrent=o;i();return u}function Il(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed"){throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`")}return t}function ql(e,t,n,r){const i=Il(n);let o=n.bulletCurrent||Ol(n);if(t&&t.type==="list"&&t.ordered){o=(typeof t.start==="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===false?0:t.children.indexOf(e))+o}let l=o.length+1;if(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread)){l=Math.ceil(l/4)*4}const s=n.createTracker(r);s.move(o+" ".repeat(l-o.length));s.shift(l);const a=n.enter("listItem");const u=n.indentLines(n.containerFlow(e,s.current()),c);a();return u;function c(e,t,n){if(t){return(n?"":" ".repeat(l))+e}return(n?o:o+" ".repeat(l-o.length))+e}}function Bl(e,t,n,r){const i=n.enter("paragraph");const o=n.enter("phrasing");const l=n.containerPhrasing(e,r);o();i();return l}const Fl=Oi(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function Ul(e,t,n,r){const i=e.children.some((function(e){return Fl(e)}));const o=i?n.containerPhrasing:n.containerFlow;return o.call(n,e,r)}function Hl(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_"){throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`")}return t}zl.peek=jl;function zl(e,t,n,r){const i=Hl(n);const o=n.enter("strong");const l=n.createTracker(r);let s=l.move(i+i);s+=l.move(n.containerPhrasing(e,{before:s,after:i,...l.current()}));s+=l.move(i+i);o();return s}function jl(e,t,n){return n.options.strong||"*"}function Vl(e,t,n,r){return n.safe(e.value,r)}function Gl(e){const t=e.options.ruleRepetition||3;if(t<3){throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more")}return t}function $l(e,t,n){const r=(Ml(n)+(n.options.ruleSpaces?" ":"")).repeat(Gl(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Yl={blockquote:Ko,break:el,code:il,definition:sl,emphasis:ul,hardBreak:el,heading:bl,html:kl,image:wl,imageReference:El,inlineCode:xl,link:Cl,linkReference:Rl,list:Nl,listItem:ql,paragraph:Bl,root:Ul,strong:zl,text:Vl,thematicBreak:$l};function Wl(){return{enter:{table:Xl,tableData:Jl,tableHeader:Jl,tableRow:Ql},exit:{codeText:es,table:Kl,tableData:Zl,tableHeader:Zl,tableRow:Zl}}}function Xl(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return e==="none"?null:e})),children:[]},e);this.data.inTable=true}function Kl(e){this.exit(e);this.data.inTable=undefined}function Ql(e){this.enter({type:"tableRow",children:[]},e)}function Zl(e){this.exit(e)}function Jl(e){this.enter({type:"tableCell",children:[]},e)}function es(e){let t=this.resume();if(this.data.inTable){t=t.replace(/\\([\\|])/g,ts)}const n=this.stack[this.stack.length-1];n.value=t;this.exit(e)}function ts(e,t){return t==="|"?t:e}function ns(e){const t=e||{};const n=t.tableCellPadding;const r=t.tablePipeAlign;const i=t.stringLength;const o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:true,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:true,character:":",after:"-"},{atBreak:true,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:l,tableCell:a,tableRow:s}};function l(e,t,n,r){return u(c(e,n,r),e.align)}function s(e,t,n,r){const i=f(e,n,r);const o=u([i]);return o.slice(0,o.indexOf("\n"))}function a(e,t,n,r){const i=n.enter("tableCell");const l=n.enter("phrasing");const s=n.containerPhrasing(e,{...r,before:o,after:o});l();i();return s}function u(e,t){return $o(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function c(e,t,n){const r=e.children;let i=-1;const o=[];const l=t.enter("table");while(++i<r.length){o[i]=f(r[i],t,n)}l();return o}function f(e,t,n){const r=e.children;let i=-1;const o=[];const l=t.enter("tableRow");while(++i<r.length){o[i]=a(r[i],e,t,n)}l();return o}function h(e,t,n){let r=Yl.inlineCode(e,t,n);if(n.stack.includes("tableCell")){r=r.replace(/\|/g,"\\$&")}return r}}function rs(e,t,n,r){const i=n.enter("blockquote");const o=n.createTracker(r);o.move("> ");o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),is);i();return l}function is(e,t,n){return">"+(n?"":" ")+e}function os(e,t){return ls(e,t.inConstruct,true)&&!ls(e,t.notInConstruct,false)}function ls(e,t,n){if(typeof t==="string"){t=[t]}if(!t||t.length===0){return n}let r=-1;while(++r<t.length){if(e.includes(t[r])){return true}}return false}function ss(e,t,n,r){let i=-1;while(++i<n.unsafe.length){if(n.unsafe[i].character==="\n"&&os(n.stack,n.unsafe[i])){return/[ \t]/.test(r.before)?"":" "}}return"\\\n"}function as(e,t){return Boolean(t.options.fences===false&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function us(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~"){throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`")}return t}function cs(e,t,n,r){const i=us(n);const o=e.value||"";const l=i==="`"?"GraveAccent":"Tilde";if(as(e,n)){const e=n.enter("codeIndented");const t=n.indentLines(o,fs);e();return t}const s=n.createTracker(r);const a=i.repeat(Math.max(tl(o,i)+1,3));const u=n.enter("codeFenced");let c=s.move(a);if(e.lang){const t=n.enter(`codeFencedLang${l}`);c+=s.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...s.current()}));t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${l}`);c+=s.move(" ");c+=s.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...s.current()}));t()}c+=s.move("\n");if(o){c+=s.move(o+"\n")}c+=s.move(a);u();return c}function fs(e,t,n){return(n?"":" ")+e}function hs(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'"){throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`")}return t}function ds(e,t,n,r){const i=hs(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.enter("definition");let s=n.enter("label");const a=n.createTracker(r);let u=a.move("[");u+=a.move(n.safe(n.associationId(e),{before:u,after:"]",...a.current()}));u+=a.move("]: ");s();if(!e.url||/[\0- \u007F]/.test(e.url)){s=n.enter("destinationLiteral");u+=a.move("<");u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()}));u+=a.move(">")}else{s=n.enter("destinationRaw");u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...a.current()}))}s();if(e.title){s=n.enter(`title${o}`);u+=a.move(" "+i);u+=a.move(n.safe(e.title,{before:u,after:i,...a.current()}));u+=a.move(i);s()}l();return u}function ps(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_"){throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`")}return t}gs.peek=ms;function gs(e,t,n,r){const i=ps(n);const o=n.enter("emphasis");const l=n.createTracker(r);let s=l.move(i);s+=l.move(n.containerPhrasing(e,{before:s,after:i,...l.current()}));s+=l.move(i);o();return s}function ms(e,t,n){return n.options.emphasis||"*"}const bs={};function ks(e,t){const n=t||bs;const r=typeof n.includeImageAlt==="boolean"?n.includeImageAlt:true;const i=typeof n.includeHtml==="boolean"?n.includeHtml:true;return ys(e,r,i)}function ys(e,t,n){if(vs(e)){if("value"in e){return e.type==="html"&&!n?"":e.value}if(t&&"alt"in e&&e.alt){return e.alt}if("children"in e){return ws(e.children,t,n)}}if(Array.isArray(e)){return ws(e,t,n)}return""}function ws(e,t,n){const r=[];let i=-1;while(++i<e.length){r[i]=ys(e[i],t,n)}return r.join("")}function vs(e){return Boolean(e&&typeof e==="object")}function Es(e,t){let n=false;Gi(e,(function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||e.type==="break"){n=true;return Hi}}));return Boolean((!e.depth||e.depth<3)&&ks(e)&&(t.options.setext||n))}function Ss(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1);const o=n.createTracker(r);if(Es(e,n)){const t=n.enter("headingSetext");const r=n.enter("phrasing");const l=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});r();t();return l+"\n"+(i===1?"=":"-").repeat(l.length-(Math.max(l.lastIndexOf("\r"),l.lastIndexOf("\n"))+1))}const l="#".repeat(i);const s=n.enter("headingAtx");const a=n.enter("phrasing");o.move(l+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});if(/^[\t ]/.test(u)){u="&#x"+u.charCodeAt(0).toString(16).toUpperCase()+";"+u.slice(1)}u=u?l+" "+u:l;if(n.options.closeAtx){u+=" "+l}a();s();return u}xs.peek=Ts;function xs(e){return e.value||""}function Ts(){return"<"}As.peek=Cs;function As(e,t,n,r){const i=hs(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.enter("image");let s=n.enter("label");const a=n.createTracker(r);let u=a.move("![");u+=a.move(n.safe(e.alt,{before:u,after:"]",...a.current()}));u+=a.move("](");s();if(!e.url&&e.title||/[\0- \u007F]/.test(e.url)){s=n.enter("destinationLiteral");u+=a.move("<");u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()}));u+=a.move(">")}else{s=n.enter("destinationRaw");u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":")",...a.current()}))}s();if(e.title){s=n.enter(`title${o}`);u+=a.move(" "+i);u+=a.move(n.safe(e.title,{before:u,after:i,...a.current()}));u+=a.move(i);s()}u+=a.move(")");l();return u}function Cs(){return"!"}Ds.peek=Rs;function Ds(e,t,n,r){const i=e.referenceType;const o=n.enter("imageReference");let l=n.enter("label");const s=n.createTracker(r);let a=s.move("![");const u=n.safe(e.alt,{before:a,after:"]",...s.current()});a+=s.move(u+"][");l();const c=n.stack;n.stack=[];l=n.enter("reference");const f=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});l();n.stack=c;o();if(i==="full"||!u||u!==f){a+=s.move(f+"]")}else if(i==="shortcut"){a=a.slice(0,-1)}else{a+=s.move("]")}return a}function Rs(){return"!"}Ls.peek=Os;function Ls(e,t,n){let r=e.value||"";let i="`";let o=-1;while(new RegExp("(^|[^`])"+i+"([^`]|$)").test(r)){i+="`"}if(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))){r=" "+r+" "}while(++o<n.unsafe.length){const e=n.unsafe[o];const t=n.compilePattern(e);let i;if(!e.atBreak)continue;while(i=t.exec(r)){let e=i.index;if(r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13){e--}r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function Os(){return"`"}function _s(e,t){const n=ks(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Ps.peek=Ms;function Ps(e,t,n,r){const i=hs(n);const o=i==='"'?"Quote":"Apostrophe";const l=n.createTracker(r);let s;let a;if(_s(e,n)){const t=n.stack;n.stack=[];s=n.enter("autolink");let r=l.move("<");r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}));r+=l.move(">");s();n.stack=t;return r}s=n.enter("link");a=n.enter("label");let u=l.move("[");u+=l.move(n.containerPhrasing(e,{before:u,after:"](",...l.current()}));u+=l.move("](");a();if(!e.url&&e.title||/[\0- \u007F]/.test(e.url)){a=n.enter("destinationLiteral");u+=l.move("<");u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()}));u+=l.move(">")}else{a=n.enter("destinationRaw");u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))}a();if(e.title){a=n.enter(`title${o}`);u+=l.move(" "+i);u+=l.move(n.safe(e.title,{before:u,after:i,...l.current()}));u+=l.move(i);a()}u+=l.move(")");s();return u}function Ms(e,t,n){return _s(e,n)?"<":"["}Ns.peek=Is;function Ns(e,t,n,r){const i=e.referenceType;const o=n.enter("linkReference");let l=n.enter("label");const s=n.createTracker(r);let a=s.move("[");const u=n.containerPhrasing(e,{before:a,after:"]",...s.current()});a+=s.move(u+"][");l();const c=n.stack;n.stack=[];l=n.enter("reference");const f=n.safe(n.associationId(e),{before:a,after:"]",...s.current()});l();n.stack=c;o();if(i==="full"||!u||u!==f){a+=s.move(f+"]")}else if(i==="shortcut"){a=a.slice(0,-1)}else{a+=s.move("]")}return a}function Is(){return"["}function qs(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-"){throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`")}return t}function Bs(e){const t=qs(e);const n=e.options.bulletOther;if(!n){return t==="*"?"-":"*"}if(n!=="*"&&n!=="+"&&n!=="-"){throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`")}if(n===t){throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different")}return n}function Fs(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")"){throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`")}return t}function Us(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_"){throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`")}return t}function Hs(e,t,n,r){const i=n.enter("list");const o=n.bulletCurrent;let l=e.ordered?Fs(n):qs(n);const s=e.ordered?l==="."?")":".":Bs(n);let a=t&&n.bulletLastUsed?l===n.bulletLastUsed:false;if(!e.ordered){const t=e.children?e.children[0]:undefined;if((l==="*"||l==="-")&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0){a=true}if(Us(n)===l&&t){let t=-1;while(++t<e.children.length){const n=e.children[t];if(n&&n.type==="listItem"&&n.children&&n.children[0]&&n.children[0].type==="thematicBreak"){a=true;break}}}}if(a){l=s}n.bulletCurrent=l;const u=n.containerFlow(e,r);n.bulletLastUsed=l;n.bulletCurrent=o;i();return u}function zs(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed"){throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`")}return t}function js(e,t,n,r){const i=zs(n);let o=n.bulletCurrent||qs(n);if(t&&t.type==="list"&&t.ordered){o=(typeof t.start==="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===false?0:t.children.indexOf(e))+o}let l=o.length+1;if(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread)){l=Math.ceil(l/4)*4}const s=n.createTracker(r);s.move(o+" ".repeat(l-o.length));s.shift(l);const a=n.enter("listItem");const u=n.indentLines(n.containerFlow(e,s.current()),c);a();return u;function c(e,t,n){if(t){return(n?"":" ".repeat(l))+e}return(n?o:o+" ".repeat(l-o.length))+e}}function Vs(e,t,n,r){const i=n.enter("paragraph");const o=n.enter("phrasing");const l=n.containerPhrasing(e,r);o();i();return l}function Gs(e,t,n,r){const i=e.children.some((function(e){return Fl(e)}));const o=i?n.containerPhrasing:n.containerFlow;return o.call(n,e,r)}function $s(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_"){throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`")}return t}Ys.peek=Ws;function Ys(e,t,n,r){const i=$s(n);const o=n.enter("strong");const l=n.createTracker(r);let s=l.move(i+i);s+=l.move(n.containerPhrasing(e,{before:s,after:i,...l.current()}));s+=l.move(i+i);o();return s}function Ws(e,t,n){return n.options.strong||"*"}function Xs(e,t,n,r){return n.safe(e.value,r)}function Ks(e){const t=e.options.ruleRepetition||3;if(t<3){throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more")}return t}function Qs(e,t,n){const r=(Us(n)+(n.options.ruleSpaces?" ":"")).repeat(Ks(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Zs={blockquote:rs,break:ss,code:cs,definition:ds,emphasis:gs,hardBreak:ss,heading:Ss,html:xs,image:As,imageReference:Ds,inlineCode:Ls,link:Ps,linkReference:Ns,list:Hs,listItem:js,paragraph:Vs,root:Gs,strong:Ys,text:Xs,thematicBreak:Qs};function Js(){return{exit:{taskListCheckValueChecked:ta,taskListCheckValueUnchecked:ta,paragraph:na}}}function ea(){return{unsafe:[{atBreak:true,character:"-",after:"[:|-]"}],handlers:{listItem:ra}}}function ta(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function na(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked==="boolean"){const e=this.stack[this.stack.length-1];const n=e.children[0];if(n&&n.type==="text"){const r=t.children;let i=-1;let o;while(++i<r.length){const e=r[i];if(e.type==="paragraph"){o=e;break}}if(o===e){n.value=n.value.slice(1);if(n.value.length===0){e.children.shift()}else if(e.position&&n.position&&typeof n.position.start.offset==="number"){n.position.start.column++;n.position.start.offset++;e.position.start=Object.assign({},n.position.start)}}}}this.exit(e)}function ra(e,t,n,r){const i=e.children[0];const o=typeof e.checked==="boolean"&&i&&i.type==="paragraph";const l="["+(e.checked?"x":" ")+"] ";const s=n.createTracker(r);if(o){s.move(l)}let a=Zs.listItem(e,t,n,{...r,...s.current()});if(o){a=a.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)}return a;function u(e){return e+l}}function ia(){return[co(),To(),Uo(),Wl(),Js()]}function oa(e){return{extensions:[fo(),Ao(),Ho(),ns(e),ea()]}}const la={tokenize:wa,partial:true};const sa={tokenize:va,partial:true};const aa={tokenize:Ea,partial:true};const ua={tokenize:Sa,partial:true};const ca={tokenize:xa,partial:true};const fa={tokenize:ka,previous:Ta};const ha={tokenize:ya,previous:Aa};const da={tokenize:ba,previous:Ca};const pa={};function ga(){return{text:pa}}let ma=48;while(ma<123){pa[ma]=da;ma++;if(ma===58)ma=65;else if(ma===91)ma=97}pa[43]=da;pa[45]=da;pa[46]=da;pa[95]=da;pa[72]=[da,ha];pa[104]=[da,ha];pa[87]=[da,fa];pa[119]=[da,fa];function ba(e,t,n){const r=this;let i;let o;return l;function l(t){if(!Da(t)||!Ca.call(r,r.previous)||Ra(r.events)){return n(t)}e.enter("literalAutolink");e.enter("literalAutolinkEmail");return s(t)}function s(t){if(Da(t)){e.consume(t);return s}if(t===64){e.consume(t);return a}return n(t)}function a(t){if(t===46){return e.check(ca,c,u)(t)}if(t===45||t===95||Ie(t)){o=true;e.consume(t);return a}return c(t)}function u(t){e.consume(t);i=true;return a}function c(l){if(o&&i&&Ne(r.previous)){e.exit("literalAutolinkEmail");e.exit("literalAutolink");return t(l)}return n(l)}}function ka(e,t,n){const r=this;return i;function i(t){if(t!==87&&t!==119||!Ta.call(r,r.previous)||Ra(r.events)){return n(t)}e.enter("literalAutolink");e.enter("literalAutolinkWww");return e.check(la,e.attempt(sa,e.attempt(aa,o),n),n)(t)}function o(n){e.exit("literalAutolinkWww");e.exit("literalAutolink");return t(n)}}function ya(e,t,n){const r=this;let i="";let o=false;return l;function l(t){if((t===72||t===104)&&Aa.call(r,r.previous)&&!Ra(r.events)){e.enter("literalAutolink");e.enter("literalAutolinkHttp");i+=String.fromCodePoint(t);e.consume(t);return s}return n(t)}function s(t){if(Ne(t)&&i.length<5){i+=String.fromCodePoint(t);e.consume(t);return s}if(t===58){const n=i.toLowerCase();if(n==="http"||n==="https"){e.consume(t);return a}}return n(t)}function a(t){if(t===47){e.consume(t);if(o){return u}o=true;return a}return n(t)}function u(t){return t===null||Be(t)||je(t)||$e(t)||Ge(t)?n(t):e.attempt(sa,e.attempt(aa,c),n)(t)}function c(n){e.exit("literalAutolinkHttp");e.exit("literalAutolink");return t(n)}}function wa(e,t,n){let r=0;return i;function i(t){if((t===87||t===119)&&r<3){r++;e.consume(t);return i}if(t===46&&r===3){e.consume(t);return o}return n(t)}function o(e){return e===null?n(e):t(e)}}function va(e,t,n){let r;let i;let o;return l;function l(t){if(t===46||t===95){return e.check(ua,a,s)(t)}if(t===null||je(t)||$e(t)||t!==45&&Ge(t)){return a(t)}o=true;e.consume(t);return l}function s(t){if(t===95){r=true}else{i=r;r=undefined}e.consume(t);return l}function a(e){if(i||r||!o){return n(e)}return t(e)}}function Ea(e,t){let n=0;let r=0;return i;function i(l){if(l===40){n++;e.consume(l);return i}if(l===41&&r<n){return o(l)}if(l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126){return e.check(ua,t,o)(l)}if(l===null||je(l)||$e(l)){return t(l)}e.consume(l);return i}function o(t){if(t===41){r++}e.consume(t);return i}}function Sa(e,t,n){return r;function r(l){if(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);return r}if(l===38){e.consume(l);return o}if(l===93){e.consume(l);return i}if(l===60||l===null||je(l)||$e(l)){return t(l)}return n(l)}function i(e){if(e===null||e===40||e===91||je(e)||$e(e)){return t(e)}return r(e)}function o(e){return Ne(e)?l(e):n(e)}function l(t){if(t===59){e.consume(t);return r}if(Ne(t)){e.consume(t);return l}return n(t)}}function xa(e,t,n){return r;function r(t){e.consume(t);return i}function i(e){return Ie(e)?n(e):t(e)}}function Ta(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||je(e)}function Aa(e){return!Ne(e)}function Ca(e){return!(e===47||Da(e))}function Da(e){return e===43||e===45||e===46||e===95||Ie(e)}function Ra(e){let t=e.length;let n=false;while(t--){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=true;break}if(r._gfmAutolinkLiteralWalkedInto){n=false;break}}if(e.length>0&&!n){e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=true}return n}const La={tokenize:Ba,partial:true};function Oa(){return{document:{[91]:{tokenize:Na,continuation:{tokenize:Ia},exit:qa}},text:{[91]:{tokenize:Ma},[93]:{add:"after",tokenize:_a,resolveTo:Pa}}}}function _a(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;while(i--){const e=r.events[i][1];if(e.type==="labelImage"){l=e;break}if(e.type==="gfmFootnoteCall"||e.type==="labelLink"||e.type==="label"||e.type==="image"||e.type==="link"){break}}return s;function s(i){if(!l||!l._balanced){return n(i)}const s=Pe(r.sliceSerialize({start:l.end,end:r.now()}));if(s.codePointAt(0)!==94||!o.includes(s.slice(1))){return n(i)}e.enter("gfmFootnoteCallLabelMarker");e.consume(i);e.exit("gfmFootnoteCallLabelMarker");return t(i)}}function Pa(e,t){let n=e.length;while(n--){if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){break}}e[n+1][1].type="data";e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)};const i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++;i.end.offset++;i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)};const l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)};const s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];e.splice(n,e.length-n+1,...s);return e}function Ma(e,t,n){const r=this;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0;let l;return s;function s(t){e.enter("gfmFootnoteCall");e.enter("gfmFootnoteCallLabelMarker");e.consume(t);e.exit("gfmFootnoteCallLabelMarker");return a}function a(t){if(t!==94)return n(t);e.enter("gfmFootnoteCallMarker");e.consume(t);e.exit("gfmFootnoteCallMarker");e.enter("gfmFootnoteCallString");e.enter("chunkString").contentType="string";return u}function u(s){if(o>999||s===93&&!l||s===null||s===91||je(s)){return n(s)}if(s===93){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");if(!i.includes(Pe(r.sliceSerialize(o)))){return n(s)}e.enter("gfmFootnoteCallLabelMarker");e.consume(s);e.exit("gfmFootnoteCallLabelMarker");e.exit("gfmFootnoteCall");return t}if(!je(s)){l=true}o++;e.consume(s);return s===92?c:u}function c(t){if(t===91||t===92||t===93){e.consume(t);o++;return u}return u(t)}}function Na(e,t,n){const r=this;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;let l=0;let s;return a;function a(t){e.enter("gfmFootnoteDefinition")._container=true;e.enter("gfmFootnoteDefinitionLabel");e.enter("gfmFootnoteDefinitionLabelMarker");e.consume(t);e.exit("gfmFootnoteDefinitionLabelMarker");return u}function u(t){if(t===94){e.enter("gfmFootnoteDefinitionMarker");e.consume(t);e.exit("gfmFootnoteDefinitionMarker");e.enter("gfmFootnoteDefinitionLabelString");e.enter("chunkString").contentType="string";return c}return n(t)}function c(t){if(l>999||t===93&&!s||t===null||t===91||je(t)){return n(t)}if(t===93){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");o=Pe(r.sliceSerialize(n));e.enter("gfmFootnoteDefinitionLabelMarker");e.consume(t);e.exit("gfmFootnoteDefinitionLabelMarker");e.exit("gfmFootnoteDefinitionLabel");return h}if(!je(t)){s=true}l++;e.consume(t);return t===92?f:c}function f(t){if(t===91||t===92||t===93){e.consume(t);l++;return c}return c(t)}function h(t){if(t===58){e.enter("definitionMarker");e.consume(t);e.exit("definitionMarker");if(!i.includes(o)){i.push(o)}return Xe(e,d,"gfmFootnoteDefinitionWhitespace")}return n(t)}function d(e){return t(e)}}function Ia(e,t,n){return e.check(ct,t,e.attempt(La,t,n))}function qa(e){e.exit("gfmFootnoteDefinition")}function Ba(e,t,n){const r=this;return Xe(e,i,"gfmFootnoteDefinitionIndent",4+1);function i(e){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],true).length===4?t(e):n(e)}}function Fa(e){const t=e||{};let n=t.singleTilde;const r={tokenize:o,resolveAll:i};if(n===null||n===undefined){n=true}return{text:{[126]:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(e,t){let n=-1;while(++n<e.length){if(e[n][0]==="enter"&&e[n][1].type==="strikethroughSequenceTemporary"&&e[n][1]._close){let r=n;while(r--){if(e[r][0]==="exit"&&e[r][1].type==="strikethroughSequenceTemporary"&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence";e[r][1].type="strikethroughSequence";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)};const o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)};const l=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]];const s=t.parser.constructs.insideSpan.null;if(s){Ae(l,l.length,0,rt(s,e.slice(r+1,n),t))}Ae(l,l.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]);Ae(e,r-1,n-r+3,l);n=r+l.length-2;break}}}}n=-1;while(++n<e.length){if(e[n][1].type==="strikethroughSequenceTemporary"){e[n][1].type="data"}}return e}function o(e,t,r){const i=this.previous;const o=this.events;let l=0;return s;function s(t){if(i===126&&o[o.length-1][1].type!=="characterEscape"){return r(t)}e.enter("strikethroughSequenceTemporary");return a(t)}function a(o){const s=nt(i);if(o===126){if(l>1)return r(o);e.consume(o);l++;return a}if(l<2&&!n)return r(o);const u=e.exit("strikethroughSequenceTemporary");const c=nt(o);u._open=!c||c===2&&Boolean(s);u._close=!s||s===2&&Boolean(c);return t(o)}}}class Ua{constructor(){this.map=[]}add(e,t,n){Ha(this,e,t,n)}consume(e){this.map.sort((function(e,t){return e[0]-t[0]}));if(this.map.length===0){return}let t=this.map.length;const n=[];while(t>0){t-=1;n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]);e.length=this.map[t][0]}n.push([...e]);e.length=0;let r=n.pop();while(r){e.push(...r);r=n.pop()}this.map.length=0}}function Ha(e,t,n,r){let i=0;if(n===0&&r.length===0){return}while(i<e.map.length){if(e.map[i][0]===t){e.map[i][1]+=n;e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}function za(e,t){let n=false;const r=[];while(t<e.length){const i=e[t];if(n){if(i[0]==="enter"){if(i[1].type==="tableContent"){r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none")}}else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const e=r.length-1;r[e]=r[e]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow"){break}}else if(i[0]==="enter"&&i[1].type==="tableDelimiterRow"){n=true}t+=1}return r}function ja(){return{flow:{null:{tokenize:Va,resolveAll:Ga}}}}function Va(e,t,n){const r=this;let i=0;let o=0;let l;return s;function s(e){let t=r.events.length-1;while(t>-1){const e=r.events[t][1].type;if(e==="lineEnding"||e==="linePrefix")t--;else break}const i=t>-1?r.events[t][1].type:null;const o=i==="tableHead"||i==="tableRow"?E:a;if(o===E&&r.parser.lazy[r.now().line]){return n(e)}return o(e)}function a(t){e.enter("tableHead");e.enter("tableRow");return u(t)}function u(e){if(e===124){return c(e)}l=true;o+=1;return c(e)}function c(t){if(t===null){return n(t)}if(ze(t)){if(o>1){o=0;r.interrupt=true;e.exit("tableRow");e.enter("lineEnding");e.consume(t);e.exit("lineEnding");return d}return n(t)}if(Ve(t)){return Xe(e,c,"whitespace")(t)}o+=1;if(l){l=false;i+=1}if(t===124){e.enter("tableCellDivider");e.consume(t);e.exit("tableCellDivider");l=true;return c}e.enter("data");return f(t)}function f(t){if(t===null||t===124||je(t)){e.exit("data");return c(t)}e.consume(t);return t===92?h:f}function h(t){if(t===92||t===124){e.consume(t);return f}return f(t)}function d(t){r.interrupt=false;if(r.parser.lazy[r.now().line]){return n(t)}e.enter("tableDelimiterRow");l=false;if(Ve(t)){return Xe(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?undefined:4)(t)}return p(t)}function p(t){if(t===45||t===58){return m(t)}if(t===124){l=true;e.enter("tableCellDivider");e.consume(t);e.exit("tableCellDivider");return g}return v(t)}function g(t){if(Ve(t)){return Xe(e,m,"whitespace")(t)}return m(t)}function m(t){if(t===58){o+=1;l=true;e.enter("tableDelimiterMarker");e.consume(t);e.exit("tableDelimiterMarker");return b}if(t===45){o+=1;return b(t)}if(t===null||ze(t)){return w(t)}return v(t)}function b(t){if(t===45){e.enter("tableDelimiterFiller");return k(t)}return v(t)}function k(t){if(t===45){e.consume(t);return k}if(t===58){l=true;e.exit("tableDelimiterFiller");e.enter("tableDelimiterMarker");e.consume(t);e.exit("tableDelimiterMarker");return y}e.exit("tableDelimiterFiller");return y(t)}function y(t){if(Ve(t)){return Xe(e,w,"whitespace")(t)}return w(t)}function w(n){if(n===124){return p(n)}if(n===null||ze(n)){if(!l||i!==o){return v(n)}e.exit("tableDelimiterRow");e.exit("tableHead");return t(n)}return v(n)}function v(e){return n(e)}function E(t){e.enter("tableRow");return S(t)}function S(n){if(n===124){e.enter("tableCellDivider");e.consume(n);e.exit("tableCellDivider");return S}if(n===null||ze(n)){e.exit("tableRow");return t(n)}if(Ve(n)){return Xe(e,S,"whitespace")(n)}e.enter("data");return x(n)}function x(t){if(t===null||t===124||je(t)){e.exit("data");return S(t)}e.consume(t);return t===92?T:x}function T(t){if(t===92||t===124){e.consume(t);return x}return x(t)}}function Ga(e,t){let n=-1;let r=true;let i=0;let o=[0,0,0,0];let l=[0,0,0,0];let s=false;let a=0;let u;let c;let f;const h=new Ua;while(++n<e.length){const d=e[n];const p=d[1];if(d[0]==="enter"){if(p.type==="tableHead"){s=false;if(a!==0){Ya(h,t,a,u,c);c=undefined;a=0}u={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)};h.add(n,0,[["enter",u,t]])}else if(p.type==="tableRow"||p.type==="tableDelimiterRow"){r=true;f=undefined;o=[0,0,0,0];l=[0,n+1,0,0];if(s){s=false;c={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)};h.add(n,0,[["enter",c,t]])}i=p.type==="tableDelimiterRow"?2:c?3:1}else if(i&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")){r=false;if(l[2]===0){if(o[1]!==0){l[0]=l[1];f=$a(h,t,o,i,undefined,f);o=[0,0,0,0]}l[2]=n}}else if(p.type==="tableCellDivider"){if(r){r=false}else{if(o[1]!==0){l[0]=l[1];f=$a(h,t,o,i,undefined,f)}o=l;l=[o[1],n,0,0]}}}else if(p.type==="tableHead"){s=true;a=n}else if(p.type==="tableRow"||p.type==="tableDelimiterRow"){a=n;if(o[1]!==0){l[0]=l[1];f=$a(h,t,o,i,n,f)}else if(l[1]!==0){f=$a(h,t,l,i,n,f)}i=0}else if(i&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")){l[3]=n}}if(a!==0){Ya(h,t,a,u,c)}h.consume(t.events);n=-1;while(++n<t.events.length){const e=t.events[n];if(e[0]==="enter"&&e[1].type==="table"){e[1]._align=za(t.events,n)}}return e}function $a(e,t,n,r,i,o){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData";const s="tableContent";if(n[0]!==0){o.end=Object.assign({},Wa(t.events,n[0]));e.add(n[0],0,[["exit",o,t]])}const a=Wa(t.events,n[1]);o={type:l,start:Object.assign({},a),end:Object.assign({},a)};e.add(n[1],0,[["enter",o,t]]);if(n[2]!==0){const i=Wa(t.events,n[2]);const o=Wa(t.events,n[3]);const l={type:s,start:Object.assign({},i),end:Object.assign({},o)};e.add(n[2],0,[["enter",l,t]]);if(r!==2){const r=t.events[n[2]];const i=t.events[n[3]];r[1].end=Object.assign({},i[1].end);r[1].type="chunkText";r[1].contentType="text";if(n[3]>n[2]+1){const t=n[2]+1;const r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",l,t]])}if(i!==undefined){o.end=Object.assign({},Wa(t.events,i));e.add(i,0,[["exit",o,t]]);o=undefined}return o}function Ya(e,t,n,r,i){const o=[];const l=Wa(t.events,n);if(i){i.end=Object.assign({},l);o.push(["exit",i,t])}r.end=Object.assign({},l);o.push(["exit",r,t]);e.add(n+1,0,o)}function Wa(e,t){const n=e[t];const r=n[0]==="enter"?"start":"end";return n[1][r]}const Xa={tokenize:Qa};function Ka(){return{text:{[91]:Xa}}}function Qa(e,t,n){const r=this;return i;function i(t){if(r.previous!==null||!r._gfmTasklistFirstContentOfListItem){return n(t)}e.enter("taskListCheck");e.enter("taskListCheckMarker");e.consume(t);e.exit("taskListCheckMarker");return o}function o(t){if(je(t)){e.enter("taskListCheckValueUnchecked");e.consume(t);e.exit("taskListCheckValueUnchecked");return l}if(t===88||t===120){e.enter("taskListCheckValueChecked");e.consume(t);e.exit("taskListCheckValueChecked");return l}return n(t)}function l(t){if(t===93){e.enter("taskListCheckMarker");e.consume(t);e.exit("taskListCheckMarker");e.exit("taskListCheck");return s}return n(t)}function s(r){if(ze(r)){return t(r)}if(Ve(r)){return e.check({tokenize:Za},t,n)(r)}return n(r)}}function Za(e,t,n){return Xe(e,r,"whitespace");function r(e){return e===null?n(e):t(e)}}function Ja(e){return Re([ga(),Oa(),Fa(e),ja(),Ka()])}const eu={};function tu(e){const t=this;const n=e||eu;const r=t.data();const i=r.micromarkExtensions||(r.micromarkExtensions=[]);const o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]);const l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Ja(n));o.push(ia());l.push(oa(n))}const nu=function(e){if(e===null||e===undefined){return lu}if(typeof e==="string"){return iu(e)}if(typeof e==="object"){return ru(e)}if(typeof e==="function"){return ou(e)}throw new Error("Expected function, string, or array as `test`")};function ru(e){const t=[];let n=-1;while(++n<e.length){t[n]=nu(e[n])}return ou(r);function r(...e){let n=-1;while(++n<t.length){if(t[n].apply(this,e))return true}return false}}function iu(e){return ou(t);function t(t){return t.tagName===e}}function ou(e){return t;function t(t,n,r){return Boolean(su(t)&&e.call(this,t,typeof n==="number"?n:undefined,r||undefined))}}function lu(e){return Boolean(e&&typeof e==="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName==="string")}function su(e){return e!==null&&typeof e==="object"&&"type"in e&&"tagName"in e}const au=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;const uu=/^[a-zA-Z]:\\/;function cu(e){if(typeof e!=="string"){throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``)}if(uu.test(e)){return false}return au.test(e)}function fu(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}const hu=["http","https"];const du=["nofollow"];const pu={};function gu(e){const t=e||pu;const n=t.protocols||hu;const r=nu(t.test);return function(e){Gi(e,"element",(function(e,i,o){if(e.tagName==="a"&&typeof e.properties.href==="string"&&r(e,i,o)){const r=e.properties.href;if(cu(r)?n.includes(r.slice(0,r.indexOf(":"))):r.startsWith("//")){const n=mu(t.content,e);const r=n&&!Array.isArray(n)?[n]:n;const i=mu(t.rel,e)||du;const o=typeof i==="string"?fu(i):i;const l=mu(t.target,e);const s=mu(t.properties,e);if(s){Object.assign(e.properties,Ci(s))}if(o.length>0){e.properties.rel=[...o]}if(l){e.properties.target=l}if(r){const n=mu(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:Ci(n),children:Ci(r)})}}}}))}}function mu(e,t){return typeof e==="function"?e(t):e}const bu=yu("end");const ku=yu("start");function yu(e){return t;function t(t){const n=t&&t.position&&t.position[e]||{};if(typeof n.line==="number"&&n.line>0&&typeof n.column==="number"&&n.column>0){return{line:n.line,column:n.column,offset:typeof n.offset==="number"&&n.offset>-1?n.offset:undefined}}}}function wu(e){const t=ku(e);const n=bu(e);if(t&&n){return{start:t,end:n}}}const vu=["ariaDescribedBy","ariaLabel","ariaLabelledBy"];const Eu={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...vu,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...vu],h2:[["id","footnote-label"],["className","sr-only"]],img:[...vu,"longDesc","src"],input:[["disabled",true],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...vu,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...vu],table:[...vu],ul:[...vu,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","disabled","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rel","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","target","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:true,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]};const Su={}.hasOwnProperty;function xu(e,t){let n={type:"root",children:[]};const r={schema:t?{...Eu,...t}:Eu,stack:[]};const i=Tu(r,e);if(i){if(Array.isArray(i)){if(i.length===1){n=i[0]}else{n.children=i}}else{n=i}}return n}function Tu(e,t){if(t&&typeof t==="object"){const n=t;const r=typeof n.type==="string"?n.type:"";switch(r){case"comment":{return Au(e,n)}case"doctype":{return Cu(e,n)}case"element":{return Du(e,n)}case"root":{return Ru(e,n)}case"text":{return Lu(e,n)}}}}function Au(e,t){if(e.schema.allowComments){const e=typeof t.value==="string"?t.value:"";const n=e.indexOf("--\x3e");const r=n<0?e:e.slice(0,n);const i={type:"comment",value:r};Iu(i,t);return i}}function Cu(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"};Iu(e,t);return e}}function Du(e,t){const n=typeof t.tagName==="string"?t.tagName:"";e.stack.push(n);const r=Ou(e,t.children);const i=_u(e,t.properties);e.stack.pop();let o=false;if(n.length>0&&n!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(n))){o=true;if(e.schema.ancestors&&Su.call(e.schema.ancestors,n)){const t=e.schema.ancestors[n];let r=-1;o=false;while(++r<t.length){if(e.stack.includes(t[r])){o=true}}}}if(!o){return e.schema.strip&&!e.schema.strip.includes(n)?r:undefined}const l={type:"element",tagName:n,properties:i,children:r};Iu(l,t);return l}function Ru(e,t){const n=Ou(e,t.children);const r={type:"root",children:n};Iu(r,t);return r}function Lu(e,t){const n=typeof t.value==="string"?t.value:"";const r={type:"text",value:n};Iu(r,t);return r}function Ou(e,t){const n=[];if(Array.isArray(t)){const r=t;let i=-1;while(++i<r.length){const t=Tu(e,r[i]);if(t){if(Array.isArray(t)){n.push(...t)}else{n.push(t)}}}}return n}function _u(e,t){const n=e.stack[e.stack.length-1];const r=e.schema.attributes;const i=e.schema.required;const o=r&&Su.call(r,n)?r[n]:undefined;const l=r&&Su.call(r,"*")?r["*"]:undefined;const s=t&&typeof t==="object"?t:{};const a={};let u;for(u in s){if(Su.call(s,u)){let t;if(o)t=qu(o,u);if(!t&&l)t=qu(l,u);if(t){const n=s[u];const r=Array.isArray(n)?Pu(e,t,u,n):Mu(e,t,u,n);if(r!==null&&r!==undefined){a[u]=r}}}}if(i&&Su.call(i,n)){const e=i[n];for(u in e){if(Su.call(e,u)&&!Su.call(a,u)){a[u]=e[u]}}}return a}function Pu(e,t,n,r){let i=-1;const o=[];while(++i<r.length){const l=Mu(e,t,n,r[i]);if(typeof l==="number"||typeof l==="string"){o.push(l)}}return o}function Mu(e,t,n,r){if(typeof r!=="boolean"&&typeof r!=="number"&&typeof r!=="string"){return}if(!Nu(e,n,r)){return}if(typeof t==="object"&&t.length>1){let e=false;let n=0;while(++n<t.length){const i=t[n];if(i&&typeof i==="object"&&"flags"in i){if(i.test(String(r))){e=true;break}}else if(i===r){e=true;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}function Nu(e,t,n){const r=e.schema.protocols&&Su.call(e.schema.protocols,t)?e.schema.protocols[t]:undefined;if(!r||r.length===0){return true}const i=String(n);const o=i.indexOf(":");const l=i.indexOf("?");const s=i.indexOf("#");const a=i.indexOf("/");if(o<0||a>-1&&o>a||l>-1&&o>l||s>-1&&o>s){return true}let u=-1;while(++u<r.length){const e=r[u];if(o===e.length&&i.slice(0,e.length)===e){return true}}return false}function Iu(e,t){const n=wu(t);if(t.data){e.data=Ci(t.data)}if(n)e.position=n}function qu(e,t){let n;let r=-1;while(++r<e.length){const i=e[r];const o=typeof i==="string"?i:i[0];if(o===t){return i}if(o==="data*")n=i}if(t.length>4&&t.slice(0,4).toLowerCase()==="data"){return n}}function Bu(e){return function(t){const n=xu(t,e);return n}}const Fu=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Uu{constructor(e,t,n){this.property=e;this.normal=t;if(n){this.space=n}}}Uu.prototype.property={};Uu.prototype.normal={};Uu.prototype.space=null;function Hu(e,t){const n={};const r={};let i=-1;while(++i<e.length){Object.assign(n,e[i].property);Object.assign(r,e[i].normal)}return new Uu(n,r,t)}function zu(e){return e.toLowerCase()}class ju{constructor(e,t){this.property=e;this.attribute=t}}ju.prototype.space=null;ju.prototype.boolean=false;ju.prototype.booleanish=false;ju.prototype.overloadedBoolean=false;ju.prototype.number=false;ju.prototype.commaSeparated=false;ju.prototype.spaceSeparated=false;ju.prototype.commaOrSpaceSeparated=false;ju.prototype.mustUseProperty=false;ju.prototype.defined=false;let Vu=0;const Gu=Zu();const $u=Zu();const Yu=Zu();const Wu=Zu();const Xu=Zu();const Ku=Zu();const Qu=Zu();function Zu(){return 2**++Vu}const Ju=Object.freeze({__proto__:null,boolean:Gu,booleanish:$u,overloadedBoolean:Yu,number:Wu,spaceSeparated:Xu,commaSeparated:Ku,commaOrSpaceSeparated:Qu});const ec=Object.keys(Ju);class tc extends ju{constructor(e,t,n,r){let i=-1;super(e,t);nc(this,"space",r);if(typeof n==="number"){while(++i<ec.length){const e=ec[i];nc(this,ec[i],(n&Ju[e])===Ju[e])}}}}tc.prototype.defined=true;function nc(e,t,n){if(n){e[t]=n}}const rc={}.hasOwnProperty;function ic(e){const t={};const n={};let r;for(r in e.properties){if(rc.call(e.properties,r)){const i=e.properties[r];const o=new tc(r,e.transform(e.attributes||{},r),i,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(r)){o.mustUseProperty=true}t[r]=o;n[zu(r)]=r;n[zu(o.attribute)]=r}}return new Uu(t,n,e.space)}const oc=ic({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});const lc=ic({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function sc(e,t){return t in e?e[t]:t}function ac(e,t){return sc(e,t.toLowerCase())}const uc=ic({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ac,properties:{xmlns:null,xmlnsXLink:null}});const cc=ic({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:$u,ariaAutoComplete:null,ariaBusy:$u,ariaChecked:$u,ariaColCount:Wu,ariaColIndex:Wu,ariaColSpan:Wu,ariaControls:Xu,ariaCurrent:null,ariaDescribedBy:Xu,ariaDetails:null,ariaDisabled:$u,ariaDropEffect:Xu,ariaErrorMessage:null,ariaExpanded:$u,ariaFlowTo:Xu,ariaGrabbed:$u,ariaHasPopup:null,ariaHidden:$u,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xu,ariaLevel:Wu,ariaLive:null,ariaModal:$u,ariaMultiLine:$u,ariaMultiSelectable:$u,ariaOrientation:null,ariaOwns:Xu,ariaPlaceholder:null,ariaPosInSet:Wu,ariaPressed:$u,ariaReadOnly:$u,ariaRelevant:null,ariaRequired:$u,ariaRoleDescription:Xu,ariaRowCount:Wu,ariaRowIndex:Wu,ariaRowSpan:Wu,ariaSelected:$u,ariaSetSize:Wu,ariaSort:null,ariaValueMax:Wu,ariaValueMin:Wu,ariaValueNow:Wu,ariaValueText:null,role:null}});const fc=ic({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ac,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ku,acceptCharset:Xu,accessKey:Xu,action:null,allow:null,allowFullScreen:Gu,allowPaymentRequest:Gu,allowUserMedia:Gu,alt:null,as:null,async:Gu,autoCapitalize:null,autoComplete:Xu,autoFocus:Gu,autoPlay:Gu,blocking:Xu,capture:Gu,charSet:null,checked:Gu,cite:null,className:Xu,cols:Wu,colSpan:null,content:null,contentEditable:$u,controls:Gu,controlsList:Xu,coords:Wu|Ku,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Gu,defer:Gu,dir:null,dirName:null,disabled:Gu,download:Yu,draggable:$u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Gu,formTarget:null,headers:Xu,height:Wu,hidden:Gu,high:Wu,href:null,hrefLang:null,htmlFor:Xu,httpEquiv:Xu,id:null,imageSizes:null,imageSrcSet:null,inert:Gu,inputMode:null,integrity:null,is:null,isMap:Gu,itemId:null,itemProp:Xu,itemRef:Xu,itemScope:Gu,itemType:Xu,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Gu,low:Wu,manifest:null,max:null,maxLength:Wu,media:null,method:null,min:null,minLength:Wu,multiple:Gu,muted:Gu,name:null,nonce:null,noModule:Gu,noValidate:Gu,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Gu,optimum:Wu,pattern:null,ping:Xu,placeholder:null,playsInline:Gu,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Gu,referrerPolicy:null,rel:Xu,required:Gu,reversed:Gu,rows:Wu,rowSpan:Wu,sandbox:Xu,scope:null,scoped:Gu,seamless:Gu,selected:Gu,shape:null,size:Wu,sizes:null,slot:null,span:Wu,spellCheck:$u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Wu,step:null,style:null,tabIndex:Wu,target:null,title:null,translate:null,type:null,typeMustMatch:Gu,useMap:null,value:$u,width:Wu,wrap:null,align:null,aLink:null,archive:Xu,axis:null,background:null,bgColor:null,border:Wu,borderColor:null,bottomMargin:Wu,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Gu,declare:Gu,event:null,face:null,frame:null,frameBorder:null,hSpace:Wu,leftMargin:Wu,link:null,longDesc:null,lowSrc:null,marginHeight:Wu,marginWidth:Wu,noResize:Gu,noHref:Gu,noShade:Gu,noWrap:Gu,object:null,profile:null,prompt:null,rev:null,rightMargin:Wu,rules:null,scheme:null,scrolling:$u,standby:null,summary:null,text:null,topMargin:Wu,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Wu,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Gu,disableRemotePlayback:Gu,prefix:null,property:null,results:Wu,security:null,unselectable:null}});const hc=ic({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:sc,properties:{about:Qu,accentHeight:Wu,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Wu,amplitude:Wu,arabicForm:null,ascent:Wu,attributeName:null,attributeType:null,azimuth:Wu,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Wu,by:null,calcMode:null,capHeight:Wu,className:Xu,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Wu,diffuseConstant:Wu,direction:null,display:null,dur:null,divisor:Wu,dominantBaseline:null,download:Gu,dx:null,dy:null,edgeMode:null,editable:null,elevation:Wu,enableBackground:null,end:null,event:null,exponent:Wu,externalResourcesRequired:null,fill:null,fillOpacity:Wu,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ku,g2:Ku,glyphName:Ku,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Wu,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Wu,horizOriginX:Wu,horizOriginY:Wu,id:null,ideographic:Wu,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Wu,k:Wu,k1:Wu,k2:Wu,k3:Wu,k4:Wu,kernelMatrix:Qu,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Wu,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Wu,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Wu,overlineThickness:Wu,paintOrder:null,panose1:null,path:null,pathLength:Wu,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xu,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Wu,pointsAtY:Wu,pointsAtZ:Wu,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Qu,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Qu,rev:Qu,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Qu,requiredFeatures:Qu,requiredFonts:Qu,requiredFormats:Qu,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Wu,specularExponent:Wu,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Wu,strikethroughThickness:Wu,string:null,stroke:null,strokeDashArray:Qu,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Wu,strokeOpacity:Wu,strokeWidth:null,style:null,surfaceScale:Wu,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Qu,tabIndex:Wu,tableValues:null,target:null,targetX:Wu,targetY:Wu,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Qu,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Wu,underlineThickness:Wu,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Wu,values:null,vAlphabetic:Wu,vMathematical:Wu,vectorEffect:null,vHanging:Wu,vIdeographic:Wu,version:null,vertAdvY:Wu,vertOriginX:Wu,vertOriginY:Wu,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Wu,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});const dc=/^data[-\w.:]+$/i;const pc=/-[a-z]/g;const gc=/[A-Z]/g;function mc(e,t){const n=zu(t);let r=t;let i=ju;if(n in e.normal){return e.property[e.normal[n]]}if(n.length>4&&n.slice(0,4)==="data"&&dc.test(t)){if(t.charAt(4)==="-"){const e=t.slice(5).replace(pc,kc);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!pc.test(e)){let n=e.replace(gc,bc);if(n.charAt(0)!=="-"){n="-"+n}t="data"+n}}i=tc}return new i(r,t)}function bc(e){return"-"+e.toLowerCase()}function kc(e){return e.charAt(1).toUpperCase()}const yc=Hu([lc,oc,uc,cc,fc],"html");const wc=Hu([lc,oc,uc,cc,hc],"svg");const vc={}.hasOwnProperty;function Ec(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&vc.call(t,e)){const n=String(t[e]);i=vc.call(o,n)?o[n]:r.unknown}if(i){return i.call(this,t,...n)}}r.handlers=n.handlers||{};r.invalid=n.invalid;r.unknown=n.unknown;return r}function Sc(e,t){e=e.replace(t.subset?xc(t.subset):/["&'<>`]/g,r);if(t.subset||t.escapeOnly){return e}return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function xc(e){const t=[];let n=-1;while(++n<e.length){t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"))}return new RegExp("(?:"+t.join("|")+")","g")}function Tc(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function Ac(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const Cc=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];const Dc={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"};const Rc=["cent","copy","divide","gt","lt","not","para","times"];const Lc={}.hasOwnProperty;const Oc={};let _c;for(_c in Dc){if(Lc.call(Dc,_c)){Oc[Dc[_c]]=_c}}function Pc(e,t,n,r){const i=String.fromCharCode(e);if(Lc.call(Oc,i)){const e=Oc[i];const o="&"+e;if(n&&Cc.includes(e)&&!Rc.includes(e)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))){return o}return o+";"}return""}function Mc(e,t,n){let r=Tc(e,t,n.omitOptionalSemicolons);let i;if(n.useNamedReferences||n.useShortestReferences){i=Pc(e,t,n.omitOptionalSemicolons,n.attribute)}if((n.useShortestReferences||!i)&&n.useShortestReferences){const i=Ac(e,t,n.omitOptionalSemicolons);if(i.length<r.length){r=i}}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function Nc(e,t){return Sc(e,Object.assign({format:Mc},t))}function Ic(e,t,n,r){return r.settings.bogusComments?"<?"+Nc(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"\x3c!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,i)+"--\x3e";function i(e){return Nc(e,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function qc(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Bc(e,t){const n=String(e);if(typeof t!=="string"){throw new TypeError("Expected character")}let r=0;let i=n.indexOf(t);while(i!==-1){r++;i=n.indexOf(t,i+t.length)}return r}function Fc(e,t){const n=t||{};const r=e[e.length-1]===""?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(n.padLeft===false?"":" ")).trim()}function Uc(e){return e.join(" ").trim()}const Hc=/[ \t\n\f\r]/g;function zc(e){return typeof e==="object"?e.type==="text"?jc(e.value):false:jc(e)}function jc(e){return e.replace(Hc,"")===""}const Vc=Yc(1);const Gc=Yc(-1);const $c=[];function Yc(e){return t;function t(t,n,r){const i=t?t.children:$c;let o=(n||0)+e;let l=i[o];if(!r){while(l&&zc(l)){o+=e;l=i[o]}}return l}}const Wc={}.hasOwnProperty;function Xc(e){return t;function t(t,n,r){return Wc.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const Kc=Xc({body:Jc,caption:Qc,colgroup:Qc,dd:rf,dt:nf,head:Qc,html:Zc,li:tf,optgroup:lf,option:sf,p:ef,rp:of,rt:of,tbody:uf,td:hf,tfoot:cf,th:hf,thead:af,tr:ff});function Qc(e,t,n){const r=Vc(n,t,true);return!r||r.type!=="comment"&&!(r.type==="text"&&zc(r.value.charAt(0)))}function Zc(e,t,n){const r=Vc(n,t);return!r||r.type!=="comment"}function Jc(e,t,n){const r=Vc(n,t);return!r||r.type!=="comment"}function ef(e,t,n){const r=Vc(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function tf(e,t,n){const r=Vc(n,t);return!r||r.type==="element"&&r.tagName==="li"}function nf(e,t,n){const r=Vc(n,t);return Boolean(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function rf(e,t,n){const r=Vc(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function of(e,t,n){const r=Vc(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function lf(e,t,n){const r=Vc(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function sf(e,t,n){const r=Vc(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function af(e,t,n){const r=Vc(n,t);return Boolean(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function uf(e,t,n){const r=Vc(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function cf(e,t,n){return!Vc(n,t)}function ff(e,t,n){const r=Vc(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function hf(e,t,n){const r=Vc(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const df=Xc({body:mf,colgroup:bf,head:gf,html:pf,tbody:kf});function pf(e){const t=Vc(e,-1);return!t||t.type!=="comment"}function gf(e){const t=e.children;const n=[];let r=-1;while(++r<t.length){const e=t[r];if(e.type==="element"&&(e.tagName==="title"||e.tagName==="base")){if(n.includes(e.tagName))return false;n.push(e.tagName)}}return t.length>0}function mf(e){const t=Vc(e,-1,true);return!t||t.type!=="comment"&&!(t.type==="text"&&zc(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function bf(e,t,n){const r=Gc(n,t);const i=Vc(e,-1,true);if(n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Kc(r,n.children.indexOf(r),n)){return false}return Boolean(i&&i.type==="element"&&i.tagName==="col")}function kf(e,t,n){const r=Gc(n,t);const i=Vc(e,-1);if(n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Kc(r,n.children.indexOf(r),n)){return false}return Boolean(i&&i.type==="element"&&i.tagName==="tr")}const yf={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function wf(e,t,n,r){const i=r.schema;const o=i.space==="svg"?false:r.settings.omitOptionalTags;let l=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let a;if(i.space==="html"&&e.tagName==="svg"){r.schema=wc}const u=vf(r,e.properties);const c=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);r.schema=i;if(c)l=false;if(u||!o||!df(e,t,n)){s.push("<",e.tagName,u?" "+u:"");if(l&&(i.space==="svg"||r.settings.closeSelfClosing)){a=u.charAt(u.length-1);if(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'"){s.push(" ")}s.push("/")}s.push(">")}s.push(c);if(!l&&(!o||!Kc(e,t,n))){s.push("</"+e.tagName+">")}return s.join("")}function vf(e,t){const n=[];let r=-1;let i;if(t){for(i in t){if(t[i]!==null&&t[i]!==undefined){const r=Ef(e,i,t[i]);if(r)n.push(r)}}}while(++r<n.length){const t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):undefined;if(r!==n.length-1&&t!=='"'&&t!=="'"){n[r]+=" "}}return n.join("")}function Ef(e,t,n){const r=mc(e.schema,t);const i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1;const o=e.settings.allowDangerousCharacters?0:1;let l=e.quote;let s;if(r.overloadedBoolean&&(n===r.attribute||n==="")){n=true}else if(r.boolean||r.overloadedBoolean&&typeof n!=="string"){n=Boolean(n)}if(n===null||n===undefined||n===false||typeof n==="number"&&Number.isNaN(n)){return""}const a=Nc(r.attribute,Object.assign({},e.settings.characterReferences,{subset:yf.name[i][o]}));if(n===true)return a;n=Array.isArray(n)?(r.commaSeparated?Fc:Uc)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n);if(e.settings.collapseEmptyAttributes&&!n)return a;if(e.settings.preferUnquoted){s=Nc(n,Object.assign({},e.settings.characterReferences,{attribute:true,subset:yf.unquoted[i][o]}))}if(s!==n){if(e.settings.quoteSmart&&Bc(n,l)>Bc(n,e.alternative)){l=e.alternative}s=l+Nc(n,Object.assign({},e.settings.characterReferences,{subset:(l==="'"?yf.single:yf.double)[i][o],attribute:true}))+l}return a+(s?"="+s:s)}function Sf(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Nc(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function xf(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Sf(e,t,n,r)}function Tf(e,t,n,r){return r.all(e)}const Af=Ec("type",{invalid:Cf,unknown:Df,handlers:{comment:Ic,doctype:qc,element:wf,raw:xf,root:Tf,text:Sf}});function Cf(e){throw new Error("Expected node, not `"+e+"`")}function Df(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Rf={};const Lf={};const Of=[];function _f(e,t){const n=t||Rf;const r=n.quote||'"';const i=r==='"'?"'":'"';if(r!=='"'&&r!=="'"){throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`")}const o={one:Pf,all:Mf,settings:{omitOptionalTags:n.omitOptionalTags||false,allowParseErrors:n.allowParseErrors||false,allowDangerousCharacters:n.allowDangerousCharacters||false,quoteSmart:n.quoteSmart||false,preferUnquoted:n.preferUnquoted||false,tightAttributes:n.tightAttributes||false,upperDoctype:n.upperDoctype||false,tightDoctype:n.tightDoctype||false,bogusComments:n.bogusComments||false,tightCommaSeparatedLists:n.tightCommaSeparatedLists||false,tightSelfClosing:n.tightSelfClosing||false,collapseEmptyAttributes:n.collapseEmptyAttributes||false,allowDangerousHtml:n.allowDangerousHtml||false,voids:n.voids||Fu,characterReferences:n.characterReferences||Lf,closeSelfClosing:n.closeSelfClosing||false,closeEmptyElements:n.closeEmptyElements||false},schema:n.space==="svg"?wc:yc,quote:r,alternative:i};return o.one(Array.isArray(e)?{type:"root",children:e}:e,undefined,undefined)}function Pf(e,t,n){return Af(e,t,n,this)}function Mf(e){const t=[];const n=e&&e.children||Of;let r=-1;while(++r<n.length){t[r]=this.one(n[r],r,e)}return t.join("")}function Nf(e){const t=this;const n={...t.data("settings"),...e};t.compiler=r;function r(e){return _f(e,n)}}class If{constructor(e,t,n){this.property=e;this.normal=t;if(n){this.space=n}}}If.prototype.property={};If.prototype.normal={};If.prototype.space=null;function qf(e,t){const n={};const r={};let i=-1;while(++i<e.length){Object.assign(n,e[i].property);Object.assign(r,e[i].normal)}return new If(n,r,t)}function Bf(e){return e.toLowerCase()}class Ff{constructor(e,t){this.property=e;this.attribute=t}}Ff.prototype.space=null;Ff.prototype.boolean=false;Ff.prototype.booleanish=false;Ff.prototype.overloadedBoolean=false;Ff.prototype.number=false;Ff.prototype.commaSeparated=false;Ff.prototype.spaceSeparated=false;Ff.prototype.commaOrSpaceSeparated=false;Ff.prototype.mustUseProperty=false;Ff.prototype.defined=false;let Uf=0;const Hf=Wf();const zf=Wf();const jf=Wf();const Vf=Wf();const Gf=Wf();const $f=Wf();const Yf=Wf();function Wf(){return 2**++Uf}const Xf=Object.freeze({__proto__:null,boolean:Hf,booleanish:zf,overloadedBoolean:jf,number:Vf,spaceSeparated:Gf,commaSeparated:$f,commaOrSpaceSeparated:Yf});const Kf=Object.keys(Xf);class Qf extends Ff{constructor(e,t,n,r){let i=-1;super(e,t);Zf(this,"space",r);if(typeof n==="number"){while(++i<Kf.length){const e=Kf[i];Zf(this,Kf[i],(n&Xf[e])===Xf[e])}}}}Qf.prototype.defined=true;function Zf(e,t,n){if(n){e[t]=n}}const Jf={}.hasOwnProperty;function eh(e){const t={};const n={};let r;for(r in e.properties){if(Jf.call(e.properties,r)){const i=e.properties[r];const o=new Qf(r,e.transform(e.attributes||{},r),i,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(r)){o.mustUseProperty=true}t[r]=o;n[Bf(r)]=r;n[Bf(o.attribute)]=r}}return new If(t,n,e.space)}const th=eh({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});const nh=eh({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function rh(e,t){return t in e?e[t]:t}function ih(e,t){return rh(e,t.toLowerCase())}const oh=eh({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ih,properties:{xmlns:null,xmlnsXLink:null}});const lh=eh({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:zf,ariaAutoComplete:null,ariaBusy:zf,ariaChecked:zf,ariaColCount:Vf,ariaColIndex:Vf,ariaColSpan:Vf,ariaControls:Gf,ariaCurrent:null,ariaDescribedBy:Gf,ariaDetails:null,ariaDisabled:zf,ariaDropEffect:Gf,ariaErrorMessage:null,ariaExpanded:zf,ariaFlowTo:Gf,ariaGrabbed:zf,ariaHasPopup:null,ariaHidden:zf,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Gf,ariaLevel:Vf,ariaLive:null,ariaModal:zf,ariaMultiLine:zf,ariaMultiSelectable:zf,ariaOrientation:null,ariaOwns:Gf,ariaPlaceholder:null,ariaPosInSet:Vf,ariaPressed:zf,ariaReadOnly:zf,ariaRelevant:null,ariaRequired:zf,ariaRoleDescription:Gf,ariaRowCount:Vf,ariaRowIndex:Vf,ariaRowSpan:Vf,ariaSelected:zf,ariaSetSize:Vf,ariaSort:null,ariaValueMax:Vf,ariaValueMin:Vf,ariaValueNow:Vf,ariaValueText:null,role:null}});const sh=eh({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ih,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:$f,acceptCharset:Gf,accessKey:Gf,action:null,allow:null,allowFullScreen:Hf,allowPaymentRequest:Hf,allowUserMedia:Hf,alt:null,as:null,async:Hf,autoCapitalize:null,autoComplete:Gf,autoFocus:Hf,autoPlay:Hf,blocking:Gf,capture:Hf,charSet:null,checked:Hf,cite:null,className:Gf,cols:Vf,colSpan:null,content:null,contentEditable:zf,controls:Hf,controlsList:Gf,coords:Vf|$f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Hf,defer:Hf,dir:null,dirName:null,disabled:Hf,download:jf,draggable:zf,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Hf,formTarget:null,headers:Gf,height:Vf,hidden:Hf,high:Vf,href:null,hrefLang:null,htmlFor:Gf,httpEquiv:Gf,id:null,imageSizes:null,imageSrcSet:null,inert:Hf,inputMode:null,integrity:null,is:null,isMap:Hf,itemId:null,itemProp:Gf,itemRef:Gf,itemScope:Hf,itemType:Gf,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Hf,low:Vf,manifest:null,max:null,maxLength:Vf,media:null,method:null,min:null,minLength:Vf,multiple:Hf,muted:Hf,name:null,nonce:null,noModule:Hf,noValidate:Hf,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Hf,optimum:Vf,pattern:null,ping:Gf,placeholder:null,playsInline:Hf,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Hf,referrerPolicy:null,rel:Gf,required:Hf,reversed:Hf,rows:Vf,rowSpan:Vf,sandbox:Gf,scope:null,scoped:Hf,seamless:Hf,selected:Hf,shape:null,size:Vf,sizes:null,slot:null,span:Vf,spellCheck:zf,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Vf,step:null,style:null,tabIndex:Vf,target:null,title:null,translate:null,type:null,typeMustMatch:Hf,useMap:null,value:zf,width:Vf,wrap:null,align:null,aLink:null,archive:Gf,axis:null,background:null,bgColor:null,border:Vf,borderColor:null,bottomMargin:Vf,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Hf,declare:Hf,event:null,face:null,frame:null,frameBorder:null,hSpace:Vf,leftMargin:Vf,link:null,longDesc:null,lowSrc:null,marginHeight:Vf,marginWidth:Vf,noResize:Hf,noHref:Hf,noShade:Hf,noWrap:Hf,object:null,profile:null,prompt:null,rev:null,rightMargin:Vf,rules:null,scheme:null,scrolling:zf,standby:null,summary:null,text:null,topMargin:Vf,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Vf,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Hf,disableRemotePlayback:Hf,prefix:null,property:null,results:Vf,security:null,unselectable:null}});const ah=eh({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:rh,properties:{about:Yf,accentHeight:Vf,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Vf,amplitude:Vf,arabicForm:null,ascent:Vf,attributeName:null,attributeType:null,azimuth:Vf,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Vf,by:null,calcMode:null,capHeight:Vf,className:Gf,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Vf,diffuseConstant:Vf,direction:null,display:null,dur:null,divisor:Vf,dominantBaseline:null,download:Hf,dx:null,dy:null,edgeMode:null,editable:null,elevation:Vf,enableBackground:null,end:null,event:null,exponent:Vf,externalResourcesRequired:null,fill:null,fillOpacity:Vf,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:$f,g2:$f,glyphName:$f,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Vf,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Vf,horizOriginX:Vf,horizOriginY:Vf,id:null,ideographic:Vf,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Vf,k:Vf,k1:Vf,k2:Vf,k3:Vf,k4:Vf,kernelMatrix:Yf,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Vf,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Vf,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Vf,overlineThickness:Vf,paintOrder:null,panose1:null,path:null,pathLength:Vf,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Gf,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Vf,pointsAtY:Vf,pointsAtZ:Vf,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Yf,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Yf,rev:Yf,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Yf,requiredFeatures:Yf,requiredFonts:Yf,requiredFormats:Yf,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Vf,specularExponent:Vf,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Vf,strikethroughThickness:Vf,string:null,stroke:null,strokeDashArray:Yf,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Vf,strokeOpacity:Vf,strokeWidth:null,style:null,surfaceScale:Vf,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Yf,tabIndex:Vf,tableValues:null,target:null,targetX:Vf,targetY:Vf,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Yf,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Vf,underlineThickness:Vf,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Vf,values:null,vAlphabetic:Vf,vMathematical:Vf,vectorEffect:null,vHanging:Vf,vIdeographic:Vf,version:null,vertAdvY:Vf,vertOriginX:Vf,vertOriginY:Vf,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Vf,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});const uh=/^data[-\w.:]+$/i;const ch=/-[a-z]/g;const fh=/[A-Z]/g;function hh(e,t){const n=Bf(t);let r=t;let i=Ff;if(n in e.normal){return e.property[e.normal[n]]}if(n.length>4&&n.slice(0,4)==="data"&&uh.test(t)){if(t.charAt(4)==="-"){const e=t.slice(5).replace(ch,ph);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!ch.test(e)){let n=e.replace(fh,dh);if(n.charAt(0)!=="-"){n="-"+n}t="data"+n}}i=Qf}return new i(r,t)}function dh(e){return"-"+e.toLowerCase()}function ph(e){return e.charAt(1).toUpperCase()}const gh=qf([nh,th,oh,lh,sh],"html");const mh=qf([nh,th,oh,lh,ah],"svg");function bh(e){const t=[];const n=String(e||"");let r=n.indexOf(",");let i=0;let o=false;while(!o){if(r===-1){r=n.length;o=true}const e=n.slice(i,r).trim();if(e||!o){t.push(e)}i=r+1;r=n.indexOf(",",i)}return t}const kh=/[#.]/g;function yh(e,t){const n=e||"";const r={};let i=0;let o;let l;while(i<n.length){kh.lastIndex=i;const e=kh.exec(n);const t=n.slice(i,e?e.index:n.length);if(t){if(!o){l=t}else if(o==="#"){r.id=t}else if(Array.isArray(r.className)){r.className.push(t)}else{r.className=[t]}i+=t.length}if(e){o=e[0];i++}}return{type:"element",tagName:l||t||"div",properties:r,children:[]}}function wh(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}const vh=new Set(["button","menu","reset","submit"]);const Eh={}.hasOwnProperty;function Sh(e,t,n){const r=n&&Rh(n);function i(n,i,...o){let l=-1;let s;if(n===undefined||n===null){s={type:"root",children:[]};const e=i;o.unshift(e)}else{s=yh(n,t);s.tagName=s.tagName.toLowerCase();if(r&&Eh.call(r,s.tagName)){s.tagName=r[s.tagName]}if(xh(i,s.tagName)){let t;for(t in i){if(Eh.call(i,t)){Th(e,s.properties,t,i[t])}}}else{o.unshift(i)}}while(++l<o.length){Ah(s.children,o[l])}if(s.type==="element"&&s.tagName==="template"){s.content={type:"root",children:s.children};s.children=[]}return s}return i}function xh(e,t){if(e===null||e===undefined||typeof e!=="object"||Array.isArray(e)){return false}if(t==="input"||!e.type||typeof e.type!=="string"){return true}if("children"in e&&Array.isArray(e.children)){return false}if(t==="button"){return vh.has(e.type.toLowerCase())}return!("value"in e)}function Th(e,t,n,r){const i=hh(e,n);let o=-1;let l;if(r===undefined||r===null)return;if(typeof r==="number"){if(Number.isNaN(r))return;l=r}else if(typeof r==="boolean"){l=r}else if(typeof r==="string"){if(i.spaceSeparated){l=wh(r)}else if(i.commaSeparated){l=bh(r)}else if(i.commaOrSpaceSeparated){l=wh(bh(r).join(" "))}else{l=Ch(i,i.property,r)}}else if(Array.isArray(r)){l=r.concat()}else{l=i.property==="style"?Dh(r):String(r)}if(Array.isArray(l)){const e=[];while(++o<l.length){const t=Ch(i,i.property,l[o]);e[o]=t}l=e}if(i.property==="className"&&Array.isArray(t.className)){const e=l;l=t.className.concat(e)}t[i.property]=l}function Ah(e,t){let n=-1;if(t===undefined||t===null);else if(typeof t==="string"||typeof t==="number"){e.push({type:"text",value:String(t)})}else if(Array.isArray(t)){while(++n<t.length){Ah(e,t[n])}}else if(typeof t==="object"&&"type"in t){if(t.type==="root"){Ah(e,t.children)}else{e.push(t)}}else{throw new Error("Expected node, nodes, or string, got `"+t+"`")}}function Ch(e,t,n){if(typeof n==="string"){if(e.number&&n&&!Number.isNaN(Number(n))){return Number(n)}if((e.boolean||e.overloadedBoolean)&&(n===""||Bf(n)===Bf(t))){return true}}return n}function Dh(e){const t=[];let n;for(n in e){if(Eh.call(e,n)){t.push([n,e[n]].join(": "))}}return t.join("; ")}function Rh(e){const t={};let n=-1;while(++n<e.length){t[e[n].toLowerCase()]=e[n]}return t}const Lh=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"];const Oh=Sh(gh,"div");const _h=Sh(mh,"g",Lh);const Ph=/\r?\n|\r/g;function Mh(e){const t=String(e);const n=[];Ph.lastIndex=0;while(Ph.test(t)){n.push(Ph.lastIndex)}n.push(t.length+1);return{toPoint:r,toOffset:i};function r(e){let t=-1;if(typeof e==="number"&&e>-1&&e<n[n.length-1]){while(++t<n.length){if(n[t]>e){return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}}}}}function i(e){const t=e&&e.line;const r=e&&e.column;if(typeof t==="number"&&typeof r==="number"&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1]){return e}}}}const Nh={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};const Ih={}.hasOwnProperty;const qh=Object.prototype;function Bh(e,t){const n=t||{};return Fh({file:n.file||undefined,location:false,schema:n.space==="svg"?mh:gh,verbose:n.verbose||false},e)}function Fh(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;n={type:"comment",value:r.data};zh(e,r,n);return n}case"#document":case"#document-fragment":{const r=t;const i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":false;n={type:"root",children:Uh(e,t.childNodes),data:{quirksMode:i}};if(e.file&&e.location){const t=String(e.file);const r=Mh(t);const i=r.toPoint(0);const o=r.toPoint(t.length);n.position={start:i,end:o}}return n}case"#documentType":{const r=t;n={type:"doctype"};zh(e,r,n);return n}case"#text":{const r=t;n={type:"text",value:r.value};zh(e,r,n);return n}default:{const r=t;n=Hh(e,r);return n}}}function Uh(e,t){let n=-1;const r=[];while(++n<t.length){const i=Fh(e,t[n]);r.push(i)}return r}function Hh(e,t){const n=e.schema;e.schema=t.namespaceURI===Nh.svg?mh:gh;let r=-1;const i={};while(++r<t.attrs.length){const e=t.attrs[r];const n=(e.prefix?e.prefix+":":"")+e.name;if(!Ih.call(qh,n)){i[n]=e.value}}const o=e.schema.space==="svg"?_h:Oh;const l=o(t.tagName,i,Uh(e,t.childNodes));zh(e,t,l);if(l.tagName==="template"){const n=t;const r=n.sourceCodeLocation;const i=r&&r.startTag&&Vh(r.startTag);const o=r&&r.endTag&&Vh(r.endTag);const s=Fh(e,n.content);if(i&&o&&e.file){s.position={start:i.end,end:o.start}}l.content=s}e.schema=n;return l}function zh(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=jh(e,n,t.sourceCodeLocation);if(r){e.location=true;n.position=r}}}function jh(e,t,n){const r=Vh(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end){r.end=Object.assign({},i.position.end)}if(e.verbose){const r={};let i;if(n.attrs){for(i in n.attrs){if(Ih.call(n.attrs,i)){r[hh(e.schema,i).property]=Vh(n.attrs[i])}}}const o=Vh(n.startTag);const l=n.endTag?Vh(n.endTag):undefined;const s={opening:o};if(l)s.closing=l;s.properties=r;t.data={position:s}}}return r}function Vh(e){const t=Gh({line:e.startLine,column:e.startCol,offset:e.startOffset});const n=Gh({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:undefined}function Gh(e){return e.line&&e.column?e:undefined}function $h(e,t){const n=t||{};const r=e[e.length-1]===""?[...e,""]:e;return r.join((n.padRight?" ":"")+","+(n.padLeft===false?"":" ")).trim()}class Yh{constructor(e,t,n){this.property=e;this.normal=t;if(n){this.space=n}}}Yh.prototype.property={};Yh.prototype.normal={};Yh.prototype.space=null;function Wh(e,t){const n={};const r={};let i=-1;while(++i<e.length){Object.assign(n,e[i].property);Object.assign(r,e[i].normal)}return new Yh(n,r,t)}function Xh(e){return e.toLowerCase()}class Kh{constructor(e,t){this.property=e;this.attribute=t}}Kh.prototype.space=null;Kh.prototype.boolean=false;Kh.prototype.booleanish=false;Kh.prototype.overloadedBoolean=false;Kh.prototype.number=false;Kh.prototype.commaSeparated=false;Kh.prototype.spaceSeparated=false;Kh.prototype.commaOrSpaceSeparated=false;Kh.prototype.mustUseProperty=false;Kh.prototype.defined=false;let Qh=0;const Zh=od();const Jh=od();const ed=od();const td=od();const nd=od();const rd=od();const id=od();function od(){return 2**++Qh}const ld=Object.freeze({__proto__:null,boolean:Zh,booleanish:Jh,overloadedBoolean:ed,number:td,spaceSeparated:nd,commaSeparated:rd,commaOrSpaceSeparated:id});const sd=Object.keys(ld);class ad extends Kh{constructor(e,t,n,r){let i=-1;super(e,t);ud(this,"space",r);if(typeof n==="number"){while(++i<sd.length){const e=sd[i];ud(this,sd[i],(n&ld[e])===ld[e])}}}}ad.prototype.defined=true;function ud(e,t,n){if(n){e[t]=n}}const cd={}.hasOwnProperty;function fd(e){const t={};const n={};let r;for(r in e.properties){if(cd.call(e.properties,r)){const i=e.properties[r];const o=new ad(r,e.transform(e.attributes||{},r),i,e.space);if(e.mustUseProperty&&e.mustUseProperty.includes(r)){o.mustUseProperty=true}t[r]=o;n[Xh(r)]=r;n[Xh(o.attribute)]=r}}return new Yh(t,n,e.space)}const hd=fd({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});const dd=fd({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function pd(e,t){return t in e?e[t]:t}function gd(e,t){return pd(e,t.toLowerCase())}const md=fd({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:gd,properties:{xmlns:null,xmlnsXLink:null}});const bd=fd({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Jh,ariaAutoComplete:null,ariaBusy:Jh,ariaChecked:Jh,ariaColCount:td,ariaColIndex:td,ariaColSpan:td,ariaControls:nd,ariaCurrent:null,ariaDescribedBy:nd,ariaDetails:null,ariaDisabled:Jh,ariaDropEffect:nd,ariaErrorMessage:null,ariaExpanded:Jh,ariaFlowTo:nd,ariaGrabbed:Jh,ariaHasPopup:null,ariaHidden:Jh,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nd,ariaLevel:td,ariaLive:null,ariaModal:Jh,ariaMultiLine:Jh,ariaMultiSelectable:Jh,ariaOrientation:null,ariaOwns:nd,ariaPlaceholder:null,ariaPosInSet:td,ariaPressed:Jh,ariaReadOnly:Jh,ariaRelevant:null,ariaRequired:Jh,ariaRoleDescription:nd,ariaRowCount:td,ariaRowIndex:td,ariaRowSpan:td,ariaSelected:Jh,ariaSetSize:td,ariaSort:null,ariaValueMax:td,ariaValueMin:td,ariaValueNow:td,ariaValueText:null,role:null}});const kd=fd({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:gd,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:rd,acceptCharset:nd,accessKey:nd,action:null,allow:null,allowFullScreen:Zh,allowPaymentRequest:Zh,allowUserMedia:Zh,alt:null,as:null,async:Zh,autoCapitalize:null,autoComplete:nd,autoFocus:Zh,autoPlay:Zh,blocking:nd,capture:Zh,charSet:null,checked:Zh,cite:null,className:nd,cols:td,colSpan:null,content:null,contentEditable:Jh,controls:Zh,controlsList:nd,coords:td|rd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Zh,defer:Zh,dir:null,dirName:null,disabled:Zh,download:ed,draggable:Jh,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Zh,formTarget:null,headers:nd,height:td,hidden:Zh,high:td,href:null,hrefLang:null,htmlFor:nd,httpEquiv:nd,id:null,imageSizes:null,imageSrcSet:null,inert:Zh,inputMode:null,integrity:null,is:null,isMap:Zh,itemId:null,itemProp:nd,itemRef:nd,itemScope:Zh,itemType:nd,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Zh,low:td,manifest:null,max:null,maxLength:td,media:null,method:null,min:null,minLength:td,multiple:Zh,muted:Zh,name:null,nonce:null,noModule:Zh,noValidate:Zh,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Zh,optimum:td,pattern:null,ping:nd,placeholder:null,playsInline:Zh,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Zh,referrerPolicy:null,rel:nd,required:Zh,reversed:Zh,rows:td,rowSpan:td,sandbox:nd,scope:null,scoped:Zh,seamless:Zh,selected:Zh,shape:null,size:td,sizes:null,slot:null,span:td,spellCheck:Jh,src:null,srcDoc:null,srcLang:null,srcSet:null,start:td,step:null,style:null,tabIndex:td,target:null,title:null,translate:null,type:null,typeMustMatch:Zh,useMap:null,value:Jh,width:td,wrap:null,align:null,aLink:null,archive:nd,axis:null,background:null,bgColor:null,border:td,borderColor:null,bottomMargin:td,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Zh,declare:Zh,event:null,face:null,frame:null,frameBorder:null,hSpace:td,leftMargin:td,link:null,longDesc:null,lowSrc:null,marginHeight:td,marginWidth:td,noResize:Zh,noHref:Zh,noShade:Zh,noWrap:Zh,object:null,profile:null,prompt:null,rev:null,rightMargin:td,rules:null,scheme:null,scrolling:Jh,standby:null,summary:null,text:null,topMargin:td,valueType:null,version:null,vAlign:null,vLink:null,vSpace:td,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Zh,disableRemotePlayback:Zh,prefix:null,property:null,results:td,security:null,unselectable:null}});const yd=fd({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:pd,properties:{about:id,accentHeight:td,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:td,amplitude:td,arabicForm:null,ascent:td,attributeName:null,attributeType:null,azimuth:td,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:td,by:null,calcMode:null,capHeight:td,className:nd,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:td,diffuseConstant:td,direction:null,display:null,dur:null,divisor:td,dominantBaseline:null,download:Zh,dx:null,dy:null,edgeMode:null,editable:null,elevation:td,enableBackground:null,end:null,event:null,exponent:td,externalResourcesRequired:null,fill:null,fillOpacity:td,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:rd,g2:rd,glyphName:rd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:td,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:td,horizOriginX:td,horizOriginY:td,id:null,ideographic:td,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:td,k:td,k1:td,k2:td,k3:td,k4:td,kernelMatrix:id,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:td,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:td,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:td,overlineThickness:td,paintOrder:null,panose1:null,path:null,pathLength:td,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nd,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:td,pointsAtY:td,pointsAtZ:td,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:id,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:id,rev:id,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:id,requiredFeatures:id,requiredFonts:id,requiredFormats:id,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:td,specularExponent:td,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:td,strikethroughThickness:td,string:null,stroke:null,strokeDashArray:id,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:td,strokeOpacity:td,strokeWidth:null,style:null,surfaceScale:td,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:id,tabIndex:td,tableValues:null,target:null,targetX:td,targetY:td,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:id,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:td,underlineThickness:td,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:td,values:null,vAlphabetic:td,vMathematical:td,vectorEffect:null,vHanging:td,vIdeographic:td,version:null,vertAdvY:td,vertOriginX:td,vertOriginY:td,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:td,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});const wd=/^data[-\w.:]+$/i;const vd=/-[a-z]/g;const Ed=/[A-Z]/g;function Sd(e,t){const n=Xh(t);let r=t;let i=Kh;if(n in e.normal){return e.property[e.normal[n]]}if(n.length>4&&n.slice(0,4)==="data"&&wd.test(t)){if(t.charAt(4)==="-"){const e=t.slice(5).replace(vd,Td);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!vd.test(e)){let n=e.replace(Ed,xd);if(n.charAt(0)!=="-"){n="-"+n}t="data"+n}}i=ad}return new i(r,t)}function xd(e){return"-"+e.toLowerCase()}function Td(e){return e.charAt(1).toUpperCase()}const Ad=Wh([dd,hd,md,bd,kd],"html");const Cd=Wh([dd,hd,md,bd,yd],"svg");function Dd(e){return e.join(" ").trim()}const Rd={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};const Ld={}.hasOwnProperty;function Od(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&Ld.call(t,e)){const n=String(t[e]);i=Ld.call(o,n)?o[n]:r.unknown}if(i){return i.call(this,t,...n)}}r.handlers=n.handlers||{};r.invalid=n.invalid;r.unknown=n.unknown;return r}const _d={};const Pd={}.hasOwnProperty;const Md=Od("type",{handlers:{root:Id,element:Hd,text:Fd,comment:Ud,doctype:Bd}});function Nd(e,t){const n=t||_d;const r=n.space;return Md(e,r==="svg"?Cd:Ad)}function Id(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};n.childNodes=jd(e.children,n,t);Vd(e,n);return n}function qd(e,t){const n={nodeName:"#document-fragment",childNodes:[]};n.childNodes=jd(e.children,n,t);Vd(e,n);return n}function Bd(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};Vd(e,t);return t}function Fd(e){const t={nodeName:"#text",value:e.value,parentNode:null};Vd(e,t);return t}function Ud(e){const t={nodeName:"#comment",data:e.value,parentNode:null};Vd(e,t);return t}function Hd(e,t){const n=t;let r=n;if(e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"){r=Cd}const i=[];let o;if(e.properties){for(o in e.properties){if(o!=="children"&&Pd.call(e.properties,o)){const t=zd(r,o,e.properties[o]);if(t){i.push(t)}}}}const l=r.space;const s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Rd[l],childNodes:[],parentNode:null};s.childNodes=jd(e.children,s,r);Vd(e,s);if(e.tagName==="template"&&e.content){s.content=qd(e.content,r)}return s}function zd(e,t,n){const r=Sd(e,t);if(n===false||n===null||n===undefined||typeof n==="number"&&Number.isNaN(n)||!n&&r.boolean){return}if(Array.isArray(n)){n=r.commaSeparated?$h(n):Dd(n)}const i={name:r.attribute,value:n===true?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const e=i.name.indexOf(":");if(e<0){i.prefix=""}else{i.name=i.name.slice(e+1);i.prefix=r.attribute.slice(0,e)}i.namespace=Rd[r.space]}return i}function jd(e,t,n){let r=-1;const i=[];if(e){while(++r<e.length){const o=Md(e[r],n);o.parentNode=t;i.push(o)}}return i}function Vd(e,t){const n=e.position;if(n&&n.start&&n.end){t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset}}}const Gd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];const $d=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);const Yd="�";var Wd;(function(e){e[e["EOF"]=-1]="EOF";e[e["NULL"]=0]="NULL";e[e["TABULATION"]=9]="TABULATION";e[e["CARRIAGE_RETURN"]=13]="CARRIAGE_RETURN";e[e["LINE_FEED"]=10]="LINE_FEED";e[e["FORM_FEED"]=12]="FORM_FEED";e[e["SPACE"]=32]="SPACE";e[e["EXCLAMATION_MARK"]=33]="EXCLAMATION_MARK";e[e["QUOTATION_MARK"]=34]="QUOTATION_MARK";e[e["NUMBER_SIGN"]=35]="NUMBER_SIGN";e[e["AMPERSAND"]=38]="AMPERSAND";e[e["APOSTROPHE"]=39]="APOSTROPHE";e[e["HYPHEN_MINUS"]=45]="HYPHEN_MINUS";e[e["SOLIDUS"]=47]="SOLIDUS";e[e["DIGIT_0"]=48]="DIGIT_0";e[e["DIGIT_9"]=57]="DIGIT_9";e[e["SEMICOLON"]=59]="SEMICOLON";e[e["LESS_THAN_SIGN"]=60]="LESS_THAN_SIGN";e[e["EQUALS_SIGN"]=61]="EQUALS_SIGN";e[e["GREATER_THAN_SIGN"]=62]="GREATER_THAN_SIGN";e[e["QUESTION_MARK"]=63]="QUESTION_MARK";e[e["LATIN_CAPITAL_A"]=65]="LATIN_CAPITAL_A";e[e["LATIN_CAPITAL_F"]=70]="LATIN_CAPITAL_F";e[e["LATIN_CAPITAL_X"]=88]="LATIN_CAPITAL_X";e[e["LATIN_CAPITAL_Z"]=90]="LATIN_CAPITAL_Z";e[e["RIGHT_SQUARE_BRACKET"]=93]="RIGHT_SQUARE_BRACKET";e[e["GRAVE_ACCENT"]=96]="GRAVE_ACCENT";e[e["LATIN_SMALL_A"]=97]="LATIN_SMALL_A";e[e["LATIN_SMALL_F"]=102]="LATIN_SMALL_F";e[e["LATIN_SMALL_X"]=120]="LATIN_SMALL_X";e[e["LATIN_SMALL_Z"]=122]="LATIN_SMALL_Z";e[e["REPLACEMENT_CHARACTER"]=65533]="REPLACEMENT_CHARACTER"})(Wd=Wd||(Wd={}));const Xd={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Kd(e){return e>=55296&&e<=57343}function Qd(e){return e>=56320&&e<=57343}function Zd(e,t){return(e-55296)*1024+9216+t}function Jd(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function ep(e){return e>=64976&&e<=65007||$d.has(e)}var tp;(function(e){e["controlCharacterInInputStream"]="control-character-in-input-stream";e["noncharacterInInputStream"]="noncharacter-in-input-stream";e["surrogateInInputStream"]="surrogate-in-input-stream";e["nonVoidHtmlElementStartTagWithTrailingSolidus"]="non-void-html-element-start-tag-with-trailing-solidus";e["endTagWithAttributes"]="end-tag-with-attributes";e["endTagWithTrailingSolidus"]="end-tag-with-trailing-solidus";e["unexpectedSolidusInTag"]="unexpected-solidus-in-tag";e["unexpectedNullCharacter"]="unexpected-null-character";e["unexpectedQuestionMarkInsteadOfTagName"]="unexpected-question-mark-instead-of-tag-name";e["invalidFirstCharacterOfTagName"]="invalid-first-character-of-tag-name";e["unexpectedEqualsSignBeforeAttributeName"]="unexpected-equals-sign-before-attribute-name";e["missingEndTagName"]="missing-end-tag-name";e["unexpectedCharacterInAttributeName"]="unexpected-character-in-attribute-name";e["unknownNamedCharacterReference"]="unknown-named-character-reference";e["missingSemicolonAfterCharacterReference"]="missing-semicolon-after-character-reference";e["unexpectedCharacterAfterDoctypeSystemIdentifier"]="unexpected-character-after-doctype-system-identifier";e["unexpectedCharacterInUnquotedAttributeValue"]="unexpected-character-in-unquoted-attribute-value";e["eofBeforeTagName"]="eof-before-tag-name";e["eofInTag"]="eof-in-tag";e["missingAttributeValue"]="missing-attribute-value";e["missingWhitespaceBetweenAttributes"]="missing-whitespace-between-attributes";e["missingWhitespaceAfterDoctypePublicKeyword"]="missing-whitespace-after-doctype-public-keyword";e["missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers"]="missing-whitespace-between-doctype-public-and-system-identifiers";e["missingWhitespaceAfterDoctypeSystemKeyword"]="missing-whitespace-after-doctype-system-keyword";e["missingQuoteBeforeDoctypePublicIdentifier"]="missing-quote-before-doctype-public-identifier";e["missingQuoteBeforeDoctypeSystemIdentifier"]="missing-quote-before-doctype-system-identifier";e["missingDoctypePublicIdentifier"]="missing-doctype-public-identifier";e["missingDoctypeSystemIdentifier"]="missing-doctype-system-identifier";e["abruptDoctypePublicIdentifier"]="abrupt-doctype-public-identifier";e["abruptDoctypeSystemIdentifier"]="abrupt-doctype-system-identifier";e["cdataInHtmlContent"]="cdata-in-html-content";e["incorrectlyOpenedComment"]="incorrectly-opened-comment";e["eofInScriptHtmlCommentLikeText"]="eof-in-script-html-comment-like-text";e["eofInDoctype"]="eof-in-doctype";e["nestedComment"]="nested-comment";e["abruptClosingOfEmptyComment"]="abrupt-closing-of-empty-comment";e["eofInComment"]="eof-in-comment";e["incorrectlyClosedComment"]="incorrectly-closed-comment";e["eofInCdata"]="eof-in-cdata";e["absenceOfDigitsInNumericCharacterReference"]="absence-of-digits-in-numeric-character-reference";e["nullCharacterReference"]="null-character-reference";e["surrogateCharacterReference"]="surrogate-character-reference";e["characterReferenceOutsideUnicodeRange"]="character-reference-outside-unicode-range";e["controlCharacterReference"]="control-character-reference";e["noncharacterCharacterReference"]="noncharacter-character-reference";e["missingWhitespaceBeforeDoctypeName"]="missing-whitespace-before-doctype-name";e["missingDoctypeName"]="missing-doctype-name";e["invalidCharacterSequenceAfterDoctypeName"]="invalid-character-sequence-after-doctype-name";e["duplicateAttribute"]="duplicate-attribute";e["nonConformingDoctype"]="non-conforming-doctype";e["missingDoctype"]="missing-doctype";e["misplacedDoctype"]="misplaced-doctype";e["endTagWithoutMatchingOpenElement"]="end-tag-without-matching-open-element";e["closingOfElementWithOpenChildElements"]="closing-of-element-with-open-child-elements";e["disallowedContentInNoscriptInHead"]="disallowed-content-in-noscript-in-head";e["openElementsLeftAfterEof"]="open-elements-left-after-eof";e["abandonedHeadElementChild"]="abandoned-head-element-child";e["misplacedStartTagForHeadElement"]="misplaced-start-tag-for-head-element";e["nestedNoscriptInHead"]="nested-noscript-in-head";e["eofInElementThatCanContainOnlyText"]="eof-in-element-that-can-contain-only-text"})(tp=tp||(tp={}));const np=1<<16;class rp{constructor(e){this.handler=e;this.html="";this.pos=-1;this.lastGapPos=-2;this.gapStack=[];this.skipNextNewLine=false;this.lastChunkWritten=false;this.endOfChunkHit=false;this.bufferWaterline=np;this.isEol=false;this.lineStartPos=0;this.droppedBufferSize=0;this.line=1;this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){if(this.handler.onParseError&&this.lastErrOffset!==this.offset){this.lastErrOffset=this.offset;this.handler.onParseError(this.getError(e))}}_addGap(){this.gapStack.push(this.lastGapPos);this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(Qd(t)){this.pos++;this._addGap();return Zd(e,t)}}else if(!this.lastChunkWritten){this.endOfChunkHit=true;return Wd.EOF}this._err(tp.surrogateInInputStream);return e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){if(this.willDropParsedChunk()){this.html=this.html.substring(this.pos);this.lineStartPos-=this.pos;this.droppedBufferSize+=this.pos;this.pos=0;this.lastGapPos=-2;this.gapStack.length=0}}write(e,t){if(this.html.length>0){this.html+=e}else{this.html=e}this.endOfChunkHit=false;this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1);this.endOfChunkHit=false}startsWith(e,t){if(this.pos+e.length>this.html.length){this.endOfChunkHit=!this.lastChunkWritten;return false}if(t){return this.html.startsWith(e,this.pos)}for(let t=0;t<e.length;t++){const n=this.html.charCodeAt(this.pos+t)|32;if(n!==e.charCodeAt(t)){return false}}return true}peek(e){const t=this.pos+e;if(t>=this.html.length){this.endOfChunkHit=!this.lastChunkWritten;return Wd.EOF}const n=this.html.charCodeAt(t);return n===Wd.CARRIAGE_RETURN?Wd.LINE_FEED:n}advance(){this.pos++;if(this.isEol){this.isEol=false;this.line++;this.lineStartPos=this.pos}if(this.pos>=this.html.length){this.endOfChunkHit=!this.lastChunkWritten;return Wd.EOF}let e=this.html.charCodeAt(this.pos);if(e===Wd.CARRIAGE_RETURN){this.isEol=true;this.skipNextNewLine=true;return Wd.LINE_FEED}if(e===Wd.LINE_FEED){this.isEol=true;if(this.skipNextNewLine){this.line--;this.skipNextNewLine=false;this._addGap();return this.advance()}}this.skipNextNewLine=false;if(Kd(e)){e=this._processSurrogate(e)}const t=this.handler.onParseError===null||e>31&&e<127||e===Wd.LINE_FEED||e===Wd.CARRIAGE_RETURN||e>159&&e<64976;if(!t){this._checkForProblematicCharacters(e)}return e}_checkForProblematicCharacters(e){if(Jd(e)){this._err(tp.controlCharacterInInputStream)}else if(ep(e)){this._err(tp.noncharacterInInputStream)}}retreat(e){this.pos-=e;while(this.pos<this.lastGapPos){this.lastGapPos=this.gapStack.pop();this.pos--}this.isEol=false}}var ip;(function(e){e[e["CHARACTER"]=0]="CHARACTER";e[e["NULL_CHARACTER"]=1]="NULL_CHARACTER";e[e["WHITESPACE_CHARACTER"]=2]="WHITESPACE_CHARACTER";e[e["START_TAG"]=3]="START_TAG";e[e["END_TAG"]=4]="END_TAG";e[e["COMMENT"]=5]="COMMENT";e[e["DOCTYPE"]=6]="DOCTYPE";e[e["EOF"]=7]="EOF";e[e["HIBERNATION"]=8]="HIBERNATION"})(ip=ip||(ip={}));function op(e,t){for(let n=e.attrs.length-1;n>=0;n--){if(e.attrs[n].name===t){return e.attrs[n].value}}return null}var lp;(function(e){e["HTML"]="http://www.w3.org/1999/xhtml";e["MATHML"]="http://www.w3.org/1998/Math/MathML";e["SVG"]="http://www.w3.org/2000/svg";e["XLINK"]="http://www.w3.org/1999/xlink";e["XML"]="http://www.w3.org/XML/1998/namespace";e["XMLNS"]="http://www.w3.org/2000/xmlns/"})(lp=lp||(lp={}));var sp;(function(e){e["TYPE"]="type";e["ACTION"]="action";e["ENCODING"]="encoding";e["PROMPT"]="prompt";e["NAME"]="name";e["COLOR"]="color";e["FACE"]="face";e["SIZE"]="size"})(sp=sp||(sp={}));var ap;(function(e){e["NO_QUIRKS"]="no-quirks";e["QUIRKS"]="quirks";e["LIMITED_QUIRKS"]="limited-quirks"})(ap=ap||(ap={}));var up;(function(e){e["A"]="a";e["ADDRESS"]="address";e["ANNOTATION_XML"]="annotation-xml";e["APPLET"]="applet";e["AREA"]="area";e["ARTICLE"]="article";e["ASIDE"]="aside";e["B"]="b";e["BASE"]="base";e["BASEFONT"]="basefont";e["BGSOUND"]="bgsound";e["BIG"]="big";e["BLOCKQUOTE"]="blockquote";e["BODY"]="body";e["BR"]="br";e["BUTTON"]="button";e["CAPTION"]="caption";e["CENTER"]="center";e["CODE"]="code";e["COL"]="col";e["COLGROUP"]="colgroup";e["DD"]="dd";e["DESC"]="desc";e["DETAILS"]="details";e["DIALOG"]="dialog";e["DIR"]="dir";e["DIV"]="div";e["DL"]="dl";e["DT"]="dt";e["EM"]="em";e["EMBED"]="embed";e["FIELDSET"]="fieldset";e["FIGCAPTION"]="figcaption";e["FIGURE"]="figure";e["FONT"]="font";e["FOOTER"]="footer";e["FOREIGN_OBJECT"]="foreignObject";e["FORM"]="form";e["FRAME"]="frame";e["FRAMESET"]="frameset";e["H1"]="h1";e["H2"]="h2";e["H3"]="h3";e["H4"]="h4";e["H5"]="h5";e["H6"]="h6";e["HEAD"]="head";e["HEADER"]="header";e["HGROUP"]="hgroup";e["HR"]="hr";e["HTML"]="html";e["I"]="i";e["IMG"]="img";e["IMAGE"]="image";e["INPUT"]="input";e["IFRAME"]="iframe";e["KEYGEN"]="keygen";e["LABEL"]="label";e["LI"]="li";e["LINK"]="link";e["LISTING"]="listing";e["MAIN"]="main";e["MALIGNMARK"]="malignmark";e["MARQUEE"]="marquee";e["MATH"]="math";e["MENU"]="menu";e["META"]="meta";e["MGLYPH"]="mglyph";e["MI"]="mi";e["MO"]="mo";e["MN"]="mn";e["MS"]="ms";e["MTEXT"]="mtext";e["NAV"]="nav";e["NOBR"]="nobr";e["NOFRAMES"]="noframes";e["NOEMBED"]="noembed";e["NOSCRIPT"]="noscript";e["OBJECT"]="object";e["OL"]="ol";e["OPTGROUP"]="optgroup";e["OPTION"]="option";e["P"]="p";e["PARAM"]="param";e["PLAINTEXT"]="plaintext";e["PRE"]="pre";e["RB"]="rb";e["RP"]="rp";e["RT"]="rt";e["RTC"]="rtc";e["RUBY"]="ruby";e["S"]="s";e["SCRIPT"]="script";e["SECTION"]="section";e["SELECT"]="select";e["SOURCE"]="source";e["SMALL"]="small";e["SPAN"]="span";e["STRIKE"]="strike";e["STRONG"]="strong";e["STYLE"]="style";e["SUB"]="sub";e["SUMMARY"]="summary";e["SUP"]="sup";e["TABLE"]="table";e["TBODY"]="tbody";e["TEMPLATE"]="template";e["TEXTAREA"]="textarea";e["TFOOT"]="tfoot";e["TD"]="td";e["TH"]="th";e["THEAD"]="thead";e["TITLE"]="title";e["TR"]="tr";e["TRACK"]="track";e["TT"]="tt";e["U"]="u";e["UL"]="ul";e["SVG"]="svg";e["VAR"]="var";e["WBR"]="wbr";e["XMP"]="xmp"})(up=up||(up={}));var cp;(function(e){e[e["UNKNOWN"]=0]="UNKNOWN";e[e["A"]=1]="A";e[e["ADDRESS"]=2]="ADDRESS";e[e["ANNOTATION_XML"]=3]="ANNOTATION_XML";e[e["APPLET"]=4]="APPLET";e[e["AREA"]=5]="AREA";e[e["ARTICLE"]=6]="ARTICLE";e[e["ASIDE"]=7]="ASIDE";e[e["B"]=8]="B";e[e["BASE"]=9]="BASE";e[e["BASEFONT"]=10]="BASEFONT";e[e["BGSOUND"]=11]="BGSOUND";e[e["BIG"]=12]="BIG";e[e["BLOCKQUOTE"]=13]="BLOCKQUOTE";e[e["BODY"]=14]="BODY";e[e["BR"]=15]="BR";e[e["BUTTON"]=16]="BUTTON";e[e["CAPTION"]=17]="CAPTION";e[e["CENTER"]=18]="CENTER";e[e["CODE"]=19]="CODE";e[e["COL"]=20]="COL";e[e["COLGROUP"]=21]="COLGROUP";e[e["DD"]=22]="DD";e[e["DESC"]=23]="DESC";e[e["DETAILS"]=24]="DETAILS";e[e["DIALOG"]=25]="DIALOG";e[e["DIR"]=26]="DIR";e[e["DIV"]=27]="DIV";e[e["DL"]=28]="DL";e[e["DT"]=29]="DT";e[e["EM"]=30]="EM";e[e["EMBED"]=31]="EMBED";e[e["FIELDSET"]=32]="FIELDSET";e[e["FIGCAPTION"]=33]="FIGCAPTION";e[e["FIGURE"]=34]="FIGURE";e[e["FONT"]=35]="FONT";e[e["FOOTER"]=36]="FOOTER";e[e["FOREIGN_OBJECT"]=37]="FOREIGN_OBJECT";e[e["FORM"]=38]="FORM";e[e["FRAME"]=39]="FRAME";e[e["FRAMESET"]=40]="FRAMESET";e[e["H1"]=41]="H1";e[e["H2"]=42]="H2";e[e["H3"]=43]="H3";e[e["H4"]=44]="H4";e[e["H5"]=45]="H5";e[e["H6"]=46]="H6";e[e["HEAD"]=47]="HEAD";e[e["HEADER"]=48]="HEADER";e[e["HGROUP"]=49]="HGROUP";e[e["HR"]=50]="HR";e[e["HTML"]=51]="HTML";e[e["I"]=52]="I";e[e["IMG"]=53]="IMG";e[e["IMAGE"]=54]="IMAGE";e[e["INPUT"]=55]="INPUT";e[e["IFRAME"]=56]="IFRAME";e[e["KEYGEN"]=57]="KEYGEN";e[e["LABEL"]=58]="LABEL";e[e["LI"]=59]="LI";e[e["LINK"]=60]="LINK";e[e["LISTING"]=61]="LISTING";e[e["MAIN"]=62]="MAIN";e[e["MALIGNMARK"]=63]="MALIGNMARK";e[e["MARQUEE"]=64]="MARQUEE";e[e["MATH"]=65]="MATH";e[e["MENU"]=66]="MENU";e[e["META"]=67]="META";e[e["MGLYPH"]=68]="MGLYPH";e[e["MI"]=69]="MI";e[e["MO"]=70]="MO";e[e["MN"]=71]="MN";e[e["MS"]=72]="MS";e[e["MTEXT"]=73]="MTEXT";e[e["NAV"]=74]="NAV";e[e["NOBR"]=75]="NOBR";e[e["NOFRAMES"]=76]="NOFRAMES";e[e["NOEMBED"]=77]="NOEMBED";e[e["NOSCRIPT"]=78]="NOSCRIPT";e[e["OBJECT"]=79]="OBJECT";e[e["OL"]=80]="OL";e[e["OPTGROUP"]=81]="OPTGROUP";e[e["OPTION"]=82]="OPTION";e[e["P"]=83]="P";e[e["PARAM"]=84]="PARAM";e[e["PLAINTEXT"]=85]="PLAINTEXT";e[e["PRE"]=86]="PRE";e[e["RB"]=87]="RB";e[e["RP"]=88]="RP";e[e["RT"]=89]="RT";e[e["RTC"]=90]="RTC";e[e["RUBY"]=91]="RUBY";e[e["S"]=92]="S";e[e["SCRIPT"]=93]="SCRIPT";e[e["SECTION"]=94]="SECTION";e[e["SELECT"]=95]="SELECT";e[e["SOURCE"]=96]="SOURCE";e[e["SMALL"]=97]="SMALL";e[e["SPAN"]=98]="SPAN";e[e["STRIKE"]=99]="STRIKE";e[e["STRONG"]=100]="STRONG";e[e["STYLE"]=101]="STYLE";e[e["SUB"]=102]="SUB";e[e["SUMMARY"]=103]="SUMMARY";e[e["SUP"]=104]="SUP";e[e["TABLE"]=105]="TABLE";e[e["TBODY"]=106]="TBODY";e[e["TEMPLATE"]=107]="TEMPLATE";e[e["TEXTAREA"]=108]="TEXTAREA";e[e["TFOOT"]=109]="TFOOT";e[e["TD"]=110]="TD";e[e["TH"]=111]="TH";e[e["THEAD"]=112]="THEAD";e[e["TITLE"]=113]="TITLE";e[e["TR"]=114]="TR";e[e["TRACK"]=115]="TRACK";e[e["TT"]=116]="TT";e[e["U"]=117]="U";e[e["UL"]=118]="UL";e[e["SVG"]=119]="SVG";e[e["VAR"]=120]="VAR";e[e["WBR"]=121]="WBR";e[e["XMP"]=122]="XMP"})(cp=cp||(cp={}));const fp=new Map([[up.A,cp.A],[up.ADDRESS,cp.ADDRESS],[up.ANNOTATION_XML,cp.ANNOTATION_XML],[up.APPLET,cp.APPLET],[up.AREA,cp.AREA],[up.ARTICLE,cp.ARTICLE],[up.ASIDE,cp.ASIDE],[up.B,cp.B],[up.BASE,cp.BASE],[up.BASEFONT,cp.BASEFONT],[up.BGSOUND,cp.BGSOUND],[up.BIG,cp.BIG],[up.BLOCKQUOTE,cp.BLOCKQUOTE],[up.BODY,cp.BODY],[up.BR,cp.BR],[up.BUTTON,cp.BUTTON],[up.CAPTION,cp.CAPTION],[up.CENTER,cp.CENTER],[up.CODE,cp.CODE],[up.COL,cp.COL],[up.COLGROUP,cp.COLGROUP],[up.DD,cp.DD],[up.DESC,cp.DESC],[up.DETAILS,cp.DETAILS],[up.DIALOG,cp.DIALOG],[up.DIR,cp.DIR],[up.DIV,cp.DIV],[up.DL,cp.DL],[up.DT,cp.DT],[up.EM,cp.EM],[up.EMBED,cp.EMBED],[up.FIELDSET,cp.FIELDSET],[up.FIGCAPTION,cp.FIGCAPTION],[up.FIGURE,cp.FIGURE],[up.FONT,cp.FONT],[up.FOOTER,cp.FOOTER],[up.FOREIGN_OBJECT,cp.FOREIGN_OBJECT],[up.FORM,cp.FORM],[up.FRAME,cp.FRAME],[up.FRAMESET,cp.FRAMESET],[up.H1,cp.H1],[up.H2,cp.H2],[up.H3,cp.H3],[up.H4,cp.H4],[up.H5,cp.H5],[up.H6,cp.H6],[up.HEAD,cp.HEAD],[up.HEADER,cp.HEADER],[up.HGROUP,cp.HGROUP],[up.HR,cp.HR],[up.HTML,cp.HTML],[up.I,cp.I],[up.IMG,cp.IMG],[up.IMAGE,cp.IMAGE],[up.INPUT,cp.INPUT],[up.IFRAME,cp.IFRAME],[up.KEYGEN,cp.KEYGEN],[up.LABEL,cp.LABEL],[up.LI,cp.LI],[up.LINK,cp.LINK],[up.LISTING,cp.LISTING],[up.MAIN,cp.MAIN],[up.MALIGNMARK,cp.MALIGNMARK],[up.MARQUEE,cp.MARQUEE],[up.MATH,cp.MATH],[up.MENU,cp.MENU],[up.META,cp.META],[up.MGLYPH,cp.MGLYPH],[up.MI,cp.MI],[up.MO,cp.MO],[up.MN,cp.MN],[up.MS,cp.MS],[up.MTEXT,cp.MTEXT],[up.NAV,cp.NAV],[up.NOBR,cp.NOBR],[up.NOFRAMES,cp.NOFRAMES],[up.NOEMBED,cp.NOEMBED],[up.NOSCRIPT,cp.NOSCRIPT],[up.OBJECT,cp.OBJECT],[up.OL,cp.OL],[up.OPTGROUP,cp.OPTGROUP],[up.OPTION,cp.OPTION],[up.P,cp.P],[up.PARAM,cp.PARAM],[up.PLAINTEXT,cp.PLAINTEXT],[up.PRE,cp.PRE],[up.RB,cp.RB],[up.RP,cp.RP],[up.RT,cp.RT],[up.RTC,cp.RTC],[up.RUBY,cp.RUBY],[up.S,cp.S],[up.SCRIPT,cp.SCRIPT],[up.SECTION,cp.SECTION],[up.SELECT,cp.SELECT],[up.SOURCE,cp.SOURCE],[up.SMALL,cp.SMALL],[up.SPAN,cp.SPAN],[up.STRIKE,cp.STRIKE],[up.STRONG,cp.STRONG],[up.STYLE,cp.STYLE],[up.SUB,cp.SUB],[up.SUMMARY,cp.SUMMARY],[up.SUP,cp.SUP],[up.TABLE,cp.TABLE],[up.TBODY,cp.TBODY],[up.TEMPLATE,cp.TEMPLATE],[up.TEXTAREA,cp.TEXTAREA],[up.TFOOT,cp.TFOOT],[up.TD,cp.TD],[up.TH,cp.TH],[up.THEAD,cp.THEAD],[up.TITLE,cp.TITLE],[up.TR,cp.TR],[up.TRACK,cp.TRACK],[up.TT,cp.TT],[up.U,cp.U],[up.UL,cp.UL],[up.SVG,cp.SVG],[up.VAR,cp.VAR],[up.WBR,cp.WBR],[up.XMP,cp.XMP]]);function hp(e){var t;return(t=fp.get(e))!==null&&t!==void 0?t:cp.UNKNOWN}const dp=cp;const pp={[lp.HTML]:new Set([dp.ADDRESS,dp.APPLET,dp.AREA,dp.ARTICLE,dp.ASIDE,dp.BASE,dp.BASEFONT,dp.BGSOUND,dp.BLOCKQUOTE,dp.BODY,dp.BR,dp.BUTTON,dp.CAPTION,dp.CENTER,dp.COL,dp.COLGROUP,dp.DD,dp.DETAILS,dp.DIR,dp.DIV,dp.DL,dp.DT,dp.EMBED,dp.FIELDSET,dp.FIGCAPTION,dp.FIGURE,dp.FOOTER,dp.FORM,dp.FRAME,dp.FRAMESET,dp.H1,dp.H2,dp.H3,dp.H4,dp.H5,dp.H6,dp.HEAD,dp.HEADER,dp.HGROUP,dp.HR,dp.HTML,dp.IFRAME,dp.IMG,dp.INPUT,dp.LI,dp.LINK,dp.LISTING,dp.MAIN,dp.MARQUEE,dp.MENU,dp.META,dp.NAV,dp.NOEMBED,dp.NOFRAMES,dp.NOSCRIPT,dp.OBJECT,dp.OL,dp.P,dp.PARAM,dp.PLAINTEXT,dp.PRE,dp.SCRIPT,dp.SECTION,dp.SELECT,dp.SOURCE,dp.STYLE,dp.SUMMARY,dp.TABLE,dp.TBODY,dp.TD,dp.TEMPLATE,dp.TEXTAREA,dp.TFOOT,dp.TH,dp.THEAD,dp.TITLE,dp.TR,dp.TRACK,dp.UL,dp.WBR,dp.XMP]),[lp.MATHML]:new Set([dp.MI,dp.MO,dp.MN,dp.MS,dp.MTEXT,dp.ANNOTATION_XML]),[lp.SVG]:new Set([dp.TITLE,dp.FOREIGN_OBJECT,dp.DESC]),[lp.XLINK]:new Set,[lp.XML]:new Set,[lp.XMLNS]:new Set};function gp(e){return e===dp.H1||e===dp.H2||e===dp.H3||e===dp.H4||e===dp.H5||e===dp.H6}const mp=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var bp;(function(e){e[e["DATA"]=0]="DATA";e[e["RCDATA"]=1]="RCDATA";e[e["RAWTEXT"]=2]="RAWTEXT";e[e["SCRIPT_DATA"]=3]="SCRIPT_DATA";e[e["PLAINTEXT"]=4]="PLAINTEXT";e[e["TAG_OPEN"]=5]="TAG_OPEN";e[e["END_TAG_OPEN"]=6]="END_TAG_OPEN";e[e["TAG_NAME"]=7]="TAG_NAME";e[e["RCDATA_LESS_THAN_SIGN"]=8]="RCDATA_LESS_THAN_SIGN";e[e["RCDATA_END_TAG_OPEN"]=9]="RCDATA_END_TAG_OPEN";e[e["RCDATA_END_TAG_NAME"]=10]="RCDATA_END_TAG_NAME";e[e["RAWTEXT_LESS_THAN_SIGN"]=11]="RAWTEXT_LESS_THAN_SIGN";e[e["RAWTEXT_END_TAG_OPEN"]=12]="RAWTEXT_END_TAG_OPEN";e[e["RAWTEXT_END_TAG_NAME"]=13]="RAWTEXT_END_TAG_NAME";e[e["SCRIPT_DATA_LESS_THAN_SIGN"]=14]="SCRIPT_DATA_LESS_THAN_SIGN";e[e["SCRIPT_DATA_END_TAG_OPEN"]=15]="SCRIPT_DATA_END_TAG_OPEN";e[e["SCRIPT_DATA_END_TAG_NAME"]=16]="SCRIPT_DATA_END_TAG_NAME";e[e["SCRIPT_DATA_ESCAPE_START"]=17]="SCRIPT_DATA_ESCAPE_START";e[e["SCRIPT_DATA_ESCAPE_START_DASH"]=18]="SCRIPT_DATA_ESCAPE_START_DASH";e[e["SCRIPT_DATA_ESCAPED"]=19]="SCRIPT_DATA_ESCAPED";e[e["SCRIPT_DATA_ESCAPED_DASH"]=20]="SCRIPT_DATA_ESCAPED_DASH";e[e["SCRIPT_DATA_ESCAPED_DASH_DASH"]=21]="SCRIPT_DATA_ESCAPED_DASH_DASH";e[e["SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN"]=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN";e[e["SCRIPT_DATA_ESCAPED_END_TAG_OPEN"]=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN";e[e["SCRIPT_DATA_ESCAPED_END_TAG_NAME"]=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME";e[e["SCRIPT_DATA_DOUBLE_ESCAPE_START"]=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START";e[e["SCRIPT_DATA_DOUBLE_ESCAPED"]=26]="SCRIPT_DATA_DOUBLE_ESCAPED";e[e["SCRIPT_DATA_DOUBLE_ESCAPED_DASH"]=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH";e[e["SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH"]=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH";e[e["SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN"]=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN";e[e["SCRIPT_DATA_DOUBLE_ESCAPE_END"]=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END";e[e["BEFORE_ATTRIBUTE_NAME"]=31]="BEFORE_ATTRIBUTE_NAME";e[e["ATTRIBUTE_NAME"]=32]="ATTRIBUTE_NAME";e[e["AFTER_ATTRIBUTE_NAME"]=33]="AFTER_ATTRIBUTE_NAME";e[e["BEFORE_ATTRIBUTE_VALUE"]=34]="BEFORE_ATTRIBUTE_VALUE";e[e["ATTRIBUTE_VALUE_DOUBLE_QUOTED"]=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED";e[e["ATTRIBUTE_VALUE_SINGLE_QUOTED"]=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED";e[e["ATTRIBUTE_VALUE_UNQUOTED"]=37]="ATTRIBUTE_VALUE_UNQUOTED";e[e["AFTER_ATTRIBUTE_VALUE_QUOTED"]=38]="AFTER_ATTRIBUTE_VALUE_QUOTED";e[e["SELF_CLOSING_START_TAG"]=39]="SELF_CLOSING_START_TAG";e[e["BOGUS_COMMENT"]=40]="BOGUS_COMMENT";e[e["MARKUP_DECLARATION_OPEN"]=41]="MARKUP_DECLARATION_OPEN";e[e["COMMENT_START"]=42]="COMMENT_START";e[e["COMMENT_START_DASH"]=43]="COMMENT_START_DASH";e[e["COMMENT"]=44]="COMMENT";e[e["COMMENT_LESS_THAN_SIGN"]=45]="COMMENT_LESS_THAN_SIGN";e[e["COMMENT_LESS_THAN_SIGN_BANG"]=46]="COMMENT_LESS_THAN_SIGN_BANG";e[e["COMMENT_LESS_THAN_SIGN_BANG_DASH"]=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH";e[e["COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH"]=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH";e[e["COMMENT_END_DASH"]=49]="COMMENT_END_DASH";e[e["COMMENT_END"]=50]="COMMENT_END";e[e["COMMENT_END_BANG"]=51]="COMMENT_END_BANG";e[e["DOCTYPE"]=52]="DOCTYPE";e[e["BEFORE_DOCTYPE_NAME"]=53]="BEFORE_DOCTYPE_NAME";e[e["DOCTYPE_NAME"]=54]="DOCTYPE_NAME";e[e["AFTER_DOCTYPE_NAME"]=55]="AFTER_DOCTYPE_NAME";e[e["AFTER_DOCTYPE_PUBLIC_KEYWORD"]=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD";e[e["BEFORE_DOCTYPE_PUBLIC_IDENTIFIER"]=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER";e[e["DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED"]=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED";e[e["DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED"]=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED";e[e["AFTER_DOCTYPE_PUBLIC_IDENTIFIER"]=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER";e[e["BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS"]=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS";e[e["AFTER_DOCTYPE_SYSTEM_KEYWORD"]=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD";e[e["BEFORE_DOCTYPE_SYSTEM_IDENTIFIER"]=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER";e[e["DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED"]=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED";e[e["DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED"]=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED";e[e["AFTER_DOCTYPE_SYSTEM_IDENTIFIER"]=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER";e[e["BOGUS_DOCTYPE"]=67]="BOGUS_DOCTYPE";e[e["CDATA_SECTION"]=68]="CDATA_SECTION";e[e["CDATA_SECTION_BRACKET"]=69]="CDATA_SECTION_BRACKET";e[e["CDATA_SECTION_END"]=70]="CDATA_SECTION_END";e[e["CHARACTER_REFERENCE"]=71]="CHARACTER_REFERENCE";e[e["NAMED_CHARACTER_REFERENCE"]=72]="NAMED_CHARACTER_REFERENCE";e[e["AMBIGUOUS_AMPERSAND"]=73]="AMBIGUOUS_AMPERSAND";e[e["NUMERIC_CHARACTER_REFERENCE"]=74]="NUMERIC_CHARACTER_REFERENCE";e[e["HEXADEMICAL_CHARACTER_REFERENCE_START"]=75]="HEXADEMICAL_CHARACTER_REFERENCE_START";e[e["HEXADEMICAL_CHARACTER_REFERENCE"]=76]="HEXADEMICAL_CHARACTER_REFERENCE";e[e["DECIMAL_CHARACTER_REFERENCE"]=77]="DECIMAL_CHARACTER_REFERENCE";e[e["NUMERIC_CHARACTER_REFERENCE_END"]=78]="NUMERIC_CHARACTER_REFERENCE_END"})(bp||(bp={}));const kp={DATA:bp.DATA,RCDATA:bp.RCDATA,RAWTEXT:bp.RAWTEXT,SCRIPT_DATA:bp.SCRIPT_DATA,PLAINTEXT:bp.PLAINTEXT,CDATA_SECTION:bp.CDATA_SECTION};function yp(e){return e>=Wd.DIGIT_0&&e<=Wd.DIGIT_9}function wp(e){return e>=Wd.LATIN_CAPITAL_A&&e<=Wd.LATIN_CAPITAL_Z}function vp(e){return e>=Wd.LATIN_SMALL_A&&e<=Wd.LATIN_SMALL_Z}function Ep(e){return vp(e)||wp(e)}function Sp(e){return Ep(e)||yp(e)}function xp(e){return e>=Wd.LATIN_CAPITAL_A&&e<=Wd.LATIN_CAPITAL_F}function Tp(e){return e>=Wd.LATIN_SMALL_A&&e<=Wd.LATIN_SMALL_F}function Ap(e){return yp(e)||xp(e)||Tp(e)}function Cp(e){return e+32}function Dp(e){return e===Wd.SPACE||e===Wd.LINE_FEED||e===Wd.TABULATION||e===Wd.FORM_FEED}function Rp(e){return e===Wd.EQUALS_SIGN||Sp(e)}function Lp(e){return Dp(e)||e===Wd.SOLIDUS||e===Wd.GREATER_THAN_SIGN}class Op{constructor(e,t){this.options=e;this.handler=t;this.paused=false;this.inLoop=false;this.inForeignNode=false;this.lastStartTagName="";this.active=false;this.state=bp.DATA;this.returnState=bp.DATA;this.charRefCode=-1;this.consumedAfterSnapshot=-1;this.currentCharacterToken=null;this.currentToken=null;this.currentAttr={name:"",value:""};this.preprocessor=new rp(t);this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;(n=(t=this.handler).onParseError)===null||n===void 0?void 0:n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){if(!this.options.sourceCodeLocationInfo){return null}return{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}}_runParsingLoop(){if(this.inLoop)return;this.inLoop=true;while(this.active&&!this.paused){this.consumedAfterSnapshot=0;const e=this._consume();if(!this._ensureHibernation()){this._callState(e)}}this.inLoop=false}pause(){this.paused=true}resume(e){if(!this.paused){throw new Error("Parser was already resumed")}this.paused=false;if(this.inLoop)return;this._runParsingLoop();if(!this.paused){e===null||e===void 0?void 0:e()}}write(e,t,n){this.active=true;this.preprocessor.write(e,t);this._runParsingLoop();if(!this.paused){n===null||n===void 0?void 0:n()}}insertHtmlAtCurrentPos(e){this.active=true;this.preprocessor.insertHtmlAtCurrentPos(e);this._runParsingLoop()}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){this._unconsume(this.consumedAfterSnapshot);this.active=false;return true}return false}_consume(){this.consumedAfterSnapshot++;return this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e;this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e;this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++){this.preprocessor.advance()}}_consumeSequenceIfMatch(e,t){if(this.preprocessor.startsWith(e,t)){this._advanceBy(e.length-1);return true}return false}_createStartTagToken(){this.currentToken={type:ip.START_TAG,tagName:"",tagID:cp.UNKNOWN,selfClosing:false,ackSelfClosing:false,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ip.END_TAG,tagName:"",tagID:cp.UNKNOWN,selfClosing:false,ackSelfClosing:false,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:ip.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:ip.DOCTYPE,name:e,forceQuirks:false,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""};this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;var t;const n=this.currentToken;if(op(n,this.currentAttr.name)===null){n.attrs.push(this.currentAttr);if(n.location&&this.currentLocation){const r=(e=(t=n.location).attrs)!==null&&e!==void 0?e:t.attrs=Object.create(null);r[this.currentAttr.name]=this.currentLocation;this._leaveAttrValue()}}else{this._err(tp.duplicateAttribute)}}_leaveAttrValue(){if(this.currentLocation){this.currentLocation.endLine=this.preprocessor.line;this.currentLocation.endCol=this.preprocessor.col;this.currentLocation.endOffset=this.preprocessor.offset}}prepareToken(e){this._emitCurrentCharacterToken(e.location);this.currentToken=null;if(e.location){e.location.endLine=this.preprocessor.line;e.location.endCol=this.preprocessor.col+1;e.location.endOffset=this.preprocessor.offset+1}this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e);e.tagID=hp(e.tagName);if(e.type===ip.START_TAG){this.lastStartTagName=e.tagName;this.handler.onStartTag(e)}else{if(e.attrs.length>0){this._err(tp.endTagWithAttributes)}if(e.selfClosing){this._err(tp.endTagWithTrailingSolidus)}this.handler.onEndTag(e)}this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e);this.handler.onComment(e);this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e);this.handler.onDoctype(e);this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){if(e&&this.currentCharacterToken.location){this.currentCharacterToken.location.endLine=e.startLine;this.currentCharacterToken.location.endCol=e.startCol;this.currentCharacterToken.location.endOffset=e.startOffset}switch(this.currentCharacterToken.type){case ip.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ip.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ip.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);if(e){e.endLine=e.startLine;e.endCol=e.startCol;e.endOffset=e.startOffset}this._emitCurrentCharacterToken(e);this.handler.onEof({type:ip.EOF,location:e});this.active=false}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e){this.currentLocation=this.getCurrentLocation(0);this._emitCurrentCharacterToken(this.currentLocation);this.preprocessor.dropParsedChunk()}else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Dp(e)?ip.WHITESPACE_CHARACTER:e===Wd.NULL?ip.NULL_CHARACTER:ip.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(ip.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null;let n=0;let i=false;for(let o=0,l=r[0];o>=0;e=this._consume()){o=y(r,l,o+1,e);if(o<0)break;n+=1;l=r[o];const s=l&c.VALUE_LENGTH;if(s){const l=(s>>14)-1;if(e!==Wd.SEMICOLON&&this._isCharacterReferenceInAttribute()&&Rp(this.preprocessor.peek(1))){t=[Wd.AMPERSAND];o+=l}else{t=l===0?[r[o]&~c.VALUE_LENGTH]:l===1?[r[++o]]:[r[++o],r[++o]];n=0;i=e!==Wd.SEMICOLON}if(l===0){this._consume();break}}}this._unconsume(n);if(i&&!this.preprocessor.endOfChunkHit){this._err(tp.missingSemicolonAfterCharacterReference)}this._unconsume(1);return t}_isCharacterReferenceInAttribute(){return this.returnState===bp.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===bp.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===bp.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){if(this._isCharacterReferenceInAttribute()){this.currentAttr.value+=String.fromCodePoint(e)}else{this._emitCodePoint(e)}}_callState(e){switch(this.state){case bp.DATA:{this._stateData(e);break}case bp.RCDATA:{this._stateRcdata(e);break}case bp.RAWTEXT:{this._stateRawtext(e);break}case bp.SCRIPT_DATA:{this._stateScriptData(e);break}case bp.PLAINTEXT:{this._statePlaintext(e);break}case bp.TAG_OPEN:{this._stateTagOpen(e);break}case bp.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case bp.TAG_NAME:{this._stateTagName(e);break}case bp.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case bp.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case bp.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case bp.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case bp.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case bp.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case bp.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case bp.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case bp.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case bp.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case bp.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case bp.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case bp.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case bp.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case bp.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case bp.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case bp.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case bp.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case bp.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case bp.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case bp.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case bp.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case bp.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case bp.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case bp.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case bp.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case bp.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case bp.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case bp.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case bp.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case bp.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case bp.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case bp.BOGUS_COMMENT:{this._stateBogusComment(e);break}case bp.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case bp.COMMENT_START:{this._stateCommentStart(e);break}case bp.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case bp.COMMENT:{this._stateComment(e);break}case bp.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case bp.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case bp.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case bp.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case bp.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case bp.COMMENT_END:{this._stateCommentEnd(e);break}case bp.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case bp.DOCTYPE:{this._stateDoctype(e);break}case bp.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case bp.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case bp.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case bp.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case bp.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case bp.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case bp.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case bp.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case bp.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case bp.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case bp.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case bp.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case bp.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case bp.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case bp.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case bp.CDATA_SECTION:{this._stateCdataSection(e);break}case bp.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case bp.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case bp.CHARACTER_REFERENCE:{this._stateCharacterReference(e);break}case bp.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(e);break}case bp.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}case bp.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(e);break}case bp.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(e);break}case bp.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(e);break}case bp.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(e);break}case bp.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(e);break}default:{throw new Error("Unknown state")}}}_stateData(e){switch(e){case Wd.LESS_THAN_SIGN:{this.state=bp.TAG_OPEN;break}case Wd.AMPERSAND:{this.returnState=bp.DATA;this.state=bp.CHARACTER_REFERENCE;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this._emitCodePoint(e);break}case Wd.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateRcdata(e){switch(e){case Wd.AMPERSAND:{this.returnState=bp.RCDATA;this.state=bp.CHARACTER_REFERENCE;break}case Wd.LESS_THAN_SIGN:{this.state=bp.RCDATA_LESS_THAN_SIGN;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this._emitChars(Yd);break}case Wd.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateRawtext(e){switch(e){case Wd.LESS_THAN_SIGN:{this.state=bp.RAWTEXT_LESS_THAN_SIGN;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this._emitChars(Yd);break}case Wd.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateScriptData(e){switch(e){case Wd.LESS_THAN_SIGN:{this.state=bp.SCRIPT_DATA_LESS_THAN_SIGN;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this._emitChars(Yd);break}case Wd.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_statePlaintext(e){switch(e){case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this._emitChars(Yd);break}case Wd.EOF:{this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateTagOpen(e){if(Ep(e)){this._createStartTagToken();this.state=bp.TAG_NAME;this._stateTagName(e)}else switch(e){case Wd.EXCLAMATION_MARK:{this.state=bp.MARKUP_DECLARATION_OPEN;break}case Wd.SOLIDUS:{this.state=bp.END_TAG_OPEN;break}case Wd.QUESTION_MARK:{this._err(tp.unexpectedQuestionMarkInsteadOfTagName);this._createCommentToken(1);this.state=bp.BOGUS_COMMENT;this._stateBogusComment(e);break}case Wd.EOF:{this._err(tp.eofBeforeTagName);this._emitChars("<");this._emitEOFToken();break}default:{this._err(tp.invalidFirstCharacterOfTagName);this._emitChars("<");this.state=bp.DATA;this._stateData(e)}}}_stateEndTagOpen(e){if(Ep(e)){this._createEndTagToken();this.state=bp.TAG_NAME;this._stateTagName(e)}else switch(e){case Wd.GREATER_THAN_SIGN:{this._err(tp.missingEndTagName);this.state=bp.DATA;break}case Wd.EOF:{this._err(tp.eofBeforeTagName);this._emitChars("</");this._emitEOFToken();break}default:{this._err(tp.invalidFirstCharacterOfTagName);this._createCommentToken(2);this.state=bp.BOGUS_COMMENT;this._stateBogusComment(e)}}}_stateTagName(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{this.state=bp.BEFORE_ATTRIBUTE_NAME;break}case Wd.SOLIDUS:{this.state=bp.SELF_CLOSING_START_TAG;break}case Wd.GREATER_THAN_SIGN:{this.state=bp.DATA;this.emitCurrentTagToken();break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);t.tagName+=Yd;break}case Wd.EOF:{this._err(tp.eofInTag);this._emitEOFToken();break}default:{t.tagName+=String.fromCodePoint(wp(e)?Cp(e):e)}}}_stateRcdataLessThanSign(e){if(e===Wd.SOLIDUS){this.state=bp.RCDATA_END_TAG_OPEN}else{this._emitChars("<");this.state=bp.RCDATA;this._stateRcdata(e)}}_stateRcdataEndTagOpen(e){if(Ep(e)){this.state=bp.RCDATA_END_TAG_NAME;this._stateRcdataEndTagName(e)}else{this._emitChars("</");this.state=bp.RCDATA;this._stateRcdata(e)}}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,false)){return!this._ensureHibernation()}this._createEndTagToken();const t=this.currentToken;t.tagName=this.lastStartTagName;const n=this.preprocessor.peek(this.lastStartTagName.length);switch(n){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{this._advanceBy(this.lastStartTagName.length);this.state=bp.BEFORE_ATTRIBUTE_NAME;return false}case Wd.SOLIDUS:{this._advanceBy(this.lastStartTagName.length);this.state=bp.SELF_CLOSING_START_TAG;return false}case Wd.GREATER_THAN_SIGN:{this._advanceBy(this.lastStartTagName.length);this.emitCurrentTagToken();this.state=bp.DATA;return false}default:{return!this._ensureHibernation()}}}_stateRcdataEndTagName(e){if(this.handleSpecialEndTag(e)){this._emitChars("</");this.state=bp.RCDATA;this._stateRcdata(e)}}_stateRawtextLessThanSign(e){if(e===Wd.SOLIDUS){this.state=bp.RAWTEXT_END_TAG_OPEN}else{this._emitChars("<");this.state=bp.RAWTEXT;this._stateRawtext(e)}}_stateRawtextEndTagOpen(e){if(Ep(e)){this.state=bp.RAWTEXT_END_TAG_NAME;this._stateRawtextEndTagName(e)}else{this._emitChars("</");this.state=bp.RAWTEXT;this._stateRawtext(e)}}_stateRawtextEndTagName(e){if(this.handleSpecialEndTag(e)){this._emitChars("</");this.state=bp.RAWTEXT;this._stateRawtext(e)}}_stateScriptDataLessThanSign(e){switch(e){case Wd.SOLIDUS:{this.state=bp.SCRIPT_DATA_END_TAG_OPEN;break}case Wd.EXCLAMATION_MARK:{this.state=bp.SCRIPT_DATA_ESCAPE_START;this._emitChars("<!");break}default:{this._emitChars("<");this.state=bp.SCRIPT_DATA;this._stateScriptData(e)}}}_stateScriptDataEndTagOpen(e){if(Ep(e)){this.state=bp.SCRIPT_DATA_END_TAG_NAME;this._stateScriptDataEndTagName(e)}else{this._emitChars("</");this.state=bp.SCRIPT_DATA;this._stateScriptData(e)}}_stateScriptDataEndTagName(e){if(this.handleSpecialEndTag(e)){this._emitChars("</");this.state=bp.SCRIPT_DATA;this._stateScriptData(e)}}_stateScriptDataEscapeStart(e){if(e===Wd.HYPHEN_MINUS){this.state=bp.SCRIPT_DATA_ESCAPE_START_DASH;this._emitChars("-")}else{this.state=bp.SCRIPT_DATA;this._stateScriptData(e)}}_stateScriptDataEscapeStartDash(e){if(e===Wd.HYPHEN_MINUS){this.state=bp.SCRIPT_DATA_ESCAPED_DASH_DASH;this._emitChars("-")}else{this.state=bp.SCRIPT_DATA;this._stateScriptData(e)}}_stateScriptDataEscaped(e){switch(e){case Wd.HYPHEN_MINUS:{this.state=bp.SCRIPT_DATA_ESCAPED_DASH;this._emitChars("-");break}case Wd.LESS_THAN_SIGN:{this.state=bp.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this._emitChars(Yd);break}case Wd.EOF:{this._err(tp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateScriptDataEscapedDash(e){switch(e){case Wd.HYPHEN_MINUS:{this.state=bp.SCRIPT_DATA_ESCAPED_DASH_DASH;this._emitChars("-");break}case Wd.LESS_THAN_SIGN:{this.state=bp.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this.state=bp.SCRIPT_DATA_ESCAPED;this._emitChars(Yd);break}case Wd.EOF:{this._err(tp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this.state=bp.SCRIPT_DATA_ESCAPED;this._emitCodePoint(e)}}}_stateScriptDataEscapedDashDash(e){switch(e){case Wd.HYPHEN_MINUS:{this._emitChars("-");break}case Wd.LESS_THAN_SIGN:{this.state=bp.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Wd.GREATER_THAN_SIGN:{this.state=bp.SCRIPT_DATA;this._emitChars(">");break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this.state=bp.SCRIPT_DATA_ESCAPED;this._emitChars(Yd);break}case Wd.EOF:{this._err(tp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this.state=bp.SCRIPT_DATA_ESCAPED;this._emitCodePoint(e)}}}_stateScriptDataEscapedLessThanSign(e){if(e===Wd.SOLIDUS){this.state=bp.SCRIPT_DATA_ESCAPED_END_TAG_OPEN}else if(Ep(e)){this._emitChars("<");this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPE_START;this._stateScriptDataDoubleEscapeStart(e)}else{this._emitChars("<");this.state=bp.SCRIPT_DATA_ESCAPED;this._stateScriptDataEscaped(e)}}_stateScriptDataEscapedEndTagOpen(e){if(Ep(e)){this.state=bp.SCRIPT_DATA_ESCAPED_END_TAG_NAME;this._stateScriptDataEscapedEndTagName(e)}else{this._emitChars("</");this.state=bp.SCRIPT_DATA_ESCAPED;this._stateScriptDataEscaped(e)}}_stateScriptDataEscapedEndTagName(e){if(this.handleSpecialEndTag(e)){this._emitChars("</");this.state=bp.SCRIPT_DATA_ESCAPED;this._stateScriptDataEscaped(e)}}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(Xd.SCRIPT,false)&&Lp(this.preprocessor.peek(Xd.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<Xd.SCRIPT.length;e++){this._emitCodePoint(this._consume())}this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED}else if(!this._ensureHibernation()){this.state=bp.SCRIPT_DATA_ESCAPED;this._stateScriptDataEscaped(e)}}_stateScriptDataDoubleEscaped(e){switch(e){case Wd.HYPHEN_MINUS:{this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED_DASH;this._emitChars("-");break}case Wd.LESS_THAN_SIGN:{this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;this._emitChars("<");break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this._emitChars(Yd);break}case Wd.EOF:{this._err(tp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateScriptDataDoubleEscapedDash(e){switch(e){case Wd.HYPHEN_MINUS:{this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH;this._emitChars("-");break}case Wd.LESS_THAN_SIGN:{this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;this._emitChars("<");break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED;this._emitChars(Yd);break}case Wd.EOF:{this._err(tp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED;this._emitCodePoint(e)}}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case Wd.HYPHEN_MINUS:{this._emitChars("-");break}case Wd.LESS_THAN_SIGN:{this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN;this._emitChars("<");break}case Wd.GREATER_THAN_SIGN:{this.state=bp.SCRIPT_DATA;this._emitChars(">");break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED;this._emitChars(Yd);break}case Wd.EOF:{this._err(tp.eofInScriptHtmlCommentLikeText);this._emitEOFToken();break}default:{this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED;this._emitCodePoint(e)}}}_stateScriptDataDoubleEscapedLessThanSign(e){if(e===Wd.SOLIDUS){this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPE_END;this._emitChars("/")}else{this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED;this._stateScriptDataDoubleEscaped(e)}}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Xd.SCRIPT,false)&&Lp(this.preprocessor.peek(Xd.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<Xd.SCRIPT.length;e++){this._emitCodePoint(this._consume())}this.state=bp.SCRIPT_DATA_ESCAPED}else if(!this._ensureHibernation()){this.state=bp.SCRIPT_DATA_DOUBLE_ESCAPED;this._stateScriptDataDoubleEscaped(e)}}_stateBeforeAttributeName(e){switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{break}case Wd.SOLIDUS:case Wd.GREATER_THAN_SIGN:case Wd.EOF:{this.state=bp.AFTER_ATTRIBUTE_NAME;this._stateAfterAttributeName(e);break}case Wd.EQUALS_SIGN:{this._err(tp.unexpectedEqualsSignBeforeAttributeName);this._createAttr("=");this.state=bp.ATTRIBUTE_NAME;break}default:{this._createAttr("");this.state=bp.ATTRIBUTE_NAME;this._stateAttributeName(e)}}}_stateAttributeName(e){switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:case Wd.SOLIDUS:case Wd.GREATER_THAN_SIGN:case Wd.EOF:{this._leaveAttrName();this.state=bp.AFTER_ATTRIBUTE_NAME;this._stateAfterAttributeName(e);break}case Wd.EQUALS_SIGN:{this._leaveAttrName();this.state=bp.BEFORE_ATTRIBUTE_VALUE;break}case Wd.QUOTATION_MARK:case Wd.APOSTROPHE:case Wd.LESS_THAN_SIGN:{this._err(tp.unexpectedCharacterInAttributeName);this.currentAttr.name+=String.fromCodePoint(e);break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this.currentAttr.name+=Yd;break}default:{this.currentAttr.name+=String.fromCodePoint(wp(e)?Cp(e):e)}}}_stateAfterAttributeName(e){switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{break}case Wd.SOLIDUS:{this.state=bp.SELF_CLOSING_START_TAG;break}case Wd.EQUALS_SIGN:{this.state=bp.BEFORE_ATTRIBUTE_VALUE;break}case Wd.GREATER_THAN_SIGN:{this.state=bp.DATA;this.emitCurrentTagToken();break}case Wd.EOF:{this._err(tp.eofInTag);this._emitEOFToken();break}default:{this._createAttr("");this.state=bp.ATTRIBUTE_NAME;this._stateAttributeName(e)}}}_stateBeforeAttributeValue(e){switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{break}case Wd.QUOTATION_MARK:{this.state=bp.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Wd.APOSTROPHE:{this.state=bp.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.missingAttributeValue);this.state=bp.DATA;this.emitCurrentTagToken();break}default:{this.state=bp.ATTRIBUTE_VALUE_UNQUOTED;this._stateAttributeValueUnquoted(e)}}}_stateAttributeValueDoubleQuoted(e){switch(e){case Wd.QUOTATION_MARK:{this.state=bp.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Wd.AMPERSAND:{this.returnState=bp.ATTRIBUTE_VALUE_DOUBLE_QUOTED;this.state=bp.CHARACTER_REFERENCE;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this.currentAttr.value+=Yd;break}case Wd.EOF:{this._err(tp.eofInTag);this._emitEOFToken();break}default:{this.currentAttr.value+=String.fromCodePoint(e)}}}_stateAttributeValueSingleQuoted(e){switch(e){case Wd.APOSTROPHE:{this.state=bp.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Wd.AMPERSAND:{this.returnState=bp.ATTRIBUTE_VALUE_SINGLE_QUOTED;this.state=bp.CHARACTER_REFERENCE;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this.currentAttr.value+=Yd;break}case Wd.EOF:{this._err(tp.eofInTag);this._emitEOFToken();break}default:{this.currentAttr.value+=String.fromCodePoint(e)}}}_stateAttributeValueUnquoted(e){switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{this._leaveAttrValue();this.state=bp.BEFORE_ATTRIBUTE_NAME;break}case Wd.AMPERSAND:{this.returnState=bp.ATTRIBUTE_VALUE_UNQUOTED;this.state=bp.CHARACTER_REFERENCE;break}case Wd.GREATER_THAN_SIGN:{this._leaveAttrValue();this.state=bp.DATA;this.emitCurrentTagToken();break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this.currentAttr.value+=Yd;break}case Wd.QUOTATION_MARK:case Wd.APOSTROPHE:case Wd.LESS_THAN_SIGN:case Wd.EQUALS_SIGN:case Wd.GRAVE_ACCENT:{this._err(tp.unexpectedCharacterInUnquotedAttributeValue);this.currentAttr.value+=String.fromCodePoint(e);break}case Wd.EOF:{this._err(tp.eofInTag);this._emitEOFToken();break}default:{this.currentAttr.value+=String.fromCodePoint(e)}}}_stateAfterAttributeValueQuoted(e){switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{this._leaveAttrValue();this.state=bp.BEFORE_ATTRIBUTE_NAME;break}case Wd.SOLIDUS:{this._leaveAttrValue();this.state=bp.SELF_CLOSING_START_TAG;break}case Wd.GREATER_THAN_SIGN:{this._leaveAttrValue();this.state=bp.DATA;this.emitCurrentTagToken();break}case Wd.EOF:{this._err(tp.eofInTag);this._emitEOFToken();break}default:{this._err(tp.missingWhitespaceBetweenAttributes);this.state=bp.BEFORE_ATTRIBUTE_NAME;this._stateBeforeAttributeName(e)}}}_stateSelfClosingStartTag(e){switch(e){case Wd.GREATER_THAN_SIGN:{const e=this.currentToken;e.selfClosing=true;this.state=bp.DATA;this.emitCurrentTagToken();break}case Wd.EOF:{this._err(tp.eofInTag);this._emitEOFToken();break}default:{this._err(tp.unexpectedSolidusInTag);this.state=bp.BEFORE_ATTRIBUTE_NAME;this._stateBeforeAttributeName(e)}}}_stateBogusComment(e){const t=this.currentToken;switch(e){case Wd.GREATER_THAN_SIGN:{this.state=bp.DATA;this.emitCurrentComment(t);break}case Wd.EOF:{this.emitCurrentComment(t);this._emitEOFToken();break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);t.data+=Yd;break}default:{t.data+=String.fromCodePoint(e)}}}_stateMarkupDeclarationOpen(e){if(this._consumeSequenceIfMatch(Xd.DASH_DASH,true)){this._createCommentToken(Xd.DASH_DASH.length+1);this.state=bp.COMMENT_START}else if(this._consumeSequenceIfMatch(Xd.DOCTYPE,false)){this.currentLocation=this.getCurrentLocation(Xd.DOCTYPE.length+1);this.state=bp.DOCTYPE}else if(this._consumeSequenceIfMatch(Xd.CDATA_START,true)){if(this.inForeignNode){this.state=bp.CDATA_SECTION}else{this._err(tp.cdataInHtmlContent);this._createCommentToken(Xd.CDATA_START.length+1);this.currentToken.data="[CDATA[";this.state=bp.BOGUS_COMMENT}}else if(!this._ensureHibernation()){this._err(tp.incorrectlyOpenedComment);this._createCommentToken(2);this.state=bp.BOGUS_COMMENT;this._stateBogusComment(e)}}_stateCommentStart(e){switch(e){case Wd.HYPHEN_MINUS:{this.state=bp.COMMENT_START_DASH;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.abruptClosingOfEmptyComment);this.state=bp.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:{this.state=bp.COMMENT;this._stateComment(e)}}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case Wd.HYPHEN_MINUS:{this.state=bp.COMMENT_END;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.abruptClosingOfEmptyComment);this.state=bp.DATA;this.emitCurrentComment(t);break}case Wd.EOF:{this._err(tp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+="-";this.state=bp.COMMENT;this._stateComment(e)}}}_stateComment(e){const t=this.currentToken;switch(e){case Wd.HYPHEN_MINUS:{this.state=bp.COMMENT_END_DASH;break}case Wd.LESS_THAN_SIGN:{t.data+="<";this.state=bp.COMMENT_LESS_THAN_SIGN;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);t.data+=Yd;break}case Wd.EOF:{this._err(tp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+=String.fromCodePoint(e)}}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case Wd.EXCLAMATION_MARK:{t.data+="!";this.state=bp.COMMENT_LESS_THAN_SIGN_BANG;break}case Wd.LESS_THAN_SIGN:{t.data+="<";break}default:{this.state=bp.COMMENT;this._stateComment(e)}}}_stateCommentLessThanSignBang(e){if(e===Wd.HYPHEN_MINUS){this.state=bp.COMMENT_LESS_THAN_SIGN_BANG_DASH}else{this.state=bp.COMMENT;this._stateComment(e)}}_stateCommentLessThanSignBangDash(e){if(e===Wd.HYPHEN_MINUS){this.state=bp.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH}else{this.state=bp.COMMENT_END_DASH;this._stateCommentEndDash(e)}}_stateCommentLessThanSignBangDashDash(e){if(e!==Wd.GREATER_THAN_SIGN&&e!==Wd.EOF){this._err(tp.nestedComment)}this.state=bp.COMMENT_END;this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case Wd.HYPHEN_MINUS:{this.state=bp.COMMENT_END;break}case Wd.EOF:{this._err(tp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+="-";this.state=bp.COMMENT;this._stateComment(e)}}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case Wd.GREATER_THAN_SIGN:{this.state=bp.DATA;this.emitCurrentComment(t);break}case Wd.EXCLAMATION_MARK:{this.state=bp.COMMENT_END_BANG;break}case Wd.HYPHEN_MINUS:{t.data+="-";break}case Wd.EOF:{this._err(tp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+="--";this.state=bp.COMMENT;this._stateComment(e)}}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case Wd.HYPHEN_MINUS:{t.data+="--!";this.state=bp.COMMENT_END_DASH;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.incorrectlyClosedComment);this.state=bp.DATA;this.emitCurrentComment(t);break}case Wd.EOF:{this._err(tp.eofInComment);this.emitCurrentComment(t);this._emitEOFToken();break}default:{t.data+="--!";this.state=bp.COMMENT;this._stateComment(e)}}}_stateDoctype(e){switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{this.state=bp.BEFORE_DOCTYPE_NAME;break}case Wd.GREATER_THAN_SIGN:{this.state=bp.BEFORE_DOCTYPE_NAME;this._stateBeforeDoctypeName(e);break}case Wd.EOF:{this._err(tp.eofInDoctype);this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=true;this.emitCurrentDoctype(e);this._emitEOFToken();break}default:{this._err(tp.missingWhitespaceBeforeDoctypeName);this.state=bp.BEFORE_DOCTYPE_NAME;this._stateBeforeDoctypeName(e)}}}_stateBeforeDoctypeName(e){if(wp(e)){this._createDoctypeToken(String.fromCharCode(Cp(e)));this.state=bp.DOCTYPE_NAME}else switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);this._createDoctypeToken(Yd);this.state=bp.DOCTYPE_NAME;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.missingDoctypeName);this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=true;this.emitCurrentDoctype(e);this.state=bp.DATA;break}case Wd.EOF:{this._err(tp.eofInDoctype);this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=true;this.emitCurrentDoctype(e);this._emitEOFToken();break}default:{this._createDoctypeToken(String.fromCodePoint(e));this.state=bp.DOCTYPE_NAME}}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{this.state=bp.AFTER_DOCTYPE_NAME;break}case Wd.GREATER_THAN_SIGN:{this.state=bp.DATA;this.emitCurrentDoctype(t);break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);t.name+=Yd;break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.name+=String.fromCodePoint(wp(e)?Cp(e):e)}}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{break}case Wd.GREATER_THAN_SIGN:{this.state=bp.DATA;this.emitCurrentDoctype(t);break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{if(this._consumeSequenceIfMatch(Xd.PUBLIC,false)){this.state=bp.AFTER_DOCTYPE_PUBLIC_KEYWORD}else if(this._consumeSequenceIfMatch(Xd.SYSTEM,false)){this.state=bp.AFTER_DOCTYPE_SYSTEM_KEYWORD}else if(!this._ensureHibernation()){this._err(tp.invalidCharacterSequenceAfterDoctypeName);t.forceQuirks=true;this.state=bp.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{this.state=bp.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Wd.QUOTATION_MARK:{this._err(tp.missingWhitespaceAfterDoctypePublicKeyword);t.publicId="";this.state=bp.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Wd.APOSTROPHE:{this._err(tp.missingWhitespaceAfterDoctypePublicKeyword);t.publicId="";this.state=bp.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.missingDoctypePublicIdentifier);t.forceQuirks=true;this.state=bp.DATA;this.emitCurrentDoctype(t);break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(tp.missingQuoteBeforeDoctypePublicIdentifier);t.forceQuirks=true;this.state=bp.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{break}case Wd.QUOTATION_MARK:{t.publicId="";this.state=bp.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Wd.APOSTROPHE:{t.publicId="";this.state=bp.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.missingDoctypePublicIdentifier);t.forceQuirks=true;this.state=bp.DATA;this.emitCurrentDoctype(t);break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(tp.missingQuoteBeforeDoctypePublicIdentifier);t.forceQuirks=true;this.state=bp.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case Wd.QUOTATION_MARK:{this.state=bp.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);t.publicId+=Yd;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.abruptDoctypePublicIdentifier);t.forceQuirks=true;this.emitCurrentDoctype(t);this.state=bp.DATA;break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.publicId+=String.fromCodePoint(e)}}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case Wd.APOSTROPHE:{this.state=bp.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);t.publicId+=Yd;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.abruptDoctypePublicIdentifier);t.forceQuirks=true;this.emitCurrentDoctype(t);this.state=bp.DATA;break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.publicId+=String.fromCodePoint(e)}}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{this.state=bp.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Wd.GREATER_THAN_SIGN:{this.state=bp.DATA;this.emitCurrentDoctype(t);break}case Wd.QUOTATION_MARK:{this._err(tp.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);t.systemId="";this.state=bp.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Wd.APOSTROPHE:{this._err(tp.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);t.systemId="";this.state=bp.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(tp.missingQuoteBeforeDoctypeSystemIdentifier);t.forceQuirks=true;this.state=bp.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{break}case Wd.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t);this.state=bp.DATA;break}case Wd.QUOTATION_MARK:{t.systemId="";this.state=bp.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Wd.APOSTROPHE:{t.systemId="";this.state=bp.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(tp.missingQuoteBeforeDoctypeSystemIdentifier);t.forceQuirks=true;this.state=bp.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{this.state=bp.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Wd.QUOTATION_MARK:{this._err(tp.missingWhitespaceAfterDoctypeSystemKeyword);t.systemId="";this.state=bp.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Wd.APOSTROPHE:{this._err(tp.missingWhitespaceAfterDoctypeSystemKeyword);t.systemId="";this.state=bp.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.missingDoctypeSystemIdentifier);t.forceQuirks=true;this.state=bp.DATA;this.emitCurrentDoctype(t);break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(tp.missingQuoteBeforeDoctypeSystemIdentifier);t.forceQuirks=true;this.state=bp.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{break}case Wd.QUOTATION_MARK:{t.systemId="";this.state=bp.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Wd.APOSTROPHE:{t.systemId="";this.state=bp.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.missingDoctypeSystemIdentifier);t.forceQuirks=true;this.state=bp.DATA;this.emitCurrentDoctype(t);break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(tp.missingQuoteBeforeDoctypeSystemIdentifier);t.forceQuirks=true;this.state=bp.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case Wd.QUOTATION_MARK:{this.state=bp.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);t.systemId+=Yd;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.abruptDoctypeSystemIdentifier);t.forceQuirks=true;this.emitCurrentDoctype(t);this.state=bp.DATA;break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.systemId+=String.fromCodePoint(e)}}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case Wd.APOSTROPHE:{this.state=bp.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);t.systemId+=Yd;break}case Wd.GREATER_THAN_SIGN:{this._err(tp.abruptDoctypeSystemIdentifier);t.forceQuirks=true;this.emitCurrentDoctype(t);this.state=bp.DATA;break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{t.systemId+=String.fromCodePoint(e)}}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case Wd.SPACE:case Wd.LINE_FEED:case Wd.TABULATION:case Wd.FORM_FEED:{break}case Wd.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t);this.state=bp.DATA;break}case Wd.EOF:{this._err(tp.eofInDoctype);t.forceQuirks=true;this.emitCurrentDoctype(t);this._emitEOFToken();break}default:{this._err(tp.unexpectedCharacterAfterDoctypeSystemIdentifier);this.state=bp.BOGUS_DOCTYPE;this._stateBogusDoctype(e)}}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case Wd.GREATER_THAN_SIGN:{this.emitCurrentDoctype(t);this.state=bp.DATA;break}case Wd.NULL:{this._err(tp.unexpectedNullCharacter);break}case Wd.EOF:{this.emitCurrentDoctype(t);this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case Wd.RIGHT_SQUARE_BRACKET:{this.state=bp.CDATA_SECTION_BRACKET;break}case Wd.EOF:{this._err(tp.eofInCdata);this._emitEOFToken();break}default:{this._emitCodePoint(e)}}}_stateCdataSectionBracket(e){if(e===Wd.RIGHT_SQUARE_BRACKET){this.state=bp.CDATA_SECTION_END}else{this._emitChars("]");this.state=bp.CDATA_SECTION;this._stateCdataSection(e)}}_stateCdataSectionEnd(e){switch(e){case Wd.GREATER_THAN_SIGN:{this.state=bp.DATA;break}case Wd.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:{this._emitChars("]]");this.state=bp.CDATA_SECTION;this._stateCdataSection(e)}}}_stateCharacterReference(e){if(e===Wd.NUMBER_SIGN){this.state=bp.NUMERIC_CHARACTER_REFERENCE}else if(Sp(e)){this.state=bp.NAMED_CHARACTER_REFERENCE;this._stateNamedCharacterReference(e)}else{this._flushCodePointConsumedAsCharacterReference(Wd.AMPERSAND);this._reconsumeInState(this.returnState,e)}}_stateNamedCharacterReference(e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e<t.length;e++){this._flushCodePointConsumedAsCharacterReference(t[e])}this.state=this.returnState}else{this._flushCodePointConsumedAsCharacterReference(Wd.AMPERSAND);this.state=bp.AMBIGUOUS_AMPERSAND}}_stateAmbiguousAmpersand(e){if(Sp(e)){this._flushCodePointConsumedAsCharacterReference(e)}else{if(e===Wd.SEMICOLON){this._err(tp.unknownNamedCharacterReference)}this._reconsumeInState(this.returnState,e)}}_stateNumericCharacterReference(e){this.charRefCode=0;if(e===Wd.LATIN_SMALL_X||e===Wd.LATIN_CAPITAL_X){this.state=bp.HEXADEMICAL_CHARACTER_REFERENCE_START}else if(yp(e)){this.state=bp.DECIMAL_CHARACTER_REFERENCE;this._stateDecimalCharacterReference(e)}else{this._err(tp.absenceOfDigitsInNumericCharacterReference);this._flushCodePointConsumedAsCharacterReference(Wd.AMPERSAND);this._flushCodePointConsumedAsCharacterReference(Wd.NUMBER_SIGN);this._reconsumeInState(this.returnState,e)}}_stateHexademicalCharacterReferenceStart(e){if(Ap(e)){this.state=bp.HEXADEMICAL_CHARACTER_REFERENCE;this._stateHexademicalCharacterReference(e)}else{this._err(tp.absenceOfDigitsInNumericCharacterReference);this._flushCodePointConsumedAsCharacterReference(Wd.AMPERSAND);this._flushCodePointConsumedAsCharacterReference(Wd.NUMBER_SIGN);this._unconsume(2);this.state=this.returnState}}_stateHexademicalCharacterReference(e){if(xp(e)){this.charRefCode=this.charRefCode*16+e-55}else if(Tp(e)){this.charRefCode=this.charRefCode*16+e-87}else if(yp(e)){this.charRefCode=this.charRefCode*16+e-48}else if(e===Wd.SEMICOLON){this.state=bp.NUMERIC_CHARACTER_REFERENCE_END}else{this._err(tp.missingSemicolonAfterCharacterReference);this.state=bp.NUMERIC_CHARACTER_REFERENCE_END;this._stateNumericCharacterReferenceEnd(e)}}_stateDecimalCharacterReference(e){if(yp(e)){this.charRefCode=this.charRefCode*10+e-48}else if(e===Wd.SEMICOLON){this.state=bp.NUMERIC_CHARACTER_REFERENCE_END}else{this._err(tp.missingSemicolonAfterCharacterReference);this.state=bp.NUMERIC_CHARACTER_REFERENCE_END;this._stateNumericCharacterReferenceEnd(e)}}_stateNumericCharacterReferenceEnd(e){if(this.charRefCode===Wd.NULL){this._err(tp.nullCharacterReference);this.charRefCode=Wd.REPLACEMENT_CHARACTER}else if(this.charRefCode>1114111){this._err(tp.characterReferenceOutsideUnicodeRange);this.charRefCode=Wd.REPLACEMENT_CHARACTER}else if(Kd(this.charRefCode)){this._err(tp.surrogateCharacterReference);this.charRefCode=Wd.REPLACEMENT_CHARACTER}else if(ep(this.charRefCode)){this._err(tp.noncharacterCharacterReference)}else if(Jd(this.charRefCode)||this.charRefCode===Wd.CARRIAGE_RETURN){this._err(tp.controlCharacterReference);const e=mp.get(this.charRefCode);if(e!==undefined){this.charRefCode=e}}this._flushCodePointConsumedAsCharacterReference(this.charRefCode);this._reconsumeInState(this.returnState,e)}}const _p=new Set([cp.DD,cp.DT,cp.LI,cp.OPTGROUP,cp.OPTION,cp.P,cp.RB,cp.RP,cp.RT,cp.RTC]);const Pp=new Set([..._p,cp.CAPTION,cp.COLGROUP,cp.TBODY,cp.TD,cp.TFOOT,cp.TH,cp.THEAD,cp.TR]);const Mp=new Map([[cp.APPLET,lp.HTML],[cp.CAPTION,lp.HTML],[cp.HTML,lp.HTML],[cp.MARQUEE,lp.HTML],[cp.OBJECT,lp.HTML],[cp.TABLE,lp.HTML],[cp.TD,lp.HTML],[cp.TEMPLATE,lp.HTML],[cp.TH,lp.HTML],[cp.ANNOTATION_XML,lp.MATHML],[cp.MI,lp.MATHML],[cp.MN,lp.MATHML],[cp.MO,lp.MATHML],[cp.MS,lp.MATHML],[cp.MTEXT,lp.MATHML],[cp.DESC,lp.SVG],[cp.FOREIGN_OBJECT,lp.SVG],[cp.TITLE,lp.SVG]]);const Np=[cp.H1,cp.H2,cp.H3,cp.H4,cp.H5,cp.H6];const Ip=[cp.TR,cp.TEMPLATE,cp.HTML];const qp=[cp.TBODY,cp.TFOOT,cp.THEAD,cp.TEMPLATE,cp.HTML];const Bp=[cp.TABLE,cp.TEMPLATE,cp.HTML];const Fp=[cp.TD,cp.TH];class Up{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t;this.handler=n;this.items=[];this.tagIDs=[];this.stackTop=-1;this.tmplCount=0;this.currentTagId=cp.UNKNOWN;this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===cp.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===lp.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop];this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++;this.items[this.stackTop]=e;this.current=e;this.tagIDs[this.stackTop]=t;this.currentTagId=t;if(this._isInTemplate()){this.tmplCount++}this.handler.onItemPush(e,t,true)}pop(){const e=this.current;if(this.tmplCount>0&&this._isInTemplate()){this.tmplCount--}this.stackTop--;this._updateCurrentElement();this.handler.onItemPop(e,true)}replace(e,t){const n=this._indexOf(e);this.items[n]=t;if(n===this.stackTop){this.current=t}}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t);this.tagIDs.splice(r,0,n);this.stackTop++;if(r===this.stackTop){this._updateCurrentElement()}this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==lp.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){while(this.stackTop>=e){const t=this.current;if(this.tmplCount>0&&this._isInTemplate()){this.tmplCount-=1}this.stackTop--;this._updateCurrentElement();this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(t<0?0:t)}popUntilPopped(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n<0?0:n)}popUntilNumberedHeaderPopped(){this.popUntilPopped(Np,lp.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Fp,lp.HTML)}popAllUpToHtmlElement(){this.tmplCount=0;this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--){if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t){return n}}return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Bp,lp.HTML)}clearBackToTableBodyContext(){this.clearBackTo(qp,lp.HTML)}clearBackToTableRowContext(){this.clearBackTo(Ip,lp.HTML)}remove(e){const t=this._indexOf(e);if(t>=0){if(t===this.stackTop){this.pop()}else{this.items.splice(t,1);this.tagIDs.splice(t,1);this.stackTop--;this._updateCurrentElement();this.handler.onItemPop(e,false)}}}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===cp.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===cp.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===lp.HTML){return true}if(Mp.get(n)===r){return false}}return true}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];const n=this.treeAdapter.getNamespaceURI(this.items[e]);if(gp(t)&&n===lp.HTML){return true}if(Mp.get(t)===n){return false}}return true}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===lp.HTML){return true}if((n===cp.UL||n===cp.OL)&&r===lp.HTML||Mp.get(n)===r){return false}}return true}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===lp.HTML){return true}if(n===cp.BUTTON&&r===lp.HTML||Mp.get(n)===r){return false}}return true}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r!==lp.HTML){continue}if(n===e){return true}if(n===cp.TABLE||n===cp.TEMPLATE||n===cp.HTML){return false}}return true}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];const n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n!==lp.HTML){continue}if(t===cp.TBODY||t===cp.THEAD||t===cp.TFOOT){return true}if(t===cp.TABLE||t===cp.HTML){return false}}return true}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];const r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r!==lp.HTML){continue}if(n===e){return true}if(n!==cp.OPTION&&n!==cp.OPTGROUP){return false}}return true}generateImpliedEndTags(){while(_p.has(this.currentTagId)){this.pop()}}generateImpliedEndTagsThoroughly(){while(Pp.has(this.currentTagId)){this.pop()}}generateImpliedEndTagsWithExclusion(e){while(this.currentTagId!==e&&Pp.has(this.currentTagId)){this.pop()}}}const Hp=3;var zp;(function(e){e[e["Marker"]=0]="Marker";e[e["Element"]=1]="Element"})(zp=zp||(zp={}));const jp={type:zp.Marker};class Vp{constructor(e){this.treeAdapter=e;this.entries=[];this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[];const r=t.length;const i=this.treeAdapter.getTagName(e);const o=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){const t=this.entries[e];if(t.type===zp.Marker){break}const{element:l}=t;if(this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===o){const t=this.treeAdapter.getAttrList(l);if(t.length===r){n.push({idx:e,attrs:t})}}}return n}_ensureNoahArkCondition(e){if(this.entries.length<Hp)return;const t=this.treeAdapter.getAttrList(e);const n=this._getNoahArkConditionCandidates(e,t);if(n.length<Hp)return;const r=new Map(t.map((e=>[e.name,e.value])));let i=0;for(let e=0;e<n.length;e++){const t=n[e];if(t.attrs.every((e=>r.get(e.name)===e.value))){i+=1;if(i>=Hp){this.entries.splice(t.idx,1)}}}}insertMarker(){this.entries.unshift(jp)}pushElement(e,t){this._ensureNoahArkCondition(e);this.entries.unshift({type:zp.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:zp.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);if(t>=0){this.entries.splice(t,1)}}clearToLastMarker(){const e=this.entries.indexOf(jp);if(e>=0){this.entries.splice(0,e+1)}else{this.entries.length=0}}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===zp.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===zp.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===zp.Element&&t.element===e))}}function Gp(e){return{nodeName:"#text",value:e,parentNode:null}}const $p={createDocument(){return{nodeName:"#document",mode:ap.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t);t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t);t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find((e=>e.nodeName==="#documentType"));if(i){i.name=t;i.publicId=n;i.systemId=r}else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};$p.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1);e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if($p.isTextNode(n)){n.value+=t;return}}$p.appendChild(e,Gp(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];if(r&&$p.isTextNode(r)){r.value+=t}else{$p.insertBefore(e,Gp(t),n)}},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;r<t.length;r++){if(!n.has(t[r].name)){e.attrs.push(t[r])}}},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}};const Yp="html";const Wp="about:legacy-compat";const Xp="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd";const Kp=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"];const Qp=[...Kp,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];const Zp=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]);const Jp=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"];const eg=[...Jp,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function tg(e,t){return t.some((t=>e.startsWith(t)))}function ng(e){return e.name===Yp&&e.publicId===null&&(e.systemId===null||e.systemId===Wp)}function rg(e){if(e.name!==Yp){return ap.QUIRKS}const{systemId:t}=e;if(t&&t.toLowerCase()===Xp){return ap.QUIRKS}let{publicId:n}=e;if(n!==null){n=n.toLowerCase();if(Zp.has(n)){return ap.QUIRKS}let e=t===null?Qp:Kp;if(tg(n,e)){return ap.QUIRKS}e=t===null?Jp:eg;if(tg(n,e)){return ap.LIMITED_QUIRKS}}return ap.NO_QUIRKS}const ig={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"};const og="definitionurl";const lg="definitionURL";const sg=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e])));const ag=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:lp.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:lp.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:lp.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:lp.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:lp.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:lp.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:lp.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:lp.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:lp.XML}],["xml:space",{prefix:"xml",name:"space",namespace:lp.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:lp.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:lp.XMLNS}]]);const ug=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e])));const cg=new Set([cp.B,cp.BIG,cp.BLOCKQUOTE,cp.BODY,cp.BR,cp.CENTER,cp.CODE,cp.DD,cp.DIV,cp.DL,cp.DT,cp.EM,cp.EMBED,cp.H1,cp.H2,cp.H3,cp.H4,cp.H5,cp.H6,cp.HEAD,cp.HR,cp.I,cp.IMG,cp.LI,cp.LISTING,cp.MENU,cp.META,cp.NOBR,cp.OL,cp.P,cp.PRE,cp.RUBY,cp.S,cp.SMALL,cp.SPAN,cp.STRONG,cp.STRIKE,cp.SUB,cp.SUP,cp.TABLE,cp.TT,cp.U,cp.UL,cp.VAR]);function fg(e){const t=e.tagID;const n=t===cp.FONT&&e.attrs.some((({name:e})=>e===sp.COLOR||e===sp.SIZE||e===sp.FACE));return n||cg.has(t)}function hg(e){for(let t=0;t<e.attrs.length;t++){if(e.attrs[t].name===og){e.attrs[t].name=lg;break}}}function dg(e){for(let t=0;t<e.attrs.length;t++){const n=sg.get(e.attrs[t].name);if(n!=null){e.attrs[t].name=n}}}function pg(e){for(let t=0;t<e.attrs.length;t++){const n=ag.get(e.attrs[t].name);if(n){e.attrs[t].prefix=n.prefix;e.attrs[t].name=n.name;e.attrs[t].namespace=n.namespace}}}function gg(e){const t=ug.get(e.tagName);if(t!=null){e.tagName=t;e.tagID=hp(e.tagName)}}function mg(e,t){return t===lp.MATHML&&(e===cp.MI||e===cp.MO||e===cp.MN||e===cp.MS||e===cp.MTEXT)}function bg(e,t,n){if(t===lp.MATHML&&e===cp.ANNOTATION_XML){for(let e=0;e<n.length;e++){if(n[e].name===sp.ENCODING){const t=n[e].value.toLowerCase();return t===ig.TEXT_HTML||t===ig.APPLICATION_XML}}}return t===lp.SVG&&(e===cp.FOREIGN_OBJECT||e===cp.DESC||e===cp.TITLE)}function kg(e,t,n,r){return(!r||r===lp.HTML)&&bg(e,t,n)||(!r||r===lp.MATHML)&&mg(e,t)}const yg="hidden";const wg=8;const vg=3;var Eg;(function(e){e[e["INITIAL"]=0]="INITIAL";e[e["BEFORE_HTML"]=1]="BEFORE_HTML";e[e["BEFORE_HEAD"]=2]="BEFORE_HEAD";e[e["IN_HEAD"]=3]="IN_HEAD";e[e["IN_HEAD_NO_SCRIPT"]=4]="IN_HEAD_NO_SCRIPT";e[e["AFTER_HEAD"]=5]="AFTER_HEAD";e[e["IN_BODY"]=6]="IN_BODY";e[e["TEXT"]=7]="TEXT";e[e["IN_TABLE"]=8]="IN_TABLE";e[e["IN_TABLE_TEXT"]=9]="IN_TABLE_TEXT";e[e["IN_CAPTION"]=10]="IN_CAPTION";e[e["IN_COLUMN_GROUP"]=11]="IN_COLUMN_GROUP";e[e["IN_TABLE_BODY"]=12]="IN_TABLE_BODY";e[e["IN_ROW"]=13]="IN_ROW";e[e["IN_CELL"]=14]="IN_CELL";e[e["IN_SELECT"]=15]="IN_SELECT";e[e["IN_SELECT_IN_TABLE"]=16]="IN_SELECT_IN_TABLE";e[e["IN_TEMPLATE"]=17]="IN_TEMPLATE";e[e["AFTER_BODY"]=18]="AFTER_BODY";e[e["IN_FRAMESET"]=19]="IN_FRAMESET";e[e["AFTER_FRAMESET"]=20]="AFTER_FRAMESET";e[e["AFTER_AFTER_BODY"]=21]="AFTER_AFTER_BODY";e[e["AFTER_AFTER_FRAMESET"]=22]="AFTER_AFTER_FRAMESET"})(Eg||(Eg={}));const Sg={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};const xg=new Set([cp.TABLE,cp.TBODY,cp.TFOOT,cp.THEAD,cp.TR]);const Tg={scriptingEnabled:true,sourceCodeLocationInfo:false,treeAdapter:$p,onParseError:null};class Ag{constructor(e,t,n=null,r=null){this.fragmentContext=n;this.scriptHandler=r;this.currentToken=null;this.stopped=false;this.insertionMode=Eg.INITIAL;this.originalInsertionMode=Eg.INITIAL;this.headElement=null;this.formElement=null;this.currentNotInHTML=false;this.tmplInsertionModeStack=[];this.pendingCharacterTokens=[];this.hasNonWhitespacePendingCharacterToken=false;this.framesetOk=true;this.skipNextNewLine=false;this.fosterParentingEnabled=false;this.options={...Tg,...e};this.treeAdapter=this.options.treeAdapter;this.onParseError=this.options.onParseError;if(this.onParseError){this.options.sourceCodeLocationInfo=true}this.document=t!==null&&t!==void 0?t:this.treeAdapter.createDocument();this.tokenizer=new Op(this.options,this);this.activeFormattingElements=new Vp(this.treeAdapter);this.fragmentContextID=n?hp(this.treeAdapter.getTagName(n)):cp.UNKNOWN;this._setContextModes(n!==null&&n!==void 0?n:this.document,this.fragmentContextID);this.openElements=new Up(this.document,this.treeAdapter,this)}static parse(e,t){const n=new this(t);n.tokenizer.write(e,true);return n.document}static getFragmentParser(e,t){const n={...Tg,...t};e!==null&&e!==void 0?e:e=n.treeAdapter.createElement(up.TEMPLATE,lp.HTML,[]);const r=n.treeAdapter.createElement("documentmock",lp.HTML,[]);const i=new this(n,r,e);if(i.fragmentContextID===cp.TEMPLATE){i.tmplInsertionModeStack.unshift(Eg.IN_TEMPLATE)}i._initTokenizerForFragmentParsing();i._insertFakeRootElement();i._resetInsertionMode();i._findFormInFragmentContext();return i}getFragment(){const e=this.treeAdapter.getFirstChild(this.document);const t=this.treeAdapter.createDocumentFragment();this._adoptNodes(e,t);return t}_err(e,t,n){var r;if(!this.onParseError)return;const i=(r=e.location)!==null&&r!==void 0?r:Sg;const o={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)===null||i===void 0?void 0:i.call(r,e);if(n&&this.openElements.stackTop>0)this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo){this._setEndLocation(e,this.currentToken)}(r=(n=this.treeAdapter).onItemPop)===null||r===void 0?void 0:r.call(n,e,this.openElements.current);if(t){let e;let t;if(this.openElements.stackTop===0&&this.fragmentContext){e=this.fragmentContext;t=this.fragmentContextID}else{({current:e,currentTagId:t}=this.openElements)}this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===lp.HTML;this.currentNotInHTML=!n;this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,lp.HTML);this.tokenizer.state=t;this.originalInsertionMode=this.insertionMode;this.insertionMode=Eg.TEXT}switchToPlaintextParsing(){this.insertionMode=Eg.TEXT;this.originalInsertionMode=Eg.IN_BODY;this.tokenizer.state=kp.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;while(e){if(this.treeAdapter.getTagName(e)===up.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==lp.HTML){return}switch(this.fragmentContextID){case cp.TITLE:case cp.TEXTAREA:{this.tokenizer.state=kp.RCDATA;break}case cp.STYLE:case cp.XMP:case cp.IFRAME:case cp.NOEMBED:case cp.NOFRAMES:case cp.NOSCRIPT:{this.tokenizer.state=kp.RAWTEXT;break}case cp.SCRIPT:{this.tokenizer.state=kp.SCRIPT_DATA;break}case cp.PLAINTEXT:{this.tokenizer.state=kp.PLAINTEXT;break}}}_setDocumentType(e){const t=e.name||"";const n=e.publicId||"";const r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r);if(e.location){const t=this.treeAdapter.getChildNodes(this.document);const n=t.find((e=>this.treeAdapter.isDocumentTypeNode(e)));if(n){this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion()){this._fosterParentElement(e)}else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location);this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,lp.HTML,[]);this._attachElementToTree(n,null);this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,lp.HTML,e.attrs);const n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n);this._attachElementToTree(t,e.location);this.openElements.push(t,e.tagID);if(this.options.sourceCodeLocationInfo)this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(up.HTML,lp.HTML,[]);if(this.options.sourceCodeLocationInfo)this.treeAdapter.setNodeSourceCodeLocation(e,null);this.treeAdapter.appendChild(this.openElements.current,e);this.openElements.push(e,cp.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n);if(this.options.sourceCodeLocationInfo){this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_insertCharacters(e){let t;let n;if(this._shouldFosterParentOnInsertion()){({parent:t,beforeElement:n}=this._findFosterParentingLocation());if(n){this.treeAdapter.insertTextBefore(t,e.chars,n)}else{this.treeAdapter.insertText(t,e.chars)}}else{t=this.openElements.currentTmplContentOrNode;this.treeAdapter.insertText(t,e.chars)}if(!e.location)return;const r=this.treeAdapter.getChildNodes(t);const i=n?r.lastIndexOf(n):r.length;const o=r[i-1];const l=this.treeAdapter.getNodeSourceCodeLocation(o);if(l){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:t,endCol:n,endOffset:r})}else if(this.options.sourceCodeLocationInfo){this.treeAdapter.setNodeSourceCodeLocation(o,e.location)}}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e)){this.treeAdapter.detachNode(n);this.treeAdapter.appendChild(t,n)}}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location;const r=this.treeAdapter.getTagName(e);const i=t.type===ip.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return false;let t;let n;if(this.openElements.stackTop===0&&this.fragmentContext){t=this.fragmentContext;n=this.fragmentContextID}else{({current:t,currentTagId:n}=this.openElements)}if(e.tagID===cp.SVG&&this.treeAdapter.getTagName(t)===up.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===lp.MATHML){return false}return this.tokenizer.inForeignNode||(e.tagID===cp.MGLYPH||e.tagID===cp.MALIGNMARK)&&!this._isIntegrationPoint(n,t,lp.HTML)}_processToken(e){switch(e.type){case ip.CHARACTER:{this.onCharacter(e);break}case ip.NULL_CHARACTER:{this.onNullCharacter(e);break}case ip.COMMENT:{this.onComment(e);break}case ip.DOCTYPE:{this.onDoctype(e);break}case ip.START_TAG:{this._processStartTag(e);break}case ip.END_TAG:{this.onEndTag(e);break}case ip.EOF:{this.onEof(e);break}case ip.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,t,n){const r=this.treeAdapter.getNamespaceURI(t);const i=this.treeAdapter.getAttrList(t);return kg(e,r,i,n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===zp.Marker||this.openElements.contains(e.element)));const n=t<0?e-1:t-1;for(let e=n;e>=0;e--){const t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element));t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags();this.openElements.popUntilTableCellPopped();this.activeFormattingElements.clearToLastMarker();this.insertionMode=Eg.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(cp.P);this.openElements.popUntilTagNamePopped(cp.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--){switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case cp.TR:{this.insertionMode=Eg.IN_ROW;return}case cp.TBODY:case cp.THEAD:case cp.TFOOT:{this.insertionMode=Eg.IN_TABLE_BODY;return}case cp.CAPTION:{this.insertionMode=Eg.IN_CAPTION;return}case cp.COLGROUP:{this.insertionMode=Eg.IN_COLUMN_GROUP;return}case cp.TABLE:{this.insertionMode=Eg.IN_TABLE;return}case cp.BODY:{this.insertionMode=Eg.IN_BODY;return}case cp.FRAMESET:{this.insertionMode=Eg.IN_FRAMESET;return}case cp.SELECT:{this._resetInsertionModeForSelect(e);return}case cp.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case cp.HTML:{this.insertionMode=this.headElement?Eg.AFTER_HEAD:Eg.BEFORE_HEAD;return}case cp.TD:case cp.TH:{if(e>0){this.insertionMode=Eg.IN_CELL;return}break}case cp.HEAD:{if(e>0){this.insertionMode=Eg.IN_HEAD;return}break}}}this.insertionMode=Eg.IN_BODY}_resetInsertionModeForSelect(e){if(e>0){for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===cp.TEMPLATE){break}else if(e===cp.TABLE){this.insertionMode=Eg.IN_SELECT_IN_TABLE;return}}}this.insertionMode=Eg.IN_SELECT}_isElementCausesFosterParenting(e){return xg.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case cp.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(t)===lp.HTML){return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null}}break}case cp.TABLE:{const n=this.treeAdapter.getParentNode(t);if(n){return{parent:n,beforeElement:t}}return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();if(t.beforeElement){this.treeAdapter.insertBefore(t.parent,e,t.beforeElement)}else{this.treeAdapter.appendChild(t.parent,e)}}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return pp[n].has(t)}onCharacter(e){this.skipNextNewLine=false;if(this.tokenizer.inForeignNode){Vb(this,e);return}switch(this.insertionMode){case Eg.INITIAL:{Fg(this,e);break}case Eg.BEFORE_HTML:{zg(this,e);break}case Eg.BEFORE_HEAD:{Gg(this,e);break}case Eg.IN_HEAD:{Xg(this,e);break}case Eg.IN_HEAD_NO_SCRIPT:{Zg(this,e);break}case Eg.AFTER_HEAD:{tm(this,e);break}case Eg.IN_BODY:case Eg.IN_CAPTION:case Eg.IN_CELL:case Eg.IN_TEMPLATE:{im(this,e);break}case Eg.TEXT:case Eg.IN_SELECT:case Eg.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case Eg.IN_TABLE:case Eg.IN_TABLE_BODY:case Eg.IN_ROW:{Jm(this,e);break}case Eg.IN_TABLE_TEXT:{hb(this,e);break}case Eg.IN_COLUMN_GROUP:{yb(this,e);break}case Eg.AFTER_BODY:{Nb(this,e);break}case Eg.AFTER_AFTER_BODY:{Hb(this,e);break}}}onNullCharacter(e){this.skipNextNewLine=false;if(this.tokenizer.inForeignNode){jb(this,e);return}switch(this.insertionMode){case Eg.INITIAL:{Fg(this,e);break}case Eg.BEFORE_HTML:{zg(this,e);break}case Eg.BEFORE_HEAD:{Gg(this,e);break}case Eg.IN_HEAD:{Xg(this,e);break}case Eg.IN_HEAD_NO_SCRIPT:{Zg(this,e);break}case Eg.AFTER_HEAD:{tm(this,e);break}case Eg.TEXT:{this._insertCharacters(e);break}case Eg.IN_TABLE:case Eg.IN_TABLE_BODY:case Eg.IN_ROW:{Jm(this,e);break}case Eg.IN_COLUMN_GROUP:{yb(this,e);break}case Eg.AFTER_BODY:{Nb(this,e);break}case Eg.AFTER_AFTER_BODY:{Hb(this,e);break}}}onComment(e){this.skipNextNewLine=false;if(this.currentNotInHTML){Mg(this,e);return}switch(this.insertionMode){case Eg.INITIAL:case Eg.BEFORE_HTML:case Eg.BEFORE_HEAD:case Eg.IN_HEAD:case Eg.IN_HEAD_NO_SCRIPT:case Eg.AFTER_HEAD:case Eg.IN_BODY:case Eg.IN_TABLE:case Eg.IN_CAPTION:case Eg.IN_COLUMN_GROUP:case Eg.IN_TABLE_BODY:case Eg.IN_ROW:case Eg.IN_CELL:case Eg.IN_SELECT:case Eg.IN_SELECT_IN_TABLE:case Eg.IN_TEMPLATE:case Eg.IN_FRAMESET:case Eg.AFTER_FRAMESET:{Mg(this,e);break}case Eg.IN_TABLE_TEXT:{db(this,e);break}case Eg.AFTER_BODY:{Ng(this,e);break}case Eg.AFTER_AFTER_BODY:case Eg.AFTER_AFTER_FRAMESET:{Ig(this,e);break}}}onDoctype(e){this.skipNextNewLine=false;switch(this.insertionMode){case Eg.INITIAL:{Bg(this,e);break}case Eg.BEFORE_HEAD:case Eg.IN_HEAD:case Eg.IN_HEAD_NO_SCRIPT:case Eg.AFTER_HEAD:{this._err(e,tp.misplacedDoctype);break}case Eg.IN_TABLE_TEXT:{db(this,e);break}}}onStartTag(e){this.skipNextNewLine=false;this.currentToken=e;this._processStartTag(e);if(e.selfClosing&&!e.ackSelfClosing){this._err(e,tp.nonVoidHtmlElementStartTagWithTrailingSolidus)}}_processStartTag(e){if(this.shouldProcessStartTagTokenInForeignContent(e)){$b(this,e)}else{this._startTagOutsideForeignContent(e)}}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Eg.INITIAL:{Fg(this,e);break}case Eg.BEFORE_HTML:{Ug(this,e);break}case Eg.BEFORE_HEAD:{jg(this,e);break}case Eg.IN_HEAD:{$g(this,e);break}case Eg.IN_HEAD_NO_SCRIPT:{Kg(this,e);break}case Eg.AFTER_HEAD:{Jg(this,e);break}case Eg.IN_BODY:{qm(this,e);break}case Eg.IN_TABLE:{ab(this,e);break}case Eg.IN_TABLE_TEXT:{db(this,e);break}case Eg.IN_CAPTION:{gb(this,e);break}case Eg.IN_COLUMN_GROUP:{bb(this,e);break}case Eg.IN_TABLE_BODY:{wb(this,e);break}case Eg.IN_ROW:{Eb(this,e);break}case Eg.IN_CELL:{xb(this,e);break}case Eg.IN_SELECT:{Ab(this,e);break}case Eg.IN_SELECT_IN_TABLE:{Db(this,e);break}case Eg.IN_TEMPLATE:{Lb(this,e);break}case Eg.AFTER_BODY:{Pb(this,e);break}case Eg.IN_FRAMESET:{Ib(this,e);break}case Eg.AFTER_FRAMESET:{Bb(this,e);break}case Eg.AFTER_AFTER_BODY:{Ub(this,e);break}case Eg.AFTER_AFTER_FRAMESET:{zb(this,e);break}}}onEndTag(e){this.skipNextNewLine=false;this.currentToken=e;if(this.currentNotInHTML){Yb(this,e)}else{this._endTagOutsideForeignContent(e)}}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Eg.INITIAL:{Fg(this,e);break}case Eg.BEFORE_HTML:{Hg(this,e);break}case Eg.BEFORE_HEAD:{Vg(this,e);break}case Eg.IN_HEAD:{Yg(this,e);break}case Eg.IN_HEAD_NO_SCRIPT:{Qg(this,e);break}case Eg.AFTER_HEAD:{em(this,e);break}case Eg.IN_BODY:{Xm(this,e);break}case Eg.TEXT:{Qm(this,e);break}case Eg.IN_TABLE:{ub(this,e);break}case Eg.IN_TABLE_TEXT:{db(this,e);break}case Eg.IN_CAPTION:{mb(this,e);break}case Eg.IN_COLUMN_GROUP:{kb(this,e);break}case Eg.IN_TABLE_BODY:{vb(this,e);break}case Eg.IN_ROW:{Sb(this,e);break}case Eg.IN_CELL:{Tb(this,e);break}case Eg.IN_SELECT:{Cb(this,e);break}case Eg.IN_SELECT_IN_TABLE:{Rb(this,e);break}case Eg.IN_TEMPLATE:{Ob(this,e);break}case Eg.AFTER_BODY:{Mb(this,e);break}case Eg.IN_FRAMESET:{qb(this,e);break}case Eg.AFTER_FRAMESET:{Fb(this,e);break}case Eg.AFTER_AFTER_BODY:{Hb(this,e);break}}}onEof(e){switch(this.insertionMode){case Eg.INITIAL:{Fg(this,e);break}case Eg.BEFORE_HTML:{zg(this,e);break}case Eg.BEFORE_HEAD:{Gg(this,e);break}case Eg.IN_HEAD:{Xg(this,e);break}case Eg.IN_HEAD_NO_SCRIPT:{Zg(this,e);break}case Eg.AFTER_HEAD:{tm(this,e);break}case Eg.IN_BODY:case Eg.IN_TABLE:case Eg.IN_CAPTION:case Eg.IN_COLUMN_GROUP:case Eg.IN_TABLE_BODY:case Eg.IN_ROW:case Eg.IN_CELL:case Eg.IN_SELECT:case Eg.IN_SELECT_IN_TABLE:{Km(this,e);break}case Eg.TEXT:{Zm(this,e);break}case Eg.IN_TABLE_TEXT:{db(this,e);break}case Eg.IN_TEMPLATE:{_b(this,e);break}case Eg.AFTER_BODY:case Eg.IN_FRAMESET:case Eg.AFTER_FRAMESET:case Eg.AFTER_AFTER_BODY:case Eg.AFTER_AFTER_FRAMESET:{qg(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine){this.skipNextNewLine=false;if(e.chars.charCodeAt(0)===Wd.LINE_FEED){if(e.chars.length===1){return}e.chars=e.chars.substr(1)}}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case Eg.IN_HEAD:case Eg.IN_HEAD_NO_SCRIPT:case Eg.AFTER_HEAD:case Eg.TEXT:case Eg.IN_COLUMN_GROUP:case Eg.IN_SELECT:case Eg.IN_SELECT_IN_TABLE:case Eg.IN_FRAMESET:case Eg.AFTER_FRAMESET:{this._insertCharacters(e);break}case Eg.IN_BODY:case Eg.IN_CAPTION:case Eg.IN_CELL:case Eg.IN_TEMPLATE:case Eg.AFTER_BODY:case Eg.AFTER_AFTER_BODY:case Eg.AFTER_AFTER_FRAMESET:{rm(this,e);break}case Eg.IN_TABLE:case Eg.IN_TABLE_BODY:case Eg.IN_ROW:{Jm(this,e);break}case Eg.IN_TABLE_TEXT:{fb(this,e);break}}}}function Cg(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);if(n){if(!e.openElements.contains(n.element)){e.activeFormattingElements.removeEntry(n);n=null}else if(!e.openElements.hasInScope(t.tagID)){n=null}}else{Wm(e,t)}return n}function Dg(e,t){let n=null;let r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element){break}if(e._isSpecialElement(i,e.openElements.tagIDs[r])){n=i}}if(!n){e.openElements.shortenToLength(r<0?0:r);e.activeFormattingElements.removeEntry(t)}return n}function Rg(e,t,n){let r=t;let i=e.openElements.getCommonAncestor(t);for(let o=0,l=i;l!==n;o++,l=i){i=e.openElements.getCommonAncestor(l);const n=e.activeFormattingElements.getElementEntry(l);const s=n&&o>=vg;const a=!n||s;if(a){if(s){e.activeFormattingElements.removeEntry(n)}e.openElements.remove(l)}else{l=Lg(e,n);if(r===t){e.activeFormattingElements.bookmark=n}e.treeAdapter.detachNode(r);e.treeAdapter.appendChild(l,r);r=l}}return r}function Lg(e,t){const n=e.treeAdapter.getNamespaceURI(t.element);const r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);e.openElements.replace(t.element,r);t.element=r;return r}function Og(e,t,n){const r=e.treeAdapter.getTagName(t);const i=hp(r);if(e._isElementCausesFosterParenting(i)){e._fosterParentElement(n)}else{const r=e.treeAdapter.getNamespaceURI(t);if(i===cp.TEMPLATE&&r===lp.HTML){t=e.treeAdapter.getTemplateContent(t)}e.treeAdapter.appendChild(t,n)}}function _g(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element);const{token:i}=n;const o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o);e.treeAdapter.appendChild(t,o);e.activeFormattingElements.insertElementAfterBookmark(o,i);e.activeFormattingElements.removeEntry(n);e.openElements.remove(n.element);e.openElements.insertAfter(t,o,i.tagID)}function Pg(e,t){for(let n=0;n<wg;n++){const n=Cg(e,t);if(!n){break}const r=Dg(e,n);if(!r){break}e.activeFormattingElements.bookmark=n;const i=Rg(e,r,n.element);const o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i);if(o)Og(e,o,i);_g(e,r,n)}}function Mg(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Ng(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Ig(e,t){e._appendCommentNode(t,e.document)}function qg(e,t){e.stopped=true;if(t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--){e._setEndLocation(e.openElements.items[r],t)}if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0];const r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag){e._setEndLocation(n,t);if(e.openElements.stackTop>=1){const n=e.openElements.items[1];const r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag){e._setEndLocation(n,t)}}}}}}function Bg(e,t){e._setDocumentType(t);const n=t.forceQuirks?ap.QUIRKS:rg(t);if(!ng(t)){e._err(t,tp.nonConformingDoctype)}e.treeAdapter.setDocumentMode(e.document,n);e.insertionMode=Eg.BEFORE_HTML}function Fg(e,t){e._err(t,tp.missingDoctype,true);e.treeAdapter.setDocumentMode(e.document,ap.QUIRKS);e.insertionMode=Eg.BEFORE_HTML;e._processToken(t)}function Ug(e,t){if(t.tagID===cp.HTML){e._insertElement(t,lp.HTML);e.insertionMode=Eg.BEFORE_HEAD}else{zg(e,t)}}function Hg(e,t){const n=t.tagID;if(n===cp.HTML||n===cp.HEAD||n===cp.BODY||n===cp.BR){zg(e,t)}}function zg(e,t){e._insertFakeRootElement();e.insertionMode=Eg.BEFORE_HEAD;e._processToken(t)}function jg(e,t){switch(t.tagID){case cp.HTML:{qm(e,t);break}case cp.HEAD:{e._insertElement(t,lp.HTML);e.headElement=e.openElements.current;e.insertionMode=Eg.IN_HEAD;break}default:{Gg(e,t)}}}function Vg(e,t){const n=t.tagID;if(n===cp.HEAD||n===cp.BODY||n===cp.HTML||n===cp.BR){Gg(e,t)}else{e._err(t,tp.endTagWithoutMatchingOpenElement)}}function Gg(e,t){e._insertFakeElement(up.HEAD,cp.HEAD);e.headElement=e.openElements.current;e.insertionMode=Eg.IN_HEAD;e._processToken(t)}function $g(e,t){switch(t.tagID){case cp.HTML:{qm(e,t);break}case cp.BASE:case cp.BASEFONT:case cp.BGSOUND:case cp.LINK:case cp.META:{e._appendElement(t,lp.HTML);t.ackSelfClosing=true;break}case cp.TITLE:{e._switchToTextParsing(t,kp.RCDATA);break}case cp.NOSCRIPT:{if(e.options.scriptingEnabled){e._switchToTextParsing(t,kp.RAWTEXT)}else{e._insertElement(t,lp.HTML);e.insertionMode=Eg.IN_HEAD_NO_SCRIPT}break}case cp.NOFRAMES:case cp.STYLE:{e._switchToTextParsing(t,kp.RAWTEXT);break}case cp.SCRIPT:{e._switchToTextParsing(t,kp.SCRIPT_DATA);break}case cp.TEMPLATE:{e._insertTemplate(t);e.activeFormattingElements.insertMarker();e.framesetOk=false;e.insertionMode=Eg.IN_TEMPLATE;e.tmplInsertionModeStack.unshift(Eg.IN_TEMPLATE);break}case cp.HEAD:{e._err(t,tp.misplacedStartTagForHeadElement);break}default:{Xg(e,t)}}}function Yg(e,t){switch(t.tagID){case cp.HEAD:{e.openElements.pop();e.insertionMode=Eg.AFTER_HEAD;break}case cp.BODY:case cp.BR:case cp.HTML:{Xg(e,t);break}case cp.TEMPLATE:{Wg(e,t);break}default:{e._err(t,tp.endTagWithoutMatchingOpenElement)}}}function Wg(e,t){if(e.openElements.tmplCount>0){e.openElements.generateImpliedEndTagsThoroughly();if(e.openElements.currentTagId!==cp.TEMPLATE){e._err(t,tp.closingOfElementWithOpenChildElements)}e.openElements.popUntilTagNamePopped(cp.TEMPLATE);e.activeFormattingElements.clearToLastMarker();e.tmplInsertionModeStack.shift();e._resetInsertionMode()}else{e._err(t,tp.endTagWithoutMatchingOpenElement)}}function Xg(e,t){e.openElements.pop();e.insertionMode=Eg.AFTER_HEAD;e._processToken(t)}function Kg(e,t){switch(t.tagID){case cp.HTML:{qm(e,t);break}case cp.BASEFONT:case cp.BGSOUND:case cp.HEAD:case cp.LINK:case cp.META:case cp.NOFRAMES:case cp.STYLE:{$g(e,t);break}case cp.NOSCRIPT:{e._err(t,tp.nestedNoscriptInHead);break}default:{Zg(e,t)}}}function Qg(e,t){switch(t.tagID){case cp.NOSCRIPT:{e.openElements.pop();e.insertionMode=Eg.IN_HEAD;break}case cp.BR:{Zg(e,t);break}default:{e._err(t,tp.endTagWithoutMatchingOpenElement)}}}function Zg(e,t){const n=t.type===ip.EOF?tp.openElementsLeftAfterEof:tp.disallowedContentInNoscriptInHead;e._err(t,n);e.openElements.pop();e.insertionMode=Eg.IN_HEAD;e._processToken(t)}function Jg(e,t){switch(t.tagID){case cp.HTML:{qm(e,t);break}case cp.BODY:{e._insertElement(t,lp.HTML);e.framesetOk=false;e.insertionMode=Eg.IN_BODY;break}case cp.FRAMESET:{e._insertElement(t,lp.HTML);e.insertionMode=Eg.IN_FRAMESET;break}case cp.BASE:case cp.BASEFONT:case cp.BGSOUND:case cp.LINK:case cp.META:case cp.NOFRAMES:case cp.SCRIPT:case cp.STYLE:case cp.TEMPLATE:case cp.TITLE:{e._err(t,tp.abandonedHeadElementChild);e.openElements.push(e.headElement,cp.HEAD);$g(e,t);e.openElements.remove(e.headElement);break}case cp.HEAD:{e._err(t,tp.misplacedStartTagForHeadElement);break}default:{tm(e,t)}}}function em(e,t){switch(t.tagID){case cp.BODY:case cp.HTML:case cp.BR:{tm(e,t);break}case cp.TEMPLATE:{Wg(e,t);break}default:{e._err(t,tp.endTagWithoutMatchingOpenElement)}}}function tm(e,t){e._insertFakeElement(up.BODY,cp.BODY);e.insertionMode=Eg.IN_BODY;nm(e,t)}function nm(e,t){switch(t.type){case ip.CHARACTER:{im(e,t);break}case ip.WHITESPACE_CHARACTER:{rm(e,t);break}case ip.COMMENT:{Mg(e,t);break}case ip.START_TAG:{qm(e,t);break}case ip.END_TAG:{Xm(e,t);break}case ip.EOF:{Km(e,t);break}}}function rm(e,t){e._reconstructActiveFormattingElements();e._insertCharacters(t)}function im(e,t){e._reconstructActiveFormattingElements();e._insertCharacters(t);e.framesetOk=false}function om(e,t){if(e.openElements.tmplCount===0){e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}}function lm(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();if(n&&e.openElements.tmplCount===0){e.framesetOk=false;e.treeAdapter.adoptAttributes(n,t.attrs)}}function sm(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();if(e.framesetOk&&n){e.treeAdapter.detachNode(n);e.openElements.popAllUpToHtmlElement();e._insertElement(t,lp.HTML);e.insertionMode=Eg.IN_FRAMESET}}function am(e,t){if(e.openElements.hasInButtonScope(cp.P)){e._closePElement()}e._insertElement(t,lp.HTML)}function um(e,t){if(e.openElements.hasInButtonScope(cp.P)){e._closePElement()}if(gp(e.openElements.currentTagId)){e.openElements.pop()}e._insertElement(t,lp.HTML)}function cm(e,t){if(e.openElements.hasInButtonScope(cp.P)){e._closePElement()}e._insertElement(t,lp.HTML);e.skipNextNewLine=true;e.framesetOk=false}function fm(e,t){const n=e.openElements.tmplCount>0;if(!e.formElement||n){if(e.openElements.hasInButtonScope(cp.P)){e._closePElement()}e._insertElement(t,lp.HTML);if(!n){e.formElement=e.openElements.current}}}function hm(e,t){e.framesetOk=false;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===cp.LI&&r===cp.LI||(n===cp.DD||n===cp.DT)&&(r===cp.DD||r===cp.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r);e.openElements.popUntilTagNamePopped(r);break}if(r!==cp.ADDRESS&&r!==cp.DIV&&r!==cp.P&&e._isSpecialElement(e.openElements.items[t],r)){break}}if(e.openElements.hasInButtonScope(cp.P)){e._closePElement()}e._insertElement(t,lp.HTML)}function dm(e,t){if(e.openElements.hasInButtonScope(cp.P)){e._closePElement()}e._insertElement(t,lp.HTML);e.tokenizer.state=kp.PLAINTEXT}function pm(e,t){if(e.openElements.hasInScope(cp.BUTTON)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(cp.BUTTON)}e._reconstructActiveFormattingElements();e._insertElement(t,lp.HTML);e.framesetOk=false}function gm(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(up.A);if(n){Pg(e,t);e.openElements.remove(n.element);e.activeFormattingElements.removeEntry(n)}e._reconstructActiveFormattingElements();e._insertElement(t,lp.HTML);e.activeFormattingElements.pushElement(e.openElements.current,t)}function mm(e,t){e._reconstructActiveFormattingElements();e._insertElement(t,lp.HTML);e.activeFormattingElements.pushElement(e.openElements.current,t)}function bm(e,t){e._reconstructActiveFormattingElements();if(e.openElements.hasInScope(cp.NOBR)){Pg(e,t);e._reconstructActiveFormattingElements()}e._insertElement(t,lp.HTML);e.activeFormattingElements.pushElement(e.openElements.current,t)}function km(e,t){e._reconstructActiveFormattingElements();e._insertElement(t,lp.HTML);e.activeFormattingElements.insertMarker();e.framesetOk=false}function ym(e,t){if(e.treeAdapter.getDocumentMode(e.document)!==ap.QUIRKS&&e.openElements.hasInButtonScope(cp.P)){e._closePElement()}e._insertElement(t,lp.HTML);e.framesetOk=false;e.insertionMode=Eg.IN_TABLE}function wm(e,t){e._reconstructActiveFormattingElements();e._appendElement(t,lp.HTML);e.framesetOk=false;t.ackSelfClosing=true}function vm(e){const t=op(e,sp.TYPE);return t!=null&&t.toLowerCase()===yg}function Em(e,t){e._reconstructActiveFormattingElements();e._appendElement(t,lp.HTML);if(!vm(t)){e.framesetOk=false}t.ackSelfClosing=true}function Sm(e,t){e._appendElement(t,lp.HTML);t.ackSelfClosing=true}function xm(e,t){if(e.openElements.hasInButtonScope(cp.P)){e._closePElement()}e._appendElement(t,lp.HTML);e.framesetOk=false;t.ackSelfClosing=true}function Tm(e,t){t.tagName=up.IMG;t.tagID=cp.IMG;wm(e,t)}function Am(e,t){e._insertElement(t,lp.HTML);e.skipNextNewLine=true;e.tokenizer.state=kp.RCDATA;e.originalInsertionMode=e.insertionMode;e.framesetOk=false;e.insertionMode=Eg.TEXT}function Cm(e,t){if(e.openElements.hasInButtonScope(cp.P)){e._closePElement()}e._reconstructActiveFormattingElements();e.framesetOk=false;e._switchToTextParsing(t,kp.RAWTEXT)}function Dm(e,t){e.framesetOk=false;e._switchToTextParsing(t,kp.RAWTEXT)}function Rm(e,t){e._switchToTextParsing(t,kp.RAWTEXT)}function Lm(e,t){e._reconstructActiveFormattingElements();e._insertElement(t,lp.HTML);e.framesetOk=false;e.insertionMode=e.insertionMode===Eg.IN_TABLE||e.insertionMode===Eg.IN_CAPTION||e.insertionMode===Eg.IN_TABLE_BODY||e.insertionMode===Eg.IN_ROW||e.insertionMode===Eg.IN_CELL?Eg.IN_SELECT_IN_TABLE:Eg.IN_SELECT}function Om(e,t){if(e.openElements.currentTagId===cp.OPTION){e.openElements.pop()}e._reconstructActiveFormattingElements();e._insertElement(t,lp.HTML)}function _m(e,t){if(e.openElements.hasInScope(cp.RUBY)){e.openElements.generateImpliedEndTags()}e._insertElement(t,lp.HTML)}function Pm(e,t){if(e.openElements.hasInScope(cp.RUBY)){e.openElements.generateImpliedEndTagsWithExclusion(cp.RTC)}e._insertElement(t,lp.HTML)}function Mm(e,t){e._reconstructActiveFormattingElements();hg(t);pg(t);if(t.selfClosing){e._appendElement(t,lp.MATHML)}else{e._insertElement(t,lp.MATHML)}t.ackSelfClosing=true}function Nm(e,t){e._reconstructActiveFormattingElements();dg(t);pg(t);if(t.selfClosing){e._appendElement(t,lp.SVG)}else{e._insertElement(t,lp.SVG)}t.ackSelfClosing=true}function Im(e,t){e._reconstructActiveFormattingElements();e._insertElement(t,lp.HTML)}function qm(e,t){switch(t.tagID){case cp.I:case cp.S:case cp.B:case cp.U:case cp.EM:case cp.TT:case cp.BIG:case cp.CODE:case cp.FONT:case cp.SMALL:case cp.STRIKE:case cp.STRONG:{mm(e,t);break}case cp.A:{gm(e,t);break}case cp.H1:case cp.H2:case cp.H3:case cp.H4:case cp.H5:case cp.H6:{um(e,t);break}case cp.P:case cp.DL:case cp.OL:case cp.UL:case cp.DIV:case cp.DIR:case cp.NAV:case cp.MAIN:case cp.MENU:case cp.ASIDE:case cp.CENTER:case cp.FIGURE:case cp.FOOTER:case cp.HEADER:case cp.HGROUP:case cp.DIALOG:case cp.DETAILS:case cp.ADDRESS:case cp.ARTICLE:case cp.SECTION:case cp.SUMMARY:case cp.FIELDSET:case cp.BLOCKQUOTE:case cp.FIGCAPTION:{am(e,t);break}case cp.LI:case cp.DD:case cp.DT:{hm(e,t);break}case cp.BR:case cp.IMG:case cp.WBR:case cp.AREA:case cp.EMBED:case cp.KEYGEN:{wm(e,t);break}case cp.HR:{xm(e,t);break}case cp.RB:case cp.RTC:{_m(e,t);break}case cp.RT:case cp.RP:{Pm(e,t);break}case cp.PRE:case cp.LISTING:{cm(e,t);break}case cp.XMP:{Cm(e,t);break}case cp.SVG:{Nm(e,t);break}case cp.HTML:{om(e,t);break}case cp.BASE:case cp.LINK:case cp.META:case cp.STYLE:case cp.TITLE:case cp.SCRIPT:case cp.BGSOUND:case cp.BASEFONT:case cp.TEMPLATE:{$g(e,t);break}case cp.BODY:{lm(e,t);break}case cp.FORM:{fm(e,t);break}case cp.NOBR:{bm(e,t);break}case cp.MATH:{Mm(e,t);break}case cp.TABLE:{ym(e,t);break}case cp.INPUT:{Em(e,t);break}case cp.PARAM:case cp.TRACK:case cp.SOURCE:{Sm(e,t);break}case cp.IMAGE:{Tm(e,t);break}case cp.BUTTON:{pm(e,t);break}case cp.APPLET:case cp.OBJECT:case cp.MARQUEE:{km(e,t);break}case cp.IFRAME:{Dm(e,t);break}case cp.SELECT:{Lm(e,t);break}case cp.OPTION:case cp.OPTGROUP:{Om(e,t);break}case cp.NOEMBED:{Rm(e,t);break}case cp.FRAMESET:{sm(e,t);break}case cp.TEXTAREA:{Am(e,t);break}case cp.NOSCRIPT:{if(e.options.scriptingEnabled){Rm(e,t)}else{Im(e,t)}break}case cp.PLAINTEXT:{dm(e,t);break}case cp.COL:case cp.TH:case cp.TD:case cp.TR:case cp.HEAD:case cp.FRAME:case cp.TBODY:case cp.TFOOT:case cp.THEAD:case cp.CAPTION:case cp.COLGROUP:{break}default:{Im(e,t)}}}function Bm(e,t){if(e.openElements.hasInScope(cp.BODY)){e.insertionMode=Eg.AFTER_BODY;if(e.options.sourceCodeLocationInfo){const n=e.openElements.tryPeekProperlyNestedBodyElement();if(n){e._setEndLocation(n,t)}}}}function Fm(e,t){if(e.openElements.hasInScope(cp.BODY)){e.insertionMode=Eg.AFTER_BODY;Mb(e,t)}}function Um(e,t){const n=t.tagID;if(e.openElements.hasInScope(n)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(n)}}function Hm(e){const t=e.openElements.tmplCount>0;const{formElement:n}=e;if(!t){e.formElement=null}if((n||t)&&e.openElements.hasInScope(cp.FORM)){e.openElements.generateImpliedEndTags();if(t){e.openElements.popUntilTagNamePopped(cp.FORM)}else if(n){e.openElements.remove(n)}}}function zm(e){if(!e.openElements.hasInButtonScope(cp.P)){e._insertFakeElement(up.P,cp.P)}e._closePElement()}function jm(e){if(e.openElements.hasInListItemScope(cp.LI)){e.openElements.generateImpliedEndTagsWithExclusion(cp.LI);e.openElements.popUntilTagNamePopped(cp.LI)}}function Vm(e,t){const n=t.tagID;if(e.openElements.hasInScope(n)){e.openElements.generateImpliedEndTagsWithExclusion(n);e.openElements.popUntilTagNamePopped(n)}}function Gm(e){if(e.openElements.hasNumberedHeaderInScope()){e.openElements.generateImpliedEndTags();e.openElements.popUntilNumberedHeaderPopped()}}function $m(e,t){const n=t.tagID;if(e.openElements.hasInScope(n)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(n);e.activeFormattingElements.clearToLastMarker()}}function Ym(e){e._reconstructActiveFormattingElements();e._insertFakeElement(up.BR,cp.BR);e.openElements.pop();e.framesetOk=false}function Wm(e,t){const n=t.tagName;const r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const i=e.openElements.items[t];const o=e.openElements.tagIDs[t];if(r===o&&(r!==cp.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r);if(e.openElements.stackTop>=t)e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,o)){break}}}function Xm(e,t){switch(t.tagID){case cp.A:case cp.B:case cp.I:case cp.S:case cp.U:case cp.EM:case cp.TT:case cp.BIG:case cp.CODE:case cp.FONT:case cp.NOBR:case cp.SMALL:case cp.STRIKE:case cp.STRONG:{Pg(e,t);break}case cp.P:{zm(e);break}case cp.DL:case cp.UL:case cp.OL:case cp.DIR:case cp.DIV:case cp.NAV:case cp.PRE:case cp.MAIN:case cp.MENU:case cp.ASIDE:case cp.BUTTON:case cp.CENTER:case cp.FIGURE:case cp.FOOTER:case cp.HEADER:case cp.HGROUP:case cp.DIALOG:case cp.ADDRESS:case cp.ARTICLE:case cp.DETAILS:case cp.SECTION:case cp.SUMMARY:case cp.LISTING:case cp.FIELDSET:case cp.BLOCKQUOTE:case cp.FIGCAPTION:{Um(e,t);break}case cp.LI:{jm(e);break}case cp.DD:case cp.DT:{Vm(e,t);break}case cp.H1:case cp.H2:case cp.H3:case cp.H4:case cp.H5:case cp.H6:{Gm(e);break}case cp.BR:{Ym(e);break}case cp.BODY:{Bm(e,t);break}case cp.HTML:{Fm(e,t);break}case cp.FORM:{Hm(e);break}case cp.APPLET:case cp.OBJECT:case cp.MARQUEE:{$m(e,t);break}case cp.TEMPLATE:{Wg(e,t);break}default:{Wm(e,t)}}}function Km(e,t){if(e.tmplInsertionModeStack.length>0){_b(e,t)}else{qg(e,t)}}function Qm(e,t){var n;if(t.tagID===cp.SCRIPT){(n=e.scriptHandler)===null||n===void 0?void 0:n.call(e,e.openElements.current)}e.openElements.pop();e.insertionMode=e.originalInsertionMode}function Zm(e,t){e._err(t,tp.eofInElementThatCanContainOnlyText);e.openElements.pop();e.insertionMode=e.originalInsertionMode;e.onEof(t)}function Jm(e,t){if(xg.has(e.openElements.currentTagId)){e.pendingCharacterTokens.length=0;e.hasNonWhitespacePendingCharacterToken=false;e.originalInsertionMode=e.insertionMode;e.insertionMode=Eg.IN_TABLE_TEXT;switch(t.type){case ip.CHARACTER:{hb(e,t);break}case ip.WHITESPACE_CHARACTER:{fb(e,t);break}}}else{cb(e,t)}}function eb(e,t){e.openElements.clearBackToTableContext();e.activeFormattingElements.insertMarker();e._insertElement(t,lp.HTML);e.insertionMode=Eg.IN_CAPTION}function tb(e,t){e.openElements.clearBackToTableContext();e._insertElement(t,lp.HTML);e.insertionMode=Eg.IN_COLUMN_GROUP}function nb(e,t){e.openElements.clearBackToTableContext();e._insertFakeElement(up.COLGROUP,cp.COLGROUP);e.insertionMode=Eg.IN_COLUMN_GROUP;bb(e,t)}function rb(e,t){e.openElements.clearBackToTableContext();e._insertElement(t,lp.HTML);e.insertionMode=Eg.IN_TABLE_BODY}function ib(e,t){e.openElements.clearBackToTableContext();e._insertFakeElement(up.TBODY,cp.TBODY);e.insertionMode=Eg.IN_TABLE_BODY;wb(e,t)}function ob(e,t){if(e.openElements.hasInTableScope(cp.TABLE)){e.openElements.popUntilTagNamePopped(cp.TABLE);e._resetInsertionMode();e._processStartTag(t)}}function lb(e,t){if(vm(t)){e._appendElement(t,lp.HTML)}else{cb(e,t)}t.ackSelfClosing=true}function sb(e,t){if(!e.formElement&&e.openElements.tmplCount===0){e._insertElement(t,lp.HTML);e.formElement=e.openElements.current;e.openElements.pop()}}function ab(e,t){switch(t.tagID){case cp.TD:case cp.TH:case cp.TR:{ib(e,t);break}case cp.STYLE:case cp.SCRIPT:case cp.TEMPLATE:{$g(e,t);break}case cp.COL:{nb(e,t);break}case cp.FORM:{sb(e,t);break}case cp.TABLE:{ob(e,t);break}case cp.TBODY:case cp.TFOOT:case cp.THEAD:{rb(e,t);break}case cp.INPUT:{lb(e,t);break}case cp.CAPTION:{eb(e,t);break}case cp.COLGROUP:{tb(e,t);break}default:{cb(e,t)}}}function ub(e,t){switch(t.tagID){case cp.TABLE:{if(e.openElements.hasInTableScope(cp.TABLE)){e.openElements.popUntilTagNamePopped(cp.TABLE);e._resetInsertionMode()}break}case cp.TEMPLATE:{Wg(e,t);break}case cp.BODY:case cp.CAPTION:case cp.COL:case cp.COLGROUP:case cp.HTML:case cp.TBODY:case cp.TD:case cp.TFOOT:case cp.TH:case cp.THEAD:case cp.TR:{break}default:{cb(e,t)}}}function cb(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=true;nm(e,t);e.fosterParentingEnabled=n}function fb(e,t){e.pendingCharacterTokens.push(t)}function hb(e,t){e.pendingCharacterTokens.push(t);e.hasNonWhitespacePendingCharacterToken=true}function db(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken){for(;n<e.pendingCharacterTokens.length;n++){cb(e,e.pendingCharacterTokens[n])}}else{for(;n<e.pendingCharacterTokens.length;n++){e._insertCharacters(e.pendingCharacterTokens[n])}}e.insertionMode=e.originalInsertionMode;e._processToken(t)}const pb=new Set([cp.CAPTION,cp.COL,cp.COLGROUP,cp.TBODY,cp.TD,cp.TFOOT,cp.TH,cp.THEAD,cp.TR]);function gb(e,t){const n=t.tagID;if(pb.has(n)){if(e.openElements.hasInTableScope(cp.CAPTION)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(cp.CAPTION);e.activeFormattingElements.clearToLastMarker();e.insertionMode=Eg.IN_TABLE;ab(e,t)}}else{qm(e,t)}}function mb(e,t){const n=t.tagID;switch(n){case cp.CAPTION:case cp.TABLE:{if(e.openElements.hasInTableScope(cp.CAPTION)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(cp.CAPTION);e.activeFormattingElements.clearToLastMarker();e.insertionMode=Eg.IN_TABLE;if(n===cp.TABLE){ub(e,t)}}break}case cp.BODY:case cp.COL:case cp.COLGROUP:case cp.HTML:case cp.TBODY:case cp.TD:case cp.TFOOT:case cp.TH:case cp.THEAD:case cp.TR:{break}default:{Xm(e,t)}}}function bb(e,t){switch(t.tagID){case cp.HTML:{qm(e,t);break}case cp.COL:{e._appendElement(t,lp.HTML);t.ackSelfClosing=true;break}case cp.TEMPLATE:{$g(e,t);break}default:{yb(e,t)}}}function kb(e,t){switch(t.tagID){case cp.COLGROUP:{if(e.openElements.currentTagId===cp.COLGROUP){e.openElements.pop();e.insertionMode=Eg.IN_TABLE}break}case cp.TEMPLATE:{Wg(e,t);break}case cp.COL:{break}default:{yb(e,t)}}}function yb(e,t){if(e.openElements.currentTagId===cp.COLGROUP){e.openElements.pop();e.insertionMode=Eg.IN_TABLE;e._processToken(t)}}function wb(e,t){switch(t.tagID){case cp.TR:{e.openElements.clearBackToTableBodyContext();e._insertElement(t,lp.HTML);e.insertionMode=Eg.IN_ROW;break}case cp.TH:case cp.TD:{e.openElements.clearBackToTableBodyContext();e._insertFakeElement(up.TR,cp.TR);e.insertionMode=Eg.IN_ROW;Eb(e,t);break}case cp.CAPTION:case cp.COL:case cp.COLGROUP:case cp.TBODY:case cp.TFOOT:case cp.THEAD:{if(e.openElements.hasTableBodyContextInTableScope()){e.openElements.clearBackToTableBodyContext();e.openElements.pop();e.insertionMode=Eg.IN_TABLE;ab(e,t)}break}default:{ab(e,t)}}}function vb(e,t){const n=t.tagID;switch(t.tagID){case cp.TBODY:case cp.TFOOT:case cp.THEAD:{if(e.openElements.hasInTableScope(n)){e.openElements.clearBackToTableBodyContext();e.openElements.pop();e.insertionMode=Eg.IN_TABLE}break}case cp.TABLE:{if(e.openElements.hasTableBodyContextInTableScope()){e.openElements.clearBackToTableBodyContext();e.openElements.pop();e.insertionMode=Eg.IN_TABLE;ub(e,t)}break}case cp.BODY:case cp.CAPTION:case cp.COL:case cp.COLGROUP:case cp.HTML:case cp.TD:case cp.TH:case cp.TR:{break}default:{ub(e,t)}}}function Eb(e,t){switch(t.tagID){case cp.TH:case cp.TD:{e.openElements.clearBackToTableRowContext();e._insertElement(t,lp.HTML);e.insertionMode=Eg.IN_CELL;e.activeFormattingElements.insertMarker();break}case cp.CAPTION:case cp.COL:case cp.COLGROUP:case cp.TBODY:case cp.TFOOT:case cp.THEAD:case cp.TR:{if(e.openElements.hasInTableScope(cp.TR)){e.openElements.clearBackToTableRowContext();e.openElements.pop();e.insertionMode=Eg.IN_TABLE_BODY;wb(e,t)}break}default:{ab(e,t)}}}function Sb(e,t){switch(t.tagID){case cp.TR:{if(e.openElements.hasInTableScope(cp.TR)){e.openElements.clearBackToTableRowContext();e.openElements.pop();e.insertionMode=Eg.IN_TABLE_BODY}break}case cp.TABLE:{if(e.openElements.hasInTableScope(cp.TR)){e.openElements.clearBackToTableRowContext();e.openElements.pop();e.insertionMode=Eg.IN_TABLE_BODY;vb(e,t)}break}case cp.TBODY:case cp.TFOOT:case cp.THEAD:{if(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(cp.TR)){e.openElements.clearBackToTableRowContext();e.openElements.pop();e.insertionMode=Eg.IN_TABLE_BODY;vb(e,t)}break}case cp.BODY:case cp.CAPTION:case cp.COL:case cp.COLGROUP:case cp.HTML:case cp.TD:case cp.TH:{break}default:{ub(e,t)}}}function xb(e,t){const n=t.tagID;if(pb.has(n)){if(e.openElements.hasInTableScope(cp.TD)||e.openElements.hasInTableScope(cp.TH)){e._closeTableCell();Eb(e,t)}}else{qm(e,t)}}function Tb(e,t){const n=t.tagID;switch(n){case cp.TD:case cp.TH:{if(e.openElements.hasInTableScope(n)){e.openElements.generateImpliedEndTags();e.openElements.popUntilTagNamePopped(n);e.activeFormattingElements.clearToLastMarker();e.insertionMode=Eg.IN_ROW}break}case cp.TABLE:case cp.TBODY:case cp.TFOOT:case cp.THEAD:case cp.TR:{if(e.openElements.hasInTableScope(n)){e._closeTableCell();Sb(e,t)}break}case cp.BODY:case cp.CAPTION:case cp.COL:case cp.COLGROUP:case cp.HTML:{break}default:{Xm(e,t)}}}function Ab(e,t){switch(t.tagID){case cp.HTML:{qm(e,t);break}case cp.OPTION:{if(e.openElements.currentTagId===cp.OPTION){e.openElements.pop()}e._insertElement(t,lp.HTML);break}case cp.OPTGROUP:{if(e.openElements.currentTagId===cp.OPTION){e.openElements.pop()}if(e.openElements.currentTagId===cp.OPTGROUP){e.openElements.pop()}e._insertElement(t,lp.HTML);break}case cp.INPUT:case cp.KEYGEN:case cp.TEXTAREA:case cp.SELECT:{if(e.openElements.hasInSelectScope(cp.SELECT)){e.openElements.popUntilTagNamePopped(cp.SELECT);e._resetInsertionMode();if(t.tagID!==cp.SELECT){e._processStartTag(t)}}break}case cp.SCRIPT:case cp.TEMPLATE:{$g(e,t);break}}}function Cb(e,t){switch(t.tagID){case cp.OPTGROUP:{if(e.openElements.stackTop>0&&e.openElements.currentTagId===cp.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===cp.OPTGROUP){e.openElements.pop()}if(e.openElements.currentTagId===cp.OPTGROUP){e.openElements.pop()}break}case cp.OPTION:{if(e.openElements.currentTagId===cp.OPTION){e.openElements.pop()}break}case cp.SELECT:{if(e.openElements.hasInSelectScope(cp.SELECT)){e.openElements.popUntilTagNamePopped(cp.SELECT);e._resetInsertionMode()}break}case cp.TEMPLATE:{Wg(e,t);break}}}function Db(e,t){const n=t.tagID;if(n===cp.CAPTION||n===cp.TABLE||n===cp.TBODY||n===cp.TFOOT||n===cp.THEAD||n===cp.TR||n===cp.TD||n===cp.TH){e.openElements.popUntilTagNamePopped(cp.SELECT);e._resetInsertionMode();e._processStartTag(t)}else{Ab(e,t)}}function Rb(e,t){const n=t.tagID;if(n===cp.CAPTION||n===cp.TABLE||n===cp.TBODY||n===cp.TFOOT||n===cp.THEAD||n===cp.TR||n===cp.TD||n===cp.TH){if(e.openElements.hasInTableScope(n)){e.openElements.popUntilTagNamePopped(cp.SELECT);e._resetInsertionMode();e.onEndTag(t)}}else{Cb(e,t)}}function Lb(e,t){switch(t.tagID){case cp.BASE:case cp.BASEFONT:case cp.BGSOUND:case cp.LINK:case cp.META:case cp.NOFRAMES:case cp.SCRIPT:case cp.STYLE:case cp.TEMPLATE:case cp.TITLE:{$g(e,t);break}case cp.CAPTION:case cp.COLGROUP:case cp.TBODY:case cp.TFOOT:case cp.THEAD:{e.tmplInsertionModeStack[0]=Eg.IN_TABLE;e.insertionMode=Eg.IN_TABLE;ab(e,t);break}case cp.COL:{e.tmplInsertionModeStack[0]=Eg.IN_COLUMN_GROUP;e.insertionMode=Eg.IN_COLUMN_GROUP;bb(e,t);break}case cp.TR:{e.tmplInsertionModeStack[0]=Eg.IN_TABLE_BODY;e.insertionMode=Eg.IN_TABLE_BODY;wb(e,t);break}case cp.TD:case cp.TH:{e.tmplInsertionModeStack[0]=Eg.IN_ROW;e.insertionMode=Eg.IN_ROW;Eb(e,t);break}default:{e.tmplInsertionModeStack[0]=Eg.IN_BODY;e.insertionMode=Eg.IN_BODY;qm(e,t)}}}function Ob(e,t){if(t.tagID===cp.TEMPLATE){Wg(e,t)}}function _b(e,t){if(e.openElements.tmplCount>0){e.openElements.popUntilTagNamePopped(cp.TEMPLATE);e.activeFormattingElements.clearToLastMarker();e.tmplInsertionModeStack.shift();e._resetInsertionMode();e.onEof(t)}else{qg(e,t)}}function Pb(e,t){if(t.tagID===cp.HTML){qm(e,t)}else{Nb(e,t)}}function Mb(e,t){var n;if(t.tagID===cp.HTML){if(!e.fragmentContext){e.insertionMode=Eg.AFTER_AFTER_BODY}if(e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===cp.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];if(r&&!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0?void 0:n.endTag)){e._setEndLocation(r,t)}}}else{Nb(e,t)}}function Nb(e,t){e.insertionMode=Eg.IN_BODY;nm(e,t)}function Ib(e,t){switch(t.tagID){case cp.HTML:{qm(e,t);break}case cp.FRAMESET:{e._insertElement(t,lp.HTML);break}case cp.FRAME:{e._appendElement(t,lp.HTML);t.ackSelfClosing=true;break}case cp.NOFRAMES:{$g(e,t);break}}}function qb(e,t){if(t.tagID===cp.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()){e.openElements.pop();if(!e.fragmentContext&&e.openElements.currentTagId!==cp.FRAMESET){e.insertionMode=Eg.AFTER_FRAMESET}}}function Bb(e,t){switch(t.tagID){case cp.HTML:{qm(e,t);break}case cp.NOFRAMES:{$g(e,t);break}}}function Fb(e,t){if(t.tagID===cp.HTML){e.insertionMode=Eg.AFTER_AFTER_FRAMESET}}function Ub(e,t){if(t.tagID===cp.HTML){qm(e,t)}else{Hb(e,t)}}function Hb(e,t){e.insertionMode=Eg.IN_BODY;nm(e,t)}function zb(e,t){switch(t.tagID){case cp.HTML:{qm(e,t);break}case cp.NOFRAMES:{$g(e,t);break}}}function jb(e,t){t.chars=Yd;e._insertCharacters(t)}function Vb(e,t){e._insertCharacters(t);e.framesetOk=false}function Gb(e){while(e.treeAdapter.getNamespaceURI(e.openElements.current)!==lp.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current)){e.openElements.pop()}}function $b(e,t){if(fg(t)){Gb(e);e._startTagOutsideForeignContent(t)}else{const n=e._getAdjustedCurrentElement();const r=e.treeAdapter.getNamespaceURI(n);if(r===lp.MATHML){hg(t)}else if(r===lp.SVG){gg(t);dg(t)}pg(t);if(t.selfClosing){e._appendElement(t,r)}else{e._insertElement(t,r)}t.ackSelfClosing=true}}function Yb(e,t){if(t.tagID===cp.P||t.tagID===cp.BR){Gb(e);e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===lp.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i;e.openElements.shortenToLength(n);break}}}const Wb=Kb("end");const Xb=Kb("start");function Kb(e){return t;function t(t){const n=t&&t.position&&t.position[e]||{};if(typeof n.line==="number"&&n.line>0&&typeof n.column==="number"&&n.column>0){return{line:n.line,column:n.column,offset:typeof n.offset==="number"&&n.offset>-1?n.offset:undefined}}}}const Qb={}.hasOwnProperty;function Zb(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&Qb.call(t,e)){const n=String(t[e]);i=Qb.call(o,n)?o[n]:r.unknown}if(i){return i.call(this,t,...n)}}r.handlers=n.handlers||{};r.invalid=n.invalid;r.unknown=n.unknown;return r}const Jb=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]);const ek={sourceCodeLocationInfo:true,scriptingEnabled:false};function tk(e,t){const n=gk(e);const r=Zb("type",{handlers:{root:rk,element:ik,text:ok,comment:ak,doctype:lk,raw:uk},unknown:ck});const i={parser:n?new Ag(ek):Ag.getFragmentParser(undefined,ek),handle(e){r(e,i)},stitches:false,options:t||{}};r(e,i);fk(i,Xb());const o=n?i.parser.document:i.parser.getFragment();const l=Bh(o,{file:i.options.file});if(i.stitches){Gi(l,"comment",(function(e,t,n){const r=e;if(r.value.stitch&&n&&t!==undefined){const e=n.children;e[t]=r.value.stitch;return t}}))}if(l.type==="root"&&l.children.length===1&&l.children[0].type===e.type){return l.children[0]}return l}function nk(e,t){let n=-1;if(e){while(++n<e.length){t.handle(e[n])}}}function rk(e,t){nk(e.children,t)}function ik(e,t){dk(e,t);nk(e.children,t);pk(e,t)}function ok(e,t){if(t.parser.tokenizer.state>4){t.parser.tokenizer.state=0}const n={type:ip.CHARACTER,chars:e.value,location:mk(e)};fk(t,Xb(e));t.parser.currentToken=n;t.parser._processToken(t.parser.currentToken)}function lk(e,t){const n={type:ip.DOCTYPE,name:"html",forceQuirks:false,publicId:"",systemId:"",location:mk(e)};fk(t,Xb(e));t.parser.currentToken=n;t.parser._processToken(t.parser.currentToken)}function sk(e,t){t.stitches=true;const n=bk(e);if("children"in e&&"children"in n){const r=tk({type:"root",children:e.children},t.options);n.children=r.children}ak({type:"comment",value:{stitch:n}},t)}function ak(e,t){const n=e.value;const r={type:ip.COMMENT,data:n,location:mk(e)};fk(t,Xb(e));t.parser.currentToken=r;t.parser._processToken(t.parser.currentToken)}function uk(e,t){t.parser.tokenizer.preprocessor.html="";t.parser.tokenizer.preprocessor.pos=-1;t.parser.tokenizer.preprocessor.lastGapPos=-2;t.parser.tokenizer.preprocessor.gapStack=[];t.parser.tokenizer.preprocessor.skipNextNewLine=false;t.parser.tokenizer.preprocessor.lastChunkWritten=false;t.parser.tokenizer.preprocessor.endOfChunkHit=false;t.parser.tokenizer.preprocessor.isEol=false;hk(t,Xb(e));t.parser.tokenizer.write(e.value,false);t.parser.tokenizer._runParsingLoop();if(t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=true;const e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function ck(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type)){sk(n,t)}else{let e="";if(Jb.has(n.type)){e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"}throw new Error("Cannot compile `"+n.type+"` node"+e)}}function fk(e,t){hk(e,t);const n=e.parser.tokenizer.currentCharacterToken;if(n&&n.location){n.location.endLine=e.parser.tokenizer.preprocessor.line;n.location.endCol=e.parser.tokenizer.preprocessor.col+1;n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1;e.parser.currentToken=n;e.parser._processToken(e.parser.currentToken)}e.parser.tokenizer.paused=false;e.parser.tokenizer.inLoop=false;e.parser.tokenizer.active=false;e.parser.tokenizer.returnState=kp.DATA;e.parser.tokenizer.charRefCode=-1;e.parser.tokenizer.consumedAfterSnapshot=-1;e.parser.tokenizer.currentLocation=null;e.parser.tokenizer.currentCharacterToken=null;e.parser.tokenizer.currentToken=null;e.parser.tokenizer.currentAttr={name:"",value:""}}function hk(e,t){if(t&&t.offset!==undefined){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1;e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset;e.parser.tokenizer.preprocessor.line=t.line;e.parser.tokenizer.currentLocation=n}}function dk(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===kp.PLAINTEXT)return;fk(t,Xb(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:Nh.html;if(i===Nh.html&&n==="svg"){i=Nh.svg}const o=Nd({...e,children:[]},{space:i===Nh.svg?"svg":"html"});const l={type:ip.START_TAG,tagName:n,tagID:hp(n),selfClosing:false,ackSelfClosing:false,attrs:"attrs"in o?o.attrs:[],location:mk(e)};t.parser.currentToken=l;t.parser._processToken(t.parser.currentToken);t.parser.tokenizer.lastStartTagName=n}function pk(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Gd.includes(n)){return}if(t.parser.tokenizer.state===kp.PLAINTEXT)return;fk(t,Wb(e));const r={type:ip.END_TAG,tagName:n,tagID:hp(n),selfClosing:false,ackSelfClosing:false,attrs:[],location:mk(e)};t.parser.currentToken=r;t.parser._processToken(t.parser.currentToken);if(n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===kp.RCDATA||t.parser.tokenizer.state===kp.RAWTEXT||t.parser.tokenizer.state===kp.SCRIPT_DATA)){t.parser.tokenizer.state=kp.DATA}}function gk(e){const t=e.type==="root"?e.children[0]:e;return Boolean(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function mk(e){const t=Xb(e)||{line:undefined,column:undefined,offset:undefined};const n=Wb(e)||{line:undefined,column:undefined,offset:undefined};const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function bk(e){return"children"in e?Ci({...e,children:[]}):Ci(e)}function kk(e){return function(t,n){const r=tk(t,{...e,file:n});return r}}var yk=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;var wk=/\n/g;var vk=/^\s*/;var Ek=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/;var Sk=/^:\s*/;var xk=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/;var Tk=/^[;\s]*/;var Ak=/^\s+|\s+$/g;var Ck="\n";var Dk="/";var Rk="*";var Lk="";var Ok="comment";var _k="declaration";var Pk=function(e,t){if(typeof e!=="string"){throw new TypeError("First argument must be a string")}if(!e)return[];t=t||{};var n=1;var r=1;function i(e){var t=e.match(wk);if(t)n+=t.length;var i=e.lastIndexOf(Ck);r=~i?e.length-i:r+e.length}function o(){var e={line:n,column:r};return function(t){t.position=new l(e);u();return t}}function l(e){this.start=e;this.end={line:n,column:r};this.source=t.source}l.prototype.content=e;function s(i){var o=new Error(t.source+":"+n+":"+r+": "+i);o.reason=i;o.filename=t.source;o.line=n;o.column=r;o.source=e;if(t.silent);else{throw o}}function a(t){var n=t.exec(e);if(!n)return;var r=n[0];i(r);e=e.slice(r.length);return n}function u(){a(vk)}function c(e){var t;e=e||[];while(t=f()){if(t!==false){e.push(t)}}return e}function f(){var t=o();if(Dk!=e.charAt(0)||Rk!=e.charAt(1))return;var n=2;while(Lk!=e.charAt(n)&&(Rk!=e.charAt(n)||Dk!=e.charAt(n+1))){++n}n+=2;if(Lk===e.charAt(n-1)){return s("End of comment missing")}var l=e.slice(2,n-2);r+=2;i(l);e=e.slice(n);r+=2;return t({type:Ok,comment:l})}function h(){var e=o();var t=a(Ek);if(!t)return;f();if(!a(Sk))return s("property missing ':'");var n=a(xk);var r=e({type:_k,property:Mk(t[0].replace(yk,Lk)),value:n?Mk(n[0].replace(yk,Lk)):Lk});a(Tk);return r}function d(){var e=[];c(e);var t;while(t=h()){if(t!==false){e.push(t);c(e)}}return e}u();return d()};function Mk(e){return e?e.replace(Ak,Lk):Lk}var Nk=e((function(e,n){var r=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:true});n.default=o;var i=r(Pk);function o(e,t){var n=null;if(!e||typeof e!=="string"){return n}var r=(0,i.default)(e);var o=typeof t==="function";r.forEach((function(e){if(e.type!=="declaration"){return}var r=e.property,i=e.value;if(o){t(r,i,e)}else if(i){n=n||{};n[r]=i}}));return n}}));const Ik=n(Nk);const qk=Ik.default||Ik;var Bk={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const Fk="a-f\\d";const Uk=`#?[${Fk}]{3}[${Fk}]?`;const Hk=`#?[${Fk}]{6}([${Fk}]{2})?`;const zk=new RegExp(`[^#${Fk}]`,"gi");const jk=new RegExp(`^${Uk}$|^${Hk}$`,"i");var Vk=(e,t={})=>{if(typeof e!=="string"||zk.test(e)||!jk.test(e)){throw new TypeError("Expected a valid hex string")}e=e.replace(/^#/,"");let n=1;if(e.length===8){n=Number.parseInt(e.slice(6,8),16)/255;e=e.slice(0,6)}if(e.length===4){n=Number.parseInt(e.slice(3,4).repeat(2),16)/255;e=e.slice(0,3)}if(e.length===3){e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]}const r=Number.parseInt(e,16);const i=r>>16;const o=r>>8&255;const l=r&255;const s=typeof t.alpha==="number"?t.alpha:n;if(t.format==="array"){return[i,o,l,s]}if(t.format==="css"){const e=s===1?"":` / ${Number((s*100).toFixed(2))}%`;return`rgb(${i} ${o} ${l}${e})`}return{red:i,green:o,blue:l,alpha:s}};const Gk=/^#([a-f0-9]{3,4}|[a-f0-9]{4}(?:[a-f0-9]{2}){1,2})\b$/;var $k=new RegExp(Gk,"i");const Yk="-?\\d*(?:\\.\\d+)";const Wk=`(${Yk}?)`;const Xk=`(${Yk}?%)`;const Kk=`(${Yk}?%?)`;const Qk=`^\n hsla?\\(\n \\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*,\n \\s*${Xk}\\s*,\n \\s*${Xk}\\s*\n (?:,\\s*${Kk}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var Zk=new RegExp(Qk);const Jk=`^\n hsla?\\(\n \\s*(-?\\d*(?:\\.\\d+)?(?:deg|rad|turn)?)\\s*\n \\s+${Xk}\n \\s+${Xk}\n \\s*(?:\\s*\\/\\s*${Kk}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var ey=new RegExp(Jk);const ty=`^\n rgba?\\(\n \\s*${Wk}\\s*,\n \\s*${Wk}\\s*,\n \\s*${Wk}\\s*\n (?:,\\s*${Kk}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var ny=new RegExp(ty);const ry=`^\n rgba?\\(\n \\s*${Xk}\\s*,\n \\s*${Xk}\\s*,\n \\s*${Xk}\\s*\n (?:,\\s*${Kk}\\s*)?\n \\)\n $\n`.replace(/\n|\s/g,"");var iy=new RegExp(ry);const oy=`^\n rgba?\\(\n \\s*${Wk}\n \\s+${Wk}\n \\s+${Wk}\n \\s*(?:\\s*\\/\\s*${Kk}\\s*)?\n \\)\n$\n`.replace(/\n|\s/g,"");var ly=new RegExp(oy);const sy=`^\n rgba?\\(\n \\s*${Xk}\n \\s+${Xk}\n \\s+${Xk}\n \\s*(?:\\s*\\/\\s*${Kk}\\s*)?\n \\)\n$\n`.replace(/\n|\s/g,"");var ay=new RegExp(sy);const uy=/^transparent$/;var cy=new RegExp(uy,"i");const fy=(e,t,n)=>Math.min(Math.max(t,e),n);const hy=e=>{let t=e;if(typeof t!=="number")t=t.endsWith("%")?parseFloat(t)*255/100:parseFloat(t);return fy(Math.round(t),0,255)};const dy=e=>fy(parseFloat(e),0,100);function py(e){let t=e;if(typeof t!=="number")t=t.endsWith("%")?parseFloat(t)/100:parseFloat(t);return fy(t,0,1)}function gy(e){const[t,n,r,i]=Vk(e,{format:"array"});return by([null,...[t,n,r,i]])}function my([,e,t,n,r=1]){let i=e;if(i.endsWith("turn")){i=parseFloat(i)*360/1}else if(i.endsWith("rad")){i=Math.round(parseFloat(i)*180/Math.PI)}else{i=parseFloat(i)}return{type:"hsl",values:[i,dy(t),dy(n)],alpha:py(r===null?1:r)}}function by([,e,t,n,r=1]){return{type:"rgb",values:[e,t,n].map(hy),alpha:py(r===null?1:r)}}
|
|
2
|
-
/**
|
|
3
|
-
* parse-css-color
|
|
4
|
-
* @version v0.2.1
|
|
5
|
-
* @link http://github.com/noeldelgado/parse-css-color/
|
|
6
|
-
* @license MIT
|
|
7
|
-
*/const ky=e=>{if(typeof e!=="string")return null;const t=$k.exec(e);if(t)return gy(t[0]);const n=ey.exec(e)||Zk.exec(e);if(n)return my(n);const r=ly.exec(e)||ay.exec(e)||ny.exec(e)||iy.exec(e);if(r)return by(r);if(cy.exec(e))return by([null,0,0,0,0]);const i=Bk[e.toLowerCase()];if(i)return by([null,i[0],i[1],i[2],1]);return null};const yy=["background-color","color","font-style","font-weight","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-decoration","width"];function wy(e){var t;if(e.tagName&&((t=e.properties)===null||t===void 0?void 0:t.style)){e.properties.style=vy(e.properties.style)}}function vy(e){try{const t=qk(e);const n=Ey(t);return Object.entries(n).filter((([e])=>yy.includes(e))).map((([e,t])=>`${e}: ${t}`)).join("; ")}catch(t){console.error("Failed to parse style value",e,t);return""}}function Ey(e){const t=Object.assign({},e);delete t.background;if("background"in e&&Sy(e.background)){t["background-color"]=e.background}return t}function Sy(e){return ky(e)!==null}async function xy(e,t){var n;if(t===null||t===void 0?void 0:t.forceHardLineBreaks){e=e.replace(/(?<!\\)([\n\r])/g," $1")}const r=await ae().use(xr).use(tu).use(to,{allowDangerousHtml:true}).use(gu,{target:"_blank"}).use(kk).use(Bu,Object.assign({},Ty((n=t===null||t===void 0?void 0:t.whitelist)!==null&&n!==void 0?n:[]))).use((()=>e=>{Gi(e,"element",wy)})).use(Nf).process(e);return r.toString()}function Ty(e){var t,n;const r=[...(t=Eu.attributes["*"])!==null&&t!==void 0?t:[]];const i=r.filter((e=>e!=="height"));i.push("style");const o=Object.assign(Object.assign({},Eu),{tagNames:[...Eu.tagNames||[],...e.map((e=>e.tagName))],attributes:Object.assign(Object.assign({},Eu.attributes),{p:[...(n=Eu.attributes.p)!==null&&n!==void 0?n:[],["className","MsoNormal"]],"*":i})});for(const t of e){o.attributes[t.tagName]=t.attributes}return o}export{v as d,xy as m};
|
|
8
|
-
//# sourceMappingURL=p-086509a5.js.map
|